1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HomePage-DUTCrEDc.js","assets/SEOHead-D1Ozhx_1.js","assets/arrow-right-BLpBcAa3.js","assets/calendar-CabcXg5A.js","assets/star-DnkdawGE.js","assets/lock-BvMqRiao.js","assets/map-pin-GGq_8tbf.js","assets/rocket-DCITq2NP.js","assets/check-Bt7bXFFE.js","assets/blog-posts-Bgbfi3dZ.js","assets/FeaturesPage-CqCzkgql.js","assets/monitor-BR8Uk2cE.js","assets/wifi-CTevR0DR.js","assets/battery--xsOXHCM.js","assets/zap-CP67Vheq.js","assets/PricingPage-DhYShLD8.js","assets/textarea-j9KOl17C.js","assets/label-D60HqABX.js","assets/dialog-DfLyifF4.js","assets/select-vHVRqk4C.js","assets/index-BZ1Goj1x.js","assets/index-BnbJXjCs.js","assets/Combination-DwfsZu12.js","assets/phone-BFhICbT2.js","assets/server-DKTjbHyy.js","assets/code-cBuA7CSB.js","assets/help-circle-C_nD_Pqa.js","assets/AboutPage-1RM926-r.js","assets/target-DpoB1wOS.js","assets/ContactPage-DaSN5yq1.js","assets/BlogPage-Bf0Ws9Ne.js","assets/BlogSidebar-D1G-s3l1.js","assets/search-CmARInj3.js","assets/BlogPostPage-CFL6xotH.js","assets/format-CzgadoOX.js","assets/en-US-DNUEYIb-.js","assets/LoginPage-R89e7vcW.js","assets/SignupPage-BCSjArLJ.js","assets/ForgotPasswordPage-BVnWQfA6.js","assets/check-circle-2-CjE7mS5G.js","assets/ResetPasswordPage-CTxVxdyI.js","assets/alert-circle-CKndZp2M.js","assets/key-29gtwRuj.js","assets/eye-off-C-YE8zD6.js","assets/eye-YFTnOJ1I.js","assets/DashboardHome-DU8WxtE6.js","assets/dollar-sign-BS3t7iL_.js","assets/trending-up-D7r7-yyL.js","assets/ProvisioningPage-C1kbWgI2.js","assets/checkbox-elMrx5I8.js","assets/rotate-ccw-Dqf0sh-z.js","assets/trash-2-AbRQ4EbF.js","assets/info-ClOaQ5ND.js","assets/DevicesPage-BJ0t3Rj9.js","assets/table-DOre--XP.js","assets/dropdown-menu-CtXGBegK.js","assets/index-Bd07huKK.js","assets/data-table-controls-BPpUdycl.js","assets/chevron-left-DppKMA9_.js","assets/scroll-area-Bbpp0DU1.js","assets/slider-BlpOaJAT.js","assets/refresh-cw-u3dpQegk.js","assets/leaflet-CQtAyYGX.js","assets/leaflet-Dgihpmma.css","assets/formatDistanceToNow-DuX-vQ_O.js","assets/unlock-2-7jYgGJ.js","assets/pencil-a7Pi4gac.js","assets/alert-triangle-zH1nM9yg.js","assets/DeviceGroupsPage-DpLKZuOG.js","assets/plus-D4VkfUPR.js","assets/pen-square-D5EMeerR.js","assets/external-link-7NyyAY8m.js","assets/PoliciesPage-Cr8Sj7Pb.js","assets/tabs-CwHSaeeF.js","assets/switch-ak_xmdb_.js","assets/ban-D4LZyceq.js","assets/copy-BbWCQEbp.js","assets/crown-Bdyxr1hU.js","assets/camera-d7AZKWdG.js","assets/play-DAMlMQCn.js","assets/AppsPage-B8_az61d.js","assets/upload-BzWETbY0.js","assets/file-DkjrID4l.js","assets/ActivityLogsPage-9aBJhZOn.js","assets/ProfilePage-BaXov-Q7.js","assets/save-DhlXKrBO.js","assets/TenantsPage-CiFDtije.js","assets/PlansPage-DHw-Fgkc.js","assets/PromoCodesPage-5n5ysgEg.js","assets/x-circle-BM6dlZfd.js","assets/SubscriptionPage-D8-fRPTD.js","assets/DeviceMapPage-CUwjr4V6.js","assets/AdminsPage--uAwjqcj.js","assets/EmailNotificationsPage-BIBt_SDe.js","assets/purify.es-A66Cw1IH.js","assets/DeviceNotificationsPage-DEDgWfLx.js","assets/SupportPage-CDZjn9nA.js","assets/TicketDetailPage-C0PKVRGm.js","assets/AdminSupportPage-vp1ile2g.js","assets/user-plus-EAItQzHs.js","assets/trash-VBEqkN6N.js","assets/ContactSubmissionsPage-BCskp2yF.js","assets/NewsletterSubscribersPage-ERNUEW0a.js","assets/user-check-Di2OBRxn.js","assets/user-minus-4yBBYQLI.js","assets/LiveChatPage-ClKqPko0.js","assets/SalesPage-CW0p4CKe.js","assets/SystemUpdatesPage-BXg63tgG.js","assets/alert-dialog-RmUsXmtz.js","assets/SuperAdminLoginPage-C5ENWr09.js","assets/SiteSettingsPage-Cv4JxvrN.js","assets/ServerHealthPage-dFN9t7lx.js","assets/hard-drive-DakZNG8F.js","assets/DatabaseManagerPage-B0CimKtX.js","assets/FileManagerPage-C-rIHN3H.js","assets/EmailAccountsPage-1870Kbc8.js","assets/EmailInboxPage-X7VqYdJY.js","assets/file-signature-3--BSV6D.js","assets/EmailSignaturesPage-C0v4L2vc.js","assets/EmailPage-DyNSK6Xx.js"])))=>i.map(i=>d[i]); 2var zy=Object.defineProperty;var wd=t=>{throw TypeError(t)};var Fy=(t,e,n)=>e in t?zy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var mt=(t,e,n)=>Fy(t,typeof e!="symbol"?e+"":e,n),Ga=(t,e,n)=>e.has(t)||wd("Cannot "+n);var k=(t,e,n)=>(Ga(t,e,"read from private field"),n?n.call(t):e.get(t)),oe=(t,e,n)=>e.has(t)?wd("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),V=(t,e,n,r)=>(Ga(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),Fe=(t,e,n)=>(Ga(t,e,"access private method"),n);var Wi=(t,e,n,r)=>({set _(s){V(t,e,s,n)},get _(){return k(t,e,r)}});function qy(t,e){for(var n=0;n<e.length;n++){const r=e[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in t)){const i=Object.getOwnPropertyDescriptor(r,s);i&&Object.defineProperty(t,s,i.get?i:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();var _2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var rh={exports:{}},ya={}
vendor: 13,513 bytes, lines 2-34
2,sh={exports:{}},te={};/** 3 * @license React 4 * react.production.min.js 5 * 6 * Copyright (c) Facebook, Inc. and its affiliates. 7 * 8 * This source code is licensed under the MIT license found in the 9 * LICENSE file in the root directory of this source tree. 10 */var Li=Symbol.for("react.element"),Uy=Symbol.for("react.portal"),By=Symbol.for("react.fragment"),Vy=Symbol.for("react.strict_mode"),Hy=Symbol.for("react.profiler"),Gy=Symbol.for("react.provider"),Wy=Symbol.for("react.context"),Qy=Symbol.for("react.forward_ref"),Ky=Symbol.for("react.suspense"),Jy=Symbol.for("react.memo"),Yy=Symbol.for("react.lazy"),xd=Symbol.iterator;function Xy(t){return t===null||typeof t!="object"?null:(t=xd&&t[xd]||t["@@iterator"],typeof t=="function"?t:null)}var ih={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},oh=Object.assign,ah={};function bs(t,e,n){this.props=t,this.context=e,this.refs=ah,this.updater=n||ih}bs.prototype.isReactComponent={};bs.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};bs.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function lh(){}lh.prototype=bs.prototype;function nu(t,e,n){this.props=t,this.context=e,this.refs=ah,this.updater=n||ih}var ru=nu.prototype=new lh;ru.constructor=nu;oh(ru,bs.prototype);ru.isPureReactComponent=!0;var bd=Array.isArray,ch=Object.prototype.hasOwnProperty,su={current:null},uh={key:!0,ref:!0,__self:!0,__source:!0};function dh(t,e,n){var r,s={},i=null,o=null;if(e!=null)for(r in e.ref!==void 0&&(o=e.ref),e.key!==void 0&&(i=""+e.key),e)ch.call(e,r)&&!uh.hasOwnProperty(r)&&(s[r]=e[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];s.children=l}if(t&&t.defaultProps)for(r in a=t.defaultProps,a)s[r]===void 0&&(s[r]=a[r]);return{$$typeof:Li,type:t,key:i,ref:o,props:s,_owner:su.current}}function Zy(t,e){return{$$typeof:Li,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function iu(t){return typeof t=="object"&&t!==null&&t.$$typeof===Li}function ev(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var Sd=/\/+/g;function Wa(t,e){return typeof t=="object"&&t!==null&&t.key!=null?ev(""+t.key):e.toString(36)}function vo(t,e,n,r,s){var i=typeof t;(i==="undefined"||i==="boolean")&&(t=null);var o=!1;if(t===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(t.$$typeof){case Li:case Uy:o=!0}}if(o)return o=t,s=s(o),t=r===""?"."+Wa(o,0):r,bd(s)?(n="",t!=null&&(n=t.replace(Sd,"$&/")+"/"),vo(s,e,n,"",function(c){return c})):s!=null&&(iu(s)&&(s=Zy(s,n+(!s.key||o&&o.key===s.key?"":(""+s.key).replace(Sd,"$&/")+"/")+t)),e.push(s)),1;if(o=0,r=r===""?".":r+":",bd(t))for(var a=0;a<t.length;a++){i=t[a];var l=r+Wa(i,a);o+=vo(i,e,n,l,s)}else if(l=Xy(t),typeof l=="function")for(t=l.call(t),a=0;!(i=t.next()).done;)i=i.value,l=r+Wa(i,a++),o+=vo(i,e,n,l,s);else if(i==="object")throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return o}function Qi(t,e,n){if(t==null)return t;var r=[],s=0;return vo(t,r,"","",function(i){return e.call(n,i,s++)}),r}function tv(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){(t._status===0||t._status===-1)&&(t._status=1,t._result=n)},function(n){(t._status===0||t._status===-1)&&(t._status=2,t._result=n)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var Ye={current:null},wo={transition:null},nv={ReactCurrentDispatcher:Ye,ReactCurrentBatchConfig:wo,ReactCurrentOwner:su};function fh(){throw Error("act(...) is not supported in production builds of React.")}te.Children={map:Qi,forEach:function(t,e,n){Qi(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return Qi(t,function(){e++}),e},toArray:function(t){return Qi(t,function(e){return e})||[]},only:function(t){if(!iu(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};te.Component=bs;te.Fragment=By;te.Profiler=Hy;te.PureComponent=nu;te.StrictMode=Vy;te.Suspense=Ky;te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nv;te.act=fh;te.cloneElement=function(t,e,n){if(t==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var r=oh({},t.props),s=t.key,i=t.ref,o=t._owner;if(e!=null){if(e.ref!==void 0&&(i=e.ref,o=su.current),e.key!==void 0&&(s=""+e.key),t.type&&t.type.defaultProps)var a=t.type.defaultProps;for(l in e)ch.call(e,l)&&!uh.hasOwnProperty(l)&&(r[l]=e[l]===void 0&&a!==void 0?a[l]:e[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var c=0;c<l;c++)a[c]=arguments[c+2];r.children=a}return{$$typeof:Li,type:t.type,key:s,ref:i,props:r,_owner:o}};te.createContext=function(t){return t={$$typeof:Wy,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:Gy,_context:t},t.Consumer=t};te.createElement=dh;te.createFactory=function(t){var e=dh.bind(null,t);return e.type=t,e};te.createRef=function(){return{current:null}};te.forwardRef=function(t){return{$$typeof:Qy,render:t}};te.isValidElement=iu;te.lazy=function(t){return{$$typeof:Yy,_payload:{_status:-1,_result:t},_init:tv}};te.memo=function(t,e){return{$$typeof:Jy,type:t,compare:e===void 0?null:e}};te.startTransition=function(t){var e=wo.transition;wo.transition={};try{t()}finally{wo.transition=e}};te.unstable_act=fh;te.useCallback=function(t,e){return Ye.current.useCallback(t,e)};te.useContext=function(t){return Ye.current.useContext(t)};te.useDebugValue=function(){};te.useDeferredValue=function(t){return Ye.current.useDeferredValue(t)};te.useEffect=function(t,e){return Ye.current.useEffect(t,e)};te.useId=function(){return Ye.current.useId()};te.useImperativeHandle=function(t,e,n){return Ye.current.useImperativeHandle(t,e,n)};te.useInsertionEffect=function(t,e){return Ye.current.useInsertionEffect(t,e)};te.useLayoutEffect=function(t,e){return Ye.current.useLayoutEffect(t,e)};te.useMemo=function(t,e){return Ye.current.useMemo(t,e)};te.useReducer=function(t,e,n){return Ye.current.useReducer(t,e,n)};te.useRef=function(t){return Ye.current.useRef(t)};te.useState=function(t){return Ye.current.useState(t)};te.useSyncExternalStore=function(t,e,n){return Ye.current.useSyncExternalStore(t,e,n)};te.useTransition=function(){return Ye.current.useTransition()};te.version="18.3.1";sh.exports=te;var x=sh.exports;const N=xs(x),rv=qy({__proto__:null,default:N},[x]);/** 11 * @license React 12 * react-jsx-runtime.production.min.js 13 * 14 * Copyright (c) Facebook, Inc. and its affiliates. 15 * 16 * This source code is licensed under the MIT license found in the 17 * LICENSE file in the root directory of this source tree. 18 */var sv=x,iv=Symbol.for("react.element"),ov=Symbol.for("react.fragment"),av=Object.prototype.hasOwnProperty,lv=sv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,cv={key:!0,ref:!0,__self:!0,__source:!0};function ph(t,e,n){var r,s={},i=null,o=null;n!==void 0&&(i=""+n),e.key!==void 0&&(i=""+e.key),e.ref!==void 0&&(o=e.ref);for(r in e)av.call(e,r)&&!cv.hasOwnProperty(r)&&(s[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps,e)s[r]===void 0&&(s[r]=e[r]);return{$$typeof:iv,type:t,key:i,ref:o,props:s,_owner:lv.current}}ya.Fragment=ov;ya.jsx=ph;ya.jsxs=ph;rh.exports=ya;var d=rh.exports,hh={exports:{}},ft={},mh={exports:{}},gh={};/** 19 * @license React 20 * scheduler.production.min.js 21 * 22 * Copyright (c) Facebook, Inc. and its affiliates. 23 * 24 * This source code is licensed under the MIT license found in the 25 * LICENSE file in the root directory of this source tree. 26 */(function(t){function e(_,z){var q=_.length;_.push(z);e:for(;0<q;){var I=q-1>>>1,ie=_[I];if(0<s(ie,z))_[I]=z,_[q]=ie,q=I;else break e}}function n(_){return _.length===0?null:_[0]}function r(_){if(_.length===0)return null;var z=_[0],q=_.pop();if(q!==z){_[0]=q;e:for(var I=0,ie=_.length,B=ie>>>1;I<B;){var ne=2*(I+1)-1,D=_[ne],J=ne+1,Le=_[J];if(0>s(D,q))J<ie&&0>s(Le,D)?(_[I]=Le,_[J]=q,I=J):(_[I]=D,_[ne]=q,I=ne);else if(J<ie&&0>s(Le,q))_[I]=Le,_[J]=q,I=J;else break e}}return z}function s(_,z){var q=_.sortIndex-z.sortIndex;return q!==0?q:_.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;t.unstable_now=function(){return i.now()}}else{var o=Date,a=o.now();t.unstable_now=function(){return o.now()-a}}var l=[],c=[],f=1,u=null,p=3,y=!1,v=!1,w=!1,S=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(_){for(var z=n(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=_)r(c),z.sortIndex=z.expirationTime,e(l,z);else break;z=n(c)}}function b(_){if(w=!1,g(_),!v)if(n(l)!==null)v=!0,M(C);else{var z=n(c);z!==null&&K(b,z.startTime-_)}}function C(_,z){v=!1,w&&(w=!1,m(j),j=-1),y=!0;var q=p;try{for(g(z),u=n(l);u!==null&&(!(u.expirationTime>z)||_&&!W());){var I=u.callback;if(typeof I=="function"){u.callback=null,p=u.priorityLevel;var ie=I(u.expirationTime<=z);z=t.unstable_now(),typeof ie=="function"?u.callback=ie:u===n(l)&&r(l),g(z)}else r(l);u=n(l)}if(u!==null)var B=!0;else{var ne=n(c);ne!==null&&K(b,ne.startTime-z),B=!1}return B}finally{u=null,p=q,y=!1}}var P=!1,E=null,j=-1,U=5,A=-1;function W(){return!(t.unstable_now()-A<U)}function R(){if(E!==null){var _=t.unstable_now();A=_;var z=!0;try{z=E(!0,_)}finally{z?O():(P=!1,E=null)}}else P=!1}var O;if(typeof h=="function")O=function(){h(R)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,se=F.port2;F.port1.onmessage=R,O=function(){se.postMessage(null)}}else O=function(){S(R,0)};function M(_){E=_,P||(P=!0,O())}function K(_,z){j=S(function(){_(t.unstable_now())},z)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(_){_.callback=null},t.unstable_continueExecution=function(){v||y||(v=!0,M(C))},t.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<_?Math.floor(1e3/_):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return n(l)},t.unstable_next=function(_){switch(p){case 1:case 2:case 3:var z=3;break;default:z=p}var q=p;p=z;try{return _()}finally{p=q}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(_,z){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var q=p;p=_;try{return z()}finally{p=q}},t.unstable_scheduleCallback=function(_,z,q){var I=t.unstable_now();switch(typeof q=="object"&&q!==null?(q=q.delay,q=typeof q=="number"&&0<q?I+q:I):q=I,_){case 1:var ie=-1;break;case 2:ie=250;break;case 5:ie=1073741823;break;case 4:ie=1e4;break;default:ie=5e3}return ie=q+ie,_={id:f++,callback:z,priorityLevel:_,startTime:q,expirationTime:ie,sortIndex:-1},q>I?(_.sortIndex=q,e(c,_),n(l)===null&&_===n(c)&&(w?(m(j),j=-1):w=!0,K(b,q-I))):(_.sortIndex=ie,e(l,_),v||y||(v=!0,M(C))),_},t.unstable_shouldYield=W,t.unstable_wrapCallback=function(_){var z=p;return function(){var q=p;p=z;try{return _.apply(this,arguments)}finally{p=q}}}})(gh);mh.exports=gh;var uv=mh.exports;/** 27 * @license React 28 * react-dom.production.min.js 29 * 30 * Copyright (c) Facebook, Inc. and its affiliates. 31 * 32 * This source code is licensed under the MIT license found in the 33 * LICENSE file in the root directory of this source tree. 34 */var dv=x,dt=uv;function T(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var yh=new Set,li={};function Cr(t,e){fs(t,e),fs(t+"Capture",e)}function fs(t,e){for(li[t]=e,t=0;t<e.length;t++)yh.add(e[t])}var un=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Rl=Object.prototype.hasOwnProperty,fv=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,kd={},Cd={};function pv(t){return Rl.call(Cd,t)?!0:Rl.call(kd,t)?!1:fv.test(t)?Cd[t]=!0:(kd[t]=!0,!1)}function hv(t,e,n,r){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function mv(t,e,n,r){if(e===null||typeof e>"u"||hv(t,e,n,r))return!0;
vendor: 5,200 bytes, lines 34-35
34if(r)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function Xe(t,e,n,r,s,i,o){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=i,this.removeEmptyString=o}var $e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){$e[t]=new Xe(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];$e[e]=new Xe(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){$e[t]=new Xe(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){$e[t]=new Xe(t,2,!1,t,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){$e[t]=new Xe(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){$e[t]=new Xe(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){$e[t]=new Xe(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){$e[t]=new Xe(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){$e[t]=new Xe(t,5,!1,t.toLowerCase(),null,!1,!1)});var ou=/[\-:]([a-z])/g;function au(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(ou,au);$e[e]=new Xe(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(ou,au);$e[e]=new Xe(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(ou,au);$e[e]=new Xe(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){$e[t]=new Xe(t,1,!1,t.toLowerCase(),null,!1,!1)});$e.xlinkHref=new Xe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){$e[t]=new Xe(t,1,!1,t.toLowerCase(),null,!0,!0)});function lu(t,e,n,r){var s=$e.hasOwnProperty(e)?$e[e]:null;(s!==null?s.type!==0:r||!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(mv(e,n,s,r)&&(n=null),r||s===null?pv(e)&&(n===null?t.removeAttribute(e):t.setAttribute(e,""+n)):s.mustUseProperty?t[s.propertyName]=n===null?s.type===3?!1:"":n:(e=s.attributeName,r=s.attributeNamespace,n===null?t.removeAttribute(e):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,r?t.setAttributeNS(r,e,n):t.setAttribute(e,n))))}var hn=dv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ki=Symbol.for("react.element"),Mr=Symbol.for("react.portal"),Ir=Symbol.for("react.fragment"),cu=Symbol.for("react.strict_mode"),Ml=Symbol.for("react.profiler"),vh=Symbol.for("react.provider"),wh=Symbol.for("react.context"),uu=Symbol.for("react.forward_ref"),Il=Symbol.for("react.suspense"),$l=Symbol.for("react.suspense_list"),du=Symbol.for("react.memo"),Cn=Symbol.for("react.lazy"),xh=Symbol.for("react.offscreen"),Pd=Symbol.iterator;function Ns(t){return t===null||typeof t!="object"?null:(t=Pd&&t[Pd]||t["@@iterator"],typeof t=="function"?t:null)}var we=Object.assign,Qa;function Hs(t){if(Qa===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);Qa=e&&e[1]||""}return` 35`+Qa+t}var Ka=!1;function Ja(t,e){if(!t||Ka)return"";Ka=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(c){var r=c}Reflect.construct(t,[],e)}else{try{e.call()}catch(c){r=c}t.call(e.prototype)}else{try{throw Error()}catch(c){r=c}t()}}
vendor: 16,752 bytes, lines 35-38
35catch(c){if(c&&r&&typeof c.stack=="string"){for(var s=c.stack.split(` 36`),i=r.stack.split(` 37`),o=s.length-1,a=i.length-1;1<=o&&0<=a&&s[o]!==i[a];)a--;for(;1<=o&&0<=a;o--,a--)if(s[o]!==i[a]){if(o!==1||a!==1)do if(o--,a--,0>a||s[o]!==i[a]){var l=` 38`+s[o].replace(" at new "," at ");return t.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",t.displayName)),l}while(1<=o&&0<=a);break}}}finally{Ka=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?Hs(t):""}function gv(t){switch(t.tag){case 5:return Hs(t.type);case 16:return Hs("Lazy");case 13:return Hs("Suspense");case 19:return Hs("SuspenseList");case 0:case 2:case 15:return t=Ja(t.type,!1),t;case 11:return t=Ja(t.type.render,!1),t;case 1:return t=Ja(t.type,!0),t;default:return""}}function zl(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Ir:return"Fragment";case Mr:return"Portal";case Ml:return"Profiler";case cu:return"StrictMode";case Il:return"Suspense";case $l:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case wh:return(t.displayName||"Context")+".Consumer";case vh:return(t._context.displayName||"Context")+".Provider";case uu:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case du:return e=t.displayName||null,e!==null?e:zl(t.type)||"Memo";case Cn:e=t._payload,t=t._init;try{return zl(t(e))}catch{}}return null}function yv(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return zl(e);case 8:return e===cu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function Wn(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function bh(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function vv(t){var e=bh(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,i=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return s.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Ji(t){t._valueTracker||(t._valueTracker=vv(t))}function Sh(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=bh(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function $o(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Fl(t,e){var n=e.checked;return we({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function Ed(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=Wn(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function kh(t,e){e=e.checked,e!=null&&lu(t,"checked",e,!1)}function ql(t,e){kh(t,e);var n=Wn(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?Ul(t,e.type,n):e.hasOwnProperty("defaultValue")&&Ul(t,e.type,Wn(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function Td(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function Ul(t,e,n){(e!=="number"||$o(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var Gs=Array.isArray;function Qr(t,e,n,r){if(t=t.options,e){e={};for(var s=0;s<n.length;s++)e["$"+n[s]]=!0;for(n=0;n<t.length;n++)s=e.hasOwnProperty("$"+t[n].value),t[n].selected!==s&&(t[n].selected=s),s&&r&&(t[n].defaultSelected=!0)}else{for(n=""+Wn(n),e=null,s=0;s<t.length;s++){if(t[s].value===n){t[s].selected=!0,r&&(t[s].defaultSelected=!0);return}e!==null||t[s].disabled||(e=t[s])}e!==null&&(e.selected=!0)}}function Bl(t,e){if(e.dangerouslySetInnerHTML!=null)throw Error(T(91));return we({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Ad(t,e){var n=e.value;if(n==null){if(n=e.children,e=e.defaultValue,n!=null){if(e!=null)throw Error(T(92));if(Gs(n)){if(1<n.length)throw Error(T(93));n=n[0]}e=n}e==null&&(e=""),n=e}t._wrapperState={initialValue:Wn(n)}}function Ch(t,e){var n=Wn(e.value),r=Wn(e.defaultValue);n!=null&&(n=""+n,n!==t.value&&(t.value=n),e.defaultValue==null&&t.defaultValue!==n&&(t.defaultValue=n)),r!=null&&(t.defaultValue=""+r)}function Nd(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}function Ph(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Vl(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?Ph(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var Yi,Eh=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,n,r,s){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,s)})}:t}(function(t,e){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=e;else{for(Yi=Yi||document.createElement("div"),Yi.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Yi.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function ci(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Js={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},wv=["Webkit","ms","Moz","O"];Object.keys(Js).forEach(function(t){wv.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Js[e]=Js[t]})});function Th(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||Js.hasOwnProperty(t)&&Js[t]?(""+e).trim():e+"px"}function Ah(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=Th(n,e[n],r);n==="float"&&(n="cssFloat"),r?t.setProperty(n,s):t[n]=s}}var xv=we({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Hl(t,e){if(e){if(xv[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(T(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(T(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(T(61))}if(e.style!=null&&typeof e.style!="object")throw Error(T(62))}}function Gl(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Wl=null;function fu(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ql=null,Kr=null,Jr=null;function _d(t){if(t=Ii(t)){if(typeof Ql!="function")throw Error(T(280));var e=t.stateNode;e&&(e=Sa(e),Ql(t.stateNode,t.type,e))}}function Nh(t){Kr?Jr?Jr.push(t):Jr=[t]:Kr=t}function _h(){if(Kr){var t=Kr,e=Jr;if(Jr=Kr=null,_d(t),e)for(t=0;t<e.length;t++)_d(e[t])}}function Dh(t,e){return t(e)}function jh(){}var Ya=!1;function Oh(t,e,n){if(Ya)return t(e,n);Ya=!0;try{return Dh(t,e,n)}finally{Ya=!1,(Kr!==null||Jr!==null)&&(jh(),_h())}}function ui(t,e){var n=t.stateNode;if(n===null)return null;var r=Sa(n);if(r===null)return null;n=r[e];e:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(t=t.type,r=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!r;break e;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(T(231,e,typeof n));return n}var Kl=!1;if(un)try{var _s={};Object.defineProperty(_s,"passive",{get:function(){Kl=!0}}),window.addEventListener("test",_s,_s),window.removeEventListener("test",_s,_s)}catch{Kl=!1}function bv(t,e,n,r,s,i,o,a,l){var c=Array.prototype.slice.call(arguments,3);try{e.apply(n,c)}catch(f){this.onError(f)}}var Ys=!1,zo=null,Fo=!1,Jl=null,Sv={onError:function(t){Ys=!0,zo=t}};function kv(t,e,n,r,s,i,o,a,l){Ys=!1,zo=null,bv.apply(Sv,arguments)}function Cv(t,e,n,r,s,i,o,a,l){if(kv.apply(this,arguments),Ys){if(Ys){var c=zo;Ys=!1,zo=null}else throw Error(T(198));Fo||(Fo=!0,Jl=c)}}function Pr(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function Lh(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function Dd(t){if(Pr(t)!==t)throw Error(T(188))}function Pv(t){var e=t.alternate;if(!e){if(e=Pr(t),e===null)throw Error(T(188));return e!==t?null:t}for(var n=t,r=e;;){var s=n.return;if(s===null)break;var i=s.alternate;if(i===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===n)return Dd(s),t;if(i===r)return Dd(s),e;i=i.sibling}throw Error(T(188))}if(n.return!==r.return)n=s,r=i;else{for(var o=!1,a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o){for(a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o)throw Error(T(189))}}if(n.alternate!==r)throw Error(T(190))}if(n.tag!==3)throw Error(T(188));return n.stateNode.current===n?t:e}function Rh(t){return t=Pv(t),t!==null?Mh(t):null}function Mh(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var e=Mh(t);if(e!==null)return e;t=t.sibling}return null}var Ih=dt.unstable_scheduleCallback,jd=dt.unstable_cancelCallback,Ev=dt.unstable_shouldYield,Tv=dt.unstable_requestPaint,ke=dt.unstable_now,Av=dt.unstable_getCurrentPriorityLevel,pu=dt.unstable_ImmediatePriority,$h=dt.unstable_UserBlockingPriority,qo=dt.unstable_NormalPriority,Nv=dt.unstable_LowPriority,zh=dt.unstable_IdlePriority,va=null,Qt=null;function _v(t){if(Qt&&typeof Qt.onCommitFiberRoot=="function")try{Qt.onCommitFiberRoot(va,t,void 0,(t.current.flags&128)===128)}catch{}}var Mt=Math.clz32?Math.clz32:Ov,Dv=Math.log,jv=Math.LN2;function Ov(t){return t>>>=0,t===0?32:31-(Dv(t)/jv|0)|0}var Xi=64,Zi=4194304;function Ws(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function Uo(t,e){var n=t.pendingLanes;if(n===0)return 0;var r=0,s=t.suspendedLanes,i=t.pingedLanes,o=n&268435455;if(o!==0){var a=o&~s;a!==0?r=Ws(a):(i&=o,i!==0&&(r=Ws(i)))}else o=n&~s,o!==0?r=Ws(o):i!==0&&(r=Ws(i));if(r===0)return 0;if(e!==0&&e!==r&&!(e&s)&&(s=r&-r,i=e&-e,s>=i||s===16&&(i&4194240)!==0))return e;if(r&4&&(r|=n&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=r;0<e;)n=31-Mt(e),s=1<<n,r|=t[n],e&=~s;return r}function Lv(t,e){switch(t){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Rv(t,e){for(var n=t.suspendedLanes,r=t.pingedLanes,s=t.expirationTimes,i=t.pendingLanes;0<i;){var o=31-Mt(i),a=1<<o,l=s[o];l===-1?(!(a&n)||a&r)&&(s[o]=Lv(a,e)):l<=e&&(t.expiredLanes|=a),i&=~a}}function Yl(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function Fh(){var t=Xi;return Xi<<=1,!(Xi&4194240)&&(Xi=64),t}function Xa(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Ri(t,e,n){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-Mt(e),t[e]=n}function Mv(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0<n;){var s=31-Mt(n),i=1<<s;e[s]=0,r[s]=-1,t[s]=-1,n&=~i}}function hu(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var r=31-Mt(n),s=1<<r;s&e|t[r]&e&&(t[r]|=e),n&=~s}}var le=0;function qh(t){return t&=-t,1<t?4<t?t&268435455?16:536870912:4:1}var Uh,mu,Bh,Vh,Hh,Xl=!1,eo=[],In=null,$n=null,zn=null,di=new Map,fi=new Map,En=[],Iv="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Od(t,e){switch(t){case"focusin":case"focusout":In=null;break;case"dragenter":case"dragleave":$n=null;break;case"mouseover":case"mouseout":zn=null;break;case"pointerover":case"pointerout":di.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":fi.delete(e.pointerId)}}function Ds(t,e,n,r,s,i){return t===null||t.nativeEvent!==i?(t={blockedOn:e,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[s]},e!==null&&(e=Ii(e),e!==null&&mu(e)),t):(t.eventSystemFlags|=r,e=t.targetContainers,s!==null&&e.indexOf(s)===-1&&e.push(s),t)}function $v(t,e,n,r,s){switch(e){case"focusin":return In=Ds(In,t,e,n,r,s),!0;case"dragenter":return $n=Ds($n,t,e,n,r,s),!0;case"mouseover":return zn=Ds(zn,t,e,n,r,s),!0;case"pointerover":var i=s.pointerId;return di.set(i,Ds(di.get(i)||null,t,e,n,r,s)),!0;case"gotpointercapture":return i=s.pointerId,fi.set(i,Ds(fi.get(i)||null,t,e,n,r,s)),!0}return!1}function Gh(t){var e=ir(t.target);if(e!==null){var n=Pr(e);if(n!==null){if(e=n.tag,e===13){if(e=Lh(n),e!==null){t.blockedOn=e,Hh(t.priority,function(){Bh(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function xo(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=Zl(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(n===null){n=t.nativeEvent;var r=new n.constructor(n.type,n);Wl=r,n.target.dispatchEvent(r),Wl=null}else return e=Ii(n),e!==null&&mu(e),t.blockedOn=n,!1;e.shift()}return!0}function Ld(t,e,n){xo(t)&&n.delete(e)}function zv(){Xl=!1,In!==null&&xo(In)&&(In=null),$n!==null&&xo($n)&&($n=null),zn!==null&&xo(zn)&&(zn=null),di.forEach(Ld),fi.forEac
vendor: 10,552 bytes, line 38
38h(Ld)}function js(t,e){t.blockedOn===e&&(t.blockedOn=null,Xl||(Xl=!0,dt.unstable_scheduleCallback(dt.unstable_NormalPriority,zv)))}function pi(t){function e(s){return js(s,t)}if(0<eo.length){js(eo[0],t);for(var n=1;n<eo.length;n++){var r=eo[n];r.blockedOn===t&&(r.blockedOn=null)}}for(In!==null&&js(In,t),$n!==null&&js($n,t),zn!==null&&js(zn,t),di.forEach(e),fi.forEach(e),n=0;n<En.length;n++)r=En[n],r.blockedOn===t&&(r.blockedOn=null);for(;0<En.length&&(n=En[0],n.blockedOn===null);)Gh(n),n.blockedOn===null&&En.shift()}var Yr=hn.ReactCurrentBatchConfig,Bo=!0;function Fv(t,e,n,r){var s=le,i=Yr.transition;Yr.transition=null;try{le=1,gu(t,e,n,r)}finally{le=s,Yr.transition=i}}function qv(t,e,n,r){var s=le,i=Yr.transition;Yr.transition=null;try{le=4,gu(t,e,n,r)}finally{le=s,Yr.transition=i}}function gu(t,e,n,r){if(Bo){var s=Zl(t,e,n,r);if(s===null)ll(t,e,r,Vo,n),Od(t,r);else if($v(s,t,e,n,r))r.stopPropagation();else if(Od(t,r),e&4&&-1<Iv.indexOf(t)){for(;s!==null;){var i=Ii(s);if(i!==null&&Uh(i),i=Zl(t,e,n,r),i===null&&ll(t,e,r,Vo,n),i===s)break;s=i}s!==null&&r.stopPropagation()}else ll(t,e,r,null,n)}}var Vo=null;function Zl(t,e,n,r){if(Vo=null,t=fu(r),t=ir(t),t!==null)if(e=Pr(t),e===null)t=null;else if(n=e.tag,n===13){if(t=Lh(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return Vo=t,null}function Wh(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Av()){case pu:return 1;case $h:return 4;case qo:case Nv:return 16;case zh:return 536870912;default:return 16}default:return 16}}var Ln=null,yu=null,bo=null;function Qh(){if(bo)return bo;var t,e=yu,n=e.length,r,s="value"in Ln?Ln.value:Ln.textContent,i=s.length;for(t=0;t<n&&e[t]===s[t];t++);var o=n-t;for(r=1;r<=o&&e[n-r]===s[i-r];r++);return bo=s.slice(t,1<r?1-r:void 0)}function So(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function to(){return!0}function Rd(){return!1}function pt(t){function e(n,r,s,i,o){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var a in t)t.hasOwnProperty(a)&&(n=t[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?to:Rd,this.isPropagationStopped=Rd,this}return we(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=to)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=to)},persist:function(){},isPersistent:to}),e}var Ss={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vu=pt(Ss),Mi=we({},Ss,{view:0,detail:0}),Uv=pt(Mi),Za,el,Os,wa=we({},Mi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wu,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Os&&(Os&&t.type==="mousemove"?(Za=t.screenX-Os.screenX,el=t.screenY-Os.screenY):el=Za=0,Os=t),Za)},movementY:function(t){return"movementY"in t?t.movementY:el}}),Md=pt(wa),Bv=we({},wa,{dataTransfer:0}),Vv=pt(Bv),Hv=we({},Mi,{relatedTarget:0}),tl=pt(Hv),Gv=we({},Ss,{animationName:0,elapsedTime:0,pseudoElement:0}),Wv=pt(Gv),Qv=we({},Ss,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Kv=pt(Qv),Jv=we({},Ss,{data:0}),Id=pt(Jv),Yv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Zv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function e0(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Zv[t])?!!e[t]:!1}function wu(){return e0}var t0=we({},Mi,{key:function(t){if(t.key){var e=Yv[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=So(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Xv[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wu,charCode:function(t){return t.type==="keypress"?So(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?So(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),n0=pt(t0),r0=we({},wa,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$d=pt(r0),s0=we({},Mi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wu}),i0=pt(s0),o0=we({},Ss,{propertyName:0,elapsedTime:0,pseudoElement:0}),a0=pt(o0),l0=we({},wa,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),c0=pt(l0),u0=[9,13,27,32],xu=un&&"CompositionEvent"in window,Xs=null;un&&"documentMode"in document&&(Xs=document.documentMode);var d0=un&&"TextEvent"in window&&!Xs,Kh=un&&(!xu||Xs&&8<Xs&&11>=Xs),zd=" ",Fd=!1;function Jh(t,e){switch(t){case"keyup":return u0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var $r=!1;function f0(t,e){switch(t){case"compositionend":return Yh(e);case"keypress":return e.which!==32?null:(Fd=!0,zd);case"textInput":return t=e.data,t===zd&&Fd?null:t;default:return null}}function p0(t,e){if($r)return t==="compositionend"||!xu&&Jh(t,e)?(t=Qh(),bo=yu=Ln=null,$r=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Kh&&e.locale!=="ko"?null:e.data;default:return null}}var h0={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qd(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!h0[t.type]:e==="textarea"}function Xh(t,e,n,r){Nh(r),e=Ho(e,"onChange"),0<e.length&&(n=new vu("onChange","change",null,n,r),t.push({event:n,listeners:e}))}var Zs=null,hi=null;function m0(t){cm(t,0)}function xa(t){var e=qr(t);if(Sh(e))return t}function g0(t,e){if(t==="change")return e}var Zh=!1;if(un){var nl;if(un){var rl="oninput"in document;if(!rl){var Ud=document.createElement("div");Ud.setAttribute("oninput","return;"),rl=typeof Ud.oninput=="function"}nl=rl}else nl=!1;Zh=nl&&(!document.documentMode||9<document.documentMode)}function Bd(){Zs&&(Zs.detachEvent("onpropertychange",em),hi=Zs=null)}function em(t){if(t.propertyName==="value"&&xa(hi)){var e=[];Xh(e,hi,t,fu(t)),Oh(m0,e)}}function y0(t,e,n){t==="focusin"?(Bd(),Zs=e,hi=n,Zs.attachEvent("onpropertychange",em)):t==="focusout"&&Bd()}function v0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return xa(hi)}function w0(t,e){if(t==="click")return xa(e)}function x0(t,e){if(t==="input"||t==="change")return xa(e)}function b0(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var $t=typeof Object.is=="function"?Object.is:b0;function mi(t,e){if($t(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var s=n[r];if(!Rl.call(e,s)||!$t(t[s],e[s]))return!1}return!0}function Vd(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Hd(t,e){var n=Vd(t);t=0;for(var r;n;){if(n.nodeType===3){if(r=t+n.textContent.length,t<=e&&r>=e)return{node:n,offset:e-t};t=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Vd(n)}}function tm(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?tm(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function nm(){for(var t=window,e=$o();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=$o(t.document)}return e}function bu(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function S0(t){var e=nm(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&tm(n.ownerDocument.documentElement,n)){if(r!==null&&bu(n)){if
vendor: 5,074 bytes, line 38
38(e=r.start,t=r.end,t===void 0&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if(t=(e=n.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var s=n.textContent.length,i=Math.min(r.start,s);r=r.end===void 0?i:Math.min(r.end,s),!t.extend&&i>r&&(s=r,r=i,i=s),s=Hd(n,i);var o=Hd(n,r);s&&o&&(t.rangeCount!==1||t.anchorNode!==s.node||t.anchorOffset!==s.offset||t.focusNode!==o.node||t.focusOffset!==o.offset)&&(e=e.createRange(),e.setStart(s.node,s.offset),t.removeAllRanges(),i>r?(t.addRange(e),t.extend(o.node,o.offset)):(e.setEnd(o.node,o.offset),t.addRange(e)))}}for(e=[],t=n;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<e.length;n++)t=e[n],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var k0=un&&"documentMode"in document&&11>=document.documentMode,zr=null,ec=null,ei=null,tc=!1;function Gd(t,e,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;tc||zr==null||zr!==$o(r)||(r=zr,"selectionStart"in r&&bu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ei&&mi(ei,r)||(ei=r,r=Ho(ec,"onSelect"),0<r.length&&(e=new vu("onSelect","select",null,e,n),t.push({event:e,listeners:r}),e.target=zr)))}function no(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Fr={animationend:no("Animation","AnimationEnd"),animationiteration:no("Animation","AnimationIteration"),animationstart:no("Animation","AnimationStart"),transitionend:no("Transition","TransitionEnd")},sl={},rm={};un&&(rm=document.createElement("div").style,"AnimationEvent"in window||(delete Fr.animationend.animation,delete Fr.animationiteration.animation,delete Fr.animationstart.animation),"TransitionEvent"in window||delete Fr.transitionend.transition);function ba(t){if(sl[t])return sl[t];if(!Fr[t])return t;var e=Fr[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in rm)return sl[t]=e[n];return t}var sm=ba("animationend"),im=ba("animationiteration"),om=ba("animationstart"),am=ba("transitionend"),lm=new Map,Wd="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Kn(t,e){lm.set(t,e),Cr(e,[t])}for(var il=0;il<Wd.length;il++){var ol=Wd[il],C0=ol.toLowerCase(),P0=ol[0].toUpperCase()+ol.slice(1);Kn(C0,"on"+P0)}Kn(sm,"onAnimationEnd");Kn(im,"onAnimationIteration");Kn(om,"onAnimationStart");Kn("dblclick","onDoubleClick");Kn("focusin","onFocus");Kn("focusout","onBlur");Kn(am,"onTransitionEnd");fs("onMouseEnter",["mouseout","mouseover"]);fs("onMouseLeave",["mouseout","mouseover"]);fs("onPointerEnter",["pointerout","pointerover"]);fs("onPointerLeave",["pointerout","pointerover"]);Cr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Cr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Cr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Cr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Cr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Cr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qs="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),E0=new Set("cancel close invalid load scroll toggle".split(" ").concat(Qs));function Qd(t,e,n){var r=t.type||"unknown-event";t.currentTarget=n,Cv(r,e,void 0,t),t.currentTarget=null}function cm(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var r=t[n],s=r.event;r=r.listeners;e:{var i=void 0;if(e)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==i&&s.isPropagationStopped())break e;Qd(s,a,c),i=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,c=a.currentTarget,a=a.listener,l!==i&&s.isPropagationStopped())break e;Qd(s,a,c),i=l}}}if(Fo)throw t=Jl,Fo=!1,Jl=null,t}function pe(t,e){var n=e[oc];n===void 0&&(n=e[oc]=new Set);var r=t+"__bubble";n.has(r)||(um(e,t,2,!1),n.add(r))}function al(t,e,n){var r=0;e&&(r|=4),um(n,t,r,e)}var ro="_reactListening"+Math.random().toString(36).slice(2);
vendor: 6,017 bytes, lines 38-39
38function gi(t){if(!t[ro]){t[ro]=!0,yh.forEach(function(n){n!=="selectionchange"&&(E0.has(n)||al(n,!1,t),al(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[ro]||(e[ro]=!0,al("selectionchange",!1,e))}}function um(t,e,n,r){switch(Wh(e)){case 1:var s=Fv;break;case 4:s=qv;break;default:s=gu}n=s.bind(null,e,n,t),s=void 0,!Kl||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(s=!0),r?s!==void 0?t.addEventListener(e,n,{capture:!0,passive:s}):t.addEventListener(e,n,!0):s!==void 0?t.addEventListener(e,n,{passive:s}):t.addEventListener(e,n,!1)}function ll(t,e,n,r,s){var i=r;if(!(e&1)&&!(e&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;if(a===s||a.nodeType===8&&a.parentNode===s)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===s||l.nodeType===8&&l.parentNode===s))return;o=o.return}for(;a!==null;){if(o=ir(a),o===null)return;if(l=o.tag,l===5||l===6){r=i=o;continue e}a=a.parentNode}}r=r.return}Oh(function(){var c=i,f=fu(n),u=[];e:{var p=lm.get(t);if(p!==void 0){var y=vu,v=t;switch(t){case"keypress":if(So(n)===0)break e;case"keydown":case"keyup":y=n0;break;case"focusin":v="focus",y=tl;break;case"focusout":v="blur",y=tl;break;case"beforeblur":case"afterblur":y=tl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=Md;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=Vv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=i0;break;case sm:case im:case om:y=Wv;break;case am:y=a0;break;case"scroll":y=Uv;break;case"wheel":y=c0;break;case"copy":case"cut":case"paste":y=Kv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=$d}var w=(e&4)!==0,S=!w&&t==="scroll",m=w?p!==null?p+"Capture":null:p;w=[];for(var h=c,g;h!==null;){g=h;var b=g.stateNode;if(g.tag===5&&b!==null&&(g=b,m!==null&&(b=ui(h,m),b!=null&&w.push(yi(h,b,g)))),S)break;h=h.return}0<w.length&&(p=new y(p,v,null,n,f),u.push({event:p,listeners:w}))}}if(!(e&7)){e:{if(p=t==="mouseover"||t==="pointerover",y=t==="mouseout"||t==="pointerout",p&&n!==Wl&&(v=n.relatedTarget||n.fromElement)&&(ir(v)||v[dn]))break e;if((y||p)&&(p=f.window===f?f:(p=f.ownerDocument)?p.defaultView||p.parentWindow:window,y?(v=n.relatedTarget||n.toElement,y=c,v=v?ir(v):null,v!==null&&(S=Pr(v),v!==S||v.tag!==5&&v.tag!==6)&&(v=null)):(y=null,v=c),y!==v)){if(w=Md,b="onMouseLeave",m="onMouseEnter",h="mouse",(t==="pointerout"||t==="pointerover")&&(w=$d,b="onPointerLeave",m="onPointerEnter",h="pointer"),S=y==null?p:qr(y),g=v==null?p:qr(v),p=new w(b,h+"leave",y,n,f),p.target=S,p.relatedTarget=g,b=null,ir(f)===c&&(w=new w(m,h+"enter",v,n,f),w.target=g,w.relatedTarget=S,b=w),S=b,y&&v)t:{for(w=y,m=v,h=0,g=w;g;g=_r(g))h++;for(g=0,b=m;b;b=_r(b))g++;for(;0<h-g;)w=_r(w),h--;for(;0<g-h;)m=_r(m),g--;for(;h--;){if(w===m||m!==null&&w===m.alternate)break t;w=_r(w),m=_r(m)}w=null}else w=null;y!==null&&Kd(u,p,y,w,!1),v!==null&&S!==null&&Kd(u,S,v,w,!0)}}e:{if(p=c?qr(c):window,y=p.nodeName&&p.nodeName.toLowerCase(),y==="select"||y==="input"&&p.type==="file")var C=g0;else if(qd(p))if(Zh)C=x0;else{C=v0;var P=y0}else(y=p.nodeName)&&y.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(C=w0);if(C&&(C=C(t,c))){Xh(u,C,n,f);break e}P&&P(t,p,c),t==="focusout"&&(P=p._wrapperState)&&P.controlled&&p.type==="number"&&Ul(p,"number",p.value)}switch(P=c?qr(c):window,t){case"focusin":(qd(P)||P.contentEditable==="true")&&(zr=P,ec=c,ei=null);break;case"focusout":ei=ec=zr=null;break;case"mousedown":tc=!0;break;case"contextmenu":case"mouseup":case"dragend":tc=!1,Gd(u,n,f);break;case"selectionchange":if(k0)break;case"keydown":case"keyup":Gd(u,n,f)}var E;if(xu)e:{switch(t){case"compositionstart":var j="onCompositionStart";break e;case"compositionend":j="onCompositionEnd";break e;case"compositionupdate":j="onCompositionUpdate";break e}j=void 0}else $r?Jh(t,n)&&(j="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(j="onCompositionStart");j&&(Kh&&n.locale!=="ko"&&($r||j!=="onCompositionStart"?j==="onCompositionEnd"&&$r&&(E=Qh()):(Ln=f,yu="value"in Ln?Ln.value:Ln.textContent,$r=!0)),P=Ho(c,j),0<P.length&&(j=new Id(j,t,null,n,f),u.push({event:j,listeners:P}),E?j.data=E:(E=Yh(n),E!==null&&(j.data=E)))),(E=d0?f0(t,n):p0(t,n))&&(c=Ho(c,"onBeforeInput"),0<c.length&&(f=new Id("onBeforeInput","beforeinput",null,n,f),u.push({event:f,listeners:c}),f.data=E))}cm(u,e)})}function yi(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Ho(t,e){for(var n=e+"Capture",r=[];t!==null;){var s=t,i=s.stateNode;s.tag===5&&i!==null&&(s=i,i=ui(t,n),i!=null&&r.unshift(yi(t,i,s)),i=ui(t,e),i!=null&&r.push(yi(t,i,s))),t=t.return}return r}function _r(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function Kd(t,e,n,r,s){for(var i=e._reactName,o=[];n!==null&&n!==r;){var a=n,l=a.alternate,c=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&c!==null&&(a=c,s?(l=ui(n,i),l!=null&&o.unshift(yi(n,l,a))):s||(l=ui(n,i),l!=null&&o.push(yi(n,l,a)))),n=n.return}o.length!==0&&t.push({event:e,listeners:o})}var T0=/\r\n?/g,A0=/\u0000|\uFFFD/g;function Jd(t){return(typeof t=="string"?t:""+t).replace(T0,` 39`).replace(A0,"")}function so(t,e,n){if(e=Jd(e),Jd(t)!==e&&n)throw Error(T(425))}function Go(){}var nc=null,rc=null;function sc(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var ic=typeof setTimeout=="function"?setTimeout:void 0,N0=typeof clearTimeout=="function"?clearTimeout:void 0,Yd=typeof Promise=="function"?Promise:void 0,_0=typeof queueMicrotask=="function"?queueMicrotask:typeof Yd<"u"?function(t){return Yd.resolve(null).then(t).cat
vendor: 4,824 bytes, line 39
39ch(D0)}:ic;function D0(t){setTimeout(function(){throw t})}function cl(t,e){var n=e,r=0;do{var s=n.nextSibling;if(t.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){t.removeChild(s),pi(e);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);pi(e)}function Fn(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return t}function Xd(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"){if(e===0)return t;e--}else n==="/$"&&e++}t=t.previousSibling}return null}var ks=Math.random().toString(36).slice(2),Gt="__reactFiber$"+ks,vi="__reactProps$"+ks,dn="__reactContainer$"+ks,oc="__reactEvents$"+ks,j0="__reactListeners$"+ks,O0="__reactHandles$"+ks;function ir(t){var e=t[Gt];if(e)return e;for(var n=t.parentNode;n;){if(e=n[dn]||n[Gt]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=Xd(t);t!==null;){if(n=t[Gt])return n;t=Xd(t)}return e}t=n,n=t.parentNode}return null}function Ii(t){return t=t[Gt]||t[dn],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function qr(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(T(33))}function Sa(t){return t[vi]||null}var ac=[],Ur=-1;function Jn(t){return{current:t}}function he(t){0>Ur||(t.current=ac[Ur],ac[Ur]=null,Ur--)}function de(t,e){Ur++,ac[Ur]=t.current,t.current=e}var Qn={},Ge=Jn(Qn),rt=Jn(!1),vr=Qn;function ps(t,e){var n=t.type.contextTypes;if(!n)return Qn;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=e[i];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=s),s}function st(t){return t=t.childContextTypes,t!=null}function Wo(){he(rt),he(Ge)}function Zd(t,e,n){if(Ge.current!==Qn)throw Error(T(168));de(Ge,e),de(rt,n)}function dm(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in e))throw Error(T(108,yv(t)||"Unknown",s));return we({},n,r)}function Qo(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Qn,vr=Ge.current,de(Ge,t),de(rt,rt.current),!0}function ef(t,e,n){var r=t.stateNode;if(!r)throw Error(T(169));n?(t=dm(t,e,vr),r.__reactInternalMemoizedMergedChildContext=t,he(rt),he(Ge),de(Ge,t)):he(rt),de(rt,n)}var sn=null,ka=!1,ul=!1;function fm(t){sn===null?sn=[t]:sn.push(t)}function L0(t){ka=!0,fm(t)}function Yn(){if(!ul&&sn!==null){ul=!0;var t=0,e=le;try{var n=sn;for(le=1;t<n.length;t++){var r=n[t];do r=r(!0);while(r!==null)}sn=null,ka=!1}catch(s){throw sn!==null&&(sn=sn.slice(t+1)),Ih(pu,Yn),s}finally{le=e,ul=!1}}return null}var Br=[],Vr=0,Ko=null,Jo=0,vt=[],wt=0,wr=null,an=1,ln="";function rr(t,e){Br[Vr++]=Jo,Br[Vr++]=Ko,Ko=t,Jo=e}function pm(t,e,n){vt[wt++]=an,vt[wt++]=ln,vt[wt++]=wr,wr=t;var r=an;t=ln;var s=32-Mt(r)-1;r&=~(1<<s),n+=1;var i=32-Mt(e)+s;if(30<i){var o=s-s%5;i=(r&(1<<o)-1).toString(32),r>>=o,s-=o,an=1<<32-Mt(e)+s|n<<s|r,ln=i+t}else an=1<<i|n<<s|r,ln=t}function Su(t){t.return!==null&&(rr(t,1),pm(t,1,0))}function ku(t){for(;t===Ko;)Ko=Br[--Vr],Br[Vr]=null,Jo=Br[--Vr],Br[Vr]=null;for(;t===wr;)wr=vt[--wt],vt[wt]=null,ln=vt[--wt],vt[wt]=null,an=vt[--wt],vt[wt]=null}var ut=null,ct=null,ge=!1,Lt=null;function hm(t,e){var n=bt(5,null,null,0);n.elementType="DELETED",n.stateNode=e,n.return=t,e=t.deletions,e===null?(t.deletions=[n],t.flags|=16):e.push(n)}function tf(t,e){switch(t.tag){case 5:var n=t.type;return e=e.nodeType!==1||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(t.stateNode=e,ut=t,ct=Fn(e.firstChild),!0):!1;case 6:return e=t.pendingProps===""||e.nodeType!==3?null:e,e!==null?(t.stateNode=e,ut=t,ct=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(n=wr!==null?{id:an,overflow:ln}:null,t.memoizedState={dehydrated:e,treeContext:n,retryLane:1073741824},n=bt(18,null,null,0),n.stateNode=e,n.return=t,t.child=n,ut=t,ct=null,!0):!1;default:return!1}}function lc(t){return(t.mode&1)!==0&&(t.flags&128)===0}function cc(t){if(ge){var e=ct;if(e){var n=e;if(!tf(t,e)){if(lc(t))throw Error(T(418));e=Fn(n.nextSibling);var r=ut;e&&tf(t,e)?hm(r,n):(t.flags=t.flags&-4097|2,ge=!1,ut=t)}}else{if(lc(t))throw Error(T(418));t.flags=t.flags&-4097|2,ge=!1,ut=t}}}function nf(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;ut=t}function io(t){if(t!==ut)return!1;if(!ge)return nf(t),ge=!0,!1;var e;if((e=t.tag!==3)&&!(e=t.tag!==5)&&(e=t.type,e=e!=="head"&&e!=="body"&&!sc(t.type,t.memoizedProps)),e&&(e=ct)){if(lc(t))throw mm(),Error(T(418));for(;e;)hm(t,e),e=Fn(e.nextSibling)}if(nf(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(T(317));e:{for(t=t.nextSibling,e=0;t;
vendor: 25,596 bytes, lines 39-41
39){if(t.nodeType===8){var n=t.data;if(n==="/$"){if(e===0){ct=Fn(t.nextSibling);break e}e--}else n!=="$"&&n!=="$!"&&n!=="$?"||e++}t=t.nextSibling}ct=null}}else ct=ut?Fn(t.stateNode.nextSibling):null;return!0}function mm(){for(var t=ct;t;)t=Fn(t.nextSibling)}function hs(){ct=ut=null,ge=!1}function Cu(t){Lt===null?Lt=[t]:Lt.push(t)}var R0=hn.ReactCurrentBatchConfig;function Ls(t,e,n){if(t=n.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(T(309));var r=n.stateNode}if(!r)throw Error(T(147,t));var s=r,i=""+t;return e!==null&&e.ref!==null&&typeof e.ref=="function"&&e.ref._stringRef===i?e.ref:(e=function(o){var a=s.refs;o===null?delete a[i]:a[i]=o},e._stringRef=i,e)}if(typeof t!="string")throw Error(T(284));if(!n._owner)throw Error(T(290,t))}return t}function oo(t,e){throw t=Object.prototype.toString.call(e),Error(T(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function rf(t){var e=t._init;return e(t._payload)}function gm(t){function e(m,h){if(t){var g=m.deletions;g===null?(m.deletions=[h],m.flags|=16):g.push(h)}}function n(m,h){if(!t)return null;for(;h!==null;)e(m,h),h=h.sibling;return null}function r(m,h){for(m=new Map;h!==null;)h.key!==null?m.set(h.key,h):m.set(h.index,h),h=h.sibling;return m}function s(m,h){return m=Vn(m,h),m.index=0,m.sibling=null,m}function i(m,h,g){return m.index=g,t?(g=m.alternate,g!==null?(g=g.index,g<h?(m.flags|=2,h):g):(m.flags|=2,h)):(m.flags|=1048576,h)}function o(m){return t&&m.alternate===null&&(m.flags|=2),m}function a(m,h,g,b){return h===null||h.tag!==6?(h=yl(g,m.mode,b),h.return=m,h):(h=s(h,g),h.return=m,h)}function l(m,h,g,b){var C=g.type;return C===Ir?f(m,h,g.props.children,b,g.key):h!==null&&(h.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Cn&&rf(C)===h.type)?(b=s(h,g.props),b.ref=Ls(m,h,g),b.return=m,b):(b=No(g.type,g.key,g.props,null,m.mode,b),b.ref=Ls(m,h,g),b.return=m,b)}function c(m,h,g,b){return h===null||h.tag!==4||h.stateNode.containerInfo!==g.containerInfo||h.stateNode.implementation!==g.implementation?(h=vl(g,m.mode,b),h.return=m,h):(h=s(h,g.children||[]),h.return=m,h)}function f(m,h,g,b,C){return h===null||h.tag!==7?(h=gr(g,m.mode,b,C),h.return=m,h):(h=s(h,g),h.return=m,h)}function u(m,h,g){if(typeof h=="string"&&h!==""||typeof h=="number")return h=yl(""+h,m.mode,g),h.return=m,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Ki:return g=No(h.type,h.key,h.props,null,m.mode,g),g.ref=Ls(m,null,h),g.return=m,g;case Mr:return h=vl(h,m.mode,g),h.return=m,h;case Cn:var b=h._init;return u(m,b(h._payload),g)}if(Gs(h)||Ns(h))return h=gr(h,m.mode,g,null),h.return=m,h;oo(m,h)}return null}function p(m,h,g,b){var C=h!==null?h.key:null;if(typeof g=="string"&&g!==""||typeof g=="number")return C!==null?null:a(m,h,""+g,b);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Ki:return g.key===C?l(m,h,g,b):null;case Mr:return g.key===C?c(m,h,g,b):null;case Cn:return C=g._init,p(m,h,C(g._payload),b)}if(Gs(g)||Ns(g))return C!==null?null:f(m,h,g,b,null);oo(m,g)}return null}function y(m,h,g,b,C){if(typeof b=="string"&&b!==""||typeof b=="number")return m=m.get(g)||null,a(h,m,""+b,C);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Ki:return m=m.get(b.key===null?g:b.key)||null,l(h,m,b,C);case Mr:return m=m.get(b.key===null?g:b.key)||null,c(h,m,b,C);case Cn:var P=b._init;return y(m,h,g,P(b._payload),C)}if(Gs(b)||Ns(b))return m=m.get(g)||null,f(h,m,b,C,null);oo(h,b)}return null}function v(m,h,g,b){for(var C=null,P=null,E=h,j=h=0,U=null;E!==null&&j<g.length;j++){E.index>j?(U=E,E=null):U=E.sibling;var A=p(m,E,g[j],b);if(A===null){E===null&&(E=U);break}t&&E&&A.alternate===null&&e(m,E),h=i(A,h,j),P===null?C=A:P.sibling=A,P=A,E=U}if(j===g.length)return n(m,E),ge&&rr(m,j),C;if(E===null){for(;j<g.length;j++)E=u(m,g[j],b),E!==null&&(h=i(E,h,j),P===null?C=E:P.sibling=E,P=E);return ge&&rr(m,j),C}for(E=r(m,E);j<g.length;j++)U=y(E,m,j,g[j],b),U!==null&&(t&&U.alternate!==null&&E.delete(U.key===null?j:U.key),h=i(U,h,j),P===null?C=U:P.sibling=U,P=U);return t&&E.forEach(function(W){return e(m,W)}),ge&&rr(m,j),C}function w(m,h,g,b){var C=Ns(g);if(typeof C!="function")throw Error(T(150));if(g=C.call(g),g==null)throw Error(T(151));for(var P=C=null,E=h,j=h=0,U=null,A=g.next();E!==null&&!A.done;j++,A=g.next()){E.index>j?(U=E,E=null):U=E.sibling;var W=p(m,E,A.value,b);if(W===null){E===null&&(E=U);break}t&&E&&W.alternate===null&&e(m,E),h=i(W,h,j),P===null?C=W:P.sibling=W,P=W,E=U}if(A.done)return n(m,E),ge&&rr(m,j),C;if(E===null){for(;!A.done;j++,A=g.next())A=u(m,A.value,b),A!==null&&(h=i(A,h,j),P===null?C=A:P.sibling=A,P=A);return ge&&rr(m,j),C}for(E=r(m,E);!A.done;j++,A=g.next())A=y(E,m,j,A.value,b),A!==null&&(t&&A.alternate!==null&&E.delete(A.key===null?j:A.key),h=i(A,h,j),P===null?C=A:P.sibling=A,P=A);return t&&E.forEach(function(R){return e(m,R)}),ge&&rr(m,j),C}function S(m,h,g,b){if(typeof g=="object"&&g!==null&&g.type===Ir&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Ki:e:{for(var C=g.key,P=h;P!==null;){if(P.key===C){if(C=g.type,C===Ir){if(P.tag===7){n(m,P.sibling),h=s(P,g.props.children),h.return=m,m=h;break e}}else if(P.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Cn&&rf(C)===P.type){n(m,P.sibling),h=s(P,g.props),h.ref=Ls(m,P,g),h.return=m,m=h;break e}n(m,P);break}else e(m,P);P=P.sibling}g.type===Ir?(h=gr(g.props.children,m.mode,b,g.key),h.return=m,m=h):(b=No(g.type,g.key,g.props,null,m.mode,b),b.ref=Ls(m,h,g),b.return=m,m=b)}return o(m);case Mr:e:{for(P=g.key;h!==null;){if(h.key===P)if(h.tag===4&&h.stateNode.containerInfo===g.containerInfo&&h.stateNode.implementation===g.implementation){n(m,h.sibling),h=s(h,g.children||[]),h.return=m,m=h;break e}else{n(m,h);break}else e(m,h);h=h.sibling}h=vl(g,m.mode,b),h.return=m,m=h}return o(m);case Cn:return P=g._init,S(m,h,P(g._payload),b)}if(Gs(g))return v(m,h,g,b);if(Ns(g))return w(m,h,g,b);oo(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,h!==null&&h.tag===6?(n(m,h.sibling),h=s(h,g),h.return=m,m=h):(n(m,h),h=yl(g,m.mode,b),h.return=m,m=h),o(m)):n(m,h)}return S}var ms=gm(!0),ym=gm(!1),Yo=Jn(null),Xo=null,Hr=null,Pu=null;function Eu(){Pu=Hr=Xo=null}function Tu(t){var e=Yo.current;he(Yo),t._currentValue=e}function uc(t,e,n){for(;t!==null;){var r=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,r!==null&&(r.childLanes|=e)):r!==null&&(r.childLanes&e)!==e&&(r.childLanes|=e),t===n)break;t=t.return}}function Xr(t,e){Xo=t,Pu=Hr=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(nt=!0),t.firstContext=null)}function kt(t){var e=t._currentValue;if(Pu!==t)if(t={context:t,memoizedValue:e,next:null},Hr===null){if(Xo===null)throw Error(T(308));Hr=t,Xo.dependencies={lanes:0,firstContext:t}}else Hr=Hr.next=t;return e}var or=null;function Au(t){or===null?or=[t]:or.push(t)}function vm(t,e,n,r){var s=e.interleaved;return s===null?(n.next=n,Au(e)):(n.next=s.next,s.next=n),e.interleaved=n,fn(t,r)}function fn(t,e){t.lanes|=e;var n=t.alternate;for(n!==null&&(n.lanes|=e),n=t,t=t.return;t!==null;)t.childLanes|=e,n=t.alternate,n!==null&&(n.childLanes|=e),n=t,t=t.return;return n.tag===3?n.stateNode:null}var Pn=!1;function Nu(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function wm(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function cn(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function qn(t,e,n){var r=t.updateQueue;if(r===null)return null;if(r=r.shared,ae&2){var s=r.pending;return s===null?e.next=e:(e.next=s.next,s.next=e),r.pending=e,fn(t,n)}return s=r.interleaved,s===null?(e.next=e,Au(r)):(e.next=s.next,s.next=e),r.interleaved=e,fn(t,n)}function ko(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194240)!==0)){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,hu(t,n)}}function sf(t,e){var n=t.updateQueue,r=t.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?s=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?s=i=e:i=i.next=e}else s=i=e;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:i,shared:r.shared,effects:r.effects},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function Zo(t,e,n,r){var s=t.updateQueue;Pn=!1;var i=s.firstBaseUpdate,o=s.lastBaseUpdate,a=s.shared.pending;if(a!==null){s.shared.pending=null;var l=a,c=l.next;l.next=null,o===null?i=c:o.next=c,o=l;var f=t.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==o&&(a===null?f.firstBaseUpdate=c:a.next=c,f.lastBaseUpdate=l))}if(i!==null){var u=s.baseState;o=0,f=c=l=null,a=i;do{var p=a.lane,y=a.eventTime;if((r&p)===p){f!==null&&(f=f.next={eventTime:y,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=t,w=a;switch(p=e,y=n,w.tag){case 1:if(v=w.payload,typeof v=="function"){u=v.call(y,u,p);break e}u=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=w.payload,p=typeof v=="function"?v.call(y,u,p):v,p==null)break e;u=we({},u,p);break e;case 2:Pn=!0}}a.callback!==null&&a.lane!==0&&(t.flags|=64,p=s.effects,p===null?s.effects=[a]:p.push(a))}else y={eventTime:y,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(c=f=y,l=u):f=f.next=y,o|=p;if(a=a.next,a===null){if(a=s.shared.pending,a===null)break;p=a,a=p.next,p.next=null,s.lastBaseUpdate=p,s.shared.pending=null}}while(!0);if(f===null&&(l=u),s.baseState=l,s.firstBaseUpdate=c,s.lastBaseUpdate=f,e=s.shared.interleaved,e!==null){s=e;do o|=s.lane,s=s.next;while(s!==e)}else i===null&&(s.shared.lanes=0);br|=o,t.lanes=o,t.memoizedState=u}}function of(t,e,n){if(t=e.effects,e.effects=null,t!==null)for(e=0;e<t.length;e++){var r=t[e],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(T(191,s));s.call(r)}}}var $i={},Kt=Jn($i),wi=Jn($i),xi=Jn($i);function ar(t){if(t===$i)throw Error(T(174));return t}function _u(t,e){switch(de(xi,e),de(wi,t),de(Kt,$i),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Vl(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=Vl(e,t)}he(Kt),de(Kt,e)}function gs(){he(Kt),he(wi),he(xi)}function xm(t){ar(xi.current);var e=ar(Kt.current),n=Vl(e,t.type);e!==n&&(de(wi,t),de(Kt,n))}function Du(t){wi.current===t&&(he(Kt),he(wi))}var ye=Jn(0);function ea(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var dl=[];function ju(){for(var t=0;t<dl.length;t++)dl[t]._workInProgressVersionPrimary=null;dl.length=0}var Co=hn.ReactCurrentDispatcher,fl=hn.ReactCurrentBatchConfig,xr=0,ve=null,Te=null,De=null,ta=!1,ti=!1,bi=0,M0=0;function qe(){throw Error(T(321))}function Ou(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!$t(t[n],e[n]))return!1;return!0}function Lu(t,e,n,r,s,i){if(xr=i,ve=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,Co.current=t===null||t.memoizedState===null?F0:q0,t=n(r,s),ti){i=0;do{if(ti=!1,bi=0,25<=i)throw Error(T(301));i+=1,De=Te=null,e.updateQueue=null,Co.current=U0,t=n(r,s)}while(ti)}if(Co.current=na,e=Te!==null&&Te.next!==null,xr=0,De=Te=ve=null,ta=!1,e)throw Error(T(300));return t}function Ru(){var t=bi!==0;return bi=0,t}function Ut(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return De===null?ve.memoizedState=De=t:De=De.next=t,De}function Ct(){if(Te===null){var t=ve.alternate;t=t!==null?t.memoizedState:null}else t=Te.next;var e=De===null?ve.memoizedState:De.next;if(e!==null)De=e,Te=t;else{if(t===null)throw Error(T(310));Te=t,t={memoizedState:Te.memoizedState,baseState:Te.baseState,baseQueue:Te.baseQueue,queue:Te.queue,next:null},De===null?ve.memoizedState=De=t:De=De.next=t}return De}function Si(t,e){return typeof e=="function"?e(t):e}function pl(t){var e=Ct(),n=e.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=t;var r=Te,s=r.baseQueue,i=n.pending;if(i!==null){if(s!==null){var o=s.next;s.next=i.next,i.next=o}r.baseQueue=s=i,n.pending=null}if(s!==null){i=s.next,r=r.baseState;var a=o=null,l=null,c=i;do{var f=c.lane;if((xr&f)===f)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:t(r,c.action);else{var u={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=u,o=r):l=l.next=u,ve.lanes|=f,br|=f}c=c.next}while(c!==null&&c!==i);l===null?o=r:l.next=a,$t(r,e.memoizedState)||(nt=!0),e.memoizedState=r,e.baseState=o,e.baseQueue=l,n.lastRenderedState=r}if(t=n.interleaved,t!==null){s=t;do i=s.lane,ve.lanes|=i,br|=i,s=s.next;while(s!==t)}else s===null&&(n.lanes=0);return[e.memoizedState,n.dispatch]}function hl(t){var e=Ct(),n=e.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=t;var r=n.dispatch,s=n.pending,i=e.memoizedState;if(s!==null){n.pending=null;var o=s=s.next;do i=t(i,o.action),o=o.next;while(o!==s);$t(i,e.memoizedState)||(nt=!0),e.memoizedState=i,e.baseQueue===null&&(e.baseState=i),n.lastRenderedState=i}return[i,r]}function bm(){}function Sm(t,e){var n=ve,r=Ct(),s=e(),i=!$t(r.memoizedState,s);if(i&&(r.memoizedState=s,nt=!0),r=r.queue,Mu(Pm.bind(null,n,r,t),[t]),r.getSnapshot!==e||i||De!==null&&De.memoizedState.tag&1){if(n.flags|=2048,ki(9,Cm.bind(null,n,r,s,e),void 0,null),Oe===null)throw Error(T(349));xr&30||km(n,e,s)}return s}function km(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=ve.updateQueue,e===null?(e={lastEffect:null,stores:null},ve.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Cm(t,e,n,r){e.value=n,e.getSnapshot=r,Em(e)&&Tm(t)}function Pm(t,e,n){return n(function(){Em(e)&&Tm(t)})}function Em(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!$t(t,n)}catch{return!0}}function Tm(t){var e=fn(t,1);e!==null&&It(e,t,1,-1)}function af(t){var e=Ut();return typeof t=="function"&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Si,lastRenderedState:t},e.queue=t,t=t.dispatch=z0.bind(null,ve,t),[e.memoizedState,t]}function ki(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},e=ve.updateQueue,e===null?(e={lastEffect:null,stores:null},ve.updateQueue=e,e.lastEffect=t.next=t):(n=e.lastEffect,n===null?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t)),t}function Am(){return Ct().memoizedState}function Po(t,e,n,r){var s=Ut();ve.flags|=t,s.memoizedState=ki(1|e,n,void 0,r===void 0?null:r)}function Ca(t,e,n,r){var s=Ct();r=r===void 0?null:r;var i=void 0;if(Te!==null){var o=Te.memoizedState;if(i=o.destroy,r!==null&&Ou(r,o.deps)){s.memoizedState=ki(e,n,i,r);return}}ve.flags|=t,s.memoizedState=ki(1|e,n,i,r)}function lf(t,e){return Po(8390656,8,t,e)}function Mu(t,e){return Ca(2048,8,t,e)}function Nm(t,e){return Ca(4,2,t,e)}function _m(t,e){return Ca(4,4,t,e)}function Dm(t,e){if(typeof e=="function")return t=t(),e(t),function(){e(null)};if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function jm(t,e,n){return n=n!=null?n.concat([t]):null,Ca(4,4,Dm.bind(null,e,t),n)}function Iu(){}function Om(t,e){var n=Ct();e=e===void 0?null:e;var r=n.memoizedState;return r!==null&&e!==null&&Ou(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function Lm(t,e){var n=Ct();e=e===void 0?null:e;var r=n.memoizedState;return r!==null&&e!==null&&Ou(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function Rm(t,e,n){return xr&21?($t(n,e)||(n=Fh(),ve.lanes|=n,br|=n,t.baseState=!0),e):(t.baseState&&(t.baseState=!1,nt=!0),t.memoizedState=n)}function I0(t,e){var n=le;le=n!==0&&4>n?n:4,t(!0);var r=fl.transition;fl.transition={};try{t(!1),e()}finally{le=n,fl.transition=r}}function Mm(){return Ct().memoizedState}function $0(t,e,n){var r=Bn(t);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Im(t))$m(e,n);else if(n=vm(t,e,n,r),n!==null){var s=Je();It(n,t,r,s),zm(n,e,r)}}function z0(t,e,n){var r=Bn(t),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Im(t))$m(e,s);else{var i=t.alternate;if(t.lanes===0&&(i===null||i.lanes===0)&&(i=e.lastRenderedReducer,i!==null))try{var o=e.lastRenderedState,a=i(o,n);if(s.hasEagerState=!0,s.eagerState=a,$t(a,o)){var l=e.interleaved;l===null?(s.next=s,Au(e)):(s.next=l.next,l.next=s),e.interleaved=s;return}}catch{}finally{}n=vm(t,e,s,r),n!==null&&(s=Je(),It(n,t,r,s),zm(n,e,r))}}function Im(t){var e=t.alternate;return t===ve||e!==null&&e===ve}function $m(t,e){ti=ta=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function zm(t,e,n){if(n&4194240){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,hu(t,n)}}var na={readContext:kt,useCallback:qe,useContext:qe,useEffect:qe,useImperativeHandle:qe,useInsertionEffect:qe,useLayoutEffect:qe,useMemo:qe,useReducer:qe,useRef:qe,useState:qe,useDebugValue:qe,useDeferredValue:qe,useTransition:qe,useMutableSource:qe,useSyncExternalStore:qe,useId:qe,unstable_isNewReconciler:!1},F0={readContext:kt,useCallback:function(t,e){return Ut().memoizedState=[t,e===void 0?null:e],t},useContext:kt,useEffect:lf,useImperativeHandle:function(t,e,n){return n=n!=null?n.concat([t]):null,Po(4194308,4,Dm.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Po(4194308,4,t,e)},useInsertionEffect:function(t,e){return Po(4,2,t,e)},useMemo:function(t,e){var n=Ut();return e=e===void 0?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=Ut();return e=n!==void 0?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=$0.bind(null,ve,t),[r.memoizedState,t]},useRef:function(t){var e=Ut();return t={current:t},e.memoizedState=t},useState:af,useDebugValue:Iu,useDeferredValue:function(t){return Ut().memoizedState=t},useTransition:function(){var t=af(!1),e=t[0];return t=I0.bind(null,t[1]),Ut().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=ve,s=Ut();if(ge){if(n===void 0)throw Error(T(407));n=n()}else{if(n=e(),Oe===null)throw Error(T(349));xr&30||km(r,e,n)}s.memoizedState=n;var i={value:n,getSnapshot:e};return s.queue=i,lf(Pm.bind(null,r,i,t),[t]),r.flags|=2048,ki(9,Cm.bind(null,r,i,n,e),void 0,null),n},useId:function(){var t=Ut(),e=Oe.identifierPrefix;if(ge){var n=ln,r=an;n=(r&~(1<<32-Mt(r)-1)).toString(32)+n,e=":"+e+"R"+n,n=bi++,0<n&&(e+="H"+n.toString(32)),e+=":"}else n=M0++,e=":"+e+"r"+n.toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},q0={readContext:kt,useCallback:Om,useContext:kt,useEffect:Mu,useImperativeHandle:jm,useInsertionEffect:Nm,useLayoutEffect:_m,useMemo:Lm,useReducer:pl,useRef:Am,useState:function(){return pl(Si)},useDebugValue:Iu,useDeferredValue:function(t){var e=Ct();return Rm(e,Te.memoizedState,t)},useTransition:function(){var t=pl(Si)[0],e=Ct().memoizedState;return[t,e]},useMutableSource:bm,useSyncExternalStore:Sm,useId:Mm,unstable_isNewReconciler:!1},U0={readContext:kt,useCallback:Om,useContext:kt,useEffect:Mu,useImperativeHandle:jm,useInsertionEffect:Nm,useLayoutEffect:_m,useMemo:Lm,useReducer:hl,useRef:Am,useState:function(){return hl(Si)},useDebugValue:Iu,useDeferredValue:function(t){var e=Ct();return Te===null?e.memoizedState=t:Rm(e,Te.memoizedState,t)},useTransition:function(){var t=hl(Si)[0],e=Ct().memoizedState;return[t,e]},useMutableSource:bm,useSyncExternalStore:Sm,useId:Mm,unstable_isNewReconciler:!1};function At(t,e){if(t&&t.defaultProps){e=we({},e),t=t.defaultProps;for(var n in t)e[n]===void 0&&(e[n]=t[n]);return e}return e}function dc(t,e,n,r){e=t.memoizedState,n=n(r,e),n=n==null?e:we({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var Pa={isMounted:function(t){return(t=t._reactInternals)?Pr(t)===t:!1},enqueueSetState:function(t,e,n){t=t._reactInternals;var r=Je(),s=Bn(t),i=cn(r,s);i.payload=e,n!=null&&(i.callback=n),e=qn(t,i,s),e!==null&&(It(e,t,s,r),ko(e,t,s))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var r=Je(),s=Bn(t),i=cn(r,s);i.tag=1,i.payload=e,n!=null&&(i.callback=n),e=qn(t,i,s),e!==null&&(It(e,t,s,r),ko(e,t,s))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Je(),r=Bn(t),s=cn(n,r);s.tag=2,e!=null&&(s.callback=e),e=qn(t,s,r),e!==null&&(It(e,t,r,n),ko(e,t,r))}};function cf(t,e,n,r,s,i,o){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(r,i,o):e.prototype&&e.prototype.isPureReactComponent?!mi(n,r)||!mi(s,i):!0}function Fm(t,e,n){var r=!1,s=Qn,i=e.contextType;return typeof i=="object"&&i!==null?i=kt(i):(s=st(e)?vr:Ge.current,r=e.contextTypes,i=(r=r!=null)?ps(t,s):Qn),e=new e(n,i),t.memoizedState=e.state!==null&&e.state!==void 0?e.state:null,e.updater=Pa,t.stateNode=e,e._reactInternals=t,r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=s,t.__reactInternalMemoizedMaskedChildContext=i),e}function uf(t,e,n,r){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,r),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&Pa.enqueueReplaceState(e,e.state,null)}function fc(t,e,n,r){var s=t.stateNode;s.props=n,s.state=t.memoizedState,s.refs={},Nu(t);var i=e.contextType;typeof i=="object"&&i!==null?s.context=kt(i):(i=st(e)?vr:Ge.current,s.context=ps(t,i)),s.state=t.memoizedState,i=e.getDerivedStateFromProps,typeof i=="function"&&(dc(t,e,i,n),s.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(e=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),e!==s.state&&Pa.enqueueReplaceState(s,s.state,null),Zo(t,n,s,r),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308)}function ys(t,e){try{var n="",r=e;do n+=gv(r),r=r.return;while(r);var s=n}catch(i){s=` 40Error generating stack: `+i.message+` 41`+i.stack}return{value:t,source:e,stack:s,digest:null}}function ml(t,e,n){return{value:t,source:null,stack:n??null,digest:e??null}}function pc(t,e){try{console.error(e.value)}catch(n){setTimeout(function(){throw n})}}var B0=typeof WeakMap=="function"?WeakMap:Map;function qm(t,e,n){n=cn(-1,n),n.tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){sa||(sa=!0,kc=r),pc(t,e)},n}function Um(t,e,n){n=cn(-1,n),n.tag=3;var r=t.type.getDerivedStateFromError;if(typeof r=="function"){var s=e.value;n.payload=function(){return r(s)},n.callback=function(){pc(t,e)}}var i=t.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){pc(t,e),typeof r!="function"&&(Un===null?Un=new Set([this]):Un.add(this));var o=e.stack;this.componentDidCatch(e.value,{componentStack:o!==null?o:""})}),n}function df(t,e,n){var r=t.pingCache;if(r===null){r=t.pingCache=new B0;var s=new Set;r.set(e,s)}else s=r.get(e),s===void 0&&(s=new Set,r.set(e,s));s.has(n)||(s.add(n),t=rw.bind(null,t,e,n),e.then(t,t))}function ff(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function pf(t,e,n,r,s){return t.mode&1?(t.flags|=65536,t.lanes=s,t):(t===e?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(e=cn(-1,1),e.tag=2,qn(n,e,1))),n.lanes|=1),t)}var V0=hn.ReactCurrentOwner,nt=!1;function Qe(t,e,n,r){e.child=t===null?ym(e,null,n,r):ms(e,t.child,n,r)}function hf(t,e,n,r,s){n=n.render;var i=e.ref;return Xr(e,s),r=Lu(t,e,n,r,i,s),n=Ru(),t!==null&&!nt?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~s,pn(t,e,s)):(ge&&n&&Su(e),e.flags|=1,Qe(t,e,r,s),e.child)}function mf(t,e,n,r,s){if(t===null){var i=n.type;return typeof i=="function"&&!Hu(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(e.tag=15,e.type=i,Bm(t,e,i,r,s)):(t=No(n.type,null,r,e,e.mode,s),t.ref=e.ref,t.return=e,e.child=t)}if(i=t.child,!(t.lanes&s)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:mi,n(o,r)&&t.ref===e.ref)return pn(t,e,s)}return e.flags|=1,t=Vn(i,r),t.ref=e.ref,t.return=e,e.child=t}function Bm(t,e,n,r,s){if(t!==null){var i=t.memoizedProps;if(mi(i,r)&&t.ref===e.ref)if(nt=!1,e.pendingProps=r=i,(t.lanes&s)!==0)t.flags&131072&&(nt=!0);else return e.lanes=t.lanes,pn(t,e,s)}return hc(t,e,n,r,s)}function Vm(t,e,n){var r=e.pendingProps,s=r.children,i=t!==null?t.memoizedState:null;if(r.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},de(Wr,lt),lt|=n;else{if(!(n&1073741824))return t=i!==null?i.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,de(Wr,lt),lt|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,de(Wr,lt),lt|=r}else i!==null?(r=i.baseLanes|n,e.memoizedState=null):r=n,de(Wr,lt),lt|=r;return Qe(t,e,s,n),e.child}function Hm(t,e){var n=e.ref;(t===null&&n!==null||t!==null&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}
vendor: 5,244 bytes, line 41
41function hc(t,e,n,r,s){var i=st(n)?vr:Ge.current;return i=ps(e,i),Xr(e,s),n=Lu(t,e,n,r,i,s),r=Ru(),t!==null&&!nt?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~s,pn(t,e,s)):(ge&&r&&Su(e),e.flags|=1,Qe(t,e,n,s),e.child)}function gf(t,e,n,r,s){if(st(n)){var i=!0;Qo(e)}else i=!1;if(Xr(e,s),e.stateNode===null)Eo(t,e),Fm(e,n,r),fc(e,n,r,s),r=!0;else if(t===null){var o=e.stateNode,a=e.memoizedProps;o.props=a;var l=o.context,c=n.contextType;typeof c=="object"&&c!==null?c=kt(c):(c=st(n)?vr:Ge.current,c=ps(e,c));var f=n.getDerivedStateFromProps,u=typeof f=="function"||typeof o.getSnapshotBeforeUpdate=="function";u||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==c)&&uf(e,o,r,c),Pn=!1;var p=e.memoizedState;o.state=p,Zo(e,r,o,s),l=e.memoizedState,a!==r||p!==l||rt.current||Pn?(typeof f=="function"&&(dc(e,n,f,r),l=e.memoizedState),(a=Pn||cf(e,n,a,r,p,l,c))?(u||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=r,e.memoizedState=l),o.props=r,o.state=l,o.context=c,r=a):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),r=!1)}else{o=e.stateNode,wm(t,e),a=e.memoizedProps,c=e.type===e.elementType?a:At(e.type,a),o.props=c,u=e.pendingProps,p=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=kt(l):(l=st(n)?vr:Ge.current,l=ps(e,l));var y=n.getDerivedStateFromProps;(f=typeof y=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==u||p!==l)&&uf(e,o,r,l),Pn=!1,p=e.memoizedState,o.state=p,Zo(e,r,o,s);var v=e.memoizedState;a!==u||p!==v||rt.current||Pn?(typeof y=="function"&&(dc(e,n,y,r),v=e.memoizedState),(c=Pn||cf(e,n,c,r,p,v,l)||!1)?(f||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,v,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,v,l)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===t.memoizedProps&&p===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&p===t.memoizedState||(e.flags|=1024),e.memoizedProps=r,e.memoizedState=v),o.props=r,o.state=v,o.context=l,r=c):(typeof o.componentDidUpdate!="function"||a===t.memoizedProps&&p===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&p===t.memoizedState||(e.flags|=1024),r=!1)}return mc(t,e,n,r,i,s)}function mc(t,e,n,r,s,i){Hm(t,e);var o=(e.flags&128)!==0;if(!r&&!o)return s&&ef(e,n,!1),pn(t,e,i);r=e.stateNode,V0.current=e;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return e.flags|=1,t!==null&&o?(e.child=ms(e,t.child,null,i),e.child=ms(e,null,a,i)):Qe(t,e,a,i),e.memoizedState=r.state,s&&ef(e,n,!0),e.child}function Gm(t){var e=t.stateNode;e.pendingContext?Zd(t,e.pendingContext,e.pendingContext!==e.context):e.context&&Zd(t,e.context,!1),_u(t,e.containerInfo)}function yf(t,e,n,r,s){return hs(),Cu(s),e.flags|=256,Qe(t,e,n,r),e.child}var gc={dehydrated:null,treeContext:null,retryLane:0};function yc(t){return{baseLanes:t,cachePool:null,transitions:null}}function Wm(t,e,n){var r=e.pendingProps,s=ye.current,i=!1,o=(e.flags&128)!==0,a;if((a=o)||(a=t!==null&&t.memoizedState===null?!1:(s&2)!==0),a?(i=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(s|=1),de(ye,s&1),t===null)return cc(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(o=r.children,t=r.fallback,i?(r=e.mode,i=e.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=Aa(o,r,0,null),t=gr(t,r,n,null),i.return=e,t.return=e,i.sibling=t,e.child=i,e.child.memoizedState=yc(n),e.memoizedState=gc,t):$u(e,o));if(s=t.memoizedState,s!==null&&(a=s.dehydrated,a!==null))return H0(t,e,o,r,a,s,n);if(i){i=r.fallback,o=e.mode,s=t.child,a=s.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&e.child!==s?(r=e.child,r.childLanes=0,r.pendingProps=l,e.deletions=null):(r=Vn(s,l),r.subtreeFlags=s.subtreeFlags&14680064),a!==null?i=Vn(a,i):(i=gr(i,o,n,null),i.flags|=2),i.return=e,r.return=e,r.sibling=i,e.child=r,r=i,i=e.child,o=t.child.memoizedState,o=o===null?yc(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=t.childLanes&~n,e.memoizedState=gc,r}return i=t.child,t=i.sibling,r=Vn(i,{mode:"visible",children:r.children}),!(e.mode&1)&&(r.lanes=n),r.return=e,r.sibling=null,t!==null&&(n=e.deletions,n===null?(e.deletions=[t],e.flags|=16):n.push(t)),e.child=r,e.memoizedState=null,r}function $u(t,e){return e=Aa({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function ao(t,e,n,r){return r!==null&&Cu(r),ms(e,t.child,null,n),t=$u(e,e.pen
vendor: 7,108 bytes, line 41
41dingProps.children),t.flags|=2,e.memoizedState=null,t}function H0(t,e,n,r,s,i,o){if(n)return e.flags&256?(e.flags&=-257,r=ml(Error(T(422))),ao(t,e,o,r)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(i=r.fallback,s=e.mode,r=Aa({mode:"visible",children:r.children},s,0,null),i=gr(i,s,o,null),i.flags|=2,r.return=e,i.return=e,r.sibling=i,e.child=r,e.mode&1&&ms(e,t.child,null,o),e.child.memoizedState=yc(o),e.memoizedState=gc,i);if(!(e.mode&1))return ao(t,e,o,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(T(419)),r=ml(i,r,void 0),ao(t,e,o,r)}if(a=(o&t.childLanes)!==0,nt||a){if(r=Oe,r!==null){switch(o&-o){case 4:s=2;break;case 16:s=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|o)?0:s,s!==0&&s!==i.retryLane&&(i.retryLane=s,fn(t,s),It(r,t,s,-1))}return Vu(),r=ml(Error(T(421))),ao(t,e,o,r)}return s.data==="$?"?(e.flags|=128,e.child=t.child,e=sw.bind(null,t),s._reactRetry=e,null):(t=i.treeContext,ct=Fn(s.nextSibling),ut=e,ge=!0,Lt=null,t!==null&&(vt[wt++]=an,vt[wt++]=ln,vt[wt++]=wr,an=t.id,ln=t.overflow,wr=e),e=$u(e,r.children),e.flags|=4096,e)}function vf(t,e,n){t.lanes|=e;var r=t.alternate;r!==null&&(r.lanes|=e),uc(t.return,e,n)}function gl(t,e,n,r,s){var i=t.memoizedState;i===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(i.isBackwards=e,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=s)}function Qm(t,e,n){var r=e.pendingProps,s=r.revealOrder,i=r.tail;if(Qe(t,e,r.children,n),r=ye.current,r&2)r=r&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&vf(t,n,e);else if(t.tag===19)vf(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(de(ye,r),!(e.mode&1))e.memoizedState=null;else switch(s){case"forwards":for(n=e.child,s=null;n!==null;)t=n.alternate,t!==null&&ea(t)===null&&(s=n),n=n.sibling;n=s,n===null?(s=e.child,e.child=null):(s=n.sibling,n.sibling=null),gl(e,!1,s,n,i);break;case"backwards":for(n=null,s=e.child,e.child=null;s!==null;){if(t=s.alternate,t!==null&&ea(t)===null){e.child=s;break}t=s.sibling,s.sibling=n,n=s,s=t}gl(e,!0,n,null,i);break;case"together":gl(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Eo(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function pn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),br|=e.lanes,!(n&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(T(153));if(e.child!==null){for(t=e.child,n=Vn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=Vn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function G0(t,e,n){switch(e.tag){case 3:Gm(e),hs();break;case 5:xm(e);break;case 1:st(e.type)&&Qo(e);break;case 4:_u(e,e.stateNode.containerInfo);break;case 10:var r=e.type._context,s=e.memoizedProps.value;de(Yo,r._currentValue),r._currentValue=s;break;case 13:if(r=e.memoizedState,r!==null)return r.dehydrated!==null?(de(ye,ye.current&1),e.flags|=128,null):n&e.child.childLanes?Wm(t,e,n):(de(ye,ye.current&1),t=pn(t,e,n),t!==null?t.sibling:null);de(ye,ye.current&1);break;case 19:if(r=(n&e.childLanes)!==0,t.flags&128){if(r)return Qm(t,e,n);e.flags|=128}if(s=e.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),de(ye,ye.current),r)break;return null;case 22:case 23:return e.lanes=0,Vm(t,e,n)}return pn(t,e,n)}var Km,vc,Jm,Ym;Km=function(t,e){for(var n=e.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};vc=function(){};Jm=function(t,e,n,r){var s=t.memoizedProps;if(s!==r){t=e.stateNode,ar(Kt.current);var i=null;switch(n){case"input":s=Fl(t,s),r=Fl(t,r),i=[];break;case"select":s=we({},s,{value:void 0}),r=we({},r,{value:void 0}),i=[];break;case"textarea":s=Bl(t,s),r=Bl(t,r),i=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(t.onclick=Go)}Hl(n,r);var o;n=null;for(c in s)if(!r.hasOwnProperty(c)&&s.hasOwnProperty(c)&&s[c]!=null)if(c==="style"){var a=s[c];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(li.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var l=r[c];if(a=s!=null?s[c]:void 0,r.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(i||(i=[]),i.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(li.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&pe("scroll",t),i||a===l||(i=[])):(i=i||[]).push(c,l))}n&&(i=i||[]).push("style",n);var c=i;(e.updateQueue=c)&&(e.flags|=4)}};Ym=function(t,e,n,r){n!==r&&(e.flags|=4)};function Rs(t,e){if(!ge)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:r.sibling=null}}function Ue(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,r=0;if(e)for(var s=t.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=t,s=s.sibling;else for(s=t.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=t,s=s.sibling;return t.subtreeFlags|=r,t.childLanes=n,e}function W0(t,e,n){var r=e.pendingProps;switch(ku(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(e),null;case 1:return st(e.type)&&Wo(),Ue(e),null;case 3:return r=e.stateNode,gs(),he(rt),he(Ge),ju(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(t===null||t.child===null)&&(io(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,Lt!==null&&(Ec(Lt),Lt=null))),vc(t,e),Ue(e),null;case 5:Du(e);var s=ar(xi.current);if(n=e.type,t!==null&&e.stateNode!=null)Jm(t,e,n,r,s),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!r){if(e.stateNode===null)throw Error(T(166));return Ue(e),null}if(t=ar(Kt.current),io(e)){r=e.stateNode,n=e.type;var i=e.memoizedProps;
vendor: 33,008 bytes, line 41
41switch(r[Gt]=e,r[vi]=i,t=(e.mode&1)!==0,n){case"dialog":pe("cancel",r),pe("close",r);break;case"iframe":case"object":case"embed":pe("load",r);break;case"video":case"audio":for(s=0;s<Qs.length;s++)pe(Qs[s],r);break;case"source":pe("error",r);break;case"img":case"image":case"link":pe("error",r),pe("load",r);break;case"details":pe("toggle",r);break;case"input":Ed(r,i),pe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},pe("invalid",r);break;case"textarea":Ad(r,i),pe("invalid",r)}Hl(n,i),s=null;for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];o==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&so(r.textContent,a,t),s=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&so(r.textContent,a,t),s=["children",""+a]):li.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&pe("scroll",r)}switch(n){case"input":Ji(r),Td(r,i,!0);break;case"textarea":Ji(r),Nd(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Go)}r=s,e.updateQueue=r,r!==null&&(e.flags|=4)}else{o=s.nodeType===9?s:s.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=Ph(n)),t==="http://www.w3.org/1999/xhtml"?n==="script"?(t=o.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof r.is=="string"?t=o.createElement(n,{is:r.is}):(t=o.createElement(n),n==="select"&&(o=t,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):t=o.createElementNS(t,n),t[Gt]=e,t[vi]=r,Km(t,e,!1,!1),e.stateNode=t;e:{switch(o=Gl(n,r),n){case"dialog":pe("cancel",t),pe("close",t),s=r;break;case"iframe":case"object":case"embed":pe("load",t),s=r;break;case"video":case"audio":for(s=0;s<Qs.length;s++)pe(Qs[s],t);s=r;break;case"source":pe("error",t),s=r;break;case"img":case"image":case"link":pe("error",t),pe("load",t),s=r;break;case"details":pe("toggle",t),s=r;break;case"input":Ed(t,r),s=Fl(t,r),pe("invalid",t);break;case"option":s=r;break;case"select":t._wrapperState={wasMultiple:!!r.multiple},s=we({},r,{value:void 0}),pe("invalid",t);break;case"textarea":Ad(t,r),s=Bl(t,r),pe("invalid",t);break;default:s=r}Hl(n,s),a=s;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?Ah(t,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Eh(t,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&ci(t,l):typeof l=="number"&&ci(t,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(li.hasOwnProperty(i)?l!=null&&i==="onScroll"&&pe("scroll",t):l!=null&&lu(t,i,l,o))}switch(n){case"input":Ji(t),Td(t,r,!1);break;case"textarea":Ji(t),Nd(t);break;case"option":r.value!=null&&t.setAttribute("value",""+Wn(r.value));break;case"select":t.multiple=!!r.multiple,i=r.value,i!=null?Qr(t,!!r.multiple,i,!1):r.defaultValue!=null&&Qr(t,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(t.onclick=Go)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return Ue(e),null;case 6:if(t&&e.stateNode!=null)Ym(t,e,t.memoizedProps,r);else{if(typeof r!="string"&&e.stateNode===null)throw Error(T(166));if(n=ar(xi.current),ar(Kt.current),io(e)){if(r=e.stateNode,n=e.memoizedProps,r[Gt]=e,(i=r.nodeValue!==n)&&(t=ut,t!==null))switch(t.tag){case 3:so(r.nodeValue,n,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&so(r.nodeValue,n,(t.mode&1)!==0)}i&&(e.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Gt]=e,e.stateNode=r}return Ue(e),null;case 13:if(he(ye),r=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(ge&&ct!==null&&e.mode&1&&!(e.flags&128))mm(),hs(),e.flags|=98560,i=!1;else if(i=io(e),r!==null&&r.dehydrated!==null){if(t===null){if(!i)throw Error(T(318));if(i=e.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(T(317));i[Gt]=e}else hs(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;Ue(e),i=!1}else Lt!==null&&(Ec(Lt),Lt=null),i=!0;if(!i)return e.flags&65536?e:null}return e.flags&128?(e.lanes=n,e):(r=r!==null,r!==(t!==null&&t.memoizedState!==null)&&r&&(e.child.flags|=8192,e.mode&1&&(t===null||ye.current&1?Ae===0&&(Ae=3):Vu())),e.updateQueue!==null&&(e.flags|=4),Ue(e),null);case 4:return gs(),vc(t,e),t===null&&gi(e.stateNode.containerInfo),Ue(e),null;case 10:return Tu(e.type._context),Ue(e),null;case 17:return st(e.type)&&Wo(),Ue(e),null;case 19:if(he(ye),i=e.memoizedState,i===null)return Ue(e),null;if(r=(e.flags&128)!==0,o=i.rendering,o===null)if(r)Rs(i,!1);else{if(Ae!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(o=ea(t),o!==null){for(e.flags|=128,Rs(i,!1),r=o.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),e.subtreeFlags=0,r=n,n=e.child;n!==null;)i=n,t=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=t,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,t=o.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),n=n.sibling;return de(ye,ye.current&1|2),e.child}t=t.sibling}i.tail!==null&&ke()>vs&&(e.flags|=128,r=!0,Rs(i,!1),e.lanes=4194304)}else{if(!r)if(t=ea(o),t!==null){if(e.flags|=128,r=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),Rs(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!ge)return Ue(e),null}else 2*ke()-i.renderingStartTime>vs&&n!==1073741824&&(e.flags|=128,r=!0,Rs(i,!1),e.lanes=4194304);i.isBackwards?(o.sibling=e.child,e.child=o):(n=i.last,n!==null?n.sibling=o:e.child=o,i.last=o)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=ke(),e.sibling=null,n=ye.current,de(ye,r?n&1|2:n&1),e):(Ue(e),null);case 22:case 23:return Bu(),r=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?lt&1073741824&&(Ue(e),e.subtreeFlags&6&&(e.flags|=8192)):Ue(e),null;case 24:return null;case 25:return null}throw Error(T(156,e.tag))}function Q0(t,e){switch(ku(e),e.tag){case 1:return st(e.type)&&Wo(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return gs(),he(rt),he(Ge),ju(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return Du(e),null;case 13:if(he(ye),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(T(340));hs()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return he(ye),null;case 4:return gs(),null;case 10:return Tu(e.type._context),null;case 22:case 23:return Bu(),null;case 24:return null;default:return null}}var lo=!1,Ve=!1,K0=typeof WeakSet=="function"?WeakSet:Set,$=null;function Gr(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Se(t,e,r)}else n.current=null}function wc(t,e,n){try{n()}catch(r){Se(t,e,r)}}var wf=!1;function J0(t,e){if(nc=Bo,t=nm(),bu(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else e:{n=(n=t.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var s=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,c=0,f=0,u=t,p=null;t:for(;;){for(var y;u!==n||s!==0&&u.nodeType!==3||(a=o+s),u!==i||r!==0&&u.nodeType!==3||(l=o+r),u.nodeType===3&&(o+=u.nodeValue.length),(y=u.firstChild)!==null;)p=u,u=y;for(;;){if(u===t)break t;if(p===n&&++c===s&&(a=o),p===i&&++f===r&&(l=o),(y=u.nextSibling)!==null)break;u=p,p=u.parentNode}u=y}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(rc={focusedElem:t,selectionRange:n},Bo=!1,$=e;$!==null;)if(e=$,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,$=t;else for(;$!==null;){e=$;try{var v=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var w=v.memoizedProps,S=v.memoizedState,m=e.stateNode,h=m.getSnapshotBeforeUpdate(e.elementType===e.type?w:At(e.type,w),S);m.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var g=e.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(T(163))}}catch(b){Se(e,e.return,b)}if(t=e.sibling,t!==null){t.return=e.return,$=t;break}$=e.return}return v=wf,wf=!1,v}function ni(t,e,n){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&t)===t){var i=s.destroy;s.destroy=void 0,i!==void 0&&wc(e,n,i)}s=s.next}while(s!==r)}}function Ea(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function xc(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function Xm(t){var e=t.alternate;e!==null&&(t.alternate=null,Xm(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[Gt],delete e[vi],delete e[oc],delete e[j0],delete e[O0])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Zm(t){return t.tag===5||t.tag===3||t.tag===4}function xf(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Zm(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function bc(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=Go));else if(r!==4&&(t=t.child,t!==null))for(bc(t,e,n),t=t.sibling;t!==null;)bc(t,e,n),t=t.sibling}function Sc(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(r!==4&&(t=t.child,t!==null))for(Sc(t,e,n),t=t.sibling;t!==null;)Sc(t,e,n),t=t.sibling}var Me=null,jt=!1;function xn(t,e,n){for(n=n.child;n!==null;)eg(t,e,n),n=n.sibling}function eg(t,e,n){if(Qt&&typeof Qt.onCommitFiberUnmount=="function")try{Qt.onCommitFiberUnmount(va,n)}catch{}switch(n.tag){case 5:Ve||Gr(n,e);case 6:var r=Me,s=jt;Me=null,xn(t,e,n),Me=r,jt=s,Me!==null&&(jt?(t=Me,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):Me.removeChild(n.stateNode));break;case 18:Me!==null&&(jt?(t=Me,n=n.stateNode,t.nodeType===8?cl(t.parentNode,n):t.nodeType===1&&cl(t,n),pi(t)):cl(Me,n.stateNode));break;case 4:r=Me,s=jt,Me=n.stateNode.containerInfo,jt=!0,xn(t,e,n),Me=r,jt=s;break;case 0:case 11:case 14:case 15:if(!Ve&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var i=s,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&wc(n,e,o),s=s.next}while(s!==r)}xn(t,e,n);break;case 1:if(!Ve&&(Gr(n,e),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Se(n,e,a)}xn(t,e,n);break;case 21:xn(t,e,n);break;case 22:n.mode&1?(Ve=(r=Ve)||n.memoizedState!==null,xn(t,e,n),Ve=r):xn(t,e,n);break;default:xn(t,e,n)}}function bf(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new K0),e.forEach(function(r){var s=iw.bind(null,t,r);n.has(r)||(n.add(r),r.then(s,s))})}}function Tt(t,e){var n=e.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var i=t,o=e,a=o;e:for(;a!==null;){switch(a.tag){case 5:Me=a.stateNode,jt=!1;break e;case 3:Me=a.stateNode.containerInfo,jt=!0;break e;case 4:Me=a.stateNode.containerInfo,jt=!0;break e}a=a.return}if(Me===null)throw Error(T(160));eg(i,o,s),Me=null,jt=!1;var l=s.alternate;l!==null&&(l.return=null),s.return=null}catch(c){Se(s,e,c)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)tg(e,t),e=e.sibling}function tg(t,e){var n=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(Tt(e,t),zt(t),r&4){try{ni(3,t,t.return),Ea(3,t)}catch(w){Se(t,t.return,w)}try{ni(5,t,t.return)}catch(w){Se(t,t.return,w)}}break;case 1:Tt(e,t),zt(t),r&512&&n!==null&&Gr(n,n.return);break;case 5:if(Tt(e,t),zt(t),r&512&&n!==null&&Gr(n,n.return),t.flags&32){var s=t.stateNode;try{ci(s,"")}catch(w){Se(t,t.return,w)}}if(r&4&&(s=t.stateNode,s!=null)){var i=t.memoizedProps,o=n!==null?n.memoizedProps:i,a=t.type,l=t.updateQueue;if(t.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&kh(s,i),Gl(a,o);var c=Gl(a,i);for(o=0;o<l.length;o+=2){var f=l[o],u=l[o+1];f==="style"?Ah(s,u):f==="dangerouslySetInnerHTML"?Eh(s,u):f==="children"?ci(s,u):lu(s,f,u,c)}switch(a){case"input":ql(s,i);break;case"textarea":Ch(s,i);break;case"select":var p=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!i.multiple;var y=i.value;y!=null?Qr(s,!!i.multiple,y,!1):p!==!!i.multiple&&(i.defaultValue!=null?Qr(s,!!i.multiple,i.defaultValue,!0):Qr(s,!!i.multiple,i.multiple?[]:"",!1))}s[vi]=i}catch(w){Se(t,t.return,w)}}break;case 6:if(Tt(e,t),zt(t),r&4){if(t.stateNode===null)throw Error(T(162));s=t.stateNode,i=t.memoizedProps;try{s.nodeValue=i}catch(w){Se(t,t.return,w)}}break;case 3:if(Tt(e,t),zt(t),r&4&&n!==null&&n.memoizedState.isDehydrated)try{pi(e.containerInfo)}catch(w){Se(t,t.return,w)}break;case 4:Tt(e,t),zt(t);break;case 13:Tt(e,t),zt(t),s=t.child,s.flags&8192&&(i=s.memoizedState!==null,s.stateNode.isHidden=i,!i||s.alternate!==null&&s.alternate.memoizedState!==null||(qu=ke())),r&4&&bf(t);break;case 22:if(f=n!==null&&n.memoizedState!==null,t.mode&1?(Ve=(c=Ve)||f,Tt(e,t),Ve=c):Tt(e,t),zt(t),r&8192){if(c=t.memoizedState!==null,(t.stateNode.isHidden=c)&&!f&&t.mode&1)for($=t,f=t.child;f!==null;){for(u=$=f;$!==null;){switch(p=$,y=p.child,p.tag){case 0:case 11:case 14:case 15:ni(4,p,p.return);break;case 1:Gr(p,p.return);var v=p.stateNode;if(typeof v.componentWillUnmount=="function"){r=p,n=p.return;try{e=r,v.props=e.memoizedProps,v.state=e.memoizedState,v.componentWillUnmount()}catch(w){Se(r,n,w)}}break;case 5:Gr(p,p.return);break;case 22:if(p.memoizedState!==null){kf(u);continue}}y!==null?(y.return=p,$=y):kf(u)}f=f.sibling}e:for(f=null,u=t;;){if(u.tag===5){if(f===null){f=u;try{s=u.stateNode,c?(i=s.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=u.stateNode,l=u.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Th("display",o))}catch(w){Se(t,t.return,w)}}}else if(u.tag===6){if(f===null)try{u.stateNode.nodeValue=c?"":u.memoizedProps}catch(w){Se(t,t.return,w)}}else if((u.tag!==22&&u.tag!==23||u.memoizedState===null||u===t)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)break e;for(;u.sibling===null;){if(u.return===null||u.return===t)break e;f===u&&(f=null),u=u.return}f===u&&(f=null),u.sibling.return=u.return,u=u.sibling}}break;case 19:Tt(e,t),zt(t),r&4&&bf(t);break;case 21:break;default:Tt(e,t),zt(t)}}function zt(t){var e=t.flags;if(e&2){try{e:{for(var n=t.return;n!==null;){if(Zm(n)){var r=n;break e}n=n.return}throw Error(T(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(ci(s,""),r.flags&=-33);var i=xf(t);Sc(t,i,s);break;case 3:case 4:var o=r.stateNode.containerInfo,a=xf(t);bc(t,a,o);break;default:throw Error(T(161))}}catch(l){Se(t,t.return,l)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Y0(t,e,n){$=t,ng(t)}function ng(t,e,n){for(var r=(t.mode&1)!==0;$!==null;){var s=$,i=s.child;if(s.tag===22&&r){var o=s.memoizedState!==null||lo;if(!o){var a=s.alternate,l=a!==null&&a.memoizedState!==null||Ve;a=lo;var c=Ve;if(lo=o,(Ve=l)&&!c)for($=s;$!==null;)o=$,l=o.child,o.tag===22&&o.memoizedState!==null?Cf(s):l!==null?(l.return=o,$=l):Cf(s);for(;i!==null;)$=i,ng(i),i=i.sibling;$=s,lo=a,Ve=c}Sf(t)}else s.subtreeFlags&8772&&i!==null?(i.return=s,$=i):Sf(t)}}function Sf(t){for(;$!==null;){var e=$;if(e.flags&8772){var n=e.alternate;try{if(e.flags&8772)switch(e.tag){case 0:case 11:case 15:Ve||Ea(5,e);break;case 1:var r=e.stateNode;if(e.flags&4&&!Ve)if(n===null)r.componentDidMount();else{var s=e.elementType===e.type?n.memoizedProps:At(e.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=e.updateQueue;i!==null&&of(e,i,r);break;case 3:var o=e.updateQueue;if(o!==null){if(n=null,e.child!==null)switch(e.child.tag){case 5:n=e.child.stateNode;break;case 1:n=e.child.stateNode}of(e,o,n)}break;case 5:var a=e.stateNode;if(n===null&&e.flags&4){n=a;var l=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var c=e.alternate;if(c!==null){var f=c.memoizedState;if(f!==null){var u=f.dehydrated;u!==null&&pi(u)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(T(163))}Ve||e.flags&512&&xc(e)}catch(p){Se(e,e.return,p)}}if(e===t){$=null;break}if(n=e.sibling,n!==null){n.return=e.return,$=n;break}$=e.return}}function kf(t){for(;$!==null;){var e=$;if(e===t){$=null;break}var n=e.sibling;if(n!==null){n.return=e.return,$=n;break}$=e.return}}function Cf(t){for(;$!==null;){var e=$;try{switch(e.tag){case 0:case 11:case 15:var n=e.return;try{Ea(4,e)}catch(l){Se(e,n,l)}break;case 1:var r=e.stateNode;if(typeof r.componentDidMount=="function"){var s=e.return;try{r.componentDidMount()}catch(l){Se(e,s,l)}}var i=e.return;try{xc(e)}catch(l){Se(e,i,l)}break;case 5:var o=e.return;try{xc(e)}catch(l){Se(e,o,l)}}}catch(l){Se(e,e.return,l)}if(e===t){$=null;break}var a=e.sibling;if(a!==null){a.return=e.return,$=a;break}$=e.return}}var X0=Math.ceil,ra=hn.ReactCurrentDispatcher,zu=hn.ReactCurrentOwner,St=hn.ReactCurrentBatchConfig,ae=0,Oe=null,Pe=null,Ie=0,lt=0,Wr=Jn(0),Ae=0,Ci=null,br=0,Ta=0,Fu=0,ri=null,tt=null,qu=0,vs=1/0,rn=null,sa=!1,kc=null,Un=null,co=!1,Rn=null,ia=0,si=0,Cc=null,To=-1,Ao=0;function Je(){return ae&6?ke():To!==-1?To:To=ke()}function Bn(t){return t.mode&1?ae&2&&Ie!==0?Ie&-Ie:R0.transition!==null?(Ao===0&&(Ao=Fh()),Ao):(t=le,t!==0||(t=window.event,t=t===void 0?16:Wh(t.type)),t):1}function It(t,e,n,r){if(50<si)throw si=0,Cc=null,Error(T(185));Ri(t,n,r),(!(ae&2)||t!==Oe)&&(t===Oe&&(!(ae&2)&&(Ta|=n),Ae===4&&Tn(t,Ie)),it(t,r),n===1&&ae===0&&!(e.mode&1)&&(vs=ke()+500,ka&&Yn()))}function it(t,e){var n=t.callbackNode;Rv(t,e);var r=Uo(t,t===Oe?Ie:0);if(r===0)n!==null&&jd(n),t.callbackNode=null,t.callbackPriority=0;else if(e=r&-r,t.callbackPriority!==e){if(n!=null&&jd(n),e===1)t.tag===0?L0(Pf.bind(null,t)):fm(Pf.bind(null,t)),_0(function(){!(ae&6)&&Yn()}),n=null;else{switch(qh(r)){case 1:n=pu;break;case 4:n=$h;break;case 16:n=qo;break;case 536870912:n=zh;break;default:n=qo}n=ug(n,rg.bind(null,t))}t.callbackPriority=e,t.callbackNode=n}}function rg(t,e){if(To=-1,Ao=0,ae&6)throw Error(T(327));var n=t.callbackNode;if(Zr()&&t.callbackNode!==n)return null;var r=Uo(t,t===Oe?Ie:0);if(r===0)return null;if(r&30||r&t.expiredLanes||e)e=oa(t,r);else{e=r;var s=ae;ae|=2;var i=ig();(Oe!==t||Ie!==e)&&(rn=null,vs=ke()+500,mr(t,e));do try{tw();break}catch(a){sg(t,a)}while(!0);Eu(),ra.current=i,ae=s,Pe!==null?e=0:(Oe=null,Ie=0,e=Ae)}if(e!==0){if(e===2&&(s=Yl(t),s!==0&&(r=s,e=Pc(t,s))),e===1)throw n=Ci,mr(t,0),Tn(t,r),it(t,ke()),n;if(e===6)Tn(t,r);else{if(s=t.current.alternate,!(r&30)&&!Z0(s)&&(e=oa(t,r),e===2&&(i=Yl(t),i!==0&&(r=i,e=Pc(t,i))),e===1))throw n=Ci,mr(t,0),Tn(t,r),it(t,ke()),n;switch(t.finishedWork=s,t.finishedLanes=r,e){case 0:case 1:throw Error(T(345));case 2:sr(t,tt,rn);break;case 3:if(Tn(t,r),(r&130023424)===r&&(e=qu+500-ke(),10<e)){if(Uo(t,0)!==0)break;if(s=t.suspendedLanes,(s&r)!==r){Je(),t.pingedLanes|=t.suspendedLanes&s;break}t.timeoutHandle=ic(sr.bind(null,t,tt,rn),e);break}sr(t,tt,rn);break;case 4:if(Tn(t,r),(r&4194240)===r)break;for(e=t.eventTimes,s=-1;0<r;){var o=31-Mt(r);i=1<<o,o=e[o],o>s&&(s=o),r&=~i}if(r=s,r=ke()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*X0(r/1960))-r,10<r){t.timeoutHandle=ic(sr.bind(null,t,tt,rn),r);break}sr(t,tt,rn);break;case 5:sr(t,tt,rn);break;default:throw Error(T(329))}}}return it(t,ke()),t.callbackNode===n?rg.bind(null,t):null}function Pc(t,e){var n=ri;return t.current.memoizedState.isDehydrated&&(mr(t,e).flags|=256),t=oa(t,e),t!==2&&(e=tt,tt=n,e!==null&&Ec(e)),t}function Ec(t){tt===null?tt=t:tt.push.apply(tt,t)}function Z0(t){for(var e=t;;){if(e.flags&16384){var n=e.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var s=n[r],i=s.getSnapshot;s=s.value;try{if(!$t(i(),s))return!1}catch{return!1}}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Tn(t,e){for(e&=~Fu,e&=~Ta,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var n=31-Mt(e),r=1<<n;t[n]=-1,e&=~r}}function Pf(t){if(ae&6)throw Error(T(327));Zr();var e=Uo(t,0);if(!(e&1))return it(t,ke()),null;var n=oa(t,e);if(t.tag!==0&&n===2){var r=Yl(t);r!==0&&(e=r,n=Pc(t,r))}if(n===1)throw n=Ci,mr(t,0),Tn(t,e),it(t,ke()),n;if(n===6)throw Error(T(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,sr(t,tt,rn),it(t,ke()),null}function Uu(t,e){var n=ae;ae|=1;try{return t(e)}finally{ae=n,ae===0&&(vs=ke()+500,ka&&Yn())}}function Sr(t){Rn!==null&&Rn.tag===0&&!(ae&6)&&Zr();var e=ae;ae|=1;var n=St.transition,r=le;try{if(St.transition=null,le=1,t)return t()}finally{le=r,St.transition=n,ae=e,!(ae&6)&&Yn()}}function Bu(){lt=Wr.current,he(Wr)}function mr(t,e){t.finishedWork=null,t.finishedLanes=0;var n=t.timeoutHandle;if(n!==-1&&(t.timeoutHandle=-1,N0(n)),Pe!==null)for(n=Pe.return;n!==null;){var r=n;switch(ku(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Wo();break;case 3:gs(),he(rt),he(Ge),ju();break;case 5:Du(r);break;case 4:gs();break;case 13:he(ye);break;case 19:he(ye);break;case 10:Tu(r.type._context);break;case 22:case 23:Bu()}n=n.return}if(Oe=t,Pe=t=Vn(t.current,null),Ie=lt=e,Ae=0,Ci=null,Fu=Ta=br=0,tt=ri=null,or!==null){for(e=0;e<or.length;e++)if(n=or[e],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=s,r.next=o}n.pending=r}or=null}return t}function sg(t,e){do{var n=Pe;try{if(Eu(),Co.current=na,ta){for(var r=ve.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}ta=!1}if(xr=0,De=Te=ve=null,ti=!1,bi=0,zu.current=null,n===null||n.return===null){Ae=1,Ci=e,Pe=null;break}e:{var i=t,o=n.return,a=n,l=e;if(e=Ie,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,f=a,u=f.tag;if(!(f.mode&1)&&(u===0||u===11||u===15)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var y=ff(o);if(y!==null){y.flags&=-257,pf(y,o,a,i,e),y.mode&1&&df(i,c,e),e=y,l=c;var v=e.updateQueue;if(v===null){var w=new Set;w.add(l),e.updateQueue=w}else v.add(l);break e}else{if(!(e&1)){df(i,c,e),Vu();break e}l=Error(T(426))}}else if(ge&&a.mode&1){var S=ff(o);if(S!==null){!(S.flags&65536)&&(S.flags|=256),pf(S,o,a,i,e),Cu(ys(l,a));break e}}i=l=ys(l,a),Ae!==4&&(Ae=2),ri===null?ri=[i]:ri.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,e&=-e,i.lanes|=e;var m=qm(i,l,e);sf(i,m);break e;case 1:a=l;var h=i.type,g=i.stateNode;if(!(i.flags&128)&&(typeof h.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Un===null||!Un.has(g)))){i.flags|=65536,e&=-e,i.lanes|=e;var b=Um(i,a,e);sf(i,b);break e}}i=i.return}while(i!==null)}ag(n)}catch(C){e=C,Pe===n&&n!==null&&(Pe=n=n.return);continue}break}while(!0)}function ig(){var t=ra.current;return ra.current=na,t===null?na:t}function Vu(){(Ae===0||Ae===3||Ae===2)&&(Ae=4),Oe===null||!(br&268435455)&&!(Ta&268435455)||Tn(Oe,Ie)}function oa(t,e){var n=ae;ae|=2;var r=ig();(Oe!==t||Ie!==e)&&(rn=null,mr(t,e));do try{ew();break}catch(s){sg(t,s)}while(!0);if(Eu(),ae=n,ra.current=r,Pe!==null)throw Error(T(261));return Oe=null,Ie=0,Ae}function ew(){for(;Pe!==null;)og(Pe)}function tw(){for(;Pe!==null&&!Ev();)og(Pe)}function og(t){var e=cg(t.alternate,t,lt);t.memoizedProps=t.pendingProps,e===null?ag(t):Pe=e,zu.current=null}function ag(t){var e=t;do{var n=e.alternate;if(t=e.return,e.flags&32768){if(n=Q0(n,e),n!==null){n.flags&=32767,Pe=n;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{Ae=6,Pe=null;return}}else if(n=W0(n,e,lt),n!==null){Pe=n;return}if(e=e.sibling,e!==null){Pe=e;return}Pe=e=t}while(e!==null);Ae===0&&(Ae=5)}function sr(t,e,n){var r=le,s=St.transition;try{St.transition=null,le=1,nw(t,e,n,r)}finally{St.transition=s,le=r}return null}function nw(t,e,n,r){do Zr();while(Rn!==null);if(ae&6)throw Error(T(327));n=t.finishedWork;var s=t.finishedLanes;if(n===null)return null;if(t.finishedWork=null,t.finishedLanes=0,n===t.current)throw Error(T(177));t.callbackNode=null,t.callbackPriority=0;var i=n.lanes|n.childLanes;if(Mv(t,i),t===Oe&&(Pe=Oe=null,Ie=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||co||(co=!0,ug(qo,function(){return Zr(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=St.transition,St.transition=null;var o=le;le=1;var a=ae;ae|=4,zu.current=null,J0(t,n),tg(n,t),S0(rc),Bo=!!nc,rc=nc=null,t.current=n,Y0(n),Tv(),ae=a,le=o,St.transition=i}else t.current=n;if(co&&(co=!1,Rn=t,ia=s),i=t.pendingLanes,i===0&&(Un=null),_v(n.stateNode),it(t,ke()),e!==null)for(r=t.onRecoverableError,n=0;n<e.length;n++)s=e[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(sa)throw sa=!1,t=kc,kc=null,t;return ia&1&&t.tag!==0&&Zr(),i=t.pendingLanes,i&1?t===Cc?si++:(si=0,Cc=t):si=0,Yn(),null}function Zr(){if(Rn!==null){var t=qh(ia),e=St.transition,n=le;try{if(St.transition=null,le=16>t?16:t,Rn===null)var r=!1;else{if(t=Rn,Rn=null,ia=0,ae&6)throw Error(T(331));var s=ae;for(ae|=4,$=t.current;$!==null;){var i=$,o=i.child;if($.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for($=c;$!==null;){var f=$;switch(f.tag){case 0:case 11:case 15:ni(8,f,i)}var u=f.child;if(u!==null)u.return=f,$=u;else for(;$!==null;){f=$;var p=f.sibling,y=f.return;if(Xm(f),f===c){$=null;break}if(p!==null){p.return=y,$=p;break}$=y}}}var v=i.alternate;if(v!==null){var w=v.child;if(w!==null){v.child=null;do{var S=w.sibling;w.sibling=null,w=S}while(w!==null)}}$=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,$=o;else e:for(;$!==null;){if(i=$,i.flags&2048)switch(i.tag){case 0:case 11:case 15:ni(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,$=m;break e}$=i.return}}var h=t.current;for($=h;$!==null;){o=$;var g=o.child;if(o.subtreeFlags&2064&&g!==null)g.return=o,$=g;else e:for(o=h;$!==null;){if(a=$,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Ea(9,a)}}catch(C){Se(a,a.return,C)}if(a===o){$=null;break e}var b=a.sibling;if(b!==null){b.return=a.return,$=b;break e}$=a.return}}if(ae=s,Yn(),Qt&&typeof Qt.onPostCommitFiberRoot=="function")try{Qt.onPostCommitFiberRoot(va,t)}catch{}r=!0}return r}finally{le=n,St.transition=e}}return!1}function Ef(t,e,n){e=ys(n,e),e=qm(t,e,1),t=qn(t,e,1),e=Je(),t!==null&&(Ri(t,1,e),it(t,e))}function Se(t,e,n){if(t.tag===3)Ef(t,t,n);else for(;e!==null;){if(e.tag===3){Ef(e,t,n);break}else if(e.tag===1){var r=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Un===null||!Un.has(r))){t=ys(n,t),t=Um(e,t,1),e=qn(e,t,1),t=Je(),e!==null&&(Ri(e,1,t),it(e,t));break}}e=e.return}}function rw(t,e,n){var r=t.pingCache;r!==null&&r.delete(e),e=Je(),t.pingedLanes|=t.suspendedLanes&n,Oe===t&&(Ie&n)===n&&(Ae===4||Ae===3&&(Ie&130023424)===Ie&&500>ke()-qu?mr(t,0):Fu|=n),it(t,e)}function lg(t,e){e===0&&(t.mode&1?(e=Zi,Zi<<=1,!(Zi&130023424)&&(Zi=4194304)):e=1);var n=Je();t=fn(t,e),t!==null&&(Ri(t,e,n),it(t,n))}function sw(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),lg(t,n)}function iw(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,s=t.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(T(314))}r!==null&&r.delete(e),lg(t,n)}var cg;cg=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||rt.current)nt=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return nt=!1,G0(t,e,n);nt=!!(t.flags&131072)}else nt=!1,ge&&e.flags&1048576&&pm(e,Jo,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;Eo(t,e),t=e.pendingProps;var s=ps(e,Ge.current);Xr(e,n),s=Lu(null,e,r,t,s,n);var i=Ru();return e.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,st(r)?(i=!0,Qo(e)):i=!1,e.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Nu(e),s.updater=Pa,e.stateNode=s,s._reactInternals=e,fc(e,r,t,n),e=mc(null,e,r,!0,i,n)):(e.tag=0,ge&&i&&Su(e),Qe(null,e,s,n),e=e.child),e;case 16:r=e.elementType;e:{switch(Eo(t,e),t=e.pendingProps,s=r._init,r=s(r._payload),e.type=r,s=e.tag=aw(r),t=At(r,t),s){case 0:e=hc(null,e,r,t,n);break e;case 1:e=gf(null,e,r,t,n);break e;case 11:e=hf(null,e,r,t,n);break e;case 14:e=mf(null,e,r,At(r.type,t),n);break e}throw Error(T(306,r,""))}return e;case 0:return r=e.type,s=e.pendingProps,s=e.elementType===r?s:At(r,s),hc(t,e,r,s,n);case 1:return r=e.type,s=e.pendingProps,s=e.elementType===r?s:At(r,s),gf(t,e,r,s,n);case 3:e:{if(Gm(e),t===null)throw Error(T(387));r=e.pendingProps,i=e.memoizedState,s=i.element,wm(t,e),Zo(e,r,null,n);var o=e.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},e.updateQueue.baseState=i,e.memoizedState=i,e.flags&256){s=ys(Error(T(423)),e),e=yf(t,e,r,n,s);break e}else if(r!==s){s=ys(Error(T(424)),e),e=yf(t,e,r,n,s);break e}else for(ct=Fn(e.stateNode.containerInfo.firstChild),ut=e,ge=!0,Lt=null,n=ym(e,null,r,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(hs(),r===s){e=pn(t,e,n);break e}Qe(t,e,r,n)}e=e.child}return e;case 5:return xm(e),t===null&&cc(e),r=e.type,s=e.pendingProps,i=t!==null?t.memoizedProps:null,o=s.children,sc(r,s)?o=null:i!==null&&sc(r,i)&&(e.flags|=32),Hm(t,e),Qe(t,e,o,n),e.child;case 6:return t===null&&cc(e),null;case 13:return Wm(t,e,n);case 4:return _u(e,e.stateNode.containerInfo),r=e.pendingProps,t===null?e.child=ms(e,null,r,n):Qe(t,e,r,n),e.child;case 11:return r=e.type,s=e.pendingProps,s=e.elementType===r?s:At(r,s),hf(t,e,r,s,n);case 7:return Qe(t,e,e.pendingProps,n),e.child;case 8:return Qe(t,e,e.pendingProps.children,n),e.child;case 12:return Qe(t,e,e.pendingProps.children,n),e.child;case 10:e:{if(r=e.type._context,s=e.pendingProps,i=e.memoizedProps,o=s.value,de(Yo,r._currentValue),r._currentValue=o,i!==null)if($t(i.value,o)){if(i.children===s.children&&!rt.current){e=pn(t,e,n);break e}}else for(i=e.child,i!==null&&(i.return=e);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=cn(-1,n&-n),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var f=c.pending;f===null?l.next=l:(l.next=f.next,f.next=l),c.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),uc(i.return,n,e),a.lanes|=n;break}l=l.next}}else if(i.tag===10)o=i.type===e.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(T(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),uc(o,n,e),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}Qe(t,e,s.children,n),e=e.child}return e;case 9:return s=e.type,r=e.pendingProps.children,Xr(e,n),s=kt(s),r=r(s),e.flags|=1,Qe(t,e,r,n),e.child;case 14:return r=e.type,s=At(r,e.pendingProps),s=At(r.type,s),mf(t,e,r,s,n);case 15:return Bm(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,s=e.pendingProps,s=e.elementType===r?s:At(r,s),Eo(t,e),e.tag=1,st(r)?(t=!0,Qo(e)):t=!1,Xr(e,n),Fm(e,r,s),fc(e,r,s,n),mc(null,e,r,!0,t,n);case 19:return Qm(t,e,n);case 22:return Vm(t,e,n)}throw Error(T(156,e.tag))};function ug(t,e){return Ih(t,e)}function ow(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bt(t,e,n,r){return new ow(t,e,n,r)}function Hu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function aw(t){if(typeof t=="function")return Hu(t)?1:0;if(t!=null){if(t=t.$$typeof,t===uu)return 11;if(t===du)return 14}return 2}function Vn(t,e){var n=t.alternate;return n===null?(n=bt(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deleti
vendor: 6,825 bytes, line 41
41ons=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function No(t,e,n,r,s,i){var o=2;if(r=t,typeof t=="function")Hu(t)&&(o=1);else if(typeof t=="string")o=5;else e:switch(t){case Ir:return gr(n.children,s,i,e);case cu:o=8,s|=8;break;case Ml:return t=bt(12,n,e,s|2),t.elementType=Ml,t.lanes=i,t;case Il:return t=bt(13,n,e,s),t.elementType=Il,t.lanes=i,t;case $l:return t=bt(19,n,e,s),t.elementType=$l,t.lanes=i,t;case xh:return Aa(n,s,i,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case vh:o=10;break e;case wh:o=9;break e;case uu:o=11;break e;case du:o=14;break e;case Cn:o=16,r=null;break e}throw Error(T(130,t==null?t:typeof t,""))}return e=bt(o,n,e,s),e.elementType=t,e.type=r,e.lanes=i,e}function gr(t,e,n,r){return t=bt(7,t,r,e),t.lanes=n,t}function Aa(t,e,n,r){return t=bt(22,t,r,e),t.elementType=xh,t.lanes=n,t.stateNode={isHidden:!1},t}function yl(t,e,n){return t=bt(6,t,null,e),t.lanes=n,t}function vl(t,e,n){return e=bt(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function lw(t,e,n,r,s){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Xa(0),this.expirationTimes=Xa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xa(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function Gu(t,e,n,r,s,i,o,a,l){return t=new lw(t,e,n,a,l),e===1?(e=1,i===!0&&(e|=8)):e=0,i=bt(3,null,null,e),t.current=i,i.stateNode=t,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Nu(i),t}function cw(t,e,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Mr,key:r==null?null:""+r,children:t,containerInfo:e,implementation:n}}function dg(t){if(!t)return Qn;t=t._reactInternals;e:{if(Pr(t)!==t||t.tag!==1)throw Error(T(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(st(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(T(171))}if(t.tag===1){var n=t.type;if(st(n))return dm(t,n,e)}return e}function fg(t,e,n,r,s,i,o,a,l){return t=Gu(n,r,!0,t,s,i,o,a,l),t.context=dg(null),n=t.current,r=Je(),s=Bn(n),i=cn(r,s),i.callback=e??null,qn(n,i,s),t.current.lanes=s,Ri(t,s,r),it(t,r),t}function Na(t,e,n,r){var s=e.current,i=Je(),o=Bn(s);return n=dg(n),e.context===null?e.context=n:e.pendingContext=n,e=cn(i,o),e.payload={element:t},r=r===void 0?null:r,r!==null&&(e.callback=r),t=qn(s,e,o),t!==null&&(It(t,s,o,i),ko(t,s,o)),o}function aa(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function Tf(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function Wu(t,e){Tf(t,e),(t=t.alternate)&&Tf(t,e)}function uw(){return null}var pg=typeof reportError=="function"?reportError:function(t){console.error(t)};function Qu(t){this._internalRoot=t}_a.prototype.render=Qu.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(T(409));Na(t,e,null,null)};_a.prototype.unmount=Qu.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Sr(function(){Na(null,t,null,null)}),e[dn]=null}};function _a(t){this._internalRoot=t}_a.prototype.unstable_scheduleHydration=function(t){if(t){var e=Vh();t={blockedOn:null,target:t,priority:e};for(var n=0;n<En.length&&e!==0&&e<En[n].priority;n++);En.splice(n,0,t),n===0&&Gh(t)}};function Ku(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Da(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function Af(){}function dw(t,e,n,r,s){if(s){if(typeof r=="function"){var i=r;r=function(){var c=aa(o);i.call(c)}}var o=fg(e,r,t,0,null,!1,!1,"",Af);return t._reactRootContainer=o,t[dn]=o.current,gi(t.nodeType===8?t.parentNode:t),Sr(),o}for(;s=t.lastChild;)t.removeChild(s);if(typeof r=="function"){var a=r;r=function(){var c=aa(l);a.call(c)}}var l=Gu(t,0,!1,null,null,!1,!1,"",Af);return t._reactRootContainer=l,t[dn]=l.current,gi(t.nodeType===8?t.parentNode:t),Sr(function(){Na(e,l,n,r)}),l}function ja(t,e,n,r,s){var i=n._reactRootContainer;if(i){var o=i;if(typeof s=="function"){var a=s;s=function(){var l=aa(o);a.call(l)}}Na(e,o,t,s)}else o=dw(n,e,t,s,r);return aa(o)}Uh=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var n=Ws(e.pendingLanes);n!==0&&(hu(e,n|1),it(e,ke()),!(ae&6)&&(vs=ke()+500,Yn()))}break;case 13:Sr(function(){var r=fn(t,1);if(r!==null){var s=Je();It(r,t,1,s)}}),Wu(t,1)}};mu=function(t){if(t.tag===13){var e=fn(t,134217728);if(e!==null){var n=Je();It(e,t,134217728,n)}Wu(t,134217728)}};Bh=function(t){if(t.tag===13){var e=Bn(t),n=fn(t,e);if(n!==null){var r=Je();It(n,t,e,r)}Wu(t,e)}};Vh=function(){return le};Hh=function(t,e){var n=le;try{return le=t,e()}finally{le=n}};Ql=function(t,e,n){switch(e){case"input":if(ql(t,n),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<n.length;e++){var r=n[e];if(r!==t&&r.form===t.form){var s=Sa(r);if(!s)throw Error(T(90));Sh(r),ql(r,s)}}}break;case"textarea":Ch(t,n);break;case"select":e=n.value,e!=null&&Qr(t,!!n.multiple,e,!1)}};Dh=Uu;jh=Sr;var fw={usingClientEntryPoint:!1,Events:[Ii,qr,Sa,Nh,_h,Uu]},Ms={findFiberByHostInstance:ir,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},pw={bundleType:Ms.bundleType,version:Ms.version,rendererPackageName:Ms.rendererPackageName,rendererConfig:Ms.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:hn.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Rh(t),t===null?null:t.stateNode},findFiberByHostInstance:Ms.findFiberByHostInstance||uw,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
41if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var uo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!uo.isDisabled&&uo.supportsFiber)try{va=uo.inject(pw),Qt=uo}catch{}}ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fw;ft.createPortal=function(t,e){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ku(e))throw Error(T(200));return cw(t,e,null,n)};ft.createRoot=function(t,e){if(!Ku(t))throw Error(T(299));var n=!1,r="",s=pg;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(r=e.identifierPrefix),e.onRecoverableError!==void 0&&(s=e.onRecoverableError)),e=Gu(t,1,!1,null,null,n,!1,r,s),t[dn]=e.current,gi(t.nodeType===8?t.parentNode:t),new Qu(e)};ft.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(T(188)):(t=Object.keys(t).join(","),Error(T(268,t)));return t=Rh(e),t=t===null?null:t.stateNode,t};ft.flushSync=function(t){return Sr(t)};ft.hydrate=function(t,e,n){if(!Da(e))throw Error(T(200));return ja(null,t,e,!0,n)};ft.hydrateRoot=function(t,e,n){if(!Ku(t))throw Error(T(405));var r=n!=null&&n.hydratedSources||null,s=!1,i="",o=pg;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),e=fg(e,null,t,1,n??null,s,!1,i,o),t[dn]=e.current,gi(t),r)for(t=0;t<r.length;t++)n=r[t],s=n._getVersion,s=s(n._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[n,s]:e.mutableSourceEagerHydrationData.push(n,s);return new _a(e)};ft.render=function(t,e,n){if(!Da(e))throw Error(T(200));return ja(null,t,e,!1,n)};ft.unmountComponentAtNode=function(t){if(!Da(t))throw Error(T(40));return t._reactRootContainer?(Sr(function(){ja(null,null,t,!1,function(){t._reactRootContainer=null,t[dn]=null})}),!0):!1};ft.unstable_batchedUpdates=Uu;ft.unstable_renderSubtreeIntoContainer=function(t,e,n,r){if(!Da(n))throw Error(T(200));if(t==null||t._reactInternals===void 0)throw Error(T(38));return ja(t,e,n,!1,r)};ft.version="18.3.1-next-f1338f8080-20240426";function hg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(hg)}catch(t){console.error(t)}}hg(),hh.exports=ft;var mg=hh.exports;const hw=xs(mg);var gg,Nf=mg;gg=Nf.createRoot,Nf.hydrateRoot;const mw="modulepreload",gw=function(t){return"/"+t},_f={},G=function(e,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=Promise.allSettled(n.map(l=>{if(l=gw(l),l in _f)return;_f[l]=!0;const c=l.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${f}`))return;const u=document.createElement("link");if(u.rel=c?"stylesheet":mw,c||(u.as="script"),u.crossOrigin="",u.href=l,a&&u.setAttribute("nonce",a),document.head.appendChild(u),c)return new Promise((p,y)=>{u.addEventListener("load",p),u.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return s.then(o=>{for(const a of o||[])a.status==="rejected"&&i(a.reason);return e().catch(i)})};/** 42 * @remix-run/router v1.23.1 43 * 44 * Copyright (c) Remix Software Inc. 45 * 46 * This source code is licensed under the MIT license found in the 47 * LICENSE.md file in the root directory of this source tree. 48 * 49 * @license MIT 50 */function Pi(){return Pi=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Pi.apply(this,arguments)}var Mn;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(Mn||(Mn={}));const Df="popstate";function yw(t){t===void 0&&(t={});function e(r,s){let{pathname:i,search:o,hash:a}=r.location;return Tc("",{pathname:i,search:o,hash:a},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:la(s)}return ww(e,n,null,t)}function Ce(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function Ju(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function vw(){return Math.random().toString(36).substr(2,8)}function jf(t,e){return{usr:t.state,key:t.key,idx:e}}function Tc(t,e,n,r){return n===void 0&&(n=null),Pi({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?Cs(e):e,{state:n,key:e&&e.key||r||vw()})}function la(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Cs(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function ww(t,e,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:i=!1}=r,o=s.history,a=Mn.Pop,l=null,c=f();c==null&&(c=0,o.replaceState(Pi({},o.state,{idx:c}),""));function f(){return(o.state||{idx:null}).idx}function u(){a=Mn.Pop;let S=f(),m=S==null?null:S-c;c=S,l&&l({action:a,location:w.location,delta:m})}function p(S,m){a=Mn.Push;let h=Tc(w.location,S,m);c=f()+1;let g=jf(h,c),b=w.createHref(h);try{o.pushState(g,"",b)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;s.location.assign(b)}i&&l&&l({action:a,location:w.location,delta:1})}function y(S,m){a=Mn.Replace;let h=Tc(w.location,S,m);c=f();let g=jf(h,c),b=w.createHref(h);o.replaceState(g,"",b),i&&l&&l({action:a,location:w.location,delta:0})}function v(S){let m=s.location.origin!=="null"?s.location.origin:s.location.href,h=typeof S=="string"?S:la(S);return h=h.replace(/ $/,"%20"),Ce(m,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,m)}let w={get action(){return a},get location(){return t(s,o)},listen(S){if(l)throw new Error("A history only accepts one active listener");
vendor: 9,835 bytes, lines 50-59
50return s.addEventListener(Df,u),l=S,()=>{s.removeEventListener(Df,u),l=null}},createHref(S){return e(s,S)},createURL:v,encodeLocation(S){let m=v(S);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:p,replace:y,go(S){return o.go(S)}};return w}var Of;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Of||(Of={}));function xw(t,e,n){return n===void 0&&(n="/"),bw(t,e,n)}function bw(t,e,n,r){let s=typeof e=="string"?Cs(e):e,i=Yu(s.pathname||"/",n);if(i==null)return null;let o=yg(t);Sw(o);let a=null;for(let l=0;a==null&&l<o.length;++l){let c=Lw(i);a=Dw(o[l],c)}return a}function yg(t,e,n,r){e===void 0&&(e=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(i,o,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};l.relativePath.startsWith("/")&&(Ce(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=Hn([r,l.relativePath]),f=n.concat(l);i.children&&i.children.length>0&&(Ce(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),yg(i.children,e,f,c)),!(i.path==null&&!i.index)&&e.push({path:c,score:Nw(c,i.index),routesMeta:f})};return t.forEach((i,o)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))s(i,o);else for(let l of vg(i.path))s(i,o,l)}),e}function vg(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,s=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return s?[i,""]:[i];let o=vg(r.join("/")),a=[];return a.push(...o.map(l=>l===""?i:[i,l].join("/"))),s&&a.push(...o),a.map(l=>t.startsWith("/")&&l===""?"/":l)}function Sw(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:_w(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const kw=/^:[\w-]+$/,Cw=3,Pw=2,Ew=1,Tw=10,Aw=-2,Lf=t=>t==="*";function Nw(t,e){let n=t.split("/"),r=n.length;return n.some(Lf)&&(r+=Aw),e&&(r+=Pw),n.filter(s=>!Lf(s)).reduce((s,i)=>s+(kw.test(i)?Cw:i===""?Ew:Tw),r)}function _w(t,e){return t.length===e.length&&t.slice(0,-1).every((r,s)=>r===e[s])?t[t.length-1]-e[e.length-1]:0}function Dw(t,e,n){let{routesMeta:r}=t,s={},i="/",o=[];for(let a=0;a<r.length;++a){let l=r[a],c=a===r.length-1,f=i==="/"?e:e.slice(i.length)||"/",u=jw({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},f),p=l.route;if(!u)return null;Object.assign(s,u.params),o.push({params:s,pathname:Hn([i,u.pathname]),pathnameBase:zw(Hn([i,u.pathnameBase])),route:p}),u.pathnameBase!=="/"&&(i=Hn([i,u.pathnameBase]))}return o}function jw(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,r]=Ow(t.path,t.caseSensitive,t.end),s=e.match(n);if(!s)return null;let i=s[0],o=i.replace(/(.)\/+$/,"$1"),a=s.slice(1);return{params:r.reduce((c,f,u)=>{let{paramName:p,isOptional:y}=f;if(p==="*"){let w=a[u]||"";o=i.slice(0,i.length-w.length).replace(/(.)\/+$/,"$1")}const v=a[u];return y&&!v?c[p]=void 0:c[p]=(v||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:o,pattern:t}}function Ow(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),Ju(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let r=[],s="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(r.push({paramName:"*"}),s+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":t!==""&&t!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,e?void 0:"i"),r]}function Lw(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Ju(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function Yu(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}const Rw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Mw=t=>Rw.test(t);function Iw(t,e){e===void 0&&(e="/");let{pathname:n,search:r="",hash:s=""}=typeof t=="string"?Cs(t):t,i;if(n)if(Mw(n))i=n;else{if(n.includes("//")){let o=n;n=n.replace(/\/\/+/g,"/"),Ju(!1,"Pathnames cannot have embedded double slashes - normalizing "+(o+" -> "+n))}n.startsWith("/")?i=Rf(n.substring(1),"/"):i=Rf(n,e)}else i=e;return{pathname:i,search:Fw(r),hash:qw(s)}}function Rf(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function wl(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function $w(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Xu(t,e){let n=$w(t);return e?n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Zu(t,e,n,r){r===void 0&&(r=!1);let s;typeof t=="string"?s=Cs(t):(s=Pi({},t),Ce(!s.pathname||!s.pathname.includes("?"),wl("?","pathname","search",s)),Ce(!s.pathname||!s.pathname.includes("#"),wl("#","pathname","hash",s)),Ce(!s.search||!s.search.includes("#"),wl("#","search","hash",s)));let i=t===""||s.pathname==="",o=i?"/":s.pathname,a;if(o==null)a=n;else{let u=e.length-1;if(!r&&o.startsWith("..")){let p=o.split("/");for(;p[0]==="..";)p.shift(),u-=1;s.pathname=p.join("/")}a=u>=0?e[u]:"/"}let l=Iw(s,a),c=o&&o!=="/"&&o.endsWith("/"),f=(i||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||f)&&(l.pathname+="/"),l}const Hn=t=>t.join("/").replace(/\/\/+/g,"/"),zw=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Fw=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,qw=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function Uw(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const wg=["post","put","patch","delete"];new Set(wg);const Bw=["get",...wg];new Set(Bw);/** 51 * React Router v6.30.2 52 * 53 * Copyright (c) Remix Software Inc. 54 * 55 * This source code is licensed under the MIT license found in the 56 * LICENSE.md file in the root directory of this source tree. 57 * 58 * @license MIT 59 */function Ei(){return Ei=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ei.apply(this,arguments)}const ed=x.createContext(null),Vw=x.createContext(null),Xn=x.createContext(null),Oa=x.createContext(null),Xt=x.createContext({outlet:null,matches:[],isDataRoute:!1}),xg=x.createContext(null);function Hw(t,e){let{relative:n}=e===void 0?{}:e;Ps()||Ce(!1);let{basename:r,navigator:s}=x.useContext(Xn),{hash:i,pathname:o,search:a}=Sg(t,{relative:n}),l=o;return r!=="/"&&(l=o==="/"?r:Hn([r,o])),s.createHref({pathname:l,search:a,hash:i})}function Ps(){return x.useContext(Oa)!=null}function Zt(){return Ps()||Ce(!1),x.useContext(Oa).location}function bg(t){x.useContext(Xn).static||x.useLayoutEffect(t)}function zi(){let{isDataRoute:t}=x.useContext(Xt);return t?ox():Gw()}function Gw(){Ps()||Ce(!1);let t=x.useContext(ed),{basename:e,future:n,navigator:r}=x.useContext(Xn),{matches:s}=x.useContext(Xt),{pathname:i}=Zt(),o=JSON.stringify(Xu(s,n.v7_relativeSplatPath)),a=x.useRef(!1);return bg(()=>{a.current=!0}),x.useCallback(function(c,f){if(f===void 0&&(f={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let u=Zu(c,JSON.parse(o),i,f.relative==="path");t==null&&e!=="/"&&(u.pathname=u.pathname==="/"?e:Hn([e,u.pathname])),(f.replace?r.replace:r.push)(u,f.state,f)},[e,r,o,i,t])}const Ww=x.createContext(null);function Qw(t){let e=x.useContext(Xt).outlet;return e&&x.createElement(Ww.Provider,{value:t},e)}function Fi(){let{matches:t}=x.useContext(Xt),e=t[t.length-1];return e?e.params:{}}function Sg(t,e){let{relative:n}=e===void 0?{}:e,{future:r}=x.useContext(Xn),{matches:s}=x.useContext(Xt),{pathname:i}=Zt(),o=JSON.stringify(Xu(s,r.v7_relativeSplatPath));return x.useMemo(()=>Zu(t,JSON.parse(o),i,n==="path"),[t,o,i,n])}function Kw(t,e){return Jw(t,e)}function Jw(t,e,n,r){Ps()||Ce(!1);let{navigator:s}=x.useContext(Xn),{matches:i}=x.useContext(Xt),o=i[i.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let c=Zt(),f;if(e){var u;let S=typeof e=="string"?Cs(e):e;l==="/"||(u=S.pathname)!=null&&u.startsWith(l)||Ce(!1),f=S}else f=c;let p=f.pathname||"/",y=p;if(l!=="/"){let S=l.replace(/^\//,"").split("/");y="/"+p.replace(/^\//,"").split("/").slice(S.length).join("/")}let v=xw(t,{pathname:y}),w=tx(v&&v.map(S=>Object.assign({},S,{params:Object.assign({},a,S.params),pathname:Hn([l,s.encodeLocation?s.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?l:Hn([l,s.encodeLocation?s.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),i,n,r);return e&&w?x.createElement(Oa.Provider,{value:{location:Ei({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:Mn.Pop}},w):w}function Yw(){let t=ix(),e=Uw(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application
59Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},e),n?x.createElement("pre",{style:s},n):null,null)}const Xw=x.createElement(Yw,null);class Zw extends x.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?x.createElement(Xt.Provider,{value:this.props.routeContext},x.createElement(xg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ex(t){let{routeContext:e,match:n,children:r}=t,s=x.useContext(ed);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(Xt.Provider,{value:e},r)}function tx(t,e,n,r){var s;if(e===void 0&&(e=[]),n===void 0&&(n=null),r===void 0&&(r=null),t==null){var i;if(!n)return null;if(n.errors)t=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let o=t,a=(s=n)==null?void 0:s.errors;if(a!=null){let f=o.findIndex(u=>u.route.id&&(a==null?void 0:a[u.route.id])!==void 0);f>=0||Ce(!1),o=o.slice(0,Math.min(o.length,f+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f<o.length;f++){let u=o[f];if((u.route.HydrateFallback||u.route.hydrateFallbackElement)&&(c=f),u.route.id){let{loaderData:p,errors:y}=n,v=u.route.loader&&p[u.route.id]===void 0&&(!y||y[u.route.id]===void 0);if(u.route.lazy||v){l=!0,c>=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((f,u,p)=>{let y,v=!1,w=null,S=null;n&&(y=a&&u.route.id?a[u.route.id]:void 0,w=u.route.errorElement||Xw,l&&(c<0&&p===0?(ax("route-fallback"),v=!0,S=null):c===p&&(v=!0,S=u.route.hydrateFallbackElement||null)));let m=e.concat(o.slice(0,p+1)),h=()=>{let g;return y?g=w:v?g=S:u.route.Component?g=x.createElement(u.route.Component,null):u.route.element?g=u.route.element:g=f,x.createElement(ex,{match:u,routeContext:{outlet:f,matches:m,isDataRoute:n!=null},children:g})};return n&&(u.route.ErrorBoundary||u.route.errorElement||p===0)?x.createElement(Zw,{location:n.location,revalidation:n.revalidation,component:w,error:y,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):h()},null)}var kg=function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t}(kg||{}),Cg=function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t}(Cg||{});function nx(t){let e=x.useContext(ed);return e||Ce(!1),e}function rx(t){let e=x.useContext(Vw);return e||Ce(!1),e}function sx(t){let e=x.useContext(Xt);return e||Ce(!1),e}function Pg(t){let e=sx(),n=e.matches[e.matches.length-1];return n.route.id||Ce(!1),n.route.id}function ix(){var t;let e=x.useContext(xg),n=rx(),r=Pg();return e!==void 0?e:(t=n.errors)==null?void 0:t[r]}function ox(){let{router:t}=nx(kg.UseNavigateStable),e=Pg(Cg.UseNavigateStable),n=x.useRef(!1);return bg(()=>{n.current=!0}),x.useCallback(function(s,i){i===void 0&&(i={}),n.current&&(typeof s=="number"?t.navigate(s):t.navigate(s,Ei({fromRouteId:e},i)))},[t,e])}const Mf={};function ax(t,e,n){Mf[t]||(Mf[t]=!0)}function lx(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function me(t){let{to:e,replace:n,state:r,relative:s}=t;Ps()||Ce(!1);let{future:i,static:o}=x.useContext(Xn),{matches:a}=x.useContext(Xt),{pathname:l}=Zt(),c=zi(),f=Zu(e,Xu(a,i.v7_relativeSplatPath),l,s==="path"),u=JSON.stringify(f);return x.useEffect(()=>c(JSON.parse(u),{replace:n,state:r,relative:s}),[c,u,s,n,r]),null}function Eg(t){return Qw(t.context)}function L(t){Ce(!1)}function cx(t){let{basename:e="/",children:n=null,location:r,navigationType:s=Mn.Pop,navigator:i,static:o=!1,future:a}=t;Ps()&&Ce(!1);let l=e.replace(/^\/*/,"/"),c=x.useMemo(()=>({basename:l,navigator:i,static:o,future:Ei({v7_relativeSplatPath:!1},a)}),[l,a,i,o]);typeof r=="string"&&(r=Cs(r));let{pathname:f="/",search:u="",hash:p="",state:y=null,key:v="default"}=r,w=x.useMemo(()=>{let S=Yu(f,l);return S==null?null:{location:{pathname:S,search:u,hash:p,state:y,key:v},navigationType:s}},[l,f,u,p,y,v,s]);return w==null?null:x.createElement(Xn.Provider,{value:c},x.createElement(Oa.Provider,{children:n,value:w}))}function ux(t){let{children:e,location:n}=t;return Kw(Ac(e),n)}new Promise(()=>{});function Ac(t,e){e===void 0&&(e=[]);let n=[];
59return x.Children.forEach(t,(r,s)=>{if(!x.isValidElement(r))return;let i=[...e,s];if(r.type===x.Fragment){n.push.apply(n,Ac(r.props.children,i));return}r.type!==L&&Ce(!1),!r.props.index||!r.props.children||Ce(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Ac(r.props.children,i)),n.push(o)}),n}/** 60 * React Router DOM v6.30.2 61 * 62 * Copyright (c) Remix Software Inc. 63 * 64 * This source code is licensed under the MIT license found in the 65 * LICENSE.md file in the root directory of this source tree. 66 * 67 * @license MIT 68 */function Nc(){return Nc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Nc.apply(this,arguments)}function dx(t,e){if(t==null)return{};var n={},r=Object.keys(t),s,i;for(i=0;i<r.length;i++)s=r[i],!(e.indexOf(s)>=0)&&(n[s]=t[s]);return n}function fx(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function px(t,e){return t.button===0&&(!e||e==="_self")&&!fx(t)}function _c(t){return t===void 0&&(t=""),new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,n)=>{let r=t[n];return e.concat(Array.isArray(r)?r.map(s=>[n,s]):[[n,r]])},[]))}function hx(t,e){let n=_c(t);return e&&e.forEach((r,s)=>{n.has(s)||e.getAll(s).forEach(i=>{n.append(s,i)})}),n}const mx=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],gx="6";try{window.__reactRouterVersion=gx}catch{}const yx="startTransition",If=rv[yx];function vx(t){let{basename:e,children:n,future:r,window:s}=t,i=x.useRef();i.current==null&&(i.current=yw({window:s,v5Compat:!0}));let o=i.current,[a,l]=x.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},f=x.useCallback(u=>{c&&If?If(()=>l(u)):l(u)},[l,c]);return x.useLayoutEffect(()=>o.listen(f),[o,f]),x.useEffect(()=>lx(r),[r]),x.createElement(cx,{basename:e,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const wx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",xx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,je=x.forwardRef(function(e,n){let{onClick:r,relative:s,reloadDocument:i,replace:o,state:a,target:l,to:c,preventScrollReset:f,viewTransition:u}=e,p=dx(e,mx),{basename:y}=x.useContext(Xn),v,w=!1;if(typeof c=="string"&&xx.test(c)&&(v=c,wx))try{let g=new URL(window.location.href),b=c.startsWith("//")?new URL(g.protocol+c):new URL(c),C=Yu(b.pathname,y);b.origin===g.origin&&C!=null?c=C+b.search+b.hash:w=!0}catch{}let S=Hw(c,{relative:s}),m=bx(c,{replace:o,state:a,target:l,preventScrollReset:f,relative:s,viewTransition:u});function h(g){r&&r(g),g.defaultPrevented||m(g)}return x.createElement("a",Nc({},p,{href:v||S,onClick:w||i?r:h,ref:n,target:l}))});var $f;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})($f||($f={}));var zf;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(zf||(zf={}));function bx(t,e){let{target:n,replace:r,state:s,preventScrollReset:i,relative:o,viewTransition:a}=e===void 0?{}:e,l=zi(),c=Zt(),f=Sg(t,{relative:o});return x.useCallback(u=>{if(px(u,n)){u.preventDefault();let p=r!==void 0?r:la(c)===la(f);l(t,{replace:p,state:s,preventScrollReset:i,relative:o,viewTransition:a})}},[c,l,f,r,s,n,t,i,o,a])}function D2(t){let e=x.useRef(_c(t)),n=x.useRef(!1),r=Zt(),s=x.useMemo(()=>hx(r.search,n.current?null:e.current),[r.search]),i=zi(),o=x.useCallback((a,l)=>{const c=_c(typeof a=="function"?a(s):a);n.current=!0,i("?"+c,l)},[i,s]);return[s,o]}var La=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Sx={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},An,tu,Qp,kx=(Qp=class{constructor(){oe(this,An,Sx);oe(this,tu,!1)}setTimeoutProvider(t){V(this,An,t)}setTimeout(t,e){return k(this,An).setTimeout(t,e)}clearTimeout(t){k(this,An).clearTimeout(t)}setInterval(t,e){return k(this,An).setInterval(t,e)}clearInterval(t){k(this,An).clearInterval(t)}}
68,An=new WeakMap,tu=new WeakMap,Qp),Dc=new kx;function Cx(t){setTimeout(t,0)}var Ra=typeof window>"u"||"Deno"in globalThis;function Nt(){}function Px(t,e){return typeof t=="function"?t(e):t}function Ex(t){return typeof t=="number"&&t>=0&&t!==1/0}function Tx(t,e){return Math.max(t+(e||0)-Date.now(),0)}function jc(t,e){return typeof t=="function"?t(e):t}function Ax(t,e){return typeof t=="function"?t(e):t}function Ff(t,e){const{type:n="all",exact:r,fetchStatus:s,predicate:i,queryKey:o,stale:a}=t;if(o){if(r){if(e.queryHash!==td(o,e.options))return!1}else if(!Ai(e.queryKey,o))return!1}if(n!=="all"){const l=e.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&e.isStale()!==a||s&&s!==e.state.fetchStatus||i&&!i(e))}function qf(t,e){const{exact:n,status:r,predicate:s,mutationKey:i}=t;if(i){if(!e.options.mutationKey)return!1;if(n){if(Ti(e.options.mutationKey)!==Ti(i))return!1}else if(!Ai(e.options.mutationKey,i))return!1}return!(r&&e.state.status!==r||s&&!s(e))}function td(t,e){return((e==null?void 0:e.queryKeyHashFn)||Ti)(t)}function Ti(t){return JSON.stringify(t,(e,n)=>Oc(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function Ai(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(n=>Ai(t[n],e[n])):!1}var Nx=Object.prototype.hasOwnProperty;function Tg(t,e){if(t===e)return t;const n=Uf(t)&&Uf(e);if(!n&&!(Oc(t)&&Oc(e)))return e;const s=(n?t:Object.keys(t)).length,i=n?e:Object.keys(e),o=i.length,a=n?new Array(o):{};let l=0;for(let c=0;c<o;c++){const f=n?c:i[c],u=t[f],p=e[f];if(u===p){a[f]=u,(n?c<s:Nx.call(t,f))&&l++;continue}if(u===null||p===null||typeof u!="object"||typeof p!="object"){a[f]=p;continue}const y=Tg(u,p);a[f]=y,y===u&&l++}return s===o&&l===s?t:a}function j2(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(t[n]!==e[n])return!1;return!0}function Uf(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Oc(t){if(!Bf(t))return!1;const e=t.constructor;if(e===void 0)return!0;const n=e.prototype;return!(!Bf(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function Bf(t){return Object.prototype.toString.call(t)==="[object Object]"}function _x(t){return new Promise(e=>{Dc.setTimeout(e,t)})}function Dx(t,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(t,e):n.structuralSharing!==!1?Tg(t,e):e}function jx(t,e,n=0){const r=[...t,e];return n&&r.length>n?r.slice(1):r}function Ox(t,e,n=0){const r=[e,...t];return n&&r.length>n?r.slice(0,-1):r}var nd=Symbol();function Ag(t,e){return!t.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!t.queryFn||t.queryFn===nd?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function O2(t,e){return typeof t=="function"?t(...e):!!t}function Lx(t,e,n){let r=!1,s;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(s??(s=e()),r||(r=!0,s.aborted?n():s.addEventListener("abort",n,{once:!0})),s)}),t}var lr,Nn,ss,Kp,Rx=(Kp=class extends La{constructor(){super();oe(this,lr);oe(this,Nn);oe(this,ss);V(this,ss,e=>{if(!Ra&&window.addEventListener){const n=()=>e();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){k(this,Nn)||this.setEventListener(k(this,ss))}onUnsubscribe(){var e;this.hasListeners()||((e=k(this,Nn))==null||e.call(this),V(this,Nn,void 0))}setEventListener(e){var n;V(this,ss,e),(n=k(this,Nn))==null||n.call(this),V(this,Nn,e(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(e){k(this,lr)!==e&&(V(this,lr,e),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(n=>{n(e)})}isFocused(){var e;return typeof k(this,lr)=="boolean"?k(this,lr):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},lr=new WeakMap,Nn=new WeakMap,ss=new WeakMap,Kp),Ng=new Rx;function Mx(){let t,e;const n=new Promise((s,i)=>{t=s,e=i});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),t(s)},n.reject=s=>{r({status:"rejected",reason:s}),e(s)},n}var Ix=Cx;function $x(){let t=[],e=0,n=a=>{a()},r=a=>{a()},s=Ix;const i=a=>{e?t.push(a):s(()=>{n(a)})},o=()=>{const a=t;t=[],a.length&&s(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;e++;try{l=a()}finally{e--,e||o()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{s=a}}}var Ke=$x(),is,_n,os,Jp,zx=(Jp=class extends La{constructor(){super();oe(this,is,!0);oe(this,_n);oe(this,os);V(this,os,e=>{if(!Ra&&window.addEventListener){const n=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){k(this,_n)||this.setEventListener(k(this,os))}onUnsubscribe(){var e;this.hasListeners()||((e=k(this,_n))==null||e.call(this),V(this,_n,void 0))}setEventListener(e){var n;V(this,os,e),(n=k(this,_n))==null||n.call(this),V(this,_n,e(this.setOnline.bind(this)))}setOnline(e){k(this,is)!==e&&(V(this,is,e),this.listeners.forEac
68h(r=>{r(e)}))}isOnline(){return k(this,is)}},is=new WeakMap,_n=new WeakMap,os=new WeakMap,Jp),ca=new zx;function Fx(t){return Math.min(1e3*2**t,3e4)}function _g(t){return(t??"online")==="online"?ca.isOnline():!0}var Lc=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function Dg(t){let e=!1,n=0,r;const s=Mx(),i=()=>s.status!=="pending",o=w=>{var S;if(!i()){const m=new Lc(w);p(m),(S=t.onCancel)==null||S.call(t,m)}},a=()=>{e=!0},l=()=>{e=!1},c=()=>Ng.isFocused()&&(t.networkMode==="always"||ca.isOnline())&&t.canRun(),f=()=>_g(t.networkMode)&&t.canRun(),u=w=>{i()||(r==null||r(),s.resolve(w))},p=w=>{i()||(r==null||r(),s.reject(w))},y=()=>new Promise(w=>{var S;r=m=>{(i()||c())&&w(m)},(S=t.onPause)==null||S.call(t)}).then(()=>{var w;r=void 0,i()||(w=t.onContinue)==null||w.call(t)}),v=()=>{if(i())return;let w;const S=n===0?t.initialPromise:void 0;try{w=S??t.fn()}catch(m){w=Promise.reject(m)}Promise.resolve(w).then(u).catch(m=>{var P;if(i())return;const h=t.retry??(Ra?0:3),g=t.retryDelay??Fx,b=typeof g=="function"?g(n,m):g,C=h===!0||typeof h=="number"&&n<h||typeof h=="function"&&h(n,m);if(e||!C){p(m);return}n++,(P=t.onFail)==null||P.call(t,n,m),_x(b).then(()=>c()?void 0:y()).then(()=>{e?p(m):v()})})};return{promise:s,status:()=>s.status,cancel:o,continue:()=>(r==null||r(),s),cancelRetry:a,continueRetry:l,canStart:f,start:()=>(f()?v():y().then(v),s)}}var cr,Yp,jg=(Yp=class{constructor(){oe(this,cr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ex(this.gcTime)&&V(this,cr,Dc.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Ra?1/0:5*60*1e3))}clearGcTimeout(){k(this,cr)&&(Dc.clearTimeout(k(this,cr)),V(this,cr,void 0))}},cr=new WeakMap,Yp),ur,as,yt,dr,_e,Di,fr,_t,nn,Xp,qx=(Xp=class extends jg{constructor(e){super();oe(this,_t);oe(this,ur);oe(this,as);oe(this,yt);oe(this,dr);oe(this,_e);oe(this,Di);oe(this,fr);V(this,fr,!1),V(this,Di,e.defaultOptions),this.setOptions(e.options),this.observers=[],V(this,dr,e.client),V(this,yt,k(this,dr).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,V(this,ur,Hf(this.options)),this.state=e.state??k(this,ur),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=k(this,_e))==null?void 0:e.promise}setOptions(e){if(this.options={...k(this,Di),...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=Hf(this.options);n.data!==void 0&&(this.setState(Vf(n.data,n.dataUpdatedAt)),V(this,ur,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&k(this,yt).remove(this)}setData(e,n){const r=Dx(this.state.data,e,this.options);return Fe(this,_t,nn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(e,n){Fe(this,_t,nn).call(this,{type:"setState",state:e,setStateOptions:n})}cancel(e){var r,s;const n=(r=k(this,_e))==null?void 0:r.promise;return(s=k(this,_e))==null||s.cancel(e),n?n.then(Nt).catch(Nt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(k(this,ur))}isActive(){return this.observers.some(e=>Ax(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===nd||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>jc(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!Tx(this.state.dataUpdatedAt,e)}onFocus(){var n;const e=this.observers.find(r=>r.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(n=k(this,_e))==null||n.continue()}onOnline(){var n;const e=this.observers.find(r=>r.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(n=k(this,_e))==null||n.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),k(this,yt).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(n=>n!==e),this.observers.length||(k(this,_e)&&(k(this,fr)?k(this,_e).cancel({revert:!0}):k(this,_e).cancelRetry()),this.scheduleGc()),k(this,yt).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Fe(this,_t,nn).call(this,{type:"invalidate"})}
68async fetch(e,n){var l,c,f,u,p,y,v,w,S,m,h,g;if(this.state.fetchStatus!=="idle"&&((l=k(this,_e))==null?void 0:l.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(k(this,_e))return k(this,_e).continueRetry(),k(this,_e).promise}if(e&&this.setOptions(e),!this.options.queryFn){const b=this.observers.find(C=>C.options.queryFn);b&&this.setOptions(b.options)}const r=new AbortController,s=b=>{Object.defineProperty(b,"signal",{enumerable:!0,get:()=>(V(this,fr,!0),r.signal)})},i=()=>{const b=Ag(this.options,n),P=(()=>{const E={client:k(this,dr),queryKey:this.queryKey,meta:this.meta};return s(E),E})();return V(this,fr,!1),this.options.persister?this.options.persister(b,P,this):b(P)},a=(()=>{const b={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:k(this,dr),state:this.state,fetchFn:i};return s(b),b})();(c=this.options.behavior)==null||c.onFetch(a,this),V(this,as,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((f=a.fetchOptions)==null?void 0:f.meta))&&Fe(this,_t,nn).call(this,{type:"fetch",meta:(u=a.fetchOptions)==null?void 0:u.meta}),V(this,_e,Dg({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,onCancel:b=>{b instanceof Lc&&b.revert&&this.setState({...k(this,as),fetchStatus:"idle"}),r.abort()},onFail:(b,C)=>{Fe(this,_t,nn).call(this,{type:"failed",failureCount:b,error:C})},onPause:()=>{Fe(this,_t,nn).call(this,{type:"pause"})},onContinue:()=>{Fe(this,_t,nn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}));try{const b=await k(this,_e).start();if(b===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(b),(y=(p=k(this,yt).config).onSuccess)==null||y.call(p,b,this),(w=(v=k(this,yt).config).onSettled)==null||w.call(v,b,this.state.error,this),b}catch(b){if(b instanceof Lc){if(b.silent)return k(this,_e).promise;if(b.revert){if(this.state.data===void 0)throw b;return this.state.data}}throw Fe(this,_t,nn).call(this,{type:"error",error:b}),(m=(S=k(this,yt).config).onError)==null||m.call(S,b,this),(g=(h=k(this,yt).config).onSettled)==null||g.call(h,this.state.data,b,this),b}finally{this.scheduleGc()}}},ur=new WeakMap,as=new WeakMap,yt=new WeakMap,dr=new WeakMap,_e=new WeakMap,Di=new WeakMap,fr=new WeakMap,_t=new WeakSet,nn=function(e){const n=r=>{switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Ux(r.data,this.options),fetchMeta:e.meta??null};case"success":const s={...r,...Vf(e.data,e.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return V(this,as,e.manual?s:void 0),s;case"error":const i=e.error;return{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}};this.state=n(this.state),Ke.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),k(this,yt).notify({query:this,type:"updated",action:e})})},Xp);function Ux(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:_g(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function Vf(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Hf(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,n=e!==void 0,r=n?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}function Gf(t){return{onFetch:(e,n)=>{var f,u,p,y,v;const r=e.options,s=(p=(u=(f=e.fetchOptions)==null?void 0:f.meta)==null?void 0:u.fetch
68More)==null?void 0:p.direction,i=((y=e.state.data)==null?void 0:y.pages)||[],o=((v=e.state.data)==null?void 0:v.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let w=!1;const S=g=>{Lx(g,()=>e.signal,()=>w=!0)},m=Ag(e.options,e.fetchOptions),h=async(g,b,C)=>{if(w)return Promise.reject();if(b==null&&g.pages.length)return Promise.resolve(g);const E=(()=>{const W={client:e.client,queryKey:e.queryKey,pageParam:b,direction:C?"backward":"forward",meta:e.options.meta};return S(W),W})(),j=await m(E),{maxPages:U}=e.options,A=C?Ox:jx;return{pages:A(g.pages,j,U),pageParams:A(g.pageParams,b,U)}};if(s&&i.length){const g=s==="backward",b=g?Bx:Wf,C={pages:i,pageParams:o},P=b(r,C);a=await h(C,P,g)}else{const g=t??i.length;do{const b=l===0?o[0]??r.initialPageParam:Wf(r,a);if(l>0&&b==null)break;a=await h(a,b),l++}while(l<g)}return a};e.options.persister?e.fetchFn=()=>{var w,S;return(S=(w=e.options).persister)==null?void 0:S.call(w,c,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n)}:e.fetchFn=c}}}function Wf(t,{pages:e,pageParams:n}){const r=e.length-1;return e.length>0?t.getNextPageParam(e[r],e,n[r],n):void 0}function Bx(t,{pages:e,pageParams:n}){var r;return e.length>0?(r=t.getPreviousPageParam)==null?void 0:r.call(t,e[0],e,n[0],n):void 0}var ji,Bt,We,pr,Vt,kn,Zp,Vx=(Zp=class extends jg{constructor(e){super();oe(this,Vt);oe(this,ji);oe(this,Bt);oe(this,We);oe(this,pr);V(this,ji,e.client),this.mutationId=e.mutationId,V(this,We,e.mutationCache),V(this,Bt,[]),this.state=e.state||Hx(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){k(this,Bt).includes(e)||(k(this,Bt).push(e),this.clearGcTimeout(),k(this,We).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){V(this,Bt,k(this,Bt).filter(n=>n!==e)),this.scheduleGc(),k(this,We).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){k(this,Bt).length||(this.state.status==="pending"?this.scheduleGc():k(this,We).remove(this))}continue(){var e;return((e=k(this,pr))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var o,a,l,c,f,u,p,y,v,w,S,m,h,g,b,C,P,E,j,U;const n=()=>{Fe(this,Vt,kn).call(this,{type:"continue"})},r={client:k(this,ji),meta:this.options.meta,mutationKey:this.options.mutationKey};V(this,pr,Dg({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(new Error("No mutationFn found")),onFail:(A,W)=>{Fe(this,Vt,kn).call(this,{type:"failed",failureCount:A,error:W})},onPause:()=>{Fe(this,Vt,kn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>k(this,We).canRun(this)}));const s=this.state.status==="pending",i=!k(this,pr).canStart();try{if(s)n();else{Fe(this,Vt,kn).call(this,{type:"pending",variables:e,isPaused:i}),await((a=(o=k(this,We).config).onMutate)==null?void 0:a.call(o,e,this,r));const W=await((c=(l=this.options).onMutate)==null?void 0:c.call(l,e,r));W!==this.state.context&&Fe(this,Vt,kn).call(this,{type:"pending",context:W,variables:e,isPaused:i})}const A=await k(this,pr).start();return await((u=(f=k(this,We).config).onSuccess)==null?void 0:u.call(f,A,e,this.state.context,this,r)),await((y=(p=this.options).onSuccess)==null?void 0:y.call(p,A,e,this.state.context,r)),await((w=(v=k(this,We).config).onSettled)==null?void 0:w.call(v,A,null,this.state.variables,this.state.context,this,r)),await((m=(S=this.options).onSettled)==null?void 0:m.call(S,A,null,e,this.state.context,r)),Fe(this,Vt,kn).call(this,{type:"success",data:A}),A}catch(A){try{await((g=(h=k(this,We).config).onError)==null?void 0:g.call(h,A,e,this.state.context,this,r))}catch(W){Promise.reject(W)}try{await((C=(b=this.options).onError)==null?void 0:C.call(b,A,e,this.state.context,r))}catch(W){Promise.reject(W)}try{await((E=(P=k(this,We).config).onSettled)==null?void 0:E.call(P,void 0,A,this.state.variables,this.state.context,this,r))}catch(W){Promise.reject(W)}try{await((U=(j=this.options).onSettled)==null?void 0:U.call(j,void 0,A,e,this.state.context,r))}catch(W){Promise.reject(W)}throw Fe(this,Vt,kn).call(this,{type:"error",error:A}),A}finally{k(this,We).runNext(this)}}}
68,ji=new WeakMap,Bt=new WeakMap,We=new WeakMap,pr=new WeakMap,Vt=new WeakSet,kn=function(e){const n=r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Ke.batch(()=>{k(this,Bt).forEach(r=>{r.onMutationUpdate(e)}),k(this,We).notify({mutation:this,type:"updated",action:e})})},Zp);function Hx(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var on,Dt,Oi,eh,Gx=(eh=class extends La{constructor(e={}){super();oe(this,on);oe(this,Dt);oe(this,Oi);this.config=e,V(this,on,new Set),V(this,Dt,new Map),V(this,Oi,0)}build(e,n,r){const s=new Vx({client:e,mutationCache:this,mutationId:++Wi(this,Oi)._,options:e.defaultMutationOptions(n),state:r});return this.add(s),s}add(e){k(this,on).add(e);const n=fo(e);if(typeof n=="string"){const r=k(this,Dt).get(n);r?r.push(e):k(this,Dt).set(n,[e])}this.notify({type:"added",mutation:e})}remove(e){if(k(this,on).delete(e)){const n=fo(e);if(typeof n=="string"){const r=k(this,Dt).get(n);if(r)if(r.length>1){const s=r.indexOf(e);s!==-1&&r.splice(s,1)}else r[0]===e&&k(this,Dt).delete(n)}}this.notify({type:"removed",mutation:e})}canRun(e){const n=fo(e);if(typeof n=="string"){const r=k(this,Dt).get(n),s=r==null?void 0:r.find(i=>i.state.status==="pending");return!s||s===e}else return!0}runNext(e){var r;const n=fo(e);if(typeof n=="string"){const s=(r=k(this,Dt).get(n))==null?void 0:r.find(i=>i!==e&&i.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ke.batch(()=>{k(this,on).forEach(e=>{this.notify({type:"removed",mutation:e})}),k(this,on).clear(),k(this,Dt).clear()})}getAll(){return Array.from(k(this,on))}find(e){const n={exact:!0,...e};return this.getAll().find(r=>qf(n,r))}findAll(e={}){return this.getAll().filter(n=>qf(e,n))}notify(e){Ke.batch(()=>{this.listeners.forEach(n=>{n(e)})})}resumePausedMutations(){const e=this.getAll().filter(n=>n.state.isPaused);return Ke.batch(()=>Promise.all(e.map(n=>n.continue().catch(Nt))))}},on=new WeakMap,Dt=new WeakMap,Oi=new WeakMap,eh);function fo(t){var e;return(e=t.options.scope)==null?void 0:e.id}var Ht,th,Wx=(th=class extends La{constructor(e={}){super();oe(this,Ht);this.config=e,V(this,Ht,new Map)}build(e,n,r){const s=n.queryKey,i=n.queryHash??td(s,n);let o=this.get(i);return o||(o=new qx({client:e,queryKey:s,queryHash:i,options:e.defaultQueryOptions(n),state:r,defaultOptions:e.getQueryDefaults(s)}),this.add(o)),o}add(e){k(this,Ht).has(e.queryHash)||(k(this,Ht).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const n=k(this,Ht).get(e.queryHash);n&&(e.destroy(),n===e&&k(this,Ht).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Ke.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return k(this,Ht).get(e)}getAll(){return[...k(this,Ht).values()]}find(e){const n={exact:!0,...e};return this.getAll().find(r=>Ff(n,r))}findAll(e={}){const n=this.getAll();return Object.keys(e).length>0?n.filter(r=>Ff(e,r)):n}notify(e){Ke.batch(()=>{this.listeners.forEach(n=>{n(e)})})}onFocus(){Ke.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Ke.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Ht=new WeakMap,th),be,Dn,jn,ls,cs,On,us,ds,nh,Qx=(nh=class{constructor(t={}){oe(this,be);oe(this,Dn);oe(this,jn);oe(this,ls);oe(this,cs);oe(this,On);oe(this,us);oe(this,ds);V(this,be,t.queryCache||new Wx),V(this,Dn,t.mutationCache||new Gx),V(this,jn,t.defaultOptions||{}),V(this,ls,new Map),V(this,cs,new Map),V(this,On,0)}mount(){Wi(this,On)._++,k(this,On)===1&&(V(this,us,Ng.subscribe(async t=>{t&&(await this.resumePausedMutations(),k(this,be).onFocus())})),V(this,ds,ca.subscribe(async t=>{t&&(await this.resumePausedMutations(),k(this,be).onOnline())})))}unmount(){var t,e;Wi(this,On)._--,k(this,On)===0&&((t=k(this,us))==null||t.call(this),V(this,us,void 0),(e=k(this,ds))==null||e.call(this),V(this,ds,void 0))}isFetching(t){return k(this,be).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return k(this,Dn).findAll({...t,status:"pending"}).length}getQueryData(t){var n;const e=this.defaultQueryOptions({queryKey:t});return(n=k(this,be).get(e.queryHash))==null?void 0:n.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),n=k(this,be).build(this,e),r=n.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&n.isStaleByTime(jc(e.staleTime,n))&&this.prefetchQuery(e),Promise.resolve(r))}getQueriesData(t){return k(this,be).findAll(t).map(({queryKey:e,state:n})=>{const r=n.data;return[e,r]})}setQueryData(t,e,n){const r=this.defaultQueryOptions({queryKey:t}),s=k(this,be).get(r.queryHash),i=s==null?void 0:s.state.data,o=Px(e,i);if(o!==void 0)return k(this,be).build(this,r).setData(o,{...n,manual:!0})}
68setQueriesData(t,e,n){return Ke.batch(()=>k(this,be).findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,e,n)]))}getQueryState(t){var n;const e=this.defaultQueryOptions({queryKey:t});return(n=k(this,be).get(e.queryHash))==null?void 0:n.state}removeQueries(t){const e=k(this,be);Ke.batch(()=>{e.findAll(t).forEach(n=>{e.remove(n)})})}resetQueries(t,e){const n=k(this,be);return Ke.batch(()=>(n.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const n={revert:!0,...e},r=Ke.batch(()=>k(this,be).findAll(t).map(s=>s.cancel(n)));return Promise.all(r).then(Nt).catch(Nt)}invalidateQueries(t,e={}){return Ke.batch(()=>(k(this,be).findAll(t).forEach(n=>{n.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},e)))}refetchQueries(t,e={}){const n={...e,cancelRefetch:e.cancelRefetch??!0},r=Ke.batch(()=>k(this,be).findAll(t).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let i=s.fetch(void 0,n);return n.throwOnError||(i=i.catch(Nt)),s.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Nt)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const n=k(this,be).build(this,e);return n.isStaleByTime(jc(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Nt).catch(Nt)}fetchInfiniteQuery(t){return t.behavior=Gf(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Nt).catch(Nt)}ensureInfiniteQueryData(t){return t.behavior=Gf(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return ca.isOnline()?k(this,Dn).resumePausedMutations():Promise.resolve()}getQueryCache(){return k(this,be)}getMutationCache(){return k(this,Dn)}getDefaultOptions(){return k(this,jn)}setDefaultOptions(t){V(this,jn,t)}setQueryDefaults(t,e){k(this,ls).set(Ti(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...k(this,ls).values()],n={};return e.forEach(r=>{Ai(t,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(t,e){k(this,cs).set(Ti(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...k(this,cs).values()],n={};return e.forEach(r=>{Ai(t,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(t){if(t._defaulted)return t;const e={...k(this,jn).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=td(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===nd&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...k(this,jn).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){k(this,be).clear(),k(this,Dn).clear()}},be=new WeakMap,Dn=new WeakMap,jn=new WeakMap,ls=new WeakMap,cs=new WeakMap,On=new WeakMap,us=new WeakMap,ds=new WeakMap,nh),Og=x.createContext(void 0),L2=t=>{const e=x.useContext(Og);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},Kx=({client:t,children:e})=>(x.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),d.jsx(Og.Provider,{value:t,children:e})),Jx=typeof Element<"u",Yx=typeof Map=="function",Xx=typeof Set=="function",Zx=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function _o(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var n,r,s;if(Array.isArray(t)){if(n=t.length,n!=e.length)return!1;for(r=n;r--!==0;)if(!_o(t[r],e[r]))return!1;return!0}var i;if(Yx&&t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i=t.entries();!(r=i.next()).done;)if(!e.has(r.value[0]))return!1;for(i=t.entries();!(r=i.next()).done;)if(!_o(r.value[1],e.get(r.value[0])))return!1;return!0}if(Xx&&t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i=t.entries();!(r=i.next()).done;)if(!e.has(r.value[0]))return!1;return!0}if(Zx&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){if(n=t.length,n!=e.length)return!1;for(r=n;r--!==0;)if(t[r]!==e[r])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf&&typeof t.valueOf=="function"&&typeof e.valueOf=="function")return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString&&typeof t.toString=="function"&&typeof e.toString=="function")return t.toString()===e.toString();if(s=Object.keys(t),n=s.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(e,s[r]))return!1;if(Jx&&t instanceof Element)return!1;for(r=n;r--!==0;)if(!((s[r]==="_owner"||s[r]==="__v"||s[r]==="__o")&&t.$$typeof)&&!_o(t[s[r]],e[s[r]]))return!1;return!0}return t!==t&&e!==e}var eb=function(e,n){try{return _o(e,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const tb=xs(eb);var nb=function(t,e,n,r,s,i,o,a){if(!t){var l;if(e===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,s,i,o,a],f=0;l=new Error(e.replace(/%s/g,function(){return c[f++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},rb=nb;const Qf=xs(rb);
68var sb=function(e,n,r,s){var i=r?r.call(s,e,n):void 0;if(i!==void 0)return!!i;if(e===n)return!0;if(typeof e!="object"||!e||typeof n!="object"||!n)return!1;var o=Object.keys(e),a=Object.keys(n);if(o.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),c=0;c<o.length;c++){var f=o[c];if(!l(f))return!1;var u=e[f],p=n[f];if(i=r?r.call(s,u,p,f):void 0,i===!1||i===void 0&&u!==p)return!1}return!0};const ib=xs(sb);var Lg=(t=>(t.BASE="base",t.BODY="body",t.HEAD="head",t.HTML="html",t.LINK="link",t.META="meta",t.NOSCRIPT="noscript",t.SCRIPT="script",t.STYLE="style",t.TITLE="title",t.FRAGMENT="Symbol(react.fragment)",t))(Lg||{}),xl={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},Kf=Object.values(Lg),rd={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},ob=Object.entries(rd).reduce((t,[e,n])=>(t[n]=e,t),{}),Rt="data-rh",es={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},ts=(t,e)=>{for(let n=t.length-1;n>=0;n-=1){const r=t[n];if(Object.prototype.hasOwnProperty.call(r,e))return r[e]}return null},ab=t=>{let e=ts(t,"title");const n=ts(t,es.TITLE_TEMPLATE);if(Array.isArray(e)&&(e=e.join("")),n&&e)return n.replace(/%s/g,()=>e);const r=ts(t,es.DEFAULT_TITLE);return e||r||void 0},lb=t=>ts(t,es.ON_CHANGE_CLIENT_STATE)||(()=>{}),bl=(t,e)=>e.filter(n=>typeof n[t]<"u").map(n=>n[t]).reduce((n,r)=>({...n,...r}),{}),cb=(t,e)=>e.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const s=Object.keys(r);for(let i=0;i<s.length;i+=1){const a=s[i].toLowerCase();if(t.indexOf(a)!==-1&&r[a])return n.concat(r)}}return n},[]),ub=t=>console&&typeof console.warn=="function"&&console.warn(t),Is=(t,e,n)=>{const r={};return n.filter(s=>Array.isArray(s[t])?!0:(typeof s[t]<"u"&&ub(`Helmet: ${t} should be of type "Array". Instead found type "${typeof s[t]}"`),!1)).map(s=>s[t]).reverse().reduce((s,i)=>{const o={};i.filter(l=>{let c;const f=Object.keys(l);for(let p=0;p<f.length;p+=1){const y=f[p],v=y.toLowerCase();e.indexOf(v)!==-1&&!(c==="rel"&&l[c].toLowerCase()==="canonical")&&!(v==="rel"&&l[v].toLowerCase()==="stylesheet")&&(c=v),e.indexOf(y)!==-1&&(y==="innerHTML"||y==="cssText"||y==="itemprop")&&(c=y)}if(!c||!l[c])return!1;const u=l[c].toLowerCase();return r[c]||(r[c]={}),o[c]||(o[c]={}),r[c][u]?!1:(o[c][u]=!0,!0)}).reverse().forEach(l=>s.push(l));const a=Object.keys(o);for(let l=0;l<a.length;l+=1){const c=a[l],f={...r[c],...o[c]};r[c]=f}return s},[]).reverse()},db=(t,e)=>{if(Array.isArray(t)&&t.length){for(let n=0;n<t.length;n+=1)if(t[n][e])return!0}return!1},fb=t=>({baseTag:cb(["href"],t),bodyAttributes:bl("bodyAttributes",t),defer:ts(t,es.DEFER),encode:ts(t,es.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:bl("htmlAttributes",t),linkTags:Is("link",["rel","href"],t),metaTags:Is("meta",["name","charset","http-equiv","property","itemprop"],t),noscriptTags:Is("noscript",["innerHTML"],t),onChangeClientState:lb(t),scriptTags:Is("script",["src","innerHTML"],t),styleTags:Is("style",["cssText"],t),title:ab(t),titleAttributes:bl("titleAttributes",t),prioritizeSeoTags:db(t,es.PRIORITIZE_SEO_TAGS)}),Rg=t=>Array.isArray(t)?t.join(""):t,pb=(t,e)=>{const n=Object.keys(t);for(let r=0;r<n.length;r+=1)if(e[n[r]]&&e[n[r]].includes(t[n[r]]))return!0;return!1},Sl=(t,e)=>Array.isArray(t)?t.reduce((n,r)=>(pb(r,e)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:t,priority:[]},Jf=(t,e)=>({...t,[e]:void 0}),hb=["noscript","script","style"],Rc=(t,e=!0)=>e===!1?String(t):String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),Mg=t=>Object.keys(t).reduce((e,n)=>{const r=typeof t[n]<"u"?`${n}
68="${t[n]}"`:`${n}`;return e?`${e} ${r}`:r},""),mb=(t,e,n,r)=>{const s=Mg(n),i=Rg(e);return s?`<${t} ${Rt}="true" ${s}>${Rc(i,r)}</${t}>`:`<${t} ${Rt}="true">${Rc(i,r)}</${t}>`},gb=(t,e,n=!0)=>e.reduce((r,s)=>{const i=s,o=Object.keys(i).filter(c=>!(c==="innerHTML"||c==="cssText")).reduce((c,f)=>{const u=typeof i[f]>"u"?f:`${f}="${Rc(i[f],n)}"`;return c?`${c} ${u}`:u},""),a=i.innerHTML||i.cssText||"",l=hb.indexOf(t)===-1;return`${r}<${t} ${Rt}="true" ${o}${l?"/>":`>${a}</${t}>`}`},""),Ig=(t,e={})=>Object.keys(t).reduce((n,r)=>{const s=rd[r];return n[s||r]=t[r],n},e),yb=(t,e,n)=>{const r={key:e,[Rt]:!0},s=Ig(n,r);return[N.createElement("title",s,e)]},Do=(t,e)=>e.map((n,r)=>{const s={key:r,[Rt]:!0};return Object.keys(n).forEach(i=>{const a=rd[i]||i;if(a==="innerHTML"||a==="cssText"){const l=n.innerHTML||n.cssText;s.dangerouslySetInnerHTML={__html:l}}else s[a]=n[i]}),N.createElement(t,s)}),gt=(t,e,n=!0)=>{switch(t){case"title":return{toComponent:()=>yb(t,e.title,e.titleAttributes),toString:()=>mb(t,e.title,e.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>Ig(e),toString:()=>Mg(e)};default:return{toComponent:()=>Do(t,e),toString:()=>gb(t,e,n)}}},vb=({metaTags:t,linkTags:e,scriptTags:n,encode:r})=>{const s=Sl(t,xl.meta),i=Sl(e,xl.link),o=Sl(n,xl.script);return{priorityMethods:{toComponent:()=>[...Do("meta",s.priority),...Do("link",i.priority),...Do("script",o.priority)],toString:()=>`${gt("meta",s.priority,r)} ${gt("link",i.priority,r)} ${gt("script",o.priority,r)}`},metaTags:s.default,linkTags:i.default,scriptTags:o.default}},wb=t=>{const{baseTag:e,bodyAttributes:n,encode:r=!0,htmlAttributes:s,noscriptTags:i,styleTags:o,title:a="",titleAttributes:l,prioritizeSeoTags:c}=t;let{linkTags:f,metaTags:u,scriptTags:p}=t,y={toComponent:()=>{},toString:()=>""};return c&&({priorityMethods:y,linkTags:f,metaTags:u,scriptTags:p}=vb(t)),{priority:y,base:gt("base",e,r),bodyAttributes:gt("bodyAttributes",n,r),htmlAttributes:gt("htmlAttributes",s,r),link:gt("link",f,r),meta:gt("meta",u,r),noscript:gt("noscript",i,r),script:gt("script",p,r),style:gt("style",o,r),title:gt("title",{title:a,titleAttributes:l},r)}},Mc=wb,po=[],$g=!!(typeof window<"u"&&window.document&&window.document.createElement),Ic=class{constructor(t,e){mt(this,"instances",[]);mt(this,"canUseDOM",$g);mt(this,"context");mt(this,"value",{setHelmet:t=>{this.context.helmet=t},helmetInstances:{get:()=>this.canUseDOM?po:this.instances,add:t=>{(this.canUseDOM?po:this.instances).push(t)},remove:t=>{const e=(this.canUseDOM?po:this.instances).indexOf(t);(this.canUseDOM?po:this.instances).splice(e,1)}}});this.context=t,this.canUseDOM=e||!1,e||(t.helmet=Mc({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},xb={},zg=N.createContext(xb),hr,Fg=(hr=class extends x.Component{constructor(n){super(n);mt(this,"helmetData");this.helmetData=new Ic(this.props.context||{},hr.canUseDOM)}render(){return N.createElement(zg.Provider,{value:this.helmetData.value},this.props.children)}},mt(hr,"canUseDOM",$g),hr),Dr=(t,e)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${t}[${Rt}]`),s=[].slice.call(r),i=[];let o;return e&&e.length&&e.forEach(a=>{const l=document.createElement(t);for(const c in a)if(Object.prototype.hasOwnProperty.call(a,c))if(c==="innerHTML")l.innerHTML=a.innerHTML;else if(c==="cssText")l.styleSheet?l.styleSheet.cssText=a.cssText:l.appendChild(document.createTextNode(a.cssText));else{const f=c,u=typeof a[f]>"u"?"":a[f];l.setAttribute(c,u)}l.setAttribute(Rt,"true"),s.some((c,f)=>(o=f,l.isEqualNode(c)))?s.splice(o,1):i.push(l)}),s.forEach(a=>{var l;return(l=a.parentNode)==null?void 0:l.removeChild(a)}
68),i.forEach(a=>n.appendChild(a)),{oldTags:s,newTags:i}},$c=(t,e)=>{const n=document.getElementsByTagName(t)[0];if(!n)return;const r=n.getAttribute(Rt),s=r?r.split(","):[],i=[...s],o=Object.keys(e);for(const a of o){const l=e[a]||"";n.getAttribute(a)!==l&&n.setAttribute(a,l),s.indexOf(a)===-1&&s.push(a);const c=i.indexOf(a);c!==-1&&i.splice(c,1)}for(let a=i.length-1;a>=0;a-=1)n.removeAttribute(i[a]);s.length===i.length?n.removeAttribute(Rt):n.getAttribute(Rt)!==o.join(",")&&n.setAttribute(Rt,o.join(","))},bb=(t,e)=>{typeof t<"u"&&document.title!==t&&(document.title=Rg(t)),$c("title",e)},Yf=(t,e)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:s,linkTags:i,metaTags:o,noscriptTags:a,onChangeClientState:l,scriptTags:c,styleTags:f,title:u,titleAttributes:p}=t;$c("body",r),$c("html",s),bb(u,p);const y={baseTag:Dr("base",n),linkTags:Dr("link",i),metaTags:Dr("meta",o),noscriptTags:Dr("noscript",a),scriptTags:Dr("script",c),styleTags:Dr("style",f)},v={},w={};Object.keys(y).forEach(S=>{const{newTags:m,oldTags:h}=y[S];m.length&&(v[S]=m),h.length&&(w[S]=y[S].oldTags)}),e&&e(),l(t,v,w)},$s=null,Sb=t=>{$s&&cancelAnimationFrame($s),t.defer?$s=requestAnimationFrame(()=>{Yf(t,()=>{$s=null})}):(Yf(t),$s=null)},kb=Sb,Xf=class extends x.Component{constructor(){super(...arguments);mt(this,"rendered",!1)}shouldComponentUpdate(e){return!ib(e,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:e}=this.props.context;e.remove(this),this.emitChange()}emitChange(){const{helmetInstances:e,setHelmet:n}=this.props.context;let r=null;const s=fb(e.get().map(i=>{const o={...i.props};return delete o.context,o}));Fg.canUseDOM?kb(s):Mc&&(r=Mc(s)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:e}=this.props.context;e.add(this),this.emitChange()}render(){return this.init(),null}},Ll,R2=(Ll=class extends x.Component{shouldComponentUpdate(t){return!tb(Jf(this.props,"helmetData"),Jf(t,"helmetData"))}mapNestedChildrenToProps(t,e){if(!e)return null;switch(t.type){case"script":case"noscript":return{innerHTML:e};case"style":return{cssText:e};default:throw new Error(`<${t.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(t,e,n,r){return{...e,[t.type]:[...e[t.type]||[],{...n,...this.mapNestedChildrenToProps(t,r)}]}}mapObjectTypeChildren(t,e,n,r){switch(t.type){case"title":return{...e,[t.type]:r,titleAttributes:{...n}};case"body":return{...e,bodyAttributes:{...n}};case"html":return{...e,htmlAttributes:{...n}};default:return{...e,[t.type]:{...n}}}}mapArrayTypeChildrenToProps(t,e){let n={...e};return Object.keys(t).forEach(r=>{n={...n,[r]:t[r]}}),n}warnOnInvalidChildren(t,e){return Qf(Kf.some(n=>t.type===n),typeof t.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${Kf.join(", ")} are allowed. Helmet does not support rendering <${t.type}> elements. Refer to our API for more information.`),Qf(!e||typeof e=="string"||Array.isArray(e)&&!e.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${t.type}>. Did you forget to wrap your children in braces? ( <${t.type}>{\`\`}</${t.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(t,e){let n={};return N.Children.forEach(t,r=>{if(!r||!r.props)return;const{children:s,...i}=r.props,o=Object.keys(i).reduce((l,c)=>(l[ob[c]||c]=i[c],l),{});let{type:a}=r;
68switch(typeof a=="symbol"?a=a.toString():this.warnOnInvalidChildren(r,s),a){case"Symbol(react.fragment)":e=this.mapChildrenToProps(s,e);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,o,s);break;default:e=this.mapObjectTypeChildren(r,e,o,s);break}}),this.mapArrayTypeChildrenToProps(n,e)}render(){const{children:t,...e}=this.props;let n={...e},{helmetData:r}=e;if(t&&(n=this.mapChildrenToProps(t,n)),r&&!(r instanceof Ic)){const s=r;r=new Ic(s.context,!0),delete n.helmetData}return r?N.createElement(Xf,{...n,context:r.value}):N.createElement(zg.Consumer,null,s=>N.createElement(Xf,{...n,context:s}))}},mt(Ll,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Ll);function Cb(t){if(typeof document>"u")return;let e=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",e.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}const Pb=t=>{switch(t){case"success":return Ab;case"info":return _b;case"warning":return Nb;case"error":return Db;default:return null}},Eb=Array(12).fill(0),Tb=({visible:t,className:e})=>N.createElement("div",{className:["sonner-loading-wrapper",e].filter(Boolean).join(" "),"data-visible":t},N.createElement("div",{className:"sonner-spinner"},Eb.map((n,r)=>N.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),Ab=N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},N.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Nb=N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},N.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),_b=N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},N.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Db=N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},N.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),jb=N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},N.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),N.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Ob=()=>{const[t,e]=N.useState(document.hidden);return N.useEffect(()=>{const n=()=>{e(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),t};let zc=1;class Lb{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{const n=this.subscribers.indexOf(e);this.subscribers.splice(n,1)}),this.publish=e=>{this.subscribers.forEach(n=>n(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var n;const{message:r,...s}=e,i=typeof(e==null?void 0:e.id)=="number"||((n=e.id)==null?void 0:n.length)>0?e.id:zc++,o=this.toasts.find(l=>l.id===i),a=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),o?this.toasts=this.toasts.map(l=>l.id===i?(this.publish({...l,...e,id:i,title:r}),{...l,...e,id:i,dismissible:a,title:r}):l):this.addToast({title:r,...s,dismissible:a,id:i}),i},this.dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>
vendor: 3,033 bytes, line 68
68this.subscribers.forEach(n=>n({id:e,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),e),this.message=(e,n)=>this.create({...n,message:e}),this.error=(e,n)=>this.create({...n,message:e,type:"error"}),this.success=(e,n)=>this.create({...n,type:"success",message:e}),this.info=(e,n)=>this.create({...n,type:"info",message:e}),this.warning=(e,n)=>this.create({...n,type:"warning",message:e}),this.loading=(e,n)=>this.create({...n,type:"loading",message:e}),this.promise=(e,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:e,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const s=Promise.resolve(e instanceof Function?e():e);let i=r!==void 0,o;const a=s.then(async c=>{if(o=["resolve",c],N.isValidElement(c))i=!1,this.create({id:r,type:"default",message:c});else if(Mb(c)&&!c.ok){i=!1;const u=typeof n.error=="function"?await n.error(`HTTP error! status: ${c.status}`):n.error,p=typeof n.description=="function"?await n.description(`HTTP error! status: ${c.status}`):n.description,v=typeof u=="object"&&!N.isValidElement(u)?u:{message:u};this.create({id:r,type:"error",description:p,...v})}else if(c instanceof Error){i=!1;const u=typeof n.error=="function"?await n.error(c):n.error,p=typeof n.description=="function"?await n.description(c):n.description,v=typeof u=="object"&&!N.isValidElement(u)?u:{message:u};this.create({id:r,type:"error",description:p,...v})}else if(n.success!==void 0){i=!1;const u=typeof n.success=="function"?await n.success(c):n.success,p=typeof n.description=="function"?await n.description(c):n.description,v=typeof u=="object"&&!N.isValidElement(u)?u:{message:u};this.create({id:r,type:"success",description:p,...v})}}).catch(async c=>{if(o=["reject",c],n.error!==void 0){i=!1;const f=typeof n.error=="function"?await n.error(c):n.error,u=typeof n.description=="function"?await n.description(c):n.description,y=typeof f=="object"&&!N.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:u,...y})}}).finally(()=>{i&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),l=()=>new Promise((c,f)=>a.then(()=>o[0]==="reject"?f(o[1]):c(o[1])).catch(f));return typeof r!="string"&&typeof r!="number"?{unwrap:l}:Object.assign(r,{unwrap:l})},this.custom=(e,n)=>{const r=(n==null?void 0:n.id)||zc++;return this.create({jsx:e(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const et=new Lb,Rb=(t,e)=>{const n=(e==null?void 0:e.id)||zc++;return et.addToast({title:t,...e,id:n}),n},Mb=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",Ib=Rb,$b=()=>et.toasts,zb=()=>et.getActiveToasts(),kl=Object.assign(Ib,{success:et.success,info:et.info,warning:et.warning,error:et.error,custom:et.custom,message:et.message,promise:et.promise,dismiss:et.dismiss,loading:et.loading},{getHistory:$b,getToasts:zb});Cb
vendor: 14,873 bytes, line 68
68("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function
vendor: 1,148 bytes, line 68
68ho(t){return t.label!==void 0}const Fb=3,qb="24px",Ub="16px",Zf=4e3,Bb=356,Vb=14,Hb=45,Gb=200;function Ft(...t){return t.filter(Boolean).join(" ")}function Wb(t){const[e,n]=t.split("-"),r=[];return e&&r.push(e),n&&r.push(n),r}const Qb=t=>{var e,n,r,s,i,o,a,l,c;const{invert:f,toast:u,unstyled:p,interacting:y,setHeights:v,visibleToasts:w,heights:S,index:m,toasts:h,expanded:g,removeToast:b,defaultRichColors:C,closeButton:P,style:E,cancelButtonStyle:j,actionButtonStyle:U,className:A="",descriptionClassName:W="",duration:R,position:O,gap:F,expandByDefault:se,classNames:M,icons:K,closeButtonAriaLabel:_="Close toast"}=t,[z,q]=N.useState(null),[I,ie]=N.useState(null),[B,ne]=N.useState(!1),[D,J]=N.useState(!1),[Le,ue]=N.useState(!1),[en,Er]=N.useState(!1),[Tr,gn]=N.useState(!1),[qa,As]=N.useState(0),[Ua,Ui]=N.useState(0),Zn=N.useRef(u.duration||R||Zf),Bi=N.useRef(null),Y=N.useRef(null),Ba=m===0,Vi=m+1<=w,re=u.type,xe=u.dismissible!==!1,ot=u.className||"",yn=u.descriptionClassName||"",vn=N.useMemo(()=>S.findIndex(X=>X.toastId===u.id)||0,[S,u.id]),Oy=N.useMemo(()=>{var X;return(X=u.closeButton)!=null?X:P},[u.closeButton,P]),fd=N.useMemo(()=>
vendor: 7,665 bytes, line 68
68u.duration||R||Zf,[u.duration,R]),Va=N.useRef(0),Ar=N.useRef(0),pd=N.useRef(0),Nr=N.useRef(null),[Ly,Ry]=O.split("-"),hd=N.useMemo(()=>S.reduce((X,Ne,ze)=>ze>=vn?X:X+Ne.height,0),[S,vn]),md=Ob(),My=u.invert||f,Ha=re==="loading";Ar.current=N.useMemo(()=>vn*F+hd,[vn,hd]),N.useEffect(()=>{Zn.current=fd},[fd]),N.useEffect(()=>{ne(!0)},[]),N.useEffect(()=>{const X=Y.current;if(X){const Ne=X.getBoundingClientRect().height;return Ui(Ne),v(ze=>[{toastId:u.id,height:Ne,position:u.position},...ze]),()=>v(ze=>ze.filter(at=>at.toastId!==u.id))}},[v,u.id]),N.useLayoutEffect(()=>{if(!B)return;const X=Y.current,Ne=X.style.height;X.style.height="auto";const ze=X.getBoundingClientRect().height;X.style.height=Ne,Ui(ze),v(at=>at.find(Re=>Re.toastId===u.id)?at.map(Re=>Re.toastId===u.id?{...Re,height:ze}:Re):[{toastId:u.id,height:ze,position:u.position},...at])},[B,u.title,u.description,v,u.id,u.jsx,u.action,u.cancel]);const wn=N.useCallback(()=>{J(!0),As(Ar.current),v(X=>X.filter(Ne=>Ne.toastId!==u.id)),setTimeout(()=>{b(u)},Gb)},[u,b,v,Ar]);N.useEffect(()=>{if(u.promise&&re==="loading"||u.duration===1/0||u.type==="loading")return;let X;return g||y||md?(()=>{if(pd.current<Va.current){const at=new Date().getTime()-Va.current;Zn.current=Zn.current-at}pd.current=new Date().getTime()})():(()=>{Zn.current!==1/0&&(Va.current=new Date().getTime(),X=setTimeout(()=>{u.onAutoClose==null||u.onAutoClose.call(u,u),wn()},Zn.current))})(),()=>clearTimeout(X)},[g,y,u,re,md,wn]),N.useEffect(()=>{u.delete&&(wn(),u.onDismiss==null||u.onDismiss.call(u,u))},[wn,u.delete]);function Iy(){var X;if(K!=null&&K.loading){var Ne;return N.createElement("div",{className:Ft(M==null?void 0:M.loader,u==null||(Ne=u.classNames)==null?void 0:Ne.loader,"sonner-loader"),"data-visible":re==="loading"},K.loading)}return N.createElement(Tb,{className:Ft(M==null?void 0:M.loader,u==null||(X=u.classNames)==null?void 0:X.loader),visible:re==="loading"})}const $y=u.icon||(K==null?void 0:K[re])||Pb(re);var gd,yd;return N.createElement("li",{tabIndex:0,ref:Y,className:Ft(A,ot,M==null?void 0:M.toast,u==null||(e=u.classNames)==null?void 0:e.toast,M==null?void 0:M.default,M==null?void 0:M[re],u==null||(n=u.classNames)==null?void 0:n[re]),"data-sonner-toast":"","data-rich-colors":(gd=u.richColors)!=null?gd:C,"data-styled":!(u.jsx||u.unstyled||p),"data-mounted":B,"data-promise":!!u.promise,"data-swiped":Tr,"data-removed":D,"data-visible":Vi,"data-y-position":Ly,"data-x-position":Ry,"data-index":m,"data-front":Ba,"data-swiping":Le,"data-dismissible":xe,"data-type":re,"data-invert":My,"data-swipe-out":en,"data-swipe-direction":I,"data-expanded":!!(g||se&&B),"data-testid":u.testId,style:{"--index":m,"--toasts-before":m,"--z-index":h.length-m,"--offset":`${D?qa:Ar.current}px`,"--initial-height":se?"auto":`${Ua}px`,...E,...u.style},onDragEnd:()=>{ue(!1),q(null),Nr.current=null},onPointerDown:X=>{X.button!==2&&(Ha||!xe||(Bi.current=new Date,As(Ar.current),X.target.setPointerCapture(X.pointerId),X.target.tagName!=="BUTTON"&&(ue(!0),Nr.current={x:X.clientX,y:X.clientY})))},onPointerUp:()=>{var X,Ne,ze;if(en||!xe)return;Nr.current=null;const at=Number(((X=Y.current)==null?void 0:X.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Hi=Number(((Ne=Y.current)==null?void 0:Ne.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Re=new Date().getTime()-((ze=Bi.current)==null?void 0:ze.getTime()),ht=z==="x"?at:Hi,Gi=Math.abs(ht)/Re;if(Math.abs(ht)>=Hb||Gi>.11){As(Ar.current),u.onDismiss==null||u.onDismiss.call(u,u),ie(z==="x"?at>0?"right":"left":Hi>0?"down":"up"),wn(),Er(!0);return}else{var Pt,Et;(Pt=Y.current)==null||Pt.style.setProperty("--swipe-amount-x","0px"),(Et=Y.current)==null||Et.style.setProperty("--swipe-amount-y","0px")}gn(!1),ue(!1),q(null)},onPointerMove:X=>{var Ne,ze,at;if(!Nr.current||!xe||((Ne=window.getSelection())==null?void 0:Ne.toString().length)>0)return;const Re=X.clientY-Nr.current.y,ht=X.clientX-Nr.current.x;var Gi;const Pt=(Gi=t.swipeDirections)!=null?Gi:Wb(O);!z&&(Math.abs(ht)>1||Math.abs(Re)>1)&&q(Math.abs(ht)>Math.abs(Re)?"x":"y");let Et={x:0,y:0};const vd=er=>1/(1.5+Math.abs(er)/20);if(z==="y"){if(Pt.includes("top")||Pt.includes("bottom"))if(Pt.includes("top")&&Re<0||Pt.includes("bottom")&&Re>0)Et.y=Re;else{const er=Re*vd(Re);Et.y=Math.abs(er)<Math.abs(Re)?er:Re}}else if(z==="x"&&(Pt.includes("left")||Pt.includes("right")))if(Pt.includes("left")&&ht<0||Pt.includes("right")&&ht>0)Et.x=ht;else{const er=ht*vd(ht);Et.x=Math.abs(er)<Math.abs(ht)?er:ht}(Math.abs(Et.x)>0||Math.abs(Et.y)>0)&&gn(!0),(ze=Y.current)==null||ze.style.setProperty("--swipe-amount-x",`${Et.x}px`),(at=Y.current)==null||at.style.setProperty("--swipe-amount-y",`${Et.y}px`)}},Oy&&!u.jsx&&re!=="loading"?N.createElement("button",{"aria-label":_,"data-disabled":Ha,"data-close-button":!0,onClick:Ha||!xe?()=>{}:()=>{wn(),u.onDismiss==null||u.onDismiss.call(u,u)},className:Ft(M==null?void 0:M.closeButton,u==null||(r=u.classNames)==null?void 0:r.closeButton)},(yd=K==null?void 0:K.close)!=null?yd:jb):null,(re||u.icon||u.promise)&&u.icon!==null&&((K==null?void 0:K[re])!==null||u.icon)?N.createElement("div",{"data-icon":"",className:Ft(M==null?void 0:M.icon,u==null||(s=u.classNames)==null?void 0:s.icon)},u.promise||u.type==="loading"&&!u.icon?u.icon||Iy():null,u.type!=="loading"?$y:null):null,N.createElement("div",{"data-content":"",className:Ft(M==null?void 0:M.content,u==null||(i=u.classNames)==null?void 0:i.content)},N.createElement("div",{"data-title":"",className:Ft(M==null?void 0:M.title,u==null||(o=u.classNames)==null?void 0:o.title)},u.jsx?u.jsx:typeof u.title=="function"?u.title():u.title),u.description?N.createElement("div",{"data-description":"",className:Ft(W,yn,M==null?void 0:M.description,u==null||(a=u.classNames)==null?void 0:a.description)},typeof u.description=="function"?u.description():u.description):null),N.isValidElement(u.cancel)?u.cancel:u.cancel&&ho(u.cancel)?N.createElement("button",{"data-button":!0,"data-cancel":!0,style:u.cancelButtonStyle||j,onClick:X=>{ho(u.cancel)&&xe&&(u.cancel.onClick==null||u.cancel.onClick.call(u.cancel,X),wn())},className:Ft(M==null?void 0:M.cancelButton,u==null||(l=u.classNames)==null?void 0:l.cancelButton)},u.cancel.label):null,N.isValidElement(u.action)?u.action:u.action&&ho(u.action)?N.createElement("button",{"data-button":!0,"data-action":!0,style:u.actionButtonStyle||U,onClick:X=>{ho(u.action)&&(u.action.onClick==null||u.action.onClick.call(u.action,X),!X.defaultPrevented&&wn())},className:Ft(M==null?void 0:M.actionButton,u==null||(c=u.classNames)==null?void 0:c.actionButton)},u.action.label):null)};function ep(){if(typeof window>"u"||typeof document>"u")return"ltr";const t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}function Kb(t,e){const n={};return[t,e].forEach((r,s)=>{const i=s===1,o=i?"--mobile-offset":"--offset",a=i?Ub:qb;function l(c){["top","right","bottom","left"].forEach(f=>{n[`${o}-${f}`]=typeof c=="number"?`${c}px`:c})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(c=>{r[c]===void 0?n[`${o}-${c}`]=a:n[`${o}-${c}`]=typeof r[c]=="number"?`${r[c]}px`:r[c]}):l(a)}),n}const Jb=N.forwardRef(function(e,n){const{id:r,invert:s,position:i="bottom-right",hotkey:o=["altKey","KeyT"],expand:a,closeButton:l,className:c,offset:f,mobileOffset:u,theme:p="light",richColors:y,duration:v,style:w,visibleToasts:S=Fb,toastOptions:m,dir:h=ep(),gap:g=Vb,icons:b,containerAriaLabel:C="Notifications"}=e,[P,E]=N.useState([]),j=N.useMemo(()=>r?P.filter(B=>B.toasterId===r):P.filter(B=>!B.toasterId),[P,r]),U=N.useMemo(()=>
68Array.from(new Set([i].concat(j.filter(B=>B.position).map(B=>B.position)))),[j,i]),[A,W]=N.useState([]),[R,O]=N.useState(!1),[F,se]=N.useState(!1),[M,K]=N.useState(p!=="system"?p:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),_=N.useRef(null),z=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),q=N.useRef(null),I=N.useRef(!1),ie=N.useCallback(B=>{E(ne=>{var D;return(D=ne.find(J=>J.id===B.id))!=null&&D.delete||et.dismiss(B.id),ne.filter(({id:J})=>J!==B.id)})},[]);return N.useEffect(()=>et.subscribe(B=>{if(B.dismiss){requestAnimationFrame(()=>{E(ne=>ne.map(D=>D.id===B.id?{...D,delete:!0}:D))});return}setTimeout(()=>{hw.flushSync(()=>{E(ne=>{const D=ne.findIndex(J=>J.id===B.id);return D!==-1?[...ne.slice(0,D),{...ne[D],...B},...ne.slice(D+1)]:[B,...ne]})})})}),[P]),N.useEffect(()=>{if(p!=="system"){K(p);return}if(p==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?K("dark"):K("light")),typeof window>"u")return;const B=window.matchMedia("(prefers-color-scheme: dark)");try{B.addEventListener("change",({matches:ne})=>{K(ne?"dark":"light")})}catch{B.addListener(({matches:D})=>{try{K(D?"dark":"light")}catch(J){console.error(J)}})}},[p]),N.useEffect(()=>{P.length<=1&&O(!1)},[P]),N.useEffect(()=>{const B=ne=>{var D;if(o.every(ue=>ne[ue]||ne.code===ue)){var Le;O(!0),(Le=_.current)==null||Le.focus()}ne.code==="Escape"&&(document.activeElement===_.current||(D=_.current)!=null&&D.contains(document.activeElement))&&O(!1)};return document.addEventListener("keydown",B),()=>document.removeEventListener("keydown",B)},[o]),N.useEffect(()=>{if(_.current)return()=>{q.current&&(q.current.focus({preventScroll:!0}),q.current=null,I.current=!1)}},[_.current]),N.createElement("section",{ref:n,"aria-label":`${C} ${z}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},U.map((B,ne)=>{var D;const[J,Le]=B.split("-");return j.length?N.createElement("ol",{key:B,dir:h==="auto"?ep():h,tabIndex:-1,ref:_,className:c,"data-sonner-toaster":!0,"data-sonner-theme":M,"data-y-position":J,"data-x-position":Le,style:{"--front-toast-height":`${((D=A[0])==null?void 0:D.height)||0}px`,"--width":`${Bb}px`,"--gap":`${g}px`,...w,...Kb(f,u)},onBlur:ue=>{I.current&&!ue.currentTarget.contains(ue.relatedTarget)&&(I.current=!1,q.current&&(q.current.focus({preventScroll:!0}),q.current=null))},onFocus:ue=>{ue.target instanceof HTMLElement&&ue.target.dataset.dismissible==="false"||I.current||(I.current=!0,q.current=ue.relatedTarget)},onMouseEnter:()=>O(!0),onMouseMove:()=>O(!0),onMouseLeave:()=>{F||O(!1)},onDragEnd:()=>O(!1),onPointerDown:ue=>{ue.target instanceof HTMLElement&&ue.target.dataset.dismissible==="false"||se(!0)},onPointerUp:()=>se(!1)},j.filter(ue=>!ue.position&&ne===0||ue.position===B).map((ue,en)=>{var Er,Tr;return N.createElement(Qb,{key:ue.id,icons:b,index:en,toast:ue,defaultRichColors:y,duration:(Er=m==null?void 0:m.duration)!=null?Er:v,className:m==null?void 0:m.className,descriptionClassName:m==null?void 0:m.descriptionClassName,invert:s,visibleToasts:S,closeButton:(Tr=m==null?void 0:m.closeButton)!=null?Tr:l,interacting:F,position:B,style:m==null?void 0:m.style,unstyled:m==null?void 0:m.unstyled,classNames:m==null?void 0:m.classNames,cancelButtonStyle:m==null?void 0:m.cancelButtonStyle,actionButtonStyle:m==null?void 0:m.actionButtonStyle,closeButtonAriaLabel:m==null?void 0:m.closeButtonAriaLabel,removeToast:ie,toasts:j.filter(gn=>gn.position==ue.position),heights:A.filter(gn=>gn.position==ue.position),setHeights:W,expandByDefault:a,gap:g,expanded:R,swipeDirections:e.swipeDirections})})):null}))}),H=t=>typeof t=="string",zs=()=>{let t,e;const n=new Promise((r,s)=>{t=r,e=s});return n.resolve=t,n.reject=e,n},tp=t=>t==null?"":""+t,Yb=(t,e,n)=>{t.forEach(r=>{e[r]&&(n[r]=e[r])})},Xb=/###/g,np=t=>t&&t.indexOf("###")>-1?t.replace(Xb,"."):t,rp=t=>!t||H(t),ii=(t,e,n)=>{const r=H(e)?e.split("."):e;let s=0;for(;s<r.length-1;){if(rp(t))return{};const i=np(r[s]);!t[i]&&n&&(t[i]=new n),Object.prototype.hasOwnProperty.call(t,i)?t=t[i]:t={},++s}return rp(t)?{}:{obj:t,k:np(r[s])}},sp=(t,e,n)=>{const{obj:r,k:s}=ii(t,e,Object);if(r!==void 0||e.length===1){r[s]=n;return}let i=e[e.length-1],o=e.slice(0,e.length-1),a=ii(t,o,Object);for(;a.obj===void 0&&o.length;)i=`${o[o.length-1]}.${i}`,o=o.slice(0,o.length-1),a=ii(t,o,Object),a!=null&&a.obj&&typeof a.obj[`${a.k}.${i}`]<"u"&&(a.obj=void 0);a.obj[`${a.k}.${i}`]=n},Zb=(t,e,n,r)=>{const{obj:s,k:i}=ii(t,e,Object);s[i]=s[i]||[],s[i].push(n)},ua=(t,e)=>{const{obj:n,k:r}=ii(t,e);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},e1=(t,e,n)=>{const r=ua(t,n);return r!==void 0?r:ua(e,n)},qg=(t,e,n)=>{for(const r in e)r!=="__proto__"&&r!=="constructor"&&(r in t?H(t[r])||t[r]instanceof String||H(e[r])||e[r]instanceof String?n&&(t[r]=e[r]):qg(t[r],e[r],n):t[r]=e[r]);return t},jr=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var t1={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const n1=t=>H(t)?t.replace(/[&<>
68"'\/]/g,e=>t1[e]):t;class r1{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const n=this.regExpMap.get(e);if(n!==void 0)return n;const r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}const s1=[" ",",","?","!",";"],i1=new r1(20),o1=(t,e,n)=>{e=e||"",n=n||"";const r=s1.filter(o=>e.indexOf(o)<0&&n.indexOf(o)<0);if(r.length===0)return!0;const s=i1.getRegExp(`(${r.map(o=>o==="?"?"\\?":o).join("|")})`);let i=!s.test(t);if(!i){const o=t.indexOf(n);o>0&&!s.test(t.substring(0,o))&&(i=!0)}return i},Fc=(t,e,n=".")=>{if(!t)return;if(t[e])return Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0;const r=e.split(n);let s=t;for(let i=0;i<r.length;){if(!s||typeof s!="object")return;let o,a="";for(let l=i;l<r.length;++l)if(l!==i&&(a+=n),a+=r[l],o=s[a],o!==void 0){if(["string","number","boolean"].indexOf(typeof o)>-1&&l<r.length-1)continue;i+=l-i+1;break}s=o}return s},Ni=t=>t==null?void 0:t.replace("_","-"),a1={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){var n,r;(r=(n=console==null?void 0:console[t])==null?void 0:n.apply)==null||r.call(n,console,e)}};class da{constructor(e,n={}){this.init(e,n)}init(e,n={}){this.prefix=n.prefix||"i18next:",this.logger=e||a1,this.options=n,this.debug=n.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,n,r,s){return s&&!this.debug?null:(H(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[n](e))}create(e){return new da(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new da(this.logger,e)}}var Wt=new da;class Ma{constructor(){this.observers={}}on(e,n){return e.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const s=this.observers[r].get(n)||0;this.observers[r].set(n,s+1)}),this}off(e,n){if(this.observers[e]){if(!n){delete this.observers[e];return}this.observers[e].delete(n)}}emit(e,...n){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([s,i])=>{for(let o=0;o<i;o++)s(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([s,i])=>{for(let o=0;o<i;o++)s.apply(s,[e,...n])})}}class ip extends Ma{constructor(e,n={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}getResource(e,n,r,s={}){var c,f;const i=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,o=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,n],r&&(Array.isArray(r)?a.push(...r):H(r)&&i?a.push(...r.split(i)):a.push(r)));const l=ua(this.data,a);return!l&&!n&&!r&&e.indexOf(".")>-1&&(e=a[0],n=a[1],r=a.slice(2).join(".")),l||!o||!H(r)?l:Fc((f=(c=this.data)==null?void 0:c[e])==null?void 0:f[n],r,i)}addResource(e,n,r,s,i={silent:!1}){const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let a=[e,n];r&&(a=a.concat(o?r.split(o):r)),e.indexOf(".")>-1&&(a=e.split("."),s=n,n=a[1]),this.addNamespaces(n),sp(this.data,a,s),i.silent||this.emit("added",e,n,r,s)}addResources(e,n,r,s={silent:!1}){for(const i in r)(H(r[i])||Array.isArray(r[i]))&&this.addResource(e,n,i,r[i],{silent:!0});s.silent||this.emit("added",e,n,r)}addResourceBundle(e,n,r,s,i,o={silent:!1,skipCopy:!1}){let a=[e,n];e.indexOf(".")>-1&&(a=e.split("."),s=r,r=n,n=a[1]),this.addNamespaces(n);let l=ua(this.data,a)||{};o.skipCopy||(r=JSON.parse(JSON.stringify(r))),s?qg(l,r,i):l={...l,...r}
68,sp(this.data,a,l),o.silent||this.emit("added",e,n,r)}removeResourceBundle(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit("removed",e,n)}hasResourceBundle(e,n){return this.getResource(e,n)!==void 0}getResourceBundle(e,n){return n||(n=this.options.defaultNS),this.getResource(e,n)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const n=this.getDataByLanguage(e);return!!(n&&Object.keys(n)||[]).find(s=>n[s]&&Object.keys(n[s]).length>0)}toJSON(){return this.data}}var Ug={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,n,r,s){return t.forEach(i=>{var o;e=((o=this.processors[i])==null?void 0:o.process(e,n,r,s))??e}),e}};const Bg=Symbol("i18next/PATH_KEY");function l1(){const t=[],e=Object.create(null);let n;return e.get=(r,s)=>{var i;return(i=n==null?void 0:n.revoke)==null||i.call(n),s===Bg?t:(t.push(s),n=Proxy.revocable(r,e),n.proxy)},Proxy.revocable(Object.create(null),e).proxy}function qc(t,e){const{[Bg]:n}=t(l1());return n.join((e==null?void 0:e.keySeparator)??".")}const op={},Cl=t=>!H(t)&&typeof t!="boolean"&&typeof t!="number";class fa extends Ma{constructor(e,n={}){super(),Yb(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
68i18nFormat","utils"],e,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Wt.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,n={interpolation:{}}){const r={...n};if(e==null)return!1;const s=this.resolve(e,r);if((s==null?void 0:s.res)===void 0)return!1;const i=Cl(s.res);return!(r.returnObjects===!1&&i)}extractFromKey(e,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let i=n.ns||this.options.defaultNS||[];const o=r&&e.indexOf(r)>-1,a=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!o1(e,r,s);if(o&&!a){const l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:H(i)?[i]:i};const c=e.split(r);(r!==s||r===s&&this.options.ns.indexOf(c[0])>-1)&&(i=c.shift()),e=c.join(s)}return{key:e,namespaces:H(i)?[i]:i}}translate(e,n,r){let s=typeof n=="object"?{...n}:n;if(typeof s!="object"&&this.options.overloadTranslationOptionHandler&&(s=this.options.overloadTranslationOptionHandler(arguments)),typeof s=="object"&&(s={...s}),s||(s={}),e==null)return"";typeof e=="function"&&(e=qc(e,{...this.options,...s})),Array.isArray(e)||(e=[String(e)]);const i=s.returnDetails!==void 0?s.returnDetails:this.options.returnDetails,o=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,{key:a,namespaces:l}=this.extractFromKey(e[e.length-1],s),c=l[l.length-1];let f=s.nsSeparator!==void 0?s.nsSeparator:this.options.nsSeparator;f===void 0&&(f=":");const u=s.lng||this.language,p=s.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((u==null?void 0:u.toLowerCase())==="cimode")return p?i?{res:`${c}${f}${a}`,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(s)}:`${c}${f}${a}`:i?{res:a,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(s)}:a;const y=this.resolve(e,s);let v=y==null?void 0:y.res;const w=(y==null?void 0:y.usedKey)||a,S=(y==null?void 0:y.exactUsedKey)||a,m=["[object Number]","[object Function]","[object RegExp]"],h=s.joinArrays!==void 0?s.joinArrays:this.options.joinArrays,g=!this.i18nFormat||this.i18nFormat.handleAsObject,b=s.count!==void 0&&!H(s.count),C=fa.hasDefaultValue(s),P=b?this.pluralResolver.getSuffix(u,s.count,s):"",E=s.ordinal&&b?this.pluralResolver.getSuffix(u,s.count,{ordinal:!1}):"",j=b&&!s.ordinal&&s.count===0,U=j&&s[`defaultValue${this.options.pluralSeparator}zero`]||s[`defaultValue${P}`]||s[`defaultValue${E}`]||s.defaultValue;let A=v;g&&!v&&C&&(A=U);const W=Cl(A),R=Object.prototype.toString.apply(A);if(g&&A&&W&&m.indexOf(R)<0&&!(H(h)&&Array.isArray(A))){if(!s.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const O=this.options.returnedObjectHandler?this.options.returnedObjectHandler(w,A,{...s,ns:l}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(y.res=O,y.usedParams=this.getUsedParamsDetails(s),y):O}if(o){const O=Array.isArray(A),F=O?[]:{},se=O?S:w;for(const M in A)if(Object.prototype.hasOwnProperty.call(A,M)){const K=`${se}${o}${M}`;C&&!v?F[M]=this.translate(K,{...s,defaultValue:Cl(U)?U[M]:void 0,joinArrays:!1,ns:l}):F[M]=this.translate(K,{...s,joinArrays:!1,ns:l}),F[M]===K&&(F[M]=A[M])}v=F}}else if(g&&H(h)&&Array.isArray(v))v=v.join(h),v&&(v=this.extendTranslation(v,e,s,r));else{let O=!1,F=!1;!this.isValidLookup(v)&&C&&(O=!0,v=U),this.isValidLookup(v)||(F=!0,v=a);const M=(s.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&F?void 0:v,K=C&&U!==v&&this.options.updateMissing;if(F||O||K){if(this.logger.log(K?"updateKey":"missingKey",u,c,a,K?U:v),o){const I=this.resolve(a,{...s,keySeparator:!1});I&&I.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let _=[];const z=this.languageUtils.getFallbackCodes(this.options.fallbackLng,s.lng||this.language);if(this.options.saveMissingTo==="fallback"&&z&&z[0])for(let I=0;I<z.length;
vendor: 27,379 bytes, line 68
68I++)_.push(z[I]);else this.options.saveMissingTo==="all"?_=this.languageUtils.toResolveHierarchy(s.lng||this.language):_.push(s.lng||this.language);const q=(I,ie,B)=>{var D;const ne=C&&B!==v?B:M;this.options.missingKeyHandler?this.options.missingKeyHandler(I,c,ie,ne,K,s):(D=this.backendConnector)!=null&&D.saveMissing&&this.backendConnector.saveMissing(I,c,ie,ne,K,s),this.emit("missingKey",I,c,ie,v)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?_.forEach(I=>{const ie=this.pluralResolver.getSuffixes(I,s);j&&s[`defaultValue${this.options.pluralSeparator}zero`]&&ie.indexOf(`${this.options.pluralSeparator}zero`)<0&&ie.push(`${this.options.pluralSeparator}zero`),ie.forEach(B=>{q([I],a+B,s[`defaultValue${B}`]||U)})}):q(_,a,U))}v=this.extendTranslation(v,e,s,y,r),F&&v===a&&this.options.appendNamespaceToMissingKey&&(v=`${c}${f}${a}`),(F||O)&&this.options.parseMissingKeyHandler&&(v=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}${f}${a}`:a,O?v:void 0,s))}return i?(y.res=v,y.usedParams=this.getUsedParamsDetails(s),y):v}extendTranslation(e,n,r,s,i){var l,c;if((l=this.i18nFormat)!=null&&l.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const f=H(e)&&(((c=r==null?void 0:r.interpolation)==null?void 0:c.skipOnVariables)!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let u;if(f){const y=e.match(this.interpolator.nestingRegexp);u=y&&y.length}let p=r.replace&&!H(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),e=this.interpolator.interpolate(e,p,r.lng||this.language||s.usedLng,r),f){const y=e.match(this.interpolator.nestingRegexp),v=y&&y.length;u<v&&(r.nest=!1)}!r.lng&&s&&s.res&&(r.lng=this.language||s.usedLng),r.nest!==!1&&(e=this.interpolator.nest(e,(...y)=>(i==null?void 0:i[0])===y[0]&&!r.context?(this.logger.warn(`It seems you are nesting recursively key: ${y[0]} in key: ${n[0]}`),null):this.translate(...y,n),r)),r.interpolation&&this.interpolator.reset()}const o=r.postProcess||this.options.postProcess,a=H(o)?[o]:o;return e!=null&&(a!=null&&a.length)&&r.applyPostProcessor!==!1&&(e=Ug.handle(a,e,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...s,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e,n={}){let r,s,i,o,a;return H(e)&&(e=[e]),e.forEach(l=>{if(this.isValidLookup(r))return;const c=this.extractFromKey(l,n),f=c.key;s=f;let u=c.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));const p=n.count!==void 0&&!H(n.count),y=p&&!n.ordinal&&n.count===0,v=n.context!==void 0&&(H(n.context)||typeof n.context=="number")&&n.context!=="",w=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);u.forEach(S=>{var m,h;this.isValidLookup(r)||(a=S,!op[`${w[0]}-${S}`]&&((m=this.utils)!=null&&m.hasLoadedNamespace)&&!((h=this.utils)!=null&&h.hasLoadedNamespace(a))&&(op[`${w[0]}-${S}`]=!0,this.logger.warn(`key "${s}" for languages "${w.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),w.forEach(g=>{var P;if(this.isValidLookup(r))return;o=g;const b=[f];if((P=this.i18nFormat)!=null&&P.addLookupKeys)this.i18nFormat.addLookupKeys(b,f,g,S,n);else{let E;p&&(E=this.pluralResolver.getSuffix(g,n.count,n));const j=`${this.options.pluralSeparator}zero`,U=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(n.ordinal&&E.indexOf(U)===0&&b.push(f+E.replace(U,this.options.pluralSeparator)),b.push(f+E),y&&b.push(f+j)),v){const A=`${f}${this.options.contextSeparator||"_"}${n.context}`;b.push(A),p&&(n.ordinal&&E.indexOf(U)===0&&b.push(A+E.replace(U,this.options.pluralSeparator)),b.push(A+E),y&&b.push(A+j))}}let C;for(;C=b.pop();)this.isValidLookup(r)||(i=C,r=this.getResource(g,S,C,n))}))})}),{res:r,usedKey:s,exactUsedKey:i,usedLng:o,usedNS:a}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,n,r,s={}){var i;return(i=this.i18nFormat)!=null&&i.getResource?this.i18nFormat.getResource(e,n,r,s):this.resourceStore.getResource(e,n,r,s)}getUsedParamsDetails(e={}){const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!H(e.replace);let s=r?e.replace:e;if(r&&typeof e.count<"u"&&(s.count=e.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!r){s={...s};for(const i of n)delete s[i]}return s}static hasDefaultValue(e){const n="defaultValue";for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&n===r.substring(0,n.length)&&e[r]!==void 0)return!0;return!1}}class ap{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Wt.create("languageUtils")}getScriptPartFromCode(e){if(e=Ni(e),!e||e.indexOf("-")<0)return null;const n=e.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(e){if(e=Ni(e),!e||e.indexOf("-")<0)return e;const n=e.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(e){if(H(e)&&e.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(e)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let n;return e.forEach(r=>{if(n)return;const s=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(s))&&(n=s)}),!n&&this.options.supportedLngs&&e.forEach(r=>{if(n)return;const s=this.getScriptPartFromCode(r);if(this.isSupportedCode(s))return n=s;const i=this.getLanguagePartFromCode(r);if(this.isSupportedCode(i))return n=i;n=this.options.supportedLngs.find(o=>{if(o===i)return o;if(!(o.indexOf("-")<0&&i.indexOf("-")<0)&&(o.indexOf("-")>0&&i.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===i||o.indexOf(i)===0&&i.length>1))return o})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(e,n){if(!e)return[];if(typeof e=="function"&&(e=e(n)),H(e)&&(e=[e]),Array.isArray(e))return e;if(!n)return e.default||[];let r=e[n];return r||(r=e[this.getScriptPartFromCode(n)]),r||(r=e[this.formatLanguageCode(n)]),r||(r=e[this.getLanguagePartFromCode(n)]),r||(r=e.default),r||[]}toResolveHierarchy(e,n){const r=this.getFallbackCodes((n===!1?[]:n)||this.options.fallbackLng||[],e),s=[],i=o=>{o&&(this.isSupportedCode(o)?s.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return H(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(e))):H(e)&&i(this.formatLanguageCode(e)),r.forEach(o=>{s.indexOf(o)<0&&i(this.formatLanguageCode(o))}),s}}const lp={zero:0,one:1,two:2,few:3,many:4,other:5},cp={select:t=>t===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class c1{constructor(e,n={}){this.languageUtils=e,this.options=n,this.logger=Wt.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,n={}){const r=Ni(e==="dev"?"en":e),s=n.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:r,type:s});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let o;try{o=new Intl.PluralRules(r,{type:s})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),cp;if(!e.match(/-|_/))return cp;const l=this.languageUtils.getLanguagePartFromCode(e);o=this.getRule(l,n)}return this.pluralRulesCache[i]=o,o}needsPlural(e,n={}){let r=this.getRule(e,n);return r||(r=this.getRule("dev",n)),(r==null?void 0:r.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(e,n,r={}){return this.getSuffixes(e,r).map(s=>`${n}${s}`)}getSuffixes(e,n={}){let r=this.getRule(e,n);return r||(r=this.getRule("dev",n)),r?r.resolvedOptions().pluralCategories.sort((s,i)=>lp[s]-lp[i]).map(s=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${s}`):[]}getSuffix(e,n,r={}){const s=this.getRule(e,r);return s?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${s.select(n)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",n,r))}}const up=(t,e,n,r=".",s=!0)=>{let i=e1(t,e,n);return!i&&s&&H(n)&&(i=Fc(t,n,r),i===void 0&&(i=Fc(e,n,r))),i},Pl=t=>t.replace(/\$/g,"$$$$");class dp{constructor(e={}){var n;this.logger=Wt.create("interpolator"),this.options=e,this.format=((n=e==null?void 0:e.interpolation)==null?void 0:n.format)||(r=>r),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:s,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:l,formatSeparator:c,unescapeSuffix:f,unescapePrefix:u,nestingPrefix:p,nestingPrefixEscaped:y,nestingSuffix:v,nestingSuffixEscaped:w,nestingOptionsSeparator:S,maxReplaces:m,alwaysFormat:h}=e.interpolation;this.escape=n!==void 0?n:n1,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=s!==void 0?s:!1,this.prefix=i?jr(i):o||"{{",this.suffix=a?jr(a):l||"}}",this.formatSeparator=c||",",this.unescapePrefix=f?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":f||"",this.nestingPrefix=p?jr(p):y||jr("$t("),this.nestingSuffix=v?jr(v):w||jr(")"),this.nestingOptionsSeparator=S||",",this.maxReplaces=m||1e3,this.alwaysFormat=h!==void 0?h:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(n,r)=>(n==null?void 0:n.source)===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,n,r,s){var y;let i,o,a;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=v=>{if(v.indexOf(this.formatSeparator)<0){const h=up(n,l,v,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(h,void 0,r,{...s,...n,interpolationkey:v}):h}const w=v.split(this.formatSeparator),S=w.shift().trim(),m=w.join(this.formatSeparator).trim();return this.format(up(n,l,S,this.options.keySeparator,this.options.ignoreJSONStructure),m,r,{...s,...n,interpolationkey:S})};this.resetRegExp();const f=(s==null?void 0:s.missingInterpolationHandler)||this.options.missingInterpolationHandler,u=((y=s==null?void 0:s.interpolation)==null?void 0:y.skipOnVariables)!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:v=>Pl(v)},{regex:this.regexp,safeValue:v=>this.escapeValue?Pl(this.escape(v)):Pl(v)}].forEach(v=>{for(a=0;i=v.regex.exec(e);){const w=i[1].trim();if(o=c(w),o===void 0)if(typeof f=="function"){const m=f(e,i,s);o=H(m)?m:""}else if(s&&Object.prototype.hasOwnProperty.call(s,w))o="";else if(u){o=i[0];continue}else this.logger.warn(`missed to pass in variable ${w} for interpolating ${e}`),o="";else!H(o)&&!this.useRawValueToEscape&&(o=tp(o));const S=v.safeValue(o);if(e=e.replace(i[0],S),u?(v.regex.lastIndex+=o.length,v.regex.lastIndex-=i[0].length):v.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),e}nest(e,n,r={}){let s,i,o;const a=(l,c)=>{const f=this.nestingOptionsSeparator;if(l.indexOf(f)<0)return l;const u=l.split(new RegExp(`${f}[ ]*{`));let p=`{${u[1]}`;l=u[0],p=this.interpolate(p,o);const y=p.match(/'/g),v=p.match(/"/g);(((y==null?void 0:y.length)??0)%2===0&&!v||v.length%2!==0)&&(p=p.replace(/'/g,'"'));try{o=JSON.parse(p),c&&(o={...c,...o})}catch(w){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,w),`${l}${f}${p}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,l};for(;s=this.nestingRegexp.exec(e);){let l=[];o={...r},o=o.replace&&!H(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;const c=/{.*}/.test(s[1])?s[1].lastIndexOf("}")+1:s[1].indexOf(this.formatSeparator);if(c!==-1&&(l=s[1].slice(c).split(this.formatSeparator).map(f=>f.trim()).filter(Boolean),s[1]=s[1].slice(0,c)),i=n(a.call(this,s[1].trim(),o),o),i&&s[0]===e&&!H(i))return i;H(i)||(i=tp(i)),i||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`),i=""),l.length&&(i=l.reduce((f,u)=>this.format(f,u,r.lng,{...r,interpolationkey:s[1].trim()}),i.trim())),e=e.replace(s[0],i),this.regexp.lastIndex=0}return e}}const u1=t=>{let e=t.toLowerCase().trim();const n={};if(t.indexOf("(")>-1){const r=t.split("(");e=r[0].toLowerCase().trim();const s=r[1].substring(0,r[1].length-1);e==="currency"&&s.indexOf(":")<0?n.currency||(n.currency=s.trim()):e==="relativetime"&&s.indexOf(":")<0?n.range||(n.range=s.trim()):s.split(";").forEach(o=>{if(o){const[a,...l]=o.split(":"),c=l.join(":").trim().replace(/^'+|'+$/g,""),f=a.trim();n[f]||(n[f]=c),c==="false"&&(n[f]=!1),c==="true"&&(n[f]=!0),isNaN(c)||(n[f]=parseInt(c,10))}})}return{formatName:e,formatOptions:n}},fp=t=>{const e={};return(n,r,s)=>{let i=s;s&&s.interpolationkey&&s.formatParams&&s.formatParams[s.interpolationkey]&&s[s.interpolationkey]&&(i={...i,[s.interpolationkey]:void 0});const o=r+JSON.stringify(i);let a=e[o];return a||(a=t(Ni(r),s),e[o]=a),a(n)}},d1=t=>(e,n,r)=>t(Ni(n),r)(e);class f1{constructor(e={}){this.logger=Wt.create("formatter"),this.options=e,this.init(e)}init(e,n={interpolation:{}}){this.formatSeparator=n.interpolation.formatSeparator||",";const r=n.cacheInBuiltFormats?fp:d1;this.formats={number:r((s,i)=>{const o=new Intl.NumberFormat(s,{...i});return a=>o.format(a)}),currency:r((s,i)=>{const o=new Intl.NumberFormat(s,{...i,style:"currency"});return a=>o.format(a)}),datetime:r((s,i)=>{const o=new Intl.DateTimeFormat(s,{...i});return a=>o.format(a)}),relativetime:r((s,i)=>{const o=new Intl.RelativeTimeFormat(s,{...i});return a=>o.format(a,i.range||"day")}),list:r((s,i)=>{const o=new Intl.ListFormat(s,{...i});return a=>o.format(a)})}}add(e,n){this.formats[e.toLowerCase().trim()]=n}addCached(e,n){this.formats[e.toLowerCase().trim()]=fp(n)}format(e,n,r,s={}){const i=n.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(a=>a.indexOf(")")>-1)){const a=i.findIndex(l=>l.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,a)].join(this.formatSeparator)}return i.reduce((a,l)=>{var u;const{formatName:c,formatOptions:f}=u1(l);if(this.formats[c]){let p=a;try{const y=((u=s==null?void 0:s.formatParams)==null?void 0:u[s.interpolationkey])||{},v=y.locale||y.lng||s.locale||s.lng||r;p=this.formats[c](a,v,{...f,...s,...y})}catch(y){this.logger.warn(y)}return p}else this.logger.warn(`there was no format function for ${c}`);return a},e)}}const p1=(t,e)=>{t.pending[e]!==void 0&&(delete t.pending[e],t.pendingCount--)};class h1 extends Ma{constructor(e,n,r,s={}){var i,o;super(),this.backend=e,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=s,this.logger=Wt.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],(o=(i=this.backend)==null?void 0:i.init)==null||o.call(i,r,s.backend,s)}queueLoad(e,n,r,s){const i={},o={},a={},l={};return e.forEach(c=>{let f=!0;n.forEach(u=>{const p=`${c}|${u}`;!r.reload&&this.store.hasResourceBundle(c,u)?this.state[p]=2:this.state[p]<0||(this.state[p]===1?o[p]===void 0&&(o[p]=!0):(this.state[p]=1,f=!1,o[p]===void 0&&(o[p]=!0),i[p]===void 0&&(i[p]=!0),l[u]===void 0&&(l[u]=!0)))}),f||(a[c]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(l)}}loaded(e,n,r){const s=e.split("|"),i=s[0],o=s[1];n&&this.emit("failedLoading",i,o,n),!n&&r&&this.store.addResourceBundle(i,o,r,void 0,void 0,{skipCopy:!0}),this.state[e]=n?-1:2,n&&r&&(this.state[e]=0);const a={};this.queue.forEach(l=>{Zb(l.loaded,[i],o),p1(l,e),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(c=>{a[c]||(a[c]={});const f=l.loaded[c];f.length&&f.forEach(u=>{a[c][u]===void 0&&(a[c][u]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(l=>!l.done)}read(e,n,r,s=0,i=this.retryTimeout,o){if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:n,fcName:r,tried:s,wait:i,callback:o});return}this.readingCalls++;const a=(c,f)=>{if(this.readingCalls--,this.waitingReads.length>0){const u=this.waitingReads.shift();this.read(u.lng,u.ns,u.fcName,u.tried,u.wait,u.callback)}if(c&&f&&s<this.maxRetries){setTimeout(()=>{this.read.call(this,e,n,r,s+1,i*2,o)},i);return}o(c,f)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const c=l(e,n);c&&typeof c.then=="function"?c.then(f=>a(null,f)).catch(a):a(null,c)}catch(c){a(c)}return}return l(e,n,a)}prepareLoading(e,n,r={},s){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();H(e)&&(e=this.languageUtils.toResolveHierarchy(e)),H(n)&&(n=[n]);const i=this.queueLoad(e,n,r,s);if(!i.toLoad.length)return i.pending.length||s(),null;i.toLoad.forEach(o=>{this.loadOne(o)})}load(e,n,r){this.prepareLoading(e,n,{},r)}reload(e,n,r){this.prepareLoading(e,n,{reload:!0},r)}loadOne(e,n=""){const r=e.split("|"),s=r[0],i=r[1];this.read(s,i,"read",void 0,void 0,(o,a)=>{o&&this.logger.warn(`${n}loading namespace ${i} for language ${s} failed`,o),!o&&a&&this.logger.log(`${n}loaded namespace ${i} for language ${s}`,a),this.loaded(e,o,a)})}saveMissing(e,n,r,s,i,o={},a=()=>{}){var l,c,f,u,p;if((c=(l=this.services)==null?void 0:l.utils)!=null&&c.hasLoadedNamespace&&!((u=(f=this.services)==null?void 0:f.utils)!=null&&u.hasLoadedNamespace(n))){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if((p=this.backend)!=null&&p.create){const y={...o,isUpdate:i},v=this.backend.create.bind(this.backend);if(v.length<6)try{let w;v.length===5?w=v(e,n,r,s,y):w=v(e,n,r,s),w&&typeof w.then=="function"?w.then(S=>a(null,S)).catch(a):a(null,w)}catch(w){a(w)}else v(e,n,r,s,a,y)}!e||!e[0]||this.store.addResource(e[0],n,r,s)}}}const El=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:t=>{let e={};if(typeof t[1]=="object"&&(e=t[1]),H(t[1])&&(e.defaultValue=t[1]),H(t[2])&&(e.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const n=t[3]||t[2];Object.keys(n).forEach(r=>{e[r]=n[r]})}return e},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),pp=t=>{var e,n;return H(t.ns)&&(t.ns=[t.ns]),H(t.fallbackLng)&&(t.fallbackLng=[t.fallbackLng]),H(t.fallbackNS)&&(t.fallbackNS=[t.fallbackNS]),((n=(e=t.supportedLngs)==null?void 0:e.indexOf)==null?void 0:n.call(e,"cimode"))<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),typeof t.initImmediate=="boolean"&&(t.initAsync=t.initImmediate),t},mo=()=>{},m1=t=>{Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(n=>{typeof t[n]=="function"&&(t[n]=t[n].bind(t))})};class oi extends Ma{constructor(e={},n){if(super(),this.options=pp(e),this.services={},this.logger=Wt,this.modules={external:[]},m1(this),n&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,n),this;setTimeout(()=>{this.init(e,n)},0)}}init(e={},n){this.isInitializing=!0,typeof e=="function"&&(n=e,e={}),e.defaultNS==null&&e.ns&&(H(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const r=El();this.options={...r,...this.options,...pp(e)},this.options.interpolation={...r.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=r.overloadTranslationOptionHandler),this.options.debug===!0&&typeof console<"u"&&console.warn("i18next is maintained with support from locize.com â consider powering your project with managed localization (AI, CDN, integrations): https://locize.com");const s=c=>c?typeof c=="function"?new c:c:null;if(!this.options.isClone){this.modules.logger?Wt.init(s(this.modules.logger),this.options):Wt.init(null,this.options);let c;this.modules.formatter?c=this.modules.formatter:c=f1;const f=new ap(this.options);this.store=new ip(this.options.resources,this.options);const u=this.services;u.logger=Wt,u.resourceStore=this.store,u.languageUtils=f,u.pluralResolver=new c1(f,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),c&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(u.formatter=s(c),u.formatter.init&&u.formatter.init(u,this.options),this.options.interpolation.format=u.formatter.format.bind(u.formatter)),u.interpolator=new dp(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new h1(s(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",(y,...v)=>{this.emit(y,...v)}),this.modules.languageDetector&&(u.languageDetector=s(this.modules.languageDetector),u.languageDetector.init&&u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=s(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new fa(this.services,this.options),this.translator.on("*",(y,...v)=>{this.emit(y,...v)}),this.modules.external.forEach(y=>{y.init&&y.init(this)})}if(this.format=this.options.interpolation.format,n||(n=mo),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&c[0]!=="dev"&&(this.options.lng=c[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(c=>{this[c]=(...f)=>this.store[c](...f)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(c=>{this[c]=(...f)=>(this.store[c](...f),this)});const a=zs(),l=()=>{const c=(f,u)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(u),n(f,u)};if(this.languages&&!this.isInitialized)return c(null,this.t.bind(this));this.changeLanguage(this.options.lng,c)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),a}loadResources(e,n=mo){var i,o;let r=n;const s=H(e)?e:this.language;if(typeof e=="function"&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if((s==null?void 0:s.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const a=[],l=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(u=>{u!=="cimode"&&a.indexOf(u)<0&&a.push(u)})};s?l(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(f=>l(f)),(o=(i=this.options.preload)==null?void 0:i.forEach)==null||o.call(i,c=>l(c)),this.services.backendConnector.load(a,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(c)})}else r(null)}reloadResources(e,n,r){const s=zs();return typeof e=="function"&&(r=e,e=void 0),typeof n=="function"&&(r=n,n=void 0),e||(e=this.languages),n||(n=this.options.ns),r||(r=mo),this.services.backendConnector.reload(e,n,i=>{s.resolve(),r(i)}),s}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&Ug.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1)){for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,n){this.isLanguageChangingTo=e;const r=zs();
vendor: 2,135 bytes, line 68
68this.emit("languageChanging",e);const s=a=>{this.language=a,this.languages=this.services.languageUtils.toResolveHierarchy(a),this.resolvedLanguage=void 0,this.setResolvedLanguage(a)},i=(a,l)=>{l?this.isLanguageChangingTo===e&&(s(l),this.translator.changeLanguage(l),this.isLanguageChangingTo=void 0,this.emit("languageChanged",l),this.logger.log("languageChanged",l)):this.isLanguageChangingTo=void 0,r.resolve((...c)=>this.t(...c)),n&&n(a,(...c)=>this.t(...c))},o=a=>{var f,u;!e&&!a&&this.services.languageDetector&&(a=[]);const l=H(a)?a:a&&a[0],c=this.store.hasLanguageSomeTranslations(l)?l:this.services.languageUtils.getBestMatchFromCodes(H(a)?[a]:a);c&&(this.language||s(c),this.translator.language||this.translator.changeLanguage(c),(u=(f=this.services.languageDetector)==null?void 0:f.cacheUserLanguage)==null||u.call(f,c)),this.loadResources(c,p=>{i(p,c)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?o(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(e),r}getFixedT(e,n,r){const s=(i,o,...a)=>{let l;typeof o!="object"?l=this.options.overloadTranslationOptionHandler([i,o].concat(a)):l={...o},l.lng=l.lng||s.lng,l.lngs=l.lngs||s.lngs,l.ns=l.ns||s.ns,l.keyPrefix!==""&&(l.keyPrefix=l.keyPrefix||r||s.keyPrefix);const c=this.options.keySeparator||".";let f;return l.keyPrefix&&Array.isArray(i)?f=i.map(u=>(typeof u=="function"&&(u=qc(u,{...this.options,...o})),`${l.keyPrefix}${c}${u}`)):(typeof i=="function"&&(i=qc(i,{...this.options,...o})),f=l.keyPrefix?`${l.keyPrefix}${c}${i}`:i),this.t(f,l)};return H(e)?s.lng=e:s.lngs=e,s.ns=n,s.keyPrefix=r,s}t(...e){var n;return(n=this.translator)==null?void 0:n.translate(...e)}exists(...e){var n;return(n=this.translator)==null?void 0:n.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,n={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
68if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const o=(a,l)=>{const c=this.services.backendConnector.state[`${a}|${l}`];return c===-1||c===0||c===2};if(n.precheck){const a=n.precheck(this,o);if(a!==void 0)return a}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,e)&&(!s||o(i,e)))}loadNamespaces(e,n){const r=zs();return this.options.ns?(H(e)&&(e=[e]),e.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{r.resolve(),n&&n(s)}),r):(n&&n(),Promise.resolve())}loadLanguages(e,n){const r=zs();H(e)&&(e=[e]);const s=this.options.preload||[],i=e.filter(o=>s.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return i.length?(this.options.preload=s.concat(i),this.loadResources(o=>{r.resolve(),n&&n(o)}),r):(n&&n(),Promise.resolve())}dir(e){var s,i;if(e||(e=this.resolvedLanguage||(((s=this.languages)==null?void 0:s.length)>0?this.languages[0]:this.language)),!e)return"rtl";try{const o=new Intl.Locale(e);if(o&&o.getTextInfo){const a=o.getTextInfo();if(a&&a.direction)return a.direction}}catch{}const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=((i=this.services)==null?void 0:i.languageUtils)||new ap(El());return e.toLowerCase().indexOf("-latn")>1?"ltr":n.indexOf(r.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},n){const r=new oi(e,n);return r.createInstance=oi.createInstance,r}cloneInstance(e={},n=mo){const r=e.forkResourceStore;r&&delete e.forkResourceStore;const s={...this.options,...e,isClone:!0},i=new oi(s);if((e.debug!==void 0||e.prefix!==void 0)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(a=>{i[a]=this[a]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r){const a=Object.keys(this.store.data).reduce((l,c)=>(l[c]={...this.store.data[c]},l[c]=Object.keys(l[c]).reduce((f,u)=>(f[u]={...l[c][u]},f),l[c]),l),{});i.store=new ip(a,s),i.services.resourceStore=i.store}if(e.interpolation){const l={...El().interpolation,...this.options.interpolation,...e.interpolation},c={...s,interpolation:l};i.services.interpolator=new dp(c)}return i.translator=new fa(i.services,s),i.translator.on("*",(a,...l)=>{i.emit(a,...l)}),i.init(s,n),i.translator.options=s,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Ze=oi.createInstance();Ze.createInstance;Ze.dir;Ze.init;Ze.loadResources;Ze.reloadResources;Ze.use;Ze.changeLanguage;Ze.getFixedT;Ze.t;Ze.exists;Ze.setDefaultNamespace;Ze.hasLoadedNamespace;Ze.loadNamespaces;Ze.loadLanguages;const g1=(t,e,n,r)=>{var i,o,a,l;const s=[n,{code:e,...r||{}}];if((o=(i=t==null?void 0:t.services)==null?void 0:i.logger)!=null&&o.forward)return t.services.logger.forward(s,"warn","react-i18next::",!0);kr(s[0])&&(s[0]=`react-i18next:: ${s[0]}`),(l=(a=t==null?void 0:t.services)==null?void 0:a.logger)!=null&&l.warn?t.services.logger.warn(...s):console!=null&&console.warn&&console.warn(...s)},hp={},Vg=(t,e,n,r)=>{kr(n)&&hp[n]||(kr(n)&&(hp[n]=new Date),g1(t,e,n,r))},Hg=(t,e)=>()=>{if(t.isInitialized)e();else{const n=()=>{setTimeout(()=>{t.off("initialized",n)},0),e()};t.on("initialized",n)}},Uc=(t,e,n)=>{t.loadNamespaces(e,Hg(t,n))},mp=(t,e,n,r)=>{if(kr(n)&&(n=[n]),t.options.preload&&t.options.preload.indexOf(e)>-1)return Uc(t,n,r);
68n.forEach(s=>{t.options.ns.indexOf(s)<0&&t.options.ns.push(s)}),t.loadLanguages(e,Hg(t,r))},y1=(t,e,n={})=>!e.languages||!e.languages.length?(Vg(e,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:e.languages}),!0):e.hasLoadedNamespace(t,{lng:n.lng,precheck:(r,s)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!s(r.isLanguageChangingTo,t))return!1}}),kr=t=>typeof t=="string",v1=t=>typeof t=="object"&&t!==null,w1=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,x1={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"â¦","…":"â¦","/":"/","/":"/"},b1=t=>x1[t],S1=t=>t.replace(w1,b1);let Bc={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:S1,transDefaultProps:void 0};const k1=(t={})=>{Bc={...Bc,...t}},C1=()=>Bc;let Gg;const P1=t=>{Gg=t},E1=()=>Gg,T1={type:"3rdParty",init(t){k1(t.options.react),P1(t)}},A1=x.createContext();class N1{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var Wg={exports:{}},Qg={};/** 69 * @license React 70 * use-sync-external-store-shim.production.js 71 * 72 * Copyright (c) Meta Platforms, Inc. and affiliates. 73 * 74 * This source code is licensed under the MIT license found in the 75 * LICENSE file in the root directory of this source tree. 76 */var ws=x;function _1(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var D1=typeof Object.is=="function"?Object.is:_1,j1=ws.useState,O1=ws.useEffect,L1=ws.useLayoutEffect,R1=ws.useDebugValue;function M1(t,e){var n=e(),r=j1({inst:{value:n,getSnapshot:e}}),s=r[0].inst,i=r[1];return L1(function(){s.value=n,s.getSnapshot=e,Tl(s)&&i({inst:s})},[t,n,e]),O1(function(){return Tl(s)&&i({inst:s}),t(function(){Tl(s)&&i({inst:s})})},[t]),R1(n),n}function Tl(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!D1(t,n)}catch{return!0}}function I1(t,e){return e()}var $1=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?I1:M1;Qg.useSyncExternalStore=ws.useSyncExternalStore!==void 0?ws.useSyncExternalStore:$1;Wg.exports=Qg;var Kg=Wg.exports;const z1=(t,e)=>kr(e)?e:v1(e)&&kr(e.defaultValue)?e.defaultValue:Array.isArray(t)?t[t.length-1]:t,F1={t:z1,ready:!1},q1=()=>()=>{},qi=(t,e={})=>{var U,A,W;const{i18n:n}=e,{i18n:r,defaultNS:s}=x.useContext(A1)||{},i=n||r||E1();i&&!i.reportNamespaces&&(i.reportNamespaces=new N1),i||Vg(i,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const o=x.useMemo(()=>{var R;return{...C1(),...(R=i==null?void 0:i.options)==null?void 0:R.react,...e}},[i,e]),{useSuspense:a,keyPrefix:l}=o,c=t||s||((U=i==null?void 0:i.options)==null?void 0:U.defaultNS),f=kr(c)?[c]:c||["translation"],u=x.useMemo(()=>f,f);(W=(A=i==null?void 0:i.reportNamespaces)==null?void 0:A.addUsedNamespaces)==null||W.call(A,u);const p=x.useRef(0),y=x.useCallback(R=>{if(!i)return q1;const{bindI18n:O,bindI18nStore:F}=o,se=()=>{p.current+=1,R()};return O&&i.on(O,se),F&&i.store.on(F,se),()=>{O&&O.split(" ").forEach(M=>i.off(M,se)),F&&F.split(" ").forEach(M=>i.store.off(M,se))}},[i,o]),v=x.useRef(),w=x.useCallback(()=>{if(!i)return F1;const R=!!(i.isInitialized||i.initializedStoreOnce)&&u.every(_=>y1(_,i,o)),O=e.lng||i.language,F=p.current,se=v.current;if(se&&se.ready===R&&se.lng===O&&se.keyPrefix===l&&se.revision===F)return se;const K={t:i.getFixedT(O,o.nsMode==="fallback"?u:u[0],l),ready:R,lng:O,keyPrefix:l,revision:F};return v.current=K,K},[i,u,l,o,e.lng]),[S,m]=x.useState(0),{t:h,ready:g}=Kg.useSyncExternalStore(y,w,w);x.useEffect(()=>{if(i&&!g&&!a){const R=()=>m(O=>O+1);e.lng?mp(i,e.lng,u,R):Uc(i,u,R)}},[i,e.lng,u,g,a,S]);const b=i||{},C=x.useRef(null),P=x.useRef(),E=R=>{const O=Object.getOwnPropertyDescriptors(R);O.__original&&delete O.__original;const F=Object.create(Object.getPrototypeOf(R),O);if(!Object.prototype.hasOwnProperty.call(F,"__original"))try{Object.defineProperty(F,"__original",{value:R,writable:!1,enumerable:!1,
76configurable:!1})}catch{}return F},j=x.useMemo(()=>{const R=b,O=R==null?void 0:R.language;let F=R;R&&(C.current&&C.current.__original===R?P.current!==O?(F=E(R),C.current=F,P.current=O):F=C.current:(F=E(R),C.current=F,P.current=O));const se=[h,F,g];return se.t=h,se.i18n=F,se.ready=g,se},[h,b,g,b.resolvedLanguage,b.language,b.languages]);if(i&&a&&!g)throw new Promise(R=>{const O=()=>R();e.lng?mp(i,e.lng,u,O):Uc(i,u,O)});return j},U1={theme:"system",setTheme:()=>null},Jg=x.createContext(U1);function B1({children:t,defaultTheme:e="system",storageKey:n="kiosk-ui-theme",...r}){const[s,i]=x.useState(()=>localStorage.getItem(n)||e);x.useEffect(()=>{const a=window.document.documentElement;if(a.classList.remove("light","dark"),s==="system"){const l=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";a.classList.add(l);return}a.classList.add(s)},[s]);const o={theme:s,setTheme:a=>{localStorage.setItem(n,a),i(a)}};return d.jsx(Jg.Provider,{...r,value:o,children:t})}const Yg=()=>{const t=x.useContext(Jg);if(t===void 0)throw new Error("useTheme must be used within a ThemeProvider");return t},V1={},gp=t=>{let e;const n=new Set,r=(f,u)=>{const p=typeof f=="function"?f(e):f;if(!Object.is(p,e)){const y=e;e=u??(typeof p!="object"||p===null)?p:Object.assign({},e,p),n.forEach(v=>v(e,y))}},s=()=>e,l={setState:r,getState:s,getInitialState:()=>c,subscribe:f=>(n.add(f),()=>n.delete(f)),destroy:()=>{(V1?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},c=e=t(r,s,l);return l},H1=t=>t?gp(t):gp;var Xg={exports:{}},Zg={};/** 77 * @license React 78 * use-sync-external-store-shim/with-selector.production.js 79 * 80 * Copyright (c) Meta Platforms, Inc. and affiliates. 81 * 82 * This source code is licensed under the MIT license found in the 83 * LICENSE file in the root directory of this source tree. 84 */var Ia=x,G1=Kg;function W1(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Q1=typeof Object.is=="function"?Object.is:W1,K1=G1.useSyncExternalStore,J1=Ia.useRef,Y1=Ia.useEffect,X1=Ia.useMemo,Z1=Ia.useDebugValue;Zg.useSyncExternalStoreWithSelector=function(t,e,n,r,s){var i=J1(null);if(i.current===null){var o={hasValue:!1,value:null};i.current=o}else o=i.current;i=X1(function(){function l(y){if(!c){if(c=!0,f=y,y=r(y),s!==void 0&&o.hasValue){var v=o.value;if(s(v,y))return u=v}return u=y}if(v=u,Q1(f,y))return v;var w=r(y);return s!==void 0&&s(v,w)?(f=y,v):(f=y,u=w)}var c=!1,f,u,p=n===void 0?null:n;return[function(){return l(e())},p===null?void 0:function(){return l(p())}]},[e,n,r,s]);var a=K1(t,i[0],i[1]);return Y1(function(){o.hasValue=!0,o.value=a},[a]),Z1(a),a};Xg.exports=Zg;var eS=Xg.exports;const tS=xs(eS),ey={},{useDebugValue:nS}=N,{useSyncExternalStoreWithSelector:rS}=tS;let yp=!1;const sS=t=>t;function iS(t,e=sS,n){(ey?"production":void 0)!=="production"&&n&&!yp&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),yp=!0);const r=rS(t.subscribe,t.getState,t.getServerState||t.getInitialState,e,n);return nS(r),r}const vp=t=>{(ey?"production":void 0)!=="production"&&typeof t!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const e=typeof t=="function"?H1(t):t,n=(r,s)=>iS(e,r,s);return Object.assign(n,e),n},$a=t=>t?vp(t):vp,tr="";class oS{constructor(){mt(this,"token",null);mt(this,"tenantContext",null);mt(this,"csrfToken",null)}setToken(e){this.token=e,e?localStorage.setItem("auth_token",e):(localStorage.removeItem("auth_token"),this.csrfToken=null)}getToken(){return this.token||(this.token=localStorage.getItem("auth_token")),this.token==="__cookie_auth__"?null:this.token}isAuthenticated(){return this.token||(this.token=localStorage.getItem("auth_token")),!!this.token}setTenantContext(e){this.tenantContext=e}getTenantContext(){return this.tenantContext}async fetchCsrfToken(){try{const e=await fetch(`${tr}/api/csrf-token`,{method:"GET",credentials:"include"});if(e.ok){const n=await e.json();
84this.csrfToken=n.csrfToken}}catch(e){console.warn("Failed to fetch CSRF token:",e)}}async request(e,n={}){const r={"Content-Type":"application/json"};if(n.headers){const a=n.headers;Object.assign(r,a)}const s=this.getToken();s&&(r.Authorization=`Bearer ${s}`),this.tenantContext&&(r["X-Tenant-Context"]=this.tenantContext);const i=(n.method||"GET").toUpperCase();["POST","PUT","PATCH","DELETE"].includes(i)&&this.csrfToken&&(r["X-CSRF-Token"]=this.csrfToken);const o=await fetch(`${tr}${e}`,{...n,headers:r,credentials:"include"});if(!o.ok){const a=await o.json().catch(()=>({message:"Request failed"}));throw new Error(a.message||`HTTP ${o.status}`)}return o.json()}async login(e){const n=await this.request("/api/auth/login",{method:"POST",body:JSON.stringify(e)});if(n.requires2FA)return{user:null,requires2FA:!0};if(n.data)return n.data.token?this.setToken(n.data.token):(localStorage.setItem("auth_token","__cookie_auth__"),this.token="__cookie_auth__"),await this.fetchCsrfToken(),{user:n.data.user};throw new Error("Invalid login response")}async register(e){const n=await this.request("/api/auth/register",{method:"POST",body:JSON.stringify(e)});return n.data.token?this.setToken(n.data.token):(localStorage.setItem("auth_token","__cookie_auth__"),this.token="__cookie_auth__"),await this.fetchCsrfToken(),{user:n.data.user}}async logout(){await this.request("/api/auth/logout",{method:"POST"}),this.setToken(null)}async getMe(){const e=await this.request("/api/auth/me");return this.csrfToken||await this.fetchCsrfToken(),e.data.user}async getGroups(){return this.request("/api/groups")}async createGroup(e){return this.request("/api/groups",{method:"POST",body:JSON.stringify(e)})}async updateGroup(e,n){return this.request(`/api/groups/${e}`,{method:"PATCH",body:JSON.stringify(n)})}async deleteGroup(e){return this.request(`/api/groups/${e}`,{method:"DELETE"})}async syncGroupPolicy(e,n){return this.request(`/api/groups/${e}/sync`,{method:"POST",body:JSON.stringify(n)})}async bulkAction(e,n){return this.request("/api/groups/bulk-action",{method:"POST",body:JSON.stringify({action:e,groupIds:n})})}async getTenants(e){const n=new URLSearchParams;e!=null&&e.search&&n.set("search",e.search),e!=null&&e.limit&&n.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&n.set("offset",e.offset.toString());const r=n.toString()?`?${n.toString()}`:"";return this.request(`/api/tenants${r}`)}async getTenant(e){return this.request(`/api/tenants/${e}`)}async updateTenant(e,n){return this.request(`/api/tenants/${e}`,{method:"PATCH",body:JSON.stringify(n)})}async suspendTenant(e,n){return this.request(`/api/tenants/${e}/suspend`,{method:"PATCH",body:JSON.stringify({suspended:n})})}async deleteTenant(e){return this.request(`/api/tenants/${e}`,{method:"DELETE"})}async resetUserPassword(e,n){return this.request(`/api/tenants/users/${e}/reset-password`,{method:"POST",body:JSON.stringify({newPassword:n})})}async getPlans(e=!1){const n=e?"?includeInactive=true":"";return this.request(`/api/plans${n}`)}async detectCurrency(){return this.request("/api/plans/detect-currency")}async getPlan(e){return this.request(`/api/plans/${e}`)}async createPlan(e){return this.request("/api/plans",{method:"POST",body:JSON.stringify(e)})}async updatePlan(e,n){return this.request(`/api/plans/${e}`,{method:"PATCH",body:JSON.stringify(n)})}async deletePlan(e){return this.request(`/api/plans/${e}`,{method:"DELETE"})}async assignPlanToTenant(e,n){return this.request(`/api/plans/${e}/assign/${n}`,{method:"POST"})}async getMySubscription(){return this.request("/api/plans/my-subscription")}async changePlan(e){return this.request("/api/plans/change",{method:"POST",body:JSON.stringify({planId:e})})}async updateMyCurrency(e){return this.request("/api/plans/my-currency",{method:"PATCH",body:JSON.stringify({currency:e})})}async getPolicies(e){const n=new URLSearchParams;e!=null&&e.search&&n.set("search",e.search),e!=null&&e.limit&&n.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&n.set("offset",e.offset.toString());const r=n.toString()?`?${n.toString()}`:"";return this.request(`/api/policies${r}`)}async getPolicy(e){return this.request(`/api/policies/${e}`)}async createPolicy(e){return this.request("/api/policies",{method:"POST",body:JSON.stringify(e)})}async updatePolicy(e,n){return this.request(`/api/policies/${e}`,{method:"PATCH",body:JSON.stringify(n)})}async deletePolicy(e){return this.request(`/api/policies/${e}`,{method:"DELETE"})}async duplicatePolicy(e){return this.request(`/api/policies/${e}/duplicate`,{method:"POST"})}async getApps(){return this.request("/api/apps")}async getApp(e){return this.request(`/api/apps/${e}`)}async uploadApp(e){const n=this.getToken(),r={};n&&(r.Authorization=`Bearer ${n}`),this.tenantContext&&(r["X-Tenant-Context"]=this.tenantContext),this.csrfToken&&(r["X-CSRF-Token"]=this.csrfToken);const s=await fetch(`${tr}/api/apps/upload`,{method:"POST",headers:r,body:e,credentials:"include"});if(!s.ok){const i=await s.json().catch(()=>({message:"Upload failed"}));throw new Error(i.message||`HTTP ${s.status}`)}return s.json()}async updateApp(e,n){return this.request(`/api/apps/${e}`,{method:"PATCH",body:JSON.stringify(n)})}async deleteApp(e){return this.request(`/api/apps/${e}`,{method:"DELETE"})}async deployApp(e,n){return this.request(`/api/apps/${e}/deploy`,{method:"POST",body:JSON.stringify({deviceIds:n})})}getAppDownloadUrl(e){return`${tr}/api/apps/${e}/download`}async getPolicyApps(e){return this.request(`/api/apps/policy/${e}`)}async assignAppToPolicy(e,n,r){return this.request(`/api/apps/policy/${e}/assign`,{method:"POST",body:JSON.stringify({appId:n,...r})})}async removeAppFromPolicy(e,n){return this.request(`/api/apps/policy/${e}/unassign/${n}`,{method:"DELETE"})}async getDevices(e){const n=new URLSearchParams;e!=null&&e.tenantId&&n.set("tenantId",e.tenantId),e!=null&&e.search&&n.set("search",e.search),e!=null&&e.limit&&n.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&n.set("offset",e.offset.toString());const r=n.toString()?`?${n.toString()}`:"";return this.request(`/api/devices${r}`)}async getDevice(e){return this.request(`/api/devices/${e}`)}async updateDevice(e,n){return this.request(`/api/devices/${e}`,{method:"PATCH",body:JSON.stringify(n)})}async lockDevice(e){return this.request(`/api/devices/${e}/lock`,{method:"POST"})}async unlockDevice(e){return this.request(`/api/devices/${e}/unlock`,{method:"POST"})}async deleteDevice(e){return this.request(`/api/devices/${e}`,{method:"DELETE"})}async assignDeviceToTenant(e,n){return this.request(`/api/devices/${e}/assign`,{method:"POST",body:JSON.stringify({tenantId:n})})}async assignDevicePolicy(e,n){return this.request(`/api/devices/${e}/policy`,{method:"PATCH",body:JSON.stringify({policyId:n})})}async rebootDevice(e){return this.request(`/api/devices/${e}/reboot`,{method:"POST"})}async wipeDevice(e,n=!1){return this.request(`/api/devices/${e}/wipe`,{method:"POST",body:JSON.stringify({wipeExternalStorage:n})})}async syncDevice(e){return this.request(`/api/devices/${e}/sync`,{method:"POST"})}async syncAllDevices(){return this.request("/api/devices/sync-all",{method:"POST"})}async getDeviceLocations(){return this.request("/api/devices/locations")}async getDeviceLocation(e){return this.request(`/api/devices/${e}/location`)}
84async getDeviceLocationHistory(e,n){const r=new URLSearchParams;n!=null&&n.limit&&r.set("limit",n.limit.toString()),n!=null&&n.since&&r.set("since",n.since.toString());const s=r.toString()?`?${r.toString()}`:"";return this.request(`/api/devices/${e}/location/history${s}`)}async getDashboardStats(){return this.request("/api/dashboard/stats")}async getSalesStats(e,n){const r=new URLSearchParams;e&&r.set("startDate",e.toString()),n&&r.set("endDate",n.toString());const s=r.toString()?`?${r.toString()}`:"";return this.request(`/api/dashboard/sales${s}`)}async getPlanFeatures(){return this.request("/api/dashboard/plan")}async getRecentActivity(){return this.request("/api/dashboard/recent-activity")}async getProfile(){return this.request("/api/auth/profile")}async updateProfile(e){return this.request("/api/auth/profile",{method:"PATCH",body:JSON.stringify(e)})}async changePassword(e){return this.request("/api/auth/change-password",{method:"POST",body:JSON.stringify(e)})}async uploadProfilePhoto(e){const n=new FormData;n.append("photo",e);const r=this.getToken(),s={};r&&(s.Authorization=`Bearer ${r}`),this.csrfToken&&(s["X-CSRF-Token"]=this.csrfToken);const i=await fetch(`${tr}/api/auth/profile/photo`,{method:"POST",headers:s,body:n,credentials:"include"});if(!i.ok){const o=await i.json().catch(()=>({message:"Upload failed"}));throw new Error(o.message||`HTTP ${i.status}`)}return i.json()}async deleteProfilePhoto(){return this.request("/api/auth/profile/photo",{method:"DELETE"})}async updateEmail(e){return this.request("/api/auth/profile/email",{method:"PATCH",body:JSON.stringify(e)})}async forgotPassword(e){return this.request("/api/auth/forgot-password",{method:"POST",body:JSON.stringify({email:e})})}async resetPassword(e,n){return this.request("/api/auth/reset-password",{method:"POST",body:JSON.stringify({token:e,newPassword:n})})}async verifyResetToken(e){return this.request(`/api/auth/verify-reset-token?token=${encodeURIComponent(e)}`)}async get2FAStatus(){return this.request("/api/auth/2fa/status")}async setup2FA(){return this.request("/api/auth/2fa/setup",{method:"POST"})}async enable2FA(e){return this.request("/api/auth/2fa/enable",{method:"POST",body:JSON.stringify({code:e})})}async disable2FA(e){return this.request("/api/auth/2fa/disable",{method:"POST",body:JSON.stringify({password:e})})}async regenerateBackupCodes(e){return this.request("/api/auth/2fa/regenerate-backup",{method:"POST",body:JSON.stringify({password:e})})}async getStripeConfig(){return this.request("/api/stripe/config")}async createCheckoutSession(e,n,r){return this.request("/api/stripe/create-checkout",{method:"POST",body:JSON.stringify({planId:e,deviceCount:n,promoCode:r})})}async createPortalSession(){return this.request("/api/stripe/create-portal",{method:"POST"})}async syncStripeProducts(){return this.request("/api/stripe/sync-products",{method:"POST"})}async getStripeSubscription(){return this.request("/api/stripe/subscription")}async changeStripePlan(e,n){return this.request("/api/stripe/change-plan",{method:"POST",body:JSON.stringify({planId:e,deviceCount:n})})}async cancelStripeSubscription(){return this.request("/api/stripe/cancel",{method:"POST"})}async validatePromoCode(e,n,r){return this.request("/api/promo-codes/validate",{method:"POST",body:JSON.stringify({code:e,planId:n,deviceCount:r})})}async getPromoCodes(e){const n=new URLSearchParams;e&&n.append("includeInactive","true");const r=n.toString()?`?${n.toString()}`:"";return this.request(`/api/promo-codes${r}`)}async getPromoCodeStats(){return this.request("/api/promo-codes/stats")}async getPromoCodeById(e){return this.request(`/api/promo-codes/${e}`)}async getPromoCodeRedemptions(e){return this.request(`/api/promo-codes/${e}/redemptions`)}async createPromoCode(e){return this.request("/api/promo-codes",{method:"POST",body:JSON.stringify(e)})}async updatePromoCode(e,n){return this.request(`/api/promo-codes/${e}`,{method:"PATCH",body:JSON.stringify(n)})}async deletePromoCode(e){return this.request(`/api/promo-codes/${e}`,{method:"DELETE"})}async getAdminUsers(e){const n=new URLSearchParams;e!=null&&e.search&&n.set("search",e.search),e!=null&&e.limit&&n.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&n.set("offset",e.offset.toString());const r=n.toString()?`?${n.toString()}`:"";return this.request(`/api/users${r}`)}async createAdminUser(e){return this.request("/api/users",{method:"POST",body:JSON.stringify(e)})}async updateAdminUser(e,n){return this.request(`/api/users/${e}`,{method:"PATCH",body:JSON.stringify(n)})}async deleteAdminUser(e){return this.request(`/api/users/${e}`,{method:"DELETE"})}async getEmailTemplates(){return this.request("/api/emails/templates")}
84async getEmailTemplate(e){return this.request(`/api/emails/templates/${e}`)}async updateEmailTemplate(e,n){return this.request(`/api/emails/templates/${e}`,{method:"PATCH",body:JSON.stringify(n)})}async toggleEmailTemplate(e){return this.request(`/api/emails/templates/${e}/toggle`,{method:"POST"})}async getEmailSettings(){return this.request("/api/emails/settings")}async updateEmailSettings(e){return this.request("/api/emails/settings",{method:"PUT",body:JSON.stringify(e)})}async sendTestEmail(e){return this.request("/api/emails/test",{method:"POST",body:JSON.stringify({to:e})})}async previewEmailTemplate(e,n){return this.request("/api/emails/preview",{method:"POST",body:JSON.stringify({templateId:e,context:n})})}async getNotifications(e,n){const r=new URLSearchParams;e&&r.set("limit",e.toString()),n&&r.set("offset",n.toString());const s=r.toString()?`?${r.toString()}`:"";return this.request(`/api/notifications${s}`)}async getNotificationTargets(){return this.request("/api/notifications/targets")}async sendNotification(e){return this.request("/api/notifications",{method:"POST",body:JSON.stringify(e)})}async deleteNotification(e){return this.request(`/api/notifications/${e}`,{method:"DELETE"})}async getActivityLogs(e){const n=new URLSearchParams;e!=null&&e.search&&n.set("search",e.search),e!=null&&e.limit&&n.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&n.set("offset",e.offset.toString()),e!=null&&e.startDate&&n.set("startDate",e.startDate.toString()),e!=null&&e.endDate&&n.set("endDate",e.endDate.toString());const r=n.toString()?`?${n.toString()}`:"";return this.request(`/api/logs${r}`)}async exportActivityLogs(e){const n=new URLSearchParams;e!=null&&e.startDate&&n.set("startDate",e.startDate.toString()),e!=null&&e.endDate&&n.set("endDate",e.endDate.toString());const r=n.toString()?`?${n.toString()}`:"",s={},i=this.getToken();i&&(s.Authorization=`Bearer ${i}`);const o=await fetch(`${tr}/api/logs/export${r}`,{method:"GET",headers:s,credentials:"include"});if(!o.ok){const p=await o.json();throw new Error(p.message||"Failed to export logs")}const a=o.headers.get("Content-Disposition");let l="activity-logs.xlsx";if(a){const p=a.match(/filename="?([^"]+)"?/);p&&(l=p[1])}const c=await o.blob(),f=window.URL.createObjectURL(c),u=document.createElement("a");u.href=f,u.download=l,document.body.appendChild(u),u.click(),document.body.removeChild(u),window.URL.revokeObjectURL(f)}async submitContact(e){return this.request("/api/contact",{method:"POST",body:JSON.stringify(e)})}async getContactSubmissions(e){const n=new URLSearchParams;e!=null&&e.limit&&n.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&n.set("offset",e.offset.toString()),e!=null&&e.status&&n.set("status",e.status);const r=n.toString()?`?${n.toString()}`:"";return this.request(`/api/contact${r}`)}async getContactSubmission(e){return this.request(`/api/contact/${e}`)}async getContactStats(){return this.request("/api/contact/stats")}async updateContactStatus(e,n){return this.request(`/api/contact/${e}`,{method:"PATCH",body:JSON.stringify({status:n})})}async deleteContactSubmission(e){return this.request(`/api/contact/${e}`,{method:"DELETE"})}async getNewsletterSubscribers(e){const n=new URLSearchParams;e!=null&&e.limit&&n.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&n.set("offset",e.offset.toString()),e!=null&&e.status&&n.set("status",e.status);const r=n.toString()?`?${n.toString()}`:"";return this.request(`/api/newsletter/subscribers${r}`)}async getNewsletterStats(){return this.request("/api/newsletter/stats")}async exportNewsletterSubscribers(){return this.request("/api/newsletter/export")}async deleteNewsletterSubscriber(e){return this.request(`/api/newsletter/subscribers/${e}`,{method:"DELETE"})}async getTickets(e){const n=new URLSearchParams;e!=null&&e.limit&&n.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&n.set("offset",e.offset.toString()),e!=null&&e.status&&n.set("status",e.status);const r=n.toString()?`?${n.toString()}`:"";return this.request(`/api/support/tickets${r}`)}async getAllTickets(e){const n=new URLSearchParams;e!=null&&e.limit&&n.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&n.set("offset",e.offset.toString()),e!=null&&e.status&&n.set("status",e.status),e!=null&&e.tenantId&&n.set("tenantId",e.tenantId),e!=null&&e.assignedTo&&n.set("assignedTo",e.assignedTo);const r=n.toString()?`?${n.toString()}`:"";return this.request(`/api/support/tickets/all${r}`)}async getTicketStats(){return this.request("/api/support/tickets/stats")}async createTicket(e){return this.request("/api/support/tickets",{method:"POST",body:JSON.stringify(e)})}async getTicket(e){return this.request(`/api/support/tickets/${e}`)}async updateTicket(e,n){return this.request(`/api/support/tickets/${e}`,{method:"PATCH",body:JSON.stringify(n)})}async assignTicket(e,n){return this.request(`/api/support/tickets/${e}/assign`,{method:"PATCH",body:JSON.stringify({assignedTo:n})})}async deleteTicket(e){return this.request(`/api/support/tickets/${e}`,{method:"DELETE"})}
84async getTicketMessages(e,n){const r=new URLSearchParams;n!=null&&n.limit&&r.set("limit",n.limit.toString()),(n==null?void 0:n.offset)!==void 0&&r.set("offset",n.offset.toString());const s=r.toString()?`?${r.toString()}`:"";return this.request(`/api/support/tickets/${e}/messages${s}`)}async sendTicketMessage(e,n){return this.request(`/api/support/tickets/${e}/messages`,{method:"POST",body:JSON.stringify(n)})}async markMessagesAsRead(e){return this.request(`/api/support/tickets/${e}/messages/read`,{method:"POST"})}async getAgentVersions(){return this.request("/api/system/updates/versions")}async uploadAgentVersion(e){const n=this.getToken(),r={};n&&(r.Authorization=`Bearer ${n}`),this.csrfToken&&(r["X-CSRF-Token"]=this.csrfToken);const s=await fetch(`${tr}/api/system/updates/upload`,{method:"POST",headers:r,body:e,credentials:"include"}),i=await s.json();if(!s.ok)throw new Error(i.message||"Upload failed");return i}async activateAgentVersion(e){return this.request(`/api/system/updates/${e}/activate`,{method:"POST"})}async deployAgentUpdate(e,n){return this.request(`/api/system/updates/${e}/deploy`,{method:"POST",body:JSON.stringify(n||{})})}async getAgentUpdateStats(e){return this.request(`/api/system/updates/${e}/stats`)}async getAgentUpdateDevices(e){return this.request(`/api/system/updates/${e}/devices`)}async deleteAgentVersion(e){return this.request(`/api/system/updates/${e}`,{method:"DELETE"})}async getDeviceChatHistory(e,n){const r=new URLSearchParams;n&&r.set("limit",n.toString());const s=r.toString()?`?${r.toString()}`:"";return this.request(`/api/devices/${e}/chat${s}`)}async sendDeviceChatMessage(e,n){return this.request(`/api/devices/${e}/chat`,{method:"POST",body:JSON.stringify({content:n})})}async markDeviceChatAsRead(e){return this.request(`/api/devices/${e}/chat/read`,{method:"POST"})}async requestDeviceScreenShare(e){return this.request(`/api/devices/${e}/screen/request`,{method:"POST"})}async stopDeviceScreenShare(e){return this.request(`/api/devices/${e}/screen/stop`,{method:"POST"})}async getProvisioningApk(){return this.request("/api/provisioning/apk")}async getDeviceInstalledApps(e){return this.request(`/api/devices/${e}/installed-apps`)}async requestDeviceInstalledApps(e){return this.request(`/api/devices/${e}/request-installed-apps`,{method:"POST"})}async getPolicyDevices(e){return{success:!0,data:{devices:(await this.getDevices({limit:1e3})).data.devices.filter(s=>s.policyId===e)}}}async getWifiProfiles(){return this.request("/api/wifi-profiles")}async createWifiProfile(e){return this.request("/api/wifi-profiles",{method:"POST",body:JSON.stringify(e)})}async deleteWifiProfile(e){return this.request(`/api/wifi-profiles/${e}`,{method:"DELETE"})}}const He=new oS,ty=$a(t=>({user:null,isAuthenticated:!1,isLoading:!0,error:null,requires2FA:!1,login:async e=>{try{t({isLoading:!0,error:null});const n=await He.login(e);return n.requires2FA?(t({requires2FA:!0,isLoading:!1}),{requires2FA:!0}):(t({user:n.user,isAuthenticated:!0,isLoading:!1,requires2FA:!1}),{user:n.user})}catch(n){const r=n instanceof Error?n.message:"Login failed";throw t({error:r,isLoading:!1}),n}},register:async e=>{try{t({isLoading:!0,error:null});const{user:n}=await He.register(e);t({user:n,isAuthenticated:!0,isLoading:!1})}catch(n){const r=n instanceof Error?n.message:"Registration failed";throw t({error:r,isLoading:!1}),n}},logout:async()=>{try{await He.logout(),t({user:null,isAuthenticated:!1})}catch(e){console.error("Logout error:",e),t({user:null,isAuthenticated:!1})}},checkAuth:async()=>{try{if(!He.isAuthenticated()){t({isLoading:!1});return}const e=await He.getMe();t({user:e,isAuthenticated:!0,isLoading:!1})}catch{He.setToken(null),t({user:null,isAuthenticated:!1,isLoading:!1})}},clearError:()=>t({error:null}),clear2FA:()=>t({requires2FA:!1})}));function Be({children:t,requireSuperAdmin:e=!1,requireSystemAdmin:n=!1}){const{isAuthenticated:r,isLoading:s,user:i,checkAuth:o}=ty(),a=Zt();return x.useEffect(()=>{o()},[o]),s?d.jsx("div",{className:"flex items-center justify-center min-h-screen",children:d.jsxs("div",{className:"text-center",children:[d.jsx("div",{className:"inline-block h-8 w-8 animate-spin rounded-full border-4 border-solid border-primary border-r-transparent"}),d.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"Loading..."})]})}):r?e&&(i==null?void 0:i.role)!=="super_admin"?d.jsx(me,{to:"/admin/dashboard",replace:!0}):n&&(i==null?void 0:i.role)!=="super_admin"&&(i==null?void 0:i.role)!=="landlord_admin"?d.jsx(me,{to:"/admin/dashboard",replace:!0}):d.jsx(d.Fragment,{children:t}):d.jsx(me,{to:"/admin/login",state:{from:a},replace:!0})}function ny(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(e=0;e<s;e++)t[e]&&(n=ny(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function ry(){for(var t,e,n=0,r="",s=arguments.length;n<s;n++)(t=arguments[n])&&(e=ny(t))&&(r&&(r+=" "),r+=e);return r}const wp=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,xp=ry,sy=(t,e)=>n=>{var r;if((e==null?void 0:e.variants)==null)return xp(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:i}=e,o=Object.keys(s).map(c=>{const f=n==null?void 0:n[c],u=i==null?void 0:i[c];if(f===null)return null;const p=wp(f)||wp(u);return s[c][p]}),a=n&&Object.entries(n).reduce((c,f)=>{let[u,p]=f;return p===void 0||(c[u]=p),c},{}),l=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((c,f)=>{let{class:u,className:p,...y}=f;return Object.entries(y).every(v=>{let[w,S]=v;return Array.isArray(S)?S.includes({...i,...a}[w]):{...i,...a}[w]===S})?[...c,u,p]:c},[]);return xp(t,o,l,n==null?void 0:n.class,n==null?void 0:n.className)},sd="-",aS=t=>{const e=cS(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:o=>{const a=o.split(sd);return a[0]===""&&a.length!==1&&a.shift(),iy(a,e)||lS(o)},getConflictingClassGroupIds:(o,a)=>{const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}}},iy=(t,e)=>{var o;if(t.length===0)return e.classGroupId;const n=t[0],r=e.nextPart.get(n),s=r?iy(t.slice(1),r):void 0;if(s)return s;if(e.validators.length===0)return;const i=t.join(sd);return(o=e.validators.find(({validator:a})=>a(i)))==null?void 0:o.classGroupId},bp=/^\[(.+)\]$/,lS=t=>{if(bp.test(t)){const e=bp.exec(t)[1],n=e==null?void 0:e.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}},cS=t=>{const{theme:e,prefix:n}=t,r={nextPart:new Map,validators:[]};
vendor: 5,294 bytes, line 84
84return dS(Object.entries(t.classGroups),n).forEach(([i,o])=>{Vc(o,r,i,e)}),r},Vc=(t,e,n,r)=>{t.forEach(s=>{if(typeof s=="string"){const i=s===""?e:Sp(e,s);i.classGroupId=n;return}if(typeof s=="function"){if(uS(s)){Vc(s(r),e,n,r);return}e.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([i,o])=>{Vc(o,Sp(e,i),n,r)})})},Sp=(t,e)=>{let n=t;return e.split(sd).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},uS=t=>t.isThemeGetter,dS=(t,e)=>e?t.map(([n,r])=>{const s=r.map(i=>typeof i=="string"?e+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,a])=>[e+o,a])):i);return[n,s]}):t,fS=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=new Map,r=new Map;const s=(i,o)=>{n.set(i,o),e++,e>t&&(e=0,r=n,n=new Map)};return{get(i){let o=n.get(i);if(o!==void 0)return o;if((o=r.get(i))!==void 0)return s(i,o),o},set(i,o){n.has(i)?n.set(i,o):s(i,o)}}},oy="!",pS=t=>{const{separator:e,experimentalParseClassName:n}=t,r=e.length===1,s=e[0],i=e.length,o=a=>{const l=[];let c=0,f=0,u;for(let S=0;S<a.length;S++){let m=a[S];if(c===0){if(m===s&&(r||a.slice(S,S+i)===e)){l.push(a.slice(f,S)),f=S+i;continue}if(m==="/"){u=S;continue}}m==="["?c++:m==="]"&&c--}const p=l.length===0?a:a.substring(f),y=p.startsWith(oy),v=y?p.substring(1):p,w=u&&u>f?u-f:void 0;return{modifiers:l,hasImportantModifier:y,baseClassName:v,maybePostfixModifierPosition:w}};return n?a=>n({className:a,parseClassName:o}):o},hS=t=>{if(t.length<=1)return t;const e=[];let n=[];return t.forEach(r=>{r[0]==="["?(e.push(...n.sort(),r),n=[]):n.push(r)}),e.push(...n.sort()),e},mS=t=>({cache:fS(t.cacheSize),parseClassName:pS(t),...aS(t)}),gS=/\s+/,yS=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=e,i=[],o=t.trim().split(gS);let a="";for(let l=o.length-1;l>=0;l-=1){const c=o[l],{modifiers:f,hasImportantModifier:u,baseClassName:p,maybePostfixModifierPosition:y}=n(c);let v=!!y,w=r(v?p.substring(0,y):p);if(!w){if(!v){a=c+(a.length>0?" "+a:a);continue}if(w=r(p),!w){a=c+(a.length>0?" "+a:a);continue}v=!1}const S=hS(f).join(":"),m=u?S+oy:S,h=m+w;if(i.includes(h))continue;i.push(h);const g=s(w,v);for(let b=0;b<g.length;++b){const C=g[b];i.push(m+C)}a=c+(a.length>0?" "+a:a)}return a};function vS(){let t=0,e,n,r="";for(;t<arguments.length;)(e=arguments[t++])&&(n=ay(e))&&(r&&(r+=" "),r+=n);return r}const ay=t=>{if(typeof t=="string")return t;let e,n="";for(let r=0;r<t.length;r++)t[r]&&(e=ay(t[r]))&&(n&&(n+=" "),n+=e);return n};function wS(t,...e){let n,r,s,i=o;function o(l){const c=e.reduce((f,u)=>u(f),t());return n=mS(c),r=n.cache.get,s=n.cache.set,i=a,a(l)}function a(l){const c=r(l);if(c)return c;const f=yS(l,n);return s(l,f),f}return function(){return i(vS.apply(null,arguments))}}const fe=t=>{const e=n=>n[t]||[];return e.isThemeGetter=!0,e},ly=/^\[(?:([a-z-]+):)?(.+)\]$/i,xS=/^\d+\/\d+$/,bS=new Set(["px","full","screen"]),SS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,kS=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,CS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,PS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ES=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,tn=t=>ns(t)||bS.has(t)||xS.test(t),bn=t=>Es(t,"length",LS),ns=t=>!!t&&!Number.isNaN(Number(t)),Al=t=>Es(t,"number",ns),Fs=t=>!!t&&Number.isInteger(Number(t)),TS=t=>t.endsWith("%")&&ns(t.slice(0,-1)),Z=t=>ly.test(t),Sn=t=>SS.test(t),AS=new Set(["length","size","percentage"]),NS=t=>Es(t,AS,cy),_S=t=>Es(t,"position",cy),DS=new Set(["image","url"]),jS=t=>Es(t,DS,MS),OS=t=>Es(t,"",RS),qs=()=>!0,Es=(t,e,n)=>{const r=ly.exec(t);return r?r[1]?typeof e=="string"?r[1]===e:e.has(r[1]):n(r[2]):!1},LS=t=>kS.test(t)&&!CS.test(t),cy=()=>!1,RS=t=>PS.test(t),MS=t=>ES.test(t),IS=()=>{const t=fe("colors"),e=fe("spacing"),n=fe("blur"),r=fe("brightness"),s=fe("borderColor"),i=fe("borderRadius"),o=fe("borderSpacing"),a=fe("borderWidth"),l=fe("contrast"),c=fe("grayscale"),f=fe("hueRotate"),u=fe("invert"),p=fe("gap"),y=fe("gradientColorStops"),v=fe("gradientColorStopPositions"),w=fe("inset"),S=fe("margin"),m=fe("opacity"),h=fe("padding"),g=fe("saturate"),b=fe("scale"),C=fe("sepia"),P=fe("skew"),E=fe("space"),j=fe("translate"),U=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto",Z,e],R=()=>[Z,e],O=()=>["",tn,bn],F=()=>["auto",ns,Z],se=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],M=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_=()=>["start","end","center","between","around","evenly","stretch"],z=()=>["","0",Z],q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[ns,Z];return{cacheSize:500,separator:":",theme:{colors:[qs],spacing:[tn,bn],blur:["none","",Sn,Z],brightness:I(),borderColor:[t],borderRadius:["none","","full",Sn,Z],borderSpacing:R(),borderWidth:O(),contrast:I(),grayscale:z(),hueRotate:I(),invert:z(),gap:R(),gradientColorStops:[t],gradientColorStopPositions:[TS,bn],inset:W
vendor: 11,311 bytes, line 84
84(),margin:W(),opacity:I(),padding:R(),saturate:I(),scale:I(),sepia:z(),skew:I(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",Z]}],container:["container"],columns:[{columns:[Sn]}],"break-after":[{"break-after":q()}],"break-before":[{"break-before":q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...se(),Z]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:U()}],"overscroll-x":[{"overscroll-x":U()}],"overscroll-y":[{"overscroll-y":U()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Fs,Z]}],basis:[{basis:W()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Z]}],grow:[{grow:z()}],shrink:[{shrink:z()}],order:[{order:["first","last","none",Fs,Z]}],"grid-cols":[{"grid-cols":[qs]}],"col-start-end":[{col:["auto",{span:["full",Fs,Z]},Z]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[qs]}],"row-start-end":[{row:["auto",{span:[Fs,Z]},Z]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Z]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Z]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",..._()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",..._(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[..._(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Z,e]}],"min-w":[{"min-w":[Z,e,"min","max","fit"]}],"max-w":[{"max-w":[Z,e,"none","full","min","max","fit","prose",{screen:[Sn]},Sn]}],h:[{h:[Z,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Z,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Z,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Z,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Sn,bn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Al]}],"font-family":[{font:[qs]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Z]}],"line-clamp":[{"line-clamp":["none",ns,Al]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",tn,Z]}],"list-image":[{"list-image":["none",Z]}],"list-style-type":[{list:["none","disc","decimal",Z]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...M(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",tn,bn]}],"underline-offset":[{"underline-offset":["auto",tn,Z]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Z]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...se(),_S]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",NS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},jS]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...M(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:M()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...M()]}],"outline-offset":[{"outline-offset":[tn,Z]}],"outline-w":[{outline:[tn,bn]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:O()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[tn,bn]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",Sn,OS]}],"shadow-color":[{shadow:[qs]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Sn,Z]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[u]}],saturate:[{saturate:[g]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[g]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Z]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",Z]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",Z]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[Fs,Z]}],"translate-x":[{"translate-x":[j]}],"translate-y":[{"translate-y":[j]}],"skew-x":[{"skew-x":[P]}],"skew-y":[{"skew-y":[P]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Z]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Z]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
84],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Z]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[tn,bn,Al]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},$S=wS(IS);function mn(...t){return $S(ry(t))}const zS=sy("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),ce=x.forwardRef(({className:t,variant:e,size:n,...r},s)=>d.jsx("button",{className:mn(zS({variant:e,size:n,className:t})),ref:s,...r}));ce.displayName="Button";const{slice:FS,forEach:qS}=[];function US(t){return qS.call(FS.call(arguments,1),e=>{if(e)for(const n in e)t[n]===void 0&&(t[n]=e[n])}),t}
84function BS(t){return typeof t!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(n=>n.test(t))}const kp=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,VS=function(t,e){const r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},s=encodeURIComponent(e);let i=`${t}=${s}`;if(r.maxAge>0){const o=r.maxAge-0;if(Number.isNaN(o))throw new Error("maxAge should be a Number");i+=`; Max-Age=${Math.floor(o)}`}if(r.domain){if(!kp.test(r.domain))throw new TypeError("option domain is invalid");i+=`; Domain=${r.domain}`}if(r.path){if(!kp.test(r.path))throw new TypeError("option path is invalid");i+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");i+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(i+="; Partitioned"),i},Cp={create(t,e,n,r){let s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(s.expires=new Date,s.expires.setTime(s.expires.getTime()+n*60*1e3)),r&&(s.domain=r),document.cookie=VS(t,e,s)},read(t){const e=`${t}=`,n=document.cookie.split(";");for(let r=0;r<n.length;r++){let s=n[r];for(;s.charAt(0)===" ";)s=s.substring(1,s.length);if(s.indexOf(e)===0)return s.substring(e.length,s.length)}return null},remove(t,e){this.create(t,"",-1,e)}};var HS={name:"cookie",lookup(t){let{lookupCookie:e}=t;if(e&&typeof document<"u")return Cp.read(e)||void 0},cacheUserLanguage(t,e){let{lookupCookie:n,cookieMinutes:r,cookieDomain:s,cookieOptions:i}=e;n&&typeof document<"u"&&Cp.create(n,t,r,s,i)}},GS={name:"querystring",lookup(t){var r;let{lookupQuerystring:e}=t,n;if(typeof window<"u"){let{search:s}=window.location;!window.location.search&&((r=window.location.hash)==null?void 0:r.indexOf("?"))>-1&&(s=window.location.hash.substring(window.location.hash.indexOf("?")));const o=s.substring(1).split("&");for(let a=0;a<o.length;a++){const l=o[a].indexOf("=");l>0&&o[a].substring(0,l)===e&&(n=o[a].substring(l+1))}}return n}},WS={name:"hash",lookup(t){var s;let{lookupHash:e,lookupFromHashIndex:n}=t,r;if(typeof window<"u"){const{hash:i}=window.location;if(i&&i.length>2){const o=i.substring(1);if(e){const a=o.split("&");for(let l=0;l<a.length;l++){const c=a[l].indexOf("=");c>0&&a[l].substring(0,c)===e&&(r=a[l].substring(c+1))}}if(r)return r;if(!r&&n>-1){const a=i.match(/\/([a-zA-Z-]*)/g);return Array.isArray(a)?(s=a[typeof n=="number"?n:0])==null?void 0:s.replace("/",""):void 0}}}return r}};let Or=null;const Pp=()=>{if(Or!==null)return Or;try{if(Or=typeof window<"u"&&window.localStorage!==null,!Or)return!1;const t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Or=!1}return Or};var QS={name:"localStorage",lookup(t){let{lookupLocalStorage:e}=t;if(e&&Pp())return window.localStorage.getItem(e)||void 0},cacheUserLanguage(t,e){let{lookupLocalStorage:n}=e;n&&Pp()&&window.localStorage.setItem(n,t)}};let Lr=null;const Ep=()=>
vendor: 4,946 bytes, line 84
84{if(Lr!==null)return Lr;try{if(Lr=typeof window<"u"&&window.sessionStorage!==null,!Lr)return!1;const t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Lr=!1}return Lr};var KS={name:"sessionStorage",lookup(t){let{lookupSessionStorage:e}=t;if(e&&Ep())return window.sessionStorage.getItem(e)||void 0},cacheUserLanguage(t,e){let{lookupSessionStorage:n}=e;n&&Ep()&&window.sessionStorage.setItem(n,t)}},JS={name:"navigator",lookup(t){const e=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:s}=navigator;if(n)for(let i=0;i<n.length;i++)e.push(n[i]);r&&e.push(r),s&&e.push(s)}return e.length>0?e:void 0}},YS={name:"htmlTag",lookup(t){let{htmlTag:e}=t,n;const r=e||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},XS={name:"path",lookup(t){var s;let{lookupFromPathIndex:e}=t;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?(s=n[typeof e=="number"?e:0])==null?void 0:s.replace("/",""):void 0}},ZS={name:"subdomain",lookup(t){var s,i;let{lookupFromSubdomainIndex:e}=t;const n=typeof e=="number"?e+1:1,r=typeof window<"u"&&((i=(s=window.location)==null?void 0:s.hostname)==null?void 0:i.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[n]}};let uy=!1;try{document.cookie,uy=!0}catch{}const dy=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];uy||dy.splice(1,1);const ek=()=>({order:dy,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:t=>t});class fy{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,n)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=e,this.options=US(n,this.options||{},ek()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=s=>s.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(HS),this.addDetector(GS),this.addDetector(QS),this.addDetector(KS),this.addDetector(JS),this.addDetector(YS),this.addDetector(XS),this.addDetector(ZS),this.addDetector(WS)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,n=[];return e.forEach(r=>{if(this.detectors[r]){let s=this.detectors[r].lookup(this.options);s&&typeof s=="string"&&(s=[s]),s&&(n=n.concat(s))}}),n=n.filter(r=>r!=null&&!BS(r)).map(r=>this.options.convertDetectedLanguage(r)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(e,this.options)}))}}fy.type="languageDetector";const tk={home:"Home",features:"Features",pricing:"Pricing",blog:"Blog",about:"About",contact:"Contact",login:"Login",signup:"Sign Up",startFreeTrial:"Start Free Trial",dashboard:"Dashboard"},nk={stayUpToDate:"Stay up to date",newsletterDesc:"Get the latest news, tips, and product updates delivered to your inbox.",enterEmail:"Enter your email",subscribe:"Subscribe",subscribed:"Subscribed!",subscribing:"Subscribing...",subscribeSuccess:"Successfully subscribed to newsletter!",subscribeError:"Failed to subscribe. Please try again.",brandDescription:"Enterprise-grade Android kiosk management made simple. Deploy, secure, and manage devices at scale.",product:"Product",company:"Company",resources:"Resources",legal:"Legal",documentation:"Documentation",api:"API",careers:"Careers",gettingStarted:"Getting Started",security:"Security",bestPractices:"Best Practices",support:"Support",termsConditions:"Terms & Conditions",cookiePolicy:"Cookie Policy",privacyPolicy:"Privacy Policy",copyright:"© {{year}} Alpha Ajoge Inc. All rights reserved.",tagline:"Cheap MDM - Enterprise Kiosk Management for Android"},rk={submit:"Submit",cancel:"Cancel",save:"Save",delete:"Delete",edit:"Edit",close:"Close",confirm:"Confirm",back:"Back",next:"Next",previous:"Previous",loading:"Loading...",retry:"Retry",viewAll:"View All",learnMore:"Learn More",getStarted:"Get Started",contactUs:"Contact Us",signUp:"Sign Up",logIn:"Log In",logOut:"Logout",download:"Download",upload:"Upload",refresh:"Refresh",search:"Search",filter:"Filter",exp
84ort:"Export",import:"Import",create:"Create",update:"Update",add:"Add",remove:"Remove",enable:"Enable",disable:"Disable",yes:"Yes",no:"No",ok:"OK"},sk={required:"This field is required",invalidEmail:"Please enter a valid email address",minLength:"Must be at least {{min}} characters",maxLength:"Must be at most {{max}} characters",passwordMismatch:"Passwords do not match",invalidUrl:"Please enter a valid URL",invalidPhone:"Please enter a valid phone number"},ik={generic:"Something went wrong. Please try again.",networkError:"Network error. Please check your connection.",notFound:"Not found",unauthorized:"You are not authorized to perform this action",sessionExpired:"Your session has expired. Please log in again."},ok={justNow:"Just now",minutesAgo:"{{count}} minute ago",minutesAgo_plural:"{{count}} minutes ago",hoursAgo:"{{count}} hour ago",hoursAgo_plural:"{{count}} hours ago",daysAgo:"{{count}} day ago",daysAgo_plural:"{{count}} days ago",weeksAgo:"{{count}} week ago",weeksAgo_plural:"{{count}} weeks ago"},ak={selectLanguage:"Select Language",english:"English",french:"Français",spanish:"Español",arabic:"Ø§ÙØ¹Ø±Ø¨ÙØ©"},lk={nav:tk,footer:nk,buttons:rk,validation:sk,errors:ik,time:ok,language:ak},ck={homeTitle:"Cheap MDM - Enterprise Android Kiosk Management",homeDescription:"Deploy, manage, and secure your Android kiosk devices at scale. Trusted by businesses in Canada, USA, UK, Australia, South Africa, and Middle East. Screen sharing, voice calls, and real-time chat. Start your free trial today.",featuresTitle:"Features",featuresDescription:"Explore all the powerful features of Cheap MDM - kiosk mode, remote support, location tracking, app management, and more for your Android device fleet.",pricingTitle:"Pricing",pricingDescription:"Simple, transparent pricing for Cheap MDM. Choose the plan that fits your needs. Start free, upgrade as you grow. No hidden fees.",aboutTitle:"About Us",contactTitle:"Contact Us",blogTitle:"Blog"},uk={badge:"First Local MDM with Full Remote Support",title:"Enterprise Kiosk Management",titleHighlight:"Made Simple",subtitle:"Deploy, manage, and secure your Android kiosk devices at scale. Multi-tenant architecture with screen sharing, voice calls, and real-time chat.",cta:"Start Free Trial",bookDemo:"Book a Demo",noCreditCard:"No credit card required",freeTrial:"14-day free trial",cancelAnytime:"Cancel anytime",activeDevices:"Active Devices",onlineRate:"Online Rate",activePolicies:"Active Policies",deviceSynced:"Device synced",justNow:"Just now"}
84,dk={trustedBy:"Trusted by",countries:"Countries",devicesManaged:"Devices Managed",uptime:"Uptime",support:"Support",rating:"4.8/5",fromReviews:"from 200+ reviews",businessCount:"500+",businessesTrustUs:"businesses trust us"},fk={sectionTitle:"Everything you need to manage devices",sectionSubtitle:"Powerful features to deploy, secure, and control your Android kiosk fleet.",kioskMode:{title:"Kiosk Mode",description:"Lock devices to single or multiple apps. Create custom launchers with approved applications only.",singleApp:"Single-app mode for dedicated devices",multiApp:"Multi-app mode with custom launcher",exitPin:"Exit PIN protection",autoLaunch:"Auto-launch with configurable delay",customWallpaper:"Custom wallpaper and branding",statusBarRestrictions:"Status bar and navigation restrictions"},remoteSupport:{title:"Remote Support",description:"Screen sharing, in-app chat, and voice calls. Provide instant support to device users anywhere.",screenSharing:"Real-time screen sharing",textChat:"In-app text chat",voiceCalls:"Voice calls via WebRTC",userConsent:"User consent prompts",sessionRecording:"Session recording (coming soon)",multiDeviceSupport:"Multi-device support sessions"},locationTracking:{title:"Location Tracking",description:"Real-time GPS tracking with geofencing. Monitor device locations and set boundary alerts.",realtimeGps:"Real-time GPS tracking",locationHistory:"Location history timeline",geofencing:"Geofencing with alerts",mapView:"Map view in dashboard",configurableIntervals:"Configurable tracking intervals",batteryOptimized:"Battery-optimized tracking"},appManagement:{title:"App Management",description:"Push, update, and remove apps remotely. Whitelist or blacklist applications per policy.",remoteInstall:"Remote app installation",whitelistBlacklist:"App whitelisting/blacklisting",silentUpdates:"Silent app updates",versionManagement:"Version management",playStoreRestrictions:"Play Store restrictions",apkDistribution:"APK upload and distribution"},security:{title:"Security Controls",description:"Hardware controls, factory reset protection, and policy enforcement for complete security.",factoryResetProtection:"Factory reset protection",deviceEncryption:"Device encryption enforcement",usbDebugging:"USB debugging control",cameraRestrictions:"Camera and microphone restrictions",passwordPolicies:"Password policies",remoteWipe:"Remote wipe capability"},monitoring:{title:"Real-time Alerts",description:"Instant notifications for device status changes, policy violations, and connectivity issues.",onlineOffline:"Online/offline status",batteryLevel:"Battery level monitoring",storageAlerts:"Storage c
84apacity alerts",wifiStrength:"WiFi signal strength",policySync:"Policy sync status",customAlerts:"Custom alert thresholds"},builtForEveryIndustry:"Built for every industry",industrySubtitle:"From retail kiosks to healthcare tablets, we've got you covered.",exploreAllFeatures:"Explore all features",industries:{retail:"Retail",healthcare:"Healthcare",education:"Education",logistics:"Logistics",hospitality:"Hospitality",manufacturing:"Manufacturing"}},pk={badge:"Simple Setup",title:"Get started in minutes",subtitle:"Three simple steps to deploy and manage your kiosk devices.",step1:{title:"Generate QR Code",description:"Create a provisioning QR code from your dashboard with WiFi credentials and enrollment settings."},step2:{title:"Configure Policy",description:"Set up kiosk mode, allowed apps, hardware controls, and security settings for your devices."},step3:{title:"Deploy & Manage",description:"Factory reset devices, scan the QR code, and they're ready. Manage everything from one dashboard."},stats:{setupTime:"2 min",setupTimeLabel:"Average setup time",uptime:"99.9%",uptimeLabel:"Uptime SLA",support:"24/7",supportLabel:"Support available"}},hk={badge:"Testimonials",title:"Loved by businesses worldwide",subtitle:"See what our customers have to say about managing their devices with Cheap MDM.",testimonial1:{quote:"Cheap MDM transformed how we manage our retail kiosks. The screen sharing feature alone has saved us countless hours of on-site troubleshooting.",author:"Sarah Chen",role:"IT Director",company:"RetailMax Solutions"},testimonial2:{quote:"We evaluated several MDM solutions before choosing Cheap MDM. The multi-tenant architecture was exactly what we needed for our franchise locations.",author:"Michael Rodriguez",role:"Operations Manager",company:"FreshFood Franchises"},testimonial3:{quote:"The voice call feature is a game-changer for our healthcare tablets. Our staff can get immediate support without leaving the patient's side.",author:"Dr. Emily Thompson",role:"Chief Medical Officer",company:"HealthFirst Clinic"}},mk={badge:"Simple Pricing",title:"Choose the plan that's",titleHighlight:"right for you",subtitle:"Start free and scale as you grow. No hidden fees, no surprises.",monthly:"Monthly",yearly:"Yearly",save:"Save 17%",free:"Free",perDeviceMonth:"/device/mo",billedAnnually:"billed annually",mostPopular:"Most Popular",startFree:"Start Free",getStarted:"Get Started",enterprise:"Enterprise",whiteLabel:"White-label",whiteLabelDescription:"Custom solutions for large organizations",custom:"Custom",features:{devices:"{{count}} devices",unlimitedDevices:"Unlimited devices",admins:"{{count}} admin",admins_plural:"{{count}} admins",unlimitedAdmins:"Unlimited admins",multiAppKiosk:"Multi-app kiosk mode",advancedKiosk:"Advanced kiosk features",hardwareControls:"Hardware controls",locationTracking:"Location tracking",remoteAppManagement:"Remote app management",deviceNotifications:"Device notifications",customWallpaper:"Custom wallpaper",apiAccess:"API access",screenSharing:"Screen Sharing",inAppChat:"In-App Chat",voiceCalls:"Voice Calls",allEnterpriseFeatures:"All Enterprise features",customBranding:"Custom branding & domain",dedicatedHosting:"Dedicated hosting",fullApiAccess:"Full API access",prioritySupport:"Priority support",volumeDiscounts:"Volume discounts"},remoteSupport:"Remote Support",contactUs:"Contact Us",seeAllPlans:"See all plans and features"},gk={title:"Frequently Asked Questions",subtitle:"Common questions about pricing and billing",switchPlans:{question:"Can I switch plans at any time?",answer:"Yes, you can upgrade or downgrade your plan at any time. When upgrading, you'll be charged the prorated difference. When downgrading, the credit will be applied to future billing."},freeTrial:{question:"Is there a free trial?",answer:"Yes! All plans come with a 14-d
84ay free trial. No credit card required to start. You can explore all features before committing to a paid plan."},paymentMethods:{question:"What payment methods do you accept?",answer:"We accept all major credit cards (Visa, Mastercard, American Express), PayPal, and bank transfers for annual plans. Enterprise customers can also pay by invoice."},deviceLimit:{question:"What happens if I exceed my device limit?",answer:"You'll receive a notification when approaching your limit. You can upgrade to a higher plan or purchase additional device slots. Existing devices will continue to work."},refunds:{question:"Do you offer refunds?",answer:"Yes, we offer a 30-day money-back guarantee on all paid plans. If you're not satisfied, contact our support team for a full refund."},annualDiscount:{question:"Is there a discount for annual billing?",answer:"Yes! Annual billing gives you 2 months free compared to monthly billing. That's a 17% savings on all plans."}},yk={badge:"Start your 14-day free trial",title:"Ready to simplify device management?",subtitle:"Join 500+ businesses that trust Cheap MDM to manage their Android kiosk devices. Get started in minutes, no credit card required.",startTrial:"Start Free Trial",contactSales:"Contact Sales",freeTrial:"Free 14-day trial",noCreditCard:"No credit card required",cancelAnytime:"Cancel anytime",stillHaveQuestions:"Still have questions?",stillHaveQuestionsSubtitle:"Our team is here to help you find the right plan for your needs."},vk={badge:"Developer API",title:"Full API Access",description:"Integrate Cheap MDM into your existing workflows with our comprehensive REST API. Automate device management, retrieve analytics, and build custom integrations.",features:{restful:"RESTful API with JSON responses",jwt:"JWT authentication",webhooks:"Webhook support for real-time events",documentation:"Comprehensive documentation"},requestAccess:"Request API Access",exampleComment:"// Example API request",responseComment:"// Response"},wk={title:"And so much more",subtitle:"Additional features to complete your device management toolkit.",wifiManagement:"WiFi Management",wifiDescription:"Configure and lock WiFi networks",batteryMonitoring:"Battery Monitoring",batteryDescription:"Track battery levels and alerts",hardwareControls:"Hardware Controls",hardwareDescription:"Volume, brightness, Bluetooth",deviceGroups:"Device Groups",deviceGroupsDescription:"Organize devices efficiently",bulkOperations:"Bulk Operations",bulkDescription:"Act on multiple devices at once",notifications:"Notifications",notificationsDescription:"Push messages to devices"},xk={title:"About Us",subtitle:"Building the future of device management",ourMission:"Our Mission",ourStory:"Our Story"},bk={title:"Contact Us",subtitle:"Get in touch with our team",form:{name:"Name",email:"Email",subject:"Subject",message:"Message",send:"Send Message",sending:"Sending...",success:"Message sent successfully!",error:"Failed to send message. Please try again."}},Sk={badge:"Blog",title:"Latest from our blog",subtitle:"Tips, tutorials, and updates to help you get the most out of Cheap MDM.",readMore:"Read More",categories:"Categories",recentPosts:"Recent Posts",allPosts:"All Posts",viewAllArticles:"View all articles",minRead:"min read"},kk={title:"Terms & Conditions",lastUpdated:"Last updated"},Ck={title:"Cookie Policy",lastUpdated:"Last updated"},Pk={seo:ck,hero:uk,socialProof:dk,features:fk,howItWorks:pk,testimonials:hk,pricing:mk,faq:gk,cta:yk,api:vk,additional:wk,about:xk,contact:bk,blog:Sk,terms:kk,cookies:Ck},Ek={dashboard:"Dashboard",tenants:"Tenants",plans:"Plans",subscription:"Subscription",adminUsers:"Admin Users",provisioning:"Provisioning",devices:"Devices",deviceMap:"Device Map",deviceGroups:"Device Groups",policies:"Policies",apps:"Apps",notifications:"Notifications",activityLogs:"Activity Logs",salesAnalytics:"Sales Analytics",email:"Email",inbox:"Inbox",signatures:"Signatures",accounts:"Accounts",emailNotifications:"Notifications",systemUpdates:"System Updates",siteSettings:"Site Settings",fileManager:"File Manager",database:"Database",serverHealth:"Server Health",support:"Support",supportTickets:"Support Tickets",contactSubmissions:"Contact Submissions",newsletterSubscribers:"Newsletter Subscribers",liveChat:"Live Chat",profile:"Profile",logout:"Logout",returnToAdmin:"Return to Admin",viewingAs:"Viewing as:",adminPortal:"Admin Portal"},Tk={title:"Dashboard",welcome:"Welcome back",overview:"Overview",totalDevices:"Total Devices",onlineDevices:"Online Devices",offlineDevices:"Offline Devices",activePolicies:"Active Policies",deviceGroups:"Device Groups",recentActivity:"Recent Activity",deviceStatus:"Device Status",online:"Online",offline:"Offline",pending:"Pending",quickActions:"Quick Actions",addDevice:"Add Device",createPolicy:"Create Policy",viewAllDevices:"View All Devices"},Ak={title:"Devices",searchPlaceholder:"Search devices...",addDevice:"Add Device",noDevices:"No devices found",noDevicesDescription:"Get started by provisioning your first device",deviceName:"Device Name",status:"Status",lastSeen:"Last Seen",policy:"Policy",group:"Group",actions:"Actions",viewDetails:"View Details",editDevice:"Edit Device",removeDevice:"Remove Device",syncPolicy:"Sync Policy",reboot:"Reboot",lockDevice:"Lock Device",unlockDevice:"Unlock Device",wipeDevice:"Wipe Device",online:"Online",offline:"Offline",never:"Never",confirmDelete:"Are you sure you want to delete this device?",confirmWipe:"Are you sure you want to wipe this device? This action cannot be undone.",battery:"Battery",storage:"Storage",model:"Model",androidVersion:"Android Version",appVersion:"App Version",imei:"IMEI",serialNumber:"Serial Number"},Nk={title:"Device Groups",createGroup:"Create Group",noGroups:"No groups foun
84d",noGroupsDescription:"Create groups to organize your devices",groupName:"Group Name",description:"Description",deviceCount:"Devices",defaultPolicy:"Default Policy",editGroup:"Edit Group",deleteGroup:"Delete Group",confirmDelete:"Are you sure you want to delete this group?"},_k={title:"Policies",createPolicy:"Create Policy",noPolicies:"No policies found",noPoliciesDescription:"Create policies to configure device settings",policyName:"Policy Name",description:"Description",deviceCount:"Devices",kioskMode:"Kiosk Mode",editPolicy:"Edit Policy",deletePolicy:"Delete Policy",duplicatePolicy:"Duplicate Policy",confirmDelete:"Are you sure you want to delete this policy?",enabled:"Enabled",disabled:"Disabled",singleApp:"Single App",multiApp:"Multi App",allowedApps:"Allowed Apps",blockedApps:"Blocked Apps",settings:{general:"General",kiosk:"Kiosk Mode",apps:"Applications",security:"Security",hardware:"Hardware",network:"Network"}},Dk={title:"Apps",uploadApp:"Upload App",noApps:"No apps found",noAppsDescription:"Upload APK files to distribute to devices",appName:"App Name",packageName:"Package Name",version:"Version",size:"Size",uploadDate:"Upload Date",deleteApp:"Delete App",downloadApp:"Download App",confirmDelete:"Are you sure you want to delete this app?"},jk={title:"Provisioning",subtitle:"Enroll new devices using QR code provisioning",generateQr:"Generate QR Code",selectPolicy:"Select Policy",selectGroup:"Select Group (Optional)",qrExpiry:"QR Code Expiry",hours:"hours",scanInstructions:"Scan this QR code during device setup to automatically enroll and configure the device.",downloadQr:"Download QR Code",copyEnrollmentUrl:"Copy Enrollment URL",urlC
84opied:"URL copied to clipboard",expiresIn:"Expires in {{time}}"},Ok={title:"Profile",personalInfo:"Personal Information",email:"Email",fullName:"Full Name",organization:"Organization",role:"Role",changePassword:"Change Password",currentPassword:"Current Password",newPassword:"New Password",confirmPassword:"Confirm Password",updatePassword:"Update Password",twoFactorAuth:"Two-Factor Authentication",twoFactorEnabled:"2FA is enabled",twoFactorDisabled:"2FA is disabled",enable2fa:"Enable 2FA",disable2fa:"Disable 2FA",saveChanges:"Save Changes"},Lk={title:"Subscription",currentPlan:"Current Plan",usage:"Usage",devicesUsed:"{{used}} of {{total}} devices used",adminsUsed:"{{used}} of {{total}} admins used",billingCycle:"Billing Cycle",nextBilling:"Next billing date",changePlan:"Change Plan",cancelSubscription:"Cancel Subscription",paymentMethod:"Payment Method",updatePayment:"Update Payment Method",invoices:"Invoices",viewInvoice:"View Invoice",downloadInvoice:"Download Invoice"},Rk={title:"Support",createTicket:"Create Ticket",noTickets:"No tickets found",noTicketsDescription:"Create a support ticket if you need help",ticketId:"Ticket ID",subject:"Subject",status:"Status",priority:"Priority",created:"Created",lastUpdate:"Last Update",open:"Open",inProgress:"In Progress",resolved:"Resolved",closed:"Closed",low:"Low",medium:"Medium",high:"High",urgent:"Urgent",viewTicket:"View Ticket",reply:"Reply",closeTicket:"Close Ticket"},Mk={title:"Notifications",sendNotification:"Send Notification",noNotifications:"No notifications",selectDevices:"Select Devices",allDevices:"All Devices",selectedDevices:"Selected Devices",notificationTitle:"Title",notificationMessage:"Message",send:"Send",sending:"Sending...",sent:"Notification sent successfully"},Ik={title:"Activity Logs",noLogs:"No activity logs found",action:"Action",user:"User",device:"Device",timestamp:"Timestamp",details:"Details",filter:"Filter",export:"Export"},$k={title:"Settings",general:"General",appearance:"Appearance",theme:"Theme",light:"Light",dark:"Dark",system:"System",language:"Language",timezone:"Timezone",notifications:"Notifications",emailNotifications:"Email Notifications",pushNotifications:"Push Notifications"},zk={save:"Save",cancel:"Cancel",delete:"Delete",edit:"Edit",create:"Create",update:"Update",search:"Search",filter:"Filter",export:"Export",import:"Import",loading:"Loading...",noResults:"No results found",confirmAction:"Are you sure?",success:"Success",error:"Error",warning:"Warning",info:"Info",yes:"Yes",no:"No",all:"All",none:"None",select:"Select",selected:"selected",actions:"Actions",more:"More",refresh:"Refresh",close:"Close",back:"Back",next:"Next",previous:"Previous",finish:"Finish",perPage:"per page",page:"Page",of:"of",showing:"Showing",to:"to",entries:"entries"},Fk={sidebar:Ek,dashboard:Tk,devices:Ak,groups:Nk,policies:_k,apps:Dk,provisioning:jk,profile:Ok,subscription:Lk,support:Rk,notifications:Mk,logs:Ik,settings:$k,common:zk},qk={title:"Welcome back",subtitle:"Sign in to your Cheap MDM account",email:"Email",emailPlaceholder:"[email protected]",password:"Password",passwordPlaceholder:"Enter your password",forgotPassword:"Forgot password?",signIn:"Sign in",signingIn:"Signing in...",noAccount:"Don't have an account?",signUp:"Sign up",backToHome:"Back to home"},Uk={title:"Two-Factor Authentication",subtitle:"Enter the 6-digit code from your authenticator app",code:"Verification Code",codePlaceholder:"000000",backupCodeHint:"You can also use a backup code if you don't have access to your authenticator",verify:"Verify"},Bk={title:"Create an account",subtitle:"Start your free 14-day trial",organizationName:"Organization Name",organizationPlaceholder:"Your company name",fullName:"Full Name",fullNamePlaceholder:"John Doe",email:"Email",emailPlaceholder:"[email protected]",password:"Password",passwordPlaceholder:"Create a password",confirmPassword:"Confirm Password",confirmPasswordPlaceholder:"Confirm your password",createAccount:"Create Account",creatingAccount:"Creating account...",hasAccount:"Already have an account?",signIn:"Sign in",termsAgreement:"By creating an account, you agree to our",termsOfService:"Terms of Service",and:"and",privacyPolicy:"Privacy Policy"},Vk={title:"Forgot password?",subtitle:"Enter your email and we'll send you a reset link",email:"Email",emailPlaceholder:"[email protected]",sendResetLink:"Send Reset Link",sending:"Sending...",backToLogin:"Back to login",successTitle:"Check your email",successMessage:"We've sent a password reset link to {{email}}",didntReceive:"Didn't receive the email?",checkSpam:"Check your spam folder or",tryAgain:"try again"},Hk={title:"Reset password",subtitle:"Enter your new password",newPassword:"New Password",newPasswordPlaceholder:"Enter new password",confirmPassword:"Confirm Password",confirmPasswordPlaceholder:"Confirm new password",resetPassword:"Reset Password",resetting:"Resetting...",successTitle:"Password reset successful",successMessage:"Your password has been reset. You can now sign in with your new password.",goToLogin:"Go to Login",invali
84dToken:"Invalid or expired reset link",invalidTokenMessage:"The password reset link is invalid or has expired. Please request a new one.",requestNew:"Request new link"},Gk={invalidCredentials:"Invalid email or password",accountLocked:"Account is locked. Please try again later.",emailInUse:"An account with this email already exists",weakPassword:"Password must be at least 8 characters",passwordMismatch:"Passwords do not match",invalidEmail:"Please enter a valid email address",required:"This field is required",invalidToken:"Invalid or expired token",tooManyAttempts:"Too many attempts. Please try again later."},Wk={login:qk,twoFactor:Uk,signup:Bk,forgotPassword:Vk,resetPassword:Hk,errors:Gk},Qk={home:"Accueil",features:"Fonctionnalités",pricing:"Tarifs",blog:"Blog",about:"à propos",contact:"Contact",login:"Connexion",signup:"S'inscrire",startFreeTrial:"Essai gratuit",dashboard:"Tableau de bord"},Kk={stayUpToDate:"Restez informé",newsletterDesc:"Recevez les dernières nouvelles, conseils et mises à jour produit.",enterEmail:"Entrez votre email",subscribe:"S'abonner",subscribed:"Abonné !",subscribing:"Abonnement...",subscribeSuccess:"Abonnement réussi !",subscribeError:"Ãchec de l'abonnement. Veuillez réessayer.",brandDescription:"Gestion de kiosque Android de niveau entreprise simplifiée. Déployez, sécurisez et gérez vos appareils à grande échelle.",product:"Produit",company:"Entreprise",resources:"Ressources",legal:"Mentions légales",documentation:"Documentation",api:"API",careers:"Carrières",gettingStarted:"Démarrage",security:"Sécurité",bestPractices:"Bonnes pratiques",support:"Support",termsConditions:"Conditions générales",cookiePolicy:"Politique de cookies",privacyPolicy:"Politique de confidentialité",copyright:"© {{year}} Alpha Ajoge Inc. Tous droits réservés.",tagline:"Cheap MDM - Gestion de kiosque d'entreprise pour Android"},Jk={submit:"Soumettre",cancel:"Annuler",save:"Enregistrer",delete:"Supprimer",edit:"Modifier",close:"Fermer",confirm:"Confirmer",back:"Retour",next:"Suivant",previous:"Précédent",loading:"Chargement...",retry:"Réessayer",viewAll:"Voir tout",learnMore:"En savoir plus",getStarted:"Commencer",contactUs:"Contactez-nous",signUp:"S'inscrire",logIn:"Se connecter",logOut:"Déconnexion",download:"Télécharger",upload:"Téléverser",refresh:"Actualiser",search:"Rechercher",filter:"Filtrer",export:"Exporter",import:"Importer",create:"Créer",update:"Mettre à jour",add:"Ajouter",remove:"Retirer",enable:"Activer",disable:"Désactiver",yes:"Oui",no:"Non",ok:"OK"},Yk={required:"Ce champ est obligatoire",invalidEmail:"Veuillez entrer une adresse email valide",minLength:"Doit contenir au moins {{min}} caractères",maxLength:"Doit contenir au maximum {{max}} caractères",passwordMismatch:"Les mots de passe ne correspondent pas",invalidUrl:"Veuillez entrer une URL valide",invalidPhone:"Veuillez entrer un numéro de téléphone valide"},Xk={generic:"Une erreur s'est produite. Veuillez réessayer.",networkError:"Erreur réseau. Veuillez vérifier votre connexion.",notFound:"Non trouvé",unauthorized:"Vous n'êtes pas autorisé à effectuer cette action",sessionExpired:"Votre session a expiré. Veuillez vous reconnecter."},Zk={justNow:"à l'instant",minutesAgo:"Il y a {{count}} minute",minutesAgo_plural:"Il y a {{count}} minutes",hoursAgo:"Il y a {{count}} heure",hoursAgo_plural:"Il y a {{count}} heures",daysAgo:"Il y a {{count}} jour",daysAgo_plural:"Il y a {{count}} jours",weeksAgo:"Il y a {{count}} semaine",weeksAgo_plural:"Il y a {{count}} semaines"},eC={selectLanguage:"Sélectionner la langue",english:"English",french:"Français",spanish:"Español",arabic:"Ø§ÙØ¹Ø±Ø¨ÙØ©"},tC={nav:Qk,footer:Kk,buttons:Jk,validation:Yk,errors:Xk,time:Zk,language:eC},nC={homeTitle:"Cheap MDM - Gestion de Kiosques Android d'Entreprise",homeDescription:"Déployez, gérez et sécurisez vos kiosques Android à grande échelle. Approuvé par des entreprises au Canada, aux Ãtats-Unis, au Royaume-Uni, en Australie, en Afrique du Sud et au Moyen-Orient. Partage d'écran, appels vocaux et chat en temps réel.",featuresTitle:"Fonctionnalités",featuresDescription:"Découvrez toutes les fonctionnalités puissantes de Cheap MDM - mode kiosque, support à distance, suivi de localisation, gestion d'applications et plus encore.",pricingTitle:"Tarifs",pricingDescription:"Tarification simple et transparente pour Cheap MDM. Choisissez le plan adapté à vos besoins. Commencez gratuitement, évoluez selon votre croissance.",aboutTitle:"à propos",contactTitle:"Contact",blogTitle:"Blog"},rC={badge:"Premier MDM local avec support à distance complet",title:"Gestion de kiosque d'entreprise",titleHighlight:"simplifiée",subtitle:"Déployez, gérez et sécurisez vos kiosques Android à grande échelle. Architecture multi-tenant avec partage d'écran, appels vocaux et chat en temps réel.",cta:"Essai gratuit",bookDemo:"Réserver une démo",noCreditCard:"Pas de carte bancaire requise",freeTrial:"Essai gratuit de 14 jours",cancelAnytime:"Annulez à tout moment",activeDevices:"Appareils actifs",onlineRate:"Taux en ligne",activePolicies:"Politiques actives",deviceSynced:"Appareil synchronisé",justNow:"à l'instant"}
84,sC={trustedBy:"Fait confiance par",countries:"Pays",devicesManaged:"Appareils gérés",uptime:"Disponibilité",support:"Support",rating:"4.8/5",fromReviews:"de plus de 200 avis",businessCount:"500+",businessesTrustUs:"entreprises nous font confiance"},iC={sectionTitle:"Tout ce dont vous avez besoin pour gérer vos appareils",sectionSubtitle:"Des fonctionnalités puissantes pour déployer, sécuriser et contrôler votre flotte de kiosques Android.",kioskMode:{title:"Mode Kiosque",description:"Verrouillez les appareils sur une ou plusieurs applications. Créez des lanceurs personnalisés avec uniquement les applications approuvées.",singleApp:"Mode application unique pour appareils dédiés",multiApp:"Mode multi-applications avec lanceur personnalisé",exitPin:"Protection par code PIN de sortie",autoLaunch:"Lancement automatique avec délai configurable",customWallpaper:"Fond d'écran et branding personnalisés",statusBarRestrictions:"Restrictions de barre d'état et navigation"},remoteSupport:{title:"Support à Distance",description:"Partage d'écran, chat intégré et appels vocaux. Fournissez un support instantané aux utilisateurs d'appareils partout.",screenSharing:"Partage d'écran en temps réel",textChat:"Chat texte intégré",voiceCalls:"Appels vocaux via WebRTC",userConsent:"Demandes de consentement utilisateur",sessionRecording:"Enregistrement de session (bientôt disponible)",multiDeviceSupport:"Sessions de support multi-appareils"},locationTracking:{title:"Suivi de Localisation",description:"Suivi GPS en temps réel avec géorepérage. Surveillez les emplacements des appareils et définissez des alertes de périmètre.",realtimeGps:"Suivi GPS en temps réel",locationHistory:"Historique des emplacements",geofencing:"Géorepérage avec alertes",mapView:"Vue carte dans le tableau de bord",configurableIntervals:"Intervalles de suivi configurables",batteryOptimized:"Suivi optimisé pour la batterie"},appManagement:{title:"Gestion des Applications",description:"Installez, mettez à jour et supprimez des applications à distance. Liste blanche ou noire des applications par politique.",remoteInstall:"Installation d'applications à distance",whitelistBlacklist:"Liste blanche/noire des applications",silentUpdates:"Mises à jour silencieuses",versionManagement:"Gestion des versions",playStoreRestrictions:"Restrictions Play Store",apkDistribution:"Téléchargement et distribution APK"},security:{title:"Contrôles de Sécurité",description:"Contrôles matériels, protection contre la réinitialisation d'usine et application des politiques pour une sécurité complète.",factoryResetProtection:"Protection contre la réinitialisation d'usine",deviceEncryption:"Application du chiffrement de l'appareil",usbDebugging:"Contrôle du débogage USB",cameraRestrictions:"Restrictions caméra et microphone",passwordPolicies:"Politiques de mot de passe",remoteWipe:"Capacité d'effacement à distance"},monitoring:{title:"Alertes en Temps Réel",description:"Notifications instantanées pour les changements d'état des appareils, les violations de politique et les problèmes de connectivité.",onlineOffline:"Statut en ligne/hors ligne",batteryLevel:"Surveillance du niveau de batterie",storageAlerts:"Alertes de capacité de stockage",wifiStrength:"Force du signal WiFi",policySync:"Statut de synchronisation des politiques",customAlerts:"Seuils d'alerte personnalisés"},builtForEveryIndustry:"Conçu pour chaque industrie",industrySubtitle:"Des kiosques de vente au détail aux tablettes de santé, nous avons tout ce qu'il vous faut.",exploreAllFeatures:"Explorer toutes les fonctionnalités",industries:{retail:"Commerce",healthcare:"Santé",education:"Ãducation",logistics:"Logistique",hospitality:"Hôtellerie",manufacturing:"Industrie"}},oC={badge:"Configuration Simple",title:"Démarrez en quelques minutes",subtitle:"Trois étapes simples pour déployer et gérer vos kiosques.",step1:{title:"Générer un Code QR",description:"Créez un code QR de provisionnement depuis votre tableau de bord avec les identifiants WiFi et les paramètres d'inscription."},step2:{title:"Configurer la Politique",description:"Configurez le mode kiosque, les applications autorisées, les contrôles matériels et les paramètres de sécurité."},step3:{title:"Déployer & Gérer",description:"Réinitialisez les appareils, scannez le code QR, et ils sont prêts. Gérez tout depuis un seul tableau de bord."},stats:{setupTime:"2 min",setupTimeLabel:"Temps de configuration moyen",uptime:"99.9%",uptimeLabel:"SLA de disponibilité",support:"24/7",supportLabel:"Support disponible"}}
84,aC={badge:"Témoignages",title:"Apprécié par les entreprises du monde entier",subtitle:"Découvrez ce que nos clients disent de la gestion de leurs appareils avec Cheap MDM.",testimonial1:{quote:"Cheap MDM a transformé notre façon de gérer nos kiosques de vente. La fonction de partage d'écran seule nous a fait économiser d'innombrables heures de dépannage sur site.",author:"Sarah Chen",role:"Directrice IT",company:"RetailMax Solutions"},testimonial2:{quote:"Nous avons évalué plusieurs solutions MDM avant de choisir Cheap MDM. L'architecture multi-locataire était exactement ce dont nous avions besoin pour nos franchises.",author:"Michael Rodriguez",role:"Responsable des Opérations",company:"FreshFood Franchises"},testimonial3:{quote:"La fonction d'appel vocal change la donne pour nos tablettes de soins de santé. Notre personnel peut obtenir un support immédiat sans quitter le chevet du patient.",author:"Dr. Emily Thompson",role:"Directrice Médicale",company:"HealthFirst Clinic"}},lC={badge:"Tarification Simple",title:"Choisissez le plan qui vous",titleHighlight:"convient",subtitle:"Commencez gratuitement et évoluez selon votre croissance. Pas de frais cachés, pas de surprises.",monthly:"Mensuel",yearly:"Annuel",save:"Ãconomisez 17%",free:"Gratuit",perDeviceMonth:"/appareil/mois",billedAnnually:"facturé annuellement",mostPopular:"Le plus populaire",startFree:"Commencer gratuitement",getStarted:"Commencer",enterprise:"Entreprise",whiteLabel:"Marque blanche",whiteLabelDescription:"Solutions personnalisées pour les grandes organisations",custom:"Sur mesure",features:{devices:"{{count}} appareils",unlimitedDevices:"Appareils illimités",admins:"{{count}} administrateur",admins_plural:"{{count}} administrateurs",unlimitedAdmins:"Administrateurs illimités",multiAppKiosk:"Mode kiosque multi-applications",advancedKiosk:"Fonctionnalités kiosque avancées",hardwareControls:"Contrôles matériels",locationTracking:"Suivi de localisation",remoteAppManagement:"Gestion d'applications à distance",deviceNotifications:"Notifications d'appareils",customWallpaper:"Fond d'écran personnalisé",apiAccess:"Accès API",screenSharing:"Partage d'écran",inAppChat:"Chat intégré",voiceCalls:"Appels vocaux",allEnterpriseFeatures:"Toutes les fonctionnalités Entreprise",customBranding:"Branding et domaine personnalisés",dedicatedHosting:"Hébergement dédié",fullApiAccess:"Accès API complet",prioritySupport:"Support prioritaire",volumeDiscounts:"Remises sur volume"},remoteSupport:"Support à Distance",contactUs:"Contactez-nous",seeAllPlans:"Voir tous les plans et fonctionnalités"},cC={title:"Questions Fréquemment Posées",subtitle:"Questions courantes sur les tarifs et la facturation",switchPlans:{question:"Puis-je changer de plan à tout moment ?",answer:"Oui, vous pouvez passer à un plan supérieur ou inférieur à tout moment. Lors d'une mise à niveau, la différence sera facturée au prorata. Lors d'un déclassement, le crédit sera appliqué aux factures futures."},freeTrial:{question:"Y a-t-il un essai gratuit ?",answer:"Oui ! Tous les plans incluent un essai gratuit de 14 jours. Pas de carte bancaire requise pour commencer. Vous pouvez explorer toutes les fonctionnalités avant de vous engager."},paymentMethods:{question:"Quels modes de paiement acceptez-vous ?",answer:"Nous acceptons toutes les principales cartes de crédit (Visa, Mastercard, American Express), PayPal et les virements bancaires pour les plans annuels. Les clients entreprise peuvent également payer par facture."},deviceLimit:{question:"Que se passe-t-il si je dépasse ma limite d'appareils ?",answer:"Vous recevrez une notification à l'approche de votre limite. Vous pouvez passer à un plan supérieur ou acheter des emplacements d'appareils supplémentaires. Les appareils existants continueront de fonctionner."},refunds:{question:"Proposez-vous des remboursements ?",answer:"Oui, nous offrons une garantie de remboursement de 30 jours sur tous les plans payants. Si vous n'êtes pas satisfait, contactez notre équipe de support pour un remboursement complet."},annualDiscount:{question:"Y a-t-il une réduction pour la facturation annuelle ?",answer:"Oui ! La facturation annuelle vous donne 2 mois gratuits par rapport à la facturation mensuelle. C'est une économie de 17% sur tous les plans."}}
84,uC={badge:"Commencez votre essai gratuit de 14 jours",title:"Prêt à simplifier la gestion des appareils ?",subtitle:"Rejoignez plus de 500 entreprises qui font confiance à Cheap MDM pour gérer leurs kiosques Android. Démarrez en quelques minutes, sans carte bancaire.",startTrial:"Essai gratuit",contactSales:"Contacter les ventes",freeTrial:"Essai gratuit de 14 jours",noCreditCard:"Pas de carte bancaire requise",cancelAnytime:"Annulez à tout moment",stillHaveQuestions:"Encore des questions ?",stillHaveQuestionsSubtitle:"Notre équipe est là pour vous aider à trouver le plan adapté à vos besoins."},dC={badge:"API Développeur",title:"Accès API Complet",description:"Intégrez Cheap MDM dans vos workflows existants avec notre API REST complète. Automatisez la gestion des appareils, récupérez des analyses et créez des intégrations personnalisées.",features:{restful:"API RESTful avec réponses JSON",jwt:"Authentification JWT",webhooks:"Support des webhooks pour les événements en temps réel",documentation:"Documentation complète"},requestAccess:"Demander l'accès API",exampleComment:"// Exemple de requête API",responseComment:"// Réponse"},fC={title:"Et bien plus encore",subtitle:"Fonctionnalités supplémentaires pour compléter votre boîte à outils de gestion d'appareils.",wifiManagement:"Gestion WiFi",wifiDescription:"Configurez et verrouillez les réseaux WiFi",batteryMonitoring:"Surveillance de la Batterie",batteryDescription:"Suivez les niveaux de batterie et les alertes",hardwareControls:"Contrôles Matériels",hardwareDescription:"Volume, luminosité, Bluetooth",deviceGroups:"Groupes d'Appareils",deviceGroupsDescription:"Organisez les appareils efficacement",bulkOperations:"Opérations en Masse",bulkDescription:"Agissez sur plusieurs appareils à la fois",notifications:"Notifications",notificationsDescription:"Envoyez des messages aux appareils"},pC={title:"à Propos",subtitle:"Construire l'avenir de la gestion des appareils",ourMission:"Notre Mission",ourStory:"Notre Histoire"},hC={title:"Contactez-nous",subtitle:"Entrez en contact avec notre équipe",form:{name:"Nom",email:"Email",subject:"Sujet",message:"Message",send:"Envoyer le message",sending:"Envoi...",success:"Message envoyé avec succès !",error:"Ãchec de l'envoi. Veuillez réessayer."}},mC={badge:"Blog",title:"Derniers articles",subtitle:"Conseils, tutoriels et mises à jour pour tirer le meilleur parti de Cheap MDM.",readMore:"Lire la suite",categories:"Catégories",recentPosts:"Articles récents",allPosts:"Tous les articles",viewAllArticles:"Voir tous les articles",minRead:"min de lecture"},gC={title:"Conditions Générales",lastUpdated:"Dernière mise à jour"},yC={title:"Politique de Cookies",lastUpdated:"Dernière mise à jour"},vC={seo:nC,hero:rC,socialProof:sC,features:iC,howItWorks:oC,testimonials:aC,pricing:lC,faq:cC,cta:uC,api:dC,additional:fC,about:pC,contact:hC,blog:mC,terms:gC,cookies:yC},wC={dashboard:"Tableau de bord",tenants:"Locataires",plans:"Plans",subscription:"Abonnement",adminUsers:"Utilisateurs Admin",provisioning:"Provisionnement",devices:"Appareils",deviceMap:"Carte des Appareils",deviceGroups:"Groupes d'Appareils",policies:"Politiques",apps:"Applications",notifications:"Notifications",activityLogs:"Journaux d'Activité",salesAnalytics:"Analyses des Ventes",email:"Email",inbox:"Boîte de réception",signatures:"Signatures",accounts:"Comptes",emailNotifications:"Notifications",systemUpdates:"Mises à jour Système",siteSettings:"Paramètres du Site",fileManager:"Gestionnaire de Fichiers",database:"Base de données",serverHealth:"Santé du Serveur",support:"Support",supportTickets:"Tickets de Support",contactSubmissions:"Soumissions de Contact",newsletterSubscribers:"Abonnés Newsletter",liveChat:"Chat en Direct",profile:"Profil",logout:"Déconnexion",returnToAdmin:"Retour à l'Admin",viewingAs:"Vu en tant que :",adminPortal:"Portail Admin"},xC={title:"Tableau de bord",welcome:"Bon retour",overview:"Aperçu",totalDevices:"Total des Appareils",onlineDevices:"Appareils en Ligne",offlineDevices:"Appareils Hors Ligne",activePolicies:"Politiques Actives",deviceGroups:"Groupes d'Appareils",recentActivity:"Activité Récente",deviceStatus:"Statut des Appareils",online:"En ligne",offline:"Hors ligne",pending:"En attente",quickActions:"Actions Rapides",addDevice:"Ajouter un Appareil",createPolicy:"Créer une Politique",viewAllDevices:"Voir Tous les Appareils"}
84,bC={title:"Appareils",searchPlaceholder:"Rechercher des appareils...",addDevice:"Ajouter un Appareil",noDevices:"Aucun appareil trouvé",noDevicesDescription:"Commencez par provisionner votre premier appareil",deviceName:"Nom de l'Appareil",status:"Statut",lastSeen:"Dernière Activité",policy:"Politique",group:"Groupe",actions:"Actions",viewDetails:"Voir les Détails",editDevice:"Modifier l'Appareil",removeDevice:"Supprimer l'Appareil",syncPolicy:"Synchroniser la Politique",reboot:"Redémarrer",lockDevice:"Verrouiller",unlockDevice:"Déverrouiller",wipeDevice:"Effacer l'Appareil",online:"En ligne",offline:"Hors ligne",never:"Jamais",confirmDelete:"Ãtes-vous sûr de vouloir supprimer cet appareil ?",confirmWipe:"Ãtes-vous sûr de vouloir effacer cet appareil ? Cette action est irréversible.",battery:"Batterie",storage:"Stockage",model:"Modèle",androidVersion:"Version Android",appVersion:"Version App",imei:"IMEI",serialNumber:"Numéro de Série"},SC={title:"Groupes d'Appareils",createGroup:"Créer un Groupe",noGroups:"Aucun groupe trouvé",noGroupsDescription:"Créez des groupes pour organiser vos appareils",groupName:"Nom du Groupe",description:"Description",deviceCount:"Appareils",defaultPolicy:"Politique par Défaut",editGroup:"Modifier le Groupe",deleteGroup:"Supprimer le Groupe",confirmDelete:"Ãtes-vous sûr de vouloir supprimer ce groupe ?"},kC={title:"Politiques",createPolicy:"Créer une Politique",noPolicies:"Aucune politique trouvée",noPoliciesDescription:"Créez des politiques pour configurer les appareils",policyName:"Nom de la Politique",description:"Description",deviceCount:"Appareils",kioskMode:"Mode Kiosque",editPolicy:"Modifier la Politique",deletePolicy:"Supprimer la Politique",duplicatePolicy:"Dupliquer la Politique",confirmDelete:"Ãtes-vous sûr de vouloir supprimer cette politique ?",enabled:"Activé",disabled:"Désactivé",singleApp:"Application Unique",multiApp:"Multi-Applications",allowedApps:"Applications Autorisées",blockedApps:"Applications Bloquées",settings:{general:"Général",kiosk:"Mode Kiosque",apps:"Applications",security:"Sécurité",hardware:"Matériel",network:"Réseau"}}
84,CC={title:"Applications",uploadApp:"Téléverser une App",noApps:"Aucune application trouvée",noAppsDescription:"Téléversez des fichiers APK à distribuer aux appareils",appName:"Nom de l'App",packageName:"Nom du Package",version:"Version",size:"Taille",uploadDate:"Date de Téléversement",deleteApp:"Supprimer l'App",downloadApp:"Télécharger l'App",confirmDelete:"Ãtes-vous sûr de vouloir supprimer cette application ?"},PC={title:"Provisionnement",subtitle:"Enregistrez de nouveaux appareils via le provisionnement par code QR",generateQr:"Générer le Code QR",selectPolicy:"Sélectionner la Politique",selectGroup:"Sélectionner le Groupe (Optionnel)",qrExpiry:"Expiration du Code QR",hours:"heures",scanInstructions:"Scannez ce code QR lors de la configuration de l'appareil pour l'enregistrer et le configurer automatiquement.",downloadQr:"Télécharger le Code QR",copyEnrollmentUrl:"Copier l'URL d'Enregistrement",urlCopied:"URL copiée",expiresIn:"Expire dans {{time}}"},EC={title:"Profil",personalInfo:"Informations Personnelles",email:"Email",fullName:"Nom Complet",organization:"Organisation",role:"Rôle",changePassword:"Changer le Mot de passe",currentPassword:"Mot de passe Actuel",newPassword:"Nouveau Mot de passe",confirmPassword:"Confirmer le Mot de passe",updatePassword:"Mettre à jour",twoFactorAuth:"Authentification à Deux Facteurs",twoFactorEnabled:"2FA activée",twoFactorDisabled:"2FA désactivée",enable2fa:"Activer 2FA",disable2fa:"Désactiver 2FA",saveChanges:"Enregistrer"},TC={title:"Abonnement",currentPlan:"Plan Actuel",usage:"Utilisation",devicesUsed:"{{used}} sur {{total}} appareils utilisés",adminsUsed:"{{used}} sur {{total}} admins utilisés",billingCycle:"Cycle de Facturation",nextBilling:"Prochaine facturation",changePlan:"Changer de Plan",cancelSubscription:"Annuler l'Abonnement",paymentMethod:"Moyen de Paiement",updatePayment:"Mettre à jour le Paiement",invoices:"Factures",viewInvoice:"Voir la Facture",downloadInvoice:"Télécharger la Facture"},AC={title:"Support",createTicket:"Créer un Ticket",noTickets:"Aucun ticket trouvé",noTicketsDescription:"Créez un ticket de support si vous avez besoin d'aide",ticketId:"ID du Ticket",subject:"Sujet",status:"Statut",priority:"Priorité",created:"Créé",lastUpdate:"Dernière Mise à jour",open:"Ouvert",inProgress:"En Cours",resolved:"Résolu",closed:"Fermé",low:"Faible",medium:"Moyen",high:"Ãlevé",urgent:"Urgent",viewTicket:"Voir le Ticket",reply:"Répondre",closeTicket:"Fermer le Ticket"},NC={title:"Notifications",sendNotification:"Envoyer une Notification",noNotifications:"Aucune notification",selectDevices:"Sélectionner les Appareils",allDevices:"Tous les Appareils",selectedDevices:"Appareils Sélectionnés",notificationTitle:"Titre",notificationMessage:"Message",send:"Envoyer",sending:"Envoi...",sent:"Notification envoyée"},_C={title:"Journaux d'Activité",noLogs:"Aucun journal trouvé",action:"Action",user:"Utilisateur",device:"Appareil",timestamp:"Date/Heure",details:"Détails",filter:"Filtrer",export:"Exporter"},DC={title:"Paramètres",general:"Général",appearance:"Apparence",theme:"Thème",light:"Clair",dark:"Sombre",system:"Système",language:"Langue",timezone:"Fuseau horaire",notifications:"Notifications",emailNotifications:"Notifications par Email",pushNotifications:"Notifications Push"},jC={save:"Enregistrer",cancel:"Annuler",delete:"Supprimer",edit:"Modifier",create:"Créer",update:"Mettre à jour",search:"Rechercher",filter:"Filtrer",export:"Exporter",import:"Importer",loading:"Chargement...",noResults:"Aucun résultat",confirmAction:"Ãtes-vous sûr ?",success:"Succès",error:"Erreur",warning:"Avertissement",info:"Info",yes:"Oui",no:"Non",all:"Tout",none:"Aucun",select:"Sélectionner",selected:"sélectionné(s)",actions:"Actions",more:"Plus",refresh:"Actualiser",close:"Fermer",back:"Retour",next:"Suivant",previous:"Précédent",finish:"Terminer",perPage:"par page",page:"Page",of:"sur",showing:"Affichage de",to:"à ",entries:"entrées"},OC={sidebar:wC,dashboard:xC,devices:bC,groups:SC,policies:kC,apps:CC,provisioning:PC,profile:EC,subscription:TC,support:AC,notifications:NC,logs:_C,settings:DC,common:jC},LC={title:"Bon retour",subtitle:"Connectez-vous à votre compte Cheap MDM",email:"Email",emailPlaceholder:"[email protected]",password:"Mot de passe",passwordPlaceholder:"Entrez votre mot de passe",forgotPassword:"Mot de passe oublié ?",signIn:"Se connecter",signingIn:"Connexion...",noAccount:"Pas encore de compte ?",signUp:"S'inscrire",backToHome:"Retour à l'accueil"},RC={title:"Authentification à Deux Facteurs",subtitle:"Entrez le code à 6 chiffres de votre application d'authentification",code:"Code de Vérification",codePlaceholder:"000000",backupCodeHint:"Vous pouvez également utiliser un code de secours si vous n'avez pas accès à votre authentificateur",verify:"Vérifier"}
84,MC={title:"Créer un compte",subtitle:"Commencez votre essai gratuit de 14 jours",organizationName:"Nom de l'Organisation",organizationPlaceholder:"Nom de votre entreprise",fullName:"Nom Complet",fullNamePlaceholder:"Jean Dupont",email:"Email",emailPlaceholder:"[email protected]",password:"Mot de passe",passwordPlaceholder:"Créez un mot de passe",confirmPassword:"Confirmer le Mot de passe",confirmPasswordPlaceholder:"Confirmez votre mot de passe",createAccount:"Créer le Compte",creatingAccount:"Création du compte...",hasAccount:"Déjà un compte ?",signIn:"Se connecter",termsAgreement:"En créant un compte, vous acceptez nos",termsOfService:"Conditions d'Utilisation",and:"et",privacyPolicy:"Politique de Confidentialité"},IC={title:"Mot de passe oublié ?",subtitle:"Entrez votre email et nous vous enverrons un lien de réinitialisation",email:"Email",emailPlaceholder:"[email protected]",sendResetLink:"Envoyer le lien",sending:"Envoi...",backToLogin:"Retour à la connexion",successTitle:"Vérifiez votre email",successMessage:"Nous avons envoyé un lien de réinitialisation à {{email}}",didntReceive:"Vous n'avez pas reçu l'email ?",checkSpam:"Vérifiez vos spams ou",tryAgain:"réessayez"},$C={title:"Réinitialiser le mot de passe",subtitle:"Entrez votre nouveau mot de passe",newPassword:"Nouveau Mot de passe",newPasswordPlaceholder:"Entrez le nouveau mot de passe",confirmPassword:"Confirmer le Mot de passe",confirmPasswordPlaceholder:"Confirmez le nouveau mot de passe",resetPassword:"Réinitialiser",resetting:"Réinitialisation...",successTitle:"Mot de passe réinitialisé",successMessage:"Votre mot de passe a été réinitialisé. Vous pouvez maintenant vous connecter.",goToLogin:"Aller à la connexion",invalidToken:"Lien invalide ou expiré",invalidTokenMessage:"Le lien de réinitialisation est invalide ou a expiré. Veuillez en demander un nouveau.",requestNew:"Demander un nouveau lien"},zC={invalidCredentials:"Email ou mot de passe invalide",accountLocked:"Compte verrouillé. Veuillez réessayer plus tard.",emailInUse:"Un compte avec cet email existe déjà ",weakPassword:"Le mot de passe doit contenir au moins 8 caractères",passwordMismatch:"Les mots de passe ne correspondent pas",invalidEmail:"Veuillez entrer une adresse email valide",required:"Ce champ est obligatoire",invalidToken:"Token invalide ou expiré",tooManyAttempts:"Trop de tentatives. Veuillez réessayer plus tard."},FC={login:LC,twoFactor:RC,signup:MC,forgotPassword:IC,resetPassword:$C,errors:zC},qC={home:"Inicio",features:"CaracterÃsticas",pricing:"Precios",blog:"Blog",about:"Acerca de",contact:"Contacto",login:"Iniciar sesión",signup:"Registrarse",startFreeTrial:"Prueba gratuita",dashboard:"Panel de control"},UC={stayUpToDate:"Mantente informado",newsletterDesc:"Recibe las últimas noticias, consejos y actualizaciones de productos.",enterEmail:"Ingresa tu email",subscribe:"Suscribirse",subscribed:"¡Suscrito!",subscribing:"Suscribiendo...",subscribeSuccess:"¡Suscripción exitosa!",subscribeError:"Error al suscribirse. Por favor, inténtalo de nuevo.",brandDescription:"Gestión de kioscos Android de nivel empresarial simplificada. Despliega, asegura y gestiona dispositivos a escala.",product:"Producto",company:"Empresa",resources:"Recursos",legal:"Legal",documentation:"Documentación",api:"API",careers:"Carreras",gettingStarted:"Comenzar",security:"Seguridad",bestPractices:"Mejores prácticas",support:"Soporte",termsConditions:"Términos y condiciones",cookiePolicy:"PolÃtica de cookies",privacyPolicy:"PolÃtica de privacidad",copyright:"© {{year}} Alpha Ajoge Inc. Todos los derechos reservados.",tagline:"Cheap MDM - Gestión de kioscos empresariales para Android"},BC={submit:"Enviar",cancel:"Cancelar",save:"Guardar",delete:"Eliminar",edit:"Editar",close:"Cerrar",confirm:"Confirmar",back:"Atrás",
84next:"Siguiente",previous:"Anterior",loading:"Cargando...",retry:"Reintentar",viewAll:"Ver todo",learnMore:"Saber más",getStarted:"Comenzar",contactUs:"Contáctanos",signUp:"Registrarse",logIn:"Iniciar sesión",logOut:"Cerrar sesión",download:"Descargar",upload:"Subir",refresh:"Actualizar",search:"Buscar",filter:"Filtrar",export:"Exportar",import:"Importar",create:"Crear",update:"Actualizar",add:"Agregar",remove:"Eliminar",enable:"Habilitar",disable:"Deshabilitar",yes:"SÃ",no:"No",ok:"OK"},VC={required:"Este campo es obligatorio",invalidEmail:"Por favor, ingresa un email válido",minLength:"Debe tener al menos {{min}} caracteres",maxLength:"Debe tener como máximo {{max}} caracteres",passwordMismatch:"Las contraseñas no coinciden",invalidUrl:"Por favor, ingresa una URL válida",invalidPhone:"Por favor, ingresa un número de teléfono válido"},HC={generic:"Algo salió mal. Por favor, inténtalo de nuevo.",networkError:"Error de red. Por favor, verifica tu conexión.",notFound:"No encontrado",unauthorized:"No estás autorizado para realizar esta acción",sessionExpired:"Tu sesión ha expirado. Por favor, inicia sesión de nuevo."},GC={justNow:"Ahora mismo",minutesAgo:"Hace {{count}} minuto",minutesAgo_plural:"Hace {{count}} minutos",hoursAgo:"Hace {{count}} hora",hoursAgo_plural:"Hace {{count}} horas",daysAgo:"Hace {{count}} dÃa",daysAgo_plural:"Hace {{count}} dÃas",weeksAgo:"Hace {{count}} semana",weeksAgo_plural:"Hace {{count}} semanas"},WC={selectLanguage:"Seleccionar idioma",english:"English",french:"Français",spanish:"Español",arabic:"Ø§ÙØ¹Ø±Ø¨ÙØ©"},QC={nav:qC,footer:UC,buttons:BC,validation:VC,errors:HC,time:GC,language:WC},KC={homeTitle:"Cheap MDM - Gestión Empresarial de Kioscos Android",homeDescription:"Despliega, gestiona y asegura tus kioscos Android a escala. Confiado por empresas en Canadá, EE.UU., Reino Unido, Australia, Sudáfrica y Medio Oriente. Compartir pantalla, llamadas de voz y chat en tiempo real.",featuresTitle:"CaracterÃsticas",featuresDescription:"Explora todas las potentes caracterÃsticas de Cheap MDM - modo kiosco, soporte remoto, seguimiento de ubicación, gestión de aplicaciones y más.",pricingTitle:"Precios",pricingDescription:"Precios simples y transparentes para Cheap MDM. Elige el plan que se adapte a tus necesidades. Comienza gratis, escala según crezcas.",aboutTitle:"Acerca de",contactTitle:"Contacto",blogTitle:"Blog"},JC={badge:"Primer MDM local con soporte remoto completo",title:"Gestión de kioscos empresariales",titleHighlight:"simplificada",subtitle:"Despliega, gestiona y asegura tus kioscos Android a escala. Arquitectura multi-inquilino con compartir pantalla, llamadas de voz y chat en tiempo real.",cta:"Prueba gratuita",bookDemo:"Reservar una demo",noCreditCard:"Sin tarjeta de crédito",freeTrial:"14 dÃas de prueba gratis",cancelAnytime:"Cancela cuando quieras",activeDevices:"Dispositivos activos",onlineRate:"Tasa en lÃnea",activePolicies:"PolÃticas activas",deviceSynced:"Dispositivo sincronizado",justNow:"Ahora mismo"}
84,YC={trustedBy:"Confiado por",countries:"PaÃses",devicesManaged:"Dispositivos gestionados",uptime:"Disponibilidad",support:"Soporte",rating:"4.8/5",fromReviews:"de más de 200 reseñas",businessCount:"500+",businessesTrustUs:"empresas confÃan en nosotros"},XC={sectionTitle:"Todo lo que necesitas para gestionar dispositivos",sectionSubtitle:"CaracterÃsticas potentes para desplegar, asegurar y controlar tu flota de kioscos Android.",kioskMode:{title:"Modo Kiosco",description:"Bloquea dispositivos a una o varias aplicaciones. Crea lanzadores personalizados con solo las aplicaciones aprobadas.",singleApp:"Modo de aplicación única para dispositivos dedicados",multiApp:"Modo multi-aplicación con lanzador personalizado",exitPin:"Protección con PIN de salida",autoLaunch:"Inicio automático con retraso configurable",customWallpaper:"Fondo de pantalla y marca personalizados",statusBarRestrictions:"Restricciones de barra de estado y navegación"},remoteSupport:{title:"Soporte Remoto",description:"Compartir pantalla, chat integrado y llamadas de voz. Proporciona soporte instantáneo a usuarios de dispositivos en cualquier lugar.",screenSharing:"Compartir pantalla en tiempo real",textChat:"Chat de texto integrado",voiceCalls:"Llamadas de voz vÃa WebRTC",userConsent:"Solicitudes de consentimiento del usuario",sessionRecording:"Grabación de sesión (próximamente)",multiDeviceSupport:"Sesiones de soporte multi-dispositivo"},locationTracking:{title:"Seguimiento de Ubicación",description:"Seguimiento GPS en tiempo real con geocercas. Monitorea ubicaciones de dispositivos y configura alertas de perÃmetro.",realtimeGps:"Seguimiento GPS en tiempo real",locationHistory:"Historial de ubicaciones",geofencing:"Geocercas con alertas",mapView:"Vista de mapa en el panel",configurableIntervals:"Intervalos de seguimiento configurables",batteryOptimized:"Seguimiento optimizado para baterÃa"},appManagement:{title:"Gestión de Aplicaciones",description:"Instala, actualiza y elimina aplicaciones remotamente. Lista blanca o negra de aplicaciones por polÃtica.",remoteInstall:"Instalación remota de aplicaciones",whitelistBlacklist:"Lista blanca/negra de aplicaciones",silentUpdates:"Actualizaciones silenciosas",versionManagement:"Gestión de versiones",playStoreRestrictions:"Restricciones de Play Store",apkDistribution:"Carga y distribución de APK"},security:{title:"Controles de Seguridad",description:"Controles de hardware, protección contra restablecimiento de fábrica y aplicación de polÃticas para seguridad completa.",factoryResetProtection:"Protección contra restablecimiento de fábrica",deviceEncryption:"Aplicación de cifrado del dispositivo",usbDebugging:"Control de depuración USB",cameraRestrictions:"Restricciones de cámara y micrófono",passwordPolicies:"PolÃticas de contraseña",remoteWipe:"Capacidad de borrado remoto"},monitoring:{title:"Alertas en Tiempo Real",description:"Notificaciones instantáneas para cambios de estado de dispositivos, violaciones de polÃticas y problemas de conectividad.",onlineOffline:"Estado en lÃnea/fuera de lÃnea",batteryLevel:"Monitoreo del nivel de baterÃa",storageAlerts:"Alertas de capacidad de almacenamiento",wifiStrength:"Fuerza de señal WiFi",policySync:"Estado de sincronización de polÃticas",customAlerts:"Umbrales de alerta personalizados"},builtForEveryIndustry:"Diseñado para cada industria",industrySubtitle:"Desde kioscos de retail hasta tabletas de salud, te tenemos cubierto.",exploreAllFeatures:"Explorar todas las caracterÃsticas",industries:{retail:"Retail",healthcare:"Salud",education:"Educación",logistics:"LogÃstica",hospitality:"HostelerÃa",manufacturing:"Manufactura"}},ZC={badge:"Configuración Simple",title:"Comienza en minutos",subtitle:"Tres simples pasos para desplegar y gestionar tus dispositivos kiosco.",step1:{title:"Genera Código QR",description:"Crea un código QR de aprovisionamiento desde tu panel con credenciales W
84iFi y configuración de inscripción."},step2:{title:"Configura la PolÃtica",description:"Configura el modo kiosco, aplicaciones permitidas, controles de hardware y ajustes de seguridad."},step3:{title:"Despliega y Gestiona",description:"Restablece los dispositivos de fábrica, escanea el código QR y están listos. Gestiona todo desde un panel."},stats:{setupTime:"2 min",setupTimeLabel:"Tiempo promedio de configuración",uptime:"99.9%",uptimeLabel:"SLA de disponibilidad",support:"24/7",supportLabel:"Soporte disponible"}},eP={badge:"Testimonios",title:"Amado por empresas en todo el mundo",subtitle:"Mira lo que nuestros clientes dicen sobre gestionar sus dispositivos con Cheap MDM.",testimonial1:{quote:"Cheap MDM transformó cómo gestionamos nuestros kioscos de retail. Solo la función de compartir pantalla nos ha ahorrado incontables horas de solución de problemas en sitio.",author:"Sarah Chen",role:"Directora de TI",company:"RetailMax Solutions"},testimonial2:{quote:"Evaluamos varias soluciones MDM antes de elegir Cheap MDM. La arquitectura multi-inquilino era exactamente lo que necesitábamos para nuestras franquicias.",author:"Michael Rodriguez",role:"Gerente de Operaciones",company:"FreshFood Franchises"},testimonial3:{quote:"La función de llamada de voz es revolucionaria para nuestras tabletas de salud. Nuestro personal puede obtener soporte inmediato sin dejar al paciente.",author:"Dra. Emily Thompson",role:"Directora Médica",company:"HealthFirst Clinic"}},tP={badge:"Precios Simples",title:"Elige el plan que es",titleHighlight:"adecuado para ti",subtitle:"Comienza gratis y escala según crezcas. Sin tarifas ocultas, sin sorpresas.",monthly:"Mensual",yearly:"Anual",save:"Ahorra 17%",free:"Gratis",perDeviceMonth:"/dispositivo/mes",billedAnnually:"facturado anualmente",mostPopular:"Más Popular",startFree:"Comenzar Gratis",getStarted:"Comenzar",enterprise:"Empresarial",whiteLabel:"Marca blanca",whiteLabelDescription:"Soluciones personalizadas para grandes organizaciones",custom:"Personalizado",features:{devices:"{{count}} dispositivos",unlimitedDevices:"Dispositivos ilimitados",admins:"{{count}} administrador",admins_plural:"{{count}} administradores",unlimitedAdmins:"Administradores ilimitados",multiAppKiosk:"Modo kiosco multi-aplicación",advancedKiosk:"CaracterÃsticas avanzadas de kiosco",hardwareControls:"Controles de hardware",locationTracking:"Seguimiento de ubicación",remoteAppManagement:"Gestión remota de aplicaciones",deviceNotifications:"Notificaciones de dispositivos",customWallpaper:"Fondo de pantalla personalizado",apiAccess:"Acceso API",screenSharing:"Compartir pantalla",inAppChat:"Chat integrado",voiceCalls:"Llamadas de voz",allEnterpriseFeatures:"Todas las caracterÃsticas empresariales",customBranding:"Marca y dominio personalizados",dedicatedHosting:"Hosting dedicado",fullApiAccess:"Acceso API completo",prioritySupport:"Soporte prioritario",volumeDiscounts:"Descuentos por volumen"},remoteSupport:"Soporte Remoto",contactUs:"Contáctanos",seeAllPlans:"Ver todos los planes y caracterÃsticas"},nP={title:"Preguntas Frecuentes",subtitle:"Preguntas comunes sobre precios y facturación",switchPlans:{question:"¿Puedo cambiar de plan en cualquier momento?",answer:"SÃ, puedes subir o bajar de plan en cualquier momento. Al subir, se te cobrará la diferencia prorrateada. Al bajar, el crédito se aplicará a facturas futuras."},freeTrial:{question:"¿Hay una prueba gratuita?",answer:"¡SÃ! Todos los planes incluyen una prueba gratuita de 14 dÃas. No se requiere tarjeta de crédito para comenzar. Puedes explorar todas las caracterÃsticas antes de comprometerte."},paymentMethods:{question:"¿Qué métodos de pago aceptan?",answer:"Aceptamos todas las principales tarjetas de crédito (Visa, Mastercard, American Express), PayPal y transferencias bancarias para planes anuales. Los clientes empresariales también pueden pagar por factura."},deviceLimit:{question:"¿Qué pasa si excedo mi lÃmite de dispositivos?",answer:"Recibirás una notificación al acercarte a tu lÃmite. Puedes subir a un plan superior o comprar espacios adicionales para dispositivos. Los dispositivos existentes seguirán funcionando."},refunds:{question:"¿Ofrecen reembolsos?",answer:"SÃ, ofrecemos una garantÃa de devolución de dinero de 30 dÃas en todos los planes pagos. Si no estás satisfecho, contacta a
84nuestro equipo de soporte para un reembolso completo."},annualDiscount:{question:"¿Hay descuento por facturación anual?",answer:"¡SÃ! La facturación anual te da 2 meses gratis comparado con la facturación mensual. Eso es un ahorro del 17% en todos los planes."}},rP={badge:"Comienza tu prueba gratuita de 14 dÃas",title:"¿Listo para simplificar la gestión de dispositivos?",subtitle:"Ãnete a más de 500 empresas que confÃan en Cheap MDM para gestionar sus kioscos Android. Comienza en minutos, sin tarjeta de crédito.",startTrial:"Prueba gratuita",contactSales:"Contactar ventas",freeTrial:"14 dÃas de prueba gratis",noCreditCard:"Sin tarjeta de crédito",cancelAnytime:"Cancela cuando quieras",stillHaveQuestions:"¿Aún tienes preguntas?",stillHaveQuestionsSubtitle:"Nuestro equipo está aquà para ayudarte a encontrar el plan adecuado para tus necesidades."},sP={badge:"API para Desarrolladores",title:"Acceso API Completo",description:"Integra Cheap MDM en tus flujos de trabajo existentes con nuestra API REST completa. Automatiza la gestión de dispositivos, obtén análisis y crea integraciones personalizadas.",features:{restful:"API RESTful con respuestas JSON",jwt:"Autenticación JWT",webhooks:"Soporte de webhooks para eventos en tiempo real",documentation:"Documentación completa"},requestAccess:"Solicitar acceso API",exampleComment:"// Ejemplo de solicitud API",responseComment:"// Respuesta"},iP={title:"Y mucho más",subtitle:"CaracterÃsticas adicionales para completar tu kit de herramientas de gestión de dispositivos.",wifiManagement:"Gestión WiFi",wifiDescription:"Configura y bloquea redes WiFi",batteryMonitoring:"Monitoreo de BaterÃa",batteryDescription:"Rastrea niveles de baterÃa y alertas",hardwareControls:"Controles de Hardware",hardwareDescription:"Volumen, brillo, Bluetooth",deviceGroups:"Grupos de Dispositivos",deviceGroupsDescription:"Organiza dispositivos eficientemente",bulkOperations:"Operaciones en Masa",bulkDescription:"Actúa en múltiples dispositivos a la vez",notifications:"Notificaciones",notificationsDescription:"EnvÃa mensajes a dispositivos"},oP={title:"Acerca de Nosotros",subtitle:"Construyendo el futuro de la gestión de dispositivos",ourMission:"Nuestra Misión",ourStory:"Nuestra Historia"},aP={title:"Contáctanos",subtitle:"Ponte en contacto con nuestro equipo",form:{name:"Nombre",email:"Email",subject:"Asunto",message:"Mensaje",send:"Enviar mensaje",sending:"Enviando...",success:"¡Mensaje enviado exitosamente!",error:"Error al enviar. Por favor, inténtalo de nuevo."}}
84,lP={badge:"Blog",title:"Lo último de nuestro blog",subtitle:"Consejos, tutoriales y actualizaciones para aprovechar al máximo Cheap MDM.",readMore:"Leer más",categories:"CategorÃas",recentPosts:"Publicaciones recientes",allPosts:"Todas las publicaciones",viewAllArticles:"Ver todos los artÃculos",minRead:"min de lectura"},cP={title:"Términos y Condiciones",lastUpdated:"Ãltima actualización"},uP={title:"PolÃtica de Cookies",lastUpdated:"Ãltima actualización"},dP={seo:KC,hero:JC,socialProof:YC,features:XC,howItWorks:ZC,testimonials:eP,pricing:tP,faq:nP,cta:rP,api:sP,additional:iP,about:oP,contact:aP,blog:lP,terms:cP,cookies:uP},fP={dashboard:"Panel de control",tenants:"Inquilinos",plans:"Planes",subscription:"Suscripción",adminUsers:"Usuarios Admin",provisioning:"Aprovisionamiento",devices:"Dispositivos",deviceMap:"Mapa de Dispositivos",deviceGroups:"Grupos de Dispositivos",policies:"PolÃticas",apps:"Aplicaciones",notifications:"Notificaciones",activityLogs:"Registros de Actividad",salesAnalytics:"Análisis de Ventas",email:"Email",inbox:"Bandeja de entrada",signatures:"Firmas",accounts:"Cuentas",emailNotifications:"Notificaciones",systemUpdates:"Actualizaciones del Sistema",siteSettings:"Configuración del Sitio",fileManager:"Gestor de Archivos",database:"Base de datos",serverHealth:"Estado del Servidor",support:"Soporte",supportTickets:"Tickets de Soporte",contactSubmissions:"EnvÃos de Contacto",newsletterSubscribers:"Suscriptores del BoletÃn",liveChat:"Chat en Vivo",profile:"Perfil",logout:"Cerrar sesión",returnToAdmin:"Volver a Admin",viewingAs:"Viendo como:",adminPortal:"Portal Admin"},pP={title:"Panel de control",welcome:"Bienvenido de nuevo",overview:"Resumen",totalDevices:"Total de Dispositivos",onlineDevices:"Dispositivos en LÃnea",offlineDevices:"Dispositivos Fuera de LÃnea",activePolicies:"PolÃticas Activas",deviceGroups:"Grupos de Dispositivos",recentActivity:"Actividad Reciente",deviceStatus:"Estado de Dispositivos",online:"En lÃnea",offline:"Fuera de lÃnea",pending:"Pendiente",quickActions:"Acciones Rápidas",addDevice:"Agregar Dispositivo",createPolicy:"Crear PolÃtica",viewAllDevices:"Ver Todos los Dispositivos"},hP={title:"Dispositivos",searchPlaceholder:"Buscar dispositivos...",addDevice:"Agregar Dispositivo",noDevices:"No se encontraron dispositivos",noDevicesDescription:"Comienza aprovisionando tu primer dispositivo",deviceName:"Nombre del Dispositivo",status:"Estado",lastSeen:"Ãltima vez visto",policy:"PolÃtica",group:"Grupo",actions:"Acciones",viewDetails:"Ver Detalles",editDevice:"Editar Dispositivo",removeDevice:"Eliminar Dispositivo",syncPolicy:"Sincronizar PolÃtica",reboot:"Reiniciar",lockDevice:"Bloquear",unlockDevice:"Desbloquear",wipeDevice:"Borrar Dispositivo",online:"En lÃnea",offline:"Fuera de lÃnea",never:"Nunca",confirmDelete:"¿Estás seguro de que deseas eliminar este dispositivo?",confirmWipe:"¿Estás seguro de que deseas borrar este dispositivo? Esta acción no se puede deshacer.",battery:"BaterÃa",storage:"Almacenamiento",model:"Modelo",androidVersion:"Versión de Android",appVersion:"Versión de App",imei:"IMEI",serialNumber:"Número de Serie"},mP={title:"Grupos de Dispositivos",createGroup:"Crear Grupo",noGroups:"No se encontraron grupos",noGroupsDescription:"Crea grupos para organizar tus dispositivos",groupName:"Nombre del Grupo",description:"Descripción",deviceCount:"Dispositivos",defaultPolicy:"PolÃtica Predeterminada",editGroup:"Editar Grupo",deleteGroup:"Eliminar Grupo",confirmDelete:"¿Estás seguro de que deseas eliminar este grupo?"},gP={title:"PolÃticas",createPolicy:"Crear PolÃtica",noPolicies:"No se encontraron polÃticas",noPoliciesDescription:"Crea polÃticas para configurar dispositivos",policyName:"Nombre de la PolÃtica",description:"Descripción",deviceCount:"Dispositivos",kioskMode:"Modo Kiosco",editPolicy:"Editar PolÃtica",deletePolicy:"Eliminar PolÃtica",duplicatePolicy:"Duplicar PolÃtica",confirmDelete:"¿Estás seguro de que deseas eliminar esta polÃtica?",enabled:"Habilitado",disabled:"Deshabilitado",singleApp:"Aplicación Ãnica",multiApp:"Multi-Aplicación",allowedApps:"Aplicaciones Permitidas",blockedApps:"Aplicaciones Bloqueadas",settings:{general:"General",kiosk:"Modo Kiosco",apps:"Aplicaciones",security:"Seguridad",hardware:"Hardware",network:"Red"}},yP={title:"Aplicaciones",uploadApp:"Subir App",noApps:"No se encontraron aplicaciones",noAppsDescription:"Sube archivos APK para distribuir a dispositivos",appName:"Nombre de la App",packageName:"Nombre del Paquete",version:"Versión",size:"Tamaño",uploadDate:"Fecha de Subida",deleteApp:"Eliminar App",downloadApp:"Descargar App",confirmDelete:"¿Estás seguro de que deseas eliminar esta aplicación?"},vP={title:"Aprovisionamiento",subtitle:"Registra nuevos dispositivos usando aprovisionamiento por código QR",generateQr:"Generar Código QR",selectPolicy:"Seleccionar PolÃtica",selectGroup:"Seleccionar Grupo (Opcional)",qrExpiry:"Expiración del Código QR",hours:"horas",scanInstructions:"Escanea este código QR durante la configuración del dispositivo para registrarlo y configurarlo automáticamente.",downloadQr:"Descargar Código QR",copyEnrollmentUrl:"Copiar URL de Registro",urlCopied:"URL copiada",expires
84In:"Expira en {{time}}"},wP={title:"Perfil",personalInfo:"Información Personal",email:"Email",fullName:"Nombre Completo",organization:"Organización",role:"Rol",changePassword:"Cambiar Contraseña",currentPassword:"Contraseña Actual",newPassword:"Nueva Contraseña",confirmPassword:"Confirmar Contraseña",updatePassword:"Actualizar",twoFactorAuth:"Autenticación de Dos Factores",twoFactorEnabled:"2FA habilitada",twoFactorDisabled:"2FA deshabilitada",enable2fa:"Habilitar 2FA",disable2fa:"Deshabilitar 2FA",saveChanges:"Guardar"},xP={title:"Suscripción",currentPlan:"Plan Actual",usage:"Uso",devicesUsed:"{{used}} de {{total}} dispositivos usados",adminsUsed:"{{used}} de {{total}} admins usados",billingCycle:"Ciclo de Facturación",nextBilling:"Próxima facturación",changePlan:"Cambiar Plan",cancelSubscription:"Cancelar Suscripción",paymentMethod:"Método de Pago",updatePayment:"Actualizar Pago",invoices:"Facturas",viewInvoice:"Ver Factura",downloadInvoice:"Descargar Factura"},bP={title:"Soporte",createTicket:"Crear Ticket",noTickets:"No se encontraron tickets",noTicketsDescription:"Crea un ticket de soporte si necesitas ayuda",ticketId:"ID del Ticket",subject:"Asunto",status:"Estado",priority:"Prioridad",created:"Creado",lastUpdate:"Ãltima Actualización",open:"Abierto",inProgress:"En Progreso",resolved:"Resuelto",closed:"Cerrado",low:"Bajo",medium:"Medio",high:"Alto",urgent:"Urgente",viewTicket:"Ver Ticket",reply:"Responder",closeTicket:"Cerrar Ticket"},SP={title:"Notificaciones",sendNotification:"Enviar Notificación",noNotifications:"Sin notificaciones",selectDevices:"Seleccionar Dispositivos",allDevices:"Todos los Dispositivos",selectedDevices:"Dispositivos Seleccionados",notificationTitle:"TÃtulo",notificationMessage:"Mensaje",send:"Enviar",sending:"Enviando...",sent:"Notificación enviada"},kP={title:"Registros de Actividad",noLogs:"No se encontraron registros",action:"Acción",user:"Usuario",device:"Dispositivo",timestamp:"Fecha/Hora",details:"Detalles",filter:"Filtrar",export:"Exportar"},CP={title:"Configuración",general:"General",appearance:"Apariencia",theme:"Tema",light:"Claro",dark:"Oscuro",system:"Sistema",language:"Idioma",timezone:"Zona horaria",notifications:"Notificaciones",emailNotifications:"Notificaciones por Email",pushNotifications:"Notificaciones Push"},PP={save:"Guardar",cancel:"Cancelar",delete:"Eliminar",edit:"Editar",create:"Crear",update:"Actualizar",search:"Buscar",filter:"Filtrar",export:"Exportar",import:"Importar",loading:"Cargando...",noResults:"Sin resultados",confirmAction:"¿Estás seguro?",success:"Ãxito",error:"Error",warning:"Advertencia",info:"Info",yes:"SÃ",no:"No",all:"Todo",none:"Ninguno",select:"Seleccionar",selected:"seleccionado(s)",actions:"Acciones",more:"Más",refresh:"Actualizar",close:"Cerrar",back:"Atrás",
84next:"Siguiente",previous:"Anterior",finish:"Finalizar",perPage:"por página",page:"Página",of:"de",showing:"Mostrando",to:"a",entries:"entradas"},EP={sidebar:fP,dashboard:pP,devices:hP,groups:mP,policies:gP,apps:yP,provisioning:vP,profile:wP,subscription:xP,support:bP,notifications:SP,logs:kP,settings:CP,common:PP},TP={title:"Bienvenido de nuevo",subtitle:"Inicia sesión en tu cuenta de Cheap MDM",email:"Email",emailPlaceholder:"[email protected]",password:"Contraseña",passwordPlaceholder:"Ingresa tu contraseña",forgotPassword:"¿Olvidaste tu contraseña?",signIn:"Iniciar sesión",signingIn:"Iniciando sesión...",noAccount:"¿No tienes una cuenta?",signUp:"RegÃstrate",backToHome:"Volver al inicio"},AP={title:"Autenticación de Dos Factores",subtitle:"Ingresa el código de 6 dÃgitos de tu aplicación de autenticación",code:"Código de Verificación",codePlaceholder:"000000",backupCodeHint:"También puedes usar un código de respaldo si no tienes acceso a tu autenticador",verify:"Verificar"},NP={title:"Crear una cuenta",subtitle:"Comienza tu prueba gratuita de 14 dÃas",organizationName:"Nombre de la Organización",organizationPlaceholder:"Nombre de tu empresa",fullName:"Nombre Completo",fullNamePlaceholder:"Juan Pérez",email:"Email",emailPlaceholder:"[email protected]",password:"Contraseña",passwordPlaceholder:"Crea una contraseña",confirmPassword:"Confirmar Contraseña",confirmPasswordPlaceholder:"Confirma tu contraseña",createAccount:"Crear Cuenta",creatingAccount:"Creando cuenta...",hasAccount:"¿Ya tienes una cuenta?",signIn:"Inicia sesión",termsAgreement:"Al crear una cuenta, aceptas nuestros",termsOfService:"Términos de Servicio",and:"y",privacyPolicy:"PolÃtica de Privacidad"},_P={title:"¿Olvidaste tu contraseña?",subtitle:"Ingresa tu email y te enviaremos un enlace de restablecimiento",email:"Email",emailPlaceholder:"[email protected]",sendResetLink:"Enviar enlace",sending:"Enviando...",backToLogin:"Volver al inicio de sesión",successTitle:"Revisa tu email",successMessage:"Hemos enviado un enlace de restablecimiento a {{email}}",didntReceive:"¿No recibiste el email?",checkSpam:"Revisa tu carpeta de spam o",tryAgain:"intenta de nuevo"},DP={title:"Restablecer contraseña",subtitle:"Ingresa tu nueva contraseña",newPassword:"Nueva Contraseña",newPasswordPlaceholder:"Ingresa la nueva contraseña",confirmPassword:"Confirmar Contraseña",confirmPasswordPlaceholder:"Confirma la nueva contraseña",resetPassword:"Restablecer",resetting:"Restableciendo...",successTitle:"Contraseña restablecida",successMessage:"Tu contraseña ha sido restablecida. Ahora puedes iniciar sesión.",goToLogin:"Ir al inicio de sesión",invalidToken:"Enlace inválido o expirado",invalidTokenMessage:"El enlace de restablecimiento es inválido o ha expirado. Por favor, solicita uno nuevo.",requestNew:"Solicitar nuevo enlace"},jP={invalidCredentials:"Email o contraseña inválidos",accountLocked:"Cuenta bloqueada. Por favor, intenta más tarde.",emailInUse:"Ya existe una cuenta con este email",weakPassword:"La contraseña debe tener al menos 8 caracteres",passwordMismatch:"Las contraseñas no coinciden",invalidEmail:"Por favor, ingresa un email válido",required:"Este campo es obligatorio",invalidToken:"Token inválido o expirado",tooManyAttempts:"Demasiados intentos. Por favor, intenta más tarde."},OP={login:TP,twoFactor:AP,signup:NP,forgotPassword:_P,resetPassword:DP,errors:jP},LP={home:"Ø§ÙØ±Ø¦ÙØ³ÙØ©",features:"اÙÙ
Ù
ÙØ²Ø§Øª",pricing:"Ø§ÙØ£Ø³Ø¹Ø§Ø±",blog:"اÙÙ
دÙÙØ©",about:"Ù
Ù ÙØÙ",contact:"Ø§ØªØµÙ Ø¨ÙØ§",login:"تسجÙÙ Ø§ÙØ¯Ø®ÙÙ",signup:"Ø¥ÙØ´Ø§Ø¡ ØØ³Ø§Ø¨",startFreeTrial:"ابدأ تجربة Ù
جاÙÙØ©",dashboard:"ÙÙØØ© Ø§ÙØªØÙÙ
"},RP={stayUpToDate:"اب٠عÙÙ Ø§Ø·ÙØ§Ø¹",newsletterDesc:"Ø§ØØµÙ عÙ٠آخر Ø§ÙØ£Ø®Ø¨Ø§Ø± ÙØ§ÙÙØµØ§Ø¦Ø ÙØªØØ¯Ùثات اÙÙ
ÙØªØ¬.",enterEmail:"Ø£Ø¯Ø®Ù Ø¨Ø±ÙØ¯Ù Ø§ÙØ¥ÙÙØªØ±ÙÙÙ",subscribe:"اشترÙ",subscribed:"تÙ
Ø§ÙØ§Ø´ØªØ±Ø§Ù!",subscribing:"Ø¬Ø§Ø±Ù Ø§ÙØ§Ø´ØªØ±Ø§Ù...",subscribeSuccess:"تÙ
Ø§ÙØ§Ø´ØªØ±Ø§Ù Ø¨ÙØ¬Ø§Ø!",subscribeError:"ÙØ´Ù Ø§ÙØ§Ø´ØªØ±Ø§Ù. ÙØ±Ø¬Ù اÙÙ
ØØ§ÙÙØ© Ù
رة أخرÙ.",brandDescription:"إدارة Ø£ÙØ´Ø§Ù Android عÙÙ Ù
ستÙ٠اÙÙ
ؤسسات بسÙÙÙØ©. Ø§ÙØ´Ø± ÙØ£Ù
ÙÙ ÙØ£Ø¯Ø± Ø£Ø¬ÙØ²ØªÙ عÙÙ ÙØ·Ø§Ù ÙØ§Ø³Ø¹.",product:"اÙÙ
ÙØªØ¬",company:"Ø§ÙØ´Ø±ÙØ©",resources:"اÙÙ
ÙØ§Ø±Ø¯",legal:"ÙØ§ÙÙÙÙ",documentation:"Ø§ÙØªÙØ«ÙÙ",api:"ÙØ§Ø¬ÙØ© برÙ
جة Ø§ÙØªØ·Ø¨ÙÙØ§Øª",careers:"اÙÙØ¸Ø§Ø¦Ù",gettingStarted:"Ø§ÙØ¨Ø¯Ø¡",security:"Ø§ÙØ£Ù
اÙ",bestPractices:"Ø£ÙØ¶Ù اÙÙ
Ù
ارسات",
84support:"Ø§ÙØ¯Ø¹Ù
",termsConditions:"Ø§ÙØ´Ø±ÙØ· ÙØ§ÙØ£ØÙاÙ
",cookiePolicy:"Ø³ÙØ§Ø³Ø© Ù
ÙÙØ§Øª تعرÙÙ Ø§ÙØ§Ø±ØªØ¨Ø§Ø·",privacyPolicy:"Ø³ÙØ§Ø³Ø© Ø§ÙØ®ØµÙØµÙØ©",copyright:"© {{year}} Alpha Ajoge Inc. جÙ
ÙØ¹ Ø§ÙØÙÙÙ Ù
ØÙÙØ¸Ø©.",tagline:"Cheap MDM - إدارة Ø£ÙØ´Ø§Ù اÙÙ
ؤسسات ÙØ£ÙدرÙÙØ¯"},MP={submit:"إرساÙ",cancel:"Ø¥ÙØºØ§Ø¡",save:"ØÙظ",delete:"ØØ°Ù",edit:"تعدÙÙ",close:"Ø¥ØºÙØ§Ù",confirm:"تأÙÙØ¯",back:"Ø±Ø¬ÙØ¹",next:"Ø§ÙØªØ§ÙÙ",previous:"Ø§ÙØ³Ø§Ø¨Ù",loading:"Ø¬Ø§Ø±Ù Ø§ÙØªØÙ
ÙÙ...",retry:"إعادة اÙÙ
ØØ§ÙÙØ©",viewAll:"عرض اÙÙÙ",learnMore:"Ù
Ø¹Ø±ÙØ© اÙÙ
Ø²ÙØ¯",getStarted:"ابدأ Ø§ÙØ¢Ù",contactUs:"Ø§ØªØµÙ Ø¨ÙØ§",signUp:"Ø¥ÙØ´Ø§Ø¡ ØØ³Ø§Ø¨",logIn:"تسجÙÙ Ø§ÙØ¯Ø®ÙÙ",logOut:"تسجÙÙ Ø§ÙØ®Ø±Ùج",download:"تØÙ
ÙÙ",upload:"Ø±ÙØ¹",refresh:"ØªØØ¯ÙØ«",search:"Ø¨ØØ«",filter:"تصÙÙØ©",export:"ØªØµØ¯ÙØ±",import:"Ø§Ø³ØªÙØ±Ø§Ø¯",create:"Ø¥ÙØ´Ø§Ø¡",update:"ØªØØ¯ÙØ«",add:"Ø¥Ø¶Ø§ÙØ©",remove:"Ø¥Ø²Ø§ÙØ©",enable:"ØªÙØ¹ÙÙ",disable:"تعطÙÙ",yes:"ÙØ¹Ù
",no:"ÙØ§",ok:"Ù
ÙØ§ÙÙ"},IP={required:"ÙØ°Ø§ Ø§ÙØÙÙ Ù
Ø·ÙÙØ¨",invalidEmail:"ÙØ±Ø¬Ù Ø¥Ø¯Ø®Ø§Ù Ø¨Ø±ÙØ¯ Ø¥ÙÙØªØ±ÙÙ٠صØÙØ",minLength:"ÙØ¬Ø¨ Ø£Ù ÙØØªÙ٠عÙÙ {{min}} ØØ±Ù عÙÙ Ø§ÙØ£ÙÙ",maxLength:"ÙØ¬Ø¨ Ø£Ù ÙØØªÙ٠عÙÙ {{max}} ØØ±Ù ÙØØ¯ Ø£ÙØµÙ",passwordMismatch:"ÙÙÙ
ات اÙÙ
Ø±ÙØ± ØºÙØ± Ù
ØªØ·Ø§Ø¨ÙØ©",invalidUrl:"ÙØ±Ø¬Ù إدخا٠رابط صØÙØ",invalidPhone:"ÙØ±Ø¬Ù إدخا٠رÙÙ
ÙØ§ØªÙ صØÙØ"},$P={generic:"ØØ¯Ø« خطأ Ù
ا. ÙØ±Ø¬Ù اÙÙ
ØØ§ÙÙØ© Ù
رة أخرÙ.",networkError:"خطأ ÙÙ Ø§ÙØ´Ø¨ÙØ©. ÙØ±Ø¬Ù Ø§ÙØªØÙÙ Ù
٠اتصاÙÙ.",notFound:"ØºÙØ± Ù
ÙØ¬Ùد",unauthorized:"ØºÙØ± Ù
ØµØ±Ø Ù٠بتÙÙÙØ° ÙØ°Ø§ Ø§ÙØ¥Ø¬Ø±Ø§Ø¡",sessionExpired:"Ø§ÙØªÙت Ø¬ÙØ³ØªÙ. ÙØ±Ø¬Ù تسجÙÙ Ø§ÙØ¯Ø®ÙÙ Ù
رة أخرÙ."},zP={justNow:"Ø§ÙØ¢Ù",minutesAgo:"Ù
ÙØ° دÙÙÙØ©",minutesAgo_plural:"Ù
ÙØ° {{count}} Ø¯ÙØ§Ø¦Ù",hoursAgo:"Ù
ÙØ° ساعة",hoursAgo_plural:"Ù
ÙØ° {{count}} ساعات",daysAgo:"Ù
ÙØ° ÙÙÙ
",daysAgo_plural:"Ù
ÙØ° {{count}} Ø£ÙØ§Ù
",weeksAgo:"Ù
ÙØ° Ø£Ø³Ø¨ÙØ¹",weeksAgo_plural:"Ù
ÙØ° {{count}} Ø£Ø³Ø§Ø¨ÙØ¹"},FP={selectLanguage:"اختر اÙÙØºØ©",english:"English",french:"Français",spanish:"Español",arabic:"Ø§ÙØ¹Ø±Ø¨ÙØ©"},qP={nav:LP,footer:RP,buttons:MP,validation:IP,errors:$P,time:zP,language:FP},UP={homeTitle:"Cheap MDM - إدارة Ø£ÙØ´Ø§Ù Ø£ÙØ¯Ø±ÙÙØ¯ ÙÙÙ
ؤسسات",homeDescription:"Ø§ÙØ´Ø± ÙØ£Ø¯Ø± ÙØ£Ù
ÙÙ Ø£Ø¬ÙØ²Ø© Ø£ÙØ´Ø§Ù Ø£ÙØ¯Ø±ÙÙØ¯ عÙÙ ÙØ·Ø§Ù ÙØ§Ø³Ø¹. Ù
ÙØ«Ù٠ب٠Ù
Ù ÙØ¨Ù Ø§ÙØ´Ø±Ùات ÙÙ ÙÙØ¯Ø§ ÙØ§ÙÙÙØ§Ùات اÙÙ
ØªØØ¯Ø© ÙØ§ÙÙ
Ù
ÙÙØ© اÙÙ
ØªØØ¯Ø© ÙØ£Ø³ØªØ±Ø§ÙÙØ§ ÙØ¬ÙÙØ¨ Ø£ÙØ±ÙÙÙØ§ ÙØ§ÙØ¥Ù
ارات ÙØ§ÙØ³Ø¹ÙØ¯ÙØ©. Ù
Ø´Ø§Ø±ÙØ© Ø§ÙØ´Ø§Ø´Ø© ÙØ§ÙÙ
ÙØ§ÙÙ
ات Ø§ÙØµÙØªÙØ© ÙØ§Ùدردشة اÙÙÙØ±ÙØ©.",featuresTitle:"اÙÙ
Ù
ÙØ²Ø§Øª",featuresDescription:"Ø§ÙØªØ´Ù جÙ
ÙØ¹ اÙÙ
ÙØ²Ø§Øª اÙÙÙÙØ© ÙÙ Cheap MDM - ÙØ¶Ø¹ اÙÙØ´ÙØ Ø§ÙØ¯Ø¹Ù
Ø¹Ù Ø¨ÙØ¹Ø¯Ø تتبع اÙÙ
ÙÙØ¹Ø إدارة Ø§ÙØªØ·Ø¨ÙÙØ§Øª ÙØ§ÙÙ
Ø²ÙØ¯.",pricingTitle:"Ø§ÙØ£Ø³Ø¹Ø§Ø±",pricingDescription:"أسعار Ø¨Ø³ÙØ·Ø© ÙØ´ÙØ§ÙØ© ÙÙ Cheap MDM. اختر Ø§ÙØ®Ø·Ø© اÙÙ
ÙØ§Ø³Ø¨Ø© ÙØ§ØØªÙاجاتÙ. ابدأ Ù
Ø¬Ø§ÙØ§Ù ÙØªÙسع Ù
ع ÙÙ
ÙÙ.",aboutTitle:"Ù
Ù ÙØÙ",contactTitle:"Ø§ØªØµÙ Ø¨ÙØ§",blogTitle:"اÙÙ
دÙÙØ©"},BP={badge:"Ø£ÙÙ MDM Ù
ØÙÙ Ù
ع دعÙ
ÙØ§Ù
Ù Ø¹Ù Ø¨ÙØ¹Ø¯",title:"إدارة Ø£ÙØ´Ø§Ù اÙÙ
ؤسسات",titleHighlight:"بسÙÙÙØ©",subtitle:"Ø§ÙØ´Ø± ÙØ£Ø¯Ø± ÙØ£Ù
ÙÙ Ø£Ø¬ÙØ²Ø© Ø£ÙØ´Ø§Ù Ø£ÙØ¯Ø±ÙÙØ¯ عÙÙ ÙØ·Ø§Ù ÙØ§Ø³Ø¹. بÙÙØ© Ù
تعددة اÙÙ
ستأجرÙÙ Ù
ع Ù
Ø´Ø§Ø±ÙØ© Ø§ÙØ´Ø§Ø´Ø© ÙØ§ÙÙ
ÙØ§ÙÙ
ات Ø§ÙØµÙØªÙØ© ÙØ§Ùدردشة اÙÙÙØ±ÙØ©.",cta:"ابدأ تجربة Ù
جاÙÙØ©",bookDemo:"Ø§ØØ¬Ø² Ø¹Ø±Ø¶Ø§Ù ØªÙØ¶ÙØÙاÙ",noCreditCard:"ÙØ§ ØØ§Ø¬Ø© ÙØ¨Ø·Ø§ÙØ© ائتÙ
اÙ",freeTrial:"تجربة Ù
جاÙÙØ© ÙÙ
دة 14 ÙÙÙ
اÙ",cancelAnytime:"Ø¥ÙØºØ§Ø¡ Ù٠أ٠ÙÙØª",activeDevices:"Ø§ÙØ£Ø¬Ùزة اÙÙØ´Ø·Ø©",onlineRate:"Ù
Ø¹Ø¯Ù Ø§ÙØ§ØªØµØ§Ù",activePolicies:"Ø§ÙØ³Ùاسات اÙÙØ´Ø·Ø©",deviceSynced:"تÙ
Ù
زاÙ
ÙØ© Ø§ÙØ¬Ùاز",justNow:"Ø§ÙØ¢Ù"},VP={trustedBy:"Ù
ÙØ«Ù٠ب٠Ù
Ù ÙØ¨Ù",countries:"دÙÙØ©",devicesM
84anaged:"Ø¬ÙØ§Ø² Ù
ÙØ¯Ø§Ø±",uptime:"ÙÙØª Ø§ÙØªØ´ØºÙÙ",support:"Ø§ÙØ¯Ø¹Ù
",rating:"4.8/5",fromReviews:"Ù
Ù Ø£ÙØ«Ø± Ù
Ù 200 تÙÙÙÙ
",businessCount:"+500",businessesTrustUs:"Ø´Ø±ÙØ© ØªØ«Ù Ø¨ÙØ§"},HP={sectionTitle:"ÙÙ Ù
ا ØªØØªØ§Ø¬Ù ÙØ¥Ø¯Ø§Ø±Ø© Ø§ÙØ£Ø¬Ùزة",sectionSubtitle:"Ù
ÙØ²Ø§Øª ÙÙÙØ© ÙÙØ´Ø± ÙØªØ£Ù
ÙÙ ÙØ§ÙتØÙÙ
Ù٠أسطÙÙ Ø£ÙØ´Ø§Ù Ø£ÙØ¯Ø±ÙÙØ¯ Ø§ÙØ®Ø§Øµ بÙ.",kioskMode:{title:"ÙØ¶Ø¹ اÙÙØ´Ù",description:"اÙÙÙ Ø§ÙØ£Ø¬Ùزة عÙ٠تطبÙÙ ÙØ§ØØ¯ أ٠عدة تطبÙÙØ§Øª. Ø£ÙØ´Ø¦ Ù
Ø´ØºÙØ§Øª Ù
خصصة Ø¨Ø§ÙØªØ·Ø¨ÙÙØ§Øª اÙÙ
عتÙ
دة ÙÙØ·.",singleApp:"ÙØ¶Ø¹ Ø§ÙØªØ·Ø¨Ù٠اÙÙØ§ØØ¯ ÙÙØ£Ø¬Ùزة اÙÙ
خصصة",multiApp:"ÙØ¶Ø¹ Ø§ÙØªØ·Ø¨ÙÙØ§Øª اÙÙ
تعددة Ù
ع Ù
شغ٠Ù
خصص",exitPin:"ØÙ
Ø§ÙØ© PIN ÙÙØ®Ø±Ùج",autoLaunch:"تشغÙ٠تÙÙØ§Ø¦Ù Ù
ع ØªØ£Ø®ÙØ± ÙØ§Ø¨Ù ÙÙØªÙÙÙÙ",customWallpaper:"Ø®ÙÙÙØ© ÙØ¹ÙاÙ
Ø© ØªØ¬Ø§Ø±ÙØ© Ù
خصصة",statusBarRestrictions:"ÙÙÙØ¯ Ø´Ø±ÙØ· Ø§ÙØØ§ÙØ© ÙØ§ÙتÙÙÙ"},remoteSupport:{title:"Ø§ÙØ¯Ø¹Ù
Ø¹Ù Ø¨ÙØ¹Ø¯",description:"Ù
Ø´Ø§Ø±ÙØ© Ø§ÙØ´Ø§Ø´Ø© ÙØ§Ùدردشة اÙÙ
دÙ
جة ÙØ§ÙÙ
ÙØ§ÙÙ
ات Ø§ÙØµÙØªÙØ©. ÙØ¯Ù
دعÙ
ا٠ÙÙØ±Ùا٠ÙÙ
ستخدÙ
Ù Ø§ÙØ£Ø¬Ùزة Ù٠أ٠Ù
ÙØ§Ù.",screenSharing:"Ù
Ø´Ø§Ø±ÙØ© Ø§ÙØ´Ø§Ø´Ø© Ù٠اÙÙÙØª اÙÙØ¹ÙÙ",textChat:"دردشة ÙØµÙØ© Ù
دÙ
جة",voiceCalls:"Ù
ÙØ§ÙÙ
ات ØµÙØªÙØ© عبر WebRTC",userConsent:"Ø·ÙØ¨Ø§Øª Ù
ÙØ§ÙÙØ© اÙÙ
ستخدÙ
",sessionRecording:"تسجÙÙ Ø§ÙØ¬Ùسة (ÙØ±ÙباÙ)",multiDeviceSupport:"Ø¬ÙØ³Ø§Øª دعÙ
Ù
تعددة Ø§ÙØ£Ø¬Ùزة"},locationTracking:{title:"تتبع اÙÙ
ÙÙØ¹",description:"تتبع GPS Ù٠اÙÙÙØª اÙÙØ¹ÙÙ Ù
ع Ø§ÙØ³Ùاج Ø§ÙØ¬ØºØ±Ø§ÙÙ. Ø±Ø§ÙØ¨ Ù
ÙØ§Ùع Ø§ÙØ£Ø¬Ùزة ÙØ¶Ø¹ ØªÙØ¨ÙÙØ§Øª Ø§ÙØØ¯ÙØ¯.",realtimeGps:"تتبع GPS Ù٠اÙÙÙØª اÙÙØ¹ÙÙ",locationHistory:"سج٠اÙÙ
ÙØ§Ùع",geofencing:"Ø³ÙØ§Ø¬ جغراÙÙ Ù
ع ØªÙØ¨ÙÙØ§Øª",mapView:"عرض Ø§ÙØ®Ø±Ùطة ÙÙ ÙÙØØ© Ø§ÙØªØÙÙ
",configurableIntervals:"ÙØªØ±Ø§Øª تتبع ÙØ§Ø¨ÙØ© ÙÙØªÙÙÙÙ",batteryOptimized:"تتبع Ù
ØØ³ÙÙ ÙÙØ¨Ø·Ø§Ø±ÙØ©"},appManagement:{title:"إدارة Ø§ÙØªØ·Ø¨ÙÙØ§Øª",description:"Ø«Ø¨ÙØª ÙØØ¯ÙØ« ÙØ§ØØ°Ù Ø§ÙØªØ·Ø¨ÙÙØ§Øª Ø¹Ù Ø¨ÙØ¹Ø¯. اÙÙØ§Ø¦Ù
Ø© Ø§ÙØ¨Ùضاء Ø£Ù Ø§ÙØ³Ùداء ÙÙØªØ·Ø¨ÙÙØ§Øª ØØ³Ø¨ Ø§ÙØ³Ùاسة.",remoteInstall:"ØªØ«Ø¨ÙØª Ø§ÙØªØ·Ø¨ÙÙØ§Øª Ø¹Ù Ø¨ÙØ¹Ø¯",whitelistBlacklist:"اÙÙØ§Ø¦Ù
Ø© Ø§ÙØ¨Ùضاء/Ø§ÙØ³Ùداء ÙÙØªØ·Ø¨ÙÙØ§Øª",silentUpdates:"ØªØØ¯Ùثات صاÙ
تة",versionManagement:"إدارة Ø§ÙØ¥ØµØ¯Ø§Ø±Ø§Øª",playStoreRestrictions:"ÙÙÙØ¯ Ù
تجر Play",apkDistribution:"Ø±ÙØ¹ ÙØªÙØ²ÙØ¹ APK"},security:{title:"Ø¶ÙØ§Ø¨Ø· Ø§ÙØ£Ù
اÙ",description:"Ø¶ÙØ§Ø¨Ø· Ø§ÙØ£Ø¬ÙØ²Ø©Ø ØÙ
Ø§ÙØ© إعادة ضبط اÙÙ
ØµÙØ¹Ø ÙØªØ·Ø¨ÙÙ Ø§ÙØ³Ùاسات ÙÙØ£Ù
ا٠اÙÙØ§Ù
Ù.",factoryResetProtection:"ØÙ
Ø§ÙØ© إعادة ضبط اÙÙ
ØµÙØ¹",deviceEncryption:"ÙØ±Ø¶ تشÙÙØ± Ø§ÙØ¬Ùاز",usbDebugging:"Ø§ÙØªØÙÙ
Ù٠تصØÙØ USB",cameraRestrictions:"ÙÙÙØ¯ اÙÙØ§Ù
ÙØ±Ø§ ÙØ§ÙÙ
ÙÙØ±ÙÙÙÙ",passwordPolicies:"Ø³ÙØ§Ø³Ø§Øª ÙÙÙ
Ø© اÙÙ
Ø±ÙØ±",remoteWipe:"Ø¥Ù
ÙØ§ÙÙØ© اÙÙ
Ø³Ø Ø¹Ù Ø¨ÙØ¹Ø¯"},monitoring:{title:"ØªÙØ¨ÙÙØ§Øª ÙÙØ±ÙØ©",description:"إشعارات ÙÙØ±ÙØ© ÙØªØºÙÙØ±Ø§Øª ØØ§ÙØ© Ø§ÙØ£Ø¬Ùزة ÙØ§ÙØªÙØ§Ùات Ø§ÙØ³Ùاسة ÙÙ
شاÙÙ Ø§ÙØ§ØªØµØ§Ù.",onlineOffline:"ØØ§ÙØ© Ù
تصÙ/ØºÙØ± Ù
تصÙ",batteryLevel:"Ù
Ø±Ø§ÙØ¨Ø© Ù
ستÙÙ Ø§ÙØ¨Ø·Ø§Ø±ÙØ©",storageAlerts:"ØªÙØ¨ÙÙØ§Øª سعة Ø§ÙØªØ®Ø²ÙÙ",wifiStrength:"ÙÙØ© إشارة WiFi",policySync:"ØØ§ÙØ© Ù
زاÙ
ÙØ© Ø§ÙØ³Ùاسة",customAlerts:"عتبات ØªÙØ¨ÙÙ Ù
خصصة"},builtForEveryIndustry:"Ù
صÙ
Ù
ÙÙÙ ØµÙØ§Ø¹Ø©",industrySubtitle:"Ù
Ù Ø£ÙØ´Ø§Ù Ø§ÙØªØ¬Ø²Ø¦Ø© Ø¥ÙÙ Ø£Ø¬ÙØ²Ø© Ø§ÙØ±Ø¹Ø§ÙØ© Ø§ÙØµØÙØ©Ø ÙØºØ·Ù جÙ
ÙØ¹ Ø§ØØªÙاجاتÙ.",exploreAllFeatures:"Ø§Ø³ØªÙØ´Ù جÙ
ÙØ¹ اÙÙ
ÙØ²Ø§Øª",industries:{retail:"Ø§ÙØªØ¬Ø²Ø¦Ø©",healthcare:"Ø§ÙØ±Ø¹Ø§ÙØ© Ø§ÙØµØÙØ©",education:"Ø§ÙØªØ¹ÙÙÙ
",logistics:"اÙÙÙØ¬Ø³ØªÙات",hospital
84ity:"Ø§ÙØ¶ÙØ§ÙØ©",manufacturing:"Ø§ÙØªØµÙÙØ¹"}},GP={badge:"إعداد Ø¨Ø³ÙØ·",title:"ابدأ ÙÙ Ø¯ÙØ§Ø¦Ù",subtitle:"Ø«ÙØ§Ø« Ø®Ø·ÙØ§Øª Ø¨Ø³ÙØ·Ø© ÙÙØ´Ø± ÙØ¥Ø¯Ø§Ø±Ø© Ø£Ø¬ÙØ²Ø© اÙÙØ´Ù Ø§ÙØ®Ø§ØµØ© بÙ.",step1:{title:"Ø¥ÙØ´Ø§Ø¡ رÙ
ز QR",description:"Ø£ÙØ´Ø¦ رÙ
ز QR ÙÙØªÙÙÙØ± Ù
Ù ÙÙØØ© Ø§ÙØªØÙÙ
Ù
ع Ø¨ÙØ§Ùات WiFi ÙØ¥Ø¹Ø¯Ø§Ø¯Ø§Øª Ø§ÙØªØ³Ø¬ÙÙ."},step2:{title:"تÙÙÙÙ Ø§ÙØ³Ùاسة",description:"ÙÙ
بإعداد ÙØ¶Ø¹ اÙÙØ´Ù ÙØ§ÙتطبÙÙØ§Øª اÙÙ
سÙ
ÙØ Ø¨ÙØ§ ÙØ¹Ùاصر Ø§ÙØªØÙÙ
ÙÙ Ø§ÙØ£Ø¬Ùزة ÙØ¥Ø¹Ø¯Ø§Ø¯Ø§Øª Ø§ÙØ£Ù
اÙ."},step3:{title:"اÙÙØ´Ø± ÙØ§Ùإدارة",description:"أعد ضبط Ø§ÙØ£Ø¬ÙØ²Ø©Ø Ø§Ù
Ø³Ø Ø±Ù
ز QRØ ÙØ³ØªÙÙÙ Ø¬Ø§ÙØ²Ø©. أدر ÙÙ Ø´ÙØ¡ Ù
Ù ÙÙØØ© تØÙÙ
ÙØ§ØØ¯Ø©."},stats:{setupTime:"2 دÙÙÙØ©",setupTimeLabel:"Ù
ØªÙØ³Ø· ÙÙØª Ø§ÙØ¥Ø¹Ø¯Ø§Ø¯",uptime:"99.9%",uptimeLabel:"Ø§ØªÙØ§ÙÙØ© Ù
ستÙÙ Ø§ÙØ®Ø¯Ù
Ø©",support:"24/7",supportLabel:"دعÙ
Ù
تاØ"}},WP={badge:"Ø´ÙØ§Ø¯Ø§Øª Ø§ÙØ¹Ù
ÙØ§Ø¡",title:"Ù
ØØ¨Ùب Ù
Ù ÙØ¨Ù Ø§ÙØ´Ø±Ùات ØÙÙ Ø§ÙØ¹Ø§ÙÙ
",subtitle:"Ø§Ø·ÙØ¹ عÙÙ Ù
ا ÙÙÙÙ٠عÙ
ÙØ§Ø¤Ùا ع٠إدارة Ø£Ø¬ÙØ²ØªÙÙ
Ù
ع Cheap MDM.",testimonial1:{quote:"غÙÙØ± Cheap MDM طرÙÙØ© Ø¥Ø¯Ø§Ø±ØªÙØ§ ÙØ£ÙØ´Ø§Ù Ø§ÙØ¨Ùع Ø¨Ø§ÙØªØ¬Ø²Ø¦Ø©. Ù
ÙØ²Ø© Ù
Ø´Ø§Ø±ÙØ© Ø§ÙØ´Ø§Ø´Ø© ÙØØ¯ÙØ§ ÙÙØ±Øª ÙÙØ§ ساعات ÙØ§ ØªØØµÙ Ù
Ù Ø§Ø³ØªÙØ´Ø§Ù Ø§ÙØ£Ø®Ø·Ø§Ø¡ Ù٠اÙÙ
ÙÙØ¹.",author:"سارة تشÙ",role:"Ù
Ø¯ÙØ±Ø© تÙÙÙØ© اÙÙ
عÙÙÙ
ات",company:"RetailMax Solutions"},testimonial2:{quote:"ÙÙÙÙ
ÙØ§ عدة ØÙÙÙ MDM ÙØ¨Ù Ø§Ø®ØªÙØ§Ø± Cheap MDM. ÙØ§Ùت Ø§ÙØ¨ÙÙØ© Ù
تعددة اÙÙ
ستأجرÙ٠تÙ
اÙ
ا٠Ù
ا ÙØØªØ§Ø¬Ù ÙÙ
ÙØ§Ùع Ø§ÙØ§Ù
ØªÙØ§Ø² Ø§ÙØ®Ø§ØµØ© Ø¨ÙØ§.",author:"Ù
اÙÙÙ Ø±ÙØ¯Ø±ÙØºÙØ²",role:"Ù
Ø¯ÙØ± Ø§ÙØ¹Ù
ÙÙØ§Øª",company:"FreshFood Franchises"},testimonial3:{quote:"Ù
ÙØ²Ø© اÙÙ
ÙØ§ÙÙ
ات Ø§ÙØµÙØªÙØ© غÙÙØ±Øª ÙÙØ§Ø¹Ø¯ اÙÙØ¹Ø¨Ø© ÙØ£Ø¬ÙØ²ØªÙØ§ اÙÙÙØÙØ© ÙÙ Ø§ÙØ±Ø¹Ø§ÙØ© Ø§ÙØµØÙØ©. ÙÙ
ÙÙ ÙÙ
ÙØ¸ÙÙÙØ§ Ø§ÙØØµÙ٠عÙ٠دعÙ
ÙÙØ±Ù دÙÙ Ù
غادرة Ø¬Ø§ÙØ¨ اÙÙ
Ø±ÙØ¶.",author:"د. Ø¥ÙÙ
ÙÙ٠تÙÙ
سÙÙ",role:"اÙÙ
Ø¯ÙØ±Ø© Ø§ÙØ·Ø¨ÙØ©",company:"HealthFirst Clinic"}},QP={badge:"أسعار Ø¨Ø³ÙØ·Ø©",title:"اختر Ø§ÙØ®Ø·Ø©",titleHighlight:"اÙÙ
ÙØ§Ø³Ø¨Ø© ÙÙ",subtitle:"ابدأ Ù
Ø¬Ø§ÙØ§Ù ÙØªÙسع Ù
ع ÙÙ
ÙÙ. ÙØ§ رسÙÙ
Ø®ÙÙØ©Ø ÙØ§ Ù
ÙØ§Ø¬Ø¢Øª.",monthly:"Ø´ÙØ±Ù",yearly:"سÙÙÙ",save:"ÙÙØ± 17%",free:"Ù
جاÙÙ",perDeviceMonth:"/Ø¬ÙØ§Ø²/Ø´ÙØ±",billedAnnually:"ÙÙÙÙØªØ± سÙÙÙØ§Ù",mostPopular:"Ø§ÙØ£Ùثر Ø´Ø¹Ø¨ÙØ©",startFree:"ابدأ Ù
Ø¬Ø§ÙØ§Ù",getStarted:"ابدأ Ø§ÙØ¢Ù",enterprise:"اÙÙ
ؤسسات",whiteLabel:"Ø§ÙØ¹ÙاÙ
Ø© Ø§ÙØ¨Ùضاء",whiteLabelDescription:"ØÙÙÙ Ù
خصصة ÙÙÙ
ؤسسات اÙÙØ¨Ùرة",custom:"Ù
خصص",features:{devices:"{{count}} Ø£Ø¬ÙØ²Ø©",unlimitedDevices:"Ø£Ø¬ÙØ²Ø© ØºÙØ± Ù
ØØ¯Ùدة",admins:"{{count}} Ù
سؤÙÙ",admins_plural:"{{count}} Ù
سؤÙÙÙÙ",unlimitedAdmins:"Ù
سؤÙÙÙÙ ØºÙØ± Ù
ØØ¯ÙدÙÙ",multiAppKiosk:"ÙØ¶Ø¹ ÙØ´Ù Ù
تعدد Ø§ÙØªØ·Ø¨ÙÙØ§Øª",advancedKiosk:"Ù
ÙØ²Ø§Øª ÙØ´Ù Ù
ØªÙØ¯Ù
Ø©",hardwareControls:"Ø¶ÙØ§Ø¨Ø· Ø§ÙØ£Ø¬Ùزة",locationTracking:"تتبع اÙÙ
ÙÙØ¹",remoteAppManagement:"إدارة Ø§ÙØªØ·Ø¨ÙÙØ§Øª Ø¹Ù Ø¨ÙØ¹Ø¯",deviceNotifications:"إشعارات Ø§ÙØ£Ø¬Ùزة",customWallpaper:"Ø®ÙÙÙØ© Ù
خصصة",apiAccess:"اÙÙØµÙ٠إÙÙ API",screenSharing:"Ù
Ø´Ø§Ø±ÙØ© Ø§ÙØ´Ø§Ø´Ø©",inAppChat:"Ø§ÙØ¯Ø±Ø¯Ø´Ø© اÙÙ
دÙ
جة",voiceCalls:"اÙÙ
ÙØ§ÙÙ
ات Ø§ÙØµÙØªÙØ©",allEnterpriseFeatures:"جÙ
ÙØ¹ Ù
ÙØ²Ø§Øª اÙÙ
ؤسسات",customBranding:"Ø¹ÙØ§Ù
Ø© ØªØ¬Ø§Ø±ÙØ© ÙÙØ·Ø§Ù Ù
خصص",dedicatedHosting:"Ø§Ø³ØªØ¶Ø§ÙØ© Ù
خصصة",fullApiAccess:"ÙØµÙÙ ÙØ§Ù
Ù ÙÙ API",prioritySupport:"دعÙ
ذ٠أÙÙÙÙØ©",volumeDiscounts:"خصÙÙ
ات Ø§ÙØØ¬Ù
"},remoteSupport:"Ø§ÙØ¯Ø¹Ù
Ø¹Ù Ø¨ÙØ¹Ø¯",contactUs:"Ø§ØªØµÙ Ø¨ÙØ§",seeAllPlans:"عرض جÙ
ÙØ¹ Ø§ÙØ®Ø·Ø· ÙØ§ÙÙ
ÙØ²Ø§Øª"},KP={title:"Ø§ÙØ£Ø³Ø¦ÙØ© Ø§ÙØ´Ø§Ø¦Ø¹Ø©",subtitle:"Ø£Ø³Ø¦ÙØ© شائعة ØÙÙ Ø§ÙØ£Ø³Ø¹Ø§Ø± ÙØ§ÙÙÙØªØ±Ø©",switchPlans:{question:"ÙÙ ÙÙ
ÙÙÙ٠تغÙÙØ± Ø§ÙØ®Ø·Ø© Ù٠أ٠ÙÙØªØ",answer:"ÙØ¹Ù
Ø ÙÙ
ÙÙÙ Ø§ÙØªØ±ÙÙØ© Ø£Ù Ø§ÙØªØ®ÙÙØ¶ Ù٠أ٠ÙÙØª. Ø¹ÙØ¯ Ø§ÙØªØ±ÙÙØ©Ø Ø³ÙØªÙ
ØªØØµÙ٠اÙÙØ±Ù Ø¨Ø§ÙØªÙاسب. Ø¹ÙØ¯ Ø§ÙØªØ®ÙÙØ¶Ø Ø³ÙØªÙ
تطبÙÙ Ø§ÙØ±ØµÙد عÙ٠اÙÙÙØ§ØªÙر اÙÙ
Ø³ØªÙØ¨ÙÙØ©."},freeTrial:{question:"ÙÙ ÙÙØ§Ù تجربة Ù
جاÙÙØ©Ø",answer:"ÙØ¹Ù
! جÙ
ÙØ¹ Ø§ÙØ®Ø·Ø· تأت٠Ù
ع تجربة Ù
جاÙÙØ© ÙÙ
دة 14 ÙÙÙ
اÙ. ÙØ§ ØØ§Ø¬Ø© ÙØ¨Ø·Ø§ÙØ© ائتÙ
ا٠ÙÙØ¨Ø¯Ø¡. ÙÙ
ÙÙÙ Ø§Ø³ØªÙØ´Ø§Ù جÙ
ÙØ¹ اÙÙ
ÙØ²Ø§Øª ÙØ¨Ù Ø§ÙØ§ÙتزاÙ
."},paymentMethods:{question:"Ù
ا Ø·Ø±Ù Ø§ÙØ¯Ùع Ø§ÙØªÙ ØªÙØ¨ÙÙÙÙØ§Ø",answer:"ÙÙØ¨Ù جÙ
ÙØ¹ Ø¨Ø·Ø§ÙØ§Øª Ø§ÙØ§Ø¦ØªÙ
Ø§Ù Ø§ÙØ±Ø¦ÙØ³ÙØ© (VisaØ MastercardØ American Express)Ø PayPalØ ÙØ§ÙتØÙÙÙØ§Øª Ø§ÙØ¨ÙÙÙØ© ÙÙØ®Ø·Ø· Ø§ÙØ³ÙÙÙØ©. ÙÙ
ÙÙ ÙØ¹Ù
ÙØ§Ø¡ اÙÙ
ؤسسات Ø£ÙØ¶Ø§Ù Ø§ÙØ¯Ùع باÙÙØ§ØªÙرة."},deviceLimit:{question:"Ù
اذا ÙØØ¯Ø« إذا ØªØ¬Ø§ÙØ²Øª ØØ¯ Ø§ÙØ£Ø¬ÙزةØ",answer:"ستتÙÙÙ Ø¥Ø´Ø¹Ø§Ø±Ø§Ù Ø¹ÙØ¯ Ø§ÙØ§Ùتراب Ù
Ù ØØ¯Ù. ÙÙ
ÙÙÙ Ø§ÙØªØ±ÙÙØ© Ø¥Ù٠خطة أعÙ٠أ٠شراء ÙØªØØ§Øª Ø£Ø¬ÙØ²Ø© إضاÙÙØ©. ستستÙ
ر Ø§ÙØ£Ø¬Ùزة اÙÙ
ÙØ¬Ùدة ÙÙ Ø§ÙØ¹Ù
Ù."},refunds:{question:"ÙÙ ØªÙØ¯Ù
Ù٠استرداد Ø§ÙØ£Ù
ÙØ§ÙØ",answer:"ÙØ¹Ù
Ø ÙÙØ¯Ù
ضÙ
ا٠استرداد Ø§ÙØ£Ù
ÙØ§Ù ÙÙ
دة 30 ÙÙÙ
ا٠عÙ٠جÙ
ÙØ¹ Ø§ÙØ®Ø·Ø· اÙÙ
دÙÙØ¹Ø©. إذا ÙÙ
تÙÙ Ø±Ø§Ø¶ÙØ§ÙØ ØªÙØ§ØµÙ Ù
ع ÙØ±ÙÙ Ø§ÙØ¯Ø¹Ù
ÙÙØ§Ø³ØªØ±Ø¯Ø§Ø¯ اÙÙØ§Ù
Ù."},annualDiscount:{question:"ÙÙ ÙÙØ§Ù خصÙ
ÙÙÙÙØªØ±Ø© Ø§ÙØ³ÙÙÙØ©Ø",answer:"ÙØ¹Ù
! اÙÙÙØªØ±Ø© Ø§ÙØ³ÙÙÙØ© تÙ
ÙØÙ Ø´ÙØ±ÙÙ Ù
Ø¬Ø§ÙØ§Ù Ù
ÙØ§Ø±ÙØ© باÙÙÙØªØ±Ø© Ø§ÙØ´ÙØ±ÙØ©. ÙØ°Ø§ تÙÙÙØ± 17% عÙ٠جÙ
ÙØ¹ Ø§ÙØ®Ø·Ø·."}},JP={badge:"ابدأ تجربت٠اÙÙ
جاÙÙØ© ÙÙ
دة 14 ÙÙÙ
اÙ",title:"Ù
ستعد ÙØªØ¨Ø³ÙØ· إدارة Ø§ÙØ£Ø¬ÙزةØ",subtitle:"Ø§ÙØ¶Ù
Ø¥ÙÙ Ø£ÙØ«Ø± Ù
Ù 500 Ø´Ø±ÙØ© تث٠ÙÙ Cheap MDM ÙØ¥Ø¯Ø§Ø±Ø© Ø£Ø¬ÙØ²Ø© Ø£ÙØ´Ø§Ù Ø£ÙØ¯Ø±ÙÙØ¯ Ø§ÙØ®Ø§ØµØ© Ø¨ÙØ§. ابدأ ÙÙ Ø¯ÙØ§Ø¦ÙØ Ø¨Ø¯ÙÙ Ø¨Ø·Ø§ÙØ© ائتÙ
اÙ.",startTrial:"ابدأ تجربة Ù
جاÙÙØ©",contactSales:"اتص٠باÙÙ
Ø¨ÙØ¹Ø§Øª",freeTrial:"تجربة Ù
جاÙÙØ© 14 ÙÙÙ
",noCreditCard:"ÙØ§ ØØ§Ø¬Ø© ÙØ¨Ø·Ø§ÙØ© ائتÙ
اÙ",cancelAnytime:"Ø¥ÙØºØ§Ø¡ Ù٠أ٠ÙÙØª",stillHaveQuestions:"ÙØ§ ÙØ²Ø§Ù ÙØ¯ÙÙ Ø£Ø³Ø¦ÙØ©Ø",stillHaveQuestionsSubtitle:"ÙØ±ÙÙÙØ§ ÙÙØ§ ÙÙ
ساعدت٠ÙÙ Ø¥ÙØ¬Ø§Ø¯ Ø§ÙØ®Ø·Ø© اÙÙ
ÙØ§Ø³Ø¨Ø© ÙØ§ØØªÙاجاتÙ."},YP={badge:"API ÙÙÙ
Ø·ÙØ±ÙÙ",title:"ÙØµÙÙ ÙØ§Ù
Ù ÙÙ API",description:"دÙ
ج Cheap MDM ÙÙ Ø³ÙØ± عÙ
ÙÙ Ø§ÙØØ§ÙÙ Ù
ع API REST Ø§ÙØ´Ø§Ù
ÙØ© Ø§ÙØ®Ø§ØµØ© Ø¨ÙØ§. أتÙ
ت إدارة Ø§ÙØ£Ø¬ÙØ²Ø©Ø ÙØ§Ø³ØªØ±Ø¬Ø¹ Ø§ÙØªØÙÙÙØ§ØªØ ÙØ£Ùشئ ØªÙØ§Ù
ÙØ§Øª Ù
خصصة.",features:{restful:"API RESTful Ù
ع استجابات JSON",jwt:"Ù
ØµØ§Ø¯ÙØ© JWT",webhooks:"دعÙ
Webhooks ÙÙØ£ØØ¯Ø§Ø« اÙÙÙØ±ÙØ©",documentation:"ØªÙØ«Ù٠شاÙ
Ù"},requestAccess:"Ø§Ø·ÙØ¨ اÙÙØµÙ٠إÙÙ API",exampleComment:"// Ù
ثا٠عÙÙ Ø·ÙØ¨ API",responseComment:"// Ø§ÙØ§Ø³ØªØ¬Ø§Ø¨Ø©"}
84,XP={title:"ÙØ§ÙÙ
Ø²ÙØ¯",subtitle:"Ù
ÙØ²Ø§Øª إضاÙÙØ© ÙØ¥ÙÙ
ا٠Ù
جÙ
ÙØ¹Ø© Ø£Ø¯ÙØ§Øª إدارة Ø§ÙØ£Ø¬Ùزة Ø§ÙØ®Ø§ØµØ© بÙ.",wifiManagement:"إدارة WiFi",wifiDescription:"تÙÙÙÙ ÙÙÙÙ Ø´Ø¨ÙØ§Øª WiFi",batteryMonitoring:"Ù
Ø±Ø§ÙØ¨Ø© Ø§ÙØ¨Ø·Ø§Ø±ÙØ©",batteryDescription:"تتبع Ù
ستÙÙØ§Øª Ø§ÙØ¨Ø·Ø§Ø±ÙØ© ÙØ§ÙØªÙØ¨ÙÙØ§Øª",hardwareControls:"Ø¶ÙØ§Ø¨Ø· Ø§ÙØ£Ø¬Ùزة",hardwareDescription:"Ø§ÙØµÙØªØ Ø§ÙØ³Ø·ÙØ¹Ø Ø§ÙØ¨ÙÙØªÙØ«",deviceGroups:"Ù
جÙ
ÙØ¹Ø§Øª Ø§ÙØ£Ø¬Ùزة",deviceGroupsDescription:"ØªÙØ¸ÙÙ
Ø§ÙØ£Ø¬Ùزة بÙÙØ§Ø¡Ø©",bulkOperations:"Ø§ÙØ¹Ù
ÙÙØ§Øª Ø§ÙØ¬Ù
Ø§Ø¹ÙØ©",bulkDescription:"Ø§ÙØ¹Ù
٠عÙÙ Ø£Ø¬ÙØ²Ø© Ù
تعددة ÙÙ ÙÙØª ÙØ§ØØ¯",notifications:"Ø§ÙØ¥Ø´Ø¹Ø§Ø±Ø§Øª",notificationsDescription:"إرسا٠رسائ٠إÙÙ Ø§ÙØ£Ø¬Ùزة"},ZP={title:"Ù
Ù ÙØÙ",subtitle:"Ø¨ÙØ§Ø¡ Ù
Ø³ØªÙØ¨Ù إدارة Ø§ÙØ£Ø¬Ùزة",ourMission:"Ù
ÙÙ
ØªÙØ§",ourStory:"ÙØµØªÙا"},eE={title:"Ø§ØªØµÙ Ø¨ÙØ§",subtitle:"ØªÙØ§ØµÙ Ù
ع ÙØ±ÙÙÙØ§",form:{name:"Ø§ÙØ§Ø³Ù
",email:"Ø§ÙØ¨Ø±Ùد Ø§ÙØ¥ÙÙØªØ±ÙÙÙ",subject:"اÙÙ
ÙØ¶Ùع",message:"Ø§ÙØ±Ø³Ø§ÙØ©",send:"Ø¥Ø±Ø³Ø§Ù Ø§ÙØ±Ø³Ø§ÙØ©",sending:"Ø¬Ø§Ø±Ù Ø§ÙØ¥Ø±Ø³Ø§Ù...",success:"تÙ
Ø¥Ø±Ø³Ø§Ù Ø§ÙØ±Ø³Ø§ÙØ© Ø¨ÙØ¬Ø§Ø!",error:"ÙØ´Ù Ø§ÙØ¥Ø±Ø³Ø§Ù. ÙØ±Ø¬Ù اÙÙ
ØØ§ÙÙØ© Ù
رة أخرÙ."}},tE={badge:"اÙÙ
دÙÙØ©",title:"آخر اÙÙ
ÙØ§Ùات Ù
Ù Ù
دÙÙØªÙا",subtitle:"ÙØµØ§Ø¦Ø ÙØ¨Ø±Ø§Ù
ج تعÙÙÙ
ÙØ© ÙØªØØ¯Ùثات ÙÙ
ساعدت٠ÙÙ Ø§ÙØ§Ø³ØªÙادة اÙÙØµÙÙ Ù
Ù Cheap MDM.",readMore:"Ø§ÙØ±Ø£ اÙÙ
Ø²ÙØ¯",categories:"اÙÙØ¦Ø§Øª",recentPosts:"اÙÙ
ÙØ´Ùرات Ø§ÙØ£Ø®Ùرة",allPosts:"جÙ
ÙØ¹ اÙÙ
ÙØ´Ùرات",viewAllArticles:"عرض جÙ
ÙØ¹ اÙÙ
ÙØ§Ùات",minRead:"دÙÙÙØ© ÙØ±Ø§Ø¡Ø©"},nE={title:"Ø§ÙØ´Ø±ÙØ· ÙØ§ÙØ£ØÙاÙ
",lastUpdated:"آخر ØªØØ¯ÙØ«"},rE={title:"Ø³ÙØ§Ø³Ø© Ù
ÙÙØ§Øª تعرÙÙ Ø§ÙØ§Ø±ØªØ¨Ø§Ø·",lastUpdated:"آخر ØªØØ¯ÙØ«"},sE={seo:UP,hero:BP,socialProof:VP,features:HP,howItWorks:GP,testimonials:WP,pricing:QP,faq:KP,cta:JP,api:YP,additional:XP,about:ZP,contact:eE,blog:tE,terms:nE,cookies:rE},iE={dashboard:"ÙÙØØ© Ø§ÙØªØÙÙ
",tenants:"اÙÙ
ستأجرÙÙ",plans:"Ø§ÙØ®Ø·Ø·",subscription:"Ø§ÙØ§Ø´ØªØ±Ø§Ù",adminUsers:"Ù
ستخدÙ
Ù Ø§ÙØ¥Ø¯Ø§Ø±Ø©",provisioning:"Ø§ÙØªØ¬ÙÙØ²",devices:"Ø§ÙØ£Ø¬Ùزة",deviceMap:"Ø®Ø±ÙØ·Ø© Ø§ÙØ£Ø¬Ùزة",deviceGroups:"Ù
جÙ
ÙØ¹Ø§Øª Ø§ÙØ£Ø¬Ùزة",policies:"Ø§ÙØ³Ùاسات",apps:"Ø§ÙØªØ·Ø¨ÙÙØ§Øª",notifications:"Ø§ÙØ¥Ø´Ø¹Ø§Ø±Ø§Øª",activityLogs:"Ø³Ø¬ÙØ§Øª اÙÙØ´Ø§Ø·",salesAnalytics:"تØÙÙÙØ§Øª اÙÙ
Ø¨ÙØ¹Ø§Øª",email:"Ø§ÙØ¨Ø±Ùد Ø§ÙØ¥ÙÙØªØ±ÙÙÙ",inbox:"اÙÙØ§Ø±Ø¯",signatures:"Ø§ÙØªÙÙÙØ¹Ø§Øª",accounts:"Ø§ÙØØ³Ø§Ø¨Ø§Øª",emailNotifications:"Ø§ÙØ¥Ø´Ø¹Ø§Ø±Ø§Øª",systemUpdates:"ØªØØ¯Ùثات اÙÙØ¸Ø§Ù
",siteSettings:"إعدادات اÙÙ
ÙÙØ¹",fileManager:"Ù
Ø¯ÙØ± اÙÙ
ÙÙØ§Øª",database:"ÙØ§Ø¹Ø¯Ø© Ø§ÙØ¨ÙØ§ÙØ§Øª",serverHealth:"ØµØØ© Ø§ÙØ®Ø§Ø¯Ù
",support:"Ø§ÙØ¯Ø¹Ù
",supportTickets:"ØªØ°Ø§ÙØ± Ø§ÙØ¯Ø¹Ù
",contactSubmissions:"Ø·ÙØ¨Ø§Øª Ø§ÙØªÙاصÙ",newsletterSubscribers:"Ù
شترÙ٠اÙÙØ´Ø±Ø©",liveChat:"Ø§ÙØ¯Ø±Ø¯Ø´Ø© اÙÙ
باشرة",profile:"اÙÙ
ÙÙ Ø§ÙØ´Ø®ØµÙ",logout:"تسجÙÙ Ø§ÙØ®Ø±Ùج",returnToAdmin:"Ø§ÙØ¹Ùدة ÙÙØ¥Ø¯Ø§Ø±Ø©",viewingAs:"Ø§ÙØ¹Ø±Ø¶ ÙÙ:",adminPortal:"Ø¨ÙØ§Ø¨Ø© Ø§ÙØ¥Ø¯Ø§Ø±Ø©"},oE={title:"ÙÙØØ© Ø§ÙØªØÙÙ
",welcome:"Ù
Ø±ØØ¨Ø§Ù Ø¨Ø¹ÙØ¯ØªÙ",overview:"ÙØ¸Ø±Ø© عاÙ
Ø©",totalDevices:"إجÙ
اÙÙ Ø§ÙØ£Ø¬Ùزة",onlineDevices:"Ø§ÙØ£Ø¬Ùزة اÙÙ
ØªØµÙØ©",offlineDevices:"Ø§ÙØ£Ø¬Ùزة ØºÙØ± اÙÙ
ØªØµÙØ©",activePolicies:"Ø§ÙØ³Ùاسات اÙÙØ´Ø·Ø©",deviceGroups:"Ù
جÙ
ÙØ¹Ø§Øª Ø§ÙØ£Ø¬Ùزة",recentActivity:"اÙÙØ´Ø§Ø· Ø§ÙØ£Ø®Ùر",deviceStatus:"ØØ§ÙØ© Ø§ÙØ£Ø¬Ùزة",online:"Ù
تصÙ",offline:"ØºÙØ± Ù
تصÙ",pending:"ÙÙØ¯ Ø§ÙØ§Ùتظار",quickActions:"إجراءات Ø³Ø±ÙØ¹Ø©",addDevice:"Ø¥Ø¶Ø§ÙØ© Ø¬ÙØ§Ø²",createPolicy:"Ø¥ÙØ´Ø§Ø¡ Ø³ÙØ§Ø³Ø©",viewAllDevices:"عرض جÙ
ÙØ¹ Ø§ÙØ£Ø¬Ùزة"},aE={title:"Ø§ÙØ£Ø¬Ùزة",searchPlaceholder:"Ø§ÙØ¨ØØ« Ø¹Ù Ø£Ø¬ÙØ²Ø©...",addDevice:"Ø¥Ø¶Ø§ÙØ© Ø¬ÙØ§Ø²",noDevices:"ÙÙ
ÙØªÙ
Ø§ÙØ¹Ø«Ùر عÙÙ Ø£Ø¬ÙØ²Ø©",n
84oDevicesDescription:"ابدأ بتجÙÙØ² Ø¬ÙØ§Ø²Ù Ø§ÙØ£ÙÙ",deviceName:"اسÙ
Ø§ÙØ¬Ùاز",status:"Ø§ÙØØ§ÙØ©",lastSeen:"آخر ظÙÙØ±",policy:"Ø§ÙØ³Ùاسة",group:"اÙÙ
جÙ
ÙØ¹Ø©",actions:"Ø§ÙØ¥Ø¬Ø±Ø§Ø¡Ø§Øª",viewDetails:"عرض Ø§ÙØªÙاصÙÙ",editDevice:"تعدÙÙ Ø§ÙØ¬Ùاز",removeDevice:"Ø¥Ø²Ø§ÙØ© Ø§ÙØ¬Ùاز",syncPolicy:"Ù
زاÙ
ÙØ© Ø§ÙØ³Ùاسة",reboot:"إعادة Ø§ÙØªØ´ØºÙÙ",lockDevice:"ÙÙÙ",unlockDevice:"Ø¥ÙØºØ§Ø¡ اÙÙÙÙ",wipeDevice:"Ù
Ø³Ø Ø§ÙØ¬Ùاز",online:"Ù
تصÙ",offline:"ØºÙØ± Ù
تصÙ",never:"أبداÙ",confirmDelete:"ÙÙ Ø£ÙØª Ù
ØªØ£ÙØ¯ Ø£ÙÙ ØªØ±ÙØ¯ ØØ°Ù ÙØ°Ø§ Ø§ÙØ¬ÙازØ",confirmWipe:"ÙÙ Ø£ÙØª Ù
ØªØ£ÙØ¯ Ø£ÙÙ ØªØ±ÙØ¯ Ù
Ø³Ø ÙØ°Ø§ Ø§ÙØ¬ÙØ§Ø²Ø ÙØ§ ÙÙ
ÙÙ Ø§ÙØªØ±Ø§Ø¬Ø¹ Ø¹Ù ÙØ°Ø§ Ø§ÙØ¥Ø¬Ø±Ø§Ø¡.",battery:"Ø§ÙØ¨Ø·Ø§Ø±ÙØ©",storage:"Ø§ÙØªØ®Ø²ÙÙ",model:"اÙÙ
ÙØ¯ÙÙ",androidVersion:"إصدار Ø£ÙØ¯Ø±ÙÙØ¯",appVersion:"إصدار Ø§ÙØªØ·Ø¨ÙÙ",imei:"IMEI",serialNumber:"Ø§ÙØ±ÙÙ
Ø§ÙØªØ³ÙسÙÙ"},lE={title:"Ù
جÙ
ÙØ¹Ø§Øª Ø§ÙØ£Ø¬Ùزة",createGroup:"Ø¥ÙØ´Ø§Ø¡ Ù
جÙ
ÙØ¹Ø©",noGroups:"ÙÙ
ÙØªÙ
Ø§ÙØ¹Ø«Ùر عÙÙ Ù
جÙ
ÙØ¹Ø§Øª",noGroupsDescription:"Ø£ÙØ´Ø¦ Ù
جÙ
ÙØ¹Ø§Øª ÙØªÙظÙÙ
Ø£Ø¬ÙØ²ØªÙ",groupName:"اسÙ
اÙÙ
جÙ
ÙØ¹Ø©",description:"اÙÙØµÙ",deviceCount:"Ø§ÙØ£Ø¬Ùزة",defaultPolicy:"Ø§ÙØ³Ùاسة Ø§ÙØ§ÙØªØ±Ø§Ø¶ÙØ©",editGroup:"تعدÙ٠اÙÙ
جÙ
ÙØ¹Ø©",deleteGroup:"ØØ°Ù اÙÙ
جÙ
ÙØ¹Ø©",confirmDelete:"ÙÙ Ø£ÙØª Ù
ØªØ£ÙØ¯ Ø£ÙÙ ØªØ±ÙØ¯ ØØ°Ù ÙØ°Ù اÙÙ
جÙ
ÙØ¹Ø©Ø"},cE={title:"Ø§ÙØ³Ùاسات",createPolicy:"Ø¥ÙØ´Ø§Ø¡ Ø³ÙØ§Ø³Ø©",noPolicies:"ÙÙ
ÙØªÙ
Ø§ÙØ¹Ø«Ùر عÙÙ Ø³ÙØ§Ø³Ø§Øª",noPoliciesDescription:"Ø£ÙØ´Ø¦ Ø³ÙØ§Ø³Ø§Øª ÙØªÙÙÙÙ Ø§ÙØ£Ø¬Ùزة",policyName:"اسÙ
Ø§ÙØ³Ùاسة",description:"اÙÙØµÙ",deviceCount:"Ø§ÙØ£Ø¬Ùزة",kioskMode:"ÙØ¶Ø¹ اÙÙØ´Ù",editPolicy:"تعدÙÙ Ø§ÙØ³Ùاسة",deletePolicy:"ØØ°Ù Ø§ÙØ³Ùاسة",duplicatePolicy:"ÙØ³Ø® Ø§ÙØ³Ùاسة",confirmDelete:"ÙÙ Ø£ÙØª Ù
ØªØ£ÙØ¯ Ø£ÙÙ ØªØ±ÙØ¯ ØØ°Ù ÙØ°Ù Ø§ÙØ³ÙاسةØ",enabled:"Ù
ÙØ¹ÙÙ",disabled:"Ù
عطÙÙ",singleApp:"تطبÙÙ ÙØ§ØØ¯",multiApp:"تطبÙÙØ§Øª Ù
تعددة",allowedApps:"Ø§ÙØªØ·Ø¨ÙÙØ§Øª اÙÙ
سÙ
ÙØØ©",blockedApps:"Ø§ÙØªØ·Ø¨ÙÙØ§Øª اÙÙ
ØØ¸Ùرة",settings:{general:"عاÙ
",kiosk:"ÙØ¶Ø¹ اÙÙØ´Ù",apps:"Ø§ÙØªØ·Ø¨ÙÙØ§Øª",security:"Ø§ÙØ£Ù
اÙ",hardware:"Ø§ÙØ£Ø¬Ùزة",network:"Ø§ÙØ´Ø¨ÙØ©"}},uE={title:"Ø§ÙØªØ·Ø¨ÙÙØ§Øª",uploadApp:"Ø±ÙØ¹ تطبÙÙ",noApps:"ÙÙ
ÙØªÙ
Ø§ÙØ¹Ø«Ùر عÙ٠تطبÙÙØ§Øª",noAppsDescription:"Ø§Ø±ÙØ¹ Ù
ÙÙØ§Øª APK ÙØªÙØ²ÙØ¹Ùا عÙÙ Ø§ÙØ£Ø¬Ùزة",appName:"اسÙ
Ø§ÙØªØ·Ø¨ÙÙ",packageName:"اسÙ
Ø§ÙØØ²Ù
Ø©",version:"Ø§ÙØ¥ØµØ¯Ø§Ø±",size:"Ø§ÙØØ¬Ù
",uploadDate:"ØªØ§Ø±ÙØ® Ø§ÙØ±Ùع",deleteApp:"ØØ°Ù Ø§ÙØªØ·Ø¨ÙÙ",downloadApp:"تØÙ
ÙÙ Ø§ÙØªØ·Ø¨ÙÙ",confirmDelete:"ÙÙ Ø£ÙØª Ù
ØªØ£ÙØ¯ Ø£ÙÙ ØªØ±ÙØ¯ ØØ°Ù ÙØ°Ø§ Ø§ÙØªØ·Ø¨ÙÙØ"},dE={title:"Ø§ÙØªØ¬ÙÙØ²",subtitle:"سجÙÙ Ø£Ø¬ÙØ²Ø© Ø¬Ø¯ÙØ¯Ø© باستخداÙ
تجÙÙØ² رÙ
ز QR",generateQr:"Ø¥ÙØ´Ø§Ø¡ رÙ
ز QR",selectPolicy:"اختر Ø§ÙØ³Ùاسة",selectGroup:"اختر اÙÙ
جÙ
ÙØ¹Ø© (Ø§Ø®ØªÙØ§Ø±Ù)",qrExpiry:"Ø§ÙØªÙاء ØµÙØ§ØÙØ© رÙ
ز QR",hours:"ساعات",scanInstructions:"اÙ
Ø³Ø Ø±Ù
ز QR ÙØ°Ø§ Ø£Ø«ÙØ§Ø¡ إعداد Ø§ÙØ¬Ùاز ÙØªØ³Ø¬ÙÙÙ ÙØªÙÙÙÙ٠تÙÙØ§Ø¦ÙاÙ.",downloadQr:"تØÙ
Ù٠رÙ
ز QR",copyEnrollmentUrl:"ÙØ³Ø® رابط Ø§ÙØªØ³Ø¬ÙÙ",urlCopied:"تÙ
ÙØ³Ø® Ø§ÙØ±Ø§Ø¨Ø·",expiresIn:"ÙÙØªÙÙ ÙÙ {{time}}"},fE={title:"اÙÙ
ÙÙ Ø§ÙØ´Ø®ØµÙ",personalInfo:"اÙÙ
عÙÙÙ
ات Ø§ÙØ´Ø®ØµÙØ©",email:"Ø§ÙØ¨Ø±Ùد Ø§ÙØ¥ÙÙØªØ±ÙÙÙ",fullName:"Ø§ÙØ§Ø³Ù
اÙÙØ§Ù
Ù",organization:"اÙÙ
ؤسسة",role:"Ø§ÙØ¯Ùر",changePassword:"تغÙÙØ± ÙÙÙ
Ø© اÙÙ
Ø±ÙØ±",currentPassword:"ÙÙÙ
Ø© اÙÙ
Ø±ÙØ± Ø§ÙØØ§ÙÙØ©",newPassword:"ÙÙÙ
Ø© اÙÙ
Ø±ÙØ± Ø§ÙØ¬Ø¯Ùدة",confirmPassword:"تأÙÙØ¯ ÙÙÙ
Ø© اÙÙ
Ø±ÙØ±",updatePassword:"ØªØØ¯ÙØ«",twoFactorAuth:"اÙÙ
ØµØ§Ø¯ÙØ© Ø§ÙØ«ÙØ§Ø¦ÙØ©",twoFactorEnabled:"اÙÙ
ØµØ§Ø¯ÙØ© Ø§ÙØ«ÙØ§Ø¦ÙØ© Ù
ÙØ¹ÙÙØ©",twoFactorDisabled:"اÙÙ
ØµØ§Ø¯ÙØ© Ø§ÙØ«ÙØ§Ø¦ÙØ© Ù
عطÙÙØ©",enable2fa:"ØªÙØ¹Ù٠اÙÙ
ØµØ§Ø¯ÙØ© Ø§ÙØ«ÙØ§Ø¦ÙØ©",disable2fa:"تعطÙ٠اÙÙ
ØµØ§Ø¯ÙØ© Ø§ÙØ«ÙØ§Ø¦ÙØ©",saveChanges:"ØÙظ"},pE={title:"Ø§ÙØ§Ø´ØªØ±Ø§Ù",currentPlan:"Ø§ÙØ®Ø·Ø© Ø§ÙØØ§ÙÙØ©",usage:"Ø§ÙØ§Ø³ØªØ®Ø¯Ø§Ù
",devicesUsed:"{{used}} Ù
Ù {{total}} Ø¬ÙØ§Ø² Ù
ستخدÙ
",adminsUsed:"{{used}} Ù
Ù {{total}} Ù
سؤÙÙ Ù
ستخدÙ
",billingCycle:"Ø¯ÙØ±Ø© اÙÙÙØªØ±Ø©",nextBilling:"ØªØ§Ø±ÙØ® اÙÙØ§ØªÙرة Ø§ÙØªØ§ÙÙØ©",changePlan:"تغÙÙØ± Ø§ÙØ®Ø·Ø©",cancelSubscription:"Ø¥ÙØºØ§Ø¡ Ø§ÙØ§Ø´ØªØ±Ø§Ù",paymentMethod:"طرÙÙØ© Ø§ÙØ¯Ùع",updatePayment:"ØªØØ¯ÙØ« طرÙÙØ© Ø§ÙØ¯Ùع",invoices:"اÙÙÙØ§ØªÙر",viewInvoice:"عرض اÙÙØ§ØªÙرة",downloadInvoice:"تØÙ
Ù٠اÙÙØ§ØªÙرة"},hE={title:"Ø§ÙØ¯Ø¹Ù
",createTicket:"Ø¥ÙØ´Ø§Ø¡ ØªØ°ÙØ±Ø©",noTickets:"ÙÙ
ÙØªÙ
Ø§ÙØ¹Ø«Ùر عÙÙ ØªØ°Ø§ÙØ±",noTicketsDescription:"Ø£ÙØ´Ø¦ ØªØ°ÙØ±Ø© دعÙ
إذا ÙÙØª Ø¨ØØ§Ø¬Ø© ÙÙÙ
ساعدة",ticketId:"رÙÙ
Ø§ÙØªØ°Ùرة",subject:"اÙÙ
ÙØ¶Ùع",status:"Ø§ÙØØ§ÙØ©",priority:"Ø§ÙØ£ÙÙÙÙØ©",created:"تÙ
Ø§ÙØ¥Ùشاء",lastUpdate:"آخر ØªØØ¯ÙØ«",open:"Ù
ÙØªÙØ",inProgress:"ÙÙØ¯ اÙÙ
Ø¹Ø§ÙØ¬Ø©",resolved:"تÙ
Ø§ÙØÙ",closed:"Ù
غÙÙ",low:"Ù
ÙØ®Ùض",medium:"Ù
ØªÙØ³Ø·",high:"Ù
Ø±ØªÙØ¹",urgent:"عاجÙ",viewTicket:"عرض Ø§ÙØªØ°Ùرة",reply:"رد",closeTicket:"Ø¥ØºÙØ§Ù Ø§ÙØªØ°Ùرة"},mE={title:"Ø§ÙØ¥Ø´Ø¹Ø§Ø±Ø§Øª",sendNotification:"إرسا٠إشعار",noNotifications:"ÙØ§ ØªÙØ¬Ø¯ إشعارات",selectDevices:"اختر Ø§ÙØ£Ø¬Ùزة",allDevices:"جÙ
ÙØ¹ Ø§ÙØ£Ø¬Ùزة",selectedDevices:"Ø§ÙØ£Ø¬Ùزة اÙÙ
ØØ¯Ø¯Ø©",notificationTitle:"Ø§ÙØ¹ÙÙØ§Ù",notificationMessage:"Ø§ÙØ±Ø³Ø§ÙØ©",send:"إرساÙ",sending:"Ø¬Ø§Ø±Ù Ø§ÙØ¥Ø±Ø³Ø§Ù...",sent:"تÙ
Ø¥Ø±Ø³Ø§Ù Ø§ÙØ¥Ø´Ø¹Ø§Ø±"},gE={title:"Ø³Ø¬ÙØ§Øª اÙÙØ´Ø§Ø·",noLogs:"ÙÙ
ÙØªÙ
Ø§ÙØ¹Ø«Ùر عÙÙ Ø³Ø¬ÙØ§Øª",action:"Ø§ÙØ¥Ø¬Ø±Ø§Ø¡",user:"اÙÙ
ستخدÙ
",device:"Ø§ÙØ¬Ùاز",timestamp:"Ø§ÙØªØ§Ø±ÙØ®/اÙÙÙØª",details:"Ø§ÙØªÙاصÙÙ",filter:"تصÙÙØ©",export:"ØªØµØ¯ÙØ±"},yE={title:"Ø§ÙØ¥Ø¹Ø¯Ø§Ø¯Ø§Øª",general:"عاÙ
",appearance:"اÙÙ
Ø¸ÙØ±",theme:"Ø§ÙØ³Ù
Ø©",light:"ÙØ§ØªØ",dark:"داÙÙ",system:"اÙÙØ¸Ø§Ù
",language:"اÙÙØºØ©",timezone:"اÙÙ
ÙØ·ÙØ© Ø§ÙØ²Ù
ÙÙØ©",notifications:"Ø§ÙØ¥Ø´Ø¹Ø§Ø±Ø§Øª",emailNotifications:"إشعارات Ø§ÙØ¨Ø±Ùد Ø§ÙØ¥ÙÙØªØ±ÙÙÙ",pushNotifications:"Ø§ÙØ¥Ø´Ø¹Ø§Ø±Ø§Øª اÙÙÙØ±ÙØ©"},vE={save:"ØÙظ",cancel:"Ø¥ÙØºØ§Ø¡",delete:"ØØ°Ù",edit:"تعدÙÙ",create:"Ø¥ÙØ´Ø§Ø¡",update:"ØªØØ¯ÙØ«",search:"Ø¨ØØ«",filter:"تصÙÙØ©",export:"ØªØµØ¯ÙØ±",import:"Ø§Ø³ØªÙØ±Ø§Ø¯",loading:"Ø¬Ø§Ø±Ù Ø§ÙØªØÙ
ÙÙ...",noResults:"ÙØ§ ØªÙØ¬Ø¯ ÙØªØ§Ø¦Ø¬",confirmAction:"ÙÙ Ø£ÙØª Ù
ØªØ£ÙØ¯Ø",success:"ÙØ¬Ø§Ø",error:"خطأ",warning:"ØªØØ°Ùر",info:"Ù
عÙÙÙ
ات",yes:"ÙØ¹Ù
",no:"ÙØ§",all:"اÙÙÙ",none:"ÙØ§ Ø´ÙØ¡",select:"اختر",selected:"Ù
ØØ¯Ø¯",actions:"Ø§ÙØ¥Ø¬Ø±Ø§Ø¡Ø§Øª",more:"اÙÙ
Ø²ÙØ¯",refresh:"ØªØØ¯ÙØ«",close:"Ø¥ØºÙØ§Ù",back:"Ø±Ø¬ÙØ¹",next:"Ø§ÙØªØ§ÙÙ",previous:"Ø§ÙØ³Ø§Ø¨Ù",finish:"Ø¥ÙÙØ§Ø¡",perPage:"ÙÙÙ ØµÙØØ©",page:"ØµÙØØ©",of:"Ù
Ù",showing:"عرض",to:"Ø¥ÙÙ",entries:"Ø¥Ø¯Ø®Ø§ÙØ§Øª"},wE={sidebar:iE,dashboard:oE,devices:aE,groups:lE,policies:cE,apps:uE,provisioning:dE,profile:fE,subscription:pE,support:hE,notifications:mE,logs:gE,settings:yE,common:vE},xE={title:"Ù
Ø±ØØ¨Ø§Ù Ø¨Ø¹ÙØ¯ØªÙ",subtitle:"سجÙÙ Ø§ÙØ¯Ø®Ù٠إÙÙ ØØ³Ø§Ø¨Ù ÙÙ Cheap MDM",email:"Ø§ÙØ¨Ø±Ùد Ø§ÙØ¥ÙÙØªØ±ÙÙÙ",emailPlaceholder:"[email protected]",password:"ÙÙÙ
Ø© اÙÙ
Ø±ÙØ±",passwordPlaceholder:"أدخ٠ÙÙÙ
Ø© اÙÙ
Ø±ÙØ±",forgotPassword:"ÙÙ ÙØ³Ùت ÙÙÙ
Ø© اÙÙ
Ø±ÙØ±Ø",signIn:"تسجÙÙ Ø§ÙØ¯Ø®ÙÙ",
84signingIn:"جار٠تسجÙÙ Ø§ÙØ¯Ø®ÙÙ...",noAccount:"ÙÙØ³ ÙØ¯ÙÙ ØØ³Ø§Ø¨Ø",signUp:"Ø¥ÙØ´Ø§Ø¡ ØØ³Ø§Ø¨",backToHome:"Ø§ÙØ¹Ùدة ÙÙØ±Ø¦ÙØ³ÙØ©"},bE={title:"اÙÙ ØµØ§Ø¯ÙØ© Ø§ÙØ«ÙØ§Ø¦ÙØ©",subtitle:"Ø£Ø¯Ø®Ù Ø§ÙØ±Ù ز اÙÙ ÙÙÙ Ù Ù 6 Ø£Ø±ÙØ§Ù ٠٠تطبÙ٠اÙÙ ØµØ§Ø¯ÙØ©",code:"ر٠ز Ø§ÙØªØÙÙ",codePlaceholder:"000000",backupCodeHint:"ÙÙ ÙÙÙ Ø£ÙØ¶Ø§Ù استخدا٠ر٠ز Ø§ØØªÙاط٠إذا ÙÙ ÙÙÙ ÙØ¯ÙÙ ÙØµÙ٠إÙ٠اÙ٠صادÙ",verify:"تØÙÙ"},SE={title:"Ø¥ÙØ´Ø§Ø¡ ØØ³Ø§Ø¨",subtitle:"ابدأ تجربت٠اÙ٠جاÙÙØ© Ù٠دة 14 ÙÙ٠اÙ",organizationName:"اس٠اÙ٠ؤسسة",organizationPlaceholder:"Ø§Ø³Ù Ø´Ø±ÙØªÙ",fullName:"Ø§ÙØ§Ø³Ù اÙÙØ§Ù Ù",fullNamePlaceholder:"Ø£ØÙ د Ù ØÙ د",email:"Ø§ÙØ¨Ø±Ùد Ø§ÙØ¥ÙÙØªØ±ÙÙÙ",emailPlaceholder:"[email protected]",password:"ÙÙÙ Ø© اÙÙ Ø±ÙØ±",passwordPlaceholder:"Ø£ÙØ´Ø¦ ÙÙÙ Ø© Ù Ø±ÙØ±",confirmPassword:"تأÙÙØ¯ ÙÙÙ Ø© اÙÙ Ø±ÙØ±",confirmPasswordPlaceholder:"Ø£ÙØ¯ ÙÙÙ Ø© اÙÙ Ø±ÙØ±",createAccount:"Ø¥ÙØ´Ø§Ø¡ Ø§ÙØØ³Ø§Ø¨",creatingAccount:"Ø¬Ø§Ø±Ù Ø¥ÙØ´Ø§Ø¡ Ø§ÙØØ³Ø§Ø¨...",hasAccount:"ÙØ¯ÙÙ ØØ³Ø§Ø¨ باÙÙØ¹ÙØ",signIn:"تسجÙÙ Ø§ÙØ¯Ø®ÙÙ",termsAgreement:"Ø¨Ø¥ÙØ´Ø§Ø¡ ØØ³Ø§Ø¨Ø Ø£ÙØª ØªÙØ§Ù٠عÙÙ",termsOfService:"Ø´Ø±ÙØ· Ø§ÙØ®Ø¯Ù Ø©",and:"Ù",privacyPolicy:"Ø³ÙØ§Ø³Ø© Ø§ÙØ®ØµÙØµÙØ©"},kE={title:"ÙÙ ÙØ³Ùت ÙÙÙ Ø© اÙÙ Ø±ÙØ±Ø",subtitle:"Ø£Ø¯Ø®Ù Ø¨Ø±ÙØ¯Ù Ø§ÙØ¥ÙÙØªØ±ÙÙÙ ÙØ³Ùرس٠Ù٠رابط إعادة Ø§ÙØªØ¹ÙÙÙ",email:"Ø§ÙØ¨Ø±Ùد Ø§ÙØ¥ÙÙØªØ±ÙÙÙ",emailPlaceholder:"[email protected]",sendResetLink:"Ø¥Ø±Ø³Ø§Ù Ø§ÙØ±Ø§Ø¨Ø·",sending:"Ø¬Ø§Ø±Ù Ø§ÙØ¥Ø±Ø³Ø§Ù...",backToLogin:"Ø§ÙØ¹Ùدة ÙØªØ³Ø¬ÙÙ Ø§ÙØ¯Ø®ÙÙ",successTitle:"تØÙÙ Ù Ù Ø¨Ø±ÙØ¯Ù Ø§ÙØ¥ÙÙØªØ±ÙÙÙ",successMessage:"أرسÙÙØ§ رابط إعادة Ø§ÙØªØ¹ÙÙ٠إÙÙ {{email}}",didntReceive:"Ù٠تستÙÙ Ø§ÙØ¨Ø±Ùد Ø§ÙØ¥ÙÙØªØ±ÙÙÙØ",checkSpam:"تØÙÙ Ù Ù Ù Ø¬ÙØ¯ Ø§ÙØ¨Ø±Ùد ØºÙØ± اÙÙ Ø±ØºÙØ¨ ÙÙ٠أÙ",tryAgain:"ØØ§Ù٠٠رة أخرÙ"},CE={title:"إعادة تعÙÙÙ ÙÙÙ Ø© اÙÙ Ø±ÙØ±",subtitle:"أدخ٠ÙÙÙ Ø© اÙÙ Ø±ÙØ± Ø§ÙØ¬Ø¯Ùدة",newPassword:"ÙÙÙ Ø© اÙÙ Ø±ÙØ± Ø§ÙØ¬Ø¯Ùدة",newPasswordPlaceholder:"أدخ٠ÙÙÙ Ø© اÙÙ Ø±ÙØ± Ø§ÙØ¬Ø¯Ùدة",confirmPassword:"تأÙÙØ¯ ÙÙÙ Ø© اÙÙ Ø±ÙØ±",confirmPasswordPlaceholder:"Ø£ÙØ¯ ÙÙÙ Ø© اÙÙ Ø±ÙØ± Ø§ÙØ¬Ø¯Ùدة",resetPassword:"إعادة Ø§ÙØªØ¹ÙÙÙ",resetting:"جار٠إعادة Ø§ÙØªØ¹ÙÙÙ...",successTitle:"ت٠إعادة تعÙÙÙ ÙÙÙ Ø© اÙÙ Ø±ÙØ±",successMessage:"ت٠إعادة تعÙÙÙ ÙÙÙ Ø© اÙÙ Ø±ÙØ± Ø§ÙØ®Ø§ØµØ© بÙ. ÙÙ ÙÙÙ Ø§ÙØ¢Ù تسجÙÙ Ø§ÙØ¯Ø®ÙÙ.",goToLogin:"Ø§ÙØ°Ùاب ÙØªØ³Ø¬ÙÙ Ø§ÙØ¯Ø®ÙÙ",invalidToken:"رابط ØºÙØ± ØµØ§ÙØ Ø£Ù Ù ÙØªÙÙ Ø§ÙØµÙاØÙØ©",invalidTokenMessage:"رابط إعادة Ø§ÙØªØ¹ÙÙÙ ØºÙØ± ØµØ§ÙØ Ø£Ù Ø§ÙØªÙت ØµÙØ§ØÙتÙ. ÙØ±Ø¬Ù Ø·ÙØ¨ رابط Ø¬Ø¯ÙØ¯.",requestNew:"Ø·ÙØ¨ رابط Ø¬Ø¯ÙØ¯"},PE={invalidCredentials:"Ø§ÙØ¨Ø±Ùد Ø§ÙØ¥ÙÙØªØ±ÙÙ٠أ٠ÙÙÙ Ø© اÙÙ Ø±ÙØ± ØºÙØ± صØÙØØ©",accountLocked:"Ø§ÙØØ³Ø§Ø¨ Ù ÙÙÙ. ÙØ±Ø¬Ù اÙÙ ØØ§ÙÙØ© ÙØ§ØÙاÙ.",emailInUse:"ÙÙØ¬Ø¯ ØØ³Ø§Ø¨ Ø¨ÙØ°Ø§ Ø§ÙØ¨Ø±Ùد Ø§ÙØ¥ÙÙØªØ±ÙÙ٠باÙÙØ¹Ù",weakPassword:"ÙØ¬Ø¨ Ø£Ù ØªØØªÙÙ ÙÙÙ Ø© اÙÙ Ø±ÙØ± عÙÙ 8 Ø£ØØ±Ù عÙÙ Ø§ÙØ£ÙÙ",passwordMismatch:"ÙÙ٠ات اÙÙ Ø±ÙØ± ØºÙØ± Ù ØªØ·Ø§Ø¨ÙØ©",invalidEmail:"ÙØ±Ø¬Ù Ø¥Ø¯Ø®Ø§Ù Ø¨Ø±ÙØ¯ Ø¥ÙÙØªØ±ÙÙ٠صØÙØ",required:"ÙØ°Ø§ Ø§ÙØÙÙ Ù Ø·ÙÙØ¨",invalidToken:"ر٠ز ØºÙØ± ØµØ§ÙØ Ø£Ù Ù ÙØªÙÙ Ø§ÙØµÙاØÙØ©",tooManyAttempts:"Ù ØØ§ÙÙØ§Øª ÙØ«Ùرة جداÙ. ÙØ±Ø¬Ù اÙÙ ØØ§ÙÙØ© ÙØ§ØÙاÙ."},EE={login:xE,twoFactor:bE,signup:SE,forgotPassword:kE,resetPassword:CE,errors:PE},yr=["en","fr","es","ar"],Us={en:"English",fr:"Français",es:"Español",ar:"Ø§ÙØ¹Ø±Ø¨ÙØ©"},Rr={en:"ð¬ð§",fr:"ð«ð·",es:"ðªð¸",ar:"ð¸ð¦"},TE=["ar"],Hc=t=>TE.includes(t),AE={en:{common:lk,landing:Pk,admin:Fk,auth:Wk},fr:{common:tC,landing:vC,admin:OC,auth:FC},es:{common:QC,landing:dP,admin:EP,auth:OP},ar:{common:qP,landing:sE,admin:wE,auth:EE}};Ze.use(fy).use(T1).init({resources:AE,fallbackLng:"en",defaultNS:"common",ns:["common","landing","admin","auth"],interpolation:{escapeValue:!1},detection:{order:["path","localStorage","navigator"],lookupFromPathIndex:0,caches:["localStorage"]}});function NE(){const{lang:t}=Fi(),{i18n:e}=qi(),n=zi(),r=Zt(),s=t||"en",i=yr.includes(s);x.useEffect(()=>{i&&e.language!==s&&e.changeLanguage(s)},[s,i,e]),x.useEffect(()=>{const l=document.documentElement;l.lang=s,l.dir=Hc(s)?"rtl":"ltr"},[s]);const o=l=>{if(!yr.includes(l))return;const f=r.pathname.replace(/^\/[a-z]{2}(\/|$)/,"/"),u=`/${l}${f==="/"?"":f}`;e.changeLanguage(l),n(u+r.search+r.hash)},a=l=>{const c=l.replace(/^\/[a-z]{2}(\/|$)/,"/");return`/${s}${c==="/"?"":c}`};return{currentLanguage:s,isRTL:Hc(s),changeLanguage:o,getLocalizedPath:a,isValidLanguage:i}}/** 85 * @license lucide-react v0.303.0 - ISC 86 * 87 * This source code is licensed under the ISC license. 88 * See the LICENSE file in the root directory of this source tree. 89 */var _E={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 90 * @license lucide-react v0.303.0 - ISC 91 * 92 * This source code is licensed under the ISC license. 93 * See the LICENSE file in the root directory of this source tree. 94 */const DE=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),Q=(t,e)=>{const n=x.forwardRef(({color:r="currentColor",size:s=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:a="",children:l,...c},f)=>x.createElement("svg",{ref:f,..._E,width:s,height:s,stroke:r,strokeWidth:o?Number(i)*24/Number(s):i,className:["lucide",`lucide-${DE(t)}`,a].join(" "),...c},[...e.map(([u,p])=>x.createElement(u,p)),...Array.isArray(l)?l:[l]]));return n.displayName=`${t}`,n};/** 95 * @license lucide-react v0.303.0 - ISC 96 * 97 * This source code is licensed under the ISC license. 98 * See the LICENSE file in the root directory of this source tree. 99 */const jE=Q("Activity",[["path",{d:"M22 12h-4l-3 9L9 3l-3 9H2",key:"d5dnw9"}]]);/** 100 * @license lucide-react v0.303.0 - ISC 101 * 102 * This source code is licensed under the ISC license. 103 * See the LICENSE file in the root directory of this source tree. 104 */const OE=Q("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 105 * @license lucide-react v0.303.0 - ISC 106 * 107 * This source code is licensed under the ISC license. 108 * See the LICENSE file in the root directory of this source tree. 109 */const LE=Q("BarChart3",[["path",{d:"M3 3v18h18",key:"1s2lah"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/** 110 * @license lucide-react v0.303.0 - ISC 111 * 112 * This source code is licensed under the ISC license. 113 * See the LICENSE file in the root directory of this source tree. 114 */const Tp=Q("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/** 115 * @license lucide-react v0.303.0 - ISC 116 * 117 * This source code is licensed under the ISC license. 118 * See the LICENSE file in the root directory of this source tree. 119 */const RE=Q("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
119],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/** 120 * @license lucide-react v0.303.0 - ISC 121 * 122 * This source code is licensed under the ISC license. 123 * See the LICENSE file in the root directory of this source tree. 124 */const py=Q("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** 125 * @license lucide-react v0.303.0 - ISC 126 * 127 * This source code is licensed under the ISC license. 128 * See the LICENSE file in the root directory of this source tree. 129 */const jo=Q("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 130 * @license lucide-react v0.303.0 - ISC 131 * 132 * This source code is licensed under the ISC license. 133 * See the LICENSE file in the root directory of this source tree. 134 */const ME=Q("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 135 * @license lucide-react v0.303.0 - ISC 136 * 137 * This source code is licensed under the ISC license. 138 * See the LICENSE file in the root directory of this source tree. 139 */const IE=Q("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 140 * @license lucide-react v0.303.0 - ISC 141 * 142 * This source code is licensed under the ISC license. 143 * See the LICENSE file in the root directory of this source tree. 144 */const Ap=Q("Cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]]);/** 145 * @license lucide-react v0.303.0 - ISC 146 * 147 * This source code is licensed under the ISC license. 148 * See the LICENSE file in the root directory of this source tree. 149 */const Np=Q("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);/** 150 * @license lucide-react v0.303.0 - ISC 151 * 152 * This source code is licensed under the ISC license. 153 * See the LICENSE file in the root directory of this source tree. 154 */const $E=Q("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/** 155 * @license lucide-react v0.303.0 - ISC 156 * 157 * This source code is licensed under the ISC license. 158 * See the LICENSE file in the root directory of this source tree. 159 */const zE=Q("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/** 160 * @license lucide-react v0.303.0 - ISC 161 * 162 * This source code is licensed under the ISC license. 163 * See the LICENSE file in the root directory of this source tree. 164 */const _p=Q("FileText",[["path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z",key:"1nnpy2"}],["polyline",{points:"14 2 14 8 20 8",key:"1ew0cm"}],["line",{x1:"16",x2:"8",y1:"13",y2:"13",key:"14keom"}],["line",{x1:"16",x2:"8",y1:"17",y2:"17",key:"17nazh"}],["line",{x1:"10",x2:"8",y1:"9",y2:"9",key:"1a5vjj"}]]);/** 165 * @license lucide-react v0.303.0 - ISC 166 * 167 * This source code is licensed under the ISC license. 168 * See the LICENSE file in the root directory of this source tree. 169 */const FE=Q("FolderOpen",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);/** 170 * @license lucide-react v0.303.0 - ISC 171 * 172 * This source code is licensed under the ISC license. 173 * See the LICENSE file in the root directory of this source tree. 174 */const qE=Q("FolderTree",[["path",{d:"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"hod4my"}],["path",{d:"M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"w4yl2u"}],["path",{d:"M3 5a2 2 0 0 0 2 2h3",key:"f2jnh7"}],["path",{d:"M3 3v13a2 2 0 0 0 2 2h3",key:"k8epm1"}]]);/** 175 * @license lucide-react v0.303.0 - ISC 176 * 177 * This source code is licensed under the ISC license. 178 * See the LICENSE file in the root directory of this source tree. 179 */const UE=Q("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);/** 180 * @license lucide-react v0.303.0 - ISC 181 * 182 * This source code is licensed under the ISC license. 183 * See the LICENSE file in the root directory of this source tree. 184 */const Dp=Q("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/** 185 * @license lucide-react v0.303.0 - ISC 186 * 187 * This source code is licensed under the ISC license. 188 * See the LICENSE file in the root directory of this source tree. 189 */const jp=Q("Inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]);/** 190 * @license lucide-react v0.303.0 - ISC 191 * 192 * This source code is licensed under the ISC license. 193 * See the LICENSE file in the root directory of this source tree.
194 */const BE=Q("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/** 195 * @license lucide-react v0.303.0 - ISC 196 * 197 * This source code is licensed under the ISC license. 198 * See the LICENSE file in the root directory of this source tree. 199 */const VE=Q("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/** 200 * @license lucide-react v0.303.0 - ISC 201 * 202 * This source code is licensed under the ISC license. 203 * See the LICENSE file in the root directory of this source tree. 204 */const id=Q("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** 205 * @license lucide-react v0.303.0 - ISC 206 * 207 * This source code is licensed under the ISC license. 208 * See the LICENSE file in the root directory of this source tree. 209 */const hy=Q("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/** 210 * @license lucide-react v0.303.0 - ISC 211 * 212 * This source code is licensed under the ISC license. 213 * See the LICENSE file in the root directory of this source tree. 214 */const Nl=Q("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 215 * @license lucide-react v0.303.0 - ISC 216 * 217 * This source code is licensed under the ISC license. 218 * See the LICENSE file in the root directory of this source tree. 219 */const HE=Q("Map",[["polygon",{points:"3 6 9 3 15 6 21 3 21 18 15 21 9 18 3 21",key:"ok2ie8"}],["line",{x1:"9",x2:"9",y1:"3",y2:"18",key:"w34qz5"}],["line",{x1:"15",x2:"15",y1:"6",y2:"21",key:"volv9a"}]]);/** 220 * @license lucide-react v0.303.0 - ISC 221 * 222 * This source code is licensed under the ISC license. 223 * See the LICENSE file in the root directory of this source tree. 224 */const GE=Q("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** 225 * @license lucide-react v0.303.0 - ISC 226 * 227 * This source code is licensed under the ISC license. 228 * See the LICENSE file in the root directory of this source tree. 229 */const Oo=Q("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/** 230 * @license lucide-react v0.303.0 - ISC 231 * 232 * This source code is licensed under the ISC license. 233 * See the LICENSE file in the root directory of this source tree. 234 */const Op=Q("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/** 235 * @license lucide-react v0.303.0 - ISC 236 * 237 * This source code is licensed under the ISC license. 238 * See the LICENSE file in the root directory of this source tree. 239 */const WE=Q("Minimize2",[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/** 240 * @license lucide-react v0.303.0 - ISC 241 * 242 * This source code is licensed under the ISC license. 243 * See the LICENSE file in the root directory of this source tree. 244 */const Gc=Q("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** 245 * @license lucide-react v0.303.0 - ISC 246 * 247 * This source code is licensed under the ISC license. 248 * See the LICENSE file in the root directory of this source tree. 249 */const QE=Q("Package",[["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);/** 250 * @license lucide-react v0.303.0 - ISC 251 * 252 * This source code is licensed under the ISC license. 253 * See the LICENSE file in the root directory of this source tree. 254 */const KE=Q("QrCode",[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]]);/** 255 * @license lucide-react v0.303.0 - ISC 256 * 257 * This source code is licensed under the ISC license. 258 * See the LICENSE file in the root directory of this source tree. 259 */const JE=Q("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]]);/** 260 * @license lucide-react v0.303.0 - ISC 261 * 262 * This source code is licensed under the ISC license. 263 * See the LICENSE file in the root directory of this source tree. 264 */const my=Q("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 265 * @license lucide-react v0.303.0 - ISC 266 * 267 * This source code is licensed under the ISC license. 268 * See the LICENSE file in the root directory of this source tree. 269 */const YE=Q("Shield",[["path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10",key:"1irkt0"}]]);/** 270 * @license lucide-react v0.303.0 - ISC 271 * 272 * This source code is licensed under the ISC license. 273 * See the LICENSE file in the root directory of this source tree. 274 */const XE=Q("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);/** 275 * @license lucide-react v0.303.0 - ISC 276 * 277 * This source code is licensed under the ISC license. 278 * See the LICENSE file in the root directory of this source tree. 279 */const Wc=Q("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** 280 * @license lucide-react v0.303.0 - ISC 281 * 282 * This source code is licensed under the ISC license. 283 * See the LICENSE file in the root directory of this source tree. 284 */const ZE=Q("Tag",[["path",{d:"M12 2H2v10l9.29 9.29c.94.94 2.48.94 3.42 0l6.58-6.58c.94-.94.94-2.48 0-3.42L12 2Z",key:"14b2ls"}],["path",{d:"M7 7h.01",key:"7u93v4"}]]);/** 285 * @license lucide-react v0.303.0 - ISC 286 * 287 * This source code is licensed under the ISC license. 288 * See the LICENSE file in the root directory of this source tree. 289 */const eT=Q("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/** 290 * @license lucide-react v0.303.0 - ISC 291 * 292 * This source code is licensed under the ISC license. 293 * See the LICENSE file in the root directory of this source tree. 294 */const gy=Q("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/** 295 * @license lucide-react v0.303.0 - ISC 296 * 297 * This source code is licensed under the ISC license. 298 * See the LICENSE file in the root directory of this source tree. 299 */const Lp=Q("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** 300 * @license lucide-react v0.303.0 - ISC 301 * 302 * This source code is licensed under the ISC license. 303 * See the LICENSE file in the root directory of this source tree. 304 */const tT=Q("Volume2",[["polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5",key:"16drj5"}],["path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07",key:"ltjumu"}],["path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14",key:"1kegas"}]]);/** 305 * @license lucide-react v0.303.0 - ISC 306 * 307 * This source code is licensed under the ISC license. 308 * See the LICENSE file in the root directory of this source tree. 309 */const nT=Q("VolumeX",[["polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5",key:"16drj5"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]]);/** 310 * @license lucide-react v0.303.0 - ISC 311 * 312 * This source code is licensed under the ISC license. 313 * See the LICENSE file in the root directory of this source tree. 314 */const pa=Q("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
314],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function ha({variant:t="default"}){const{currentLanguage:e,changeLanguage:n,isRTL:r}=NE(),[s,i]=x.useState(!1),o=x.useRef(null);x.useEffect(()=>{function l(c){o.current&&!o.current.contains(c.target)&&i(!1)}return document.addEventListener("mousedown",l),()=>document.removeEventListener("mousedown",l)},[]);const a=l=>{n(l),i(!1)};return t==="footer"?d.jsxs("div",{className:"relative",ref:o,children:[d.jsxs("button",{onClick:()=>i(!s),className:"flex items-center gap-2 px-3 py-2 rounded-lg bg-slate-800 hover:bg-slate-700 transition-colors text-sm text-slate-300",children:[d.jsx(Dp,{className:"h-4 w-4"}),d.jsxs("span",{children:[Rr[e]," ",Us[e]]}),d.jsx(jo,{className:`h-4 w-4 transition-transform ${s?"rotate-180":""}`})]}),s&&d.jsx("div",{className:`absolute bottom-full mb-2 ${r?"left-0":"right-0"} w-40 bg-slate-800 rounded-lg shadow-xl border border-slate-700 py-1 z-50`,children:yr.map(l=>d.jsxs("button",{onClick:()=>a(l),className:`w-full px-4 py-2 text-sm flex items-center gap-2 hover:bg-slate-700 transition-colors ${e===l?"text-blue-400 bg-slate-700/50":"text-slate-300"}`,children:[d.jsx("span",{children:Rr[l]}),d.jsx("span",{children:Us[l]})]},l))})]}):t==="compact"?d.jsxs("div",{className:"relative",ref:o,children:[d.jsxs("button",{onClick:()=>i(!s),className:"flex items-center gap-1.5 px-2 py-1.5 rounded-md hover:bg-accent transition-colors text-sm",children:[d.jsx("span",{children:Rr[e]}),d.jsx(jo,{className:`h-3.5 w-3.5 transition-transform ${s?"rotate-180":""}`})]}),s&&d.jsx("div",{className:`absolute top-full mt-1 ${r?"left-0":"right-0"} w-36 bg-popover rounded-lg shadow-xl border py-1 z-50`,children:yr.map(l=>d.jsxs("button",{onClick:()=>a(l),className:`w-full px-3 py-2 text-sm flex items-center gap-2 hover:bg-accent transition-colors ${e===l?"text-primary bg-accent/50":"text-muted-foreground"}`,children:[d.jsx("span",{children:Rr[l]}),d.jsx("span",{children:Us[l]})]},l))})]}):d.jsxs("div",{className:"relative",ref:o,children:[d.jsxs("button",{onClick:()=>i(!s),className:"flex items-center gap-2 px-3 py-2 rounded-lg border bg-background hover:bg-accent transition-colors text-sm",children:[d.jsx(Dp,{className:"h-4 w-4 text-muted-foreground"}),d.jsxs("span",{children:[Rr[e]," ",Us[e]]}),d.jsx(jo,{className:`h-4 w-4 text-muted-foreground transition-transform ${s?"rotate-180":""}`})]}),s&&d.jsx("div",{className:`absolute top-full mt-2 ${r?"left-0":"right-0"} w-44 bg-popover rounded-lg shadow-xl border py-1 z-50`,children:yr.map(l=>d.jsxs("button",{onClick:()=>a(l),className:`w-full px-4 py-2.5 text-sm flex items-center gap-3 hover:bg-accent transition-colors ${e===l?"text-primary bg-accent/50":"text-foreground"}`,children:[d.jsx("span",{className:"text-base",children:Rr[l]}),d.jsx("span",{children:Us[l]})]},l))})]})}function rT(){const[t,e]=x.useState(!1),{theme:n,setTheme:r}=Yg(),{lang:s="en"}=Fi(),{t:i}=qi("common"),o=[{name:i("nav.features"),href:`/${s}/features`},{name:i("nav.pricing"),href:`/${s}/pricing`},{name:i("nav.blog"),href:`/${s}/blog`},{name:i("nav.about"),href:`/${s}/about`},{name:i("nav.contact"),href:`/${s}/contact`}],a=l=>{if(typeof window>"u")return!1;const c=window.location.pathname;return l===`/${s}`?c===`/${s}`||c===`/${s}/`:c.startsWith(l)};return d.jsx("header",{className:"sticky top-0 z-50 w-full border-b bg-background/80 backdrop-blur-lg supports-[backdrop-filter]:bg-background/60",children:d.jsxs("nav",{className:"container mx-auto px-4 py-4",children:[d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsxs(je,{to:`/${s}`,className:"flex items-center gap-2 group",children:[d.jsx("img",{src:"/logo.png",alt:"Cheap MDM",className:"h-8 w-8"}),d.jsx("span",{className:"text-xl font-bold bg-gradient-to-r from-blue-600 to-blue-400 bg-clip-text text-transparent",children:"Cheap MDM"})]}),d.jsx("div",{className:"hidden md:flex items-center gap-8",children:o.map(l=>d.jsx(je,{to:l.href,className:`text-sm font-medium transition-colors hover:text-primary ${a(l.href)?"text-primary":"text-muted-foreground"}`,children:l.name},l.name))}),d.jsxs("div",{className:"hidden md:flex items-center gap-3",children:[d.jsx(ha,{variant:"compact"}),d.jsx(ce,{variant:"ghost",size:"icon",onClick:()=>r(n==="light"?"dark":"light"),className:"rounded-full",children:n==="light"?d.jsx(Gc,{
314className:"h-5 w-5"}):d.jsx(Wc,{className:"h-5 w-5"})}),d.jsx(je,{to:`/${s}/admin/login`,children:d.jsx(ce,{variant:"ghost",className:"font-medium",children:i("nav.login")})}),d.jsx(je,{to:`/${s}/admin/signup`,children:d.jsx(ce,{className:"bg-gradient-to-r from-blue-600 to-blue-500 hover:from-blue-700 hover:to-blue-600 text-white font-medium",children:i("nav.startFreeTrial")})})]}),d.jsxs("div",{className:"flex md:hidden items-center gap-2",children:[d.jsx(ha,{variant:"compact"}),d.jsx(ce,{variant:"ghost",size:"icon",onClick:()=>r(n==="light"?"dark":"light"),className:"rounded-full",children:n==="light"?d.jsx(Gc,{className:"h-5 w-5"}):d.jsx(Wc,{className:"h-5 w-5"})}),d.jsx(ce,{variant:"ghost",size:"icon",onClick:()=>e(!t),children:t?d.jsx(pa,{className:"h-6 w-6"}):d.jsx(GE,{className:"h-6 w-6"})})]})]}),t&&d.jsxs("div",{className:"md:hidden mt-4 pb-4 space-y-4",children:[o.map(l=>d.jsx(je,{to:l.href,onClick:()=>e(!1),className:`block text-base font-medium transition-colors hover:text-primary ${a(l.href)?"text-primary":"text-muted-foreground"}`,children:l.name},l.name)),d.jsxs("div",{className:"pt-4 flex flex-col gap-2 border-t",children:[d.jsx(je,{to:`/${s}/admin/login`,onClick:()=>e(!1),children:d.jsx(ce,{variant:"outline",className:"w-full font-medium",children:i("nav.login")})}),d.jsx(je,{to:`/${s}/admin/signup`,onClick:()=>e(!1),children:d.jsx(ce,{className:"w-full bg-gradient-to-r from-blue-600 to-blue-500 hover:from-blue-700 hover:to-blue-600 text-white font-medium",children:i("nav.startFreeTrial")})})]})]})]})})}const ai=x.forwardRef(({className:t,type:e,...n},r)=>d.jsx("input",{type:e,className:mn("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
314ing-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...n}));ai.displayName="Input";const sT="";function iT(){const[t,e]=x.useState(""),[n,r]=x.useState(!1),[s,i]=x.useState(!1),{lang:o="en"}=Fi(),{t:a}=qi("common"),l={product:[{name:a("nav.features"),href:`/${o}/features`},{name:a("nav.pricing"),href:`/${o}/pricing`},{name:a("footer.documentation"),href:`/${o}/blog`},{name:a("footer.api"),href:`/${o}/features#api`}],company:[{name:a("nav.about"),href:`/${o}/about`},{name:a("nav.blog"),href:`/${o}/blog`},{name:a("nav.contact"),href:`/${o}/contact`},{name:a("footer.careers"),href:`/${o}/about#careers`}],resources:[{name:a("footer.gettingStarted"),href:`/${o}/blog?category=Getting+Started`},{name:a("footer.security"),href:`/${o}/blog?category=Security`},{name:a("footer.bestPractices"),href:`/${o}/blog?category=Tips`},{name:a("footer.support"),href:`/${o}/contact`}],legal:[{name:a("footer.termsConditions"),href:`/${o}/terms`},{name:a("footer.cookiePolicy"),href:`/${o}/cookies`},{name:a("footer.privacyPolicy"),href:`/${o}/terms#privacy`}]},c=async f=>{if(f.preventDefault(),!!t){r(!0);try{const p=await(await fetch(`${sT}/api/newsletter/subscribe`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t,source:"footer"})})).json();p.success?(i(!0),e(""),kl.success(a("footer.subscribeSuccess"))):kl.error(p.message||a("footer.subscribeError"))}catch(u){console.error("Newsletter subscription error:",u),kl.error(a("footer.subscribeError"))}finally{r(!1)}}};return d.jsxs("footer",{className:"bg-slate-900 dark:bg-slate-950 text-slate-300",children:[d.jsx("div",{className:"border-b border-slate-800",children:d.jsx("div",{className:"container mx-auto px-4 py-12",children:d.jsxs("div",{className:"max-w-2xl mx-auto text-center",children:[d.jsx("h3",{className:"text-2xl font-bold text-white mb-2",children:a("footer.stayUpToDate")}),d.jsx("p",{className:"text-slate-400 mb-6",children:a("footer.newsletterDesc")}),d.jsxs("form",{onSubmit:c,className:"flex gap-3 max-w-md mx-auto",children:[d.jsx(ai,{type:"email",placeholder:a("footer.enterEmail"),value:t,onChange:f=>e(f.target.value),className:"bg-slate-800 border-slate-700 text-white placeholder:text-slate-500 focus:border-blue-500",disabled:s}),d.jsx(ce,{type:"submit",disabled:n||s,className:"bg-blue-600 hover:bg-blue-700 text-white shrink-0",children:n?d.jsx(id,{className:"h-4 w-4 animate-spin"}):s?d.jsx(py,{className:"h-4 w-4"}):a("footer.subscribe")})]})]})})}),d.jsxs("div",{className:"container mx-auto px-4 py-12",children:[d.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-6 gap-8",children:[d.jsxs("div",{className:"col-span-2",children:[d.jsxs(je,{to:`/${o}`,className:"flex items-center gap-2 mb-4",children:[d.jsx("img",{src:"/logo.png",alt:"Cheap MDM",className:"h-8 w-8"}),d.jsx("span",{className:"text-xl font-bold text-white",children:"Cheap MDM"})]}),d.jsx("p",{className:"text-slate-400 text-sm mb-4 max-w-xs",children:a("footer.brandDescription")}),d.jsxs("div",{className:"flex gap-4 mb-4",children:[d.jsx("a",{href:"https://twitter.com",target:"_blank",rel:"noopener noreferrer",className:"text-slate-400 hover:text-white transition-colors",children:d.jsx(eT,{className:"h-5 w-5"})}),d.jsx("a",{href:"https://linkedin.com",target:"_blank",rel:"noopener noreferrer",className:"text-slate-400 hover:text-white transition-colors",children:d.jsx(VE,{className:"h-5 w-5"})}),d.jsx("a",{href:"https://github.com",target:"_blank",rel:"noopener noreferrer",className:"text-slate-400 hover:text-white transition-colors",children:d.jsx(UE,{className:"h-5 w-5"})})]}),d.jsx(ha,{variant:"footer"})]}),d.jsxs("div",{children:[d.jsx("h4",{className:"text-sm font-semibold text-white mb-4",children:a("footer.product")}),d.jsx("ul",{className:"space-y-3",children:l.product.map(f=>d.jsx("li",{children:d.jsx(je,{to:f.href,className:"text-sm text-slate-400 hover:text-white transition-colors",children:f.name})},f.name))})]}),d.jsxs("div",{children:[d.jsx("h4",{className:"text-sm font-semibold text-white mb-4",children:a("footer.company")}),d.jsx("ul",{className:"space-y-3",children:l.company.map(f=>d.jsx("li",{children:d.jsx(je,{to:f.href,className:"text-sm text-slate-400 hover:text-white transition-colors",children:f.name})},f.name))})]}),d.jsxs("div",{children:[d.jsx("h4",{className:"text-sm font-semibold text-white mb-4",children:a("footer.resources")}),d.jsx("ul",{className:"space-y-3",children:l.resources.map(f=>d.jsx("li",{children:d.jsx(je,{to:f.href,className:"text-sm text-slate-400 hover:text-white transition-colors",children:f.name})},f.name))})]}),d.jsxs("div",{children:[d.jsx("h4",{className:"text-sm font-semibold text-white mb-4",children:a("footer.legal")}),d.jsx("ul",{className:"space-y-3",children:l.legal.map(f=>d.jsx("li",{children:d.jsx(je,{to:f.href,className:"text-sm text-slate-400 hover:text-white transition-colors",children:f.name})},f.name))})]})]}),d.jsxs("div",{className:"border-t border-slate-800 mt-12 pt-8 flex flex-col md:flex-row items-center justify-between gap-4",children:[d.jsx("p",{className:"text-sm text-slate-500",children:a("footer.copyright",{year:new Date().getFullYear()})}),d.jsx("p",{className:"text-sm text-slate-500",children:a("footer.tagline")})]})]})]})}function oT(){const{pathname:t,hash:e,search:n}=Zt();return x.useEffect(()=>{if(e){const r=document.getElementById(e.slice(1));r&&setTimeout(()=>{r.scrollIntoView({behavior:"smooth",block:"start"})},100)}else window.scrollTo({top:0,behavior:"instant"})},[t,e,n]),null}const Yt=Object.create(null);Yt.open="0";Yt.close="1";Yt.ping="2";Yt.pong="3";Yt.message="4";Yt.upgrade="5";Yt.noop="6";
vendor: 26,949 bytes, line 314
314const Lo=Object.create(null);Object.keys(Yt).forEach(t=>{Lo[Yt[t]]=t});const Qc={type:"error",data:"parser error"},yy=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",vy=typeof ArrayBuffer=="function",wy=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,od=({type:t,data:e},n,r)=>yy&&e instanceof Blob?n?r(e):Rp(e,r):vy&&(e instanceof ArrayBuffer||wy(e))?n?r(e):Rp(new Blob([e]),r):r(Yt[t]+(e||"")),Rp=(t,e)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];e("b"+(r||""))},n.readAsDataURL(t)};function Mp(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let _l;function aT(t,e){if(yy&&t.data instanceof Blob)return t.data.arrayBuffer().then(Mp).then(e);if(vy&&(t.data instanceof ArrayBuffer||wy(t.data)))return e(Mp(t.data));od(t,!1,n=>{_l||(_l=new TextEncoder),e(_l.encode(n))})}const Ip="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ks=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t<Ip.length;t++)Ks[Ip.charCodeAt(t)]=t;const lT=t=>{let e=t.length*.75,n=t.length,r,s=0,i,o,a,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const c=new ArrayBuffer(e),f=new Uint8Array(c);for(r=0;r<n;r+=4)i=Ks[t.charCodeAt(r)],o=Ks[t.charCodeAt(r+1)],a=Ks[t.charCodeAt(r+2)],l=Ks[t.charCodeAt(r+3)],f[s++]=i<<2|o>>4,f[s++]=(o&15)<<4|a>>2,f[s++]=(a&3)<<6|l&63;return c},cT=typeof ArrayBuffer=="function",ad=(t,e)=>{if(typeof t!="string")return{type:"message",data:xy(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:uT(t.substring(1),e)}:Lo[n]?t.length>1?{type:Lo[n],data:t.substring(1)}:{type:Lo[n]}:Qc},uT=(t,e)=>{if(cT){const n=lT(t);return xy(n,e)}else return{base64:!0,data:t}},xy=(t,e)=>{switch(e){case"blob":return t instanceof Blob?t:new Blob([t]);case"arraybuffer":default:return t instanceof ArrayBuffer?t:t.buffer}},by="�",dT=(t,e)=>{const n=t.length,r=new Array(n);let s=0;t.forEach((i,o)=>{od(i,!1,a=>{r[o]=a,++s===n&&e(r.join(by))})})},fT=(t,e)=>{const n=t.split(by),r=[];for(let s=0;s<n.length;s++){const i=ad(n[s],e);if(r.push(i),i.type==="error")break}return r};function pT(){return new TransformStream({transform(t,e){aT(t,n=>{const r=n.length;let s;if(r<126)s=new Uint8Array(1),new DataView(s.buffer).setUint8(0,r);else if(r<65536){s=new Uint8Array(3);const i=new DataView(s.buffer);i.setUint8(0,126),i.setUint16(1,r)}else{s=new Uint8Array(9);const i=new DataView(s.buffer);i.setUint8(0,127),i.setBigUint64(1,BigInt(r))}t.data&&typeof t.data!="string"&&(s[0]|=128),e.enqueue(s),e.enqueue(n)})}})}let Dl;function go(t){return t.reduce((e,n)=>e+n.length,0)}function yo(t,e){if(t[0].length===e)return t.shift();const n=new Uint8Array(e);let r=0;for(let s=0;s<e;s++)n[s]=t[0][r++],r===t[0].length&&(t.shift(),r=0);return t.length&&r<t[0].length&&(t[0]=t[0].slice(r)),n}function hT(t,e){Dl||(Dl=new TextDecoder);const n=[];let r=0,s=-1,i=!1;return new TransformStream({transform(o,a){for(n.push(o);;){if(r===0){if(go(n)<1)break;const l=yo(n,1);i=(l[0]&128)===128,s=l[0]&127,s<126?r=3:s===126?r=1:r=2}else if(r===1){if(go(n)<2)break;const l=yo(n,2);s=new DataView(l.buffer,l.byteOffset,l.length).getUint16(0),r=3}else if(r===2){if(go(n)<8)break;const l=yo(n,8),c=new DataView(l.buffer,l.byteOffset,l.length),f=c.getUint32(0);if(f>Math.pow(2,21)-1){a.enqueue(Qc);break}s=f*Math.pow(2,32)+c.getUint32(4),r=3}else{if(go(n)<s)break;const l=yo(n,s);a.enqueue(ad(i?l:Dl.decode(l),e)),r=0}if(s===0||s>t){a.enqueue(Qc);break}}}})}const Sy=4;function Ee(t){if(t)return mT(t)}function mT(t){for(var e in Ee.prototype)t[e]=Ee.prototype[e];return t}Ee.prototype.on=Ee.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this};Ee.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this};Ee.prototype.off=Ee.prototype.removeListener=Ee.prototype.removeAllListeners=Ee.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+t];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+t],this;for(var r,s=0;s<n.length;s++)if(r=n[s],r===e||r.fn===e){n.splice(s,1);break}return n.length===0&&delete this._callbacks["$"+t],this};Ee.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),n=this._callbacks["$"+t],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,s=n.length;r<s;++r)n[r].apply(this,e)}return this};Ee.prototype.emitReserved=Ee.prototype.emit;Ee.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]};Ee.prototype.hasListeners=function(t){return!!this.listeners(t).length};const za=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0),xt=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),gT="arraybuffer";function ky(t,...e){return e.reduce((n,r)=>(t.hasOwnProperty(r)&&(n[r]=t[r]),n),{})}const yT=xt.setTimeout,vT=xt.clearTimeout;function Fa(t,e){e.useNativeTimers?(t.setTimeoutFn=yT.bind(xt),t.clearTimeoutFn=vT.bind(xt)):(t.setTimeoutFn=xt.setTimeout.bind(xt),t.clearTimeoutFn=xt.clearTimeout.bind(xt))}const wT=1.33;function xT(t){return typeof t=="string"?bT(t):Math.ceil((t.byteLength||t.size)*wT)}function bT(t){let e=0,n=0;for(let r=0,s=t.length;r<s;r++)e=t.charCodeAt(r),e<128?n+=1:e<2048?n+=2:e<55296||e>=57344?n+=3:(r++,n+=4);return n}function Cy(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function ST(t){let e="";for(let n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e}function kT(t){let e={},n=t.split("&");for(let r=0,s=n.length;r<s;r++){let i=n[r].split("=");e[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return e}class CT extends Error{constructor(e,n,r){super(e),this.description=n,this.context=r,this.type="TransportError"}}class ld extends Ee{constructor(e){super(),this.writable=!1,Fa(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,n,r){return super.emitReserved("error",new CT(e,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const n=ad(e,this.socket.binaryType);this.onPacket(n)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,n={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const n=ST(e);return n.length?"?"+n:""}}class PT extends ld{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const n=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let r=0;this._polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};fT(e,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,dT(e,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=Cy()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(e,n)}}let Py=!1;try{Py=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const ET=Py;function TT(){}class AT extends PT{constructor(e){if(super(e),typeof location<"u"){const n=location.protocol==="https:";let r=location.port;r||(r=n?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||r!==e.port}}doWrite(e,n){const r=this.request({method:"POST",data:e});r.on("success",n),r.on("error",(s,i)=>{this.onError("xhr post error",s,i)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=e}}class Jt extends Ee{constructor(e,n,r){super(),this.createRequest=e,Fa(this,r),this._opts=r,this._method=r.method||"GET",this._uri=n,this._data=r.data!==void 0?r.data:null,this._create()}_create(){var e;const n=ky(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const r=this._xhr=this.createRequest(n);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let s in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(s)&&r.setRequestHeader(s,this._opts.extraHeaders[s])}}catch{}if(this._method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(e=this._opts.cookieJar)===null||e===void 0||e.addCookies(r),"withCredentials"in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var s;r.readyState===3&&((s=this._opts.cookieJar)===null||s===void 0||s.parseCookies(r.getResponseHeader("set-cookie"))),r.readyState===4&&(r.status===200||r.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof r.status=="number"?r.status:0)},0))},r.send(this._data)}catch(s){this.setTimeoutFn(()=>{this._onError(s)},0);return}typeof document<"u"&&(this._index=Jt.requestsCount++,Jt.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=TT,e)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Jt.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Jt.requestsCount=0;Jt.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",$p);else if(typeof addEventListener=="function"){const t="onpagehide"in xt?"pagehide":"unload";addEventListener(t,$p,!1)}}function $p(){for(let t in Jt.requests)Jt.requests.hasOwnProperty(t)&&Jt.requests[t].abort()}const NT=function(){const t=Ey({xdomain:!1});return t&&t.responseType!==null}();class _T extends AT{constructor(e){super(e);const n=e&&e.forceBase64;this.supportsBinary=NT&&!n}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new Jt(Ey,this.uri(),e)}}function Ey(t){const e=t.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||ET))return new XMLHttpRequest}catch{}if(!e)try{return new xt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Ty=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class DT extends ld{get name(){return"websocket"}doOpen(){const e=this.uri(),n=this.opts.protocols,r=Ty?{}:ky(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,n,r)}catch(s){return this.emitReserved("error",s)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n<e.length;n++){const r=e[n],s=n===e.length-1;od(r,this.supportsBinary,i=>{try{this.doWrite(r,i)}catch{}s&&za(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=Cy()),this.supportsBinary||(n.b64=1),this.createUri(e,n)}}const jl=xt.WebSocket||xt.MozWebSocket;class jT extends DT{createSocket(e,n,r){return Ty?new jl(e,n,r):n?new jl(e,n):new jl(e)}doWrite(e,n){this.ws.send(n)}}class OT extends ld{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const n=hT(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=e.readable.pipeThrough(n).getReader(),s=pT();s.readable.pipeTo(e.writable),this._writer=s.writable.getWriter();const i=()=>{r.read().then(({done:a,value:l})=>{a||(this.onPacket(l),i())}).catch(a=>{})};i();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this._writer.write(o).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let n=0;n<e.length;n++){const r=e[n],s=n===e.length-1;this._writer.write(r).then(()=>{s&&za(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}}const LT={websocket:jT,webtransport:OT,polling:_T},RT=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,MT=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Kc(t){if(t.length>8e3)throw"URI too long";const e=t,n=t.indexOf("["),r=t.indexOf("]");n!=-1&&r!=-1&&(t=t.substring(0,n)+t.substring(n,r).replace(/:/g,";")+t.substring(r,t.length));let s=RT.exec(t||""),i={},o=14;for(;o--;)i[MT[o]]=s[o]||"";return n!=-1&&r!=-1&&(i.source=e,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=IT(i,i.path),i.queryKey=$T(i,i.query),i}function IT(t,e){const n=/\/{2,9}/g,r=e.replace(n,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&r.splice(0,1),e.slice(-1)=="/"&&r.splice(r.length-1,1),r}function $T(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,s,i){s&&(n[s]=i)}),n}const Jc=typeof addEventListener=="function"&&typeof removeEventListener=="function",Ro=[];Jc&&addEventListener("offline",()=>{Ro.forEach(t=>t())},!1);class Gn extends Ee{constructor(e,n){if(super(),this.binaryType=gT,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e=="object"&&(n=e,e=null),e){const r=Kc(e);n.hostname=r.host,n.secure=r.protocol==="https"||r.protocol==="wss",n.port=r.port,r.query&&(n.query=r.query)}else n.host&&(n.hostname=Kc(n.host).host);Fa(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(r=>{const s=r.prototype.name;this.transports.push(s),this._transportsByName[s]=r}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=kT(this.opts.query)),Jc&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Ro.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const n=Object.assign({},this.opts.query);n.EIO=Sy,n.transport=e,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](r)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const e=this.opts.rememberUpgrade&&Gn.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(e);n.open(),this.setTransport(n)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",Gn.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=e.data,this._onError(n);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const s=this.writeBuffer[r].data;if(s&&(n+=xT(s)),r>0&&n>this._maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,za(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,n,r){return this._sendPacket("message",e,n,r),this}send(e,n,r){return this._sendPacket("message",e,n,r),this}_sendPacket(e,n,r,s){if(typeof n=="function"&&(s=n,n=void 0),typeof r=="function"&&(s=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const i={type:e,data:n,options:r};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),s&&this.once("flush",s),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():e()}):this.upgrading?r():e()),this}_onError(e){if(Gn.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Jc&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const r=Ro.indexOf(this._offlineEventListener);r!==-1&&Ro.splice(r,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this._prevBufferLen=0}}}Gn.protocol=Sy;class zT extends Gn{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let n=this.createTransport(e),r=!1;Gn.priorWebsocketSuccess=!1;const s=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",u=>{if(!r)if(u.type==="pong"&&u.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Gn.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(f(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const p=new Error("probe error");p.transport=n.name,this.emitReserved("upgradeError",p)}}))};function i(){r||(r=!0,f(),n.close(),n=null)}const o=u=>{const p=new Error("probe error: "+u);p.transport=n.name,i(),this.emitReserved("upgradeError",p)};function a(){o("transport closed")}function l(){o("socket closed")}function c(u){n&&u.name!==n.name&&i()}const f=()=>{n.removeListener("open",s),n.removeListener("error",o),n.removeListener("close",a),this.off("close",l),this.off("upgrading",c)};n.once("open",s),n.once("error",o),n.once("close",a),this.once("close",l),this.once("upgrading",c),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const n=[];for(let r=0;r<e.length;r++)~this.transports.indexOf(e[r])&&n.push(e[r]);return n}}let FT=class extends zT{constructor(e,n={}){const r=typeof e=="object"?e:n;(!r.transports||r.transports&&typeof r.transports[0]=="string")&&(r.transports=(r.transports||["polling","websocket","webtransport"]).map(s=>LT[s]).filter(s=>!!s)),super(e,r)}};function qT(t,e="",n){let r=t;n=n||typeof location<"u"&&location,t==null&&(t=n.protocol+"//"+n.host),typeof t=="string"&&(t.charAt(0)==="/"&&(t.charAt(1)==="/"?t=n.protocol+t:t=n.host+t),/^(https?|wss?):\/\//.test(t)||(typeof n<"u"?t=n.protocol+"//"+t:t="https://"+t),r=Kc(t)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const i=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+i+":"+r.port+e,r.href=r.protocol+"://"+i+(n&&n.port===r.port?"":":"+r.port),r}const UT=typeof ArrayBuffer=="function",BT=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,Ay=Object.prototype.toString,VT=typeof Blob=="function"||typeof Blob<"u"&&Ay.call(Blob)==="[object BlobConstructor]",HT=typeof File=="function"||typeof File<"u"&&Ay.call(File)==="[object FileConstructor]";function cd(t){return UT&&(t instanceof ArrayBuffer||BT(t))||VT&&t instanceof Blob||HT&&t instanceof File}function Mo(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,r=t.length;n<r;n++)if(Mo(t[n]))return!0;return!1}if(cd(t))return!0;if(t.toJSON&&typeof t.toJSON=="function"&&arguments.length===1)return Mo(t.toJSON(),!0);for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&Mo(t[n]))return!0;return!1}function GT(t){const e=[],n=t.data,r=t;return r.data=Yc(n,e),r.attachments=e.length,{packet:r,buffers:e}}function Yc(t,e){if(!t)return t;if(cd(t)){const n={_placeholder:!0,num:e.length};return e.push(t),n}else if(Array.isArray(t)){const n=new Array(t.length);for(let r=0;r<t.length;r++)n[r]=Yc(t[r],e);return n}else if(typeof t=="object"&&!(t instanceof Date)){const n={};for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=Yc(t[r],e));return n}return t}function WT(t,e){return t.data=Xc(t.data,e),delete t.attachments,t}function Xc(t,e){if(!t)return t;if(t&&t._placeholder===!0){if(typeof t.num=="number"&&t.num>=0&&t.num<e.length)return e[t.num];throw new Error("illegal attachments")}else if(Array.isArray(t))for(let n=0;n<t.length;n++)t[n]=Xc(t[n],e);else if(typeof t=="object")for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(t[n]=Xc(t[n],e));return t}const Ny=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],QT=5;var ee;(function(t){t[t.CONNECT=0]="CONNECT",t[t.DISCONNECT=1]="DISCONNECT",t[t.EVENT=2]="EVENT",t[t.ACK=3]="ACK",t[t.CONNECT_ERROR=4]="CONNECT_ERROR",t[t.BINARY_EVENT=5]="BINARY_EVENT",t[t.BINARY_ACK=6]="BINARY_ACK"})(ee||(ee={}));class KT{constructor(e){this.replacer=e}encode(e){return(e.type===ee.EVENT||e.type===ee.ACK)&&Mo(e)?this.encodeAsBinary({type:e.type===ee.EVENT?ee.BINARY_EVENT:ee.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let n=""+e.type;return(e.type===ee.BINARY_EVENT||e.type===ee.BINARY_ACK)&&(n+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(n+=e.nsp+","),e.id!=null&&(n+=e.id),e.data!=null&&(n+=JSON.stringify(e.data,this.replacer)),n}encodeAsBinary(e){const n=GT(e),r=this.encodeAsString(n.packet),s=n.buffers;return s.unshift(r),s}}
vendor: 6,415 bytes, line 314
314class ud extends Ee{constructor(e){super(),this.reviver=e}add(e){let n;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(e);const r=n.type===ee.BINARY_EVENT;r||n.type===ee.BINARY_ACK?(n.type=r?ee.EVENT:ee.ACK,this.reconstructor=new JT(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(cd(e)||e.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(e),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let n=0;const r={type:Number(e.charAt(0))};if(ee[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===ee.BINARY_EVENT||r.type===ee.BINARY_ACK){const i=n+1;for(;e.charAt(++n)!=="-"&&n!=e.length;);const o=e.substring(i,n);if(o!=Number(o)||e.charAt(n)!=="-")throw new Error("Illegal attachments");r.attachments=Number(o)}if(e.charAt(n+1)==="/"){const i=n+1;for(;++n&&!(e.charAt(n)===","||n===e.length););r.nsp=e.substring(i,n)}else r.nsp="/";const s=e.charAt(n+1);if(s!==""&&Number(s)==s){const i=n+1;for(;++n;){const o=e.charAt(n);if(o==null||Number(o)!=o){--n;break}if(n===e.length)break}r.id=Number(e.substring(i,n+1))}if(e.charAt(++n)){const i=this.tryParse(e.substr(n));if(ud.isPayloadValid(r.type,i))r.data=i;else throw new Error("invalid payload")}return r}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,n){switch(e){case ee.CONNECT:return ma(n);case ee.DISCONNECT:return n===void 0;case ee.CONNECT_ERROR:return typeof n=="string"||ma(n);case ee.EVENT:case ee.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&Ny.indexOf(n[0])===-1);case ee.ACK:case ee.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class JT{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const n=WT(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function YT(t){return typeof t=="string"}const XT=Number.isInteger||function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t};function ZT(t){return t===void 0||XT(t)}function ma(t){return Object.prototype.toString.call(t)==="[object Object]"}function eA(t,e){switch(t){case ee.CONNECT:return e===void 0||ma(e);case ee.DISCONNECT:return e===void 0;case ee.EVENT:return Array.isArray(e)&&(typeof e[0]=="number"||typeof e[0]=="string"&&Ny.indexOf(e[0])===-1);case ee.ACK:return Array.isArray(e);case ee.CONNECT_ERROR:return typeof e=="string"||ma(e);default:return!1}}function tA(t){return YT(t.nsp)&&ZT(t.id)&&eA(t.type,t.data)}const nA=Object.freeze(Object.defineProperty({__proto__:null,Decoder:ud,Encoder:KT,get PacketType(){return ee},isPacketValid:tA,protocol:QT},Symbol.toStringTag,{value:"Module"}));function Ot(t,e,n){return t.on(e,n),function(){t.off(e,n)}}const rA=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class _y extends Ee{constructor(e,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[Ot(e,"open",this.onopen.bind(this)),Ot(e,"packet",this.onpacket.bind(this)),Ot(e,"error",this.onerror.bind(this)),Ot(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...n){var r,s,i;if(rA.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(n.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const o={type:ee.EVENT,data:n};if(o.options={},o.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const f=this.ids++,u=n.pop();this._registerAckCallback(f,u),o.id=f}const a=(s=(r=this.io.engine)===null||r===void 0?void 0:r.transport)===null||s===void 0?void 0:s.writable,l=this.connected&&!(!((i=this.io.engine)===null||i===void 0)&&i._hasPingExpired());return this.flags.volatile&&!a||(l?(this.notifyOutgoingListeners(o),this.packet(o)):this.sendBuffer.push(o)),this.flags={},this}_registerAckCallback(e,n){var r;const s=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(s===void 0){this.acks[e]=n;return}const i=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let a=0;a<this.sendBuffer.length;a++)this.sendBuffer[a].id===e&&this.sendBuffer.splice(a,1);n.call(this,new Error("operation has timed out"))},s),o=(...a)=>{this.io.clearTimeoutFn(i),n.apply(this,a)};o.withError=!0,this.acks[e]=o}emitWithAck(e,...n){return new Promise((r,s)=>{const i=(o,a)=>o?s(o):r(a);i.withError=!0,n.push(i),this.emit(e,...n)})}_addToQueue(e){let n;typeof e[e.length-1]=="function"&&(n=e.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((s,...i)=>(this._queue[0],s!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(s)):(this._queue.shift(),n&&n(null,...i)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!e||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:ee.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,n),this._clearAcks()}
vendor: 8,748 bytes, line 314
314_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(r=>String(r.id)===e)){const r=this.acks[e];delete this.acks[e],r.withError&&r.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case ee.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case ee.EVENT:case ee.BINARY_EVENT:this.onevent(e);break;case ee.ACK:case ee.BINARY_ACK:this.onack(e);break;case ee.DISCONNECT:this.ondisconnect();break;case ee.CONNECT_ERROR:this.destroy();const r=new Error(e.data.message);r.data=e.data.data,this.emitReserved("connect_error",r);break}}onevent(e){const n=e.data||[];e.id!=null&&n.push(this.ack(e.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const n=this;let r=!1;return function(...s){r||(r=!0,n.packet({type:ee.ACK,id:e,data:s}))}}onack(e){const n=this.acks[e.id];typeof n=="function"&&(delete this.acks[e.id],n.withError&&e.data.unshift(null),n.apply(this,e.data))}onconnect(e,n){this.id=e,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:ee.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(e===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(e===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,e.data)}}}function Ts(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}Ts.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=Math.floor(e*10)&1?t+n:t-n}return Math.min(t,this.max)|0};Ts.prototype.reset=function(){this.attempts=0};Ts.prototype.setMin=function(t){this.ms=t};Ts.prototype.setMax=function(t){this.max=t};Ts.prototype.setJitter=function(t){this.jitter=t};class Zc extends Ee{constructor(e,n){var r;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(n=e,e=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,Fa(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new Ts({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=e;const s=n.parser||nA;this.encoder=new s.Encoder,this.decoder=new s.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var n;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(n=this.backoff)===null||n===void 0||n.setMin(e),this)}randomizationFactor(e){var n;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(n=this.backoff)===null||n===void 0||n.setJitter(e),this)}reconnectionDelayMax(e){var n;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(n=this.backoff)===null||n===void 0||n.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new FT(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const s=Ot(n,"open",function(){r.onopen(),e&&e()}),i=a=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",a),e?e(a):this.maybeReconnectOnOpen()},o=Ot(n,"error",i);if(this._timeout!==!1){const a=this._timeout,l=this.setTimeoutFn(()=>{s(),i(new Error("timeout")),n.close()},a);this.opts.autoUnref&&l.unref(),this.subs.push(()=>{this.clearTimeoutFn(l)})}return this.subs.push(s),this.subs.push(o),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(Ot(e,"ping",this.onping.bind(this)),Ot(e,"data",this.ondata.bind(this)),Ot(e,"error",this.onerror.bind(this)),Ot(e,"close",this.onclose.bind(this)),Ot(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){za(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,n){let r=this.nsps[e];return r?this._autoConnect&&!r.active&&r.connect():(r=new _y(this,e,n),this.nsps[e]=r),r}_destroy(e){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let r=0;r<n.length;r++)this.engine.write(n[r],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,n){var r;this.cleanup(),(r=this.engine)===null||r===void 0||r.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(s=>{s?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",s)):e.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const Bs={};function rs(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=qT(t,e.path||"/socket.io"),r=n.source,s=n.id,i=n.path,o=Bs[s]&&i in Bs[s].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||o;let l;return a?l=new Zc(r,e):(Bs[s]||(Bs[s]=new Zc(r,e)),l=Bs[s]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(rs,{Manager:Zc,Socket:_y,io:rs,connect:rs});const ga=x.forwardRef(({className:t,...e},n)=>d.jsx("div",{ref:n,className:mn("rounded-lg border bg-card text-card-foreground shadow-sm",t),...e}));
314ga.displayName="Card";const sA=x.forwardRef(({className:t,...e},n)=>d.jsx("div",{ref:n,className:mn("flex flex-col space-y-1.5 p-6",t),...e}));sA.displayName="CardHeader";const iA=x.forwardRef(({className:t,...e},n)=>d.jsx("h3",{ref:n,className:mn("text-2xl font-semibold leading-none tracking-tight",t),...e}));iA.displayName="CardTitle";const oA=x.forwardRef(({className:t,...e},n)=>d.jsx("p",{ref:n,className:mn("text-sm text-muted-foreground",t),...e}));oA.displayName="CardDescription";const Dy=x.forwardRef(({className:t,...e},n)=>d.jsx("div",{ref:n,className:mn("p-6 pt-0",t),...e}));Dy.displayName="CardContent";const aA=x.forwardRef(({className:t,...e},n)=>d.jsx("div",{ref:n,className:mn("flex items-center p-6 pt-0",t),...e}));aA.displayName="CardFooter";const lA=sy("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground",success:"border-transparent bg-green-500 text-white",warning:"border-transparent bg-yellow-500 text-white"}},defaultVariants:{variant:"default"}});function Io({className:t,variant:e,...n}){return d.jsx("div",{className:mn(lA({variant:e}),t),...n})}const cA="",uA=()=>{try{const t=new(window.AudioContext||window.webkitAudioContext),e=t.createOscillator(),n=t.createGain();e.connect(n),n.connect(t.destination),e.frequency.value=600,e.type="sine",n.gain.setValueAtTime(.2,t.currentTime),n.gain.exponentialRampToValueAtTime(.01,t.currentTime+.2),e.start(t.currentTime),e.stop(t.currentTime+.2)}catch{console.log("Could not play notification sound")}};function dA(){const[t,e]=x.useState(!1),[n,r]=x.useState(!1),[s,i]=x.useState(null),[o,a]=x.useState(!1),[l,c]=x.useState(!1),[f,u]=x.useState(!1),[p,y]=x.useState([]),[v,w]=x.useState(""),[S,m]=x.useState(!1),[h,g]=x.useState(!1),[b,C]=x.useState(null),[P,E]=x.useState({name:"",email:""}),[j,U]=x.useState(!0),[A,W]=x.useState(0),[R,O]=x.useState({name:"",email:""}),F=x.useRef(null),se=x.useRef(null),M=x.useRef(null),K=()=>{let D=localStorage.getItem("chat_visitor_id");return D||(D="visitor_"+Math.random().toString(36).substring(2,15),localStorage.setItem("chat_visitor_id",D)),D};x.useEffect(()=>{if(!t)return;const D=rs(`${cA}/live-chat`,{transports:["websocket","polling"]});return D.on("connect",()=>{console.log("Live chat connected"),a(!0),D.emit("visitor:connect",{visitorId:K()})}),D.on("disconnect",()=>{console.log("Live chat disconnected"),a(!1)}),D.on("chat:office_status",J=>{C(J)}),D.on("chat:history",J=>{y(J.messages),c(!0),U(!1)}),D.on("chat:started",J=>{c(!0),U(!1)}),D.on("chat:message",J=>{y(Le=>[...Le,J]),J.senderType==="admin"&&(uA(),n&&W(Le=>Le+1))}),D.on("chat:typing",J=>{J.senderType==="admin"&&g(J.isTyping)}),D.on("chat:ended",()=>{u(!0),c(!1)}),D.on("error",J=>{console.error("Chat error:",J.message)}),i(D),()=>{D.disconnect()}},[t]),x.useEffect(()=>{var D;(D=F.current)==null||D.scrollIntoView({behavior:"smooth"})},[p]),x.useEffect(()=>{t&&!n&&W(0)},[t,n]);const _=D=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(D),z=()=>{if(!s||!o)return;const D={name:"",email:""};let J=!1;P.name.trim()||(D.name="Name is required",J=!0),P.email.trim()?_(P.email)||(D.email="Please enter a valid email",J=!0):(D.email="Email is required",J=!0),O(D),!J&&s.emit("visitor:start",{visitorId:K(),name:P.name.trim(),email:P.email.trim()})},q=()=>{!s||!v.trim()||!l||(s.emit("visitor:message",{content:v.trim()}),w(""),M.current&&clearTimeout(M.current),s.emit("chat:typing",{sessionId:"",isTyping:!1}))},I=()=>{s&&(s.emit("visitor:end"),u(!0),c(!1))},ie=D=>{w(D.target.value),s&&l&&(s.emit("chat:typing",{sessionId:"",isTyping:!0}),M.current&&clearTimeout(M.current),M.current=setTimeout(()=>{s.emit("chat:typing",{sessionId:"",isTyping:!1})},2e3))},B=D=>
314{D.key==="Enter"&&!D.shiftKey&&(D.preventDefault(),q())},ne=D=>new Date(D).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});return t?n?d.jsx("div",{className:"fixed bottom-6 right-6 z-50",children:d.jsx(ga,{className:"w-72 cursor-pointer hover:shadow-lg transition-shadow",onClick:()=>r(!1),children:d.jsxs("div",{className:"p-3 flex items-center justify-between bg-primary text-primary-foreground rounded-t-lg",children:[d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx(Oo,{className:"h-5 w-5"}),d.jsx("span",{className:"font-medium",children:"Live Chat"})]}),d.jsxs("div",{className:"flex items-center gap-2",children:[A>0&&d.jsx(Io,{variant:"destructive",className:"text-xs",children:A}),d.jsx(ce,{variant:"ghost",size:"icon",className:"h-6 w-6 hover:bg-primary-foreground/20",onClick:D=>{D.stopPropagation(),e(!1),r(!1)},children:d.jsx(pa,{className:"h-4 w-4"})})]})]})})}):d.jsx("div",{className:"fixed bottom-6 right-6 z-50",children:d.jsxs(ga,{className:"w-80 sm:w-96 shadow-2xl flex flex-col",style:{height:"500px"},children:[d.jsxs("div",{className:"p-4 bg-primary text-primary-foreground rounded-t-lg flex items-center justify-between",children:[d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx(Oo,{className:"h-5 w-5"}),d.jsx("span",{className:"font-medium",children:"Live Chat"}),o&&d.jsx("span",{className:"h-2 w-2 bg-green-400 rounded-full"})]}),d.jsxs("div",{className:"flex items-center gap-1",children:[l&&d.jsx(ce,{variant:"ghost",size:"icon",className:"h-8 w-8 hover:bg-primary-foreground/20",onClick:I,title:"End Chat",children:d.jsx(hy,{className:"h-4 w-4"})}),d.jsx(ce,{variant:"ghost",size:"icon",className:"h-8 w-8 hover:bg-primary-foreground/20",onClick:()=>r(!0),children:d.jsx(WE,{className:"h-4 w-4"})}),d.jsx(ce,{variant:"ghost",size:"icon",className:"h-8 w-8 hover:bg-primary-foreground/20",onClick:()=>{e(!1),r(!1)},children:d.jsx(pa,{className:"h-4 w-4"})})]})]}),b&&!b.isOpen&&d.jsx("div",{className:"px-4 py-2 bg-yellow-50 dark:bg-yellow-900/20 border-b text-sm",children:d.jsxs("div",{className:"flex items-center gap-2 text-yellow-700 dark:text-yellow-300",children:[d.jsx(IE,{className:"h-4 w-4"}),d.jsx("span",{children:b.nextOpenTime?`We're offline. Back ${b.nextOpenTime}`:"We're currently offline"})]})}),d.jsx("div",{className:"flex-1 overflow-hidden flex flex-col",children:f?d.jsxs("div",{className:"p-4 space-y-4 flex-1 flex flex-col items-center justify-center text-center",children:[d.jsx("div",{className:"h-16 w-16 bg-green-100 dark:bg-green-900/30 rounded-full flex items-center justify-center mb-2",children:d.jsx(py,{className:"h-8 w-8 text-green-600 dark:text-green-400"})}),d.jsx("h3",{className:"font-semibold text-lg",children:"Chat Ended"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"Thank you for contacting us! We hope we were able to help."}),d.jsx(ce,{onClick:()=>{u(!1),y([]),U(!0)},className:"mt-4",children:"Start New Chat"})]}):!l&&j?d.jsxs("div",{className:"p-4 space-y-4",children:[d.jsxs("div",{className:"text-center mb-4",children:[d.jsx("h3",{className:"font-semibold text-lg",children:"Start a conversation"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:b!=null&&b.isOpen?"We typically reply within a few minutes":(b==null?void 0:b.message)||"Leave us a message"})]}),d.jsxs("div",{className:"space-y-3",children:[d.jsxs("div",{children:[d.jsx(ai,{placeholder:"Your name *",value:P.name,onChange:D=>{E({...P,name:D.target.value}),R.name&&O({...R,name:""})},className:R.name?"border-red-500":""}),R.name&&d.jsx("p",{className:"text-xs text-red-500 mt-1",children:R.name})]}),d.jsxs("div",{children:[d.jsx(ai,{type:"email",placeholder:"Your email *",value:P.email,onChange:D=>{E({...P,email:D.target.value}),R.email&&O({...R,email:""})},className:R.email?"border-red-500":""}),R.email&&d.jsx("p",{className:"text-xs text-red-500 mt-1",children:R.email})]}),d.jsx(ce,{className:"w-full",onClick:z,disabled:!o,children:o?"Start Chat":d.jsxs(d.Fragment,{children:[d.jsx(id,{className:"mr-2 h-4 w-4 animate-spin"}),"Connecting..."]})})]})]}):d.jsxs("div",{className:"flex-1 overflow-y-auto p-4 space-y-3",children:[p.map(D=>d.jsx("div",{className:`flex ${D.senderType==="visitor"?"justify-end":"justify-start"}`,children:d.jsxs("div",{className:`max-w-[80%] rounded-lg px-3 py-2 ${D.senderType==="visitor"?"bg-primary text-primary-foreground":D.senderType==="system"?"bg-muted text-muted-foreground text-center text-sm italic w-full":"bg-muted"}`,children:[D.senderType==="admin"&&D.senderName&&d.jsxs("div",{className:"text-xs font-medium mb-1 flex items-center gap-1",children:[d.jsx(gy,{className:"h-3 w-3"}),D.senderName]}),d.jsx("p",{className:"text-sm whitespace-pre-wrap",children:D.content}),D.senderType!=="system"&&d.jsx("div",{className:`text-xs mt-1 ${D.senderType==="visitor"?"text-primary-foreground
314/70":"text-muted-foreground"}`,children:ne(D.createdAt)})]})},D.id)),h&&d.jsx("div",{className:"flex justify-start",children:d.jsx("div",{className:"bg-muted rounded-lg px-3 py-2",children:d.jsxs("div",{className:"flex items-center gap-1",children:[d.jsx("span",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"0ms"}}),d.jsx("span",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"150ms"}}),d.jsx("span",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"300ms"}})]})})}),d.jsx("div",{ref:F})]})}),l&&d.jsx("div",{className:"p-3 border-t",children:d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx(ai,{ref:se,placeholder:"Type a message...",value:v,onChange:ie,onKeyPress:B,disabled:!o}),d.jsx(ce,{size:"icon",onClick:q,disabled:!v.trim()||!o,children:d.jsx(JE,{className:"h-4 w-4"})})]})})]})}):d.jsx("div",{className:"fixed bottom-6 right-6 z-50",children:d.jsxs(ce,{onClick:()=>e(!0),className:"h-14 w-14 rounded-full shadow-lg hover:scale-105 transition-transform",size:"icon",children:[d.jsx(Oo,{className:"h-6 w-6"}),A>0&&d.jsx("span",{className:"absolute -top-1 -right-1 h-5 w-5 bg-red-500 rounded-full text-xs flex items-center justify-center text-white",children:A})]})})}function fA(){return d.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[d.jsx(oT,{}),d.jsx(rT,{}),d.jsx("main",{className:"flex-1",children:d.jsx(Eg,{})}),d.jsx(iT,{}),d.jsx(dA,{})]})}const pA={};function hA(t,e){let n;try{n=t()}catch{return}return{getItem:s=>{var i;const o=l=>l===null?null:JSON.parse(l,void 0),a=(i=n.getItem(s))!=null?i:null;return a instanceof Promise?a.then(o):o(a)},setItem:(s,i)=>n.setItem(s,JSON.stringify(i,void 0)),removeItem:s=>n.removeItem(s)}}const _i=t=>e=>{try{const n=t(e);return n instanceof Promise?n:{then(r){return _i(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return _i(r)(n)}}}},mA=(t,e)=>(n,r,s)=>{let i={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:S=>S,version:0,merge:(S,m)=>({...m,...S}),...e},o=!1;const a=new Set,l=new Set;let c;try{c=i.getStorage()}catch{}if(!c)return t((...S)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...S)},r,s);const f=_i(i.serialize),u=()=>{const S=i.partialize({...r()});let m;const h=f({state:S,version:i.version}).then(g=>c.setItem(i.name,g)).catch(g=>{m=g});if(m)throw m;return h},p=s.setState;s.setState=(S,m)=>{p(S,m),u()};const y=t((...S)=>{n(...S),u()},r,s);let v;const w=()=>{var S;if(!c)return;o=!1,a.forEach(h=>h(r()));const m=((S=i.onRehydrateStorage)==null?void 0:S.call(i,r()))||void 0;return _i(c.getItem.bind(c))(i.name).then(h=>{if(h)return i.deserialize(h)}).then(h=>{if(h)if(typeof h.version=="number"&&h.version!==i.version){if(i.migrate)return i.migrate(h.state,h.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return h.state}).then(h=>{var g;return v=i.merge(h,(g=r())!=null?g:y),n(v,!0),u()}).then(()=>{m==null||m(v,void 0),o=!0,l.forEach(h=>h(v))}).catch(h=>{m==null||m(void 0,h)})};return s.persist={setOptions:S=>{i={...i,...S},S.getStorage&&(c=S.getStorage())},clearStorage:()=>{c==null||c.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>w(),hasHydrated:()=>o,onHydrate:S=>(a.add(S),()=>{a.delete(S)}),onFinishHydration:S=>(l.add(S),()=>{l.delete(S)})},w(),v||y},gA=(t,e)=>(n,r,s)=>{let i={storage:hA(()=>localStorage),partialize:w=>w,version:0,merge:(w,S)=>({...S,...w}),...e},o=!1;const a=new Set,l=new Set;let c=i.storage;if(!c)return t((...w)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...w)},r,s);const f=()=>{const w=i.partialize({...r()});return c.setItem(i.name,{state:w,version:i.version})},u=s.setState;s.setState=(w,S)=>{u(w,S),f()};const p=t((...w)=>{n(...w),f()},r,s);s.getInitialState=()=>p;let y;const v=()=>{var w,S;if(!c)return;o=!1,a.forEach(h=>{var g;return h((g=r())!=null?g:p)});const m=((S=i.onRehydrateStorage)==null?void 0:S.call(i,(w=r())!=null?w:p))||void 0;return _i(c.getItem.bind(c))(i.name).then(h=>{if(h)if(typeof h.version=="number"&&h.version!==i.version){if(i.migrate)return[!0,i.migrate(h.state,h.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,h.state];return[!1,void 0]}).then(h=>{var g;const[b,C]=h;
314if(y=i.merge(C,(g=r())!=null?g:p),n(y,!0),b)return f()}).then(()=>{m==null||m(y,void 0),y=r(),o=!0,l.forEach(h=>h(y))}).catch(h=>{m==null||m(void 0,h)})};return s.persist={setOptions:w=>{i={...i,...w},w.storage&&(c=w.storage)},clearStorage:()=>{c==null||c.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>v(),hasHydrated:()=>o,onHydrate:w=>(a.add(w),()=>{a.delete(w)}),onFinishHydration:w=>(l.add(w),()=>{l.delete(w)})},i.skipHydration||v(),y||p},yA=(t,e)=>"getStorage"in e||"serialize"in e||"deserialize"in e?((pA?"production":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),mA(t,e)):gA(t,e),vA=yA,wA=$a()(vA(t=>({viewingAsTenant:null,setViewingAsTenant:e=>{He.setTenantContext((e==null?void 0:e.id)||null),t({viewingAsTenant:e})},clearTenantContext:()=>{He.setTenantContext(null),t({viewingAsTenant:null})}}),{name:"tenant-context",onRehydrateStorage:()=>t=>{t!=null&&t.viewingAsTenant&&He.setTenantContext(t.viewingAsTenant.id)}})),zp="",xA=()=>{try{const t=new(window.AudioContext||window.webkitAudioContext),e=t.createOscillator(),n=t.createGain();e.connect(n),n.connect(t.destination),e.frequency.value=880,e.type="sine",n.gain.setValueAtTime(.2,t.currentTime),n.gain.exponentialRampToValueAtTime(.01,t.currentTime+.1),e.start(t.currentTime),e.stop(t.currentTime+.1),setTimeout(()=>{const r=t.createOscillator(),s=t.createGain();r.connect(s),s.connect(t.destination),r.frequency.value=1100,r.type="sine",s.gain.setValueAtTime(.2,t.currentTime),s.gain.exponentialRampToValueAtTime(.01,t.currentTime+.15),r.start(t.currentTime),r.stop(t.currentTime+.15)},100)}catch{console.log("Could not play notification sound")}},bA=()=>{try{const t=localStorage.getItem("deviceChatSoundEnabled");return t!==null?t==="true":!0}catch{return!0}},SA=$a((t,e)=>({socket:null,connected:!1,unreadDevices:[],totalUnread:0,soundEnabled:bA(),connect:()=>{if(!He.isAuthenticated()||e().socket)return;const n=He.getToken(),r=rs(`${zp}/admin`,{auth:n?{token:n}:{},transports:["websocket","polling"]});r.on("connect",()=>{console.log("Device chat notification socket connected"),t({connected:!0}),e().refreshUnread()}),r.on("disconnect",()=>{console.log("Device chat notification socket disconnected"),t({connected:!1})}),r.on("device:chat_message",s=>{if(s.message.senderType==="device"){const{unreadDevices:i,soundEnabled:o}=e(),a=i.findIndex(f=>f.deviceId===s.deviceId);let l;a>=0?(l=[...i],l[a]={...l[a],unreadCount:l[a].unreadCount+1,lastMessage:s.message.content,lastMessageTime:s.message.createdAt}):l=[...i,{deviceId:s.deviceId,deviceName:s.message.senderName||"Device",unreadCount:1,lastMessage:s.message.content,lastMessageTime:s.message.createdAt}];const c=l.reduce((f,u)=>f+u.unreadCount,0);t({unreadDevices:l,totalUnread:c}),o&&xA()}}),t({socket:r})},disconnect:()=>{const{socket:n}=e();n&&(n.disconnect(),t({socket:null,connected:!1}))},markDeviceAsRead:n=>{const{unreadDevices:r}=e(),s=r.filter(o=>o.deviceId!==n),i=s.reduce((o,a)=>o+a.unreadCount,0);t({unreadDevices:s,totalUnread:i})},toggleSound:()=>{const n=!e().soundEnabled;try{localStorage.setItem("deviceChatSoundEnabled",String(n))}catch{}t({soundEnabled:n})},refreshUnread:async()=>{try{const n=He.getToken(),r={"Content-Type":"application/json"};n&&(r.Authorization=`Bearer ${n}`);const s=await fetch(`${zp}/api/devices/chat/unread`,{headers:r,credentials:"include"});if(s.ok){const i=await s.json();if(i.success&&i.data){const o=i.data.map(l=>({deviceId:l.deviceId,deviceName:l.deviceName||"Device",unreadCount:l.unreadCount,lastMessage:l.lastMessage,lastMessageTime:l.lastMessageTime})),a=o.reduce((l,c)=>l+c.unreadCount,0);t({unreadDevices:o,totalUnread:a})}}}catch(n){console.error("Failed to refresh unread count:",n)}}})),Vs="",Fp=()=>{try{const t=localStorage.getItem("email_credentials");if(t){const e=JSON.parse(t);if(e.email&&e.password)return e}}catch{}return null},eu=$a((t,e)=>({credentials:Fp(),unreadCount:0,isLoggedIn:!!Fp(),isLoading:!1,lastChecked:null,hasStoredCredentials:null,setCredentials:n=>{n?localStorage.setItem("email_credentials",JSON.stringify(n)):localStorage.removeItem("email_credentials"),t({credentials:n,isLoggedIn:!!n}),n?e().refreshUnreadCount():t({unreadCount:0})},setUnreadCount:n=>{t({unreadCount:n,lastChecked:Date.now()})},refreshUnreadCount:async()=>{var r;const{credentials:n}=e();if(n)try{const i=await(await fetch(`${Vs}/api/admin/email/mailbox/folders`,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify(n)})).json();if(i.success&&Array.isArray(i.data)){const o=i.data.find(a=>{var l,c;return((l=a.path)==null?void 0:l.toUpperCase())==="INBOX"||((c=a.name)==null?void 0:c.toUpperCase())==="INBOX"});o&&t({unreadCount:o.unseen||0,lastChecked:Date.now()})}else(r=i.message)!=null&&r.includes("session")&&(await e().fetchStoredCredentials()||e().logout())}catch(s){console.error("Failed to fetch unread count:",s)}},fetchStoredCredentials:async()=>{t({isLoading:!0});try{const r=await(await fetch(`${Vs}/api/admin/email/stored-credentials`,{credentials:"include"})).json();if(r.success&&r.data){const s={email:r.data.email,password:r.data.password,sessionToken:r.data.sessionToken};return localStorage.setItem("email_credentials",JSON.stringify(s)),t({credentials:s,isLoggedIn:!0,hasStoredCredentials:!0,isLoading:!1}),e().refreshUnreadCount(),!0}else return t({hasStoredCredentials:!1,isLoading:!1}),!1}catch(n){return console.error("Failed to fetch stored credentials:",n),t({hasStoredCredentials:!1,isLoading:!1}),!1}},saveCredentials:async(n,r)=>{t({isLoading:!0});try{const i=await(await fetch(`${Vs}/api/admin/email/save-credentials`,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({email:n,password:r})})).json();if(i.success){const o={email:i.data.email,password:r,sessionToken:i.data.sessionToken};return localStorage.setItem("email_credentials",JSON.stringify(o)),t({credentials:o,isLoggedIn:!0,hasStoredCredentials:!0,isLoading:!1}),e().refreshUnreadCount(),{success:!0}}else return t({isLoading:!1}),{success:!1,error:i.message||"Failed to save credentials"}}catch(s){return t({isLoading:!1}),{success:!1,error:s.message||"Connection failed"}}},logout:()=>{const{credentials:n}=e();n!=null&&n.sessionToken&&fetch(`${Vs}/api/admin/email/logout`,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({sessionToken:n.sessionToken})}).catch(()=>{}),localStorage.removeItem("email_credentials"),t({credentials:null,unreadCount:0,isLoggedIn:!1,lastChecked:null})},removeStoredCredentials:async()=>{try{await fetch(`${Vs}/api/admin/email/stored-credentials`,{method:"DELETE",credentials:"include"})}catch{}e().logout(),t({hasStoredCredentials:!1})}}));let qp=null;
314const kA=()=>{if(qp)return;const{isLoggedIn:t,hasStoredCredentials:e,fetchStoredCredentials:n}=eu.getState();!t&&e===null&&n(),qp=setInterval(()=>{const{isLoggedIn:r,refreshUnreadCount:s}=eu.getState();r&&s()},2*60*1e3)},Up="",CA=()=>{try{const t=new(window.AudioContext||window.webkitAudioContext),e=t.createOscillator(),n=t.createGain();e.connect(n),n.connect(t.destination),e.frequency.value=800,e.type="sine",n.gain.setValueAtTime(.3,t.currentTime),n.gain.exponentialRampToValueAtTime(.01,t.currentTime+.3),e.start(t.currentTime),e.stop(t.currentTime+.3)}catch{}};function PA(){var Vi;const t=Zt(),e=zi(),{lang:n="en"}=Fi(),{t:r}=qi("admin"),{user:s,logout:i}=ty(),{viewingAsTenant:o,clearTenantContext:a}=wA(),{connect:l,disconnect:c,totalUnread:f,soundEnabled:u,toggleSound:p}=SA(),{unreadCount:y,isLoggedIn:v,refreshUnreadCount:w}=eu(),{theme:S,setTheme:m}=Yg(),[h,g]=x.useState({}),[b,C]=x.useState(t.pathname.includes("/email")),[P,E]=x.useState(0),[j,U]=x.useState(0),[A,W]=x.useState(0),R=x.useRef(null),O=(s==null?void 0:s.role)==="super_admin",F=(s==null?void 0:s.role)==="landlord_admin",se=O||F,M=O&&o!==null;x.useEffect(()=>(l(),()=>c()),[l,c]),x.useEffect(()=>{kA(),v&&w()},[v,w]),x.useEffect(()=>{if(!O||M)return;const re=async()=>{try{const vn=await(await fetch(`${Up}/api/live-chat/sessions`,{credentials:"include"})).json();vn.success&&vn.data&&E(vn.data.waitingCount||0)}catch{}};re();const xe=He.getToken();if(!xe)return;const ot=rs(`${Up}/live-chat`,{auth:{token:xe},transports:["websocket","polling"]});return R.current=ot,ot.on("connect",()=>{console.log("Live chat notification socket connected"),ot.emit("admin:auth",{token:xe})}),ot.on("admin:authenticated",()=>{console.log("Admin authenticated for live chat notifications")}),ot.on("chat:new_session",()=>{CA(),E(yn=>yn+1)}),ot.on("chat:session_updated",()=>{re()}),ot.on("chat:ended",()=>{re()}),ot.on("disconnect",()=>{console.log("Live chat notification socket disconnected")}),()=>{ot.disconnect(),R.current=null}},[O,M]),x.useEffect(()=>{(async()=>{try{const xe=await He.getPlanFeatures();g(xe.data.features||{})}catch(xe){console.error("Failed to load plan features:",xe)}})()},[o]);const K=async()=>{try{if((s==null?void 0:s.role)==="super_admin"&&!M){const[re,xe]=await Promise.all([He.getTicketStats(),He.getContactStats()]);re.success&&U(re.data.open+re.data.inProgress+re.data.waitingResponse),xe.success&&W(xe.data.new)}}catch(re){console.error("Failed to fetch notification counts",re)}};x.useEffect(()=>{K();const re=setInterval(K,2*60*1e3);return()=>clearInterval(re)},[s==null?void 0:s.role,M]);const _=async()=>{await i(),e(`/${n}/admin/login`)},z=()=>{m(S==="dark"?"light":"dark")},q=()=>{a(),e(`/${n}/admin/dashboard/tenants`)},I=re=>{var xe;return O?!0:F?((xe=s==null?void 0:s.menuPermissions)==null?void 0:xe.includes(re))??!1:!0},ie=(O||F&&I("tenants"))&&!M,B=(O||F&&I("plans"))&&!M,ne=!se||M,D=O||F&&I("device-map")||h.locationTracking,J=!O&&!F||M,Le=O&&!M,ue=(O||F&&I("sales"))&&!M,en=(O||F&&I("support"))&&!M,Er=O&&!M,Tr=O&&!M,gn=O&&!M,qa=O||!F||I("devices"),As=O||!F||I("groups"),Ua=O||!F||I("policies"),Ui=O||!F||I("apps"),Zn=O||!F||I("provisioning"),Bi=O||!F||I("admins"),Y=`/${n}/admin/dashboard`,Ba=[{to:Y,icon:BE,label:r("sidebar.dashboard")},...ie?[{to:`${Y}/tenants`,icon:RE,label:r("sidebar.tenants")}]:[],...B?[{to:`${Y}/plans`,icon:Np,label:r("sidebar.plans")}]:[],...O&&!M?[{to:`${Y}/promo-codes`,icon:ZE,label:r("sidebar.promoCodes","Promo Codes")}]:[],...ne?[{to:`${Y}/subscription`,icon:Np,label:r("sidebar.subscription")}]:[],...Bi?[{to:`${Y}/admins`,icon:Lp,label:r("sidebar.adminUsers")}]:[],...Zn?[{to:`${Y}/provisioning`,icon:KE,label:r("sidebar.provisioning")}]:[],...qa?[{to:`${Y}/devices`,icon:XE,label:r("sidebar.devices"),badge:f>0?f:void 0}]:[],...D?[{to:`${Y}/device-map`,icon:HE,label:r("sidebar.deviceMap")}]:[],...As?[{to:`${Y}/groups`,icon:qE,label:r("sidebar.deviceGroups")}]:[],...Ua?[{to:`${Y}/policies`,icon:YE,label:r("sidebar.policies")}]:[],...Ui?[{to:`${Y}/apps`,icon:QE,label:r("sidebar.apps")}]:[],...J?[{to:`${Y}/notifications`,icon:Tp,label:r("sidebar.notifications")}]:[],...Le?[{to:`${Y}/logs`,icon:_p,label:r("sidebar.activityLogs")}]:[],...ue?[{to:`${Y}/sales`,icon:LE,label:r("sidebar.salesAnalytics")}]:[],...O?[]:[{to:`${Y}/email`,icon:Nl,label:r("sidebar.email"),badge:y>0?y:void 0}],...O&&!M?[{to:`${Y}/system-updates`,icon:zE,label:r("sidebar.systemUpdates")},{to:`${Y}/site-settings`,icon:my,label:r("sidebar.siteSettings")},{to:`${Y}/file-manager`,icon:FE,label:r("sidebar.fileManager")},{to:`${Y}/database`,icon:$E,label:r("sidebar.database")},{to:`${Y}/server-health`,icon:jE,label:r("sidebar.serverHealth")}]:[],...en?[]:[{to:`${Y}/support`,icon:Op,label:r("sidebar.support")}],...en?[{to:`${Y}/admin-support`,icon:Op,label:r("sidebar.supportTickets"),badge:j>0?j:void 0}]:[],...Er?[{to:`${Y}/contact-submissions`,icon:jp,label:r("sidebar.contactSubmissions"),badge:A>0?A:void 0}]:[],...Tr?[{to:`${Y}/newsletter-subscribers`,icon:Nl,label:r("sidebar.newsletterSubscribers")}]:[],...gn?[{to:`${Y}/live-chat`,icon:Oo,label:r("sidebar.liveChat"),badge:P>0?P:void 0}]:[]];return d.jsxs("div",{className:"min-h-screen bg-background",children:[d.jsx("aside",{className:"fixed top-0 left-0 z-40 w-64 h-dvh border-r bg-card",children:d.jsxs("div",{className:"h-full flex flex-col",children:[M&&d.jsxs("div",{className:"bg-blue-600 text-white p-3",children:[d.jsx("p",{className:"text-xs font-medium mb-1",children:r("sidebar.viewingAs")}),d.jsx("p",{className:"text-sm font-bold truncate",children:o==null?void 0:o.name}),d.jsxs(ce,{variant:"secondary",size:"sm",onClick:q,className:"w-full mt-2 gap-2",children:[d.jsx(OE,{className:"h-4 w-4"}),r("sidebar.returnToAdmin")]})]}),d.jsxs("div",{className:"p-4 border-b flex-shrink-0",children:[d.jsx("h1",{className:"text-lg font-bold",children:"Cheap MDM"}),d.jsx("p",{className:"text-xs text-muted-foreground mt-0.5",children:M?o==null?void 0:o.name:(s==null?void 0:s.organizationName)||r("sidebar.adminPortal")})]}),d.jsxs("nav",{className:"flex-1 p-2 space-y-0.5 overflow-y-auto",children:[Ba.map(re=>{const xe=re.icon,ot=t.pathname===re.to,yn=re.badge;return d.jsxs(je,{to:re.to,className:`flex items-center gap-2 px-2.5 py-1.5 rounded-md text-sm font-medium transition-colors ${ot?"bg-primary text-primary-foreground":"text-muted-foreground hover:bg-accent hover:text-accent-foreground"}`,children:[d.jsx(xe,{className:"h-4 w-4"}),d.jsx("span",{className:"flex-1",children:re.label}),yn!==void 0&&d.jsx(Io,{variant:"destructive",className:"h-5 min-w-5 px-1.5 text-xs",children:yn>99?"99+":yn})]},re.to)}),O&&!M&&d.jsxs("div",{className:"mt-1",children:[d.jsxs("button",{onClick:()=>C(!b),className:`w-full flex items-center gap-2 px-2.5 py-1.5 rounded-md text-sm font-medium transition-colors ${t.pathname.includes("/email")?"bg-primary/10 text-primary":"text-muted-foreground hover:bg-accent hover:text-accent-foreground"}`,children:[d.jsx(Nl,{className:"h-4 w-4"}),d.jsx("span",{className:"flex-1 text-left",children:r("sidebar.email")}),y>0&&d.jsx(Io,{variant:"destructive",className:"h-5 min-w-5 px-1.5 text-xs mr-1",children:y>99?"99+":y}),b?d.jsx(jo,{className:"h-4 w-4"}):d.jsx(ME,{className:"h-4 w-4"})]}),b&&d.jsxs("div",{className:"ml-4 mt-0.5 space-y-0.5 border-l border-border pl-2",children:[d.jsxs(je,{to:`${Y}/email-inbox`,className:`flex items-center gap-2 px-2.5 py-1.5 rounded-md text-sm transition-colors ${t.pathname.includes("/email-inbox")?"bg-primary text-primary-foreground":"text-muted-foreground hover:bg-accent hover:text-accent-foreground"}`,children:[d.jsx(jp,{className:"h-4 w-4"}),d.jsx("span",{className:"flex-1",children:r("sidebar.inbox")}),y>0&&d.jsx(Io,{variant:"destructive",className:"h-5 min-w-5 px-1.5 text-xs",children:y>99?"99+":y})]}),d.jsxs(je,{to:`${Y}/email-signatures`,className:`flex items-center gap-2 px-2.5 py-1.5 rounded-md text-sm transition-colors ${t.pathname.includes("/email-signatures")?"bg-primary text-primary-foreground":"text-muted-foreground hover:bg-accent hover:text-accent-foreground"}`,children:[d.jsx(_p,{className:"h-4 w-4"}),d.jsx("span",{children:r("sidebar.signatures")})]}),d.jsxs(je,{to:`${Y}/email-accounts`,className:`flex items-center gap-2 px-2.5 py-1.5 rounded-md text-sm transition-colors ${t.pathname.includes("/email-accounts")?"bg-primary text-primary-foreground":"text-muted-foreground hover:bg-accent hover:text-accent-foreground"}`,children:[d.jsx(Lp,{className:"h-4 w-4"}),d.jsx("span",{children:r("sidebar.accounts")})]}),d.jsxs(je,{to:`${Y}/emails`,className:`flex items-center gap-2 px-2.5 py-1.5 rounded-md text-sm transition-colors ${t.pathname.includes("/emails")&&!t.pathname.includes("email-")?"bg-primary text-primary-foreground":"text-muted-foreground hover:bg-accent hover:text-accent-foreground"}`,children:[d.jsx(Tp,{className:"h-4 w-4"}),d.jsx("span",{children:r("sidebar.emailNotifications")})]})]})]})]}),d.jsxs("div",{className:"p-3 border-t space-y-2 flex-shrink-0",children:[d.jsx("div",{className:"mb-2",children:d.jsx(ha,{variant:"compact"})}),d.jsxs(je,{to:`${Y}/profile`,className:`flex items-center gap-2 px-2 py-1.5 rounded-md transition-colors ${t.pathname.includes("/profile")?"bg-primary text-primary-foreground":"hover:bg-accent"}`,children:[d.jsx("div",{className:"h-7 w-7 rounded-full bg-primary/10 flex items-center justify-center",children:d.jsx(gy,{className:"h-3.5 w-3.5 text-primary"})}),d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsx("p",{className:"text-xs font-medium truncate",children:s==null?void 0:s.email}),d.jsx("p",{className:"text-[10px] text-muted-foreground capitalize",children:(Vi=s==null?void 0:s.role)==null?void 0:Vi.replace("_"," ")})]})]}),d.jsxs("div",{className:"flex gap-1.5",children:[d.jsx(ce,{variant:"outline",size:"sm",onClick:p,className:"h-8 px-2",title:u?"Mute notifications":"Enable notifications",children:u?d.jsx(tT,{className:"h-3.5 w-3.5"}):d.jsx(nT,{className:"h-3.5 w-3.5 text-muted-foreground"})}),d.jsx(ce,{variant:"outline",size:"sm",onClick:z,className:"h-8 px-2",children:S==="dark"?d.jsx(Wc,{className:"h-3.5 w-3.5"}
314):d.jsx(Gc,{className:"h-3.5 w-3.5"})}),d.jsxs(ce,{variant:"outline",size:"sm",onClick:_,className:"flex-1 gap-1.5 h-8",children:[d.jsx(hy,{className:"h-3.5 w-3.5"}),r("sidebar.logout")]})]})]})]})}),d.jsx("main",{className:"ml-64 min-h-screen",children:d.jsx("div",{className:"p-8",children:d.jsx(Eg,{})})})]})}const jy="cheapmdm_cookie_consent";function dd(){try{const t=localStorage.getItem(jy);if(t)return JSON.parse(t)}catch{}return null}function Ol(t){try{localStorage.setItem(jy,JSON.stringify(t))}catch{}}function EA(){return dd()!==null}function TA({bannerText:t='We use cookies to enhance your experience, analyze site traffic, and for marketing purposes. By clicking "Accept All", you consent to our use of cookies.',onAcceptAll:e,onAcceptNecessary:n}){const[r,s]=x.useState(!1),[i,o]=x.useState(!1),[a,l]=x.useState({necessary:!0,analytics:!0,marketing:!0,timestamp:Date.now()});x.useEffect(()=>{if(!dd()){const y=setTimeout(()=>s(!0),500);return()=>clearTimeout(y)}},[]);const c=()=>{const p={necessary:!0,analytics:!0,marketing:!0,timestamp:Date.now()};Ol(p),s(!1),e()},f=()=>{const p={necessary:!0,analytics:!1,marketing:!1,timestamp:Date.now()};Ol(p),s(!1),n()},u=()=>{const p={...a,timestamp:Date.now()};Ol(p),s(!1),a.analytics||a.marketing?e():n()};return r?d.jsx("div",{className:"fixed bottom-0 left-0 right-0 z-50 p-4 md:p-6",children:d.jsx(ga,{className:"max-w-4xl mx-auto shadow-2xl border-2",children:d.jsx(Dy,{className:"p-4 md:p-6",children:i?d.jsxs("div",{className:"space-y-4",children:[d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx(Ap,{className:"h-5 w-5 text-primary"}),d.jsx("h3",{className:"font-semibold",children:"Cookie Preferences"})]}),d.jsx(ce,{variant:"ghost",size:"icon",onClick:()=>o(!1),children:d.jsx(pa,{className:"h-4 w-4"})})]}),d.jsxs("div",{className:"space-y-3",children:[d.jsxs("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[d.jsxs("div",{children:[d.jsx("p",{className:"font-medium text-sm",children:"Necessary Cookies"}),d.jsx("p",{className:"text-xs text-muted-foreground",children:"Required for the website to function. Cannot be disabled."})]}),d.jsx("div",{className:"text-xs text-muted-foreground font-medium",children:"Always On"})]}),d.jsxs("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[d.jsxs("div",{children:[d.jsx("p",{className:"font-medium text-sm",children:"Analytics Cookies"}),d.jsx("p",{className:"text-xs text-muted-foreground",children:"Help us understand how visitors interact with our website."})]}),d.jsxs("label",{className:"relative inline-flex items-center cursor-pointer",children:[d.jsx("input",{type:"checkbox",checked:a.analytics,onChange:p=>l({...a,analytics:p.target.checked}),className:"sr-only peer"}),d.jsx("div",{className:"w-9 h-5 bg-gray-200 peer-focus:outline-none peer-focus:ring-2 peer-focus:ring-primary rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all dark:border-gray-600 peer-checked:bg-primary"})]})]}),d.jsxs("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[d.jsxs("div",{children:[d.jsx("p",{className:"font-medium text-sm",children:"Marketing Cookies"}),d.jsx("p",{className:"text-xs text-muted-foreground",children:"Used to track visitors across websites for advertising purposes."})]}),d.jsxs("label",{className:"relative inline-flex items-center cursor-pointer",children:[d.jsx("input",{type:"checkbox",checked:a.marketing,onChange:p=>l({...a,marketing:p.target.checked}),className:"sr-only peer"}),d.jsx("div",{className:"w-9 h-5 bg-gray-200 peer-focus:outline-none peer-focus:ring-2 peer-focus:ring-primary rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all dark:border-gray-600 peer-checked:bg-primary"})]})]})]}),d.jsxs("div",{className:"flex justify-end gap-2 pt-2",children:[d.jsx(ce,{variant:"outline",size:"sm",onClick:f,children:"Reject All"}),d.jsx(ce,{size:"sm",onClick:u,children:"Save Preferences"})]})]}):d.jsxs("div",{className:"flex flex-col md:flex-row items-start md:items-center gap-4",children:[d.jsxs("div",{className:"flex items-start gap-3 flex-1",children:[d.jsx(Ap,{className:"h-6 w-6 text-primary mt-1 shrink-0"}),d.jsxs("div",{children:[d.jsx("h3",{className:"font-semibold text-lg mb-1",children:"Cookie Consent"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:t})]})]}),d.jsxs("div",{className:"flex flex-wrap gap-2 w-full md:w-auto",children:[d.jsxs(ce,{variant:"outline",size:"sm",onClick:()=>
314o(!0),className:"flex-1 md:flex-none",children:[d.jsx(my,{className:"h-4 w-4 mr-1"}),"Customize"]}),d.jsx(ce,{variant:"outline",size:"sm",onClick:f,className:"flex-1 md:flex-none",children:"Necessary Only"}),d.jsx(ce,{size:"sm",onClick:c,className:"flex-1 md:flex-none",children:"Accept All"})]})]})})})}):null}const AA="";function Bp(t){if(document.getElementById("gtm-script"))return;const e=document.createElement("script");e.id="gtm-script",e.innerHTML=` 315 (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 316 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 317 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 318 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 319 })(window,document,'script','dataLayer','${t}'); 320 `,document.head.appendChild(e);const n=document.createElement("noscript");n.id="gtm-noscript",n.innerHTML=` 321 <iframe src="https://www.googletagmanager.com/ns.html?id=${t}" 322 height="0" width="0" style="display:none;visibility:hidden"></iframe> 323 `,document.body.insertBefore(n,document.body.firstChild),console.log("[Analytics] GTM loaded:",t)}function Vp(t){if(document.getElementById("ga4-script"))return;window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),window.gtag("config",t,{anonymize_ip:!0,cookie_flags:"SameSite=None;Secure"});const e=document.createElement("script");e.id="ga4-script",e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?id=${t}`,document.head.appendChild(e),console.log("[Analytics] GA4 loaded:",t)}function Hp(t){if(document.getElementById("gads-script"))return;window.dataLayer=window.dataLayer||[],window.gtag=window.gtag||function(){window.dataLayer.push(arguments)},window.gtag("config",t);const e=document.createElement("script");e.id="gads-script",e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?id=${t}`,document.head.appendChild(e),console.log("[Analytics] Google Ads loaded:",t)}function Gp(t){if(document.getElementById("meta-pixel-script"))return;const e=document.createElement("script");e.id="meta-pixel-script",e.innerHTML=` 324 !function(f,b,e,v,n,t,s) 325 {if(f.fbq)return;n=f.fbq=function(){n.callMethod? 326 n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 327 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 328 n.queue=[];t=b.createElement(e);t.async=!0; 329 t.src=v;s=b.getElementsByTagName(e)[0]; 330 s.parentNode.insertBefore(t,s)}(window, document,'script', 331 'https://connect.facebook.net/en_US/fbevents.js'); 332 fbq('init', '${t}'); 333 fbq('track', 'PageView'); 334 `,document.head.appendChild(e);const n=document.createElement("noscript");n.id="meta-pixel-noscript",n.innerHTML=` 335 <img height="1" width="1" style="display:none" 336 src="https://www.facebook.com/tr?id=${t}&ev=PageView&noscript=1"/> 337 `,document.body.appendChild(n),console.log("[Analytics] Meta Pixel loaded:",t)}function Wp(t){if(document.getElementById("clarity-script"))return;const e=document.createElement("script");e.id="clarity-script",e.innerHTML=` 338 (function(c,l,a,r,i,t,y){ 339 c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; 340 t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; 341 y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); 342 })(window, document, "clarity", "script", "${t}"); 343 `,document.head.appendChild(e),console.log("[Analytics] Microsoft Clarity loaded:",t)}function NA(){const[t,e]=x.useState(null),[n,r]=x.useState(!1);x.useEffect(()=>{async function a(){try{const c=await(await fetch(`${AA}/api/site-settings/public`)).json();c.success&&e(c.data)}catch(l){console.error("[Analytics] Failed to fetch settings:",l)}}a()},[]);const s=x.useCallback(()=>{if(!t||n)return;const a=dd();a&&(t.googleTagManagerId&&Bp(t.googleTagManagerId),a.analytics&&(t.ga4MeasurementId&&Vp(t.ga4MeasurementId),t.microsoftClarityId&&Wp(t.microsoftClarityId)),a.marketing&&(t.metaPixelId&&Gp(t.metaPixelId),t.googleAdsId&&Hp(t.googleAdsId)),r(!0))},[t,n]);x.useEffect(()=>{t&&EA()&&s()},[t,s]);const i=()=>{s(),setTimeout(s,100)},o=()=>{console.log("[Analytics] User rejected optional cookies")};return t?t.cookieConsentEnabled?d.jsx(TA,{bannerText:t.cookieBannerText,onAcceptAll:i,onAcceptNecessary:o}):(n||(t.googleTagManagerId&&Bp(t.googleTagManagerId),t.ga4MeasurementId&&Vp(t.ga4MeasurementId),t.googleAdsId&&Hp(t.googleAdsId),t.metaPixelId&&Gp(t.metaPixelId),t.microsoftClarityId&&Wp(t.microsoftClarityId),r(!0)),null):null}function _A(){return d.jsx("div",{className:"flex items-center justify-center min-h-[400px] w-full",children:d.jsxs("div",{className:"flex flex-col items-center gap-4",children:[d.jsx(id,{className:"h-8 w-8 animate-spin text-primary"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"Loading..."})]})})}const DA=x.lazy(()=>G(()=>import("./HomePage-DUTCrEDc.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(t=>({default:t.HomePage}))),jA=x.lazy(()=>G(()=>import("./FeaturesPage-CqCzkgql.js"),__vite__mapDeps([10,1,2,5,11,
3436,8,12,13,14])).then(t=>({default:t.FeaturesPage}))),OA=x.lazy(()=>G(()=>import("./PricingPage-DhYShLD8.js"),__vite__mapDeps([15,1,16,17,18,19,20,21,22,8,11,23,24,25,26,2])).then(t=>({default:t.PricingPage}))),LA=x.lazy(()=>G(()=>import("./AboutPage-1RM926-r.js"),__vite__mapDeps([27,1,28,14,2])).then(t=>({default:t.AboutPage}))),RA=x.lazy(()=>G(()=>import("./ContactPage-DaSN5yq1.js"),__vite__mapDeps([29,1,16,17,23,6,2,26])).then(t=>({default:t.ContactPage}))),MA=x.lazy(()=>G(()=>import("./BlogPage-Bf0Ws9Ne.js"),__vite__mapDeps([30,1,31,9,32])).then(t=>({default:t.BlogPage}))),IA=x.lazy(()=>G(()=>import("./BlogPostPage-CFL6xotH.js"),__vite__mapDeps([33,1,31,9,8,3,34,35])).then(t=>({default:t.BlogPostPage}))),$A=x.lazy(()=>G(()=>import("./LoginPage-R89e7vcW.js"),__vite__mapDeps([36,17])).then(t=>({default:t.LoginPage}))),zA=x.lazy(()=>G(()=>import("./SignupPage-BCSjArLJ.js"),__vite__mapDeps([37,17])).then(t=>({default:t.SignupPage}))),FA=x.lazy(()=>G(()=>import("./ForgotPasswordPage-BVnWQfA6.js"),__vite__mapDeps([38,17,39])).then(t=>({default:t.ForgotPasswordPage}))),qA=x.lazy(()=>G(()=>import("./ResetPasswordPage-CTxVxdyI.js"),__vite__mapDeps([40,17,41,39,42,43,44])).then(t=>
343({default:t.ResetPasswordPage}))),UA=x.lazy(()=>G(()=>import("./DashboardHome-DU8WxtE6.js"),__vite__mapDeps([45,46,47])).then(t=>({default:t.DashboardHome}))),BA=x.lazy(()=>G(()=>import("./ProvisioningPage-C1kbWgI2.js"),__vite__mapDeps([48,17,49,8,19,20,21,22,41,12,50,51,39,52])).then(t=>({default:t.ProvisioningPage}))),VA=x.lazy(()=>G(()=>import("./DevicesPage-BJ0t3Rj9.js"),__vite__mapDeps([53,54,55,20,21,22,56,18,19,8,57,58,32,59,11,60,23,61,17,62,63,6,64,35,5,65,50,66,67,51,13,12])).then(t=>({default:t.DevicesPage}))),HA=x.lazy(()=>G(()=>import("./DeviceGroupsPage-DpLKZuOG.js"),__vite__mapDeps([68,17,54,18,19,20,21,22,8,69,32,5,65,70,51,71])).then(t=>({default:t.DeviceGroupsPage}))),GA=x.lazy(()=>G(()=>import("./PoliciesPage-Cr8Sj7Pb.js"),__vite__mapDeps([72,17,54,18,73,74,59,20,56,60,21,19,22,8,57,58,32,4,69,5,75,39,61,41,76,70,51,77,78,11,79])).then(t=>({default:t.PoliciesPage}))),WA=x.lazy(()=>G(()=>import("./AppsPage-B8_az61d.js"),__vite__mapDeps([80,17,18,54,74,81,82,41,51,39])).then(t=>({default:t.AppsPage}))),QA=x.lazy(()=>G(()=>import("./ActivityLogsPage-9aBJhZOn.js"),__vite__mapDeps([83,17,54,57,19,20,21,22,8,58,32,3,69,66,51,61,34,35,64])).then(t=>({default:t.ActivityLogsPage}))),KA=x.lazy(()=>G(()=>import("./ProfilePage-BaXov-Q7.js"),__vite__mapDeps([84,17,18,78,51,85,39,66,3,42,41,43,44,76])).then(t=>({default:t.ProfilePage}))),JA=x.lazy(()=>G(()=>import("./TenantsPage-CiFDtije.js"),__vite__mapDeps([86,17,54,18,57,19,20,21,22,8,58,32,75,44,70,51,42])).then(t=>({default:t.TenantsPage}))),YA=x.lazy(()=>G(()=>import("./PlansPage-DHw-Fgkc.js"),__vite__mapDeps([87,17,54,18,73,74,59,20,56,14,61,69,32,70,51,6])).then(t=>({default:t.PlansPage}))),XA=x.lazy(()=>G(()=>import("./PromoCodesPage-5n5ysgEg.js"),__vite__mapDeps([88,17,54,18,74,59,20,56,19,21,22,8,39,46,69,32,76,44,70,51,89])).then(t=>({default:t.PromoCodesPage}))),ZA=x.lazy(()=>G(()=>import("./SubscriptionPage-D8-fRPTD.js"),__vite__mapDeps([90,18,17,89,67,8])).then(t=>({default:t.SubscriptionPage}))),e2=x.lazy(()=>G(()=>import("./DeviceMapPage-CUwjr4V6.js"),__vite__mapDeps([91,62,63,67,61,6,64,35])).then(t=>({default:t.DeviceMapPage}))),t2=x.lazy(()=>G(()=>import("./AdminsPage--uAwjqcj.js"),__vite__mapDeps([92,17,18,54,19,20,21,22,8,49,57,58,32,69,67,70,51])).then(t=>({default:t.AdminsPage}))),n2=x.lazy(()=>G(()=>import("./EmailNotificationsPage-BIBt_SDe.js"),__vite__mapDeps([93,94,17,18,73,74,59,20,56,16,21,8,41,32,5,44,70,61,52])).then(t=>({default:t.EmailNotificationsPage}))),r2=x.lazy(()=>G(()=>import("./DeviceNotificationsPage-DEDgWfLx.js"),__vite__mapDeps([95,17,16,54,18,19,20,21,22,8,77,69,51,41,64,35]))),s2=x.lazy(()=>G(()=>import("./SupportPage-CDZjn9nA.js"),__vite__mapDeps([96,16,17,18,19,20,21,22,8,69,89,26,41])).then(t=>({default:t.SupportPage}))),i2=x.lazy(()=>G(()=>import("./TicketDetailPage-C0PKVRGm.js"),__vite__mapDeps([97,16,19,20,21,22,8,89,26,41,5])).then(t=>({default:t.TicketDetailPage}))),o2=x.lazy(()=>G(()=>import("./AdminSupportPage-vp1ile2g.js"),__vite__mapDeps([98,19,20,21,22,8,55,56,89,26,41,99,44,100])).then(t=>({default:t.AdminSupportPage}))),a2=x.lazy(()=>G(()=>import("./ContactSubmissionsPage-BCskp2yF.js"),__vite__mapDeps([101,18,19,20,21,22,8,55,56,44,100])).then(t=>({default:t.ContactSubmissionsPage}))),l2=x.lazy(()=>G(()=>import("./NewsletterSubscribersPage-ERNUEW0a.js"),__vite__mapDeps([102,18,19,20,21,22,8,55,56,54,103,104,100])).then(t=>({default:t.NewsletterSubscribersPage}))),c2=x.lazy(()=>G(()=>import("./LiveChatPage-ClKqPko0.js"),__vite__mapDeps([105,73,74,17,19,20,21,22,8,103,51])).then(t=>({default:t.LiveChatPage}))),u2=x.lazy(()=>G(()=>import("./SalesPage-CW0p4CKe.js"),__vite__mapDeps([106,17,54,3,46,104,99,47,32])).then(t=>({default:t.SalesPage}))),d2=x.lazy(()=>G(()=>import("./SystemUpdatesPage-BXg63tgG.js"),__vite__mapDeps([107,17,16,74,54,18,108,61,81,4,67,39,7,51]))),f2=x.lazy(()=>G(()=>import("./SuperAdminLoginPage-C5ENWr09.js"),__vite__mapDeps([109,17,5])).then(t=>({default:t.SuperAdminLoginPage}))),p2=x.lazy(()=>G(()=>import("./TermsPage-CVPizlGX.js"),[]).then(t=>({default:t.TermsPage}
343))),h2=x.lazy(()=>G(()=>import("./CookiePolicyPage-BDrxbUA-.js"),[]).then(t=>({default:t.CookiePolicyPage}))),m2=x.lazy(()=>G(()=>import("./SiteSettingsPage-Cv4JxvrN.js"),__vite__mapDeps([110,17,74,16,39,85,41,71,28,44])).then(t=>({default:t.SiteSettingsPage}))),g2=x.lazy(()=>G(()=>import("./ServerHealthPage-dFN9t7lx.js"),__vite__mapDeps([111,74,17,59,20,56,61,41,112,12,24])).then(t=>({default:t.ServerHealthPage}))),y2=x.lazy(()=>G(()=>import("./DatabaseManagerPage-B0CimKtX.js"),__vite__mapDeps([113,16,59,20,56,54,108,41,79,51,67,58])).then(t=>({default:t.DatabaseManagerPage}))),v2=x.lazy(()=>G(()=>import("./FileManagerPage-C-rIHN3H.js"),__vite__mapDeps([114,59,20,56,18,108,55,21,22,81,41,61,44,51,82])).then(t=>({default:t.FileManagerPage}))),w2=x.lazy(()=>G(()=>import("./EmailAccountsPage-1870Kbc8.js"),__vite__mapDeps([115,17,59,20,56,54,18,108,19,21,22,8,61,69,41,112,42,51,43,44,76])).then(t=>({default:t.EmailAccountsPage}))),x2=x.lazy(()=>G(()=>import("./EmailInboxPage-X7VqYdJY.js"),__vite__mapDeps([116,94,17,16,59,20,56,19,21,22,8,18,108,41,43,44,61,66,51,117,4])).then(t=>({default:t.EmailInboxPage}))),b2=x.lazy(()=>G(()=>import("./EmailSignaturesPage-C0v4L2vc.js"),__vite__mapDeps([118,94,17,16,74,18,108,73,69,41,117,25,4,66,51,44])).then(t=>({default:t.EmailSignaturesPage}))),S2=x.lazy(()=>G(()=>import("./EmailPage-DyNSK6Xx.js"),__vite__mapDeps([119,73,116,94,17,16,59,20,56,19,21,22,8,18,108,41,43,44,61,66,51,117,4,118,74,69,25])).then(t=>({default:t.EmailPage}))),k2=new Qx({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});function nr({children:t}){const{lang:e}=Fi(),{i18n:n}=qi();return x.useEffect(()=>{const r=e||"en";yr.includes(r)&&n.language!==r&&n.changeLanguage(r),document.documentElement.lang=r,document.documentElement.dir=Hc(r)?"rtl":"ltr"},[e,n]),d.jsx(d.Fragment,{children:t})}function C2(){const t=navigator.language.split("-")[0],e=yr.includes(t)?t:"en";return d.jsx(me,{to:`/${e}`,replace:!0})}const P2={us:"USD",ca:"CAD",za:"ZAR",gb:"GBP",au:"AUD",ae:"AED",sa:"AED",mx:"USD",es:"USD"};function qt({lang:t,country:e}){return x.useEffect(()=>{const n=P2[e.toLowerCase()];n&&localStorage.setItem("preferredCurrency",n)},[e]),d.jsx(me,{to:`/${t}`,replace:!0})}function E2(){return d.jsx(x.Suspense,{fallback:d.jsx(_A,{}),children:d.jsxs(ux,{children:[d.jsx(L,{path:"/",element:d.jsx(C2,{})}),d.jsxs(L,{path:"/:lang",element:d.jsx(nr,{children:d.jsx(fA,{})}),children:[d.jsx(L,{index:!0,element:d.jsx(DA,{})}),d.jsx(L,{path:"features",element:d.jsx(jA,{})}),d.jsx(L,{path:"pricing",element:d.jsx(OA,{})}),d.jsx(L,{path:"about",element:d.jsx(LA,{})}),d.jsx(L,{path:"contact",element:d.jsx(RA,{})}),d.jsx(L,{path:"blog",element:d.jsx(MA,{})}),d.jsx(L,{path:"blog/:slug",element:d.jsx(IA,{})}),d.jsx(L,{path:"terms",element:d.jsx(p2,{})}),d.jsx(L,{path:"cookies",element:d.jsx(h2,{})})]}),d.jsx(L,{path:"/en/us",element:d.jsx(qt,{lang:"en",country:"us"})}),d.jsx(L,{path:"/en/ca",element:d.jsx(qt,{lang:"en",country:"ca"})}),d.jsx(L,{path:"/en/za",element:d.jsx(qt,{lang:"en",country:"za"})}),d.jsx(L,{path:"/en/gb",element:d.jsx(qt,{lang:"en",country:"gb"})}),d.jsx(L,{path:"/en/au",element:d.jsx(qt,{lang:"en",country:"au"})}),d.jsx(L,{path:"/fr/ca",element:d.jsx(qt,{lang:"fr",country:"ca"})}),d.jsx(L,{path:"/es/mx",element:d.jsx(qt,{lang:"es",country:"mx"})}),d.jsx(L,{path:"/es/es",element:d.jsx(qt,{lang:"es",country:"es"})}),d.jsx(L,{path:"/ar/ae",element:d.jsx(qt,{lang:"ar",country:"ae"})}),d.jsx(L,{path:"/ar/sa",element:d.jsx(qt,{lang:"ar",country:"sa"})}),d.jsx(L,{path:"/:lang/aviva",element:d.jsx(nr,{children:d.jsx(f2,{})})}),d.jsx(L,{path:"/:lang/admin/login",element:d.jsx(nr,{children:d.jsx($A,{})})}),d.jsx(L,{path:"/:lang/admin/signup",element:d.jsx(nr,{children:d.jsx(zA,{})})}),d.jsx(L,{path:"/:lang/admin/forgot-password",element:d.jsx(nr,{children:d.jsx(FA,{})})}),d.jsx(L,{path:"/:lang/admin/reset-password",element:d.jsx(nr,{children:d.jsx(qA,{})})}),d.jsxs(L,{path:"/:lang/admin/dashboard",element:d.jsx(nr,{children:d.jsx(Be,{children:d.jsx(PA,{})})}),children:[d.jsx(L,{index:!0,element:d.jsx(UA,{})}),d.jsx(L,{path:"provisioning",element:d.jsx(BA,{})}),d.jsx(L,{path:"devices",element:d.jsx(VA,{})}),d.jsx(L,{path:"device-map",element:d.jsx(e2,{})}),d.jsx(L,{path:"groups",element:d.jsx(HA,{})}),d.jsx(L,{path:"policies",element:d.jsx(GA,{})}),d.jsx(L,{path:"apps",element:d.jsx(WA,{})}),d.jsx(L,{path:"logs",element:d.jsx(QA,{})}),d.jsx(L,{path:"sales",element:d.jsx(Be,{requireSystemAdmin:!0,children:d.jsx(u2,{})})}),d.jsx(L,{path:"profile",element:d.jsx(KA,{})}),d.jsx(L,{path:"subscription",element:d.jsx(ZA,{})}),d.jsx(L,{path:"admins",element:d.jsx(t2,{})}),d.jsx(L,{path:"notifications",element:d.jsx(r2,{})}),d.jsx(L,{path:"support",element:d.jsx(s2,{})}),d.jsx(L,{path:"support/:id",element:d.jsx(i2,{})}),d.jsx(L,{path:"admin-support",element:d.jsx(Be,{requireSystemAdmin:!0,children:d.jsx(o2,{})})}),d.jsx(L,{path:"contact-submissions",element:d.jsx(Be,{requireSuperAdmin:!0,children:d.jsx(a2,{})})}),d.jsx(L,{path:"newsletter-subscribers",element:d.jsx(Be,{requireSuperAdmin:!0,children:d.jsx(l2,{})})}),d.jsx(L,{path:"live-chat",element:d.jsx(Be,{requireSuperAdmin:!0,children:d.jsx(c2,{})})}),d.jsx(L,{path:"tenants",element:d.jsx(Be,{requireSystemAdmin:!0,children:d.jsx(JA,{})})}),d.jsx(L,{path:"plans",element:d.jsx(Be,{requireSystemAdmin:!0,children:d.jsx(YA,{})})}),d.jsx(L,{path:"promo-codes",element:d.jsx(Be,{requireSuperAdmin:!0,children:d.jsx(XA,{})})}),d.jsx(L,{path:"emails",element:d.jsx(Be,{requireSuperAdmin:!0,children:d.jsx(n2,{})})}),d.jsx(L,{path:"system-updates",element:d.jsx(Be,{requireSuperAdmin:!0,children:d.jsx(d2,{})})}),d.jsx(L,{path:"site-settings",element:d.jsx(Be,{requireSuperAdmin:!0,children:d.jsx(m2,{})})}),d.jsx(L,{path:"file-manager",element:d.jsx(Be,{requireSuperAdmin:!0,children:d.jsx(v2,{})})}),d.jsx(L,{path:"database",element:d.jsx(Be,{requireSuperAdmin:!0,children:d.jsx(y2,{})})}),d.jsx(L,{path:"server-health",element:d.jsx(Be,{requireSuperAdmin:!0,children:d.jsx(g2,{})})}),d.jsx(L,{path:"email-accounts",element:d.jsx(Be,{requireSuperAdmin:!0,children:d.jsx(w2,{})})}),d.jsx(L,{path:"email",element:d.jsx(S2,{})}),d.jsx(L,{path:"email-inbox",element:d.jsx(x2,{})}),d.jsx(L,{path:"email-signatures",element:d.jsx(b2,{})})]}),d.jsx(L,{path:"/features",element:d.jsx(me,{to:"/en/features",replace:!0})}),d.jsx(L,{path:"/pricing",element:d.jsx(me,{to:"/en/pricing",replace:!0})}),d.jsx(L,{path:"/about",element:d.jsx(me,{to:"/en/about",replace:!0})}),d.jsx(L,{path:"/contact",element:d.jsx(me,{to:"/en/contact",replace:!0})}),d.jsx(L,{path:"/blog",element:d.jsx(me,{to:"/en/blog",replace:!0})}),d.jsx(L,{path:"/terms",element:d.jsx(me,{to:"/en/terms",replace:!0})}
343),d.jsx(L,{path:"/cookies",element:d.jsx(me,{to:"/en/cookies",replace:!0})}),d.jsx(L,{path:"/login",element:d.jsx(me,{to:"/en/admin/login",replace:!0})}),d.jsx(L,{path:"/signup",element:d.jsx(me,{to:"/en/admin/signup",replace:!0})}),d.jsx(L,{path:"/forgot-password",element:d.jsx(me,{to:"/en/admin/forgot-password",replace:!0})}),d.jsx(L,{path:"/reset-password",element:d.jsx(me,{to:"/en/admin/reset-password",replace:!0})}),d.jsx(L,{path:"/admin/login",element:d.jsx(me,{to:"/en/admin/login",replace:!0})}),d.jsx(L,{path:"/admin/signup",element:d.jsx(me,{to:"/en/admin/signup",replace:!0})}),d.jsx(L,{path:"/admin/forgot-password",element:d.jsx(me,{to:"/en/admin/forgot-password",replace:!0})}),d.jsx(L,{path:"/admin/reset-password",element:d.jsx(me,{to:"/en/admin/reset-password",replace:!0})}),d.jsx(L,{path:"/admin/dashboard/*",element:d.jsx(me,{to:"/en/admin/dashboard",replace:!0})}),d.jsx(L,{path:"/dashboard",element:d.jsx(me,{to:"/en/admin/dashboard",replace:!0})}),d.jsx(L,{path:"/aviva",element:d.jsx(me,{to:"/en/aviva",replace:!0})}),d.jsx(L,{path:"*",element:d.jsx(me,{to:"/en",replace:!0})})]})})}function T2(){return d.jsx(Fg,{children:d.jsx(B1,{defaultTheme:"light",children:d.jsxs(Kx,{client:k2,children:[d.jsx(Jb,{richColors:!0,position:"top-right"}),d.jsx(NA,{}),d.jsx(vx,{children:d.jsx(E2,{})})]})})})}gg(document.getElementById("root")).render(d.jsx(x.StrictMode,{children:d.jsx(T2,{})}));export{tT as $,ME as A,Io as B,ga as C,OE as D,zi as E,ty as F,Dp as G,R2 as H,ai as I,aA as J,qE as K,je as L,Op as M,me as N,jE as O,QE as P,KE as Q,Np as R,XE as S,eT as T,Lp as U,zE as V,rs as W,pa as X,SA as Y,Oo as Z,nT as _,qi as a,WE as a0,HE as a1,_p as a2,ZE as a3,mn as a4,La as a5,Mx as a6,Ax as a7,j2 as a8,jc as a9,eu as aA,jp as aB,Nt as aa,Ra as ab,Ex as ac,Tx as ad,Dc as ae,Ng as af,Ux as ag,Dx as ah,Ke as ai,Ti as aj,Hx as ak,O2 as al,L2 as am,gy as an,hy as ao,wA as ap,N as aq,mg as ar,rv as as,hw as at,ry as au,eS as av,LE as aw,Ap as ax,$E as ay,FE as az,ce as b,Q as c,YE as d,Tp as e,sA as f,iA as g,oA as h,my as i,d as j,Dy as k,id as l,IE as m,RE as n,py as o,He as p,jo as q,x as r,JE as s,Nl as t,Fi as u,D2 as v,_2 as w,xs as x,VE as y,kl as z};
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.