/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js:217:In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})(u.toLowerCase().replace(/\s+/g,"").split(","));!(d=p()).done;){var m,h=d.value.split("=",2);f[h[0]]=(m=h[1])==null||m}return f})(t),n=r["max-age"],s=r["max-stale"],i=r["min-fresh"],o=r["s-maxage"],l=r["stale-if-error"],c=r["stale-while-revalidate"];return fu(r.immutable)&&(e.immutable=!0),Lg(n)&&(e.maxAge=Ng(n)),Lg(s)&&(e.maxStale=Ng(s)),Lg(i)&&(e.minFresh=Ng(i)),fu(r["must-revalidate"])&&(e.mustRevalidate=!0),fu(r["must-understand"])&&(e.mustUnderstand=!0),fu(r["no-cache"])&&(e.noCache=!0),fu(r["no-store"])&&(e.noStore=!0),fu(r["no-transform"])&&(e.noTransform=!0),fu(r["only-if-cached"])&&(e.onlyIfCached=!0),fu(r.private)&&(e.private=!0),fu(r["proxy-revalidate"])&&(e.proxyRevalidate=!0),fu(r.public)&&(e.public=!0),Lg(o)&&(e.sMaxAge=Ng(o)),Lg(l)&&(e.staleIfError=Ng(l)),Lg(c)&&(e.staleWhileRevalidate=Ng(c)),e}var kTe=Symbol();function MTe(){var t,e,r=new Promise(function(n,s){t=n,e=s});return r.resolve=t,r.reject=e,r[kTe]=1,r}function PTe(t,e){return t>e?1:-1}function Hw(t,e){var r=5381;if(typeof t=="object"&&t!==null&&(t.toString===Object.prototype.toString||t.toString===Array.prototype.toString)){e||(e=new WeakSet);for(var n=Object.keys(t).sort(PTe),s=0;s<n.length;s++){var i=n[s],o=t[i];if(r=33*r^Hw(i,e),typeof o=="object"&&o!==null&&(t.toString===Object.prototype.toString||t.toString===Array.prototype.toString)){if(e.has(o))continue;e.add(o)}r=33*r^Hw(o,e)}return 33*r^Hw(t.constructor,e)}var l=typeof t;try{t instanceof Date?l+=t.getTime():l+=String(t)}catch{l+=String(Object.assign({},t))}for(var c=0;c<l.length;c++)r=33*r^l.charCodeAt(c);return r}const Vi={IfModifiedSince:"if-modified-since",LastModified:"last-modified",IfNoneMatch:"if-none-match",CacheControl:"cache-control",Pragma:"pragma",ETag:"etag",Expires:"expires",Age:"age",XAxiosCacheEtag:"x-axios-cache-etag",XAxiosCacheLastModified:"x-axios-cache-last-modified",XAxiosCacheStaleIfError:"x-axios-cache-stale-if-error"},jTe=(t,e)=>{if(!t)return"not enough headers";const r=t[Vi.CacheControl];if(r){const s=oie(String(r));if(s.noCache||s.noStore||e==="server"&&s.private)return"dont cache";if(s.immutable)return{cache:1e3*60*60*24*365};if(s.maxAge!==void 0){const i=t[Vi.Age];return{cache:i?(s.maxAge-Number(i))*1e3:s.maxAge*1e3,stale:s.maxStale!==void 0?s.maxStale*1e3:s.staleWhileRevalidate!==void 0?s.staleWhileRevalidate*1e3:void 0}}}const n=t[Vi.Expires];if(n){const s=Date.parse(String(n))-Date.now();return s>=0?{cache:s}:"dont cache"}return"not enough headers"};function Hb(){return Hb=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Hb.apply(null,arguments)}async function TTe(t,e){if(typeof e=="function")return e(t);const{statusCheck:r,responseMatch:n,containsHeaders:s}=e;if(r&&!await r(t.status)||n&&!await n(t))return!1;if(s)for(const[o,l]of Object.entries(s)){var i;if(!await l((i=t.headers[o.toLowerCase()])!=null?i:t.headers[o]))return!1}return!0}function $z(t,e){return t instanceof RegExp?(t.lastIndex=0,t.test(e)):e.includes(t)}function ETe(t){return t?e=>t(e)||e===304:e=>e>=200&&e<300||e===304}function R6(t="get",e=[]){return t=t.toLowerCase(),e.some(r=>r===t)}function RTe(t,e){e.headers||(e.headers={});const{etag:r,modifiedSince:n}=e.cache;if(r){var s;const i=r===!0?(s=t.data)==null?void 0:s.headers[Vi.ETag]:r;i&&(e.headers[Vi.IfNoneMatch]=i)}n&&(e.headers[Vi.IfModifiedSince]=n===!0?t.data.headers[Vi.LastModified]||new Date(t.createdAt).toUTCString():n.toUTCString())}function ITe(t,e){return t.status===304&&e?(t.cached=!0,t.data=e.data,t.status=e.status,t.statusText=e.statusText,t.headers=Hb({},e.headers,t.headers),e):{data:t.data,status:t.status,statusText:t.statusText,headers:t.headers}}function DTe(t){const e=async r=>{if(r.id=t.generateKey(r),r.cache===!1)return r;if(r.cache=Hb({},t.defaults.cache,r.cache),typeof r.cache.cachePredicate=="object"&&r.cache.cachePredicate.ignoreUrls&&r.url){for(const _ of r.cache.cachePredicate.ignoreUrls)if($z(_,r.url))return r}if(typeof r.cache.cachePredicate=="object"&&r.cache.cachePredicate.allowUrls&&r.url){let _=!1;for(const g of r.cache.cachePredicate.allowUrls)if($z(g,r.url)){_=!0;break}if(!_)return r}if(r.cache.cacheTakeover){var n,s,i,o,l,c,u,d,f;(i=(n=r.headers)[s=Vi.CacheControl])!=null||(n[s]="no-cache, no-store, must-revalidate"),(c=(o=r.headers)[l=Vi.Pragma])!=null||(o[l]="no-cache"),(f=(u=r.headers)[d=Vi.Expires])!=null||(u[d]="0")}if(!R6(r.method,r.cache.methods))return r;let p=await t.storage.get(r.id,r);const m=r.cache.override;e:if(p.state==="empty"||p.state==="stale"||p.state==="must-revalidate"||m){if(t.waiting.has(r.id)&&!m&&(p=await t.storage.get(r.id,r),p.state!=="empty"&&p.state!=="must-revalidate"))break e;const _=MTe();return t.waiting.set(r.id,_),_.catch(()=>{}),await t.storage.set(r.id,{state:"loading",previous:m?p.data?"stale":"empty":p.state,data:p.data,createdAt:m&&!p.createdAt?Date.now():p.createdAt},r),(p.state==="stale"||p.state==="must-revalidate")&&RTe(p,r),r.validateStatus=ETe(r.validateStatus),(p.state==="stale"||p.data&&p.state!=="must-revalidate")&&await(r.cache.hydrate==null?void 0:r.cache.hydrate(p)),r}let h;if(p.state==="loading"){const _=t.waiting.get(r.id);if(!_)return p.data&&await(r.cache.hydrate==null?void 0:r.cache.hydrate(p)),r;try{await _;const g=await t.storage.get(r.id,r);if(!g.data)return e(r);h=g.data}catch{return p.data&&await(r.cache.hydrate==null?void 0:r.cache.hydrate(p)),e(r)}}else h=p.data;return r.transformResponse=void 0,r.adapter=function(){return Promise.resolve({config:r,data:h.data,headers:h.headers,status:h.status,statusText:h.statusText,cached:!0,stale:p.previous==="stale",id:r.id})},r};return{onFulfilled:e}}async function $Te(t,e,r){if(typeof r=="function")return r(e);for(const[n,s]of Object.entries(r)){if(s==="delete"){await t.remove(n,e.config);continue}const i=await t.get(n,e.config);if(i.state==="loading")continue;const o=await s(i,e);if(o==="delete"){await t.remove(n,e.config);continue}o!=="ignore"&&await t.set(n,o,e.config)}}function OTe(t){const e=async(s,i,o)=>{o&&await t.storage.remove(s,i);const l=t.waiting.get(s);l&&(l.reject(),t.waiting.delete(s))};return{onFulfilled:async s=>{var i;if(!(s!=null&&s.config))throw s;s.id=s.config.id,(i=s.cached)!=null||(s.cached=!1);const o=s.config,l=o.cache;if(s.cached)return s;if(!l)return s.cached=!1,s;if(l.update&&await $Te(t.storage,s,l.update),!R6(o.method,l.methods))return s;const c=await t.storage.get(s.id,o);if(c.state!=="loading")return s;if(!c.data&&!await TTe(s,l.cachePredicate))return await e(s.id,o,!0),s;for(const h of Object.keys(s.headers))h.startsWith("x-axios-cache")&&delete s.headers[h];l.etag&&l.etag!==!0&&(s.headers[Vi.XAxiosCacheEtag]=l.etag),l.modifiedSince&&(s.headers[Vi.XAxiosCacheLastModified]=l.modifiedSince===!0?"use-cache-timestamp":l.modifiedSince.toUTCString());let u=l.ttl||-1,d;if(l.interpretHeader){const h=t.headerInterpreter(s.headers,t.location);if(h==="dont cache")return await e(s.id,o,!0),s;h!=="not enough headers"&&(typeof h=="number"?u=h:(u=h.cache,d=h.stale))}const f=ITe(s,c.data);typeof u=="function"&&(u=await u(s)),l.staleIfError&&(s.headers[Vi.XAxiosCacheStaleIfError]=String(u));const p={state:"cached",ttl:u,staleTtl:d,createdAt:Date.now(),data:f};await t.storage.set(s.id,p,o);const m=t.waiting.get(s.id);return m&&(m.resolve(),t.waiting.delete(s.id)),s},onRejected:async s=>{if(!s.isAxiosError||!s.config)throw s;const i=s.config,o=i.id,l=i.cache,c=s.response;if(!l||!o)throw s;if(!R6(i.method,l.methods))throw await e(o,i,!0),s;const u=await t.storage.get(o,i);if(u.state!=="loading"||u.previous!=="stale")throw await e(o,i,s.code!=="ERR_CANCELED"||s.code==="ERR_CANCELED"&&u.state!=="cached"),s;if(l.staleIfError){const d=String(c?.headers[Vi.CacheControl]),f=d&&oie(d).staleIfError,p=typeof l.staleIfError=="function"?await l.staleIfError(c,u,s):l.staleIfError===!0&&f?f*1e3:l.staleIfError;if(p===!0||typeof p=="number"&&u.createdAt+p>Date.now()){await t.storage.set(o,{state:"stale",createdAt:Date.now(),data:u.data},i);const m=t.waiting.get(o);return m&&(m.resolve(),t.waiting.delete(o)),{cached:!0,stale:!0,config:i,id:o,data:u.data.data,headers:u.data.headers,status:u.data.status,statusText:u.data.statusText}}}throw await e(o,i,!0),s}}}const LTe=t=>!!t&&!!t["is-storage"];function aie(t){const e=t.data.headers;return Vi.ETag in e||Vi.LastModified in e||Vi.XAxiosCacheEtag in e||Vi.XAxiosCacheLastModified in e}function NTe(t){return String(t.data.headers[Vi.CacheControl]).includes("must-revalidate")}function lie(t){return aie(t)?!0:t.state==="cached"&&t.staleTtl!==void 0&&Math.abs(Date.now()-(t.createdAt+t.ttl))<=t.staleTtl}function I6(t){return t.ttl!==void 0&&t.createdAt+t.ttl<=Date.now()}function FTe({set:t,find:e,remove:r,clear:n}){return{"is-storage":1,set:t,remove:r,clear:n,get:async(s,i)=>{let o=await e(s,i);if(!o)return{state:"empty"};if(o.state==="empty"||o.state==="loading"||o.state==="must-revalidate")return o;if(o.state==="cached"){if(!I6(o))return o;if(!lie(o))return await r(s,i),{state:"empty"};if(o={state:"stale",createdAt:o.createdAt,data:o.data,ttl:o.staleTtl!==void 0?o.staleTtl+o.ttl:void 0},await t(s,o,i),NTe(o))return Hb({},o,{state:"must-revalidate"})}return!I6(o)||aie(o)?o:(await r(s,i),{state:"empty"})}}}const Oz=typeof structuredClone=="function"?structuredClone:t=>JSON.parse(JSON.stringify(t));function cie(t=!1,e=!1,r=!1){const n=FTe({set:(s,i)=>{if(r){let o=Object.keys(n.data);if(o.length>=r)for(n.cleanup(),o=Object.keys(n.data);o.length>=r;)delete n.data[o.shift()]}n.data[s]=t==="double"?Oz(i):i},remove:s=>{delete n.data[s]},find:s=>{const i=n.data[s];return t&&i!==void 0?Oz(i):i},clear:()=>{n.data=Object.create(null)}});return n.data=Object.create(null),n.cleanup=()=>{const s=Object.keys(n.data);let i=-1,o,l;for(;++i<s.length;){if(l=s[i],o=n.data[l],o.state==="empty"){n.remove(l);continue}o.state==="cached"&&I6(o)&&!lie(o)&&n.remove(l)}},e&&(n.cleaner=setInterval(n.cleanup,e)),n}const Lz=/^\/|\/$/g;function uie(t){return e=>{if(e.id)return e.id;const r=t(e);return typeof r=="string"||typeof r=="number"?`${r}`:`${Hw(r)}`}}const UTe=uie(({baseURL:t,url:e,method:r,params:n,data:s})=>(t!==void 0?t=t.replace(Lz,""):t="",e!==void 0?e=e.replace(Lz,""):e="",r!==void 0?r=r.toLowerCase():r="get",{url:t+(t&&e?"/":"")+e,params:n,method:r,data:s}));function BTe(t,e={}){var r,n,s,i,o,l,c,u;const d=t;if(d.defaults.cache)throw new Error("setupCache() should be called only once");if(d.location=typeof window>"u"?"server":"client",d.storage=e.storage||cie(),!LTe(d.storage))throw new Error("Use buildStorage() function");return d.waiting=e.waiting||new Map,d.generateKey=e.generateKey||UTe,d.headerInterpreter=e.headerInterpreter||jTe,d.requestInterceptor=e.requestInterceptor||DTe(d),d.responseInterceptor=e.responseInterceptor||OTe(d),d.debug=e.debug||function(){},d.defaults.cache={update:e.update||{},ttl:(r=e.ttl)!=null?r:1e3*60*5,methods:e.methods||["get","head"],cachePredicate:e.cachePredicate||{statusCheck:f=>[200,203,300,301,302,404,405,410,414,501].includes(f)},etag:(n=e.etag)!=null?n:!0,modifiedSince:(s=e.modifiedSince)!=null?s:e.etag===!1,interpretHeader:(i=e.interpretHeader)!=null?i:!0,cacheTakeover:(o=e.cacheTakeover)!=null?o:!0,staleIfError:(l=e.staleIfError)!=null?l:!0,override:(c=e.override)!=null?c:!1,hydrate:(u=e.hydrate)!=null?u:void 0},d.interceptors.request.use(d.requestInterceptor.onFulfilled,d.requestInterceptor.onRejected),d.interceptors.response.use(d.responseInterceptor.onFulfilled,d.responseInterceptor.onRejected),d}class Qy extends Error{}Qy.prototype.name="InvalidTokenError";function zTe(t){return decodeURIComponent(atob(t).replace(/(.)/g,(e,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function qTe(t){let e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return zTe(e)}catch{return atob(e)}}function VTe(t,e){if(typeof t!="string")throw new Qy("Invalid token specified: must be a string");e||(e={});const r=e.header===!0?0:1,n=t.split(".")[r];if(typeof n!="string")throw new Qy(`Invalid token specified: missing part #${r+1}`);let s;try{s=qTe(n)}catch(i){throw new Qy(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(s)}catch(i){throw new Qy(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}var mn;(function(t){t[t.UNEXPECTED_ERROR=500]="UNEXPECTED_ERROR",t[t.BOOT=501]="BOOT",t[t.BAD_GATEWAY=502]="BAD_GATEWAY",t[t.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",t[t.BAD_REQUEST=400]="BAD_REQUEST",t[t.UNAUTHORIZED=401]="UNAUTHORIZED",t[t.FORBIDDEN=403]="FORBIDDEN",t[t.NOT_FOUND=404]="NOT_FOUND",t[t.REMOTE_NOT_FOUND=444]="REMOTE_NOT_FOUND"})(mn||(mn={}));function Ff({message:t,status:e}){return new Response(t,{status:e})}function Li({type:t,data:e}){switch(t){case mn.BOOT:return Ff({message:"Cannot boot application",status:t});case mn.UNAUTHORIZED:return Ff({message:`You are not authorized to view this content (required permissions: ${e})`,status:t});case mn.FORBIDDEN:return Ff({message:`You are not allowed to proceed${e&&` (required permissions: ${e})`}`,status:t});case mn.NOT_FOUND:return Ff({message:"Page not found!",status:t});case mn.REMOTE_NOT_FOUND:return Ff({message:"Resource not found / Service is currently unavailable",status:t});case mn.UNEXPECTED_ERROR:return Ff({message:"Something went wrong",status:t});case mn.BAD_REQUEST:return Ff({message:"Bad Request",status:t});case mn.SERVICE_UNAVAILABLE:case mn.BAD_GATEWAY:default:return Ff({message:`Service is currently unavailable${e&&` (unavailable services ${e})`}`,status:t})}}function xt(t){return!!(t&&typeof t=="object"&&"error"in t)}function HTe(t,e){let r=null,n=null,s=null;return typeof t=="string"&&(r=t),typeof t=="object"&&"detail"in t&&typeof t.detail=="string"&&(r=t.detail),typeof t=="object"&&"details"in t&&typeof t.details=="string"&&(r=t.details),typeof t=="object"&&"errors"in t&&t.errors&&(n=t.errors),typeof t!="string"&&"title"in t&&t.title!==void 0&&(s=t.title),{error:{title:s,detail:r,status:e,errors:n}}}const O0="EMS-SITE-NODE";async function die(){return De({options:{url:"/core/pls/api/1/site/info",method:"GET",node:void 0}})}const Zd="/core/pls/api/1/auth",F_="EMS-ACCESS-TOKEN",U_="EMS-REFRESH-TOKEN",GTe="admin";var _i;(function(t){t.local="local",t.radius="radius",t.ldap="ldap",t.openid="openid"})(_i||(_i={}));const WTe=Object.keys(_i);var bC;(function(t){t.backup="backup",t.configuration="configuration",t.management="management",t.monitoring="monitoring",t.provisioning="provisioning",t.transport_keys="transport_keys",t.operator_codes="operator_codes",t.lawful_interception="lawful_interception",t.milenage_constants="milenage_constants"})(bC||(bC={}));var Sh;(function(t){t.ro="ro",t.rw="rw"})(Sh||(Sh={}));const YTe=()=>{const t=window.location.pathname;let e="/logout";return["/logout","/login"].includes(t)||(e=`${e}?returnUrl=${t}`),e};function fie(t){const{access_token:e,refresh_token:r}=t;localStorage.setItem(F_,e),localStorage.setItem(U_,r)}async function KTe(t){return De({options:{url:`${Zd}/login`,method:"POST",data:JSON.stringify(t),node:void 0},isAuth:!1})}function QTe(){localStorage.removeItem(U_),localStorage.removeItem(F_),localStorage.removeItem(O0)}async function ZTe(){const t=localStorage.getItem(U_);await De({options:{url:`${Zd}/logout`,method:"POST",node:void 0,data:{refresh_token:t||""},cache:{methods:["post"],ttl:_L}},isAuth:!1}),QTe()}function Gb(){const t=YTe();throw new Response(null,{headers:{Location:t},status:302})}async function gL(){const t=localStorage.getItem(F_),e=localStorage.getItem(U_);(!t||!e)&&Gb();const r=await De({options:{url:`${Zd}/refresh_token`,method:"POST",data:{refresh_token:e},node:void 0,cache:{methods:["post"],ttl:_L}},isAuth:!1});if(xt(r))throw Gb();return localStorage.setItem(F_,r.access_token),localStorage.setItem(U_,r.refresh_token),r}async function XTe(t,e){return De({options:{url:`${Zd}/revoke_user_tokens`,method:"POST",data:JSON.stringify({username:t,refresh_token:e})}})}async function JTe(){return De({options:{url:`${Zd}/openid/authorization`,method:"GET",node:void 0},isAuth:!1})}async function e4e(t){return De({options:{url:`${Zd}/openid/authenticate`,method:"POST",data:JSON.stringify(t),node:void 0},isAuth:!1})}async function t4e({values:t}){return De({options:{url:`${Zd}/change_password`,method:"POST",data:JSON.stringify(t)}})}async function r4e(t,e,r){const n=new URLSearchParams;return n.set("username",t),e&&n.set("pagination_token",e),r&&n.set("max_results",r.toString()),De({options:{url:`${Zd}/audits?${n.toString()}`,method:"GET"}})}function Ih(){const t=localStorage.getItem(F_);if(t)try{return VTe(t)}catch{return null}return null}function pie(){return Ih()?.permissions??null}async function n4e(){const t=`${Zd}/config`;return De({options:{url:t,method:"GET"}})}const _L=2e3,s4e=1e3*10,i4e=cie(!1,s4e,!1),o4e=Mi.create(),a4e=BTe(o4e,{cacheTakeover:!1,interpretHeader:!1,ttl:_L,storage:i4e,generateKey:uie(t=>{let e="";return t.headers&&("get"in t.headers&&typeof t.headers.get=="function"?e=String(t.headers.get("x-ath-node")??""):e=String(t.headers["x-ath-node"]??"")),{method:t.method,url:t.url,xAthNode:e}})});var Od;(function(t){t.SSE="sse",t.WS="ws",t.FETCH="fetch"})(Od||(Od={}));class B_ extends Response{}function mie(t){const e=localStorage.getItem(F_);return t&&e?{Authorization:`Bearer ${e}`}:null}async function Nz({options:{node:t,...e},isAuth:r=!0}){try{return(await a4e.request({...e,withCredentials:!0,headers:{accept:"application/json","content-type":"application/json",...mie(r),...e.headers,...t&&{"x-ath-node":t}}})).data}catch(n){const s=n.response;if(!s)throw n;const{status:i,data:o=null,statusText:l}=s;throw new B_(JSON.stringify(o),{status:i,statusText:l})}}async function hie(t){const e=new AbortController;let r=!1;function n(){r=!0}function s(){return r}return{stream:await new Promise((o,l)=>{const c=new ReadableStream({start(f){async function p(){return c}async function m(g){(await p()).locked&&f.enqueue(g)}async function h(){const g=await p();n(),o(g)}async function _(g){(await p()).cancel(),l(g)}t(m,h,_,s,e)},cancel(){e.abort()}}),u=setInterval(d,1e3);function d(){!c.locked&&r&&(c.cancel(),clearInterval(u))}return c}),abortController:e}}async function gie({url:t,headers:e,node:r,isAuth:n,abortController:s,enqueue:i,isReady:o,resolveStream:l,rejectStream:c}){try{await KPe(t,{method:"GET",headers:{"content-type":"text/plain",...mie(n),...e,...r&&{"x-ath-node":r}},signal:s.signal,onmessage:async u=>{o()&&i(u.data)},onopen:async u=>{if(!u.ok)throw u;console.debug("sse stream OPENED",t),l()},onerror(u){console.debug("sse stream ERRORED",t);const d=new B_(u.body,{headers:u.headers,status:u.status,statusText:u.statusText});if(!o())throw c(d),d;if(u.status===401)throw d}})}catch(u){if(u instanceof B_&&u.status===401){console.error("Unauthorized");try{gL().then(()=>{gie({url:t,headers:e,node:r,isAuth:n,abortController:s,enqueue:i,isReady:o,resolveStream:l,rejectStream:c})}),console.debug("Token refreshed. Restarting SSE...")}catch(d){console.error("Failed to refresh token",d)}}}}async function l4e({options:{url:t,headers:e,node:r},isAuth:n=!0}){return hie(async(s,i,o,l,c)=>{c.signal.onabort=()=>{console.debug("sse stream ABORTED",t)},await gie({url:t,headers:e,node:r,isAuth:n,abortController:c,enqueue:s,isReady:l,resolveStream:i,rejectStream:o})})}async function c4e({options:{url:t}}){return hie(async(e,r,n,s,i)=>{let o;i.signal.onabort=()=>{console.debug("ws stream ABORTED",t),o&&o.close()};function l(){o=new WebSocket(t);const c=new B_(JSON.stringify({detail:"Websocket errored"}),{status:500,headers:{"Content-Type":"application/problem+json; charset=utf-8"}});o.addEventListener("open",async()=>{r()}),o.addEventListener("message",async u=>{s()&&e(u.data)}),o.addEventListener("close",async u=>{console.debug("ws stream CLOSED",t),u.code>1e3&&!i.signal.aborted?setTimeout(()=>{l()},1e3):n(c)}),o.addEventListener("error",()=>{console.debug("ws stream ERRORED",t),s()||n(c)})}l()})}async function _ie(t,e=!1){const r=t;let n=localStorage.getItem(O0)??void 0;"node"in r.options&&(n=r.options.node),r.isAuth===void 0&&(r.isAuth=!0);try{const s=r.options.url;if(r.type===Od.SSE)return await l4e({...r,options:{node:n,...r.options}});if(r.type===Od.WS)return await c4e({...r,options:{node:n,...r.options}});if(!r.options.method||r.options.method==="GET"){const i=r.options.method;return await Nz({...r,options:{node:n,...r.options,method:i,url:s}})}else{const i=r.options.method;return await Nz({...r,options:{node:n,...r.options,method:i,url:s}})}}catch(s){if(!(s instanceof B_))throw s;const{status:i}=s;if(i===401&&r.isAuth&&!e)return await gL(),_ie(r,!0);throw s}}async function De(t){try{return await _ie(t)}catch(e){if(!(e instanceof B_))throw e;const{status:r}=e;let n=(t.type===Od.FETCH||!t.type)&&(!t.options.method||t.options.method==="GET")||t.type===Od.WS||t.type===Od.SSE;"mustThrowError"in t&&t.mustThrowError&&(n=t.mustThrowError);let s=r;if(r===404&&(s=mn.REMOTE_NOT_FOUND),n)throw Li({type:s});{const i=await e.json();return HTe(i,s)}}}function vie(t,e){const r=he.c(9);let n;r[0]===Symbol.for("react.memo_cache_sentinel")?(n=[],r[0]=n):n=r[0];const[s,i]=I.useState(n);let o;r[1]===Symbol.for("react.memo_cache_sentinel")?(o=[],r[1]=o):o=r[1];const l=I.useRef(o),c=I.useRef(null);let u;r[2]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{c.current&&c.current.releaseLock()},r[2]=u):u=r[2];const d=u;let f,p;r[3]!==e||r[4]!==t.stream?(f=()=>(c.current=t.stream.getReader(),async function(){if(c.current)for(;;)try{const{value:g}=await c.current.read();if(g){const y=JSON.parse(g);e?l.current=[...l.current.slice(-e+1),y]:l.current.push(y),i([...l.current])}}catch{break}}(),()=>{d(),l.current=[],i([])}),p=[t.stream,e,d],r[3]=e,r[4]=t.stream,r[5]=f,r[6]=p):(f=r[5],p=r[6]),I.useEffect(f,p);let m;return r[7]!==s?(m=[s,d],r[7]=s,r[8]=m):m=r[8],m}var Tu;(function(t){t.STARTED="started",t.STOPPED="stopped",t.DISABLED="disabled"})(Tu||(Tu={}));var Bl;(function(t){t.START="start",t.STOP="stop",t.RESTART="restart",t.ENABLE="enable",t.DISABLE="disable",t.ENABLE_AUTOSTART="enable-autostart",t.DISABLE_AUTOSTART="disable-autostart",t.RESET="reset"})(Bl||(Bl={}));var xC;(function(t){t.PS="ps",t.NF="nf"})(xC||(xC={}));var ue;(function(t){t.AAA="aaa",t.AMF="amf",t.AUSF="ausf",t.BMSC="bmsc",t.CHF="chf",t.DRA="dra",t.DSM="dsm",t.EIR="eir",t.MME="mme",t.NCM="ncm",t.NRF="nrf",t.PCF="pcf",t.SGWC="sgwc",t.SMF="smf",t.SMSF="smsf",t.UDM="udm",t.UDR="udr",t.UPF="upf",t.ALERTMANAGER="alertmanager",t.EMS_BACKEND="ems-backend",t.EMS_FRONTEND="ems-frontend",t.FLUENTBIT="fluent-bit",t.GRAFANA="grafana",t.GATEWAYD="gatewayd",t.LICENSED="licensed",t.NODE_EXPORTER="node-exporter",t.PLS="pls",t.PROMETHEUS="prometheus",t.SWUPDATE="swupdate",t.TERMINAL="webconsole"})(ue||(ue={}));function _y(t){return t!==void 0&&t.name!==void 0&&t.action!==void 0}function yie(t){return t.filter(e=>e.state===Tu.STARTED)}function Ds({services:t,name:e}){return t.find(s=>s.name===e)?.state===Tu.STARTED}function u4e({services:t,activeServices:e,partial:r=!1}){return Array.isArray(e)?r?e.some(n=>Ds({services:t,name:n})):e.every(n=>Ds({services:t,name:n})):Ds({services:t,name:e})}async function vL(){return De({options:{url:"/core/pls/api/1/services",method:"GET",id:"service-status"}})}async function d4e({name:t,action:e}){const r=`/core/pls/api/1/services/${t}/${e}`;return De({options:{url:r,method:"POST",cache:{update:{"service-status":"delete"}}}})}async function f4e({name:t}){const e=await vL();let r=!1;return"error"in e||(r=Ds({services:e,name:t})),r}ue.UDR;ue.AMF,Bl.ENABLE;Bl.ENABLE;var Ni=zhe();const bie=Pi(Ni);async function xie(t){const e=`/core/${t}/api/1/mgmt/config/logs`;return De({options:{url:e,method:"GET"}})}async function p4e({nf:t,logsConfig:e}){const r=`/core/${t}/api/1/mgmt/config/logs`;return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}async function Sie(t){const e=`/core/${t}/api/1/mgmt/config/logs_metadata`;return(await De({options:{url:e,method:"GET"}})).map(n=>n.toUpperCase())}async function yL(){return(await vL()).filter(e=>e.mgmt===!0&&e.state===Tu.STARTED)}async function m4e(){const t=await yL(),e=await Promise.all(t.map(({name:r})=>Sie(r)));return[...new Set(e.flat())].sort()}async function h4e(){const t=await yL();return(await Promise.all(t.map(({name:r})=>Promise.allSettled([xie(r),Sie(r)])))).reduce((r,[n,s],i)=>{if(n.status==="fulfilled"){const o=t[i].name,l=n.value,c=s.status==="fulfilled"?s.value:[];return[...r,{service:o,config:l,metadata:c}]}return r},[])}async function g4e(){const t=await yL(),e=await Promise.all(t.map(({name:n})=>xie(n)));let r=0;return e.forEach(n=>{n.exceptions?.length&&(r+=n.exceptions.length)}),r}const wie=["CODE_FILE","CODE_FUNC","CODE_LINE","CONTAINER_ID","CONTAINER_ID_FULL","CONTAINER_NAME","PRIORITY","SYSLOG_FACILITY","SYSLOG_IDENTIFIER","_BOOT_ID","_CAP_EFFECTIVE","_COMM","_EXE","_GID","_HOSTNAME","_MACHINE_ID","_PID","_STREAM_ID","_SYSTEMD_CGROUP","_SYSTEMD_INVOCATION_ID","_SYSTEMD_SLICE","_SYSTEMD_UNIT","_TRANSPORT"];function mp(t){const e=new Date(parseInt(t)/1e3).toISOString();return`${ai.utc(e).format("YYYY-MM-DD HH:mm:ss.SSS")} UTC`}function z_(t){const[e,...r]=t.split("=");return[e,r.join("=")]}function Cie(t){return Ni.uniq(t.filter(e=>!!e).map(e=>{const[r]=z_(e);return r})).sort()}var Um;(function(t){t[t.USER=0]="USER",t[t.TRUSTED=1]="TRUSTED",t[t.ADDRESS=2]="ADDRESS"})(Um||(Um={}));function _4e(t){return!Aie(t)&&!bL(t)}function Aie(t){return t.startsWith("_")&&!bL(t)}function bL(t){return t.startsWith("__")}var ii;(function(t){t.EMERGENCY="emergency",t.ALERT="alert",t.CRITICAL="critical",t.ERROR="error",t.WARNING="warning",t.NOTICE="notice",t.INFO="info",t.DEBUG="debug"})(ii||(ii={}));const SC=[ii.EMERGENCY,ii.ALERT,ii.CRITICAL,ii.ERROR,ii.WARNING,ii.NOTICE,ii.INFO,ii.DEBUG],v4e=SC.map((t,e)=>({label:t,value:e.toString()}));function q_(t){const e=parseInt(t);return isNaN(e)?t:SC[parseInt(t)]||t}async function kie({numEntries:t,numSkip:e=0,cursor:r,boot:n,fields:s,stream:i,grep:o,node:l,since:c,until:u}={}){const d=new URLSearchParams;n&&d.set("boot","true"),o&&d.set("grep",o),s&&s.forEach(m=>{const[h,_]=z_(m);_!==""&&d.append(h,_)});let f=`entries=${r}:${e}:${t}`;i&&(d.set("follow","true"),f="entries=:-1:2147483646"),(c||u)&&(f=`realtime=${e&&e<0?"":c}:${u}:${e}:${t}`);const p=`/gatewayd/entries${d.toString()!==""?"?"+d:""}`;if(i)return await De({type:Od.SSE,options:{url:p,headers:{Range:f}}});{const m=await De({options:{...!!l&&{node:l},url:p,method:"GET",headers:{Range:f},cache:!1}});let h=[];return typeof m=="string"?h=m.split(`
/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js:240:`+Be.prev}function $t(Ee,Be){var qt=fe(Ee),ar=[];if(qt){ar.length=Ee.length;for(var hr=0;hr<Ee.length;hr++)ar[hr]=xe(Ee,hr)?Be(Ee[hr],Ee):""}var ir=typeof D=="function"?D(Ee):[],cr;if(N){cr={};for(var kr=0;kr<ir.length;kr++)cr["$"+ir[kr]]=ir[kr]}for(var Rr in Ee)xe(Ee,Rr)&&(qt&&String(Number(Rr))===Rr&&Rr<Ee.length||N&&cr["$"+Rr]instanceof Symbol||(k.call(/[^\w$]/,Rr)?ar.push(Be(Rr,Ee)+": "+Be(Ee[Rr],Ee)):ar.push(Rr+": "+Be(Ee[Rr],Ee))));if(typeof D=="function")for(var Ut=0;Ut<ir.length;Ut++)U.call(Ee,ir[Ut])&&ar.push("["+Be(ir[Ut])+"]: "+Be(Ee[ir[Ut]],Ee));return ar}return vT}var yT,pV;function DA(){return pV||(pV=1,yT=function(e){return typeof e=="string"||typeof e=="symbol"}),yT}var bT,mV;function Dp(){return mV||(mV=1,bT=function(e){return!!e&&(typeof e=="function"||typeof e=="object")}),bT}var xT,hV;function BRe(){if(hV)return xT;hV=1;var t=wn(),e=URe(),r=DA(),n=Dp();return xT=function(i,o){if(!n(i))throw new t("Assertion failed: Type(O) is not Object");if(!r(o))throw new t("Assertion failed: P is not a Property Key, got "+e(o));return i[o]},xT}var ST,gV;function tf(){if(gV)return ST;gV=1;var t=Oh();return ST=function(r){return(typeof r=="number"||typeof r=="bigint")&&!t(r)&&r!==1/0&&r!==-1/0},ST}var wT,_V;function $A(){if(_V)return wT;_V=1;var t=RA(),e=Dh(),r=Oh(),n=tf();return wT=function(i){if(typeof i!="number"||r(i)||!n(i))return!1;var o=t(i);return e(o)===o},wT}var CT,vV;function Av(){if(vV)return CT;vV=1;var t=Ip(),e=vs(),r=Ks(),n=r("%ArrayBuffer%",!0),s=e("ArrayBuffer.prototype.byteLength",!0),i=e("Object.prototype.toString"),o=!!n&&!s&&new n(0).slice,l=!!o&&t(o);return CT=s||l?function(u){if(!u||typeof u!="object")return!1;try{return s?s(u):l(u,0),!0}catch{return!1}}:n?function(u){return i(u)==="[object ArrayBuffer]"}:function(u){return!1},CT}var AT,yV;function Qie(){if(yV)return AT;yV=1;var t=vs(),e=t("ArrayBuffer.prototype.byteLength",!0),r=Av();return AT=function(s){return r(s)?e?e(s):s.byteLength:NaN},AT}var kT,bV;function z0(){if(bV)return kT;bV=1;var t=vs(),e=t("SharedArrayBuffer.prototype.byteLength",!0);return kT=e?function(n){if(!n||typeof n!="object")return!1;try{return e(n),!0}catch{return!1}}:function(n){return!1},kT}var MT,xV;function kv(){if(xV)return MT;xV=1;var t=wn(),e=Qie(),r=N0()(),n=vs(),s=Av(),i=z0(),o=n("SharedArrayBuffer.prototype.byteLength",!0);return MT=function(c){var u=i(c);if(!s(c)&&!u)throw new t("Assertion failed: `arrayBuffer` must be an Object with an [[ArrayBufferData]] internal slot");if((u?o:e)(c)===0)try{new self[r[0]](c)}catch(d){return!!d&&d.name==="TypeError"}return!1},MT}var PT,SV;function Zie(){if(SV)return PT;SV=1;var t=wn(),e=Jd(),r=Dp(),n=DA();return PT=function(i,o){if(!r(i))throw new t("Assertion failed: `O` must be an Object");if(!n(o))throw new t("Assertion failed: `P` must be a Property Key");return e(i,o)},PT}var jT,wV;function Xie(){if(wV)return jT;wV=1;var t=Ks(),e=t("%Array%"),r=!e.isArray&&vs()("Object.prototype.toString");return jT=e.isArray||function(s){return r(s)==="[object Array]"},jT}var TT,CV;function OL(){return CV||(CV=1,TT=Xie()),TT}var ET,AV;function Jie(){return AV||(AV=1,ET=function(e){return e==="BIGUINT64"||e==="BIGINT64"}),ET}var RT,kV;function zRe(){return kV||(kV=1,RT=function(e){return e==="UINT8"||e==="UINT8C"||e==="UINT16"||e==="UINT32"||e==="BIGUINT64"}),RT}var IT,MV;function qRe(){if(MV)return IT;MV=1;var t=$h();return IT=function(r){var n=r[3]&128?-1:1,s=(r[3]&127)<<1|r[2]>>7,i=(r[2]&127)<<16|r[1]<<8|r[0];return s===0&&i===0?n===1?0:-0:s===255&&i===0?n===1?1/0:-1/0:s===255&&i!==0?NaN:(s-=127,s===-127?n*i*t(2,-149):n*(1+i*t(2,-23))*t(2,s))},IT}var DT,PV;function VRe(){if(PV)return DT;PV=1;var t=$h();return DT=function(r){var n=r[7]&128?-1:1,s=(r[7]&127)<<4|(r[6]&240)>>4,i=(r[6]&15)*281474976710656+r[5]*1099511627776+r[4]*4294967296+r[3]*16777216+r[2]*65536+r[1]*256+r[0];return s===0&&i===0?n*0:s===2047&&i!==0?NaN:s===2047&&i===0?n*(1/0):(s-=1023,s===-1023?n*i*5e-324:n*(1+i/4503599627370496)*t(2,s))},DT}var $T,jV;function HRe(){if(jV)return $T;jV=1;var t=Ks(),e=$h(),r=t("%Number%"),n=t("%BigInt%",!0);return $T=function(i,o,l,c){for(var u=c?n:r,d=u(0),f=0;f<i.length;f++)d+=u(i[f]*e(2,8*f));if(!l){var p=o*8;i[o-1]&128&&(d-=u(e(2,p)))}return d},$T}var OT,TV;function GRe(){return TV||(TV=1,OT=function(e,r){for(var n=0;n<e.length;n+=1)if(!r(e[n],n,e))return!1;return!0}),OT}var LT,EV;function WRe(){return EV||(EV=1,LT=function(e){return typeof e=="number"&&e>=0&&e<=255&&(e|0)===e}),LT}var NT,RV;function Mv(){return RV||(RV=1,NT={__proto__:null,name:{__proto__:null,$Int8Array:"INT8",$Uint8Array:"UINT8",$Uint8ClampedArray:"UINT8C",$Int16Array:"INT16",$Uint16Array:"UINT16",$Int32Array:"INT32",$Uint32Array:"UINT32",$BigInt64Array:"BIGINT64",$BigUint64Array:"BIGUINT64",$Float32Array:"FLOAT32",$Float64Array:"FLOAT64"},size:{__proto__:null,$INT8:1,$UINT8:1,$UINT8C:1,$INT16:2,$UINT16:2,$INT32:4,$UINT32:4,$BIGINT64:8,$BIGUINT64:8,$FLOAT32:4,$FLOAT64:8},choices:'"INT8", "UINT8", "UINT8C", "INT16", "UINT16", "INT32", "UINT32", "BIGINT64", "BIGUINT64", "FLOAT32", or "FLOAT64"'}),NT}var FT,IV;function YRe(){if(IV)return FT;IV=1;var t=Ks(),e=vs(),r=PL(),n=zc(),s=wn(),i=t("%BigInt%",!0),o=Zie(),l=OL(),c=Jie(),u=zRe(),d=qRe(),f=VRe(),p=HRe(),m=GRe(),h=WRe(),_=e("Array.prototype.reverse"),g=e("Array.prototype.slice"),y=Mv();return FT=function(x,w,C){if(!o(y.size,"$"+x))throw new s("Assertion failed: `type` must be a TypedArray element type");if(!l(w)||!m(w,h))throw new s("Assertion failed: `rawBytes` must be an Array of bytes");if(typeof C!="boolean")throw new s("Assertion failed: `isLittleEndian` must be a Boolean");var k=y.size["$"+x];if(w.length!==k)throw new r("Assertion failed: `rawBytes` must have a length of "+k+" for type "+x);var A=c(x);if(A&&!i)throw new n("this environment does not support BigInts");return w=g(w,0,k),C||_(w),x==="FLOAT32"?d(w):x==="FLOAT64"?f(w):p(w,k,u(x),A)},FT}var UT,DV;function eoe(){if(DV)return UT;DV=1;var t={}.toString;return UT=Array.isArray||function(e){return t.call(e)=="[object Array]"},UT}var BT,$V;function KRe(){if($V)return BT;$V=1;var t=Ks(),e=t("%Array.prototype.concat%"),r=Ip(),n=vs(),s=n("Array.prototype.slice"),i=EL()(),o=i&&Symbol.isConcatSpreadable,l=[],c=o?r.apply(e,l):null,u=o?eoe():null;return BT=o?function(f){for(var p=0;p<arguments.length;p+=1){var m=arguments[p];if(m&&typeof m=="object"&&typeof m[o]=="boolean"){l[o]||(l[o]=!0);var h=u(m)?s(m):[m];h[o]=!0,arguments[p]=h}}return c(arguments)}:r(e,l),BT}var zT,OV;function Pv(){if(OV)return zT;OV=1;var t=Cv();return zT=function(r){return!!t(r)},zT}var qT,LV;function q0(){if(LV)return qT;LV=1;var t=wn(),e=vs(),r=e("TypedArray.prototype.buffer",!0),n=Pv();return qT=r||function(i){if(!n(i))throw new t("Not a Typed Array");return i.buffer},qT}var VT,NV;function toe(){if(NV)return VT;NV=1;var t=Ks(),e=t("%Uint8Array%",!0),r=t("%Uint32Array%",!0),n=q0(),s=r&&new r([305419896]),i=s&&new e(n(s));return VT=i?i[0]===120?"little":i[0]===18?"big":i[0]===52?"mixed":"unknown":"indeterminate",VT}var HT,FV;function QRe(){if(FV)return HT;FV=1;var t=Ks(),e=zc(),r=wn(),n=vs(),s=$A(),i=t("%Uint8Array%",!0),o=n("Array.prototype.slice"),l=kv(),c=YRe(),u=Av(),d=z0(),f=KRe(),p=Mv(),m=toe();return HT=function(_,g,y,b,x){var w=d(_);if(!u(_)&&!w)throw new r("Assertion failed: `arrayBuffer` must be an ArrayBuffer or a SharedArrayBuffer");if(!s(g))throw new r("Assertion failed: `byteIndex` must be an integer");if(typeof y!="string"||typeof p.size["$"+y]!="number")throw new r("Assertion failed: `type` must be one of "+p.choices);if(typeof b!="boolean")throw new r("Assertion failed: `isTypedArray` must be a boolean");if(x!=="SEQ-CST"&&x!=="UNORDERED")throw new r("Assertion failed: `order` must be either `SEQ-CST` or `UNORDERED`");if(arguments.length>5&&typeof arguments[5]!="boolean")throw new r("Assertion failed: `isLittleEndian` must be a boolean, if present");if(l(_))throw new r("Assertion failed: `arrayBuffer` is detached");if(g<0)throw new r("Assertion failed: `byteIndex` must be non-negative");var C=p.size["$"+y];if(!C)throw new r("Assertion failed: `type` must be one of "+p.choices);var k;if(w)throw new e("SharedArrayBuffer is not supported by this implementation");k=o(new i(_,g),0,C);var A=arguments.length>5?arguments[5]:m==="little",P=A?o(f([0,0,0,0,0,0,0,0],k),-C):o(f(k,[0,0,0,0,0,0,0,0]),0,C);return c(y,P,A)},HT}var GT,UV;function roe(){if(UV)return GT;UV=1;var t=Oh();return GT=function(r,n){return r===n?r===0?1/r===1/n:!0:t(r)&&t(n)},GT}var WT,BV;function ZRe(){if(BV)return WT;BV=1;var t=wn(),e=Dp(),r=DA(),n=roe(),s=(function(){try{return delete[].length,!0}catch{return!1}})();return WT=function(o,l,c,u){if(!e(o))throw new t("Assertion failed: `O` must be an Object");if(!r(l))throw new t("Assertion failed: `P` must be a Property Key");if(typeof u!="boolean")throw new t("Assertion failed: `Throw` must be a Boolean");if(u){if(o[l]=c,s&&!n(o[l],c))throw new t("Attempted to assign to readonly property.");return!0}try{return o[l]=c,s?n(o[l],c):!0}catch{return!1}},WT}var YT,zV;function XRe(){if(zV)return YT;zV=1;var t=Ks(),e=t("%BigInt%",!0),r=wn(),n=zc();return YT=function(i){if(typeof i!="string")throw new r("`argument` must be a string");if(!e)throw new n("BigInts are not supported in this environment");try{return e(i)}catch{return}},YT}var KT,qV;function JRe(){return qV||(qV=1,KT=function(e){return e===null||typeof e!="function"&&typeof e!="object"}),KT}var QT,VV;function noe(){if(VV)return QT;VV=1;var t=vs(),e=t("Date.prototype.getDay"),r=function(l){try{return e(l),!0}catch{return!1}},n=t("Object.prototype.toString"),s="[object Date]",i=ef()();return QT=function(l){return typeof l!="object"||l===null?!1:i?r(l):n(l)===s},QT}var c2={exports:{}},ZT,HV;function soe(){if(HV)return ZT;HV=1;var t=vs(),e=ef()(),r=Jd(),n=Xd(),s;if(e){var i=t("RegExp.prototype.exec"),o={},l=function(){throw o},c={toString:l,valueOf:l};typeof Symbol.toPrimitive=="symbol"&&(c[Symbol.toPrimitive]=l),s=function(p){if(!p||typeof p!="object")return!1;var m=n(p,"lastIndex"),h=m&&r(m,"value");if(!h)return!1;try{i(p,c)}catch(_){return _===o}}}else{var u=t("Object.prototype.toString"),d="[object RegExp]";s=function(p){return!p||typeof p!="object"&&typeof p!="function"?!1:u(p)===d}}return ZT=s,ZT}var XT,GV;function OA(){if(GV)return XT;GV=1;var t=vs(),e=soe(),r=t("RegExp.prototype.exec"),n=wn();return XT=function(i){if(!e(i))throw new n("`regex` must be a RegExp");return function(l){return r(i,l)!==null}},XT}var WV;function ioe(){if(WV)return c2.exports;WV=1;var t=vs(),e=t("Object.prototype.toString"),r=Hie()(),n=OA();if(r){var s=t("Symbol.prototype.toString"),i=n(/^Symbol\(.*\)$/),o=function(c){return typeof c.valueOf()!="symbol"?!1:i(s(c))};c2.exports=function(c){if(typeof c=="symbol")return!0;if(!c||typeof c!="object"||e(c)!=="[object Symbol]")return!1;try{return o(c)}catch{return!1}}}else c2.exports=function(c){return!1};return c2.exports}var JT,YV;function e5e(){if(YV)return JT;YV=1;var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",e=JRe(),r=EA(),n=noe(),s=ioe(),i=function(c,u){if(typeof c>"u"||c===null)throw new TypeError("Cannot call method on "+c);if(typeof u!="string"||u!=="number"&&u!=="string")throw new TypeError('hint must be "string" or "number"');var d=u==="string"?["toString","valueOf"]:["valueOf","toString"],f,p,m;for(m=0;m<d.length;++m)if(f=c[d[m]],r(f)&&(p=f.call(c),e(p)))return p;throw new TypeError("No default value")},o=function(c,u){var d=c[u];if(d!==null&&typeof d<"u"){if(!r(d))throw new TypeError(d+" returned for property "+String(u)+" of object "+c+" is not a function");return d}};return JT=function(c){if(e(c))return c;var u="default";arguments.length>1&&(arguments[1]===String?u="string":arguments[1]===Number&&(u="number"));var d;if(t&&(Symbol.toPrimitive?d=o(c,Symbol.toPrimitive):s(c)&&(d=Symbol.prototype.valueOf)),typeof d<"u"){var f=d.call(c,u);if(e(f))return f;throw new TypeError("unable to convert exotic object to primitive")}return u==="default"&&(n(c)||s(c))&&(u="string"),i(c,u==="default"?"number":u)},JT}var e4,KV;function ooe(){if(KV)return e4;KV=1;var t=e5e();return e4=function(r){return arguments.length>1?t(r,arguments[1]):t(r)},e4}var t4,QV;function aoe(){if(QV)return t4;QV=1;var t=Ks(),e=t("%BigInt%",!0),r=t("%Number%"),n=wn(),s=zc(),i=XRe(),o=ooe();return t4=function(c){if(!e)throw new s("BigInts are not supported in this environment");var u=o(c,r);if(u==null)throw new n("Cannot convert null or undefined to a BigInt");if(typeof u=="boolean")return e(u?1:0);if(typeof u=="number")throw new n("Cannot convert a Number value to a BigInt");if(typeof u=="string"){var d=i(u);if(typeof d>"u")throw new n("Failed to parse String to BigInt");return d}if(typeof u=="symbol")throw new n("Cannot convert a Symbol value to a BigInt");if(typeof u!="bigint")throw new s("Assertion failed: unknown primitive type");return u},t4}var r4,ZV;function loe(){if(ZV)return r4;ZV=1;var t=Ks(),e=t("%BigInt%",!0),r=PL(),n=wn(),s=e&&e(0);return r4=function(o,l){if(typeof o!="bigint"||typeof l!="bigint")throw new n("Assertion failed: `n` and `d` arguments must be BigInts");if(l===s)throw new r("Division by zero");return o===s?s:o%l},r4}var n4,XV;function coe(){return XV||(XV=1,n4=function(e,r,n){var s=e(r,n);return s>=0?s:s+n}),n4}var s4,JV;function t5e(){if(JV)return s4;JV=1;var t=Ks(),e=t("%BigInt%",!0),r=$h(),n=aoe(),s=loe(),i=coe(),o=e&&BigInt(r(2,32))*BigInt(r(2,31)),l=e&&BigInt(r(2,32))*BigInt(r(2,32));return s4=function(u){var d=n(u),f=i(s,d,l);return f>=o?f-l:f},s4}var i4,eH;function r5e(){if(eH)return i4;eH=1;var t=Ks(),e=t("%BigInt%",!0),r=$h(),n=aoe(),s=loe(),i=coe(),o=e&&BigInt(r(2,32))*BigInt(r(2,32));return i4=function(c){var u=n(c),d=i(s,u,o);return d},i4}var o4,tH;function n5e(){if(tH)return o4;tH=1;var t=Dh();return o4=function(r,n){var s=r%n;return t(s>=0?s:s+n)},o4}var a4,rH;function s5e(){return rH||(rH=1,a4=n5e()),a4}var l4,nH;function jv(){if(nH)return l4;nH=1;var t=s5e();return l4=function(r,n){return t(r,n)},l4}var c4,sH;function i5e(){return sH||(sH=1,c4=function(e){return e===null||typeof e!="function"&&typeof e!="object"}),c4}var u4,iH;function uoe(){if(iH)return u4;iH=1;var t=wn();return u4=function(r){if(r==null)throw new t(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r},u4}var d4,oH;function doe(){if(oH)return d4;oH=1;var t=Ks(),e=t("%String%"),r=wn();return d4=function(s){if(typeof s=="symbol")throw new r("Cannot convert a Symbol value to a string");return e(s)},d4}var f4,aH;function foe(){if(aH)return f4;aH=1;var t=uoe(),e=doe(),r=vs(),n=r("String.prototype.replace"),s=/^\s$/.test("᠎"),i=s?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,o=s?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;return f4=function(){var c=e(t(this));return n(n(c,i,""),o,"")},f4}var p4,lH;function poe(){if(lH)return p4;lH=1;var t=foe(),e="​",r="᠎";return p4=function(){return String.prototype.trim&&e.trim()===e&&r.trim()===r&&("_"+r).trim()==="_"+r&&(r+"_").trim()===r+"_"?String.prototype.trim:t},p4}var m4,cH;function o5e(){if(cH)return m4;cH=1;var t=IA()(),e=$L(),r=poe();return m4=function(){var s=r();return String.prototype.trim!==s&&(t?e(String.prototype,"trim",s,!0):e(String.prototype,"trim",s)),s},m4}var h4,uH;function a5e(){if(uH)return h4;uH=1;var t=Ip(),e=B0(),r=uoe(),n=foe(),s=poe(),i=o5e(),o=t(s()),l=function(u){return r(u),o(u)};return e(l,{getPolyfill:s,implementation:n,shim:i}),h4=l,h4}var g4,dH;function l5e(){if(dH)return g4;dH=1;var t=Ks(),e=t("%RegExp%"),r=wn(),n=t("%parseInt%"),s=vs(),i=OA(),o=s("String.prototype.slice"),l=i(/^0b[01]+$/i),c=i(/^0o[0-7]+$/i),u=i(/^[-+]0x[0-9a-f]+$/i),d=["","​",""].join(""),f=new e("["+d+"]","g"),p=i(f),m=a5e();return g4=function h(_){if(typeof _!="string")throw new r("Assertion failed: `argument` is not a String");if(l(_))return+n(o(_,2),2);if(c(_))return+n(o(_,2),8);if(p(_)||u(_))return NaN;var g=m(_);return g!==_?h(g):+_},g4}var _4,fH;function $p(){if(fH)return _4;fH=1;var t=Ks(),e=wn(),r=t("%Number%"),n=i5e(),s=ooe(),i=l5e();return _4=function(l){var c=n(l)?l:s(l,r);if(typeof c=="symbol")throw new e("Cannot convert a Symbol value to a number");if(typeof c=="bigint")throw new e("Conversion from 'BigInt' to 'number' is not allowed.");return typeof c=="string"?i(c):+c},_4}var v4,pH;function LL(){if(pH)return v4;pH=1;var t=Dh();return v4=function(r){return typeof r=="bigint"?r:t(r)},v4}var y4,mH;function Nh(){if(mH)return y4;mH=1;var t=LL(),e=wn();return y4=function(n){if(typeof n!="number"&&typeof n!="bigint")throw new e("argument must be a Number or a BigInt");var s=n<0?-t(-n):t(n);return s===0?0:s},y4}var b4,hH;function c5e(){if(hH)return b4;hH=1;var t=jv(),e=$p(),r=Nh(),n=tf(),s=65536;return b4=function(o){var l=e(o);if(!n(l)||l===0)return 0;var c=r(l),u=t(c,s);return u>=32768?u-s:u},b4}var x4,gH;function u5e(){if(gH)return x4;gH=1;var t=jv(),e=$p(),r=Nh(),n=tf(),s=2147483648,i=4294967296;return x4=function(l){var c=e(l);if(!n(c)||c===0)return 0;var u=r(c),d=t(u,i),f=d>=s?d-i:d;return f===0?0:f},x4}var S4,_H;function d5e(){if(_H)return S4;_H=1;var t=jv(),e=$p(),r=Nh(),n=tf();return S4=function(i){var o=e(i);if(!n(o)||o===0)return 0;var l=r(o),c=t(l,256);return c>=128?c-256:c},S4}var w4,vH;function f5e(){if(vH)return w4;vH=1;var t=jv(),e=$p(),r=Nh(),n=tf(),s=65536;return w4=function(o){var l=e(o);if(!n(l)||l===0)return 0;var c=r(l),u=t(c,s);return u===0?0:u},w4}var C4,yH;function p5e(){if(yH)return C4;yH=1;var t=jv(),e=$p(),r=Nh(),n=tf(),s=4294967296;return C4=function(o){var l=e(o);if(!n(l)||l===0)return 0;var c=r(l),u=t(c,s);return u===0?0:u},C4}var A4,bH;function m5e(){if(bH)return A4;bH=1;var t=tf(),e=jv(),r=$p(),n=Nh();return A4=function(i){var o=r(i);if(!t(o)||o===0)return 0;var l=n(o),c=e(l,256);return c},A4}var k4,xH;function h5e(){if(xH)return k4;xH=1;var t=wn(),e=jL(),r=TL();return k4=function(s,i,o){if(typeof s!="number"||typeof i!="number"||typeof o!="number"||!(i<=o))throw new t("Assertion failed: all three arguments must be MVs, and `lower` must be `<= upper`");return r(e(i,s),o)},k4}var M4,SH;function g5e(){if(SH)return M4;SH=1;var t=h5e(),e=$p(),r=LL(),n=Oh();return M4=function(i){var o=e(i);if(n(o))return 0;var l=t(o,0,255),c=r(l);return l<c+.5?c:l>c+.5?c+1:c%2===0?c:c+1},M4}var P4,wH;function moe(){return wH||(wH=1,P4=function(e){return e===0&&1/e===-1/0}),P4}var j4,CH;function _5e(){if(CH)return j4;CH=1;var t=RA(),e=Dh(),r=$h(),n=tf(),s=Oh(),i=moe(),o=34028234663852886e22;return j4=function(c,u){if(s(c))return u?[0,0,192,127]:[127,192,0,0];var d;if(c===0)return d=i(c)?128:0,u?[0,0,0,d]:[d,0,0,0];if(t(c)>o||!n(c))return d=c<0?255:127,u?[0,0,128,d]:[d,128,0,0];var f=c<0?1:0;c=t(c);for(var p=0;c>=2;)p+=1,c/=2;for(;c<1;)p-=1,c*=2;var m=c-1;m*=r(2,23)+.5,m=e(m),p+=127,p<<=23;var h=f<<31|p|m,_=h&255;h>>=8;var g=h&255;h>>=8;var y=h&255;h>>=8;var b=h&255;return u?[_,g,y,b]:[b,y,g,_]},j4}var T4,AH;function v5e(){if(AH)return T4;AH=1;var t=1075,e=54;return T4=function(n){var s="";if(n===0)return s;for(var i=t,o,l=0;l<t;l+=1)if(o=n*2,o>=1?(n=o-1,s+="1",i===t&&(i=l)):(n=o,s+="0"),o===1||l-i>e)return s;return s},T4}var E4,kH;function y5e(){if(kH)return E4;kH=1;var t=Dh();return E4=function(r){for(var n="",s;r>0;)s=r/2,r=t(s),s===r?n="0"+n:n="1"+n;return n},E4}var R4,MH;function b5e(){if(MH)return R4;MH=1;var t=Ks(),e=t("%parseInt%"),r=RA(),n=Dh(),s=moe(),i=vs(),o=i("String.prototype.indexOf"),l=i("String.prototype.slice"),c=v5e(),u=y5e(),d=1023,f="11111111111",p="00000000000",m=p+p+p+p+"0000000";return R4=function(_,g){var y=_<0||s(_)?"1":"0",b,x;if(isNaN(_))b=f,x="1"+m;else if(!isFinite(_))b=f,x="0"+m;else if(_===0)b=p,x="0"+m;else{_=r(_);var w=n(_),C=u(w),k=c(_-w),A;if(C)b=C.length-1;else{var P=o(k,"1");P>-1&&(A=P+1),b=-A}x=C+k,b<0?(b<=-d&&(A=d-1),x=l(x,A)):x=l(x,1),b=l(p+u(b+d),-11),x=l(x+m+"0",0,52)}for(var T=y+b+x,j=[],R=0;R<8;R++){var D=g?8-R-1:R;j[D]=e(l(T,R*8,(R+1)*8),2)}return j},R4}var I4,PH;function x5e(){if(PH)return I4;PH=1;var t=Ks(),e=t("%Number%"),r=t("%BigInt%",!0);return I4=function(s,i,o){var l=typeof s=="bigint"?r:e;s<0&&(s>>>=0);for(var c=[],u=0;u<i;u++)c[o?u:i-1-u]=e(s&l(255)),s>>=l(8);return c},I4}var D4,jH;function S5e(){if(jH)return D4;jH=1;var t=wn(),e=Zie(),r=t5e(),n=r5e(),s=c5e(),i=u5e(),o=d5e(),l=f5e(),c=p5e(),u=m5e(),d=g5e(),f=_5e(),p=b5e(),m=x5e(),h=Mv(),_={__proto__:null,$INT8:o,$UINT8:u,$UINT8C:d,$INT16:s,$UINT16:l,$INT32:i,$UINT32:c,$BIGINT64:r,$BIGUINT64:n};return D4=function(y,b,x){if(typeof y!="string"||!e(h.size,"$"+y))throw new t("Assertion failed: `type` must be a TypedArray element type");if(typeof b!="number"&&typeof b!="bigint")throw new t("Assertion failed: `value` must be a Number or a BigInt");if(typeof x!="boolean")throw new t("Assertion failed: `isLittleEndian` must be a Boolean");if(y==="FLOAT32")return f(b,x);if(y==="FLOAT64")return p(b,x);var w=h.size["$"+y],C=_["$"+y],k=C(b);return m(k,w,x)},D4}var $4,TH;function w5e(){return TH||(TH=1,$4=function(e,r){for(var n=0;n<e.length;n+=1)r(e[n],n,e)}),$4}var O4,EH;function C5e(){if(EH)return O4;EH=1;var t=Ks(),e=zc(),r=wn(),n=$A(),s=t("%Uint8Array%",!0),i=Jie(),o=kv(),l=S5e(),c=Av(),u=z0(),d=Jd(),f=Mv(),p=toe(),m=w5e();return O4=function(_,g,y,b,x,w){var C=u(_);if(!c(_)&&!C)throw new r("Assertion failed: `arrayBuffer` must be an ArrayBuffer or a SharedArrayBuffer");if(!n(g)||g<0)throw new r("Assertion failed: `byteIndex` must be a non-negative integer");if(typeof y!="string"||!d(f.size,"$"+y))throw new r("Assertion failed: `type` must be one of "+f.choices);if(typeof b!="number"&&typeof b!="bigint")throw new r("Assertion failed: `value` must be a Number or a BigInt");if(typeof x!="boolean")throw new r("Assertion failed: `isTypedArray` must be a boolean");if(w!=="SEQ-CST"&&w!=="UNORDERED"&&w!=="INIT")throw new r('Assertion failed: `order` must be `"SEQ-CST"`, `"UNORDERED"`, or `"INIT"`');if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("Assertion failed: `isLittleEndian` must be a boolean, if present");if(o(_))throw new r("Assertion failed: ArrayBuffer is detached");if(i(y)?typeof b!="bigint":typeof b!="number")throw new r("Assertion failed: `value` must be a BigInt if type is ~BIGINT64~ or ~BIGUINT64~, otherwise a Number");var k=f.size["$"+y],A=arguments.length>6?arguments[6]:p==="little",P=l(y,b,A);if(C)throw new e("SharedArrayBuffer is not supported by this implementation");var T=new s(_,g,k);m(P,function(j,R){T[R]=j})},O4}var L4,RH;function A5e(){if(RH)return L4;RH=1;var t=$p(),e=Nh(),r=Oh(),n=tf();return L4=function(i){var o=t(i);return r(o)||o===0?0:n(o)?e(o):o},L4}var N4,IH;function NL(){if(IH)return N4;IH=1;var t=zc(),e=wn(),r=$A(),n=Cv(),s=Mv();return N4=function(o){var l=n(o);if(!l)throw new e("Assertion failed: `O` must be a TypedArray");var c=s.size["$"+s.name["$"+l]];if(!r(c)||c<0)throw new t("Assertion failed: Unknown TypedArray type `"+l+"`");return c},N4}var F4,DH;function k5e(){if(DH)return F4;DH=1;var t=zc(),e=wn(),r=Cv(),n=Mv();return F4=function(i){var o=r(i);if(!o)throw new e("Assertion failed: `O` must be a TypedArray");var l=n.name["$"+o];if(typeof l!="string")throw new t("Assertion failed: Unknown TypedArray type `"+o+"`");return l},F4}var u2={exports:{}},U4,$H;function M5e(){return $H||($H=1,U4=Ks()),U4}var B4,OH;function FL(){if(OH)return B4;OH=1;var t=wn(),e=Jd(),r={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};return B4=function(s){if(!s||typeof s!="object")return!1;for(var i in s)if(e(s,i)&&!r[i])return!1;var o=e(s,"[[Value]]")||e(s,"[[Writable]]"),l=e(s,"[[Get]]")||e(s,"[[Set]]");if(o&&l)throw new t("Property Descriptors may not be both accessor and data descriptors");return!0},B4}var z4,LH;function P5e(){if(LH)return z4;LH=1;var t=IA(),e=F0(),r=t.hasArrayLengthDefineBug(),n=r&&Xie(),s=vs(),i=s("Object.prototype.propertyIsEnumerable");return z4=function(l,c,u,d,f,p){if(!e){if(!l(p)||!p["[[Configurable]]"]||!p["[[Writable]]"]||f in d&&i(d,f)!==!!p["[[Enumerable]]"])return!1;var m=p["[[Value]]"];return d[f]=m,c(d[f],m)}return r&&f==="length"&&"[[Value]]"in p&&n(d)&&d.length!==p["[[Value]]"]?(d.length=p["[[Value]]"],d.length===p["[[Value]]"]):(e(d,f,u(p)),!0)},z4}var q4,NH;function j5e(){return NH||(NH=1,q4=function(e){if(typeof e>"u")return e;var r={};return"[[Value]]"in e&&(r.value=e["[[Value]]"]),"[[Writable]]"in e&&(r.writable=!!e["[[Writable]]"]),"[[Get]]"in e&&(r.get=e["[[Get]]"]),"[[Set]]"in e&&(r.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(r.enumerable=!!e["[[Enumerable]]"]),"[[Configurable]]"in e&&(r.configurable=!!e["[[Configurable]]"]),r}),q4}var V4,FH;function T5e(){if(FH)return V4;FH=1;var t=wn(),e=FL(),r=j5e();return V4=function(s){if(typeof s<"u"&&!e(s))throw new t("Assertion failed: `Desc` must be a Property Descriptor");return r(s)},V4}var H4,UH;function E5e(){if(UH)return H4;UH=1;var t=wn(),e=Jd(),r=FL();return H4=function(s){if(typeof s>"u")return!1;if(!r(s))throw new t("Assertion failed: `Desc` must be a Property Descriptor");return!(!e(s,"[[Value]]")&&!e(s,"[[Writable]]"))},H4}var G4,BH;function hoe(){return BH||(BH=1,G4=EA()),G4}var W4,zH;function R5e(){return zH||(zH=1,W4=function(e){return!!e}),W4}var Y4,qH;function I5e(){if(qH)return Y4;qH=1;var t=Jd(),e=wn(),r=Dp(),n=hoe(),s=R5e();return Y4=function(o){if(!r(o))throw new e("ToPropertyDescriptor requires an object");var l={};if(t(o,"enumerable")&&(l["[[Enumerable]]"]=s(o.enumerable)),t(o,"configurable")&&(l["[[Configurable]]"]=s(o.configurable)),t(o,"value")&&(l["[[Value]]"]=o.value),t(o,"writable")&&(l["[[Writable]]"]=s(o.writable)),t(o,"get")){var c=o.get;if(typeof c<"u"&&!n(c))throw new e("getter must be a function");l["[[Get]]"]=c}if(t(o,"set")){var u=o.set;if(typeof u<"u"&&!n(u))throw new e("setter must be a function");l["[[Set]]"]=u}if((t(l,"[[Get]]")||t(l,"[[Set]]"))&&(t(l,"[[Value]]")||t(l,"[[Writable]]")))throw new e("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return l},Y4}var K4,VH;function D5e(){if(VH)return K4;VH=1;var t=wn(),e=Dp(),r=FL(),n=P5e(),s=T5e(),i=E5e(),o=DA(),l=roe(),c=I5e();return K4=function(d,f,p){if(!e(d))throw new t("Assertion failed: Type(O) is not Object");if(!o(f))throw new t("Assertion failed: P is not a Property Key");var m=r(p)?p:c(p);if(!r(m))throw new t("Assertion failed: Desc is not a valid Property Descriptor");return n(i,l,s,d,f,m)},K4}var HH;function goe(){if(HH)return u2.exports;HH=1;var t=M5e(),e=t("%Reflect.construct%",!0),r=D5e();try{r({},"",{"[[Get]]":function(){}})}catch{r=null}if(r&&e){var n={},s={};r(s,"length",{"[[Get]]":function(){throw n},"[[Enumerable]]":!0}),u2.exports=function(o){try{e(o,s)}catch(l){return l===n}}}else u2.exports=function(o){return typeof o=="function"&&!!o.prototype};return u2.exports}var Q4,GH;function $5e(){if(GH)return Q4;GH=1;var t=Ks(),e=t("%Symbol.species%",!0),r=wn(),n=Dp(),s=goe();return Q4=function(o,l){if(!n(o))throw new r("Assertion failed: Type(O) is not Object");var c=o.constructor;if(typeof c>"u")return l;if(!n(c))throw new r("O.constructor is not an Object");var u=e?c[e]:void 0;if(u==null)return l;if(s(u))return u;throw new r("no constructor found")},Q4}var Z4,WH;function _oe(){if(WH)return Z4;WH=1;var t=wn(),e=vs(),r=e("%ArrayBuffer.prototype.resizable%",!0),n=e("%SharedArrayBuffer.prototype.growable%",!0),s=Av(),i=z0();return Z4=function(l){var c=s(l),u=i(l);if(!c&&!u)throw new t("Assertion failed: `arrayBuffer` must be an ArrayBuffer or SharedArrayBuffer");return c&&r?!r(l):u&&n?!n(l):!0},Z4}var X4,YH;function O5e(){return YH||(YH=1,X4=$A()),X4}var J4,KH;function voe(){if(KH)return J4;KH=1;var t=Jd(),e=Pv(),r=O5e();return J4=function(s){return!!s&&typeof s=="object"&&t(s,"[[Object]]")&&t(s,"[[CachedBufferByteLength]]")&&(r(s["[[CachedBufferByteLength]]"])&&s["[[CachedBufferByteLength]]"]>=0||s["[[CachedBufferByteLength]]"]==="DETACHED")&&e(s["[[Object]]"])},J4}var eE,QH;function L5e(){return QH||(QH=1,eE=Dp()),eE}var tE,ZH;function N5e(){if(ZH)return tE;ZH=1;var t=vs(),e=t("String.prototype.valueOf"),r=function(l){try{return e(l),!0}catch{return!1}},n=t("Object.prototype.toString"),s="[object String]",i=ef()();return tE=function(l){return typeof l=="string"?!0:!l||typeof l!="object"?!1:i?r(l):n(l)===s},tE}var rE,XH;function F5e(){if(XH)return rE;XH=1;var t=vs(),e=t("Number.prototype.toString"),r=function(l){try{return e(l),!0}catch{return!1}},n=t("Object.prototype.toString"),s="[object Number]",i=ef()();return rE=function(l){return typeof l=="number"?!0:!l||typeof l!="object"?!1:i?r(l):n(l)===s},rE}var nE,JH;function U5e(){if(JH)return nE;JH=1;var t=vs(),e=t("Boolean.prototype.toString"),r=t("Object.prototype.toString"),n=function(l){try{return e(l),!0}catch{return!1}},s="[object Boolean]",i=ef()();return nE=function(l){return typeof l=="boolean"?!0:l===null||typeof l!="object"?!1:i?n(l):r(l)===s},nE}var d2={exports:{}},sE,eG;function B5e(){if(eG)return sE;eG=1;var t=typeof BigInt<"u"&&BigInt;return sE=function(){return typeof t=="function"&&typeof BigInt=="function"&&typeof t(42)=="bigint"&&typeof BigInt(42)=="bigint"},sE}var tG;function z5e(){if(tG)return d2.exports;tG=1;var t=B5e()();if(t){var e=BigInt.prototype.valueOf,r=function(s){try{return e.call(s),!0}catch{}return!1};d2.exports=function(s){return s===null||typeof s>"u"||typeof s=="boolean"||typeof s=="string"||typeof s=="number"||typeof s=="symbol"||typeof s=="function"?!1:typeof s=="bigint"?!0:r(s)}}else d2.exports=function(s){return!1};return d2.exports}var iE,rG;function q5e(){if(rG)return iE;rG=1;var t=N5e(),e=F5e(),r=U5e(),n=ioe(),s=z5e();return iE=function(o){if(o==null||typeof o!="object"&&typeof o!="function")return null;if(t(o))return"String";if(e(o))return"Number";if(r(o))return"Boolean";if(n(o))return"Symbol";if(s(o))return"BigInt"},iE}var oE,nG;function V5e(){if(nG)return oE;nG=1;var t=typeof Map=="function"&&Map.prototype?Map:null,e=typeof Set=="function"&&Set.prototype?Set:null,r;t||(r=function(o){return!1});var n=t?Map.prototype.has:null,s=e?Set.prototype.has:null;return!r&&!n&&(r=function(o){return!1}),oE=r||function(o){if(!o||typeof o!="object")return!1;try{if(n.call(o),s)try{s.call(o)}catch{return!0}return o instanceof t}catch{}return!1},oE}var aE,sG;function H5e(){if(sG)return aE;sG=1;var t=typeof Map=="function"&&Map.prototype?Map:null,e=typeof Set=="function"&&Set.prototype?Set:null,r;e||(r=function(o){return!1});var n=t?Map.prototype.has:null,s=e?Set.prototype.has:null;return!r&&!s&&(r=function(o){return!1}),aE=r||function(o){if(!o||typeof o!="object")return!1;try{if(s.call(o),n)try{n.call(o)}catch{return!0}return o instanceof e}catch{}return!1},aE}var lE,iG;function G5e(){if(iG)return lE;iG=1;var t=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,e=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,r;t||(r=function(o){return!1});var n=t?t.prototype.has:null,s=e?e.prototype.has:null;return!r&&!n&&(r=function(o){return!1}),lE=r||function(o){if(!o||typeof o!="object")return!1;try{if(n.call(o,n),s)try{s.call(o,s)}catch{return!0}return o instanceof t}catch{}return!1},lE}var f2={exports:{}},oG;function W5e(){if(oG)return f2.exports;oG=1;var t=Ks(),e=vs(),r=t("%WeakSet%",!0),n=e("WeakSet.prototype.has",!0);if(n){var s=e("WeakMap.prototype.has",!0);f2.exports=function(o){if(!o||typeof o!="object")return!1;try{if(n(o,n),s)try{s(o,s)}catch{return!0}return o instanceof r}catch{}return!1}}else f2.exports=function(o){return!1};return f2.exports}var cE,aG;function Y5e(){if(aG)return cE;aG=1;var t=V5e(),e=H5e(),r=G5e(),n=W5e();return cE=function(i){if(i&&typeof i=="object"){if(t(i))return"Map";if(e(i))return"Set";if(r(i))return"WeakMap";if(n(i))return"WeakSet"}return!1},cE}var uE,lG;function K5e(){if(lG)return uE;lG=1;var t=vs(),e=t("WeakRef.prototype.deref",!0);return uE=typeof WeakRef>"u"?function(n){return!1}:function(n){if(!n||typeof n!="object")return!1;try{return e(n),!0}catch{return!1}},uE}var dE,cG;function Q5e(){if(cG)return dE;cG=1;var t=vs(),e=t("FinalizationRegistry.prototype.register",!0);return dE=e?function(n){if(!n||typeof n!="object")return!1;try{return e(n,{},null),!0}catch{return!1}}:function(n){return!1},dE}var fE,uG;function yoe(){if(uG)return fE;uG=1;var t=function(){return typeof(function(){}).name=="string"},e=Object.getOwnPropertyDescriptor;if(e)try{e([],"length")}catch{e=null}t.functionsHaveConfigurableNames=function(){if(!t()||!e)return!1;var s=e(function(){},"name");return!!s&&!!s.configurable};var r=Function.prototype.bind;return t.boundFunctionsHaveNames=function(){return t()&&typeof r=="function"&&(function(){}).bind().name!==""},fE=t,fE}var pE,dG;function boe(){if(dG)return pE;dG=1;var t=EA(),e=Jd(),r=yoe()(),n=vs(),s=n("Function.prototype.toString"),i=n("String.prototype.match"),o=n("Object.prototype.toString"),l=/^class /,c=function(y){if(t(y)||typeof y!="function")return!1;try{var b=i(s(y),l);return!!b}catch{}return!1},u=/\s*function\s+([^(\s]*)\s*/,d=!(0 in[,]),f="[object Object]",p="[object HTMLAllCollection]",m=Function.prototype,h=function(){return!1};if(typeof document=="object"){var _=document.all;o(_)===o(document.all)&&(h=function(y){if((d||!y)&&(typeof y>"u"||typeof y=="object"))try{var b=o(y);return(b===p||b===f)&&y("")==null}catch{}return!1})}return pE=function(){if(h(this)||!c(this)&&!t(this))throw new TypeError("Function.prototype.name sham getter called on non-function");if(r&&e(this,"name"))return this.name;if(this===m)return"";var y=s(this),b=i(y,u),x=b&&b[1];return x},pE}var mE,fG;function xoe(){if(fG)return mE;fG=1;var t=boe();return mE=function(){return t},mE}var hE,pG;function Z5e(){if(pG)return hE;pG=1;var t=B0().supportsDescriptors,e=yoe()(),r=xoe(),n=Object.defineProperty,s=TypeError;return hE=function(){var o=r();if(e)return o;if(!t)throw new s("Shimming Function.prototype.name support requires ES5 property descriptor support.");var l=Function.prototype;return n(l,"name",{configurable:!0,enumerable:!1,get:function(){var c=o.call(this);return this!==l&&n(this,"name",{configurable:!0,enumerable:!1,value:c,writable:!1}),c}}),o},hE}var gE,mG;function X5e(){if(mG)return gE;mG=1;var t=B0(),e=Ip(),r=boe(),n=xoe(),s=Z5e(),i=e(r);return t(i,{getPolyfill:n,implementation:r,shim:s}),gE=i,gE}var _E,hG;function J5e(){if(hG)return _E;hG=1;var t=vs(),e=OA(),r=e(/^\s*(?:function)?\*/),n=ef()(),s=Lh(),i=t("Object.prototype.toString"),o=t("Function.prototype.toString"),l=function(){if(!n)return!1;try{return Function("return function*() {}")()}catch{}},c;return _E=function(d){if(typeof d!="function")return!1;if(r(o(d)))return!0;if(!n){var f=i(d);return f==="[object GeneratorFunction]"}if(!s)return!1;if(typeof c>"u"){var p=l();c=p?s(p):!1}return s(d)===c},_E}var vE,gG;function eIe(){if(gG)return vE;gG=1;const t=(async function(){}).constructor;return vE=()=>t,vE}var yE,_G;function tIe(){if(_G)return yE;_G=1;var t=vs(),e=OA(),r=t("Object.prototype.toString"),n=t("Function.prototype.toString"),s=e(/^\s*async(?:\s+function(?:\s+|\()|\s*\()/),i=ef()(),o=Lh(),l=eIe();return yE=function(u){if(typeof u!="function")return!1;if(s(n(u)))return!0;if(!i){var d=r(u);return d==="[object AsyncFunction]"}if(!o)return!1;var f=l();return f&&f.prototype===o(u)},yE}var bE,vG;function rIe(){if(vG)return bE;vG=1;var t=q5e(),e=Y5e(),r=Cv(),n=eoe(),s=noe(),i=soe(),o=K5e(),l=Q5e(),c=X5e(),u=J5e(),d=tIe(),f=vs(),p=ef()(),m=p&&Symbol.toStringTag,h=Object,_=f("Promise.prototype.then",!0),g=function(x){if(!x||typeof x!="object"||!_)return!1;try{return _(x,null,function(){}),!0}catch{}return!1},y=function(x){return!!x&&x!=="BigInt"&&x!=="Boolean"&&x!=="Null"&&x!=="Number"&&x!=="String"&&x!=="Symbol"&&x!=="Undefined"&&x!=="Math"&&x!=="JSON"&&x!=="Reflect"&&x!=="Atomics"&&x!=="Map"&&x!=="Set"&&x!=="WeakMap"&&x!=="WeakSet"&&x!=="BigInt64Array"&&x!=="BigUint64Array"&&x!=="Float32Array"&&x!=="Float64Array"&&x!=="Int16Array"&&x!=="Int32Array"&&x!=="Int8Array"&&x!=="Uint16Array"&&x!=="Uint32Array"&&x!=="Uint8Array"&&x!=="Uint8ClampedArray"&&x!=="Array"&&x!=="Date"&&x!=="FinalizationRegistry"&&x!=="Promise"&&x!=="RegExp"&&x!=="WeakRef"&&x!=="Function"&&x!=="GeneratorFunction"&&x!=="AsyncFunction"};return bE=function(x){if(x==null)return x;var w=t(h(x))||e(x)||r(x);if(w)return w;if(n(x))return"Array";if(s(x))return"Date";if(i(x))return"RegExp";if(o(x))return"WeakRef";if(l(x))return"FinalizationRegistry";if(typeof x=="function")return u(x)?"GeneratorFunction":d(x)?"AsyncFunction":"Function";if(g(x))return"Promise";if(m&&m in x){var C=x[m];if(y(C))return C}if(typeof x.constructor=="function"){var k=c(x.constructor);if(y(k))return k}return"Object"},bE}var xE,yG;function nIe(){if(yG)return xE;yG=1;var t=Ks(),e=hoe(),r=L5e(),n=rIe(),s=wn(),i=Lh(),o=ML();return xE=function(c){if(!r(c))throw new s("Reflect.getPrototypeOf called on non-object");if(i)return i(c);var u=n(c);if(u){var d=t("%"+u+".prototype%",!0);if(d)return d}return e(c.constructor)?c.constructor.prototype:c instanceof Object?o.prototype:null},xE}var SE,bG;function Soe(){if(bG)return SE;bG=1;var t=nIe(),e=Lh();return SE=function(){return typeof Reflect=="object"&&Reflect&&Reflect.getPrototypeOf?Reflect.getPrototypeOf:e?function(s){return e(s)}:t},SE}var wE,xG;function UL(){if(xG)return wE;xG=1;var t=kL(),e=Ip(),r=Soe()(),n=N0()(),s={__proto__:null},i=Xd(),o=Object.defineProperty;if(i){var l=function(d){return d.byteOffset};t(n,function(d){if(typeof self[d]=="function"||typeof self[d]=="object"){var f=self[d].prototype,p=i(f,"byteOffset");if(!p){var m=r(f);p=i(m,"byteOffset")}if(p&&p.get)s[d]=e(p.get);else if(o){var h=new self[d](2);p=i(h,"byteOffset"),p&&p.configurable&&o(h,"length",{value:3}),h.length===2&&(s[d]=l)}}})}var c=function(f){var p;return t(s,function(m){if(typeof p!="number")try{var h=m(f);typeof h=="number"&&(p=h)}catch{}}),p},u=Pv();return wE=function(f){return u(f)?c(f):!1},wE}var CE,SG;function woe(){if(SG)return CE;SG=1;var t=Ip(),e=kL(),r=Xd(),n=Pv(),s=Vie(),i=Soe()(),o={__proto__:null},l=Object.defineProperty;if(r){var c=(function(d){return d.length});e(s,function(d){var f=self[d];if(typeof f=="function"||typeof f=="object"){var p=f.prototype,m=r(p,"length");if(!m){var h=i(p);m=r(h,"length")}if(m&&m.get)o["$"+d]=t(m.get);else if(l){var _=new self[d](2);m=r(_,"length"),m&&m.configurable&&l(_,"length",{value:3}),_.length===2&&(o["$"+d]=c)}}})}var u=function(f){var p;return e(o,function(m){if(typeof p!="number")try{var h=m(f);typeof h=="number"&&(p=h)}catch{}}),p};return CE=function(f){return n(f)?u(f):!1},CE}var AE,wG;function BL(){if(wG)return AE;wG=1;var t=wn(),e=kv(),r=_oe(),n=NL(),s=voe(),i=q0(),o=UL(),l=woe();return AE=function(u){if(!s(u))throw new t("Assertion failed: `taRecord` must be a TypedArray With Buffer Witness Record");var d=u["[[Object]]"],f=u["[[CachedBufferByteLength]]"];if(e(i(d))&&f!=="DETACHED")throw new t("Assertion failed: typed array is detached only if the byte length is ~DETACHED~");if(f==="DETACHED")return!0;var p=o(d),m=r(i(d)),h,_=m?l(d):"AUTO";if(_==="AUTO")h=f;else{var g=n(d);h=p+_*g}return p>f||h>f},AE}var kE,CG;function sIe(){if(CG)return kE;CG=1;var t=wn(),e=LL(),r=_oe(),n=BL(),s=NL(),i=voe(),o=q0(),l=UL(),c=woe();return kE=function(d){if(!i(d))throw new t("Assertion failed: `taRecord` must be a TypedArray With Buffer Witness Record");if(n(d))throw new t("Assertion failed: `taRecord` is out of bounds");var f=d["[[Object]]"],p=r(o(f)),m=p?c(f):"AUTO";if(m!=="AUTO")return m;if(p)throw new t("Assertion failed: array buffer is not fixed length");var h=l(f),_=s(f),g=d["[[CachedBufferByteLength]]"];if(g==="DETACHED")throw new t("Assertion failed: typed array is detached");return e((g-h)/_)},kE}var ME,AG;function iIe(){if(AG)return ME;AG=1;var t=wn(),e=kv(),r=Av(),n=z0(),s=Qie(),i=vs(),o=i("SharedArrayBuffer.prototype.byteLength",!0);return ME=function(c,u){var d=n(c);if(!r(c)&&!d)throw new t("Assertion failed: `arrayBuffer` must be an ArrayBuffer or a SharedArrayBuffer");if(u!=="SEQ-CST"&&u!=="UNORDERED")throw new t("Assertion failed: `order` must be ~SEQ-CST~ or ~UNORDERED~");if(e(c))throw new t("Assertion failed: `arrayBuffer` must not be detached");return d?o(c):s(c)},ME}var PE,kG;function oIe(){if(kG)return PE;kG=1;var t=wn(),e=iIe(),r=kv(),n=Pv(),s=q0();return PE=function(o,l){if(!n(o))throw new t("Assertion failed: `obj` must be a Typed Array");if(l!=="SEQ-CST"&&l!=="UNORDERED")throw new t("Assertion failed: `order` must be ~SEQ-CST~ or ~UNORDERED~");var c=s(o),u=r(c)?"DETACHED":e(c,l);return{"[[Object]]":o,"[[CachedBufferByteLength]]":u}},PE}var jE,MG;function Coe(){if(MG)return jE;MG=1;var t=wn(),e=Dp(),r=BL(),n=oIe(),s=Pv();return jE=function(o,l){if(l!=="SEQ-CST"&&l!=="UNORDERED")throw new t("Assertion failed: `order` must be ~SEQ-CST~ or ~UNORDERED~");if(!e(o))throw new t("Assertion failed: `O` must be an Object");if(!s(o))throw new t("Assertion failed: `O` must be a Typed Array");var c=n(o,l);if(r(c))throw new t("`O` must be in-bounds and backed by a non-detached buffer");return c},jE}var TE,PG;function aIe(){if(PG)return TE;PG=1;var t=zc(),e=wn(),r=OL(),n=goe(),s=BL(),i=sIe(),o=Coe(),l=N0()();return TE=function(u,d){if(!n(u))throw new e("Assertion failed: `constructor` must be a constructor");if(!r(d))throw new e("Assertion failed: `argumentList` must be a List");if(l.length===0)throw new t("Assertion failed: Typed Arrays are not supported in this environment");var f;d.length===0?f=new u:d.length===1?f=new u(d[0]):d.length===2?f=new u(d[0],d[1]):f=new u(d[0],d[1],d[2]);var p=o(f,"SEQ-CST");if(d.length===1&&typeof d[0]=="number"){if(s(p))throw new e("new Typed Array is out of bounds");var m=i(p);if(m<d[0])throw new e("`argumentList[0]` must be <= `newTypedArray.length`")}return f},TE}var EE,jG;function lIe(){if(jG)return EE;jG=1;var t=Ks(),e={__proto__:null,$Int8Array:t("%Int8Array%",!0),$Uint8Array:t("%Uint8Array%",!0),$Uint8ClampedArray:t("%Uint8ClampedArray%",!0),$Int16Array:t("%Int16Array%",!0),$Uint16Array:t("%Uint16Array%",!0),$Int32Array:t("%Int32Array%",!0),$Uint32Array:t("%Uint32Array%",!0),$BigInt64Array:t("%BigInt64Array%",!0),$BigUint64Array:t("%BigUint64Array%",!0),$Float16Array:t("%Float16Array%",!0),$Float32Array:t("%Float32Array%",!0),$Float64Array:t("%Float64Array%",!0)};return EE=function(n){return e["$"+n]},EE}var RE,TG;function cIe(){if(TG)return RE;TG=1;var t=zc(),e=wn(),r=Cv(),n=N0()(),s=OL(),i=$5e(),o=aIe(),l=lIe();return RE=function(u,d){if(n.length===0)throw new t("Assertion failed: Typed Arrays are not supported in this environment");var f=r(u);if(!f)throw new e("Assertion failed: exemplar must be a TypedArray");if(!s(d))throw new e("Assertion failed: `argumentList` must be a List");var p=l(f);if(typeof p!="function")throw new t("Assertion failed: `constructor` of `exemplar` ("+f+") must exist. Please report this!");var m=i(u,p);return o(m,d)},RE}var IE,EG;function Aoe(){if(EG)return IE;EG=1;var t=wn(),e=BRe(),r=QRe(),n=kv(),s=jL(),i=TL(),o=ZRe(),l=C5e(),c=A5e(),u=doe(),d=NL(),f=k5e(),p=cIe(),m=Coe(),h=q0(),_=UL();return IE=function(y,b){var x=this;m(x,"SEQ-CST");var w=x.length,C=c(y),k;C===-1/0?k=0:C<0?k=s(w+C,0):k=i(C,w);var A=typeof b>"u"?w:c(b),P;A===-1/0?P=0:A<0?P=s(w+A,0):P=i(A,w);var T=s(P-k,0),j=p(x,[T]);if(T>0){if(n(h(x)))throw new t("Cannot use a Typed Array with an underlying ArrayBuffer that is detached");var R=f(x),D=f(j);if(R===D)for(var O=h(x),N=h(j),F=d(x),U=_(x),z=k*F+U,H=_(j),W=H+T*F;H<W;){var K=r(O,z,"UINT8",!0,"UNORDERED");l(N,H,"UINT8",K,!0,"UNORDERED"),z+=1,H+=1}else for(var q=0;k<P;){var X=u(k),Q=e(x,X);o(j,u(q),Q,!0),k+=1,q+=1}}return j},IE}var DE,RG;function koe(){if(RG)return DE;RG=1;var t=Aoe();return DE=function(){return typeof Uint8Array=="function"&&Uint8Array.prototype.slice||t},DE}var $E,IG;function uIe(){if(IG)return $E;IG=1;var t=B0(),e=Lh(),r=koe();return $E=function(){if(typeof Uint8Array=="function"){var s=r(),i=e(Uint8Array.prototype);t(i,{slice:s},{slice:function(){return i.slice!==s}})}return s},$E}var OE,DG;function dIe(){if(DG)return OE;DG=1;var t=B0(),e=Ip(),r=Aoe(),n=koe(),s=uIe(),i=e(n());return t(i,{getPolyfill:n,implementation:r,shim:s}),OE=i,OE}var LE,$G;function fIe(){if($G)return LE;$G=1;var t=Cv(),e=dIe(),r=Xd();function n(A){return Object.prototype.toString.call(A)}function s(A){return n(A)==="[object Date]"}function i(A){return n(A)==="[object RegExp]"}function o(A){return n(A)==="[object Error]"}function l(A){return n(A)==="[object Boolean]"}function c(A){return n(A)==="[object Number]"}function u(A){return n(A)==="[object String]"}var d=Array.isArray||function(P){return Object.prototype.toString.call(P)==="[object Array]"};function f(A,P){if(A.forEach)return A.forEach(P);for(var T=0;T<A.length;T++)P(A[T],T,A)}var p=Object.keys||function(P){var T=[];for(var j in P)T[T.length]=j;return T},m=Object.prototype.propertyIsEnumerable,h=Object.getOwnPropertySymbols;function _(A){var P=p(A);if(h)for(var T=h(A),j=0;j<T.length;j++)m.call(A,T[j])&&(P[P.length]=T[j]);return P}var g=Object.prototype.hasOwnProperty||function(A,P){return P in A};function y(A,P){if(typeof r!="function")return!0;var T=r(A,P);return!T||!T.writable}function b(A,P){if(typeof A=="object"&&A!==null){var T;if(d(A))T=[];else if(s(A))T=new Date(A.getTime?A.getTime():A);else if(i(A))T=new RegExp(A);else if(o(A))T={message:A.message};else if(l(A)||c(A)||u(A))T=Object(A);else{var j=t(A);if(j)return e(A);if(Object.create&&Object.getPrototypeOf)T=Object.create(Object.getPrototypeOf(A));else if(A.constructor===Object)T={};else{var R=A.constructor&&A.constructor.prototype||A.__proto__||{},D=function(){};D.prototype=R,T=new D}}var O=P.includeSymbols?_:p;return f(O(A),function(N){T[N]=A[N]}),T}return A}var x={__proto__:null};function w(A,P){var T=[],j=[],R=!0,D=arguments.length>2?arguments[2]:x,O=D.includeSymbols?_:p,N=!!D.immutable;return(function F(U){var z=N?b(U,D):U,H={__proto__:null},W=!0,K={node:z,node_:U,path:[].concat(T),parent:j[j.length-1],parents:j,key:T[T.length-1],removedKeys:{__proto__:null},isRoot:T.length===0,level:T.length,circular:null,update:function(Q,Y){K.isRoot||(K.parent.node[K.key]=Q),K.node=Q,Y&&(W=!1)},delete:function(Q){delete K.parent.node[K.key],K.parent.removedKeys[K.key]=!0,Q&&(W=!1)},remove:function(Q){d(K.parent.node)?(K.parent.node.splice(K.key,1),K.parent.removedKeys[K.key]=!0,Q&&(W=!1)):K.delete(Q)},keys:null,before:function(Q){H.before=Q},after:function(Q){H.after=Q},pre:function(Q){H.pre=Q},post:function(Q){H.post=Q},stop:function(){R=!1},block:function(){W=!1}};if(!R)return K;function q(){if(typeof K.node=="object"&&K.node!==null){(!K.keys||K.node_!==K.node)&&(K.keys=O(K.node)),K.isLeaf=K.keys.length===0;for(var Q=0;Q<j.length;Q++)if(j[Q].node_===U){K.circular=j[Q];break}}else K.isLeaf=!0,K.keys=null;K.notLeaf=!K.isLeaf,K.notRoot=!K.isRoot}q();var X=P.call(K,K.node);return X!==void 0&&K.update&&K.update(X),H.before&&H.before.call(K,K.node),W&&(typeof K.node=="object"&&K.node!==null&&!K.circular&&(j[j.length]=K,q(),f(K.keys,function(Q,Y){var Z=Y-1 in K.removedKeys;Z&&(Q=K.keys[Y-1]),T[T.length]=Q,H.pre&&H.pre.call(K,K.node[Q],Q);var re=F(K.node[Q]);N&&g.call(K.node,Q)&&!y(K.node,Q)&&!Z&&(K.node[Q]=re.node),re.isLast=Y===K.keys.length-1,re.isFirst=Y===0,H.post&&H.post.call(K,re),T.pop()}),j.pop()),H.after&&H.after.call(K,K.node)),K})(A).node}function C(A){this.options=arguments.length>1?arguments[1]:x,this.value=A}C.prototype.get=function(A){for(var P=this.value,T=0;P&&T<A.length;T++){var j=A[T];if(!g.call(P,j)||!this.options.includeSymbols&&typeof j=="symbol")return;P=P[j]}return P},C.prototype.has=function(A){var P=this.value;if(!P&&A.length>0)return!1;for(var T=0;P&&T<A.length;T++){var j=A[T];if(!g.call(P,j)||!this.options.includeSymbols&&typeof j=="symbol")return!1;P=P[j]}return!0},C.prototype.set=function(A,P){for(var T=this.value,j=0;j<A.length-1;j++){var R=A[j];g.call(T,R)||(T[R]={}),T=T[R]}return T[A[j]]=P,P},C.prototype.map=function(A){return w(this.value,A,{__proto__:null,immutable:!0,includeSymbols:!!this.options.includeSymbols})},C.prototype.forEach=function(A){return this.value=w(this.value,A,this.options),this.value},C.prototype.reduce=function(A,P){var T=arguments.length===1,j=T?this.value:P;return this.forEach(function(R){(!this.isRoot||!T)&&(j=A.call(this,j,R))}),j},C.prototype.paths=function(){var A=[];return this.forEach(function(){A[A.length]=this.path}),A},C.prototype.nodes=function(){var A=[];return this.forEach(function(){A[A.length]=this.node}),A},C.prototype.clone=function(){var A=[],P=[],T=this.options;return t(this.value)?e(this.value):(function j(R){for(var D=0;D<A.length;D++)if(A[D]===R)return P[D];if(typeof R=="object"&&R!==null){var O=b(R,T);A[A.length]=R,P[P.length]=O;var N=T.includeSymbols?_:p;return f(N(R),function(F){O[F]=j(R[F])}),A.pop(),P.pop(),O}return R})(this.value)};function k(A){var P=arguments.length>1?arguments[1]:x;return new C(A,P)}return f(_(C.prototype),function(A){k[A]=function(P){var T=[].slice.call(arguments,1),j=new C(P);return j[A].apply(j,T)}}),LE=k,LE}var Moe=fIe();const lh=Pi(Moe),pIe="x-ath-obj-id",D6="@default@";function mIe(t){return lh(t).map(function(){if(this.parent){if(this.key==="type"&&Array.isArray(this.node)&&(this.node.includes("string")||this.node.includes("integer")||this.node.includes("number")||this.update(this.node.find(n=>n!=="null"))),this.key==="nullable"&&this.remove(),this.key==="format"&&this.parent.node.type==="integer"&&this.remove(),this.key==="type"&&this.node==="string"&&this.parent.node.enum&&this.remove(),this.key==="uniqueItems"&&(this.parent.node.type==="string"||!this.parent.node.type)&&this.remove(),this.key==="mapping"&&this.remove(),this.key==="default"&&(this.parent.node.type==="string"||this.parent.node.type==="integer"||this.parent.node.type==="number"||this.parent.node.type==="boolean")){const r=`Default: ${this.node}${D6}`;this.parent.update({...this.parent.node,description:`${r}${this.parent.node.description?this.parent.node.description:""}`})}if(this.key==="default"&&this.parent.key!=="properties"&&this.remove(),this.key==="anyOf"&&this.parent.node.discriminator&&(this.parent.update({...this.parent.node,oneOf:this.node}),this.remove()),this.key==="example"&&(this.parent.update({...this.parent.node,examples:[this.node]}),this.remove()),this.key==="minLength"&&this.parent.node.type==="array"&&(this.parent.update({...this.parent.node,minItems:this.node}),this.remove()),this.key==="properties"&&!this.parent.node.type&&!this.parent.node.allOf&&!this.parent.node.oneOf&&!this.parent.node.anyOf&&this.parent.update({...this.parent.node,type:"object"}),this.key==="pattern"&&(this.node==="^([a-zA-Z0-9]{1}[0-9a-zA-Z\\_\\-\\.]{1,14})$"&&this.update("^([a-zA-Z0-9]{1}[0-9a-zA-Z-_.]{1,14})$"),this.node==="^((\\*?)|([a-zA-Z0-9\\*]{1}[0-9a-zA-Z\\_\\-]{1,14})|([a-zA-Z0-9]{1}[0-9a-zA-Z\\_\\-]{0,13}\\*))$"&&this.update("^((\\*?)|([a-zA-Z0-9\\*]{1}[0-9a-zA-Z-_]{1,14})|([a-zA-Z0-9]{1}[0-9a-zA-Z-_]{0,13}\\*))$"),this.node==="^([a-zA-Z0-9\\_]+)$"&&this.update("^([a-zA-Z0-9_]+)$")),this.key==="enum"&&!this.parent.node.default){const r=this.parent.parent?.parent?.parent;if(r?.key==="oneOf"||r?.key==="allOf"||r?.key==="anyOf"){const s=this.node;this.parent.update({...this.parent.node,default:s[0]})}}if(this.key==="items"&&this.parent.node.type==="array"&&(this.parent.node.items.oneOf||this.parent.node.items.anyOf)){if(this.node.oneOf){const r=Ni.orderBy(this.node.oneOf,[n=>n[wC]!==Ud.BASIC]);this.update({...this.node,oneOf:r})}if(this.node.anyOf){const r=Ni.orderBy(this.node.anyOf,[n=>n[wC]!==Ud.BASIC]);this.update({...this.node,anyOf:r})}}this.key==="additionalProperties"&&this.node===!1&&this.parent.parent?.key==="allOf"&&this.remove()}})}async function hIe(t){const e=Ni.cloneDeep(t),n=await new mRe({components:{...e.components},type:"object",properties:{root:e.root}}).resolve(),s=SRe(n.properties.root,{keepNotSupported:["discriminator","deprecated","x-ath-obj-id","x-ath-view-level"]});return delete s.$schema,mIe(s)}const gn=()=>crypto.randomUUID?crypto.randomUUID():("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,t=>(t^crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)),gIe={datePickerFormat:"dd/MM/yyyy",dateFormat:"DD/MM/YYYY",fullDateFormat:"DD/MM/YYYY HH:mm:ss",logDateFormat:"DD/MM/YYYY HH:mm:ss.SSS",time:"HH:mm"},_Ie={datePickerFormat:"MM/dd/yyyy",dateFormat:"MM/DD/YYYY",fullDateFormat:"MM/DD/YYYY HH:mm:ss",logDateFormat:"MM/DD/YYYY HH:mm:ss.SSS",time:"HH:mm"},vIe={short:{year:"numeric",month:"2-digit",day:"2-digit"}},yIe={it:gIe,en:_Ie,dateFormat:vIe},$={...yIe,appBarMobileBreakpoint:730,pageSize:40,pageSizeOptions:[20,40,80,120,160,200],searchParams:{pageSize:"pageSize",paginationToken:"paginationToken"},apis:{authenticationStrategies:{backendList:"/core/pls/api/1/auth/backends",radius:"/core/pls/api/1/auth/backends/radius",ldap:"/core/pls/api/1/auth/backends/ldap",openId:"/core/pls/api/1/auth/backends/openid",authConfiguration:"/core/pls/api/1/auth/config",localRadius:"/core/pls/api/1/auth/backends/local_radius",localLdap:"/core/pls/api/1/auth/backends/local_ldap"},licensing:{host:"/core/licensed/api/1/mgt/host",licenses:"/core/licensed/api/1/mgt/licenses",setLicense:t=>`/core/${t}/api/1/license`,persistLicense:t=>`/core/${t}/api/1/mgmt/config/persist`},boot_config:t=>`/core/${t}/api/1/mgmt/boot_config`,lawful_interception:{keyMaterial:t=>`/core/${t}/api/1/li/keymaterial`},diameter:{status:{connections:t=>`/core/${t}/api/1/diameter/status/connections`,disconnect:t=>`/core/${t}/api/1/diameter/status/connections/disconnect`,peers:t=>`/core/${t}/api/1/diameter/status/peers`}},gtpc:{status:{sockets:t=>`/core/${t}/api/1/gtpc/status/sockets`,peers:t=>`/core/${t}/api/1/gtpc/status/peers`}},denypeer:{status:{gtpc:t=>`/core/${t}/api/1/denypeer/status/gtpc`,flushBlocked:t=>`/core/${t}/api/1/denypeer/status/flush`}},gtpu:{status:{sockets:t=>`/core/${t}/api/1/gtpu/status/sockets`}},gtpPrime:{status:{connections:t=>`/core/${t}/api/1/status/gtpprime/connections`}},ngap:{status:{connections:t=>`/core/${t}/api/1/ngap/status/gnbs`,listeners:t=>`/core/${t}/api/1/ngap/status/listeners`}},pfcp:{status:{sockets:t=>`/core/${t}/api/1/pfcp/status/sockets`,peers:t=>`/core/${t}/api/1/pfcp/status/peers`}},mme:{s1ap:{status:{connections:"/core/mme/api/1/s1ap/status/connections",disconnect:t=>`/core/mme/api/1/s1ap/enb/${t}/disconnect`,reset:t=>`/core/mme/api/1/s1ap/enb/${t}/reset`,listeners:"/core/mme/api/1/s1ap/status/listeners"}},gtpc:{status:{sockets:"/core/mme/api/1/gtpc/status/sockets",peers:"/core/mme/api/1/gtpc/status/peers"}},gtpu:{status:{sockets:"/core/mme/api/1/gtpu/status/sockets"}},sgs:{status:{connections:"/core/mme/api/1/sgs/status/connections"}},sbcap:{status:{connections:"/core/mme/api/1/sbcap/status/connections",listeners:"/core/mme/api/1/sbcap/status/listeners"}},denypeer:{status:{gtpc:"/core/mme/api/1/denypeer/status/gtpc",flush:"/core/mme/api/1/denypeer/status/flush"}},dns:{status:{cache:"/core/mme/api/1/dns/cache",cacheFlush:"/core/mme/api/1/dns/cache/flush"}},imsi:{status:{ue:t=>`/core/mme/api/1/ue/status/imsi/${t}`,disconnect:t=>`/core/mme/api/1/ue/status/imsi/${t}/disconnect`,detach:(t,e)=>`/core/mme/api/1/ue/status/imsi/${t}/detach?reattach=${e}`,purge:(t,e)=>`/core/mme/api/1/ue/status/imsi/${t}/purge?reattach=${e}`}},m3:{status:{connections:"/core/mme/api/1/m3/status/connections"}}},nrf:{profiles:{status:"/core/nrf/api/1/profiles/statuses"},staticProfiles:"/core/nrf/api/1/static_profiles"},cluster:{join:t=>`/core/${t}/api/1/data_layer/cluster/join`,leave:t=>`/core/${t}/api/1/data_layer/cluster/leave`,status:t=>`/core/${t}/api/1/data_layer/cluster/status`},udr:{supis:"/core/udr/api/1/provisioning/supis",supisBulkImport:"/core/udr/api/1/provisioning/bulk_actions/supis",provisionedDataProfiles:"/core/udr/api/1/provisioning/provisioned_data_profiles",policyDataProfiles:"/core/udr/api/1/provisioning/policy_data_profiles",transportKeys:"/core/udr/api/1/provisioning/transport_keys",operatorKeys:"/core/udr/api/1/provisioning/operator_keys",plmns:"/core/udr/api/1/provisioning/plmns",imsPrivateIdentities:"/core/udr/api/1/provisioning/ims_private_identities",imsBasicPrivateIdentities:"/core/udr/api/1/provisioning/ims_basic_private_identities",imsInitialFilters:"/core/udr/api/1/provisioning/ims_initial_filter_criteria",imsApplicationServerAcl:"/core/udr/api/1/provisioning/ims_application_server_acl",imsApplicationServerProfiles:t=>`/core/udr/api/1/provisioning/ims_application_servers_profiles/${t}/service_indications`,imsServiceProfiles:"/core/udr/api/1/provisioning/ims_service_profiles",config:{apply:"/core/udr/api/1/mgmt/config",persist:"/core/udr/api/1/mgmt/config/persist",factory_reset:"/core/udr/api/1/mgmt/config/factory_reset",logs:"/core/udr/api/1/mgmt/config/logs"},status:{imsPrivateIdentities:"/core/udr/api/1/status/ims_private_identities",imsPublicIdentities:"/core/udr/api/1/status/ims_public_identities"},mgmt:{boot_config:"/core/udr/api/1/mgmt/boot_config",restart:"/core/udr/api/1/mgmt/restart"},milenageConstants:"/core/udr/api/1/provisioning/milenage_constants",supiStatus:"/core/udr/api/1/status/supi",mwdStatus:"/core/udr/api/1/status/message_waiting_data"},udm:{homeNetworkKeys:"/core/udm/api/1/provisioning/home_network_keys",supiReAttach:t=>`/core/udm/api/1/status/supis/${t}/reattach`,plmnPrefixes:"/core/udm/api/1/provisioning/plmn_prefixes"},eir:{rules:"/core/eir/api/1/provisioning/equipment_rules",equipmentRuleConfiguration:"/core/eir/api/1/provisioning/equipment_rule_configuration",autorules:"/core/eir/api/1/provisioning/equipment_autorules"},amf:{supis:"/core/amf/api/1/ue/status/supis"},aaa:{radius:{status:"/core/aaa/api/1/radius/status"}},dsm:{zones:"/core/dsm/api/1/zones"},sgwc:{status:t=>t?`/core/sgwc/api/1/status/sessions/${t}`:"/core/sgwc/api/1/status/sessions"},smf:{status:"/core/smf/api/1/status/sm_contexts"},smsf:{smpp:{status:{connections:"/core/smsf/api/1/smpp/status/connections"}},smsBox:{msisdnList:"/core/smsf/api/1/box/list",msisdnMessages:({msisdn:t,direction:e})=>`/core/smsf/api/1/box/${t}/${e}/messages`,messagesCreate:({msisdn:t})=>`/core/smsf/api/1/box/${t}/outbound/messages`,messagesDelete:({msisdn:t,direction:e,message_id:r})=>`/core/smsf/api/1/box/${t}/${e}/messages/${r}`}},upf:{sessions:"/core/upf/api/1/sessions"},backup:{create:t=>`/core/${t}/api/1/data_layer/backups/create`,restore:t=>`/core/${t}/api/1/data_layer/restores/create`,backupSchedules:t=>`/core/${t}/api/1/data_layer/backups/schedules`,restoreSchedules:t=>`/core/${t}/api/1/data_layer/restores/schedules`,update:t=>`/core/${t}/api/1/data_layer/backups/configuration`,download:(t,e)=>`/core/${t}/api/1/data_layer/backups/schedules/${e}/download`},ncm:{status:{interfaces:"/core/ncm/api/1/status/interfaces",neighbors:"/core/ncm/api/1/status/neighbors",routes:"/core/ncm/api/1/status/routes",rules:"/core/ncm/api/1/status/rules",sockets:"/core/ncm/api/1/status/sockets",vrfs:"/core/ncm/api/1/status/vrfs",bird:"/core/ncm/api/1/status/bird",ntp:"/core/ncm/api/1/status/ntp"},network:{neighborsFlush:"/core/ncm/api/1/network/neighbors/flush"}},swUpdate:{upload:"/core/swupdate/upload"},prometheus:{query:t=>`/core/prometheus/api/v1/query?query=${encodeURIComponent(t)}`,query_range:({query:t,startDate:e,endDate:r,step:n="30s"})=>{const s=ai(),i=r??s.toISOString(),o=e??s.subtract({hours:1}).toISOString();return`/core/prometheus/api/v1/query_range?query=${encodeURIComponent(t)}&start=${o}&end=${i}&step=${n}`},config:"/core/pls/api/1/prometheus/config"},pls:{users:"/core/pls/api/1/users",roles:"/core/pls/api/1/roles",tls:{config:"/core/pls/api/1/tls/config",certificates:{client:"/core/pls/api/1/tls/certificates/client",server:"/core/pls/api/1/tls/certificates/server"}},site:{info:"/core/pls/api/1/site/info"},terminal:{files:"/core/pls/api/1/webconsole/files"},configuration:{backup:"/core/pls/api/1/backup/create",restore:"/core/pls/api/1/backup/restore"},bootPartitions:"/core/pls/api/1/system/boot",reboot:"/core/pls/api/1/system/reboot",troubleshootDump:{create:"/core/pls/api/1/troubleshootdump/create",all:"/core/pls/api/1/troubleshootdump/schedules",delete:t=>`/core/pls/api/1/troubleshootdump/schedules/${t}`,get:t=>`/core/pls/api/1/troubleshootdump/schedules/${t}`,download:t=>`/core/pls/api/1/troubleshootdump/${t}/download`}},bulkImportSupisCheck:t=>`/core/udr/api/1/provisioning/bulk_actions/${t}`,getInfo:"/core/pls/api/1/system/info",prometheusQuery:"/core/prometheus/api/v1/query?query={query}",prometheusAlerts:"/core/alertmanager/api/v2/alerts",nfOAS:"/core/{nf}/openapi",nfConfig:"/core/{nf}/api/1/mgmt/config",nfConfigPersist:"/core/{nf}/api/1/mgmt/config/persist",nfConfigFactoryReset:"/core/{nf}/api/1/mgmt/config/factory_reset",nfRestart:"/core/{nf}/api/1/mgmt/restart",shippingConfig:t=>`/core/pls/api/1/${t}/config`,shippingFactoryReset:"/core/pls/api/1/{service}/factory_reset",pcf:{monitoring:{supiInfo:t=>`/core/pcf/api/1/status/supis/${t}`}},gatewayd:{entries:"/gatewayd/entries",machine:"/gatewayd/machine",fields:"/gatewayd/fields",fieldValues:"/gatewayd/fields/{field_name}"},frontend:{config:"/frontend/config",systemTerms:"/frontend/system_terms"}},ws:{swUpdate:"/core/swupdate/ws"},urls:{root:"/",home:"/home",login:"/login",logout:"/logout",profile:"/profile",restart:"/restart",unauthorized:"/unauthorized",docs:"/docs",docsDatasheet:"/docs/documentation/datasheet/html/index.html",docsFeatureDescription:"/docs/documentation/feature-description/html/index.html",docsInstallationGuide:"/docs/documentation/installation-guide/html/index.html",docsMonitoringGuide:"/docs/documentation/monitoring-guide/html/index.html",docsProductDescription:"/docs/documentation/product-description/html/index.html",docsReleaseNotes:"/docs/documentation/release-notes/html/index.html",docsSecurityGuide:"/docs/documentation/security-guide/html/index.html",docsTroubleshootingGuide:"/docs/documentation/troubleshooting-guide/html/index.html",docsUserGuide:"/docs/documentation/user-guide/html/index.html",docsOas:"/docs/OAS",docsOasAaa:"/docs/oas/aaa/index.html",docsOasAmf:"/docs/oas/amf/index.html",docsOasAusf:"/docs/oas/ausf/index.html",docsOasBmsc:"/docs/oas/bmsc/index.html",docsOasChf:"/docs/oas/chf/index.html",docsOasDra:"/docs/oas/dra/index.html",docsOasDsm:"/docs/oas/dsm/index.html",docsOasEir:"/docs/oas/eir/index.html",docsOasLicensed:"/docs/oas/licensed/index.html",docsOasMme:"/docs/oas/mme/index.html",docsOasNcm:"/docs/oas/ncm/index.html",docsOasNrf:"/docs/oas/nrf/index.html",docsOasPcf:"/docs/oas/pcf/index.html",docsOasPls:"/docs/oas/pls/index.html",docsOasSgwc:"/docs/oas/sgwc/index.html",docsOasSmf:"/docs/oas/smf/index.html",docsOasSmsf:"/docs/oas/smsf/index.html",docsOasUdm:"/docs/oas/udm/index.html",docsOasUdr:"/docs/oas/udr/index.html",docsOasUpf:"/docs/oas/upf/index.html",docsOasSwUpdate:"/docs/oas/swupdate/index.html",monitoring:"/monitoring",monitoringSystem:"/grafana/d/QYd9dlPWz/node-exporter-5g?orgId=1&refresh=10s",monitoringCoreStatistics:"/grafana/d/O7EtBSJnz/core-dashboard?orgId=1&refresh=10s",monitoringUeStatus:"/monitoring/ue-status",monitoringUeStatusDetails:"/monitoring/ue-status/:id",monitoringUeStatusDetailsUdmReattach_Action:"/monitoring/ue-status/:id/udm-re-attach",monitoringUeStatusDetailsAmf:"/monitoring/ue-status/:id/amf",monitoringUeStatusDetailsAmfRemove_Action:"/monitoring/ue-status/:id/amf/amf-remove",monitoringUeStatusDetailsSmf:"/monitoring/ue-status/:id/smf",monitoringUeStatusDetailsUpf:"/monitoring/ue-status/:id/upf",monitoringUeStatusDetailsUdr:"/monitoring/ue-status/:id/udr",monitoringUeStatusDetailsMme:"/monitoring/ue-status/:id/mme",monitoringUeStatusDetailsMmeDisconnect_Action:"/monitoring/ue-status/:id/mme/mme-disconnect",monitoringUeStatusDetailsMmeDetach_Action:"/monitoring/ue-status/:id/mme/mme-detach",monitoringUeStatusDetailsMmePurge_Action:"/monitoring/ue-status/:id/mme/mme-purge",monitoringUeStatusDetailsSgwc:"/monitoring/ue-status/:id/sgwc",monitoringUeStatusDetailsPcf:"/monitoring/ue-status/:id/pcf",monitoringAlerts:"/monitoring/alerts",platform:"/platform",platformUsers:"/platform/users",platformUsersEntries:"/platform/users/entries",platformUsersDetails:"/platform/users/:username",platformUsersAudits:"/platform/users/audits/:username",platformUsersCreate_Action:"/platform/users/create",platformUsersUpdate_Action:"/platform/users/update",platformUsersDelete_Action:"/platform/users/delete",platformUsersRevokeTokens_Action:"/platform/users/revoke-tokens",platformUsersPasswordChange_Action:"/platform/users/password-change",platformUsersCurrentUserPasswordChange_Action:"/platform/users/current-user-password-change",platformRoles:"/platform/roles",platformRolesEntries:"/platform/roles/entries",platformRolesDetails:"/platform/roles/:id",platformRolesCreate_Action:"/platform/roles/create",platformRolesUpdate_Action:"/platform/roles/update",platformRolesDelete_Action:"/platform/roles/delete",platformAuthentication:"/platform/auth",platformAuthenticationStrategies:"/platform/auth/strategies",platformAuthenticationAuthConfig:"/platform/auth/auth-config",platformAuthenticationTerms:"/platform/auth/terms",platformAuthenticationBackendsUpdate_Action:"/platform/auth/strategies/backends-update",platformAuthenticationOpenIdConfigUpdate_Action:"/platform/auth/strategies/openid-config-update",platformAuthenticationRadiusConfigUpdate_Action:"/platform/auth/strategies/radius-config-update",platformAuthenticationLdapConfigUpdate_Action:"/platform/auth/strategies/ldap-config-update",platformAuthenticationAuthConfigUpdate_Action:"/platform/auth/auth-config/auth-config-update",platformAuthenticationTermsUpdate_Action:"/platform/auth/terms/system-usage-terms-update",platformTls:"/platform/tls",platformTlsConfigurationUpdate_Action:"/platform/tls/configuration-update",platformTlsClientCertificateUpdate_Action:"/platform/tls/client-certificate-update",platformTlsServerCertificateUpdate_Action:"/platform/tls/server-certificate-update",platformLogShipping:"/platform/log-shipping",platformLogShippingApply_Action:"/platform/log-shipping/apply",platformLogShippingFactoryReset_Action:"/platform/log-shipping/factory-reset",platformKpiShipping:"/platform/kpi-shipping",platformKpiShippingApply_Action:"/platform/kpi-shipping/apply",platformKpiShippingFactoryReset_Action:"/platform/kpi-shipping/factory-reset",platformAlertShipping:"/platform/alert-shipping",platformAlertShippingApply_Action:"/platform/alert-shipping/apply",platformAlertShippingFactoryReset_Action:"/platform/alert-shipping/factory-reset",platformCluster:"/platform/cluster",platformClusterApplyBootConfig_Action:"/platform/cluster/apply-boot-config",platformClusterJoinCluster_Action:"/platform/cluster/join-cluster",platformClusterLeaveCluster_Action:"/platform/cluster/leave-cluster",system:"/system",systemLicensing:"/system/licensing",systemLicensingInstall_Action:"/system/licensing/install",systemLicensingDelete_Action:"/system/licensing/delete",systemBackup:"/system/backup",systemBackupSchedules:"/system/backup/backup-schedules",systemBackupSchedulesConfiguration:"/system/backup/backup-schedules/configuration",systemBackupSchedulesConfigurationBackup_Action:"/system/backup/backup-schedules/configuration/configuration-backup",systemBackupSchedulesNf:"/system/backup/backup-schedules/:nf",systemBackupRestoreSchedulesConfiguration:"/system/backup/restore-schedules/configuration",systemBackupRestoreSchedulesConfigurationRestore_Action:"/system/backup/restore-schedules/configuration/configuration-restore",systemBackupRestoreSchedulesConfigurationBackup_Action:"/system/backup/restore-schedules/configuration/configuration-backup",systemBackupRestoreSchedules:"/system/backup/restore-schedules",systemBackupRestoreSchedulesNf:"/system/backup/restore-schedules/:nf",systemBackupScheduleBackup_Action:"/system/backup/schedule-backup",systemBackupScheduleRestore_Action:"/system/backup/schedule-restore",systemBackupUpdateConfiguration_Action:"/system/backup/update-configuration",systemServices:"/system/services",systemServicesManagement_Action:"/system/services/management",systemUpgrade:"/system/upgrade",systemUpgradeUpload_Action:"/system/upgrade/upload",systemTerminal:"/system/terminal",systemTerminalList:"/system/terminal/list",systemLogs:"/system/logs",systemLogsFollow:"/system/logs/follow",systemLogsEntries:"/system/logs/entries",systemLogsFields:"/system/logs/fields",systemLogsFieldsName:"/system/logs/fields/:field_name",systemLogsConfig:"/system/logs/config",systemLogsConfigUpdate_Action:"/system/logs/config/update",systemLogsCursor:"/system/logs/cursor",systemLogsCursorItem:"/system/logs/cursor/:cursor",systemBootPartitions:"/system/boot-partitions",systemBootPartitionsUpdate_Action:"/system/boot-partitions-update",systemTroubleshootDump:"/system/troubleshoot-dump",systemTroubleshootDumpEntries:"/system/troubleshoot-dump/entries",systemTroubleshootDumpCreate_Action:"/system/troubleshoot-dump/create",systemTroubleshootDumpDelete_Action:"/system/troubleshoot-dump/delete",network:"/network",networkConfiguration:"/network/configuration",networkConfigurationApply_Action:"/network/configuration/apply",networkConfigurationPersist_Action:"/network/configuration/persist",networkConfigurationReload_Action:"/network/configuration/reload",networkConfigurationFactoryReset_Action:"/network/configuration/factory-reset",networkStatus:"/network/status",networkStatusInterfaces:"/network/status/interfaces",networkStatusNeighbors:"/network/status/neighbors",networkStatusNeighborsFlush_Action:"/network/status/neighbors/flush",networkStatusRoutes:"/network/status/routes",networkStatusRules:"/network/status/rules",networkStatusSockets:"/network/status/sockets",networkStatusBird:"/network/status/bird",networkStatusBirdProtocols:"/network/status/bird/protocols",networkStatusBirdBfdSessions:"/network/status/bird/bfd-sessions",aaa:"/aaa",aaaCluster:"/aaa/cluster",aaaClusterApplyBootConfig_Action:"/aaa/cluster/apply-boot-config",aaaConfiguration:"/aaa/configuration",aaaConfigurationApply_Action:"/aaa/configuration/apply",aaaConfigurationPersist_Action:"/aaa/configuration/persist",aaaConfigurationReload_Action:"/aaa/configuration/reload",aaaConfigurationFactoryReset_Action:"/aaa/configuration/factory-reset",aaaStatus:"/aaa/status",aaaStatusRadius:"/aaa/status/radius",amf:"/amf",amfCluster:"/amf/cluster",amfClusterApplyBootConfig_Action:"/amf/cluster/apply-boot-config",amfConfiguration:"/amf/configuration",amfConfigurationApply_Action:"/amf/configuration/apply",amfConfigurationPersist_Action:"/amf/configuration/persist",amfConfigurationReload_Action:"/amf/configuration/reload",amfConfigurationFactoryReset_Action:"/amf/configuration/factory-reset",amfStatus:"/amf/status",amfStatusNgap:"/amf/status/ngap",amfStatusNgapConnections:"/amf/status/ngap/connections",amfStatusNgapConnectionsDelete_Action:"/amf/status/ngap/connections/delete",amfStatusNgapConnectionsReset_Action:"/amf/status/ngap/connections/reset",amfStatusNgapListeners:"/amf/status/ngap/listeners",ausf:"/ausf",ausfCluster:"/ausf/cluster",ausfClusterApplyBootConfig_Action:"/ausf/cluster/apply-boot-config",ausfConfiguration:"/ausf/configuration",ausfConfigurationApply_Action:"/ausf/configuration/apply",ausfConfigurationPersist_Action:"/ausf/configuration/persist",ausfConfigurationReload_Action:"/ausf/configuration/reload",ausfConfigurationFactoryReset_Action:"/ausf/configuration/factory-reset",bmsc:"/bmsc",bmscCluster:"/bmsc/cluster",bmscClusterApplyBootConfig_Action:"/bmsc/cluster/apply-boot-config",bmscConfiguration:"/bmsc/configuration",bmscConfigurationApply_Action:"/bmsc/configuration/apply",bmscConfigurationPersist_Action:"/bmsc/configuration/persist",bmscConfigurationReload_Action:"/bmsc/configuration/reload",bmscConfigurationFactoryReset_Action:"/bmsc/configuration/factory-reset",bmscStatus:"/bmsc/status",bmscStatusDiameter:"/bmsc/status/diameter",bmscStatusDiameterConnections:"/bmsc/status/diameter/connections",bmscStatusDiameterPeers:"/bmsc/status/diameter/peers",bmscStatusGtpc:"/bmsc/status/gtpc",bmscStatusGtpcSockets:"/bmsc/status/gtpc/sockets",bmscStatusGtpcPeers:"/bmsc/status/gtpc/peers",chf:"/chf",chfCluster:"/chf/cluster",chfClusterApplyBootConfig_Action:"/chf/cluster/apply-boot-config",chfConfiguration:"/chf/configuration",chfStatus:"/chf/status",chfStatusDiameter:"/chf/status/diameter",chfStatusDiameterConnections:"/chf/status/diameter/connections",chfStatusDiameterPeers:"/chf/status/diameter/peers",chfStatusGtpPrime:"/chf/status/gtpprime",chfStatusGtpPrimeConnections:"/chf/status/gtpprime/connections",chfConfigurationApply_Action:"/chf/configuration/apply",chfConfigurationPersist_Action:"/chf/configuration/persist",chfConfigurationReload_Action:"/chf/configuration/reload",chfConfigurationFactoryReset_Action:"/chf/configuration/factory-reset",dra:"/dra",draCluster:"/dra/cluster",draClusterApplyBootConfig_Action:"/dra/cluster/apply-boot-config",draConfiguration:"/dra/configuration",draConfigurationApply_Action:"/dra/configuration/apply",draConfigurationPersist_Action:"/dra/configuration/persist",draConfigurationReload_Action:"/dra/configuration/reload",draConfigurationFactoryReset_Action:"/dra/configuration/factory-reset",draStatus:"/dra/status",draStatusDiameter:"/dra/status/diameter",draStatusDiameterConnections:"/dra/status/diameter/connections",draStatusDiameterPeers:"/dra/status/diameter/peers",dsm:"/dsm",dsmConfiguration:"/dsm/configuration",dsmConfigurationApply_Action:"/dsm/configuration/apply",dsmConfigurationPersist_Action:"/dsm/configuration/persist",dsmConfigurationReload_Action:"/dsm/configuration/reload",dsmConfigurationFactoryReset_Action:"/dsm/configuration/factory-reset",dsmZones:"/dsm/zones",dsmZonesEntries:"/dsm/zones/entries",dsmZonesDetail:"/dsm/zones/:server/:name",dsmZonesCreate_Action:"/dsm/zones/create",dsmZonesDelete_Action:"/dsm/zones/delete",dsmZonesDownload:"/dsm/zones/download",dsmCluster:"/dsm/cluster",dsmClusterApplyBootConfig_Action:"/dsm/cluster/apply-boot-config",dsmClusterJoinCluster_Action:"/dsm/cluster/join-cluster",dsmClusterLeaveCluster_Action:"/dsm/cluster/leave-cluster",eir:"/eir",eirConfiguration:"/eir/configuration",eirClusterApplyBootConfig_Action:"/eir/cluster/apply-boot-config",eirConfigurationApply_Action:"/eir/configuration/apply",eirConfigurationPersist_Action:"/eir/configuration/persist",eirConfigurationReload_Action:"/eir/configuration/reload",eirConfigurationFactoryReset_Action:"/eir/configuration/factory-reset",eirCluster:"/eir/cluster",eirClusterJoinCluster_Action:"/eir/cluster/join-cluster",eirClusterLeaveCluster_Action:"/eir/cluster/leave-cluster",eirStatus:"/eir/status",eirStatusDiameter:"/eir/status/diameter",eirStatusDiameterConnections:"/eir/status/diameter/connections",eirStatusDiameterPeers:"/eir/status/diameter/peers",eirRules:"/eir/rules",eirRulesEntries:"/eir/rules/entries",eirRulesDetails:"/eir/rules/:id",eirRulesCreateBulk_Action:"/eir/rules/create-bulk",eirRulesCreate_Action:"/eir/rules/create",eirRulesUpdate_Action:"/eir/rules/update",eirRulesDelete_Action:"/eir/rules/delete",eirRulesEquipmentConfigurationSet:"/eir/rules/equipment-configuration-set",eirAutoRules:"/eir/auto-rules",eirAutorulesEntries:"/eir/auto-rules/entries",eirAutorulesCreateBulk_Action:"/eir/auto-rules/create-bulk",eirAutorulesCreate_Action:"/eir/auto-rules/create",eirAutorulesUpdate_Action:"/eir/auto-rules/update",eirAutorulesDelete_Action:"/eir/auto-rules/delete",mme:"/mme",mmeCluster:"/mme/cluster",mmeClusterApplyBootConfig_Action:"/mme/cluster/apply-boot-config",mmeConfiguration:"/mme/configuration",mmeConfigurationApply_Action:"/mme/configuration/apply",mmeConfigurationPersist_Action:"/mme/configuration/persist",mmeConfigurationReload_Action:"/mme/configuration/reload",mmeConfigurationFactoryReset_Action:"/mme/configuration/factory-reset",mmeLawfulInterception:"/mme/lawful-interception",mmeLawfulInterceptionCreate_Action:"/mme/lawful-interception/create",mmeLawfulInterceptionDelete_Action:"/mme/lawful-interception/delete",mmeStatus:"/mme/status",mmeStatusDiameter:"/mme/status/diameter",mmeStatusDiameterConnections:"/mme/status/diameter/connections",mmeStatusDiameterPeers:"/mme/status/diameter/peers",mmeStatusS1ap:"/mme/status/s1ap",mmeStatusS1apConnections:"/mme/status/s1ap/connections",mmeStatusS1apConnectionsDisconnect:"/mme/status/s1ap/connections/disconnect",mmeStatusS1apConnectionsReset:"/mme/status/s1ap/connections/reset",mmeStatusS1apListeners:"/mme/status/s1ap/listeners",mmeStatusGtpc:"/mme/status/gtpc",mmeStatusGtpcSockets:"/mme/status/gtpc/sockets",mmeStatusGtpcPeers:"/mme/status/gtpc/peers",mmeStatusGtpcBlockedPeers:"/mme/status/gtpc/blocked-peers",mmeStatusGtpcBlockedPeersFlush_Action:"/mme/status/gtpc/blocked-peers/flush",mmeStatusGtpu:"/mme/status/gtpu",mmeStatusGtpuSockets:"/mme/status/gtpu/sockets",mmeStatusSgs:"/mme/status/sgs",mmeStatusSgsConnections:"/mme/status/sgs/connections",mmeStatusSbcap:"/mme/status/sbcap",mmeStatusSbcapConnections:"/mme/status/sbcap/connections",mmeStatusSbcapListeners:"/mme/status/sbcap/listeners",mmeStatusDns:"/mme/status/dns",mmeStatusDnsCache:"/mme/status/dns/cache",mmeStatusDnsCacheFlush:"/mme/status/dns/cache/flush",mmeStatusM3:"/mme/status/m3",mmeStatusM3Connections:"/mme/status/m3/connections",nrf:"/nrf",nrfConfiguration:"/nrf/configuration",nrfConfigurationApply_Action:"/nrf/configuration/apply",nrfConfigurationPersist_Action:"/nrf/configuration/persist",nrfConfigurationReload_Action:"/nrf/configuration/reload",nrfConfigurationFactoryReset_Action:"/nrf/configuration/factory-reset",nrfCluster:"/nrf/cluster",nrfClusterApplyBootConfig_Action:"/nrf/cluster/apply-boot-config",nrfClusterJoinCluster_Action:"/nrf/cluster/join-cluster",nrfClusterLeaveCluster_Action:"/nrf/cluster/leave-cluster",nrfStatus:"/nrf/status",nrfStaticProfiles:"/nrf/static-profiles",nrfStaticProfilesDetails:"/nrf/static-profiles/:id",nrfStaticProfilesCreate_Action:"/nrf/static-profiles/:id/create",nrfStaticProfilesUpdate_Action:"/nrf/static-profiles/:id/update",nrfStaticProfilesDelete_Action:"/nrf/static-profiles/:id/delete",pcf:"/pcf",pcfCluster:"/pcf/cluster",pcfClusterApplyBootConfig_Action:"/pcf/cluster/apply-boot-config",pcfConfiguration:"/pcf/configuration",pcfConfigurationApply_Action:"/pcf/configuration/apply",pcfConfigurationPersist_Action:"/pcf/configuration/persist",pcfConfigurationReload_Action:"/pcf/configuration/reload",pcfConfigurationFactoryReset_Action:"/pcf/configuration/factory-reset",pcfStatus:"/pcf/status",pcfStatusDiameter:"/pcf/status/diameter",pcfStatusDiameterConnections:"/pcf/status/diameter/connections",pcfStatusDiameterPeers:"/pcf/status/diameter/peers",sgwc:"/sgwc",sgwcCluster:"/sgwc/cluster",sgwcClusterApplyBootConfig_Action:"/sgwc/cluster/apply-boot-config",sgwcConfiguration:"/sgwc/configuration",sgwcConfigurationApply_Action:"/sgwc/configuration/apply",sgwcConfigurationPersist_Action:"/sgwc/configuration/persist",sgwcConfigurationReload_Action:"/sgwc/configuration/reload",sgwcConfigurationFactoryReset_Action:"/sgwc/configuration/factory-reset",sgwcStatus:"/sgwc/status",sgwcStatusGtpc:"/sgwc/status/gtpc",sgwcStatusGtpcSockets:"/sgwc/status/gtpc/sockets",sgwcStatusGtpcPeers:"/sgwc/status/gtpc/peers",sgwcStatusPfcp:"/sgwc/status/pfcp",sgwcStatusPfcpSockets:"/sgwc/status/pfcp/sockets",sgwcStatusPfcpPeers:"/sgwc/status/pfcp/peers",smf:"/smf",smfConfiguration:"/smf/configuration",smfConfigurationApply_Action:"/smf/configuration/apply",smfConfigurationPersist_Action:"/smf/configuration/persist",smfConfigurationReload_Action:"/smf/configuration/reload",smfConfigurationFactoryReset_Action:"/smf/configuration/factory-reset",smfStatus:"/smf/status",smfStatusGtpc:"/smf/status/gtpc",smfStatusGtpcSockets:"/smf/status/gtpc/sockets",smfStatusGtpcPeers:"/smf/status/gtpc/peers",smfStatusGtpu:"/smf/status/gtpu",smfStatusGtpuSockets:"/smf/status/gtpu/sockets",smfStatusPfcp:"/smf/status/pfcp",smfStatusPfcpSockets:"/smf/status/pfcp/sockets",smfStatusPfcpPeers:"/smf/status/pfcp/peers",smfLawfulInterception:"/smf/lawful-interception",smfLawfulInterceptionCreate_Action:"/smf/lawful-interception/create",smfLawfulInterceptionDelete_Action:"/smf/lawful-interception/delete",smfCluster:"/smf/cluster",smfClusterApplyBootConfig_Action:"/smf/cluster/apply-boot-config",smsf:"/smsf",smsfConfiguration:"/smsf/configuration",smsfConfigurationApply_Action:"/smsf/configuration/apply",smsfConfigurationPersist_Action:"/smsf/configuration/persist",smsfConfigurationReload_Action:"/smsf/configuration/reload",smsfConfigurationFactoryReset_Action:"/smsf/configuration/factory-reset",smsfCluster:"/smsf/cluster",smsfClusterApplyBootConfig_Action:"/smsf/cluster/apply-boot-config",smsfClusterJoinCluster_Action:"/smsf/cluster/join-cluster",smsfClusterLeaveCluster_Action:"/smsf/cluster/leave-cluster",smsfSmsBox:"/smsf/sms-box",smsfSmsBoxList:"/smsf/sms-box/list",smsfSmsBoxSend_Action:"/smsf/sms-box/send",smsfSmsBoxMsisdn:"/smsf/sms-box/:msisdn",smsfSmsBoxMsisdnDirection:"/smsf/sms-box/:msisdn/:direction",smsfSmsBoxMsisdnDirectionDelete:"/smsf/sms-box/:msisdn/:direction/delete",smsfStatus:"/smsf/status",smsfStatusDiameter:"/smsf/status/diameter",smsfStatusDiameterConnections:"/smsf/status/diameter/connections",smsfStatusDiameterPeers:"/smsf/status/diameter/peers",smsfStatusSmpp:"/smsf/status/smpp",smsfStatusSmppConnections:"/smsf/status/smpp/connections",udm:"/udm",udmConfiguration:"/udm/configuration",udmConfigurationApply_Action:"/udm/configuration/apply",udmConfigurationPersist_Action:"/udm/configuration/persist",udmConfigurationReload_Action:"/udm/configuration/reload",udmConfigurationFactoryReset_Action:"/udm/configuration/factory-reset",udmCluster:"/udm/cluster",udmClusterApplyBootConfig_Action:"/udm/cluster/apply-boot-config",udmClusterJoinCluster_Action:"/udm/cluster/join-cluster",udmClusterLeaveCluster_Action:"/udm/cluster/leave-cluster",udmStatus:"/udm/status",udmStatusDiameter:"/udm/status/diameter",udmStatusDiameterConnections:"/udm/status/diameter/connections",udmStatusDiameterPeers:"/udm/status/diameter/peers",udmHomeNetworkKeys:"/udm/home-network-keys",udmHomeNetworkKeysCreate_Action:"/udm/home-network-keys/create",udmHomeNetworkKeysDelete_Action:"/udm/home-network-keys/delete",udmHomeNetworkKeysUpload_Action:"/udm/home-network-keys/upload",udmPlmnPrefixes:"/udm/plmn-prefixes",udmPlmnPrefix:"/udm/plmn-prefixes/:id",udmPlmnPrefixesCreate_Action:"/udm/plmn-prefixes/create",udmPlmnPrefixesUpdate_Action:"/udm/plmn-prefixes/update",udmPlmnPrefixesDelete_Action:"/udm/plmn-prefixes/delete",udr:"/udr",udrConfiguration:"/udr/configuration",udrConfigurationApply_Action:"/udr/configuration/apply",udrConfigurationPersist_Action:"/udr/configuration/persist",udrConfigurationReload_Action:"/udr/configuration/reload",udrConfigurationFactoryReset_Action:"/udr/configuration/factory-reset",udrCluster:"/udr/cluster",udrClusterApplyBootConfig_Action:"/udr/cluster/apply-boot-config",udrClusterJoinCluster_Action:"/udr/cluster/join-cluster",udrClusterLeaveCluster_Action:"/udr/cluster/leave-cluster",udrPlmns:"/udr/plmns",udrPlmnsCreate_Action:"/udr/plmns/create",udrPlmnsDelete_Action:"/udr/plmns/delete",udrSupis:"/udr/supis",udrSupisUpload_Action:"/udr/supis/upload",udrSupisUploadAsync_Action:"/udr/supis/upload/async/:id",udrSupisDetails:"/udr/supis/:id",udrSupisCreate_Action:"/udr/supis/:id/create",udrSupisUpdate_Action:"/udr/supis/:id/update",udrSupisDelete_Action:"/udr/supis/:id/delete",udrProvisionedDataProfile:"/udr/provisioned-data-profile",udrProvisionedDataProfileDetails:"/udr/provisioned-data-profile/:id",udrProvisionedDataProfileCreate_Action:"/udr/provisioned-data-profile/:id/create",udrProvisionedDataProfileUpdate_Action:"/udr/provisioned-data-profile/:id/update",udrProvisionedDataProfileDelete_Action:"/udr/provisioned-data-profile/:id/delete",udrPolicyDataProfile:"/udr/policy-data-profile",udrPolicyDataProfileDetails:"/udr/policy-data-profile/:id",udrPolicyDataProfileCreate_Action:"/udr/policy-data-profile/:id/create",udrPolicyDataProfileUpdate_Action:"/udr/policy-data-profile/:id/update",udrPolicyDataProfileDelete_Action:"/udr/policy-data-profile/:id/delete",udrImsApplicationServerAcls:"/udr/ims-application-server-acls",udrImsApplicationServerAclsEntries:"/udr/ims-application-server-acls/entries",udrImsApplicationServerAclsDetails:"/udr/ims-application-server-acls/:id",udrImsApplicationServerAclsCreate_Action:"/udr/ims-application-server-acls/create",udrImsApplicationServerAclsUpdate_Action:"/udr/ims-application-server-acls/update",udrImsApplicationServerAclsDelete_Action:"/udr/ims-application-server-acls/delete",udrImsPrivateIdentities:"/udr/ims-private-identities",udrImsPrivateIdentitiesDetails:"/udr/ims-private-identities/:name",udrImsPrivateIdentitiesApplicationServersProfiles:"/udr/ims-private-identities/:name/application-servers-profiles",udrImsPrivateIdentitiesApplicationServersProfilesCreate_Action:"/udr/ims-private-identities/:name/application-servers-profiles/create",udrImsPrivateIdentitiesApplicationServersProfilesUpdate_Action:"/udr/ims-private-identities/:name/application-servers-profiles/update",udrImsPrivateIdentitiesApplicationServersProfilesDelete_Action:"/udr/ims-private-identities/:name/application-servers-profiles/delete",udrImsPrivateIdentitiesEntries:"/udr/ims-private-identities/entries",udrImsPrivateIdentitiesPrivateStatus:"/udr/ims-private-identities/private-status/:name",udrImsPrivateIdentitiesPublicStatus:"/udr/ims-private-identities/public-status/:name",udrImsPrivateIdentitiesCreate_Action:"/udr/ims-private-identities/create",udrImsPrivateIdentitiesCreateBasic_Action:"/udr/ims-private-identities/create-basic",udrImsPrivateIdentitiesUpdate_Action:"/udr/ims-private-identities/update",udrImsPrivateIdentitiesDelete_Action:"/udr/ims-private-identities/delete",udrImsServiceProfiles:"/udr/ims-service-profiles",udrImsServiceProfilesEntries:"/udr/ims-service-profiles/entries",udrImsServiceProfilesDetails:"/udr/ims-service-profiles/:id",udrImsServiceProfilesCreate_Action:"/udr/ims-service-profiles/create",udrImsServiceProfilesUpdate_Action:"/udr/ims-service-profiles/update",udrImsServiceProfilesDelete_Action:"/udr/ims-service-profiles/delete",udrImsInitialFilters:"/udr/ims-initial-filters",udrImsInitialFiltersEntries:"/udr/ims-initial-filters/entries",udrImsInitialFiltersDetails:"/udr/ims-initial-filters/:id",udrImsInitialFiltersCreate_Action:"/udr/ims-initial-filters/create",udrImsInitialFiltersUpdate_Action:"/udr/ims-initial-filters/update",udrImsInitialFiltersDelete_Action:"/udr/ims-initial-filters/delete",udrTransportKeys:"/udr/transport-keys",udrTransportKeysEntries:"/udr/transport-keys/entries",udrTransportKeysDetails:"/udr/transport-keys/:id",udrTransportKeysCreate_Action:"/udr/transport-keys/create",udrTransportKeysUpdate_Action:"/udr/transport-keys/update",udrTransportKeysDelete_Action:"/udr/transport-keys/delete",udrOperatorCodes:"/udr/operator-codes",udrOperatorCodesEntries:"/udr/operator-codes/entries",udrOperatorCodesDetails:"/udr/operator-codes/:id",udrOperatorCodesCreate_Action:"/udr/operator-codes/create",udrOperatorCodesUpdate_Action:"/udr/operator-codes/update",udrOperatorCodesDelete_Action:"/udr/operator-codes/delete",udrCustomMilenageConstants:"/udr/custom-milenage-constants",udrCustomMilenageConstantsUpdate_Action:"/udr/custom-milenage-constants/update",udrCustomMilenageConstantsDelete_Action:"/udr/custom-milenage-constants/delete",upf:"/upf",upfCluster:"/upf/cluster",upfClusterApplyBootConfig_Action:"/upf/cluster/apply-boot-config",upfConfiguration:"/upf/configuration",upfConfigurationApply_Action:"/upf/configuration/apply",upfConfigurationPersist_Action:"/upf/configuration/persist",upfConfigurationReload_Action:"/upf/configuration/reload",upfConfigurationFactoryReset_Action:"/upf/configuration/factory-reset",upfStatus:"/upf/status",upfStatusPfcp:"/upf/status/pfcp",upfStatusPfcpSockets:"/upf/status/pfcp/sockets",upfStatusPfcpPeers:"/upf/status/pfcp/peers",upfStatusGtpu:"/upf/status/gtpu",upfStatusGtpuSockets:"/upf/status/gtpu/sockets",upfLawfulInterception:"/upf/lawful-interception",upfLawfulInterceptionCreate_Action:"/upf/lawful-interception/create",upfLawfulInterceptionDelete_Action:"/upf/lawful-interception/delete",siteLoader:"/site-loader"},localStorage:{scrollRestore:"EMS-SCROLL-RESTORE",themeMode:"EMS-THEME-MODE",restart:"EMS-RESTART"},regex:{"3gppChargingCharacteristics":"[0-9A-F]{4}",apnOi:"^([a-zA-Z0-9]\\.|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]\\.)*mnc[0-9]{3}\\.mcc[0-9]{3}\\.gprs$",descriptionRm:"^[ -~]{1,128}$",ecX25519PrivateKey:"^[a-fA-F0-9]{64}$",ecX25519PublicKey:"^[a-fA-F0-9]{64}$",gpsi:"^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+)$",idString:"^[0-9a-zA-Z\\-_]{1,64}$",imsi:"^imsi-[0-9]{5,15}$",ipv4v6Addr:"^((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?)))$",ipv4Addr:"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$",ipv6Addr:"^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$",ipv4Mask:"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\\/([0-9]|[1-2][0-9]|3[0-2]))$",ipv6Prefix:"^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))(\\/.+)$",mcc:"^[0-9]{3}$",milenageConstantC:"^[a-fA-F0-9]{32}$",mnc:"^[0-9]{2,3}$",msisdn:"^[0-9]{1,15}$",msisdnForSmsBox:"^[1-9][0-9]{1,14}$",nai:"^nai-(.+@.+[.].+)$",operatorKey:"^[a-fA-F0-9]{32}$",patches:"^\\/(?<pattern>.+)\\/data\\/smData\\/\\[singleNssai=(?<json>.+)]\\/dnnConfigurations\\/(?<dnn>.+)\\/(?<field>.+)",plmnStr:"^\\d{5,6}$",plmnRuleStr:"^(\\d{5,6}|\\*|\\d{3}\\*)$",plmnVisited:"^[0-9]{5,6}$",regionalSubscriptionZoneCodes:"^[0-9A-Fa-f]{4}$",sd:"^[a-f0-9]{6}$",secp256r1PrivateKey:"^[a-fA-F0-9]{64}$",secp256r1PublicKey:"^[a-fA-F0-9]{130}$",supi:"^(imsi-[0-9]{5,15}|nai-.+|gci-.+|gli-.+)$",supiTag:"^[a-fA-F0-9]{2,32}$",tac:"(^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$)",uuid:"^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$",plmnPrefix:"^\\d{3,5}$",url:"(https?:\\/\\/(?:www\\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\\.[^\\s]{2,}|www\\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\\.[^\\s]{2,}|https?:\\/\\/(?:www\\.|(?!www))[a-zA-Z0-9]+\\.[^\\s]{2,}|www\\.[a-zA-Z0-9]+\\.[^\\s]{2,})",specialCharacters:"^[^a-zA-Z0-9]+$"},errorKey:"ERR",polling:{default:5e3,alerts:1e4,monitoring:15e3,bootstrap:6e3},idleTime:{promptTimeout_s:30},bootstrapRetryAttempts:10,monitoring:{clusters:[ue.EIR,ue.DSM,ue.NRF,ue.SMSF,ue.UDM,ue.UDR,ue.PLS]}};function bIe(){const t=localStorage.getItem($.localStorage.scrollRestore);return t?(Poe(),parseFloat(t)):null}function xIe(t){localStorage.setItem($.localStorage.scrollRestore,t.toString())}function Poe(){localStorage.removeItem($.localStorage.scrollRestore)}function SIe(t){localStorage.setItem($.localStorage.themeMode,t)}function wIe(){return localStorage.getItem($.localStorage.themeMode)}function CIe(){localStorage.removeItem($.localStorage.themeMode)}function AIe(t){localStorage.setItem(O0,t),dispatchEvent(new CustomEvent("node-change"))}function kIe(){try{const t=localStorage.getItem(O0);return t||void 0}catch(t){console.error("Cannot get site node from local storage",t)}}function MIe(){localStorage.removeItem(O0)}function PIe(){localStorage.setItem($.localStorage.restart,"true")}function jIe(){return localStorage.getItem($.localStorage.restart)}function TIe(){localStorage.removeItem($.localStorage.restart)}const Ji={getScrollRestore:bIe,setScrollRestore:xIe,deleteScrollRestore:Poe,setThemeMode:SIe,getThemeMode:wIe,deleteThemeMode:CIe,setSiteNode:AIe,getSiteNode:kIe,deleteSiteNode:MIe,setRestartStatus:PIe,getRestartStatus:jIe,deleteRestartStatus:TIe},EIe={},OG=t=>{let e;const r=new Set,n=(d,f)=>{const p=typeof d=="function"?d(e):d;if(!Object.is(p,e)){const m=e;e=f??(typeof p!="object"||p===null)?p:Object.assign({},e,p),r.forEach(h=>h(e,m))}},s=()=>e,c={setState:n,getState:s,getInitialState:()=>u,subscribe:d=>(r.add(d),()=>r.delete(d)),destroy:()=>{(EIe?"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."),r.clear()}},u=e=t(n,s,c);return c},RIe=t=>t?OG(t):OG;var NE={exports:{}},FE={},UE={exports:{}},BE={};var LG;function IIe(){if(LG)return BE;LG=1;var t=Ph();function e(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var r=typeof Object.is=="function"?Object.is:e,n=t.useState,s=t.useEffect,i=t.useLayoutEffect,o=t.useDebugValue;function l(f,p){var m=p(),h=n({inst:{value:m,getSnapshot:p}}),_=h[0].inst,g=h[1];return i(function(){_.value=m,_.getSnapshot=p,c(_)&&g({inst:_})},[f,m,p]),s(function(){return c(_)&&g({inst:_}),f(function(){c(_)&&g({inst:_})})},[f]),o(m),m}function c(f){var p=f.getSnapshot;f=f.value;try{var m=p();return!r(f,m)}catch{return!0}}function u(f,p){return p()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:l;return BE.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:d,BE}var NG;function DIe(){return NG||(NG=1,UE.exports=IIe()),UE.exports}var FG;function $Ie(){if(FG)return FE;FG=1;var t=Ph(),e=DIe();function r(u,d){return u===d&&(u!==0||1/u===1/d)||u!==u&&d!==d}var n=typeof Object.is=="function"?Object.is:r,s=e.useSyncExternalStore,i=t.useRef,o=t.useEffect,l=t.useMemo,c=t.useDebugValue;return FE.useSyncExternalStoreWithSelector=function(u,d,f,p,m){var h=i(null);if(h.current===null){var _={hasValue:!1,value:null};h.current=_}else _=h.current;h=l(function(){function y(k){if(!b){if(b=!0,x=k,k=p(k),m!==void 0&&_.hasValue){var A=_.value;if(m(A,k))return w=A}return w=k}if(A=w,n(x,k))return A;var P=p(k);return m!==void 0&&m(A,P)?(x=k,A):(x=k,w=P)}var b=!1,x,w,C=f===void 0?null:f;return[function(){return y(d())},C===null?void 0:function(){return y(C())}]},[d,f,p,m]);var g=s(u,h[0],h[1]);return o(function(){_.hasValue=!0,_.value=g},[g]),c(g),g},FE}var UG;function OIe(){return UG||(UG=1,NE.exports=$Ie()),NE.exports}var LIe=OIe();const NIe=Pi(LIe),joe={},{useDebugValue:FIe}=Yn,{useSyncExternalStoreWithSelector:UIe}=NIe;let BG=!1;const BIe=t=>t;function zIe(t,e=BIe,r){(joe?"production":void 0)!=="production"&&r&&!BG&&(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"),BG=!0);const n=UIe(t.subscribe,t.getState,t.getServerState||t.getInitialState,e,r);return FIe(n),n}const zG=t=>{(joe?"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"?RIe(t):t,r=(n,s)=>zIe(e,n,s);return Object.assign(r,e),r},Toe=t=>t?zG(t):zG,$6="libId-dialog",qIe={themeMode:Ji.getThemeMode()??"system",navigation:!0,navigationSubListOpen:[],snackbarState:null,snackbarOpen:!1,popoverState:null,popoverOpen:!1,menuState:null,menuOpen:!1,drawerState:null,drawerOpen:!1,dialogs:[],dialogsOpen:[],confirmationDialogState:null,confirmationDialogOpen:!1,confirmationSimpleDialogState:null,confirmationSimpleDialogOpen:!1},Nr=Toe(t=>({...qIe,setThemeMode:e=>{e==="system"?Ji.deleteThemeMode():Ji.setThemeMode(e),t({themeMode:e})},setNavigation:e=>{t({navigation:e})},setNavigationSubListOpen:e=>{t(r=>{const n=r.navigationSubListOpen;return n.includes(e)?{navigationSubListOpen:n.filter(s=>s!==e)}:{navigationSubListOpen:[...n,e]}})},setSnackbarState:e=>{t({snackbarState:e,snackbarOpen:!0})},setSnackbarClose:()=>{t({snackbarState:null,snackbarOpen:!1})},setPopoverState:e=>{t({popoverState:e,popoverOpen:!0})},setPopoverClose:()=>{t({popoverState:null,popoverOpen:!1})},setMenuState:e=>{t({menuState:e,menuOpen:!0})},setMenuClose:()=>{t({menuState:null,menuOpen:!1})},setDrawerState:e=>{t({drawerState:e,drawerOpen:!0})},setDrawerClose:()=>{t({drawerState:null,drawerOpen:!1})},setDialogs:e=>{t(r=>{const n=r.dialogs,s=r.dialogsOpen,i={...e,id:e.id||$6};return n.find(o=>o?.id===i.id)?{dialogsOpen:[...s.filter(o=>o!==i.id),i.id]}:{dialogs:[...n,i],dialogsOpen:[...s,i.id]}})},setDialogsClose:(e=$6)=>{t(r=>{const n=r.dialogs,s=r.dialogsOpen;return{dialogs:n.filter(i=>i.id!==e),dialogsOpen:s.filter(i=>e!==i)}})},setConfirmationDialog:e=>{t({confirmationDialogState:e,confirmationDialogOpen:!0})},setConfirmationDialogClose:()=>{t({confirmationDialogState:null,confirmationDialogOpen:!1})},setConfirmationSimpleDialog:e=>{t({confirmationSimpleDialogState:e,confirmationSimpleDialogOpen:!0})},setConfirmationSimpleDialogClose:()=>{t({confirmationSimpleDialogState:null,confirmationSimpleDialogOpen:!1})}})),VIe={hpe:{color:{background:{default:"#1d1f27",back:"#1d1f27",contrast:"rgba(255, 255, 255, 0.06)","contrast-hover":"rgba(255, 255, 255, 0.1)",warning:"#3c361e",ok:"#093d32",critical:"#552120",unknown:"rgba(255, 255, 255, 0.06)","neutral-xstrong":"#f7f7f7","neutral-xstrong-hover":"#e6e8e9"},text:{default:"#e6e8e9",strong:"#ffffff",primary:"#05cc93",onStrong:"#292d3a"},icon:{critical:"#fc6161",ok:"#05cc93",warning:"#ec8c25",unknown:"#7d8a92"},decorative:{purple:"#7764fc",blue:"#0070f8"}}}},HIe={hpe:{color:{background:{default:"#ffffff",back:"#f7f7f7",contrast:"rgba(0, 0, 0, 0.04)","contrast-hover":"rgba(0, 0, 0, 0.08)",warning:"#fff3dd",ok:"#d1ffee",critical:"#ffecec",unknown:"rgba(0, 0, 0, 0.04)","neutral-xstrong":"#292d3a","neutral-xstrong-hover":"#3e4550"},text:{default:"#3e4550",strong:"#292d3a",primary:"#006750",onStrong:"#ffffff"},icon:{critical:"#ec3331",ok:"#009a71",warning:"#d36d00",unknown:"#606a70"},decorative:{purple:"#7764fc",blue:"#0070f8"}}}},GIe={hpe:{radius:{xsmall:"6px",medium:"12px"}}},WIe=Ce,Ic=br,YIe=["#0070f8","#009a71","#7764fc","#003cae","#cc54a4","#04909d","#6c2b7c","#d25f4b"],KIe=["#65aef9","#00e0af","#9b84fc","#0070f8","#cc54a4","#00dbe4","#c98ad4","#e5786a"];function O6(t){return t==="light"?KIe:YIe}function by(t){return O6(t)[0]}function QIe(t){const e=HIe.hpe.color,r=VIe.hpe.color,n=GIe.hpe;let s=Fb({typography:{fontFamily:"Graphik, Arial, sanf-serif",fontSize:14},shape:{borderRadius:6},palette:{mode:t,...t==="light"?{primary:{main:e.text.primary},error:{main:e.icon.critical},info:{main:e.icon.unknown},warning:{main:e.icon.warning},success:{main:e.icon.ok},background:{default:e.background.back,paper:e.background.default},action:{active:"rgba(0, 0, 0, 0.87)"},text:{primary:e.text.strong,secondary:e.text.default}}:{primary:{main:r.text.primary},error:{main:r.icon.critical},info:{main:r.icon.unknown},warning:{main:r.icon.warning},success:{main:r.icon.ok},background:{default:r.background.back,paper:r.background.default},action:{active:"rgba(255, 255, 255, 0.87)"},text:{primary:r.text.strong,secondary:r.text.default}}},components:{MuiCssBaseline:{styleOverrides:i=>({"& ::highlight(search)":{backgroundColor:i.palette.primary.main,color:i.palette.primary.contrastText}})},MuiTypography:{styleOverrides:{root:()=>({variants:[{props:{variant:"h6"},style:{fontSize:"1.125rem",lineHeight:"1.5rem"}},{props:{variant:"h5"},style:{fontSize:"1.2rem",lineHeight:"1.3rem"}}]})}},MuiPaper:{styleOverrides:{root:()=>({borderRadius:n.radius.medium})}},MuiAccordion:{styleOverrides:{root:()=>({borderRadius:n.radius.medium})}},MuiAlert:{styleOverrides:{root:()=>({borderRadius:n.radius.xsmall,variants:[{props:{severity:"info"},style:{backgroundColor:t==="light"?e.background.unknown:r.background.unknown}},{props:{severity:"error"},style:{backgroundColor:t==="light"?e.background.critical:r.background.critical}},{props:{severity:"warning"},style:{backgroundColor:t==="light"?e.background.warning:r.background.warning}},{props:{severity:"success"},style:{backgroundColor:t==="light"?e.background.ok:r.background.ok}}]})}},MuiDrawer:{styleOverrides:{paper:()=>({borderRadius:0})}},MuiAppBar:{styleOverrides:{root:()=>({borderRadius:0})}},MuiButton:{styleOverrides:{root:({ownerState:i,theme:o})=>({fontWeight:"600",...i.variant==="outlined"&&{backgroundColor:"transparent",color:o.palette.text.primary,borderWidth:"2px !important"},...i.size==="small"&&{height:"30px"},...i.size==="medium"&&{height:"36px"},...i.size==="large"&&{height:"48px"},variants:[{props:{variant:"contained"},style:{backgroundColor:t==="light"?e.background["neutral-xstrong"]:r.background["neutral-xstrong"],color:t==="light"?e.text.onStrong:r.text.onStrong,"&:hover":{backgroundColor:t==="light"?e.background["neutral-xstrong-hover"]:r.background["neutral-xstrong-hover"]}}},{props:{variant:"outlined"},style:{backgroundColor:t==="light"?e.background.contrast:r.background.contrast,color:t==="light"?e.text.strong:r.text.strong,border:"0 !important","&:hover":{backgroundColor:t==="light"?e.background["contrast-hover"]:r.background["contrast-hover"]}}},{props:{variant:"text"},style:{color:t==="light"?e.text.strong:r.text.strong,"&:hover":{backgroundColor:t==="light"?e.background["contrast-hover"]:r.background["contrast-hover"]}}}]})}},MuiToggleButton:{styleOverrides:{root:()=>({fontWeight:"500",padding:"0px 12px","&.Mui-selected":{fontWeight:"600"},variants:[{props:{size:"small"},style:{height:"30px !important"}},{props:{size:"medium"},style:{height:"36px !important"}},{props:{size:"large"},style:{height:"48px !important"}}]})}},MuiTableCell:{styleOverrides:{root:{wordBreak:"keep-all",whiteSpace:"pre-line"}}},MuiTableSortLabel:{styleOverrides:{root:{whiteSpace:"nowrap"}}},MuiDialogTitle:{styleOverrides:{root:{padding:"8px 16px"}}},MuiDialogContent:{styleOverrides:{root:{padding:"12px 16px 16px"}}},MuiDialogActions:{styleOverrides:{root:{padding:"4px 16px 16px"}}},MuiFormControl:{styleOverrides:{root:{marginTop:"4px"}}},MuiSelect:{defaultProps:{size:"small"}},MuiInputLabel:{styleOverrides:{root:{variants:[{props:{shrink:!1},style:{transform:"translate(14px, 9px) scale(1)"}}]}}},MuiInputBase:{defaultProps:{size:"small"}}}});return s=Fb(s,{palette:{boy:s.palette.augmentColor({color:{main:t==="light"?e.decorative.blue:r.decorative.blue},name:"boy"}),girl:s.palette.augmentColor({color:{main:t==="light"?e.decorative.purple:r.decorative.purple},name:"girl"}),openid:s.palette.augmentColor({color:{main:"#f7931e"},name:"openid"})}}),s}function ZIe(t){const e=he.c(6),{children:r}=t,n=Nr(XIe),s=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",i=n==="system"?s:n;let o;e[0]!==i?(o=QIe(i),e[0]=i,e[1]=o):o=e[1];const l=o;let c;e[2]===Symbol.for("react.memo_cache_sentinel")?(c=a.jsx(zPe,{enableColorScheme:!0}),e[2]=c):c=e[2];let u;return e[3]!==r||e[4]!==l?(u=a.jsxs(dye,{theme:l,children:[c,r]}),e[3]=r,e[4]=l,e[5]=u):u=e[5],u}function XIe(t){return t.themeMode}function JIe(t){const e=he.c(2),{children:r}=t;let n;return e[0]!==r?(n=a.jsx(ZIe,{children:r}),e[0]=r,e[1]=n):n=e[1],n}function Jt(){const t=he.c(15),e=Nr(pDe),r=Nr(fDe),n=Nr(dDe),s=Nr(uDe),i=Nr(cDe),o=Nr(lDe),l=Nr(aDe),c=Nr(oDe),u=Nr(iDe),d=Nr(sDe),f=Nr(nDe),p=Nr(rDe),m=Nr(tDe),h=Nr(eDe);let _;return t[0]!==o||t[1]!==m||t[2]!==l||t[3]!==h||t[4]!==i||t[5]!==p||t[6]!==e||t[7]!==d||t[8]!==n||t[9]!==c||t[10]!==s||t[11]!==u||t[12]!==r||t[13]!==f?(_={dialogOpen:i,dialogClose:p,drawerOpen:e,drawerClose:d,menuOpen:n,menuClose:c,snackbarOpen:r,snackbarClose:f,popoverOpen:s,popoverClose:u,confirmationDialogOpen:o,confirmationDialogClose:m,confirmationSimpleDialogOpen:l,confirmationSimpleDialogClose:h},t[0]=o,t[1]=m,t[2]=l,t[3]=h,t[4]=i,t[5]=p,t[6]=e,t[7]=d,t[8]=n,t[9]=c,t[10]=s,t[11]=u,t[12]=r,t[13]=f,t[14]=_):_=t[14],_}function eDe(t){return t.setConfirmationSimpleDialogClose}function tDe(t){return t.setConfirmationDialogClose}function rDe(t){return t.setDialogsClose}function nDe(t){return t.setSnackbarClose}function sDe(t){return t.setDrawerClose}function iDe(t){return t.setPopoverClose}function oDe(t){return t.setMenuClose}function aDe(t){return t.setConfirmationSimpleDialog}function lDe(t){return t.setConfirmationDialog}function cDe(t){return t.setDialogs}function uDe(t){return t.setPopoverState}function dDe(t){return t.setMenuState}function fDe(t){return t.setSnackbarState}function pDe(t){return t.setDrawerState}const mDe="Services Status",hDe={"app.title":"Athonet","errors.drawer.title":"Errors","errors.drawer.actions.delete":"Delete","menu.version":"Version: {version}","menu.info.version":"version","menu.info.product_name":"product","menu.info.hostname":"hostname","common.form.add":"Add","common.form.submit":"Submit","common.form.continue":"Continue","common.form.close":"Close","common.form.cancel":"Cancel","common.new":"New","common.add":"Add","common.delete":"Delete","common.download":"Download","common.upload":"Upload","common.select_all":"Select all","common.save":"Save","common.edit":"Edit","common.view":"View","common.reset":"Reset","common.confirm":"Confirm","common.button.edit":"Edit","common.button.delete":"Delete","common.button.import":"Import","common.dropzone.previewText":"Selected files","common.dropzone.uploadLabel":"Drag and drop a file here or click","common.form.submit.error":"Error sending data: {description}","common.form.dirty":"(data has been modified!)","common.form.unit":"Unit","common.pagenotfound":"Page not found","common.reload":"Reload","common.status_error.title":"Error","common.status_error.message":"Something went wrong","common.status_error.fetch":"Error fetching data","common.status_error.service_unavailable":"Service is currently unavailable (unavailable services: {services})","common.status_error.service_unavailable_no_info":"Service is currently unavailable","common.alerts":"Alerts","common.terminal":"Terminal","common.logs":"Logs","common.no-data":"No data to display","common.backup":"Backup","common.restore":"Restore","common.remove":"Remove","common.update":"Update","common.or":"or","common.enabled":"Enabled","common.empty":"Empty","common.current":"current","route.errors.route_not_managed":"Permissions for route {path} are not managed","delete.form.title":"Delete","delete.form.text":"Are you sure to delete the element?","info_dialog.close":"Close","confirm_dialog.title":"Confirm","confirm_dialog.cancel":"Cancel","confirm_dialog.ok":"Ok","bad_request.message":"Invalid request!","unauthorized.message":"You are not authorized to view this content (required permissions: {permissions}).","unauthorized.forbidden":"You are not allowed to proceed","unauthorized.forbidden_with_permissions":"You are not allowed to proceed (required permissions: {permissions})","service_down.message":"This service is down or stopped!","dynamic.table.create_row.form.title":"Create new {value} element","dynamic.table.edit_row.form.title":"Edit {value} element","dynamic.table.edit_row":"Edit row","dynamic.table.delete_row":"Delete row","dynamic.button.confirmation.prompt":"Do you want to proceed?","dynamic.button.confirmation.cancel":"No","dynamic.button.confirmation.confirm":"Yes","dynamic.field.notset":"(not set)","dynamic.error":"Error loading page!","dynamic.message.cannot_write":"You are not able to edit configuration because you don't have the write permission","validation.required":"Required field","validation.no_wildcard_when_default_dnn":"* is not allowed for default DDN","validation.invalid_format":"Invalid format","validation.pattern":"Must match: {pattern}","validation.minLength":"Min length: ${min} chars","validation.maxLength":"Max length: ${max} chars","validation.minValue":"Min value: ${min}","validation.maxValue":"Max value: ${max}","validation.date-time.error":"Invalid datetime value","validation.email.error":"Invalid email value","validation.hostname.error":"Invalid hostname value","validation.ipv4.error":"Invalid IPV4 address value","validation.ipv6.error":"Invalid IPV6 address value","validation.ip.error":"Invalid IPV4 or IPV6 address value","validation.cidr4.error":"Invalid IPV4 CIDR value","validation.cidr6.error":"Invalid IPV6 CIDR value","validation.cidr.error":"Invalid IPV4 or IPV6 CIDR value","validation.list.unique_items":"Items must be unique","validation.list.min_items":"Must have at least ${min} items","validation.list.max_items":"Must have at most ${max} items","validation.list.item.error":"Item {index}: ","cluster.errors.no_nf_configured":"No NF configured for this Cluster page. Please contact administrator","cluster.message.no_repo":"There are no repositories","cluster.message.node_not_in_cluster":'Current node is not part of a cluster. Insert a node and click on "Join cluster" if you want to add the current node to a cluster.',"cluster.message.node_data_drop_warning":"NOTE: Data on local node will be dropped before joining the target node","cluster.message.node_data_destructive_operation_warning":"This operation completely deletes all data stored in the node joining the cluster. The data will be replaced with the one present on the joined cluster.","cluster.buttons.join_cluster":"Join Cluster","cluster.buttons.leave_cluster":"Leave Cluster","cluster.buttons.join":"Join","cluster.buttons.leave":"Leave","cluster.buttons.cancel":"Cancel","cluster.buttons.remove_dead_node":"Remove dead node","cluster.buttons.remove_dead_node_ap":"Remove Dead AP Node","cluster.buttons.leave_cp_without_consensus":"Leave CP Cluster Without Consensus","cluster.dialog.join_ok":"Cluster joined correctly","cluster.dialog.join_ko":"Error on joining cluster","cluster.dialog.leave_ok":"Cluster left correctly","cluster.dialog.leave_without_consensus_ok":"Cluster left correctly without consensus","cluster.dialog.leave_without_consensus_ko":"Error on leaving cluster without consensus","cluster.dialog.remove_dead_node_ok":"Dead AP node removed correctly","cluster.dialog.remove_dead_node_ko":"Error on removing dead AP node","cluster.dialog.join.title":"Join Cluster","cluster.dialog.join.description":"This operation completely deletes all data stored in the node joining the cluster. The data will be replaced with the one present on the joined cluster. Are you sure to join cluster?","cluster.dialog.join.cancel":"Cancel","cluster.dialog.join.confirm":"Join","cluster.dialog.leave.title":"Leave Cluster","cluster.dialog.leave.description":"Are you sure you want to leave cluster?","cluster.dialog.leave.force":"Force leave","cluster.dialog.leave.cancel":"Cancel","cluster.dialog.leave.confirm":"Leave","cluster.dialog.leave_without_consensus.title":"Leave CP Cluster Without Consensus","cluster.dialog.leave_without_consensus.description":"Are you sure you want to leave CP cluster without consensus?","cluster.dialog.leave_without_consensus.cancel":"Cancel","cluster.dialog.leave_without_consensus.confirm":"Leave","cluster.dialog.remove_dead_node_ap.title":"Remove Dead AP Node","cluster.dialog.remove_dead_node_ap.description":"Are you sure you want to remove AP node?","cluster.dialog.remove_dead_node_ap.cancel":"Cancel","cluster.dialog.remove_dead_node_ap.confirm":"Remove","cluster.form.errors.required":"Field is required","cluster.form.node":"Target node","cluster.form.node_placeholder":"Host","cluster.status.current_node":"Current","cluster.status.unreachable_node":"Unreachable","cluster.status.unreachable_nodes_count":"{count} Unreachable nodes","cluster.status.unreachable_node_count":"{count} Unreachable node","cluster.status.host_node":"Host","cluster.status.repositories":"Repositories","cluster.status.cluster_nodes":"Cluster nodes","cluster.status.current":"current","cluster.status.node_not_in_cluster":"Current node is not in cluster","cluster.status.repo_with_errors":"One or more repositories are down or have errors","cluster.site_picker.node_down":"The node {ip_address} that you selected is unreachable","cluster.title":"DB cluster","configuration.buttons.apply":"Apply Configuration","configuration.buttons.persist":"Persist Configuration","configuration.buttons.restart_resource":"Restart Resource","configuration.buttons.factory_reset":"Factory Reset","network_configuration.message.cannot_write":"You are not able to edit configuration because you don't have the write permission","network_configuration.dialog.title":"Network configuration","network_configuration.dialog.no_configuration":"No boot configuration","network_configuration.dialog.apply_configuration_ok":"Network configuration set correctly","network_configuration.dialog.apply_configuration_ko":"Error on setting network configuration","network_configuration.buttons.save":"Save","network_configuration.buttons.persist_and_reboot":"Persist and Reboot","network_configuration.buttons.cancel":"Cancel","network_configuration.form.errors.required":"Field is required","network_configuration.form.dev":"Device/VRF","network_configuration.form.host":"Host","network_configuration.form.name":"Name","network_configuration.form.port":"Port","network_configuration.form.tos":"TOS","network_configuration.fieldset":"Network configuration","network_configuration.alert.cannot_load_network_configuration":"Cannot load boot configuration","lawful_interception.message.cannot_write":"You are not able to edit lawful interception because you don't have the write permission","lawful_interception.dialog.title":"Lawful Interception","lawful_interception.dialog.no_configuration":"No Lawful Interception","lawful_interception.dialog.apply_configuration_ok":"Lawful Interception set correctly","lawful_interception.dialog.apply_configuration_ko":"Error on setting Lawful Interception","lawful_interception.buttons.save":"Save","lawful_interception.buttons.cancel":"Cancel","lawful_interception.form.errors.required":"Field is required","lawful_interception.form.title.x1":"X1 Server","lawful_interception.form.title.x1_uids":"UIDs","lawful_interception.form.title.x2":"X2 Client","lawful_interception.form.x1_ca":"CA file","lawful_interception.form.x1_key":"Key file","lawful_interception.form.x1_cert":"Cert file","lawful_interception.form.x2_ca":"CA file","lawful_interception.form.x2_key":"Key file","lawful_interception.form.x2_cert":"Cert file","lawful_interception.form.x1_uids":"UIDs","lawful_interception.form.title.x3":"X3","lawful_interception.form.x3_ca":"CA file","lawful_interception.form.x3_key":"Key file","lawful_interception.form.x3_cert":"Cert file","lawful_interception.form.title.t3":"T3","lawful_interception.form.t3_ca":"CA file","lawful_interception.form.t3_key":"Key file","lawful_interception.form.t3_cert":"Cert file","lawful_interception.panel.title":"Lawful Interception","lawful_interception.actions.delete":"Delete","lawful_interception.actions.confirm_delete":"Are you sure you want to delete the provided lawful interception?","lawful_interception.alert.cannot_load_lawful_interception":"Cannot load lawful interception","lawful_interception.provisioned":"Provisioned","lawful_interception.not_provisioned":"Not Provisioned","lawful_interception.apply_ok":"Lawful interception successfully saved","lawful_interception.apply_ko":"There was a problem saving lawful interception","lawful_interception.remove_ok":"Lawful interception successfully removed","lawful_interception.remove_ko":"There was a problem removing lawful interception","lawful_interception.load_ko":"There was a problem loading lawful interception key material","aaa.status.radius.local_addr":"Local Address","aaa.status.radius.local_port":"Local Port","ngap.status.connections.actions.delete":"Delete","ngap.status.connections.actions.reset":"Reset","ngap.status.connections.association_id":"Association ID","ngap.status.connections.connected_at":"Connected at","ngap.status.connections.global_ran_node_id":"Global RAN Node ID","ngap.status.connections.global_ran_node_id.id":"ID","ngap.status.connections.global_ran_node_id.plmn":"PLMN","ngap.status.connections.global_ran_node_id.type":"Type","ngap.status.connections.ran_node_name":"RAN Node Name","ngap.status.connections.local_addrs":"Local Addresses","ngap.status.connections.local_port":"Local Port","ngap.status.connections.remote_addrs":"Remote Addresses","ngap.status.connections.remote_port":"Remote Port","ngap.status.connections.srb_count":"SRB Count","ngap.status.connections.supported_ta_list":"Supported TAs","ngap.status.connections.supported_ta_list.broadcast_plmns":"Broadcast PLMNs","ngap.status.connections.supported_ta_list.broadcast_plmns.nssai":"NSSAI","ngap.status.connections.supported_ta_list.broadcast_plmns.PLMN":"PLMN","ngap.status.connections.supported_ta_list.tac":"TAC","ngap.status.connections.row_detail.tac":"TAC","ngap.status.connections.row_detail.broadcast_plmns":"Broadcast PLMNs with NSSAIs","ngap.status.connections.row_detail.broadcast_plmns.plmn":"PLMN","ngap.status.connections.row_detail.broadcast_plmns.nssais":"NSSAIs","ngap.status.listeners.local_addrs":"Local Addresses","ngap.status.listeners.local_port":"Local Port","ngap.status.listeners.transport_name":"Transport Name","diameter.status.connections.actions.disconnect":"Disconnect","diameter.status.connections.user":"User","diameter.status.connections.vendor_specific_applications":"Application ID (Vendor ID)","diameter.status.connections.vendor_specific_applications.application_id":"Application ID","diameter.status.connections.vendor_specific_applications.vendor_id":"Vendor ID","diameter.status.connections.name":"Name","diameter.status.connections.side":"Side","diameter.status.connections.peer":"Peer","diameter.status.connections.local_peer":"Local","diameter.status.connections.remote_peer":"Remote","diameter.status.connections.local_capabilities":"Local Capabilities","diameter.status.connections.remote_capabilities":"Remote Capabilities","diameter.status.connections.capabilities.origin_host":"Origin Host","diameter.status.connections.capabilities.origin_realm":"Origin Realm","diameter.status.connections.capabilities.vendor_id":"Vendor ID","diameter.status.connections.capabilities.product_name":"Product Name","diameter.status.connections.stack":"Stack","diameter.status.connections.applications":"Applications","diameter.status.connections.watchdog":"Watchdog","diameter.status.connections.port":"Port","diameter.status.connections.local_port":"Local Port","diameter.status.connections.remote_port":"Remote Port","diameter.status.connections.connection_type":"Connection Type","diameter.status.connections.connection_type.DiameterTcpConnection":"TCP","diameter.status.connections.connection_type.DiameterSctpConnection":"SCTP","diameter.status.connections.addrs":"Addresses","diameter.status.connections.local_addr":"Local Address","diameter.status.connections.local_addrs":"Local Addresses","diameter.status.connections.remote_addr":"Remote Address","diameter.status.connections.remote_addrs":"Remote Addresses","diameter.status.peers.name":"Name","diameter.status.peers.stack":"Stack","diameter.status.peers.remote_host":"Remote Host","diameter.status.peers.remote_realm":"Remote Realm","diameter.status.peers.addrs":"Addresses","diameter.status.peers.app_ids":"App IDs","diameter.status.peers.product_name":"Product Name","diameter.status.peers.vendor_id":"Vendor ID","diameter.status.peers.transport":"Transport","diameter.status.peers.status":"Status","diameter.status.peers.connection":"Connection","route.gtpp.status.connections":"Connections","route.gtpp.status.local_address":"Local Address","route.gtpp.status.local_port":"Local Port","route.gtpp.status.remote_address":"Remote Address","route.gtpp.status.remote_host":"Remote Host","route.gtpp.status.remote_port":"Remote Port","route.gtpp.status.transport_name":"Transport Name","gtpu.status.sockets.transport_name":"Transport Name","gtpu.status.sockets.local_addr":"Local Address","gtpu.status.sockets.local_port":"Local Port","gtpu.status.sockets.created":"Created","gtpu.status.sockets.counters":"Counters #","gtpu.status.sockets.counters.write_pkg_max":"Write Pkg Max","gtpu.status.sockets.counters.acc_waits":"Acc Waits","gtpu.status.sockets.counters.sendfile_tries":"Sendfile Tries","gtpu.status.sockets.counters.gtpu_snd_error_ind":"GTP-U Snd Error Ind","gtpu.status.sockets.counters.sendfile_byte":"Sendfile Byte","gtpu.status.sockets.counters.read_byte":"Read Byte","gtpu.status.sockets.counters.acc_success":"Acc Success","gtpu.status.sockets.counters.gtpu_rcv_gpdu":"GTP-U Rcv Gpdu","gtpu.status.sockets.counters.gtpu_rcv_echo_req":"GTP-U Rcv Echo Req","gtpu.status.sockets.counters.sendfile_fails":"Sendfile Fails","gtpu.status.sockets.counters.gtpu_rcv_echo_res":"GTP-U Rcv Echo Res","gtpu.status.sockets.counters.read_pkg_max":"Read Pkg Max","gtpu.status.sockets.counters.sendfile_max":"Sendfile Max","gtpu.status.sockets.counters.read_tries":"Read Tries","gtpu.status.sockets.counters.gtpu_snd_end_mark":"GTP-U Snd End Mark","gtpu.status.sockets.counters.write_pkg":"Write Pkg","gtpu.status.sockets.counters.write_tries":"Write Tries","gtpu.status.sockets.counters.sendfile_waits":"Sendfile Waits","gtpu.status.sockets.counters.gtpu_snd_gpdu":"GTP-U Snd Gpdu","gtpu.status.sockets.counters.acc_tries":"Acc Tries","gtpu.status.sockets.counters.write_byte":"Write Byte","gtpu.status.sockets.counters.acc_fails":"Acc Fails","gtpu.status.sockets.counters.sendfile":"Sendfile","gtpu.status.sockets.counters.read_pkg":"Read Pkg","gtpu.status.sockets.counters.sendfile_pkg_max":"Sendfile Pkg Max","gtpu.status.sockets.counters.sendfile_pkg":"Sendfile Pkg","gtpu.status.sockets.counters.gtpu_snd_drop":"GTP-U Snd Drop","gtpu.status.sockets.counters.write_fails":"Write Fails","gtpu.status.sockets.counters.gtpu_rcv_error_ind":"GTP-U Rcv Error Ind","gtpu.status.sockets.counters.read_fails":"Read Fails","gtpu.status.sockets.counters.gtpu_snd_echo_req":"GTP-U Snd Echo Req","gtpu.status.sockets.counters.gtpu_rcv_end_mark":"GTP-U Rcv End Mark","gtpu.status.sockets.counters.write_waits":"Write Waits","gtpu.status.sockets.counters.gtpu_rcv_drop":"GTP-U Rcv Drop","gtpu.status.sockets.counters.read_waits":"Read Waits","gtpu.status.sockets.counters.gtpu_snd_echo_res":"GTP-U Snd Echo Res","gtpc.status.sockets.transport_name":"Transport Name","gtpc.status.sockets.local_addr":"Local Address","gtpc.status.sockets.local_port":"Local Port","gtpc.status.sockets.dev":"Device","gtpc.status.peers.transport_name":"Transport Name","gtpc.status.peers.local_addr":"Local Address","gtpc.status.peers.remote_addr":"Remote Address","gtpc.status.peers.version":"Version","gtpc.status.peers.reset_counter":"Reset Counter","gtpc.status.peers.uptime_sec":"Uptime (s)","gtpc.status.peers.last_reset_at":"Last Reset At","gtpc.status.peers.connected_at":"Connected At","gtpc.status.peers.num_tuns":"Num Tuns","denypeer.status.gtpc.id":"ID","denypeer.status.gtpc.blocked_count":"Blocked Count","denypeer.status.gtpc.expires":"Expires","denypeer.status.gtpc.rule_type":"Rule Type","denypeer.status.gtpc.blocked":"Blocked","denypeer.status.gtpc.type":"Type","denypeer.status.gtpc.actions.flush":"Flush Blocked Peers","pfcp.status.sockets.transport_name":"Transport Name","pfcp.status.sockets.local_addr":"Local Address","pfcp.status.sockets.local_port":"Local Port","pfcp.status.peers.name":"Name","pfcp.status.peers.remote_node_id":"Remote Node ID","pfcp.status.peers.transport_name":"Transport Name","pfcp.status.peers.local_addr":"Local Address","pfcp.status.peers.remote_addr":"Remote Address","pfcp.status.peers.version":"Version","pfcp.status.peers.reset_counter":"Reset Counter","pfcp.status.peers.uptime_sec":"Uptime (s)","pfcp.status.peers.uptime":"Uptime","pfcp.status.peers.last_reset_at":"Last Reset At","pfcp.status.peers.connected_at":"Connected At","pfcp.status.peers.num_tuns":"Num Tuns","mme.s1ap.status.connections.actions.disconnect":"Disconnect","mme.s1ap.status.connections.actions.reset":"Reset","mme.s1ap.status.connections.local_addrs":"Local Addresses","mme.s1ap.status.connections.local_port":"Local Port","mme.s1ap.status.connections.remote_addrs":"Remote Addresses","mme.s1ap.status.connections.remote_port":"Remote Port","mme.s1ap.status.connections.enb_name":"Enb Name","mme.s1ap.status.connections.transport_name":"Transport Name","mme.s1ap.status.connections.srb_count":"Srb Count","mme.s1ap.status.connections.connection_ts":"Connection TS","mme.s1ap.status.connections.connection_id":"Connection ID","mme.s1ap.status.connections.global_enb_id":"Global Enb ID","mme.s1ap.status.connections.global_enb_id.id":"ID","mme.s1ap.status.connections.global_enb_id.plmn":"PLMN","mme.s1ap.status.connections.global_enb_id.type":"Type","mme.s1ap.status.connections.tai":"TAI","mme.s1ap.status.connections.tai.plmn":"PLMN","mme.s1ap.status.connections.tai.tac":"Tac","mme.s1ap.status.connections.tai.rat":"Rat","mme.s1ap.status.listeners.transport_name":"Transport Name","mme.s1ap.status.listeners.local_addrs":"Local Addresses","mme.s1ap.status.listeners.local_port":"Local Port","mme.s1ap.status.listeners.dev":"Device","mme.sgs.status.connections.local_addrs":"Local Addresses","mme.sgs.status.connections.local_port":"Local Port","mme.sgs.status.connections.remote_addrs":"Remote Addresses","mme.sgs.status.connections.remote_port":"Remote Port","mme.sgs.status.connections.connection_id":"Connection ID","mme.sbcap.status.connections.local_addrs":"Local Addresses","mme.sbcap.status.connections.local_port":"Local Port","mme.sbcap.status.connections.remote_addrs":"Remote Addresses","mme.sbcap.status.connections.remote_port":"Remote Port","mme.sbcap.status.connections.transport_name":"Transport Name","mme.sbcap.status.connections.connection_ts":"Connection TS","mme.sbcap.status.connections.connection_id":"Connection ID","mme.sbcap.status.listeners.transport_name":"Transport Name","mme.sbcap.status.listeners.local_addrs":"Local Addresses","mme.sbcap.status.listeners.local_port":"Local Port","mme.sbcap.status.listeners.dev":"Device","mme.dns.status.cache.query":"Query","mme.dns.status.cache.query.domain":"Domain","mme.dns.status.cache.query.type":"Type","mme.dns.status.cache.expires":"Expires","mme.dns.status.cache.expired":"Expired","mme.dns.status.cache.expiration":"Expiration","mme.dns.status.cache.details":"Details","mme.dns.status.cache.no_data":"No data","mme.dns.status.cache.actions.flush_cache":"Flush Cache","mme.m3.status.connections.connection_id":"Connection ID","mme.m3.status.connections.local_addrs":"Local addresses","mme.m3.status.connections.local_port":"Local port","mme.m3.status.connections.remote_addrs":"Remote addresses","mme.m3.status.connections.remote_port":"Remote port","mme.m3.status.connections.transport_name":"Transport name","mme.m3.status.connections.connection_ts":"Connection TS","mme.m3.status.connections.mce_name":"MCE name","mme.m3.status.connections.m3_sessions.tmgi":"M3 sessions TMGI","mme.m3.status.connections.m3_sessions.flow":"M3 sessions Flow","mme.m3.status.connections.m3_sessions.sas":"M3 sessions SAS","mme.m3.status.connections.m3_sessions.cl":"M3 sessions CL","mme.m3.status.connections.m3_sessions_count":"M3 sessions count","mme.m3.status.connections.global_mce_id.id":"Global MCE ID","mme.m3.status.connections.global_mce_id.plmn":"Global MCE PLMN","mme.m3.status.connections.id":"ID","mme.m3.status.connections.service_areas":"Service areas","licensing.table.id":"ID","licensing.table.nf_type":"NF Type","licensing.table.start_date":"Start Date","licensing.table.expire_date":"Expire Date","licensing.table.precedence":"Precedence","licensing.table.state":"State","licensing.table.actions.delete":"Delete","licensing.table.parameters.max_connected_ran_nodes":"Max Connected RAN Nodes","licensing.table.parameters.max_registered_ues":"Max Registered UEs","licensing.table.parameters.max_provisioned_supis":"Max Provisioned Supis","licensing.table.details.app_type":"App Type","licensing.table.details.federation":"Federation","licensing.table.details.max_reg_users":"Max Reg Users","licensing.table.details.max_sessions":"Max Sessions","licensing.table.details.offline_charging":"Offline Charging","licensing.table.details.online_charging":"Online Charging","licensing.table.details.transcoding":"Transcoding","licensing.table.details.vonr":"Vonr","licensing.info":"Info","licensing.install":"Install","licensing.set":"Set","licensing.persist":"Persist","licensing.host.hostname":"Hostname","licensing.host.siteid":"Site Id","licensing.form.title":"New License","licensing.form.license":"License","licensing.form.license.placeholder":"insert a license value","licensing.delete.dialog.confirm":"Are you sure to delete the license?","licensing.upload":"Upload Configuration","licensing.upload.form.file":"Select file","licensing.upload.form.error":"Something went wrong. To view the details of an error, hover the cursor over the icons in the table below.","licensing.upload.form.error.invalid_license":"Invalid License","licensing.upload.form.error.unspecified":"Unspecified","licensing.upload.form.error.wrong_site_id":"Wrong Site Id","licensing.upload.form.error.not_found":"Not Found","licensing.upload.form.file.required":"File is required","licensing.upload.buttons.upload":"Upload","licensing.upload.form.upload.placeholder":"Select a single .json file","licensing.upload.form.title":"Upload a License","licensing.upload.form.description":"Add a single valid .json file.","licensing.upload.form.result.description":"Update completed, below are the operation details with a log.","licensing.upload.form.result.message_ok":"Uploaded successfully","licensing.upload.form.result.message_ko":"Unknown error encountered uploading file","dsm_zones.table.id":"Server Name","dsm_zones.table.name":"Name","dsm_zones.table.vrf":"VRF","dsm_zones.table.actions.edit":"Edit","dsm_zones.table.actions.delete":"Delete","dsm_zones.table.actions.download":"Download","dsm_zones.form.title":"New DNS Zone","dsm_zones.form.license":"DNS Zone","dsm_zones.form.license.placeholder":"insert a license value","dsm_zones.delete.dialog.confirm":"Are you sure to delete the DNS zone?","dsm_zones.upload":"Upload DNS Zone","dsm_zones.upload.form.file":"Select file","dsm_zones.upload.form.file.required":"File is required","dsm_zones.upload.form.file.upload":"File Upload","dsm_zones.upload.form.file.content":"Content","dsm_zones.upload.form.name":"Name","dsm_zones.upload.form.server":"Server","dsm_zones.upload.buttons.new":"New","dsm_zones.upload.buttons.upload":"Upload","dsm_zones.upload.form.upload.placeholder":"Select a single text file","dsm_zones.upload.form.title":"Upload a DNS Zone","dsm_zones.upload.form.edit.title":"Edit a DNS Zone","dsm_zones.upload.form.description":"Add a single valid text file, its name will be used for DNS zone name.","dsm_zones.upload.form.result.description":"Update completed, below are the operation details with a log.","dsm_zones.upload.form.result.message_ok":"Uploaded successfully","dsm_zones.upload.form.result.message_ko":"Unknown error encountered uploading file","dsm_zones.upload.min":"You must upload one file","dsm_zones.upload.max":"You must upload one file","dsm_zones.upload.required":"Field is required","dsm_zones.upload.save":"Save","dsm_zones.upload.cancel":"Cancel","dsm_zones.download.result.message_ko":"Error on downloading DNS zone","dsm_zones.delete.result.message_ok":"DNS zone deleted correctly","dsm_zones.delete.result.message_ko":"Error on deleting DNS zone","dsm_zones.fetch.result.message_ko":"Error on fetching DNS zone","login.title":"Sign in","login.subtitle":"Please enter your credentials to proceed","login.submit":"Sign in","login.submit.local":"Sign in with credentials","login.submit.radius":"Sign in with radius","login.submit.ldap":"Sign in with ldap","login.username.label":"Username","login.password.label":"Password","login.submitButton":"Sign in","login.forgotPasswordLink":"Forgot password?","login.username.error":"Please insert your username","login.password.error":"Insert a password","login.password.error.rules":"It must contain at least 1 uppercase letter, 1 digit and 1 special character","login.username.placeholder":"insert your username","login.password.placeholder":"insert your password","login.errorMessage":"Wrong username or password, try with different credentials","login.no_backends":"No authentication strategies detected, please contact the administrator.","login.password.error.long":"The password must be at least ${min} characters long","login.password.error.required":"Please type the password","login.reset.title":"Reset Password","login.reset.subtitle":"Please enter your username to request a password reset","login.reset.submitButton":"Reset password","login.reset.backButton":"Go to login","login.reset.errorMessage":"The username you've inserted doesn't exists, try with another","login.reset.emailSent":"An email with a password reset link has been sent to your email address","login.reset.passwordLabel":"Confirm password","login.reset.password.placeholder":"Type the new password again","login.reset.matchPasswordError":"The passwords inserted are different","login.reset.subtitleConfirm":"Please create a new password","login.reset.passwordChanged":"Your password was changed successfully","login.reset.resetUserNotFound":"User not found or reset link expired","login.reset.resetError":"Your password change operation has failed","login.change.title":"Your password must be changed","login.change.subtitle":"Please create a new password","login.change.submitButton":"Change password","login.change.backButton":"Go to login","login.change.passwordChanged":"Your password was changed successfully","login.change.resetError":"Your password change operation has failed","login.change.oldPasswordLabel":"Current password","login.change.passwordPlaceholder":"Enter your current password","login.change.newPasswordLabel":"New password","login.change.newPasswordPlaceholder":"Enter a new password","ncmstatus.table.device":"Device","ncmstatus.table.deviceindex":"Device index","ncmstatus.table.ipaddress":"IP Address","ncmstatus.table.macaddress":"MAC Address","ncmstatus.table.status":"Status","ncmstatus.table.destination":"Destination","ncmstatus.table.gateway":"IP Gateway","ncmstatus.table.source":"Source","ncmstatus.table.priority":"Priority","ncmstatus.table.rule":"Rule","ncmstatus.table.vrf":"VRF","ncmstatus.title.addresses":"Addresses and Routes","ncmstatus.title.rules":"Rules","ncmstatus.title.linkstatus":"Link Status","ncmstatus.title.arp":"ARP/Neighbors","ncm_status.tabs.network_interfaces":"Interfaces","ncm_status.tabs.neighbors":"Neighbors","ncm_status.tabs.routes":"Routes","ncm_status.tabs.rules":"Rules","ncm_status.tabs.sockets":"Sockets","ncm_status.tabs.links":"Links","ncm_status.filter.vrf":"VRF","ncm_status.filter.table":"Table","ncm_status.filter.type":"Type","ncm_status.filter.family.inet":"IPv4","ncm_status.filter.family.inet6":"IPv6","ncm_status.tabs.network_interfaces.id":"ID","ncm_status.tabs.network_interfaces.interface":"Interface","ncm_status.tabs.network_interfaces.interface_type":"Interface Type","ncm_status.tabs.network_interfaces.mtu":"MTU","ncm_status.tabs.network_interfaces.status":"Status","ncm_status.tabs.network_interfaces.address":"Mac","ncm_status.tabs.network_interfaces.ip_address":"IP Address","ncm_status.tabs.network_interfaces.master":"Master","ncm_status.tabs.network_interfaces.linkinfo":"Link Info","ncm_status.tabs.network_interfaces.linkinfo.info_data":"Info Data","ncm_status.tabs.network_interfaces.linkinfo.info_slave_kind":"Info Slave Kind","ncm_status.tabs.network_interfaces.linkinfo.info_slave_data":"Info Slave Data","ncm_status.tabs.network_interfaces.linkinfo.":"Master","ncm_status.tabs.neighbors.dst":"IP Address","ncm_status.tabs.neighbors.lladdr":"MAC Address","ncm_status.tabs.neighbors.dev":"Device","ncm_status.tabs.neighbors.state":"State","ncm_status.tabs.neighbors.actions.flush":"Flush Table","ncm_status.tabs.bird.protocols.name":"Name","ncm_status.tabs.bird.protocols.proto":"Protocol","ncm_status.tabs.bird.protocols.table":"Table","ncm_status.tabs.bird.protocols.state":"State","ncm_status.tabs.bird.protocols.since":"Since","ncm_status.tabs.bird.protocols.info":"Info","ncm_status.tabs.bird.bfd_sessions.name":"Name","ncm_status.tabs.bird.bfd_sessions.sessions":"Sessions","ncm_status.tabs.bird.bfd_sessions.sessions.ip_address":"IP Address","ncm_status.tabs.bird.bfd_sessions.sessions.interface":"Interface","ncm_status.tabs.bird.bfd_sessions.sessions.state":"State","ncm_status.tabs.bird.bfd_sessions.sessions.since":"Since","ncm_status.tabs.bird.bfd_sessions.sessions.interval":"Interval","ncm_status.tabs.bird.bfd_sessions.sessions.timeout":"Timeout","ncm_status.tabs.routes.dst":"Destination","ncm_status.tabs.routes.gateway":"IP Gateway","ncm_status.tabs.routes.dev":"Device","ncm_status.tabs.routes.prefsrc":"Source","ncm_status.tabs.routes.metric":"Metric","ncm_status.tabs.routes.protocol":"Protocol","ncm_status.tabs.sockets.local_address":"Local Address","ncm_status.tabs.sockets.peer_address":"Remote Address","ncm_status.tabs.sockets.protocol":"Protocol","ncm_status.tabs.sockets.state":"State","ncm_status.tabs.sockets.process":"Process","ncm_status.tabs.rules.priority":"Priority","ncm_status.tabs.rules.family":"Family","ncm_status.tabs.rules.rule":"Rule","nrf_static_profiles.toolbar.new":"New Static Profile","nrf_static_profiles.table.nfInstanceId":"NF Instance ID","nrf_static_profiles.table.nfInstanceName":"NF Instance Name","nrf_static_profiles.table.nfType":"NF type","nrf_static_profiles.table.nfStatus":"NF Status","nrf_static_profiles.table.fqdn":"FQDN","nrf_static_profiles.table.ipv4Addresses":"IPv4 Addresses","nrf_static_profiles.table.ipv6Addresses":"IPv6 Addresses","nrf_static_profiles.table.priority":"Priority","nrf_static_profiles.table.locality":"Locality","nrf_static_profiles.table.capacity":"Capacity","nrf_static_profiles.table.sNssais":"Slices #","nrf_static_profiles.table.plmnList":"PLMNs #","nrf_static_profiles.actions.edit":"Edit","nrf_static_profiles.actions.confirm_dialog.title":"Delete static profile","nrf_static_profiles.actions.confirm_dialog.description":'Are you sure to delete profile with NF Instance ID = "{nfInstanceId}"?',"nrf_static_profiles.actions.delete":"Delete","nrf_static_profile.section.general.title":"General","nrf_static_profile.section.slices.title":"Slices","nrf_static_profile.section.slices.slice_add":"Add Slice","nrf_static_profile.section.slices.slice_delete":"Delete Slice","nrf_static_profile.section.slices.no_slices":"No slices","nrf_static_profile.section.plmnList.title":"PLMNs","nrf_static_profile.section.plmnList.plmn_add":"Add PLMN","nrf_static_profile.section.plmnList.plmn_delete":"Delete PLMN","nrf_static_profile.section.plmnList.no_plmns":"No PLMNs","nrf_static_profile.form.nfType":"NF type","nrf_static_profile.form.nfStatus":"NF Status","nrf_static_profile.form.fqdn":"FQDN","nrf_static_profile.form.ipv4Addresses":"IPv4 Addresses","nrf_static_profile.form.ipv6Addresses":"IPv6 Addresses","nrf_static_profile.form.priority":"Priority","nrf_static_profile.form.locality":"Locality","nrf_static_profile.form.capacity":"Capacity","nrf_static_profile.form.nfInstanceId":"NF Instance ID","nrf_static_profile.form.nfInstanceName":"NF Instance Name","nrf_static_profile.form.sNssais.form_errors.has_errors":"Field has errors","nrf_static_profile.form.sNssais.sst":"SST","nrf_static_profile.form.sNssais.sd":"SD","nrf_static_profile.form.sNssais.isRangesActiveTrue":"SD Ranges","nrf_static_profile.form.sNssais.isRangesActiveFalse":"Single SD","nrf_static_profile.form.sNssais.sdRanges":"SD Ranges","nrf_static_profile.form.sNssais.sdRanges.start":"Start","nrf_static_profile.form.sNssais.sdRanges.end":"End","nrf_static_profile.section.sNssais.sdRanges.title":"SD Ranges","nrf_static_profile.section.sNssais.sdRanges.range_add":"Add SD Range","nrf_static_profile.section.sNssais.sdRanges.range_delete":"Delete SD Range","nrf_static_profile.section.sNssais.sdRanges.no_ranges":"No SD Ranges","nrf_static_profile.form.plmnList.form_errors.has_errors":"Field has errors","nrf_static_profile.form.plmnList.mcc":"MCC","nrf_static_profile.form.plmnList.mnc":"MNC","nrf_static_profile.form.errors.fqdn_ips_at_least_one":"One of IPv4 Addresses, IPv6 Addresses or FQDN must be entered","nrf_static_profile.form.errors.required":"Field is required","nrf_static_profile.section.upf.title":"UPF Instances Info","nrf_static_profile.section.upf.upf_instance_add":"Add UPF Instance Info","nrf_static_profile.section.upf.upf_instance_delete":"Delete UPF Instance Info","nrf_static_profile.section.upf.no_upf_instances":"No UPF Instances Info","nrf_static_profile.form.upfInfoList.ueIpAddrInd":"User Equipment IP Address Indicator","nrf_static_profile.section.upf.interfaceUpfInfoList.title":"Interfaces","nrf_static_profile.section.upf.interfaceUpfInfoList.interface_add":"Add Interface","nrf_static_profile.section.upf.interfaceUpfInfoList.interface_delete":"Delete Interfaces","nrf_static_profile.section.upf.interfaceUpfInfoList.no_interfaces":"No Interfaces","nrf_static_profile.form.upfInfoList.interfaceUpfInfoList.network_instance":"Network Instance","nrf_static_profile.form.upfInfoList.interfaceUpfInfoList.interface_type":"Interface Type","nrf_static_profile.section.upf.taiList.title":"TAIs","nrf_static_profile.section.upf.taiList.tai_add":"Add TAI","nrf_static_profile.section.upf.taiList.tai_delete":"Delete TAI","nrf_static_profile.section.upf.taiList.no_tais":"No TAIs","nrf_static_profile.form.upfInfoList.taiList":"TAIs","nrf_static_profile.form.upfInfoList.taiList.plmnId":"PLMN","nrf_static_profile.form.upfInfoList.taiList.plmnId.mcc":"MCC","nrf_static_profile.form.upfInfoList.taiList.plmnId.mnc":"MNC","nrf_static_profile.form.upfInfoList.taiList.tac":"Tac","nrf_static_profile.section.upf.sNssaiUpfInfoList.title":"Slices","nrf_static_profile.section.upf.sNssaiUpfInfoList.slice_add":"Add Slice","nrf_static_profile.section.upf.sNssaiUpfInfoList.slice_delete":"Delete Slice","nrf_static_profile.section.upf.sNssaiUpfInfoList.no_slices":"No Slices","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList":"Slices","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.sNssai":"Slice","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.sNssai.sst":"SST","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.sNssai.sd":"SD","nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.title":"DNNs","nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.dnn_add":"Add DNN","nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.dnn_delete":"Delete DNN","nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.no_dnns":"No DNNs","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList":"DNNs","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.dnn":"DNN","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.pduSessionTypes":"PDU Session Types","nrf_static_profile.section.upf.ipv4Ranges.title":"IPv4 Ranges","nrf_static_profile.section.upf.ipv4Ranges.range_add":"Add IPv4 Range","nrf_static_profile.section.upf.ipv4Ranges.range_delete":"Delete IPv4 Range","nrf_static_profile.section.upf.ipv4Ranges.no_ranges":"No IPv4 Ranges","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges":"IPv4 Address Ranges","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges.start":"Start","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges.end":"End","nrf_static_profile.section.upf.ipv6Ranges.title":"IPv6 Ranges","nrf_static_profile.section.upf.ipv6Ranges.range_add":"Add IPv6 Range","nrf_static_profile.section.upf.ipv6Ranges.range_delete":"Delete IPv6 Range","nrf_static_profile.section.upf.ipv6Ranges.no_ranges":"No IPv6 Ranges","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges":"IPv6 Prefix Ranges","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges.start":"Start","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges.end":"End","nrf_static_profile.form.upfInfoList.form_errors.has_errors":"Field has errors","user.menu.profile":"Profile","user.menu.logout":"Logout","profile.account":"Account","profile.firstname":"First name","profile.lastname":"Last name","profile.username":"Username","profile.fullname":"Full name","profile.email":"Email address","profile.tool.edit":"Edit profile","profile.tool.editPassword":"Change password","profile.tool.editPassword.description":"You can change your password by entering the current and a new one of your choice","profile.editProfile":"Edit profile","profile.form.fullname":"Full name","profile.form.username":"Username","profile.form.username.error":"Please enter username","authentication_strategies.title":"Active Strategies","authentication_strategies.tabs.item.local":"Credentials","authentication_strategies.tabs.item.radius":"Radius","authentication_strategies.tabs.item.ldap":"Ldap","authentication_strategies.tabs.item.openid":"OpenID","authentication_strategies.form.errors.backends":"local strategy is always required","authentication_strategies.form.backends":"Backends","authentication_strategies.form.backends.info":"The order of the backends will be reflected in the login page","authentication_strategies.form.buttons.save":"Save","authentication_strategies.backends.save.message_ok":"Backends configuration has been saved correctly","authentication_strategies.backends.save.message_ko":"An error occured saving the radius configuration","authentication_strategies.auth_config.form.session_timers":"Session timers","authentication_strategies.auth_config.form.access_token_ttl_s":"Access Token TTL (s)","authentication_strategies.auth_config.tooltip.access_token_ttl_s":"Time to leave in seconds for the token used to make secure calls for protected resources to the API server.","authentication_strategies.auth_config.form.refresh_token_ttl_s":"Refresh Token TTL (s)","authentication_strategies.auth_config.tooltip.refresh_token_ttl_s":"Time to leave in seconds for the token used to get a new access token without having to login again.","authentication_strategies.auth_config.form.ui_inactivity_s":"Inactivity Timer (s)","authentication_strategies.auth_config.tooltip.ui_inactivity_s":"Show an inactivity modal to the user after the chosen amount of seconds if no interactions with the user interface have been made.","authentication_strategies.auth_config.form.ui_inactivity_s.seconds":"Inactivity Timer","authentication_strategies.auth_config.form.access_token_ttl_s.validation.type":"Access Token TTL (s) must be a number","authentication_strategies.auth_config.form.access_token_ttl_s.validation.required":"Access Token TTL (s) field is required","authentication_strategies.auth_config.form.access_token_ttl_s.validation.min":"Access Token TTL (s) must be greater than or equal to 60","authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.type":"Refresh Token TTL (s) must be a number","authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.required":"Refresh Token TTL (s) field is required","authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.min":"Refresh Token TTL (s) must be greater than or equal to 120","authentication_strategies.auth_config.form.ui_inactivity_s.validation.type":"Inactivity Timer (s) must be a number","authentication_strategies.auth_config.form.ui_inactivity_s.validation.required":"Inactivity Timer (s) field is required","authentication_strategies.auth_config.form.ui_inactivity_s.validation.min":"Inactivity Timer (s) must be greater than or equal to 60","authentication_strategies.auth_config.form.login_max_attempts":"Login max attempts","authentication_strategies.auth_config.tooltip.login_max_attempts":"Throttle consecutive login attemps after the max attempts counter has been reached for a determined duration in seconds.","authentication_strategies.auth_config.form.login_max_attempts.validation.type":"Login max attempts must be a number","authentication_strategies.auth_config.form.login_max_attempts.validation.required":"Login max attempts field is required","authentication_strategies.auth_config.form.login_max_attempts.validation.min":"Login max attempts must be greater than or equal to 1","authentication_strategies.auth_config.form.login_throttle_period_s":"Login Throttle Period (s)","authentication_strategies.auth_config.form.login_throttle_period_s.validation.type":"Login Throttle Period (s) must be a number","authentication_strategies.auth_config.form.login_throttle_period_s.validation.required":"Login Throttle Period (s) field is required","authentication_strategies.auth_config.form.login_throttle_period_s.validation.min":"Login Throttle Period (s) must be greater than or equal to 1","authentication_strategies.auth_config.form.audit_retention_s":"Audit Retention (s)","authentication_strategies.auth_config.tooltip.audit_retention_s":"Retention time in seconds for the auth audit events generated while the user interacts with the system.","authentication_strategies.auth_config.form.audit_retention_s.validation.type":"Audit Retention (s) must be a number","authentication_strategies.auth_config.form.audit_retention_s.validation.required":"Audit Retention (s) field is required","authentication_strategies.auth_config.form.audit_retention_s.validation.min":"Audit Retention (s) must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rules":"Password rules","authentication_strategies.auth_config.form.password_rule_max_account_name_characters":"Max username characters allowed in password","authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.integer":"Max username characters allowed in password must be an integer","authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.type":"Max username characters allowed in password must be a number","authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.required":"Max username characters allowed in password field is required","authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.min":"Max username characters allowed in password must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_length":"Min password length","authentication_strategies.auth_config.form.password_rule_min_length.validation.integer":"Min password length must be an integer","authentication_strategies.auth_config.form.password_rule_min_length.validation.type":"Min password length must be a number","authentication_strategies.auth_config.form.password_rule_min_length.validation.required":"Min password length field is required","authentication_strategies.auth_config.form.password_rule_min_length.validation.min":"Min password length must be greater than or equal to 12","authentication_strategies.auth_config.form.password_rule_min_lowercase_characters":"Min lowercase characters","authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.integer":"Min lowercase characters must be an integer","authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.type":"Min lowercase characters must be a number","authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.min":"Min lowercase characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_number_characters":"Min numeric characters","authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.integer":"Min numeric characters must be an integer","authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.type":"Min numeric characters must be a number","authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.min":"Min numeric characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_special_characters":"Min special characters","authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.integer":"Min special characters must be an integer","authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.type":"Min special characters must be a number","authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.min":"Min special characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_uppercase_characters":"Min uppercase characters","authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.integer":"Min uppercase characters must be an integer","authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.type":"Min uppercase characters must be a number","authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.min":"Min uppercase characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_special_characters":"Special characters","authentication_strategies.auth_config.form.password_rule_special_characters.validation.type":"Special characters must be a string","authentication_strategies.auth_config.form.password_rule_special_characters.validation.min":"Special characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.required":"Special characters field is required","authentication_strategies.radius.title":"Radius","authentication_strategies.radius.transport.title":"Transport","authentication_strategies.radius.secret.title":"Secret","authentication_strategies.radius.panel.title":"Radius Configuration","authentication_strategies.radius.transport.form.roles":"Roles","authentication_strategies.radius.form_errors.has_errors":"Field has errors","authentication_strategies.radius.form_errors.transport.remote_addresses":"Remote Addresses field must have at least 1 item","authentication_strategies.radius.form_errors.transport.timeout_s.min":"Timeout (s) must be greater than or equal to 1","authentication_strategies.radius.form_errors.transport.local_address":"Local Address is a required field","authentication_strategies.radius.form_errors.transport.local_port":"Local Port is a required field","authentication_strategies.radius.form_errors.transport.local_port_min":"Local Port must be greater than or equal to 1","authentication_strategies.radius.form_errors.transport.remote_port":"Remote Port is a required field","authentication_strategies.radius.form_errors.transport.timeout_s":"Timeout (s) is a required field","authentication_strategies.radius.form_errors.transport.secret":"Secret is a required field","authentication_strategies.radius.form_errors.unique_role":"Role must be unique","authentication_strategies.radius.form_errors.roles_required":"Roles is a required field","authentication_strategies.radius.form_errors.roles_min":"Roles field must have at least 1 item","authentication_strategies.radius.form.errors.required":"Field is required","authentication_strategies.radius.form.secret":"Secret","authentication_strategies.radius.form.roles":"Roles","authentication_strategies.radius.form.permission_template":"Permission Template","authentication_strategies.radius.not_active":"Radius is not active (not present in the backend list above) but you can still configure it","authentication_strategies.radius.form.transport":"Transport","authentication_strategies.radius.add_transport_dialog.title":"Add Transport","authentication_strategies.radius.edit_transport_dialog.title":"Edit Transport","authentication_strategies.radius.transport.no_transport":"No transport","authentication_strategies.radius.transport.transport_add":"Add Transport","authentication_strategies.radius.transport.transport_delete":"Delete Transport","authentication_strategies.radius.transport.actions.edit":"Edit Transport","authentication_strategies.radius.transport.actions.delete":"Delete Transport","authentication_strategies.radius.transport.form.local_address":"Local Address","authentication_strategies.radius.transport.form.local_port":"Local Port","authentication_strategies.radius.transport.form.local_dev":"Local Dev","authentication_strategies.radius.transport.form.remote_addresses":"Remote Addresses","authentication_strategies.radius.transport.form.remote_port":"Remote Port","authentication_strategies.radius.transport.form.timeout_s":"Timeout (s)","authentication_strategies.radius.transport.form.local":"Local","authentication_strategies.radius.form.buttons.save":"Save","authentication_strategies.radius.form.buttons.add":"Add","authentication_strategies.radius.form.buttons.cancel":"Cancel","authentication_strategies.radius.save.message_ok":"Radius configuration has been saved correctly","authentication_strategies.radius.save.message_ko":"An error occured saving the radius configuration","authentication_strategies.radius.form_errors.transport.remote_port.min":"Remote Port must be greater than or equal to 0","authentication_strategies.radius.form_errors.transport.remote_port.max":"Remote Port must be less than or equal to 65535","authentication_strategies.radius.form_errors.transport.local_port.min":"Local Port must be greater than or equal to 0","authentication_strategies.radius.form_errors.transport.local_port.max":"Local Port must be less than or equal to 65535","authentication_strategies.ldap.title":"LDAP","authentication_strategies.ldap.card.title":"LDAP Configuration","authentication_strategies.ldap.transport.title":"Transport","authentication_strategies.ldap.secret.title":"Secret","authentication_strategies.ldap.form_errors.bind_dn_required_if_bind_password":"Bind DN is required if Bind Password is set","authentication_strategies.ldap.form_errors.bind_password_required_if_bind_dn":"Bind Password is required if Bind DN is set","authentication_strategies.ldap.form_errors.transport.remote_addresses":"Remote Addresses field must have at least 1 item","authentication_strategies.ldap.form_errors.transport.local_address":"Local Address is a required field","authentication_strategies.ldap.form_errors.transport.local_port":"Local Port is a required field","authentication_strategies.ldap.form_errors.transport.local_port_min":"Local Port must be greater than or equal to 1","authentication_strategies.ldap.form_errors.transport.remote_port":"Remote Port is a required field","authentication_strategies.ldap.form_errors.transport.timeout_s":"Timeout (s) is a required field","authentication_strategies.ldap.form_errors.roles_mappings.role":"Role is a required field","authentication_strategies.ldap.form_errors.has_errors":"Field has errors","authentication_strategies.ldap.form.errors.required":"Field is required","authentication_strategies.ldap.form.permission_template":"Permission Template","authentication_strategies.ldap.form.base_dn":"Base Dn","authentication_strategies.ldap.form.bind_dn":"Bind Dn","authentication_strategies.ldap.form.bind_password":"Bind Password","authentication_strategies.ldap.form.username_attribute":"Username Attribute","authentication_strategies.ldap.not_active":"LDAP is not active (not present in the backend list above) but you can still configure it","authentication_strategies.ldap.form.transport":"Transport","authentication_strategies.ldap.form_errors.transport.timeout_s.min":"Timeout (s) must be greater than or equal to 1","authentication_strategies.ldap.form_errors.transport.remote_port.min":"Remote Port must be greater than or equal to 0","authentication_strategies.ldap.form_errors.transport.remote_port.max":"Remote Port must be less than or equal to 65535","authentication_strategies.ldap.form_errors.transport.local_port.min":"Remote Port must be greater than or equal to 0","authentication_strategies.ldap.form_errors.transport.local_port.max":"Remote Port must be less than or equal to 65535","authentication_strategies.ldap.add_transport_dialog.title":"Add Transport","authentication_strategies.ldap.edit_transport_dialog.title":"Edit Transport","authentication_strategies.ldap.transport.no_transport":"No transport","authentication_strategies.ldap.transport.transport_add":"Add Transport","authentication_strategies.ldap.transport.transport_delete":"Delete Transport","authentication_strategies.ldap.transport.actions.edit":"Edit Transport","authentication_strategies.ldap.transport.actions.delete":"Delete Transport","authentication_strategies.ldap.transport.form.local":"Local","authentication_strategies.ldap.transport.form.local_address":"Local Address","authentication_strategies.ldap.transport.form.local_port":"Local Port","authentication_strategies.ldap.transport.form.local_dev":"Local Dev","authentication_strategies.ldap.transport.form.remote_addresses":"Remote Addresses","authentication_strategies.ldap.transport.form.remote_port":"Remote Port","authentication_strategies.ldap.transport.form.timeout_s":"Timeout (s)","authentication_strategies.ldap.transport.form.ssl":"SSL Enabled","authentication_strategies.ldap.transport.form.ssl_verify":"SSL Verify","authentication_strategies.ldap.form.buttons.save":"Save","authentication_strategies.ldap.form.buttons.add":"Add","authentication_strategies.ldap.form.buttons.cancel":"Cancel","authentication_strategies.ldap.form.buttons.remove":"Remove","authentication_strategies.ldap.save.message_ok":"LDAP configuration has been saved correctly","authentication_strategies.ldap.save.message_ko":"An error occured saving the LDAP configuration","authentication_strategies.permission_template":"Permission Template","authentication_strategies.roles_mappings":"Roles Mappings","authentication_strategies.roles_mappings.external_role":"External Role","authentication_strategies.roles_mappings.application_role":"Application Role","authentication_strategies.openid.not_active":"OpenID is not active (not present in the backend list above) but you can still configure it","authentication_strategies.openid.allow_unsafe_http":"Allow unsafe HTTP","authentication_strategies.openid.client_id":"Client ID","authentication_strategies.openid.client_secret":"Client secret","authentication_strategies.openid.issuer":"Issuer","authentication_strategies.openid.username_attribute":"Username attribute","authentication_strategies.openid.configuration_overrides":"Configuration Overrides","authentication_strategies.openid.configuration_overrides.key":"Key","authentication_strategies.openid.configuration_overrides.value":"Value","authentication_strategies.external_role.required":"External role is a required field","authentication_strategies.application_role.required":"Application role is a required field","authentication_strategies.unique_external_role":"External role must be unique","authentication_strategies.invalid_configuration_overrides":"Invalid configuration overrides","authentication_strategies.local.title":"{backend} local transport","authentication_strategies.local.address":"Address","authentication_strategies.local.dev":"Dev","authentication_strategies.local.port":"Port","authentication_strategies.local.save":"Save","authentication_strategies.local.reset":"Reset","authentication_strategies.local.address.required":"Address is a required field","authentication_strategies.local.port.required":"Port is a required field","authentication_strategies.local.port.min":"Port must be greater than or equal to 0","authentication_strategies.local.port.max":"Port must be less than or equal to 65535","users.title":"Users","users.toolbar.new_user":"New User","users.table.username":"Username","users.table.fullname":"Full name","users.table.backend":"Backend","users.table.enabled":"Enabled","users.table.roles":"Roles","users.table.permissions":"Permissions","users.table.permissions_override":"Permissions Override","users.table.created_at":"Created at","users.table.modified_at":"Modified at","users.table.current_user":"Current User","users.table.actions.delete":"Delete","users.table.actions.update":"Edit","users.table.actions.change_password":"Change Password","users.table.actions.audit":"Audit","users.table.actions.revoke_tokens":"Revoke Tokens","users.dialog.confirm_delete.title":"Delete User","users.dialog.confirm_delete.description":"Are you sure to delete user {username}?","users.dialog.confirm_revoke_tokens.title":"Revoke tokens","users.dialog.confirm_revoke_tokens.description":"Are you sure to revoke {username}'s tokens?","users.delete.message_ko":"Unknown error encountered deleting user","users.new_user.form.title":"New User","users.new_user.roles.title":"Roles","users.new_user.roles.loading_roles":"Loading roles...","users.new_user.no_roles":"No roles in DB. Please add at least one role to assign a role to the user","users.new_user.all_roles_info.title":"Info about available roles","users.new_user.permissions_override.title":"Permissions","users.new_user.form.username":"Username","users.new_user.form.password":"Password","users.new_user.form.fullname":"Full Name","users.new_user.form.roles":"Roles","users.new_user.form.permissions":"Permissions","users.new_user.form.permissions_override":"Permissions Override","users.new_user.form.enabled":"Enabled","users.new_user.form.save":"Save","users.new_user.form.cancel":"Cancel","users.new_user.form_errors.required":"Field is required","users.edit_user.form.title":"Edit User","users.edit_user.form.username":"Username","users.edit_user.form.password":"Password","users.edit_user.form.fullname":"Full Name","users.edit_user.form.permissions":"Permissions","users.edit_user.form.enabled":"Enabled","users.edit_user.form.save":"Save","users.edit_user.form.cancel":"Cancel","users.edit_user.form_errors.required":"Field is required","users.change_password.form.title":"Change Password","users.change_password.form.current_password":"Current Password","users.change_password.form.password":"Password","users.change_password.form.passwordConfirmation":"Confirm Password","users.change_password.form.save":"Save","users.change_password.form.cancel":"Cancel","users.change_password.form_errors.required":"Field is required","users.change_password.form_errors.password_must_match":"Passwords must match","user_permissions.title":"Permissions","user_permissions.permissions_may_be_overridden":"Any permission may be overridden by selecting its value.","user_permissions.overridden":"Overridden","user_permissions.from_roles":"From roles","user_profile.title":"User","user_profile.username":"Username","user_profile.fullname":"Full Name","user_profile.backend":"Backend","user_profile.permissions":"Permissions","user_profile.actions.change_password":"Change Password","user_profile.actions.edit":"Edit","user_profile.change_password.form.title":"Change Password","user_profile.edit_user.form.title":"Edit User","roles.toolbar.new_role":"New Role","roles.table.id":"Role Name","roles.table.permissions":"Permissions","roles.table.created_at":"Created at","roles.table.modified_at":"Modified at","roles.table.actions.delete":"Delete","roles.table.actions.update":"Edit","roles.dialog.confirm_delete.title":"Delete Role","roles.dialog.confirm_delete.description":"Are you sure to delete role {role}?","roles.delete.message_ko":"Unknown error encountered deleting role","roles.new_role.form.title":"New Role","roles.new_role.form.id":"Role Name","roles.new_role.form.permissions":"Permissions","roles.new_role.form.save":"Save","roles.new_role.form.cancel":"Cancel","roles.new_role.form_errors.required":"Field is required","roles.edit_role.form.title":"Edit Role","roles.edit_role.form.id":"Role Name","roles.edit_role.form.permissions":"Permissions","roles.edit_role.form.save":"Save","roles.edit_role.form.cancel":"Cancel","roles.edit_role.form_errors.required":"Field is required","table.totalRows":"Total elements: {value}","table.selectedRows":"Selected {value}","table.noData":"No data found","table.errorData":"Can't load data","table.selectByQuery":"Select {value} rows?","listToolbar.actions":"actions","listToolbar.download":"export","listToolbar.download.current":"export current","listToolbar.download.all":"export all","listToolbar.filters":"filters","listToolbar.columns":"columns","users.form.title":"Create user","users.form.firstname":"First name","users.form.firstname.placeholder":"enter the first name","users.form.firstname.required":"Enter the first name","users.form.lastname":"Last name","users.form.lastname.placeholder":"enter the last name","users.form.lastname.required":"Enter the last name","users.form.email":"Email","users.form.email.placeholder":"enter the email","users.form.email.required":"Enter the email","users.form.language":"Language","users.form.language.placeholder":"select the language","users.form.language.required":"Select the language","users.form.role":"Roles","users.form.role.placeholder":"select roles","users.form.role.required":"Select a role","users.form.username":"Username","users.form.username.placeholder":"enter the username","users.form.username.required":"Enter the username","users.form.password":"One time password","users.form.password.placeholder":"enter the one time password","users.form.password.required":"Enter the password","users.form.password.edit.description":"Assign a new password to the user. The user will have to change it at the next access.","users.form.change_password_required":"Reset password","users.form.change_password_required.description":"Force the reset password so the user will have to change it at the next access.","languages.english":"English","languages.italian":"Italian","roles.form.name":"Name","roles.form.name.placeholder":"insert role name","roles.form.name.error":"Role name contains invalid characters","roles.form.description":"Description","roles.form.description.placeholder":"insert role description","roles.form.description.error":"Invalid role description","roles.form.permissions":"Permissions","roles.form.permissions.placeholder":"insert one or more permissions","roles.newRole":"New Role","roles.editRole":"Edit Role","roles.message.error":"Unable to load roles","roles.message.void":"No roles created","spinner.sending":"Sending data...","spinner.loading":"Loading data...","spinner.waiting":"Waiting for operation to complete","toastr.successful":"Operation successful","toastr.failure":"Operation failure","toastr.warning":"Something does wrong","toastr.info":"Look at this","toastr.loading":"Loading...","backup.tab.backup":"Backup","backup.tab.restore":"Restore","backup.button.schedule.backup":"Start backup","backup.button.schedule.restore":"Start restore","backup.encryption_password":"Encryption password","backup.form.title":"Schedule restore","backup.form.description":"Upload backup file to start restore process","backup.form.placeholder":"Backup file","backup.noData":"No schedules found","backup.restore.errors_dialog.title":"Restore Errors","backup.restore.warnings_dialog.title":"Restore Warnings","backup.restore.dialog_table.param":"Param","backup.restore.dialog_table.reason":"Reason","backup.restore.dialog_table.reason.download":"Download CSV","backup.card.created_at":"Created at:","backup.card.started_at":"Started at:","backup.card.terminated_at":"Terminated at:","backup.card.timeline":"Timeline","backup.card.warnings":"Warnings","backup.card.errors":"Errors","backup.detail.configuration.backup.alert":"NFs configuration and System Services backup.","backup.detail.configuration.backup.hint":"Select the resources to be included into the downloaded file","backup.detail.configuration.restore.hint":"Upload configuration backup file to restore configuration","backup.detail.eir.alert":"Equipment Rules backup.","backup.detail.dsm.alert":"DNS Zones backup.","backup.detail.udm.alert":"Home Network Keys backup.","backup.detail.udr.alert":"UE data including Keys and Profiles backup.","backup.detail.nrf.alert":"NF Profiles backup.","backup.detail.pls.alert":"Authentication, Users, Roles, KPI shipping, Alert shipping and Logs shipping backup.","backup.detail.form.validation.error":"Backup file .tar.gz required","backup.encryption_password.reset_default":"Reset default","form_import_files.title":"Import from file","form_import_files.description":"Here you can find an example of the import format: ","form_import_files.min":"Upload at least {num} files","form_import_files.max":"Upload up to {num} files","form_import_files.required":"File is required","form_import_files.file":"Select file","form_import_files.encrypted":"Encrypted","form_import_files.save":"Save","form_import_files.cancel":"Cancel","eir_rules.loading_error":"Error loading EIR rules provisioning data","eir_rules.table.header.autorule":"Autorule","eir_rules.table.header.pei":"PEI","eir_rules.table.header.supi":"SUPI","eir_rules.table.header.status":"Status","eir_rules.table.header.enabled":"Enabled","eir_rules.table.header.created_at":"Created","eir_rules.table.header.modified_at":"Modified","eir_rules.actions.edit":"Edit","eir_rules.actions.delete":"Delete","eir_rules.toolbar.filters":"Filters","eir_rules.toolbar.configuration":"Single rule per PEI","eir_rules.toolbar.new_rule":"New rule","eir_rules.toolbar.import_rules":"Import rules","eir_rules.new_rule.title":"New rule","eir_rules.new_rule.pei":"PEI","eir_rules.new_rule.supi":"SUPI","eir_rules.new_rule.status":"Status","eir_rules.new_rule.status.WHITELISTED":"WHITELISTED","eir_rules.new_rule.status.GREYLISTED":"GREYLISTED","eir_rules.new_rule.status.BLACKLISTED":"BLACKLISTED","eir_rules.new_rule.enabled":"Enabled","eir_rules.new_rule.enabled.true":"true","eir_rules.new_rule.enabled.false":"false","eir_rules.new_rule.save":"Save","eir_rules.new_rule.cancel":"Cancel","eir_rules.new_rule.form_errors.required":"Field is required","eir_rules.import.title":"Import EIR rules from file","eir_rules.import.description":"Add a single valid EIR Rules Provisioning csv file. Here you can find an example of the import format: ","eir_rules.import.form_errors.required":"File is required","eir_rules.import.file":"Select file","eir_rules.import.save":"Save","eir_rules.import.cancel":"Cancel","eir_rules.filters.pei":"PEI","eir_rules.filters.supi":"SUPI","eir_rules.filters.supi.all":"*","eir_rules.filters.supi.all_tooltip":"Activate filter for empty supi only","eir_rules.filters.status":"Status","eir_rules.filters.status.any":"any","eir_rules.filters.status.WHITELISTED":"WHITELISTED","eir_rules.filters.status.GREYLISTED":"GREYLISTED","eir_rules.filters.status.BLACKLISTED":"BLACKLISTED","eir_rules.filters.enabled":"Enabled","eir_rules.filters.enabled.any":"any","eir_rules.filters.enabled.true":"true","eir_rules.filters.enabled.false":"false","eir_rules.filters.autorule":"Autorule","eir_rules.filters.autorule.any":"any","eir_rules.filters.autorule.true":"true","eir_rules.filters.autorule.false":"false","eir_rules.filters.buttons.reset":"Reset","eir_rules.filters.buttons.apply":"Apply","eir_rules.edit_rule.title":"Edit rule","eir_rules.edit_rule.autorule":"Autorule","eir_rules.edit_rule.id":"ID","eir_rules.edit_rule.created_at":"Created","eir_rules.edit_rule.modified_at":"Modified","eir_rules.edit_rule.pei":"PEI","eir_rules.edit_rule.supi":"SUPI","eir_rules.edit_rule.status":"Status","eir_rules.edit_rule.status.WHITELISTED":"WHITELISTED","eir_rules.edit_rule.status.GREYLISTED":"GREYLISTED","eir_rules.edit_rule.status.BLACKLISTED":"BLACKLISTED","eir_rules.edit_rule.enabled":"Enabled","eir_rules.edit_rule.enabled.true":"true","eir_rules.edit_rule.enabled.false":"false","eir_rules.edit_rule.save":"Save","eir_rules.edit_rule.cancel":"Cancel","eir_rules.edit_rule.form_errors.required":"Field is required","eir_rules.actions.confirm_delete":"Are you sure to delete EIR rule?","eir_autorules.toolbar.new_autorule":"New autorule","eir_autorules.toolbar.import_rules":"Import autorules","eir_autorules.loading_error":"Error loading EIR autorules provisioning data","eir_autorules.table.header.supi":"SUPI","eir_autorules.table.header.created_at":"Created","eir_autorules.table.header.modified_at":"Modified","eir_autorules.actions.delete":"Delete","eir_autorules.new_rule.supi":"SUPI","eir_autorules.new_rule.save":"Save","eir_autorules.new_rule.cancel":"Cancel","eir_autorules.new_rule.title":"New autorule","eir_autorules.new_rule.form_errors.required":"Field is required","eir_autorules.import.title":"Import EIR autorules from file","eir_autorules.import.description":"Add a single valid EIR Autorules Provisioning csv file. Here you can find an example of the import format: ","eir_autorules.import.form_errors.required":"File is required","eir_autorules.import.file":"Select file","eir_autorules.import.save":"Save","eir_autorules.import.cancel":"Cancel","eir_autorules.actions.confirm_delete":"Are you sure to delete EIR autorule?","logs.filter.add":"Add Filter","logs.filter.confirm":"Confirm","logs.filter.cancel":"Cancel","logs.filter.field_name":"Field name","logs.current_boot":"Only current boot","logs.log_details":"Log details","logs.download_logs":"Download {logs} logs","logs.machine.info":"Info","logs.machine.virtualization":"Virtualization","logs.machine.journal_begins":"Journal Begins","logs.machine.journal_ends":"Journal Ends","logs.machine.disk_usage":"Disk Usage","logs.machine.machine_id":"Machine ID","logs.machine.boot_id":"Boot ID","logs.config":"Config","logs.config.default_levels":"Default levels","logs.config.no_data":"No config found","logs.config.exceptions":"Exceptions","logs.config.exceptions.rules":"Rules","logs.config.exceptions.level":"Level","logs.config.form.level":"Level","logs.config.form.exceptions":"Exceptions","logs.config.form.exceptions.exception":"Exception-{index}","logs.config.form.exceptions.no_data":"No exceptions found","logs.config.form.exceptions.clear":"Clear exceptions","logs.config.form.exceptions.add":"Add exception","logs.config.form.exception.enabled":"Enabled","logs.config.form.exception.rules":"Rules","logs.config.form.exception.rules.error":"At least one rule is required","logs.config.form.exception.rules.add":"Add rule","logs.config.form.exception.rules.field":"Field","logs.config.form.exception.rules.field.error":"Field is required","logs.config.form.exception.rules.values":"PCRE Patterns","logs.config.form.exception.rules.values.error":"At least one values is required","logs.config.form.exception.rules.no_data":"No rules found","logs.stream.follow":"Follow","logs.stream.buffer":"Streaming buffer of {buffer} logs","logs.grep.search":"Search...","logs.realtime.since":"Since (UTC)","logs.realtime.until":"Until (UTC)","monitoring.message.no_permission":"You are not able to view this page since you don't have the monitoring permission","monitoring.loading_error":"Error loading monitoring information","monitoring.icon_label.udr":"UDR","monitoring.icon_label.eir":"EIR","monitoring.icon_label.amf":"AMF","monitoring.icon_label.smf":"SMF","monitoring.icon_label.pcf":"PCF","monitoring.icon_label.upf":"UPF","monitoring.icon_label.nrf":"NRF","monitoring.icon_label.alerts":"Alerts","monitoring.icon_label.licenses":"Licenses","monitoring.icon_label.cpu":"CPU","monitoring.icon_label.disk":"Disk","monitoring.icon_label.ram":"RAM","monitoring.icon_label.network":"Network","monitoring.icon_label.uptime":"Uptime","monitoring.control_plane.title":"Control Plane","monitoring.control_plane.provisioned_sims.title":"provisioned sims","monitoring.control_plane.provisioned_sims.subtitle":"","monitoring.control_plane.udr_cluster_nodes.title":"Cluster nodes","monitoring.control_plane.udr_cluster_nodes.subtitle":"active/total","monitoring.control_plane.amf_ue.title":"users","monitoring.control_plane.amf_ue.subtitle":"connected/registered","monitoring.control_plane.amf_active_radios.title":"Active radios","monitoring.control_plane.pcf_sessions.n5_sessions_count.title":"N5 Sessions","monitoring.control_plane.pcf_sessions.n5_sessions_count.subtitle":"","monitoring.control_plane.pcf_sessions.n7_sessions_count.title":"N7 Sessions","monitoring.control_plane.pcf_sessions.n7_sessions_count.subtitle":"","monitoring.control_plane.smf_users.sessions_count.title":"Active sessions","monitoring.control_plane.smf_users.users_count.title":"Number of users","monitoring.control_plane.smf_connected_peers.title":"UPFs in use","monitoring.control_plane.eir_rules.title":"Rules","monitoring.control_plane.eir_cluster_nodes.title":"Cluster nodes","monitoring.control_plane.eir_cluster_nodes.subtitle":"active/total","monitoring.control_plane.nrf_profiles.registered_count.title":"Registered Profiles","monitoring.control_plane.nrf_profiles.suspended_count.title":"Suspended Profiles","monitoring.control_plane.nrf_profiles.undiscoverable_count.title":"Undiscoverable Profiles","monitoring.user_plane.title":"User Plane","monitoring.user_plane.upf_ip.title":"IP Addresses","monitoring.user_plane.upf_ip.subtitle":"allocated/provisioned","monitoring.user_plane.upf_sessions.title":"Active sessions","monitoring.user_plane.upf_sessions.subtitle":"","monitoring.user_plane.upf_throughput.throughput.title":"Throughput UL-DL","monitoring.user_plane.upf_throughput.total.title":"Total load UL-DL","monitoring.platform.title":"Platform","monitoring.platform.alerts":"Alerts","monitoring.platform.cpu.cpu_count":"Number of CPU","monitoring.platform.cpu.cpu_busy_perc":"Load","monitoring.platform.disk.availability":"Absolute free/total","monitoring.platform.disk.occupation":"Occupation","monitoring.platform.memory.availability":"Absolute free/total","monitoring.platform.memory.occupation":"Occupation","monitoring.platform.licenses.title":"Number of licenses","monitoring.platform.licenses.subtitle":"valid/total","monitoring.platform.licenses_expiring.title":"Expiring","monitoring.platform.licenses_expiring.subtitle":"Expiring","monitoring.platform.uptime.title":"Uptime","monitoring.platform.uptime.subtitle":"Hours","monitoring.platform.network_interfaces.title":"Interfaces","monitoring.platform.network_interfaces.subtitle":"active/total","monitoring.platform.network_ntp.loading":"NTP Loading...","monitoring.platform.network_ntp.synced":"NTP Synced","monitoring.platform.network_ntp.not_synced":"NTP Not Synced","monitoring.platform.network.rate.title":"Bandwidth TX/RX","monitoring.platform.network.load.title":"Load TX/RX","monitoring.cluster.title":"DB Cluster","monitoring.cluster.icon_label":"TODO Label","monitoring.cluster.tooltip.go_to_nf":"Go to {nf} DB Cluster page","monitoring.cluster.error":"Something went wrong","monitoring.cluster.fully_established.true":"Fully Established","monitoring.cluster.fully_established.false":"Not Fully Established","monitoring.icon_label.mme":"MME","monitoring.control_plane.mme_ue.title":"users","monitoring.control_plane.mme_ue.subtitle":"connected/registered","monitoring.control_plane.mme_active_radios.title":"Active radios","nrf.status.nf_status":"NF Status","nrf.status.nf_type":"NF Type","nrf.status.profile_type":"Profile Type","nrf.status.profile_type.dynamic":"Dynamic","nrf.status.profile_type.static":"Static","nrf.status.registration":"Registration","nrf.status.expiration":"Expiration","nrf.status.nf_instance_id":"NF Instance Id","nrf.status.profile_details":"NRF Profile Details","nrf.status.details.no_profile":"Profile is no longer available","nrf.status.actions.edit":"Edit","nrf.status.actions.details":"Details","landing.systemStatus":"System Status","landing.systemStatus.cpuBusy":"CPU Busy","landing.systemStatus.sysLoadAvg5m":"Sys Load (5m avg)","landing.systemStatus.ramUsed":"RAM Used","landing.systemStatus.rootFsUsed":"Root FS Used","landing.systemStatus.cpuCores":"CPU Cores","landing.systemStatus.ramTotal":"RAM Total","landing.systemStatus.swapTotal":"SWAP Total","landing.systemStatus.rootFsTotal":"RootFS Total","landing.systemStatus.uptime":"Uptime","landing.processesStatus":"Processes Status","landing.processesStatus.title.name":"Name","landing.processesStatus.title.status":"Status","landing.processesStatus.status.running":"Running","landing.processesStatus.status.failed":"Failed","landing.processesStatus.name.amf.service":"AMF","landing.processesStatus.name.ausf.service":"AUSF","landing.processesStatus.name.smf.service":"SMF","landing.processesStatus.name.fluentbit.service":"Fluentbit","landing.processesStatus.name.eventlog-manager.service":"EventLog Manager","landing.processesStatus.name.licensed.service":"Licensed","landing.processesStatus.name.pcf.service":"PCF","landing.processesStatus.name.nrf.service":"NRF","landing.processesStatus.name.chf.service":"CHF","landing.processesStatus.name.eir.service":"EIR","landing.processesStatus.name.ccs-agent.service":"CCS Agent","landing.processesStatus.name.ncm.service":"NCM","landing.processesStatus.name.prometheus-manager.service":"Prometheus Manager","landing.processesStatus.name.udm.service":"UDM","landing.processesStatus.name.udr.service":"UDR","landing.processesStatus.name.upf.service":"UPF","landing.processesStatus.name.nf-bgcf-main.service":"BGCF","landing.processesStatus.name.nf-icscf-main.service":"I-CSCF","landing.processesStatus.name.nf-imsagw-main.service":"IMS-AGW","landing.processesStatus.name.nf-imsalarms.service":"IMS Alarms","landing.processesStatus.name.nf-imsconfig.service":"IMS-Config","landing.processesStatus.name.nf-n5iwf-main.service":"N5-IWF","landing.processesStatus.name.nf-named-main.service":"DNS/ENUM","landing.processesStatus.name.nf-pcscf-main.service":"P-CSCF","landing.processesStatus.name.nf-ecscf-main.service":"E-CSCF","landing.processesStatus.name.nf-pstngw-main.service":"PSTN Gateway","landing.processesStatus.name.nf-scscf-main.service":"S-CSCF","landing.processesStatus.name.nf-tas-main.service":"TAS","landing.processesStatus.name.nf-xcap-main.service":"XCAP","landing.processesStatus.name.nf-imsrecovery-main.service":"Recovery Agent","landing.alerts":"Alerts {additional_info}","landing.alerts.no_alerts":"No active alerts!","landing.alerts.title.name":"Name","landing.alerts.title.summary":"Summary","landing.alerts.title.severity":"Severity","landing.alerts.title.state":"State","landing.alerts.title.firedAt":"Fired At","landing.alerts.title.stillActiveAt":"Still Active At","landing.alerts.severity.emergency":"Emergency","landing.alerts.severity.alert":"Alert","landing.alerts.severity.critical":"Critical","landing.alerts.severity.error":"Error","landing.alerts.severity.warning":"Warning","landing.alerts.severity.notice":"Notice","landing.alerts.severity.informational":"Informational","landing.alerts.severity.info":"Informational","landing.alerts.severity.debug":"Debug","landing.alerts.state.unprocessed":"Unprocessed","landing.alerts.state.active":"Active","landing.alerts.state.suppressed":"Suppressed","landing.alerts.state.inactive":"Inactive","landing.alerts.state.pending":"Pending","landing.alerts.state.firing":"Firing","landing.error":"Error loading data!","supis.buttons.import":"Import","supis.table.supi":"SUPI","supis.table.msisdn":"MSISDN","supis.table.description":"Description","supis.table.status":"Status","supis.table.status.active":"Active","supis.table.status.inactive":"Inactive","supis.table.provisioned_data_profile":"Provisioned Data Profile","supis.table.policy_data_profile":"Policy Data Profile","supis.table.created_at":"Created","supis.editSupi":"Edit SUPI","supis.editSupiProvisionedDataProfile":"Edit Provisioned Profile","supis.editSupiPolicyDataProfile":"Edit Policy Profile","supis.deleteSupi":"Delete SUPI","supis.infoSupi":"Info on SUPI","supis.info.title":'Info on SUPI "{supi}"',"supis.info.am.title":"Access Management","supis.info.am.guti":"GUTI","supis.info.am.ncgi":"NCGI","supis.info.am.tai":"TAI","supis.info.am.cmState":"CM State","supis.info.am.mmState":"MM State","supis.info.am.error":"No data found!","supis.info.sm.title":"Session Management","supis.info.sm.dnn":"DNN","supis.info.sm.pdu_session_id":"PDU Session ID","supis.info.sm.snssai":"S-NSSAI","supis.info.sm.ipv4":"IPv4","supis.info.sm.ipv6":"IPv6","supis.info.sm.error":"No data found!","supis.form.title":"Create SUPI","supis.form.supi":"Subscription Permanent Identifier","supis.form.supi.placeholder":"SUPI","supis.form.description":"Description","supis.form.description.placeholder":"Description","supis.form.msisdn":"MSISDN","supis.form.msisdn.placeholder":"MSISDN","supis.form.profile":"Profile","supis.form.profile.placeholder":"Select a profile","supis.form.provisioned_data_profile":"Provisioned Profile","supis.form.provisioned_data_profile.placeholder":"Select a provisioned profile","supis.form.policy_data_profile":"Policy Profile","supis.form.policy_data_profile.placeholder":"Select a policy profile","supis.form.status":"Status","supis.form.status.placeholder":"Select Status","supis.form.k":"K","supis.form.k.placeholder":"k","supis.form.op_type":"Key Type","supis.form.op_type.placeholder":"key type","supis.form.op_type.op":"OP","supis.form.op_type.opc":"OPC","supis.form.op_type.operator_key_id":"OPID","supis.form.op_value":"Value","supis.form.op_value.placeholder":"Value","supis.form.transport_key_id":"Transport Key ID","supis.form.transport_key_id.placeholder":"Transport Key ID","supis.import.form.title":"Import SUPIs from CSV file","supis.import.form.description":"Add a single valid UDR Provisioning csv file. Here you can find an example of the import format: ","supis.import.form.file":"File","supis.import.form.file.required":"Field is required","supis.import.upload":"Upload","supis.import.upload.placeholder":"Select a single csv file","supis.import.form.result.message_ok":"UDR Provisioning data imported successfully!","supis.import.form.result.message_started":"Importing UDR Provisioning Data...","supis.import.form.result.message_ko":"Error encountered importing UDR Provisioning data! See console for further details","supisProfiles.renameProfile":"Rename Profile","supisProfiles.accessManagementData":"Access Management Data","supisProfiles.sessionManagementData":"Session Management Data","supisProfiles.smf":"SMF Selection Data","supisProfiles.configurePlmn":"Configure PLMN","supisProfiles.deleteProfile":"Delete Profile","supisProfiles.table.id":"ID","supisProfiles.table.description":"Description","supisProfiles.table.downlink":"Downlink","supisProfiles.table.uplink":"Uplink","supisProfiles.table.created_at":"Created","supisProfiles.form.title":"New Provisioned Data Profile","supisProfiles.form.description":"Profile description","supisProfiles.form.description.placeholder":"Enter a Profile description","supisProfiles.form.downlink":"Downlink","supisProfiles.form.downlink.placeholder":"Enter a value","supisProfiles.form.uplink":"Uplink","supisProfiles.form.uplink.placeholder":"Enter a value","supisProfiles.form.defaultSingleNssais":"Default S-NSSAIs","supisProfiles.form.x-ath-nssai":"4G S-NSSAIs","supisProfiles.form.x-ath-nssai.sst":"SST","supisProfiles.form.x-ath-nssai.sd":"SD","supisProfiles.form.singleNssais":"S-NSSAIs","supisProfiles.form.sd":"SD","supisProfiles.form.sd.placeholder":"Enter a SD","supisProfiles.form.sd.error.regex":"Enter a 6 chars hexadecimal value","supisProfiles.form.sst":"SST","supisProfiles.form.sst.placeholder":"Enter a SST","supisProfiles.form.smd.sst.hexerror":"Enter a 6 digits hexadecimal value","supisProfiles.form.qos5qi":"5G QoS Identifier","supisProfiles.form.qos5qi.placeholder":"Enter a number between 0 and 255","supisProfiles.form.preemptCap":"Preemption Capability","supisProfiles.form.preemptCap.placeholder":"Select a Preemption Capability value","supisProfiles.form.preemptVuln":"Preemption Vulnerability","supisProfiles.form.preemptVuln.placeholder":"Select a Preemption Vulnerability value","supisProfiles.form.arppriorityLevel":"ARP priority level","supisProfiles.form.arppriorityLevel.placeholder":"Enter an ARP priority level","supisProfiles.form.qospriorityLevel":"QoS priority level","supisProfiles.form.qospriorityLevel.placeholder":"Enter an QoS priority level","supisProfiles.form.atsssAllowed":"ATSSS Allowed","supisProfiles.form.atsssAllowed.placeholder":"ATSSS Allowed","supisProfiles.form.staticIpAddressIpv4":"Static IPV4","supisProfiles.form.staticIpAddressIpv4.placeholder":"Enter an IPV4","supisProfiles.form.staticIpAddressIpv4.error.regex":"Enter a valid IPV4 address","supisProfiles.form.staticIpAddressIpv6":"Static IPV6","supisProfiles.form.staticIpAddressIpv6.placeholder":"Enter an IPV6","supisProfiles.form.staticIpAddressIpv6.error.regex":"Enter a valid IPV6 address","supisProfiles.form.staticIpAddressIpv6Prefix":"Static IPV6 Prefix","supisProfiles.form.staticIpAddressIpv6Prefix.placeholder":"Enter an IPV6 Prefix","supisProfiles.form.staticIpAddressIpv6Prefix.error.regex":"Enter a valid IPV6 prefix","supisProfiles.form.staticIpAddressIpv6Prefix.error.range":"IPV6 prefix must be in the range [64-128]","supisProfiles.form.staticIpAddressIpv6Prefix.error.64":"IPV6 prefix must be a 64","supisProfiles.form.ipv4FrameRouteList":"IPV4 Frame Route List","supisProfiles.form.ipv4FrameRouteList.placeholder":"Enter a list of IPV4 masks","supisProfiles.form.ipv4FrameRouteList.error.regex":"Enter a valid IPV4 mask","supisProfiles.form.ipv6FrameRouteList":"IPV6 Frame Route List","supisProfiles.form.ipv6FrameRouteList.placeholder":"Enter a list of IPV6 prefixes","supisProfiles.form.ipv6FrameRouteList.error.regex":"Enter a valid IPV6 prefix","supisProfiles.form.defaultSessionType":"Default session type","supisProfiles.form.defaultSessionType.placeholder":"Select a default session type","supisProfiles.form.allowedSessionTypes":"Allowed session types","supisProfiles.form.allowedSessionTypes.placeholder":"Select the allowed session types","supisProfiles.form.defaultSscMode":"Default SSC mode","supisProfiles.form.defaultSscMode.placeholder":"Select a default SSC mode","supisProfiles.form.allowedSscModes":"Allowed SSC modes","supisProfiles.form.allowedSscModes.placeholder":"Select the allowed SSC modes","supisProfiles.form.APNOIReplacement":"APN OI Replacement","supisProfiles.form.addDnnConfiguration":"Add DNN Configuration","supisProfiles.smfSelectionData":"SMF Selection Data","supisProfiles.form.sstlist":"Subscribed SNSSAI Infos","supisProfiles.form.snssai":"S-NSSAI","supisProfiles.form.snssai.placeholder":"Enter a S-NSSAI","supisProfiles.form.isdefault":"Default DNN","supisProfiles.form.dnnName":"DNN name","supisProfiles.form.dnnName.placeholder":"Enter a DNN name","supisProfiles.form.addSmd":"Add S-NSSAI","supisProfiles.form.newSNSSAI":"New S-NSSAI #{value}","supisProfiles.form.newDNN":"New DNN #{value}","udr_configuration.tabs.log_level":"Log level","udr_configuration.tabs.sbi":"SBI","udr_configuration.buttons.boot":"Boot configuration","udr_configuration.buttons.boot_reload":"Reload boot configuration","udr_configuration.toastr.apply_configuration_ok":"Configuration applied correctly","udr_configuration.toastr.apply_configuration_ko":"Error on applying configuration","udr_configuration.toastr.persist_configuration_ok":"Configuration persisted correctly","udr_configuration.toastr.persist_configuration_ko":"Error on persisting configuration","udr_configuration.toastr.restart_resource_ok":"Resource restarted correctly","udr_configuration.toastr.restart_resource_ko":"Error on restarting resource","udr_configuration.toastr.factory_reset_ok":"Configuration reset correctly","udr_configuration.toastr.factory_reset_ko":"Error on resetting configuration","udr_configuration.dialog.factory_reset.confirm":"Are you sure to reset to the factory configuration?","udr_configuration.dialog.restart_resource.confirm":"Are you sure to restart the resource?","udr_configuration.dialog.boot.title":"Boot configuration","udr_configuration.logs.errors.required":"Field is required","udr_configuration.logs.form.level":"Level","udr_supis.actions.delete":"Delete","udr_supis.actions.info":"Info","udr_supis.actions.confirm_delete":"Are you sure to delete SUPI?","udr_supis.actions.edit":"Edit","udr_supis.table.id":"ID","udr_supis.table.description":"Description","udr_supis.table.gpsi":"GPSI","udr_supis.table.provisioned_data_profile":"Provisioned Data Profile","udr_supis.table.policy_data_profile":"Policy Data Profile","udr_supis.table.status":"Status","udr_supis.table.modified_at":"Modified","udr_supis.table.created_at":"Created","udr_supis.toolbar.new":"New","udr_supis.toolbar.import":"Import","udr_supis.import.form.title":"Import SUPIs from CSV file","udr_supis.import.form.description":"Add a single valid UDR Provisioning csv file. Here you can find an example of the import format: ","udr_supis.import.form.file":"File","udr_supis.import.form.file.required":"Field is required","udr_supis.import.upload":"Upload","udr_supis.import.upload.placeholder":"Select a single csv file","udr_supis.import.form.result.message_ok":"UDR Provisioning data imported successfully!","udr_supis.import.form.result.message_started":"Importing UDR Provisioning Data...","udr_supis.import.form.result.message_ko":"Errors occured during data import","udr_supi.section.errors.title":"Errors","udr_supi.section.general.title":"General","udr_supi.section.profiles.title":"Profiles","udr_supi.section.provisioned_data_profile_patches.title":"Provisioned Data Profile Patches","udr_supi.section.provisioned_data_profile_patches.no_patch":"No patches","udr_supi.form.cancel":"Cancel","udr_supi.form.save":"Save","udr_supi.form.errors":"There are some errors in the form","udr_supi.form.errors.min":"Min value is {value}","udr_supi.form.errors.max":"Max value is {value}","udr_supi.form.errors.format":"The format should be {value}","udr_supi.form.errors.required":"Field is required","udr_supi.form_errors.has_errors":"Field has errors","udr_supi.form.supi":"SUPI","udr_supi.form.description":"Description","udr_supi.form.gpsi":"GPSI","udr_supi.form.k":"K","udr_supi.form.is_overriding_keys":"Override keys","udr_supi.form.keys_provisioned":"Provisioned","udr_supi.form.keys_not_provisioned":"Not provisioned","udr_supi.form.operator_key_type":"Operator Key Type","udr_supi.form.operator_key_value":"Operator Key Value","udr_supi.form.transport_key_id":"Transport Key Id","udr_supi.form.k_tag":"K Tag","udr_supi.form.opc_tag":"OPC Tag","udr_supi.form.policy_data_profile_uuid":"Policy Data Profile","udr_supi.form.provisioned_data_profile_uuid":"Provisioned Data Profile","udr_supi.form.provisioned_data_profile_patches.add_dialog.title":"Add Patch","udr_supi.form.provisioned_data_profile_patches.error.already_present":"Patch is already present in the list","udr_supi.form.provisioned_data_profile_patches.add":"Add Patch","udr_supi.form.provisioned_data_profile_patches.delete":"Delete Patch","udr_supi.form.provisioned_data_profile_patches.sst":"SST","udr_supi.form.provisioned_data_profile_patches.sd":"SD","udr_supi.form.provisioned_data_profile_patches.dnn":"DNN","udr_supi.form.provisioned_data_profile_patches.static_ipv4":"Static IPv4","udr_supi.form.provisioned_data_profile_patches.static_ipv6":"Static IPv6","udr_supi.form.provisioned_data_profile_patches.ipv4_frame_route_list":"IPv4 Frame Route List","udr_supi.form.provisioned_data_profile_patches.ipv6_frame_route_list":"IPv6 Frame Route List","udr_supi.form.slice_dnn_selection.rule":"Rule","udr_supi.form.slice_dnn_selection.pattern":"PLMN Rule Pattern","udr_supi.form.slice_dnn_selection.sliceId":"Slice ID","udr_supi.form.slice_dnn_selection.dnnName":"DNN Name","udr_supi.form.slice_dnn_selection.buttons.cancel":"Cancel","udr_supi.form.slice_dnn_selection.buttons.submit":"Select","udr_supi.form.status":"Status","udr_supi.form.errors.provisioned_data_profiles_patch_at_least_one":"One of Static IPv4, Static IPv6, IPv4 Frame Route List or IPv6 Frame Route List must be entered","udr_supi.form.buttons.submit":"Submit","udr_supi.filters.buttons.reset":"Reset","udr_supi.filters.buttons.apply":"Apply","udr_supi.filters.supi_icont":"Contains","udr_supi.filters.supi_noticont":"Not contains","udr_supi.filters.supi_iend":"Ends with","udr_supi.filters.gpsi_icont":"Contains","udr_supi.filters.gpsi_noticont":"Not contains","udr_supi.filters.gpsi_iend":"Ends with","udr_supi.filters.status_eq":"STATUS","udr_supi.filters.status_eq_active_inactive":"Status","udr_supi.filters.supi":"SUPI","udr_supi.filters.gpsi":"GPSI","udr_supi.filters.case_insensitive.info":"The filters are case-insensitive, so there is no difference between uppercase and lowercase characters.","udr_supi.toolbar.filters":"Filters","udr_provisioned_data_profiles.actions.delete":"Delete","udr_provisioned_data_profiles.actions.confirm_delete":"Are you sure to delete provisioned data profile?","udr_provisioned_data_profiles.actions.edit":"Edit","udr_provisioned_data_profiles.table.id":"ID","udr_provisioned_data_profiles.table.description":"Description","udr_provisioned_data_profiles.table.created_at":"Created","udr_provisioned_data_profiles.table.modified_at":"Modified","udr_provisioned_data_profiles.form.title_create":"New provisioned data profile","udr_provisioned_data_profiles.form.title_edit":"Edit provisioned data profile","udr_provisioned_data_profile.section.errors.title":"Errors","udr_provisioned_data_profile.section.general.title":"General info","udr_provisioned_data_profile.section.plmn_rules.title":"PLMN Rules","udr_provisioned_data_profile.section.access_and_mobility.title":"Access and Mobility","udr_provisioned_data_profile.section.aggregated_maximum_bitrate.title":"Aggregated Maximum Bitrate","udr_provisioned_data_profile.section.restrictions.title":"Restrictions","udr_provisioned_data_profile.section.restrictions.4g-5g-nsa.title":"4G + 5G-NSA","udr_provisioned_data_profile.section.restrictions.5g.title":"5G","udr_provisioned_data_profile.section.forbidden_areas.title":"Forbidden Areas","udr_provisioned_data_profile.section.service_area_restriction.title":"Service Area Restriction","udr_provisioned_data_profile.section.service_area_restriction_areas.title":"Areas","udr_provisioned_data_profile.section.closed_subscriber_group.title":"Closed Subscriber Group","udr_provisioned_data_profile.section.slices.title":"Slices","udr_provisioned_data_profile.section.default_slices.title":"Default Slices","udr_provisioned_data_profile.section.dnnList.title":"DNNs","udr_provisioned_data_profile.section.dnnList.dnn.aggregated_maximum_bitrate.title":"Aggregated Maximum Bitrate","udr_provisioned_data_profile.section.dnnList.dnn.qos.title":"QoS","udr_provisioned_data_profile.section.dnnList.dnn.qos.arp.title":"ARP","udr_provisioned_data_profile.section.dnnList.dnn.session_types.title":"Session Types","udr_provisioned_data_profile.section.dnnList.dnn.up_security.title":"UP Security","udr_provisioned_data_profile.section.sms.title":"SMS","udr_provisioned_data_profiles.form.description":"Description","udr_provisioned_data_profiles.form.cancel":"Cancel","udr_provisioned_data_profiles.form.save":"Save","udr_provisioned_data_profiles.form.errors.uuid_format":"The format should be {value}","udr_provisioned_data_profiles.form.errors":"There are some errors in the form","udr_provisioned_data_profiles.form.errors.min":"Min value is {value}","udr_provisioned_data_profiles.form.errors.max":"Max value is {value}","udr_provisioned_data_profiles.form.errors.format":"The format should be {value}","udr_provisioned_data_profiles.form.errors.max_attempts":"Max Attemps value must be greater than or equal to 1","udr_provisioned_data_profiles.form.errors.tolerance_period_sec":"Tolerance Period (s) value must be greater than or equal to 1","udr_provisioned_data_profiles.form.errors.required":"Field is required","udr_provisioned_data_profiles.form.errors.required_default4g":"Required if Default 4G Slice is selected","udr_provisioned_data_profiles.form.errors.required_rule":"Required if Reference data from a different rule is selected","udr_provisioned_data_profiles.form.errors.required_5gQosProfile":"Field is required if one of these fields are set: 5G QoS Identifier, Preemption Capability. Preemption Vulnerability, ARP Priority Level","udr_provisioned_data_profiles.form.errors.required_downlink":"Field is required if uplink is set","udr_provisioned_data_profiles.form.errors.required_uplink":"Field is required if downlink is set","udr_provisioned_data_profiles.form.errors.required_isDefault":"At least one default slice is required","udr_provisioned_data_profiles.form.errors.required_upSecurityUpConfid":"Field is required if UP Integration is set","udr_provisioned_data_profiles.form.errors.required_upSecurityUpIntegr":"Field is required if UP Configuration ID is set","udr_provisioned_data_profiles.form.errors.required_serviceAreaRestrictionType":"Field is required if Service Area Restriction is active","udr_provisioned_data_profiles.form.errors.required_serviceAreaRestrictionAreas":"Insert at least 1 Area","udr_provisioned_data_profiles.form.errors.unique_slices_id":"Slices should have unique SST-SD pairs","udr_provisioned_data_profiles.form.errors.unique_plmn_rule_id":"PLMN Rule should have unique pattern","udr_provisioned_data_profiles.form.errors.default4g_slice_with_pdn_enabled":"every dnn associated with the default 4g slice must explicitly have PDN enabled","udr_provisioned_data_profiles.form.errors.default4g_slice_with_5gQosProfile":"every dnn associated with the default 4g slice must explicitly set the 5G QoS Identifier field","udr_provisioned_data_profiles.toolbar.new_profile":"New","udr_provisioned_data_profile.form_errors.has_errors":"Field has errors","udr_provisioned_data_profile.form.description":"Description","udr_provisioned_data_profile.form.uuid":"UUID","udr_provisioned_data_profile.form.pattern":"Pattern","udr_provisioned_data_profile.form.data_from":"Rule","udr_provisioned_data_profile.form.isDataFrom":"Reference data from a different rule","udr_provisioned_data_profile.form.action":"Action","udr_provisioned_data_profile.form.ratRestrictions":"RAT Restrictions","udr_provisioned_data_profile.form.rfspIndex":"RSFP Index","udr_provisioned_data_profile.form.coreNetworkTypeRestrictions":"Core Network Type Restrictions","udr_provisioned_data_profile.form.regionalSubscriptionZoneCodes":"Regional Subscription Zone Codes","udr_provisioned_data_profile.form.closedSubscriberGroup":"Closed Subscriber Group","udr_provisioned_data_profile.form.forbiddenAreas":"Forbidden Areas","udr_provisioned_data_profile.form.isServiceAreaRestrictionActive":"Enabled","udr_provisioned_data_profile.form.serviceAreaRestrictionAreas":"Areas","udr_provisioned_data_profile.form.serviceAreaRestrictionType":"Restriction Type","udr_provisioned_data_profile.form.defaultDownlink":"Default Downlink","udr_provisioned_data_profile.form.defaultUplink":"Default Uplink","udr_provisioned_data_profile.form.defaultSliceId":"Default Slice","udr_provisioned_data_profile.form.defaultSliceIds":"Default Slices","udr_provisioned_data_profile.form.default4gSliceId":"Default 4G Slice","udr_provisioned_data_profile.form.slice.defaultDnnId":"Default DNN","udr_provisioned_data_profile.form.networkAccessMode":"Network Access Mode (only 3G/4G)","udr_provisioned_data_profile.form.APNOIReplacement":"APN OI Replacement","udr_provisioned_data_profile.form.ueUsageType":"UE Usage Type","udr_provisioned_data_profile.form.subsRegTimer":"Subscriber Registration Timer","udr_provisioned_data_profile.form.plmn_rules.rule_delete":"Delete PLMN Rule","udr_provisioned_data_profile.form.plmn_rules.rule_delete.data_from.error":"You can't delete a rule that has some other rules referencing it","udr_provisioned_data_profile.form.plmn_rules.rule_add":"Add PLMN Rule","udr_provisioned_data_profile.form.plmn_rules.no_data":"No PLMN Rules","udr_provisioned_data_profile.form.closed_subscriber_group.delete":"Delete","udr_provisioned_data_profile.form.closed_subscriber_group.add":"Add","udr_provisioned_data_profile.form.closed_subscriber_group.no_data":"No data","udr_provisioned_data_profile.form.closed_subscriber_group.csg_id":"CSG ID","udr_provisioned_data_profile.form.closed_subscriber_group.visited_plmn":"Visited PLMN","udr_provisioned_data_profile.form.forbidden_areas.title":"Forbidden Areas","udr_provisioned_data_profile.form.forbidden_areas.delete":"Delete Area","udr_provisioned_data_profile.form.forbidden_areas.add":"Add Area","udr_provisioned_data_profile.form.forbidden_areas.no_data":"No Areas","udr_provisioned_data_profile.form.forbidden_areas.name":"Name","udr_provisioned_data_profile.form.forbidden_areas.tacs":"TACs","udr_provisioned_data_profile.form.service_area_restriction_areas.title":"Areas","udr_provisioned_data_profile.form.service_area_restriction_areas.delete":"Delete Area","udr_provisioned_data_profile.form.service_area_restriction_areas.add":"Add Area","udr_provisioned_data_profile.form.service_area_restriction_areas.no_data":"No Areas","udr_provisioned_data_profile.form.service_area_restriction_areas.name":"Name","udr_provisioned_data_profile.form.service_area_restriction_areas.tacs":"TACs","udr_provisioned_data_profile.form.slice.no_slices":"No slices","udr_provisioned_data_profile.form.slice.no_slices_for_default":"You must add at least one slice to manage default slices","udr_provisioned_data_profile.form.slice.no_dnns":"No DNNs","udr_provisioned_data_profile.form.slices.slice_add":"Add Slice","udr_provisioned_data_profile.form.slices.slice_delete":"Delete Slice","udr_provisioned_data_profile.form.slices.slice_default":"Default","udr_provisioned_data_profile.form.slices.slice_enabled":"Enabled","udr_provisioned_data_profile.form.slice.sst":"SST","udr_provisioned_data_profile.form.slice.sd":"SD","udr_provisioned_data_profile.form.slice.3gppChargingCharacteristics":"3GPP Charging Characteristics","udr_provisioned_data_profile.form.slice.isDefault":"Default","udr_provisioned_data_profile.form.slice.is4gDefault":"4G Default","udr_provisioned_data_profile.form.slice.isEnabled":"PDN Enabled","udr_provisioned_data_profile.form.slice.isEnabled_required_for_4g":"mandatory for 4G enabled devices, required to establish the 5G PDN session","udr_provisioned_data_profile.form.slice.defaultDnn":"Default DNN","udr_provisioned_data_profile.form.slice.dnn_add":"Add DNN","udr_provisioned_data_profile.form.slice.dnn_delete":"Delete DNN","udr_provisioned_data_profile.form.slice.dnn.name":"DNN Name","udr_provisioned_data_profile.form.slice.dnn.isDefault":"Default","udr_provisioned_data_profile.form.slice.dnn.downlink":"Downlink","udr_provisioned_data_profile.form.slice.dnn.uplink":"Uplink","udr_provisioned_data_profile.form.slice.dnn.3gppChargingCharacteristics":"3GPP Charging Characteristics","udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.5qi":"5G QoS Identifier","udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.preemptCap":"Preemption Capability","udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.preemptVuln":"Preemption Vulnerability","udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.priorityLevel":"ARP Priority Level","udr_provisioned_data_profile.form.slice.dnn.pduSessionTypes.additionalSessionTypes":"Additional session types","udr_provisioned_data_profile.form.slice.dnn.pduSessionTypes.defaultSessionType":"Default session type","udr_provisioned_data_profile.form.slice.dnn.sscModes.defaultSscMode":"Default SSC mode","udr_provisioned_data_profile.form.slice.dnn.sscModes.allowedSscModes":"Allowed SSC mode","udr_provisioned_data_profile.form.slice.dnn.APNOIReplacement":"APN OI Replacement","udr_provisioned_data_profile.form.slice.dnn.preferredDataMode":"Preferred Data Mode","udr_provisioned_data_profile.form.slice.dnn.upSecurityUpConfid":"UP Configuration ID","udr_provisioned_data_profile.form.slice.dnn.upSecurityUpIntegr":"UP Integration","udr_provisioned_data_profile.form.sms.subscribed":"Subscribed","udr_provisioned_data_profile.form.sms.moSubscribed":"Mobile Originated Subscribed","udr_provisioned_data_profile.form.sms.mtSubscribed":"Mobile Terminated Subscribed","udr_provisioned_data_profile.form.specific_fields.SOR_LIGHT":"Steering of Roaming Light Specific Fields","udr_provisioned_data_profile.form.specific_fields.SOR_AGGRESSIVE":"Steering of Roaming Aggressive Specific Fields","udr_provisioned_data_profile.form.advanced_input.diameter_error":"Diameter Error","udr_provisioned_data_profile.form.advanced_input.map_error":"Map Error","udr_provisioned_data_profile.form.advanced_input.max_attempts":"Max Attempts","udr_provisioned_data_profile.form.advanced_input.tolerance_period_sec":"Tolerance Period (s)","udr_provisioned_data_profile.form.buttons.submit":"Submit","udr_policy_data_profiles.actions.delete":"Delete","udr_policy_data_profiles.actions.edit":"Edit","udr_policy_data_profiles.table.id":"ID","udr_policy_data_profiles.table.description":"Description","udr_policy_data_profiles.table.created_at":"Created","udr_policy_data_profiles.table.modified_at":"Modified","udr_policy_data_profiles.form.uuid":"ID","udr_policy_data_profiles.form.description":"Description","udr_policy_data_profiles.form.subscCats":"Subscriber categories","udr_policy_data_profiles.form.snssai_add":"Add S-NSSAI","udr_policy_data_profiles.form.snssai_remove":"Remove","udr_policy_data_profiles.form.sst":"SST","udr_policy_data_profiles.form.sd":"SD","udr_policy_data_profiles.form.dnn":"DNN Name","udr_policy_data_profiles.form.dnn_add":"Add DNN","udr_policy_data_profiles.form.dnn_remove":"Remove","udr_policy_data_profiles.form.allowedServices":"Allowed Services","udr_policy_data_profiles.form.submit":"Submit","udr_policy_data_profiles.form.errors":"There are some errors in the form","udr_policy_data_profiles.form.errors.min":"Min value is {value}","udr_policy_data_profiles.form.errors.max":"Max value is {value}","udr_policy_data_profiles.form.errors.format":"The format should be {value}","udr_policy_data_profiles.form.errors.uuid_format":"The format should be {value}","udr_policy_data_profiles.form.errors.required":"Field is required","udr_policy_data_profiles.form.errors.least":"Field must have at least {value} items","udr_policy_data_profiles.form.tabs.sm":"SM data","udr_policy_data_profiles.form.tabs.am":"AM data","udr_policy_data_profiles.form.empty":"No data","udr_policy_data_profiles.toolbar.new_profile":"New","udr_policy_data_profiles.toolbar.delete":"Are you sure to delete policy data profile?","udr_transport_keys.toolbar.new_transport_key":"New Transport Key","udr_transport_keys.loading_error":"Error loading UDR Transport Keys provisioning data","udr_transport_keys.table.header.id":"ID","udr_transport_keys.table.header.cipher":"Cipher","udr_transport_keys.table.header.created_at":"Created","udr_transport_keys.table.header.modified_at":"Modified","udr_transport_keys.actions.delete":"Delete","udr_transport_keys.actions.edit":"Edit","udr_transport_keys.new_transport_key.id":"ID","udr_transport_keys.new_transport_key.iv":"IV","udr_transport_keys.new_transport_key.ad":"AD","udr_transport_keys.new_transport_key.cipher":"Cipher","udr_transport_keys.new_transport_key.key":"Key","udr_transport_keys.new_transport_key.save":"Save","udr_transport_keys.new_transport_key.cancel":"Cancel","udr_transport_keys.new_transport_key.title":"New UDR Transport Key","udr_transport_keys.new_transport_key.form_errors.required":"Field is required","udr_transport_keys.edit_transport_key.id":"ID","udr_transport_keys.edit_transport_key.ad":"AD","udr_transport_keys.edit_transport_key.iv":"IV","udr_transport_keys.edit_transport_key.cipher":"Cipher","udr_transport_keys.edit_transport_key.key":"Key","udr_transport_keys.edit_transport_key.save":"Save","udr_transport_keys.edit_transport_key.cancel":"Cancel","udr_transport_keys.edit_transport_key.title":"Edit UDR Transport Key","udr_transport_keys.edit_transport_key.form_errors.required":"Field is required","udr_transport_keys.import.title":"Import UDR Transport Keys from file","udr_transport_keys.import.description":"Add a single valid UDR Transport Keys Provisioning csv file. Here you can find an example of the import format: ","udr_transport_keys.import.form_errors.required":"File is required","udr_transport_keys.import.file":"Select file","udr_transport_keys.import.save":"Save","udr_transport_keys.import.cancel":"Cancel","udr_transport_keys.application_servers_profiles.dialog.delete.confirm":"Are you sure to delete transport key?","udr_operator_keys.toolbar.new_operator_key":"New Operator Code","udr_operator_keys.toolbar.import_operator_keys":"Import Operator Codes","udr_operator_keys.loading_error":"Error loading UDR Operator Codes provisioning data","udr_operator_keys.table.header.id":"ID","udr_operator_keys.table.header.created_at":"Created","udr_operator_keys.table.header.modified_at":"Modified","udr_operator_keys.actions.delete":"Delete","udr_operator_keys.actions.delete.confirm":"Are you sure you want to delete operator key {key}?","udr_operator_keys.actions.edit":"Edit","udr_operator_keys.new_operator_key.id":"ID","udr_operator_keys.new_operator_key.transport_key_id":"Transport Key ID","udr_operator_keys.new_operator_key.transport_key_tag":"Transport Key Tag","udr_operator_keys.new_operator_key.op":"OP","udr_operator_keys.new_operator_key.save":"Save","udr_operator_keys.new_operator_key.cancel":"Cancel","udr_operator_keys.new_operator_key.title":"New UDR Operator Code","udr_operator_keys.edit_operator_key.id":"ID","udr_operator_keys.edit_operator_key.transport_key_id":"Transport Key ID","udr_operator_keys.edit_operator_key.transport_key_tag":"Transport Key Tag","udr_operator_keys.edit_operator_key.op":"OP","udr_operator_keys.edit_operator_key.save":"Save","udr_operator_keys.edit_operator_key.cancel":"Cancel","udr_operator_keys.edit_operator_key.title":"Edit UDR Operator Code","udr_operator_keys.new_operator_key.form_errors.required":"Field is required","udr_operator_keys.import.title":"Import UDR Operator Codes from file","udr_operator_keys.import.description":"Add a single valid UDR Operator Codes Provisioning csv file. Here you can find an example of the import format: ","udr_operator_keys.import.form_errors.required":"File is required","udr_operator_keys.import.file":"Select file","udr_operator_keys.import.save":"Save","udr_operator_keys.import.cancel":"Cancel","udr_ims_private_identities.toolbar.new_ims_private_identity":"New IMS Private Identity","udr_ims_private_identities.toolbar.new_ims_private_identity_basic":"New Basic","udr_ims_private_identities.loading_error":"Error loading UDR IMS Private Identities","udr_ims_private_identities.table.header.id":"ID","udr_ims_private_identities.table.header.name":"Name","udr_ims_private_identities.table.header.supi":"SUPI","udr_ims_private_identities.table.header.type":"Type","udr_ims_private_identities.table.header.status":"Status","udr_ims_private_identities.table.header.created_at":"Created","udr_ims_private_identities.table.header.modified_at":"Modified","udr_ims_private_identities.table.value.sip_digest_provisioned":"SIP Digest","udr_ims_private_identities.table.value.sip_digest_provisioned_true":"Provisioned","udr_ims_private_identities.table.value.sip_digest_provisioned_false":"Not Provisioned","udr_ims_private_identities.table.value.registration_sets":"Registration Sets","udr_ims_private_identities.table.value.registration_sets_no_value":"No Value","udr_ims_private_identities.table.value.public_identities":"Public Identities","udr_ims_private_identities.table.value.public_identity_barred":"Barred","udr_ims_private_identities.table.value.public_identity_authorized":"Authorized","udr_ims_private_identities.table.value.public_identity_name":"Name","udr_ims_private_identities.table.value.service_profile":"Service Profile","udr_ims_private_identities.table.value.server_name":"Server Name","udr_ims_private_identities.table.value.application_servers_profiles":"Application Servers Profiles","udr_ims_private_identities.table.status":"Public Identity Status","udr_ims_private_identities.actions.delete":"Delete","udr_ims_private_identities.actions.confirm_delete":'Are you sure to delete IMS Private Identity with name = "{name}"?',"udr_ims_private_identities.actions.edit":"Edit","udr_ims_private_identities.actions.edit_application_servers_profiles":"Application Servers Profiles","udr_ims_private_identities.actions.status":"Status","udr_ims_private_identities.dialog.ims_private_identity_status.title":"IMS Private Identity Status","udr_ims_private_identities.dialog.ims_private_identity_status.no_data":"No data","udr_ims_private_identities.dialog.ims_private_identity_status.modified_at":"Modified at","udr_ims_private_identities.dialog.ims_private_identity_status.server_name":"Server Name","udr_ims_private_identities.dialog.ims_private_identity_status.location":"Location","udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw":"IP SM GW","udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.host":"Host","udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.realm":"Realm","udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.registered_at":"Registered At","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf":"SCSCF","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.host":"Host","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.modified_at":"Modified At","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.name":"Name","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.realm":"Realm","udr_ims_private_identities.dialog.ims_public_identity_status.title":"IMS Public Identity Status","udr_ims_private_identities.dialog.ims_public_identity_status.modified_at":"Modified at","udr_ims_private_identities.dialog.ims_public_identity_status.status":"Status","udr_ims_private_identities.dialog.ims_public_identity_status.pending":"pending","udr_ims_private_identities.new_ims_private_identity_basic.title":"New UDR IMS Private Identity Basic","udr_ims_private_identities.new_ims_private_identity_basic.form.type":"type","udr_ims_private_identities.new_ims_private_identity_basic.form.supi":"SUPI","udr_ims_private_identities.new_ims_private_identity_basic.form.public_identity":"Public Identity","udr_ims_private_identities.new_ims_private_identity_basic.form.server_name":"Server Name","udr_ims_private_identities.new_ims_private_identity_basic.form.msisdn":"MSISDN","udr_ims_private_identities.new_ims_private_identity_basic.form.service_profile":"Service Profile","udr_ims_private_identities.new_ims_private_identity_basic.form_errors.required":"Field is required","udr_ims_private_identities.new_ims_private_identity_basic.form_errors.sip_digest":"SIP Digest Realm and Password must be set both or none","udr_ims_private_identities.new_ims_private_identity_basic.form_errors.sip_digest_realm":"SIP Digest Realm must be set for edit","udr_ims_private_identities.new_ims_private_identity_basic.form_errors.sip_digest_password":"SIP Digest Password must be set for edit","udr_ims_private_identities.new_ims_private_identity_basic.save":"Save","udr_ims_private_identities.new_ims_private_identity_basic.cancel":"Cancel","udr_ims_private_identities.create_or_edit_ims_private_identity.title":"Edit UDR IMS Private Identity","udr_ims_private_identities.create_or_edit_ims_private_identity.form.type":"type","udr_ims_private_identities.create_or_edit_ims_private_identity.form.supi":"SUPI","udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest":"SIP Digest","udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest.password":"SIP Digest Password","udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest.realm":"SIP Digest Realm","udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest.realm_password":"SIP Digest Realm and Password","udr_ims_private_identities.create_or_edit_ims_private_identity.keys_provisioned":"Provisioned","udr_ims_private_identities.create_or_edit_ims_private_identity.keys_not_provisioned":"Not Provisioned","udr_ims_private_identities.create_or_edit_ims_private_identity.form.isOverridingKeys":"Override Keys","udr_ims_private_identities.create_or_edit_ims_private_identity.form.server_name":"Server Name","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_set_delete":"Delete Registration Set","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_set_add":"Add Registration Set","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets":"Registration Sets","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.description":"Registration Set Description","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identity_delete":"Delete Public Identity","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identity_add":"Add Public Identity","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities":"Registration Set Public Identities","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.barred":"Barred","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.name":"name","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.service_profile":"Service Profile","udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required":"Field is required","udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.has_errors":"Field has errors","udr_ims_private_identities.create_or_edit_ims_private_identity.save":"Save","udr_ims_private_identities.create_or_edit_ims_private_identity.cancel":"Cancel","udr_ims_private_identities.application_servers_profiles.title":"Manage Application Servers Profiles","udr_ims_private_identities.application_servers_profiles.no_private_identity":"There was a problem loading the private identity","udr_ims_private_identities.application_servers_profiles.error_load_data":"Error on loading data","udr_ims_private_identities.application_servers_profiles.form.service_data":"Service Data","udr_ims_private_identities.application_servers_profiles.form.service_indication":"Service Indication","udr_ims_private_identities.application_servers_profiles.form.errors.required":"Field is required","udr_ims_private_identities.application_servers_profiles.form.actions.create":"new Profile","udr_ims_private_identities.application_servers_profiles.form.actions.edit":"Edit","udr_ims_private_identities.application_servers_profiles.form.actions.show":"Show","udr_ims_private_identities.application_servers_profiles.form.actions.delete":"Delete","udr_ims_private_identities.application_servers_profiles.save":"Save","udr_ims_private_identities.application_servers_profiles.cancel":"Cancel","udr_ims_private_identities.application_servers_profiles.close":"Close","udr_ims_private_identities.application_servers_profiles.dialog.create.title":"New AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.create_ok":"AS Profile created correctly","udr_ims_private_identities.application_servers_profiles.dialog.create_ko":"Problem on creating AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.edit.title":"Edit AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.edit_ok":"AS Profile updated correctly","udr_ims_private_identities.application_servers_profiles.dialog.edit_ko":"Problem on updating AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.delete.title":"Delete AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.delete_ok":"AS Profile deleted correctly","udr_ims_private_identities.application_servers_profiles.dialog.delete_ko":"Problem on deleting AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.delete.confirm":"Are you sure to delete private identity?","udr_plmns.toolbar.new_plmn":"New PLMN","udr_plmns.loading_error":"Error loading PLMNs","udr_plmns.table.header.mcc":"MCC","udr_plmns.table.header.mnc":"MNC","udr_plmns.table.header.created_at":"Created","udr_plmns.table.header.modified_at":"Modified","udr_plmns.actions.delete":"Delete","udr_plmns.new_plmn.title":"New PLMN","udr_plmns.new_plmn.form.mcc":"MCC","udr_plmns.new_plmn.form.mnc":"MNC","udr_plmns.new_plmn.form_errors.required":"Field is required","udr_plmns.new_plmn.save":"Save","udr_plmns.new_plmn.cancel":"Cancel","udr_plmns.actions.delete.confirm":"Are you sure you want to delete PLMN {plmn}?","udr_ims_application_server_acls.toolbar.new_ims_application_server_acl":"New IMS Application Server ACL","udr_ims_application_server_acls.toolbar.filters":"Filters","udr_ims_application_server_acls.loading_error":"Error loading IMS Application Server ACL","udr_ims_application_server_acls.table.header.id":"ID","udr_ims_application_server_acls.table.header.application_server":"IMS Application Server","udr_ims_application_server_acls.table.header.data_reference":"Data Reference","udr_ims_application_server_acls.table.header.permissions":"Permissions","udr_ims_application_server_acls.table.header.created_at":"Created","udr_ims_application_server_acls.table.header.modified_at":"Modified","udr_ims_application_server_acls.actions.delete":"Delete","udr_ims_application_server_acls.actions.edit_permissions":"Edit Permissions","udr_ims_application_server_acls.form.title_edit_permissions":"Edit IMS Application Server ACL Permissions","udr_ims_application_server_acls.form.error.required":"Field is required","udr_ims_application_server_acls.form.error.permissions":"Allowed values are: {permissions}","udr_ims_application_server_acls.new_ims_application_server_acl.title":"New IMS Application Server ACL","udr_ims_application_server_acls.new_ims_application_server_acl.form.id":"ID","udr_ims_application_server_acls.new_ims_application_server_acl.form.application_server":"IMS Application Server","udr_ims_application_server_acls.new_ims_application_server_acl.form.data_reference":"Data Reference","udr_ims_application_server_acls.new_ims_application_server_acl.form.permissions":"Permissions","udr_ims_application_server_acls.new_ims_application_server_acl.form_errors.required":"Field is required","udr_ims_application_server_acls.new_ims_application_server_acl.save":"Save","udr_ims_application_server_acls.new_ims_application_server_acl.cancel":"Cancel","udr_ims_application_server_acls.filters.application_server_icont":"Application Server","udr_ims_application_server_acls.filters.data_reference_eq":"Data Reference","udr_ims_application_server_acls.filters.data_reference_eq.any":"any","udr_ims_application_server_acls.filters.buttons.reset":"Reset","udr_ims_application_server_acls.filters.buttons.apply":"Apply","udr_ims_application_server_acls.actions.delete.confirm":"Are you sure to delete IMS application server ACL?","udr_ims_initial_filters.toolbar.new_ims_initial_filter":"New Initial Filter Criteria","udr_ims_initial_filters.loading_error":"Error loading Initial Filter Criteria","udr_ims_initial_filters.table.header.id":"ID","udr_ims_initial_filters.table.header.description":"Description","udr_ims_initial_filters.table.header.created_at":"Created","udr_ims_initial_filters.table.header.modified_at":"Modified","udr_ims_initial_filters.actions.delete":"Delete","udr_ims_initial_filters.actions.edit":"Edit","udr_ims_initial_filters.form.title_edit":"Edit IMS initial filter","udr_ims_initial_filters.new_ims_initial_filter.title":"New Initial Filter Criteria","udr_ims_initial_filters.new_ims_initial_filter.form.id":"ID","udr_ims_initial_filters.new_ims_initial_filter.form.data":"Data","udr_ims_initial_filters.new_ims_initial_filter.form.description":"Description","udr_ims_initial_filters.new_ims_initial_filter.form_errors.required":"Field is required","udr_ims_initial_filters.new_ims_initial_filter.save":"Save","udr_ims_initial_filters.new_ims_initial_filter.cancel":"Cancel","udr_ims_initial_filters.application_servers_profiles.dialog.delete.confirm":"Are you sure to delete initial filter?","udr_ims_service_profiles.toolbar.new_ims_service_profile":"New Service Profile","udr_ims_service_profiles.loading_error":"Error loading Service Profiles","udr_ims_service_profiles.table.header.id":"ID","udr_ims_service_profiles.table.header.description":"Description","udr_ims_service_profiles.table.header.created_at":"Created","udr_ims_service_profiles.table.header.modified_at":"Modified","udr_ims_service_profiles.actions.delete":"Delete","udr_ims_service_profiles.actions.edit":"Edit","udr_ims_service_profiles.new_ims_service_profile.title":"New Service Profile","udr_ims_service_profiles.new_ims_service_profile.form.id":"ID","udr_ims_service_profiles.new_ims_service_profile.form.initial_filter_criteria":"Initial Filter Criteria","udr_ims_service_profiles.new_ims_service_profile.form.description":"Description","udr_ims_service_profiles.new_ims_service_profile.form_errors.required":"Field is required","udr_ims_service_profiles.new_ims_service_profile.save":"Save","udr_ims_service_profiles.new_ims_service_profile.cancel":"Cancel","udr_ims_service_profiles.edit_ims_service_profile.title":"Edit Service Profile","udr_ims_service_profiles.edit_ims_service_profile.form.id":"ID","udr_ims_service_profiles.edit_ims_service_profile.form.initial_filter_criteria":"Initial Filter Criteria","udr_ims_service_profiles.edit_ims_service_profile.form.description":"Description","udr_ims_service_profiles.edit_ims_service_profile.form_errors.required":"Field is required","udr_ims_service_profiles.edit_ims_service_profile.save":"Save","udr_ims_service_profiles.edit_ims_service_profile.cancel":"Cancel","udr_ims_service_profiles.application_servers_profiles.dialog.delete.confirm":"Are you sure to delete service profile?","udr_milenage_constants.message.cannot_write":"You are not able to edit milenage constants because you don't have the write permission","udr_milenage_constants.dialog.title":"Milenage Constants","udr_milenage_constants.dialog.no_configuration":"No Milenage Constants","udr_milenage_constants.dialog.apply_configuration_ok":"Milenage Constants set correctly","udr_milenage_constants.dialog.apply_configuration_ko":"Error on setting Milenage Constants","udr_milenage_constants.buttons.save":"Save","udr_milenage_constants.buttons.cancel":"Cancel","udr_milenage_constants.form.errors.required":"Field is required","udr_milenage_constants.form.c1":"C1","udr_milenage_constants.form.c2":"C2","udr_milenage_constants.form.c3":"C3","udr_milenage_constants.form.c4":"C4","udr_milenage_constants.form.c5":"C5","udr_milenage_constants.form.r1":"R1","udr_milenage_constants.form.r2":"R2","udr_milenage_constants.form.r3":"R3","udr_milenage_constants.form.r4":"R4","udr_milenage_constants.form.r5":"R5","udr_milenage_constants.panel.title":"Milenage Constants","udr_milenage_constants.actions.delete":"Delete","udr_milenage_constants.actions.confirm_delete":"Are you sure you want to delete the provided milenage constants?","udr_milenage_constants.alert.cannot_load_udr_milenage_constants":"Cannot load milenage constants","udr_milenage_constants.provisioned":"Provisioned","udr_milenage_constants.not_provisioned":"Not Provisioned","udr_milenage_constants.apply_ok":"Milenage constants successfully saved","udr_milenage_constants.apply_ko":"There was a problem saving milenage constants","udr_milenage_constants.remove_ok":"Milenage constants successfully removed","udr_milenage_constants.remove_ko":"There was a problem removing milenage constants","udr_milenage_constants.load_ko":"There was a problem loading milenage constants","udm_home_network_keys.actions.delete":"Delete","udm_home_network_keys.table.id":"ID","udm_home_network_keys.table.key_id":"Key ID","udm_home_network_keys.table.description":"Description","udm_home_network_keys.table.home_network_identifier":"Home Network Identifier","udm_home_network_keys.table.private_key":"Private Key","udm_home_network_keys.table.public_key":"Public Key","udm_home_network_keys.table.profile":"Profile","udm_home_network_keys.table.created_at":"Created","udm_home_network_keys.table.modified_at":"Modified","udm_home_network_keys.form.title_create":"New home network key","udm_home_network_keys.form.key_id":"Key ID","udm_home_network_keys.form.description":"Description","udm_home_network_keys.form.home_network_identifier":"Home Network Identifier","udm_home_network_keys.form.private_key":"Private Key","udm_home_network_keys.form.public_key":"Public Key","udm_home_network_keys.form.profile":"Profile","udm_home_network_keys.form.cancel":"Cancel","udm_home_network_keys.form.save":"Save","udm_home_network_keys.form.errors_inside":"There are some errors","udm_home_network_keys.form.errors":"There are some errors in the form","udm_home_network_keys.form.errors.min":"Min value is {value}","udm_home_network_keys.form.errors.max":"Max value is {value}","udm_home_network_keys.form.errors.format":"The format should be {value}","udm_home_network_keys.form.errors.required":"Field is required","udm_home_network_keys.toolbar.new":"New","udm_home_network_keys.toolbar.upload":"Upload","udm_home_network_keys.actions.confirm_delete":"Are you sure to delete home network key {value}?","udm_home_network_keys.upload.form.file":"File","udm_home_network_keys.upload.form.file.required":"File is required","udm_home_network_keys.upload.form.title":"Upload UDM Home Network Keys","udm_home_network_keys.upload.form.description":"Add a single valid UDM Home Network Keys bundle file.","udm_plmns_prefixes.prefix":"Prefix","udm_plmns_prefixes.mcc":"MCC","udm_plmns_prefixes.mnc":"MNC","udm_plmns_prefixes.created_at":"Created at","udm_plmns_prefixes.modified_at":"Modified at","udm_plmn_prefixes.prefix.form_errors.required":"Field is required","udm_plmn_prefixes.mcc.form_errors.required":"Field is required","udm_plmn_prefixes.mnc.form_errors.required":"Field is required","udm_plmns_prefixes.actions.delete.confirm":"Are you sure to delete PLMN prefix {prefix}","smsf.smpp.connections.name":"Name","smsf.smpp.connections.connection_type":"Connection Type","smsf.smpp.connections.connection_type.smpp_esme":"ESME","smsf.smpp.connections.connection_type.smpp_mc_peer":"MC peer","smsf.smpp.connections.bind_type":"Bind Type","smsf.smpp.connections.bind_type.trx":"Transceiver","smsf.smpp.connections.bind_type.tx":"Transmitter","smsf.smpp.connections.bind_type.rx":"Receiver","smsf.smpp.connections.local_addr":"Local Address","smsf.smpp.connections.local_port":"Local Port","smsf.smpp.connections.remote_addr":"Remote Address","smsf.smpp.connections.remote_port":"Remote Port","smsf.smpp.connections.created_at":"Created At","smsf.sms_box":"SMS Box","smsf.sms_box.buttons.new_sms":"New SMS","smsf.sms_box.buttons.inbound":"Inbound","smsf.sms_box.buttons.outbound":"Outbound","smsf.sms_box.tabs.inbound":"Inbound","smsf.sms_box.tabs.outbound":"Outbound","smsf.sms_box.no_msisdns":"No messages to display","smsf.sms_box.search":"Search MSISDN","smsf.sms_box.messages.buttons.delete":"Delete","smsf.sms_box.messages.no_messages":"No messages","smsf.sms_box.message.from":"From","smsf.sms_box.message.to":"To","smsf.sms_box.message.id":"ID","smsf.sms_box.message.message":"Message","smsf.sms_box.message.message_from":"from:","smsf.sms_box.message.message_to":"to:","smsf.sms_box.message.message_at":"at:","smsf.sms_box.message.created_at":"Created at","smsf.sms_box.message.modified_at":"Modified at","smsf.sms_box.message.validity_time_s":"Validity","smsf.sms_box.new_message.dialog.title":"New message","smsf.sms_box.new_message.title":"New message","smsf.sms_box.new_message.msisdn":"From","smsf.sms_box.new_message.to":"To","smsf.sms_box.new_message.body":"Body","smsf.sms_box.new_message.validity_time_s":"Validity Time","smsf.sms_box.new_message.is_seconds_visible":"Show validity time in seconds","smsf.sms_box.new_message.buttons.cancel":"Cancel","smsf.sms_box.new_message.buttons.back":"Back","smsf.sms_box.new_message.buttons.send":"Send","smsf.sms_box.new_message.dialog.send_ok":"Message sent successfully!","smsf.sms_box.new_message.dialog.send_ko":"There was a problem on sending the message","smsf.sms_box.delete_message.dialog.confirm.title":"Delete message","smsf.sms_box.delete_message.dialog.confirm.text":'Are you sure to delete the message with ID = "{id}"?',"smsf.sms_box.delete_message.dialog.send_ok":"Message deleted successfully!","smsf.sms_box.delete_message.dialog.send_ko":"There was a problem on deleting the message",service:mDe,"service.title.name":"Name","service.title.version":"Version","service.title.status":"Status","service.title.type":"Type","service.title.unit_status":"Unit status","service.hint.start":"Start","service.hint.restart":"Restart","service.hint.stop":"Stop","service.hint.reset":"Reset","service.status.enabled":"Enabled","service.status.autostart":"Autostart","service.name.aaa":"AAA","service.name.mme":"MME","service.name.dra":"DRA","service.name.amf":"AMF","service.name.bmsc":"BMSC","service.name.dsm":"DNS","service.name.bind":"Bind9","service.name.bind-exporter":"Bind Exporter","service.name.alertmanager":"Alertmanager","service.name.ausf":"AUSF","service.name.smf":"SMF","service.name.smsf":"SMSF","service.name.pcf":"PCF","service.name.nrf":"NRF","service.name.chf":"CHF","service.name.eir":"EIR","service.name.ems-frontend":"EMS","service.name.ems-backend":"EMS compat","service.name.gatewayd":"Log Viewer","service.name.grafana":"Grafana","service.name.ccs-agent":"CCS Agent","service.name.ncm":"NCM","service.name.node-exporter":"Node Exporter","service.name.podman-exporter":"Podman Exporter","service.name.openvpn":"VPN","service.name.prometheus":"Prometheus","service.name.fluent-bit":"Fluentbit","service.name.licensed":"Licensed","service.name.pls":"PLS","service.name.sgwc":"SGW","service.name.ssh":"SSH","service.name.webconsole":"Terminal","service.name.swupdate":"SW update","service.name.udm":"UDM","service.name.udr":"UDR","service.name.upf":"UPF","service.name.imsconfig":"IMS-Config","service.name.pcscf":"P-CSCF","service.name.icscf":"I-CSCF","service.name.scscf":"S-CSCF","service.name.ecscf":"E-CSCF","service.name.tas":"TAS","service.name.xcap":"XCAP","service.name.imsalarms":"IMS Alarms","service.name.bgcf":"BGCF","service.name.pstngw":"PSTN Gateway","service.name.imsagw":"IMS-AGW","service.name.n5iwf":"N5-IWF","service.name.named":"DNS/ENUM","service.name.imsrecovery":"Recovery Agent","service.name.keepalived-exporter":"Keepalived Exporter","service.disabled":"Disabled","service.started":"Started","service.stopped":"Stopped","service.enable":"Enable","service.disable":"Disable","service.start":"Start","service.restart":"Restart","service.stop":"Stop","service.readonly":"Readonly","service.backup":"Backup","service.error":"Error loading data!","service.type.nf":"NF","service.type.ps":"Platform","service.toast.start.success":"Service sucessfully started!","service.toast.start.error":"Error starting service!","service.toast.stop.success":"Service sucessfully stopped!","service.toast.stop.error":"Error stopping service!","service.toast.restart.success":"Service sucessfully restarted!","service.toast.restart.error":"Error restarting service!","service.toast.enable.success":"Service sucessfully enabled!","service.toast.enable.error":"Error enabling service!","service.toast.disable.success":"Service sucessfully disabled!","service.toast.disable.error":"Error disabling service!","service.dialog.message.stop":"Are you sure to stop {name}?","service.dialog.message.restart":"Are you sure to restart {name}?","service.dialog.message.reset":"All {name} data will be lost. Are you sure?","service.dialog.action.stop":"Stop","service.dialog.action.restart":"Restart","service.dialog.action.reset":"Reset","device_status.noDataHint":"Search for a SUPI to display data","device_status.not_found":"No UE status found","device_status.form.id":"SUPI","device_status.form.errors.required":"SUPI is required","device_status.form.errors.format":"format should be {value}","device_status.form.search":"Search","device_status.tabs.amf":"AMF","device_status.tabs.smf":"SMF","device_status.tabs.upf":"UPF","device_status.tabs.udr":"UDR","device_status.tabs.mme":"MME","device_status.tabs.sgwc":"SGWC","device_status.tabs.pcf":"PCF","device_status.amf":"Access Management","device_status.amf.5gGuti":"GUTI","device_status.amf.supi":"SUPI","device_status.amf.amfUeNgapID":"AMF UE NGAP ID","device_status.amf.ranUeNgapID":"RAN UE NGAP ID","device_status.amf.ueLocation":"UE location","device_status.amf.ueLocation.nrLocation":"NR location","device_status.amf.ueLocation.nrLocation.ncgi":"NCGI (UE location/NR location)","device_status.amf.ueLocation.ncgi.nrCellId":"Nr Cell ID","device_status.amf.ueLocation.ncgi.plmn":"PLMN","device_status.amf.ueLocation.nrLocation.tai":"TAI (UE location/NR location)","device_status.amf.ueLocation.tai.plmn":"PLMN","device_status.amf.ueLocation.tai.tac":"TAC","device_status.amf.smContexts":"SM Contexts","device_status.amf.smContext":"SM Context","device_status.amf.smContexts.dnn":"DNN","device_status.amf.smContexts.pduSessionId":"PDU Session Id","device_status.amf.smContexts.sNssai":"S-NSSAI","device_status.amf.smContexts.sNssai.sd":"SD","device_status.amf.smContexts.sNssai.sst":"SST","device_status.amf.smContexts.upCnxState":"// upCnxState","device_status.amf.ncgi":"NCGI","device_status.amf.tai":"TAI","device_status.amf.cmState":"CM State","device_status.amf.mmState":"MM State","device_status.amf.delete.ok":"Detached ok","device_status.amf.delete.error":"Detached error","device_status.amf.remove":"Remove","device_status.amf.remove.reregister_requested":"Reregister requested","device_status.amf.remove.reregister_not_requested":"Reregister not requested","device_status.smf":"PDU Sessions","device_status.smf.dnn":"DNN","device_status.smf.pduSession":"PDU Session ID","device_status.smf.pduSessionId":"PDU Session ID","device_status.smf.pduSessionType":"PDU Session Type","device_status.smf.sNssai":"S-NSSAI","device_status.smf.sNssai.sd":"SD","device_status.smf.sNssai.sst":"SST","device_status.smf.ue_ipv4_address":"IPv4 Address","device_status.smf.ue_ipv6_prefix":"IPv6 Prefix","device_status.smf.detectedMacAddresses":"Detected mac addresses","device_status.smf.supi":"SUPI","device_status.smf.n4c.localFseid":"N4C - Local FSEID","device_status.smf.n4c.localFseid.ipv4":"IPv4","device_status.smf.n4c.localFseid.ipv6":"IPv6","device_status.smf.n4c.localFseid.seid":"SEID","device_status.smf.n4c.remoteFseid":"N4C - Remote FSEID","device_status.smf.n4c.remoteFseid.ipv4":"IPv4","device_status.smf.n4c.remoteFseid.ipv6":"IPv6","device_status.smf.n4c.remoteFseid.seid":"SEID","device_status.smf.charging":"Charging","device_status.smf.charging.chargingChar":"Charging char","device_status.smf.charging.chargingDataRef":"Charging data ref","device_status.smf.charging.sequenceNum":"Sequence num","device_status.upfSessions":"UPF Sessions","device_status.upfSession.seid":"UPF Session ID","device_status.upfSession.apn_dnn":"APN DNN","device_status.upfSession.pdn_type":"PDN Type","device_status.upfSession.far":"FAR","device_status.upfSession.far.item_id":"FAR","device_status.upfSession.pdr":"PDR","device_status.upfSession.pdr.item_id":"PDR","device_status.upfSession.far.id":"ID","device_status.upfSession.far.apply_actions":"Apply actions","device_status.upfSession.far.forwarding_params":"Forwarding Params","device_status.upfSession.far.forwarding_params.destination_iface":"Destination interface","device_status.upfSession.far.forwarding_params.network_instance":"Network instance","device_status.upfSession.far.forwarding_params.ohc":"OHC","device_status.upfSession.far.forwarding_params.ohc.hdr":"OHC HDR","device_status.upfSession.far.forwarding_params.ohc.ipv4":"OHC IPv4","device_status.upfSession.far.forwarding_params.ohc.ipv6":"OHC IPv6","device_status.upfSession.far.forwarding_params.ohc.teid":"TEID","device_status.upfSession.pdr.far_id":"FAR ID","device_status.upfSession.pdr.id":"ID","device_status.upfSession.pdr.ohr":"OHR","device_status.upfSession.pdr.pdi":"PDI","device_status.upfSession.pdr.pdi.ip":"IP","device_status.upfSession.pdr.pdi.pdi_type":"PDI TYPE","device_status.upfSession.pdr.pdi.teid":"TEID","device_status.upfSession.pdr.pdi.vrf":"VRF","device_status.upfSession.pdr.qfi":"QFI","device_status.upfSession.pdr.source_iface":"Source interface","device_status.upfSession.pdr.network_instance":"Network instance","device_status.upfSession.pdr.vrf_index":"VRF index","device_status.upfSession.pdr.ue_ip_addr":"UE IP addr","device_status.upfSession.pdr.ue_ip_addr.ipv4":"IPv4","device_status.upfSession.pdr.ue_ip_addr.ipv6":"IPv6","device_status.upfSession.pdr.ue_ip_addr.sd":"SD","device_status.upfSessioon.user_id":"User ID","device_status.upfSession.user_id.imsi":"IMSI","device_status.upfSession.user_id.imei":"IMEI","device_status.upfSession.user_id.msisdn":"MSISDN","device_status.upfSession.user_id.nai":"NAI","device_status.upfSession.framed_routes":"Framed routes","device_status.upfSession.managed_routes":"Managed routes","device_status.upfSession.mac_addrs":"Mac addresses","device_status.udrInfo":"UDR","device_status.udrInfo.mwdStatus":"MWD Status","device_status.udrInfo.mwdStatus.host":"Host","device_status.udrSupiStatus.aaa":"AAA","device_status.udrSupiStatus.aaa.dataSubscriptionNotificationFailure":"Data subscription notification failure","device_status.udrSupiStatus.aaa.host":"Host","device_status.udrSupiStatus.aaa.plmn":"PLMN","device_status.udrSupiStatus.aaa.ratType":"RAT Type","device_status.udrSupiStatus.aaa.realm":"Realm","device_status.udrSupiStatus.aaa.registeredAt":"Registered at","device_status.udrSupiStatus.amf":"AMF","device_status.udrSupiStatus.amf.amfInstanceID":"AMF Instance ID","device_status.udrSupiStatus.amf.pei":"PEI","device_status.udrSupiStatus.amf.dataSubscriptionNotificationFailure":"Data subscription notification failure","device_status.udrSupiStatus.amf.ratType":"RAT Type","device_status.udrSupiStatus.amf.registeredAt":"Registered at","device_status.udrSupiStatus.amf.guami":"GUAMI","device_status.udrSupiStatus.amf.guami.amfID":"AMF ID","device_status.udrSupiStatus.amf.guami.plmn":"PLMN","device_status.udrSupiStatus.amf.guami.plmn.mcc":"MCC","device_status.udrSupiStatus.amf.guami.plmn.mnc":"MNC","device_status.udrSupiStatus.amf.guami.plmn.nid":"NID","device_status.udrSupiStatus.mme":"MME","device_status.udrSupiStatus.mme.host":"Host","device_status.udrSupiStatus.mme.realm":"Realm","device_status.udrSupiStatus.mme.pei":"PEI","device_status.udrSupiStatus.mme.registeredForSms":"Registered for SMS","device_status.udrSupiStatus.mme.dataSubscriptionNotificationFailure":"Data subscription notification failure","device_status.udrSupiStatus.mme.ratType":"RAT Type","device_status.udrSupiStatus.mme.plmn":"PLMN","device_status.udrSupiStatus.mme.registeredAt":"Registered at","device_status.udrSupiStatus.sgsn":"SGSN","device_status.udrSupiStatus.sgsn.host":"Host","device_status.udrSupiStatus.sgsn.realm":"Realm","device_status.udrSupiStatus.sgsn.pei":"PEI","device_status.udrSupiStatus.sgsn.dataSubscriptionNotificationFailure":"Data subscription notification failure","device_status.udrSupiStatus.sgsn.ratType":"RAT Type","device_status.udrSupiStatus.sgsn.plmn":"PLMN","device_status.udrSupiStatus.sgsn.registeredAt":"Registered at","device_status.udrSupiStatus.sgsn.address":"Address","device_status.udrSupiStatus.sgsn.number":"Number","device_status.udrSupiStatus.smf":"SMF (InstanceID: {id})","device_status.udrSupiStatus.smf.pdu_sessions":"PDU sessions","device_status.udrSupiStatus.smf.pdu_session":"PDU session - {id}","device_status.udrSupiStatus.smf.pdu_session.dnn":"DNN","device_status.udrSupiStatus.smf.pdu_session.emergency_services":"Emergency services","device_status.udrSupiStatus.smf.pdu_session.registered_at":"Registered at","device_status.udrSupiStatus.smf.pdu_session.single_nssai":"NSSAI","device_status.udrSupiStatus.smf.pdu_session.single_nssai.sd":"SD","device_status.udrSupiStatus.smf.pdu_session.single_nssai.sst":"SST","device_status.udrSupiStatus.vlr":"VLR","device_status.udrSupiStatus.vlr.data_subscription_notification_failure":"Data subscription notification failure","device_status.udrSupiStatus.vlr.msc_number":"MSC number","device_status.udrSupiStatus.vlr.number":"number","device_status.udrSupiStatus.vlr.plmn":"PLMN","device_status.udrSupiStatus.vlr.registered_at":"Registered at","device_status.mme":"MME","device_status.mme.imsi":"IMSI","device_status.mme.imeisv":"IMEISV","device_status.mme.age_of_location_info":"Age of location info (s)","device_status.mme.ecm_state":"ECM state","device_status.mme.emm_state":"EMM state","device_status.mme.last_radio_contact":"Last radio contact","device_status.mme.pending_procedure":"Pending procedure","device_status.mme.sgs_state":"SGS state","device_status.mme.drx":"DRX","device_status.mme.guti":"GUTI","device_status.mme.uli.tai":"ULI - TAI","device_status.mme.uli.tai.plmn":"PLMN","device_status.mme.uli.tai.tac":"TAC","device_status.mme.uli.ecgi":"ULI - ECGI","device_status.mme.uli.ecgi.plmn":"PLMN","device_status.mme.uli.ecgi.eci":"ECI","device_status.mme.profile":"Profile","device_status.mme.profile.hss_host":"HSS host","device_status.mme.profile.hss_realm":"HSS realm","device_status.mme.profile.subscription":"Subscription","device_status.mme.profile.subscription.msisdn":"MSISDN","device_status.mme.profile.subscription.mode":"Mode","device_status.mme.profile.subscription.status":"Status","device_status.mme.profile.subscription.usage_type":"Usage type","device_status.mme.profile.subscription.ue_ambr":"UE AMBR","device_status.mme.profile.subscription.ue_ambr.dl":"DL (bps)","device_status.mme.profile.subscription.ue_ambr.ul":"UL (bps)","device_status.mme.profile.subscription.config":"Config","device_status.mme.profile.subscription.config.default_context_id":"Default context ID","device_status.mme.profile.subscription.config.apns":"APNs","device_status.mme.profile.subscription.config.apn.apn":"APN","device_status.mme.profile.subscription.config.apn.context_id":"Context ID","device_status.mme.profile.subscription.config.apn.pdn_type":"PDN Type","device_status.mme.profile.subscription.config.apn.data_mode":"Data mode","device_status.mme.profile.subscription.config.apn.non_ip":"NON IP","device_status.mme.profile.subscription.config.apn.non_ip_method":"NON IP method","device_status.mme.profile.subscription.config.apn.qos":"QOS","device_status.mme.profile.subscription.config.apn.qos.qci":"QCI","device_status.mme.profile.subscription.config.apn.qos.arp":"ARP","device_status.mme.profile.subscription.config.apn.qos.arp.priority_level":"Priority level","device_status.mme.profile.subscription.config.apn.qos.arp.preemption_capability":"Preemption capability","device_status.mme.profile.subscription.config.apn.qos.arp.preemption_vulnerability":"Preemption vulnerability","device_status.mme.profile.subscription.config.apn.apn_ambr":"APN AMBR","device_status.mme.profile.subscription.config.apn.apn_ambr.ul":"UL (bps)","device_status.mme.profile.subscription.config.apn.apn_ambr.dl":"DL (bps)","device_status.mme.decor":"Decor","device_status.mme.decor.computed_usage_type":"Computed usage type","device_status.mme.decor.rerouted":"Rerouted","device_status.mme.decor.state":"State","device_status.mme.decor.state.static":"Static","device_status.mme.decor.state.hss":"HSS","device_status.mme.decor.state.ue":"UE","device_status.mme.decor.state.mme":"MME","device_status.mme.psm":"PSM","device_status.mme.psm.psm":"PSM","device_status.mme.psm.idle_since_ms":"Idle since (ms)","device_status.mme.psm.t3324":"t3324","device_status.mme.edrx":"EDRX","device_status.mme.edrx.mode":"Mode","device_status.mme.edrx.window":"Window","device_status.mme.edrx.window_s":"Window (s)","device_status.mme.edrx.cycle":"Cycle","device_status.mme.edrx.cycle_s":"Cycle (s)","device_status.mme.esm":"ESM","device_status.mme.esm.sgw_fqdn":"SGW FQDN","device_status.mme.esm.ue_ambr":"UE AMBR","device_status.mme.esm.ue_ambr.ul":"UL (bps)","device_status.mme.esm.ue_ambr.dl":"DL (bps)","device_status.mme.esm.bearers":"Bearers","device_status.mme.esm.bearer":"Bearer","device_status.mme.esm.bearer.ebi":"EBI","device_status.mme.esm.bearer.apn":"APN","device_status.mme.esm.bearer.context_id":"Context ID","device_status.mme.esm.bearer.pdn_addr":"PDN addr","device_status.mme.esm.bearer.apn_ambr":"APN AMBR","device_status.mme.esm.bearer.apn_ambr.ul":"UL (bps)","device_status.mme.esm.bearer.apn_ambr.dl":"DL (bps)","device_status.mme.esm.bearer.rabs":"RABs","device_status.mme.esm.bearer.rab":"RAB","device_status.mme.esm.bearer.rab.ebi":"EBI","device_status.mme.esm.bearer.rab.qos.qci":"QCI","device_status.mme.disconnect":"Disconnect","device_status.mme.detach":"Detach","device_status.mme.detach.reattach_required":"Reattach required","device_status.mme.detach.reattach_not_required":"Reattach not required","device_status.mme.purge":"Purge","device_status.mme.purge.reattach_required":"Reattach required","device_status.mme.purge.reattach_not_required":"Reattach not required","device_status.sgw":"Status Sessions","device_status.sgwc.session":"Session","device_status.sgwc.session.id":"ID","device_status.sgwc.session.id_type":"ID type","device_status.sgwc.session.upf_ip":"UPF IP","device_status.sgwc.session.mme_ip":"MME IP","device_status.sgwc.session.pgw_ip":"PGW IP","device_status.sgwc.session.default_bearer":"Default bearer","device_status.sgwc.session.default_bearer.ebi":"EBI","device_status.sgwc.session.default_bearer.lebi":"LEBI","device_status.sgwc.session.default_bearer.rat":"RAT","device_status.sgwc.session.default_bearer.apn":"APN","device_status.sgwc.session.default_bearer.ambr.uplink":"AMBR - Uplink","device_status.sgwc.session.default_bearer.ambr.downlink":"AMBR - Downlink","device_status.sgwc.session.default_bearer.qos":"QOS","device_status.sgwc.session.default_bearer.qos.ambr.uplink":"AMBR - Uplink","device_status.sgwc.session.default_bearer.qos.ambr.downlink":"AMBR - Downlink","device_status.sgwc.session.default_bearer.qos.arp.preemption_capability":"ARP - Preemption capability","device_status.sgwc.session.default_bearer.qos.arp.preemption_vulnerability":"ARP - Preemption vulnerability","device_status.sgwc.session.default_bearer.qos.arp.priority":"ARP - Priority","device_status.sgwc.session.default_bearer.qos.qci":"QCI","device_status.sgwc.session.dedicated_bearers":"Dedicated bearers","device_status.sgwc.session.dedicated_bearer":"Dedicated bearer","device_status.sgwc.session.dedicated_bearer.ebi":"EBI","device_status.sgwc.session.dedicated_bearer.lebi":"LEBI","device_status.sgwc.session.dedicated_bearer.rat":"RAT","device_status.sgwc.session.dedicated_bearer.apn":"APN","device_status.sgwc.session.dedicated_bearer.ambr.uplink":"AMBR - Uplink","device_status.sgwc.session.dedicated_bearer.ambr.downlink":"AMBR - Downlink","device_status.sgwc.session.dedicated_bearer.qos":"QOS","device_status.sgwc.session.dedicated_bearer.qos.ambr.uplink":"AMBR - Uplink","device_status.sgwc.session.dedicated_bearer.qos.ambr.downlink":"AMBR - Downlink","device_status.sgwc.session.dedicated_bearer.qos.arp.preemption_capability":"ARP - Preemption capability","device_status.sgwc.session.dedicated_bearer.qos.arp.preemption_vulnerability":"ARP - Preemption vulnerability","device_status.sgwc.session.dedicated_bearer.qos.arp.priority":"ARP - Priority","device_status.sgwc.session.dedicated_bearer.qos.qci":"QCI","device_status.reAttach":"Re-attach","device_status.pcf":"PCF","device_status.pcf.pdu_session":"PDU session - {id}","device_status.pcf.pdu_session_id":"PDU session ID","device_status.pcf.pdu_session_type":"PDU session type","device_status.pcf.supi":"SUPI","device_status.pcf.dnn":"DNN","device_status.pcf.ipv4_addr":"IPv4","device_status.pcf.ipv6_addr":"IPv6","device_status.pcf.is_emergency":"Is emergency","device_status.pcf.pei":"PEI","device_status.pcf.plmn":"PLMN","device_status.pcf.snssai":"SNSSAI","device_status.pcf.active_app_sessions":"Active app sessions","device_status.pcf.active_app_session":"Active app session - {id}","device_status.pcf.active_app_sessions.interface_type":"Interface type","device_status.pcf.active_app_sessions.rules":"Rules","device_status.pcf.active_app_sessions.rule":"Rule {id}","device_status.pcf.active_app_sessions.rules.rule_id":"Rule ID","device_status.pcf.active_app_sessions.rules.qos_id":"QoS ID","device_status.pcf.active_app_sessions.rules.qos_5qi":"QoS 5QI","device_status.pcf.active_app_sessions.rules.qos_gbrDl":"QoS gbrDl","device_status.pcf.active_app_sessions.rules.qos_gbrUl":"QoS gbrUl","device_status.pcf.active_app_sessions.rules.qos_maxbrDl":"QoS maxbrDl","device_status.pcf.active_app_sessions.rules.qos_maxbrUl":"QoS maxbrUl","device_status.pcf.active_app_sessions.rules.flow_infos":"Flow infos","device_status.pcf.active_app_sessions.rules.flow_info":"Flow info {id}","device_status.pcf.active_app_sessions.rules.flow_infos.description":"Description","device_status.pcf.active_app_sessions.rules.flow_infos.direction":"Direction","software_update.button.upload":"Upload","software_update.button.restart":"Restart","software_update.button.reset":"Reset","software_update.panel.upload.title":"Software upgrade","software_update.panel.upload.description":"Click on the button below to upload the firmware file (.swu file is required).","software_update.panel.logs.title":"Logs","software_update.panel.upload.not_available":"System upgrade not available","software_update.panel.status.title":"Upgrade status","software_update.panel.restart.title":"Restart","software_update.panel.restart.description":"Click on the button below to restart the machine","software_update.panel.restart.loading":"Restarting...","software_update.alert.title":"DATA WILL BE LOST!","software_update.alert.description":"Backup your data before upgrading","software_update.alert.action":"Backup & Restore","software_update.alert.warning":"Do NOT close the page until the upload process is complete!","software_update.form.title":"Upload file","software_update.form.file":"File","software_update.form.file.required":"Required","software_update.form.description":"Upload the file with the firmware you want to install (.swu file is required)","software_update.dialog.completed.title.success":"Upgrade successed","software_update.dialog.completed.title.failed":"Upgrade failed","software_update.dialog.completed.title.unknown":"Upgrade terminated","software_update.dialog.completed.content.success":"Upgrade completed succesfully. To see the upgraded software, please reboot the system.","software_update.dialog.completed.content.success.action":"Reboot now","software_update.dialog.completed.content.failed":"Upgrade failed. Check logs for more details.","software_update.dialog.completed.content.unknown":"Upgrade terminated with unknown status.","software_update.dialog.restart.content":"Restarting...","software_update.dialog.action.home":"Go home","log_shipping.form.title":"Log Shipping Configuration","log_shipping.form.host":"Host","log_shipping.form.port":"Port","log_shipping.form.compress":"Compress","log_shipping.form.save":"Save","log_shipping.form.cancel":"Reset","kpi_shipping.buttons.new_external_label":"New","kpi_shipping.buttons.new_remote_write":"New","kpi_shipping.external_labels.section_title":"External Labels","kpi_shipping.external_labels.table.key":"Key","kpi_shipping.external_labels.table.value":"Value","kpi_shipping.external_labels.table.actions.edit":"Edit","kpi_shipping.external_labels.table.actions.delete":"Delete","kpi_shipping.new_external_label.form.key":"Key","kpi_shipping.new_external_label.form.value":"Value","kpi_shipping.new_external_label.form.errors.required":"Field is required","kpi_shipping.new_external_label.form.buttons.cancel":"Cancel","kpi_shipping.new_external_label.form.buttons.save":"Save","kpi_shipping.new_external_label.dialog.title":"New External label","kpi_shipping.edit_external_label.dialog.title":"Edit External Label","kpi_shipping.delete_external_label.dialog.title":"Delete External Label","kpi_shipping.delete_external_label.dialog.confirm":'Are you sure to delete external label with key = "{key}"?',"kpi_shipping.dialog.configuration_update_ok":"Configuration updated correctly","kpi_shipping.dialog.configuration_update_ko":"Problem on updating configuration","kpi_shipping.remote_writes.section_title":"Remote Writes","kpi_shipping.remote_writes.table.name":"Name","kpi_shipping.remote_writes.table.url":"URL","kpi_shipping.remote_writes.table.proxy_url":"Proxy URL","kpi_shipping.remote_writes.table.tls_insecure_skip_verify":"Skip TLS Verify","kpi_shipping.remote_writes.table.actions.edit":"Edit","kpi_shipping.remote_writes.table.actions.delete":"Delete","kpi_shipping.new_remote_write.form.name":"Name","kpi_shipping.new_remote_write.form.url":"URL","kpi_shipping.new_remote_write.form.proxy_url":"Proxy URL","kpi_shipping.new_remote_write.form.tls_insecure_skip_verify":"Skip TLS Verify","kpi_shipping.new_remote_write.form.errors.required":"Field is required","kpi_shipping.new_remote_write.form.buttons.cancel":"Cancel","kpi_shipping.new_remote_write.form.buttons.save":"Save","kpi_shipping.new_remote_write.form.basic_auth.add":"Add Basic Auth","kpi_shipping.new_remote_write.form.basic_auth.remove":"Remove Basic Auth","kpi_shipping.new_remote_write.form.basic_auth.username":"Username","kpi_shipping.new_remote_write.form.basic_auth.password":"Password","kpi_shipping.new_remote_write.dialog.title":"New Remote Write","kpi_shipping.edit_remote_write.dialog.title":"Edit Remote Write","kpi_shipping.delete_remote_write.dialog.title":"Delete Remote Write","kpi_shipping.delete_remote_write.dialog.confirm":'Are you sure to delete remote write with name = "{name}"?',"long_string_displayer.message.copy":"Copy into the clipboard","long_string_displayer.message.copy_ok":"Text has been copied into the clipboard","not_found.message":"Page not found!","dialog_with_form.buttons.cancel":"Cancel","dialog_with_form.buttons.submit":"Submit","bootstrap_route.service_status_offline":"Service status is offline.","bootstrap_route.refresh_and_contact_support":"Try to refresh the page or contact the support.","pls.tls.configuration.title":"TLS Configuration","pls.tls.configuration.form.client_auth":"Client Authentication","pls.tls.configuration.form.enabled":"Enabled","pls.tls.configuration.form.apply":"Apply configuration","pls.tls.configuration.form.apply_ok":"Configuration applied correctly","pls.tls.configuration.form.apply_ko":"Error on applying configuration","pls.tls.configuration.error":"Error loading configuration","pls.tls.certificates.client.title":"Update Client CA Certificate","pls.tls.certificates.client.form.update_ok":"Client Certificate updated correctly","pls.tls.certificates.client.form.update_ko":"Error on updating Client certificate","pls.tls.certificates.server.title":"Update Server Certificate","pls.tls.certificates.server.form.update_ok":"Servert Certificate updated correctly","pls.tls.certificates.server.form.update_ko":"Error on updating Server certificate","pls.tls.certificates.client.form.update":"Update Client CA Certificate","pls.tls.certificates.server.form.update":"Update Server Certificate","pls.tls.certificates.form.cert_file":"Certificate file","pls.tls.certificates.form.key_file":"Key file","pls.tls.certificates.form.file":"Select file","pls.tls.certificates.form.error.file_required":"File is required","terminal.toolbar.files":"Files","terminal.drawer.files.title":"Files","terminal.drawer.files.download.tooltip":"Download","terminal.drawer.files.message.noData":"No files available","troubleshoot_dump.toolbar.dump":"Schedule dump","troubleshoot_dump.no_data":"No dump schedule found","troubleshoot_dump.form.title":"New dump","troubleshoot_dump.form.start_at":"From","troubleshoot_dump.form.end_at":"Until","troubleshoot_dump.form.end_at.validation":"Until time cannot be before from time","troubleshoot_dump.form.include_logs":"Include logs","troubleshoot_dump.form.include_metrics":"Include metrics","troubleshoot_dump.form.submit":"Schedule","troubleshoot_dump.table.action_id":"Action ID","troubleshoot_dump.table.status":"Status","troubleshoot_dump.table.start_at":"Start at","troubleshoot_dump.table.end_at":"End at","troubleshoot_dump.table.created_at":"Created at","troubleshoot_dump.table.size":"Size","troubleshoot_dump.table.actions.download":"Download","troubleshoot_dump.table.actions.delete":"Delete","troubleshoot_dump.dialog.delete.title":"Delete dump","troubleshoot_dump.dialog.delete.description":"Are you sure to delete dump {id}?","restart.progress.title":"Restarting...","darkmode.title":"Appearance","darkmode.light":"Light","darkmode.dark":"Dark","darkmode.system":"System","route.diameter":"Diameter","route.diameter.connections":"Connections","route.diameter.peers":"Peers","route.ngap":"NGAP","route.ngap.connections":"Connections","route.ngap.listeners":"Listeners","route.gtpc.sockets":"Sockets","route.gtpc.peers":"Peers","route.gtpc.denypeer.blocked_peers":"Blocked Peers","route.gtpu.sockets":"Sockets","route.pfcp.sockets":"Sockets","route.pfcp.peers":"Peers","route.mme":"MME","route.mme.status":"Status","route.mme.status.diameter":"Diameter","route.mme.status.s1ap":"S1AP","route.mme.status.s1ap.connections":"Connections","route.mme.status.s1ap.listeners":"Listeners","route.mme.status.gtpc":"GTP-C","route.mme.status.pfcp":"PFCP","route.mme.status.gtpu":"GTP-U","route.mme.status.gtpu.sockets":"Sockets","route.mme.status.sgs":"SGs","route.mme.status.sgs.connections":"Connections","route.mme.status.sbcap":"SBcAP","route.mme.status.sbcap.connections":"Connections","route.mme.status.sbcap.listeners":"Listeners","route.mme.status.dns":"DNS","route.mme.status.dns.cache":"Cache","route.mme.cluster":"Cluster","route.mme.configuration":"Configuration","route.mme.lawful-interception":"Lawful Interception","route.mme.status.m3":"M3","route.mme.status.m3.connections":"Connections","route.ncm.status.interfaces":"Interfaces","route.ncm.status.neighbors":"Neighbors","route.ncm.status.routes":"Routes","route.ncm.status.rules":"Rules","route.ncm.status.sockets":"Sockets","route.ncm.status.bird":"Dynamic Routing","route.ncm.status.bird.protocols":"Protocols","route.ncm.status.bird.bfd_sessions":"BFD Sessions","route.smf.status.gtpc":"GTP-C","route.smf.status.gtpu":"GTP-U","route.smf.status.pfcp":"PFCP","route.smf.lawful-interception":"Lawful Interception","route.smsf.smpp":"SMPP","route.smsf.smpp.connections":"Connections","route.smsf.configuration":"Configuration","route.smsf.status":"Status","route.smsf.cluster":"Cluster","route.smsf.sms-box":"SMS Box","route.sgwc.status.gtpc":"GTP-C","route.sgwc.status.pfcp":"PFCP","route.upf.status.pfcp":"PFCP","route.upf.status.gtpu":"GTP-U","route.boot-configuration":"Boot Configuration","route.new":"New","route.edit":"Edit","route.home":"Home","route.profile":"Profile","route.ncm":"Network","route.ncm.configuration":"Configuration","route.ncm.status":"Status","route.platform":"Platform","route.platform.auth":"Auth","route.platform.users":"Users","route.platform.roles":"Roles","route.platform.tls":"TLS","route.platform.log-shipping":"Log Shipping","route.platform.kpi-shipping":"KPI Shipping","route.platform.boot-configuration":"Boot Configuration","route.platform.cluster":"Cluster","route.system":"System","route.system.licensing":"Licensing","route.system.backup":"Backup & Restore","route.system.backup.configuration":"Configuration","route.system.backup.udr":"UDR","route.system.backup.eir":"EIR","route.system.backup.dsm":"DSM","route.system.backup.udm":"UDM","route.system.backup.nrf":"NRF","route.system.services":"Services","route.system.upgrade":"Upgrade","route.system.terminal":"Terminal","route.system.logs":"Logs","route.system.logs.entries":"Entries","route.system.logs.follow":"Follow","route.system.logs.cursor":"Log Entry","route.system.logs.cursor.caption":"__CURSOR: {cursor}","route.system.dialog.restart.title":"Restart","route.system.dialog.restart.text":"If you continue, the system will be restarted. Are you sure you want to proceed?","route.monitoring":"Monitoring","route.monitoring.system":"System","route.monitoring.core-statistics":"Core","route.monitoring.ue-status":"UE Status","route.monitoring.alerts":"Alerts","route.udr":"UDR","route.udr.configuration":"Configuration","route.udr.plmns":"Supported PLMNs","route.udr.supis":"SUPIs","route.udr.supis.new":"New SUPI","route.udr.supis.id":"SUPI","route.udr.supis.id.caption":"ID: {id}","route.udr.provisioned-data-profile":"Provisioned Data Profiles","route.udr.provisioned-data-profile.new":"New Provisioned Data Profiles","route.udr.provisioned-data-profile.id":"Provisioned Data Profile","route.udr.provisioned-data-profile.id.caption":"ID: {id}","route.udr.policy-data-profile":"Policy Data Profiles","route.udr.policy-data-profile.new":"New Policy Data Profile","route.udr.policy-data-profile.id":"Policy Data Profile","route.udr.policy-data-profile.id.caption":"ID: {id}","route.udr.ims-application-server-acls":"IMS Application Server ACLs","route.udr.ims-private-identities":"IMS Private Identities","route.udr.ims-private-identities.new":"New Private Identity","route.udr.ims-private-identities.id":"Private Identity","route.udr.ims-private-identities.id.caption":"ID: {id}","route.udr.ims-private-identities.id.application-servers-profiles":"Application Servers Profiles","route.udr.ims-private-identities.id.application-servers-profiles.caption":"Name: {name}","route.udr.ims-service-profiles":"IMS Service Profiles","route.udr.ims-initial-filters":"IMS Initial Filters","route.udr.transport-keys":"Transport Keys","route.udr.operator-codes":"Operator Codes","route.udr.cluster":"Cluster","route.udr.custom-milenage-constants":"Custom MILENAGE Constants","route.udm":"UDM","route.udm.configuration":"Configuration","route.udm.home-network-keys":"Home Network Keys","route.udm.cluster":"Cluster","route.udm.status":"Status","route.udm.plmn-prefixes":"PLMN Prefixes","route.eir":"EIR","route.eir.configuration":"Configuration","route.eir.rules":"Rules","route.eir.auto-rules":"Auto rules","route.eir.cluster":"Cluster","route.eir.status":"Status","route.chf":"CHF","route.chf.status":"Status","route.chf.cluster":"Cluster","route.chf.configuration":"Configuration","route.chf.status.gtp_prime":"GTP'","route.nrf":"NRF","route.nrf.configuration":"Configuration","route.nrf.static-profiles":"Static Profiles","route.nrf.static-profiles.new":"New Static Profile","route.nrf.static-profiles.id":"Static Profile","route.nrf.static-profiles.id.caption":"NF Instance ID: {id}","route.nrf.cluster":"Cluster","route.nrf.status":"Status","route.aaa":"AAA","route.aaa.cluster":"Cluster","route.aaa.configuration":"Configuration","route.aaa.status":"Status","route.aaa.status.radius":"Radius","route.amf":"AMF","route.amf.cluster":"Cluster","route.amf.configuration":"Configuration","route.amf.status":"Status","route.smf":"SMF","route.smf.status":"Status","route.smf.configuration":"Configuration","route.smf.cluster":"Cluster","route.smsf":"SMSF","route.upf":"UPF","route.upf.cluster":"Cluster","route.upf.configuration":"Configuration","route.upf.status":"Status","route.upf.lawful-interception":"Lawful Interception","route.pcf":"PCF","route.pcf.cluster":"Cluster","route.pcf.configuration":"Configuration","route.pcf.status":"Status","route.ausf":"AUSF","route.ausf.cluster":"Cluster","route.ausf.configuration":"Configuration","route.dra":"DRA","route.dra.cluster":"Cluster","route.dra.configuration":"Configuration","route.dra.status":"Status","route.dsm":"DNS","route.dsm.configuration":"Configuration","route.dsm.zones":"Zones","route.dsm.cluster":"Cluster","route.sgwc":"SGW","route.sgwc.status":"Status","route.sgwc.cluster":"Cluster","route.sgwc.configuration":"Configuration","route.bmsc":"BMSC","route.bmsc.status":"Status","route.bmsc.cluster":"Cluster","route.bmsc.configuration":"Configuration","route.bmsc.status.gtpc":"GTP-C","route.restart":"Restart","route.docs":"Guides","route.docs.datasheet":"Datasheet","route.docs.feature-description":"Feature Description","route.docs.installation-guide":"Installation Guide","route.docs.monitoring-guide":"Monitoring Guide","route.docs.product-description":"Product Description","route.docs.release-notes":"Release Notes","route.docs.security-guide":"Security Guide","route.docs.troubleshooting-guide":"Troubleshooting Guide","route.docs.user-guide":"User Guide","route.docs.oas":"OpenAPI Specifications","route.docs.oas.aaa":"AAA","route.docs.oas.amf":"AMF","route.docs.oas.ausf":"AUSF","route.docs.oas.bmsc":"BMSC","route.docs.oas.chf":"CHF","route.docs.oas.dra":"DRA","route.docs.oas.dsm":"DSM","route.docs.oas.eir":"EIR","route.docs.oas.licensed":"LICENSED","route.docs.oas.mme":"MME","route.docs.oas.ncm":"NCM","route.docs.oas.nrf":"NRF","route.docs.oas.pcf":"PCF","route.docs.oas.pls":"PLS","route.docs.oas.sgwc":"SGWC","route.docs.oas.smf":"SMF","route.docs.oas.smsf":"SMSF","route.docs.oas.udm":"UDM","route.docs.oas.udr":"UDR","route.docs.oas.upf":"UPF","route.docs.oas.swUpdate":"Software Update","route.pls":"PLS","route.platform.audit":"Audit","route.platform.alert-shipping":"Alert Shipping","route.platform.audit.caption":"User: {username}","idle-state.modal.title":"Are you still there?","idle-state.modal.message":"You've been inactive for a while. Your session will expire soon.","idle-state.modal.continue":"I'm here","audits.action":"Action","audits.auth":"Auth","audits.auth.allowed":"Allowed","audits.auth.denied":"Denied","audits.created_at":"Timestamp","audits.source_ip":"Source IP","system_usage_terms.title":"Terms & conditions","system_usage_terms.form.checkbox.hint":"Enable/disable terms & conditions banner inside login page","system_usage_terms.form.terms":"Terms","system_usage_terms.form.errors.required":"Field is required","system_usage_terms.form.forbidden_notice":"Forbidden notice","system_usage_terms.form.forbidden_notice.alert":"Forbidden notice will be shown inside a warning alert","system_usage_terms.checkbox.accept":"Accept terms & conditions","route.auth.strategies":"Authentication strategies","route.auth.auth_config":"Authentication configuration","route.auth.terms":"Terms & conditions","route.boot_partitions":"Boot Partitions","route.system.dialog.boot_partitions.title":"Boot partitions","route.system.dialog.boot_partitions.subtitle":"Select default boot partition","route.system.dialog.confirm_reboot.title":"System reboot","route.system.dialog.confirm_reboot.description":"To change default partition system must be rebooted. Do you want to proceed?","route.system.troubleshoot_dump":"Troubleshoot Dump"},gDe="Services Status",_De={"app.title":"Athonet","errors.drawer.title":"Errors","errors.drawer.actions.delete":"Delete","menu.version":"Version: {version}","menu.info.version":"version","menu.info.product_name":"product","menu.info.hostname":"hostname","common.form.add":"Add","common.form.submit":"Submit","common.form.continue":"Continue","common.form.close":"Close","common.form.cancel":"Cancel","common.new":"New","common.add":"Add","common.delete":"Delete","common.download":"Download","common.upload":"Upload","common.select_all":"Select all","common.save":"Save","common.edit":"Edit","common.view":"View","common.reset":"Reset","common.confirm":"Confirm","common.button.edit":"Edit","common.button.delete":"Delete","common.button.import":"Import","common.dropzone.previewText":"Selected files","common.dropzone.uploadLabel":"Drag and drop a file here or click","common.form.submit.error":"Error sending data: {description}","common.form.dirty":"(data has been modified!)","common.form.unit":"Unit","common.pagenotfound":"Page not found","common.reload":"Reload","common.status_error.title":"Error","common.status_error.message":"Something went wrong","common.status_error.fetch":"Error fetching data","common.status_error.service_unavailable":"Service is currently unavailable (unavailable services: {services})","common.status_error.service_unavailable_no_info":"Service is currently unavailable","common.alerts":"Alerts","common.terminal":"Terminal","common.logs":"Logs","common.no-data":"No data to display","common.backup":"Backup","common.restore":"Restore","common.remove":"Remove","common.update":"Update","common.or":"or","common.enabled":"Enabled","common.empty":"Empty","common.current":"current","route.errors.route_not_managed":"Permissions for route {path} are not managed","delete.form.title":"Delete","delete.form.text":"Are you sure to delete the element?","info_dialog.close":"Close","confirm_dialog.title":"Confirm","confirm_dialog.cancel":"Cancel","confirm_dialog.ok":"Ok","bad_request.message":"Invalid request!","unauthorized.message":"You are not authorized to view this content (required permissions: {permissions}).","unauthorized.forbidden":"You are not allowed to proceed","unauthorized.forbidden_with_permissions":"You are not allowed to proceed (required permissions: {permissions})","service_down.message":"This service is down or stopped!","dynamic.table.create_row.form.title":"Create new {value} element","dynamic.table.edit_row.form.title":"Edit {value} element","dynamic.table.edit_row":"Edit row","dynamic.table.delete_row":"Delete row","dynamic.button.confirmation.prompt":"Do you want to proceed?","dynamic.button.confirmation.cancel":"No","dynamic.button.confirmation.confirm":"Yes","dynamic.field.notset":"(not set)","dynamic.error":"Error loading page!","dynamic.message.cannot_write":"You are not able to edit configuration because you don't have the write permission","validation.required":"Required field","validation.no_wildcard_when_default_dnn":"* is not allowed for default DDN","validation.invalid_format":"Invalid format","validation.pattern":"Must match: {pattern}","validation.minLength":"Min length: ${min} chars","validation.maxLength":"Max length: ${max} chars","validation.minValue":"Min value: ${min}","validation.maxValue":"Max value: ${max}","validation.date-time.error":"Invalid datetime value","validation.email.error":"Invalid email value","validation.hostname.error":"Invalid hostname value","validation.ipv4.error":"Invalid IPV4 address value","validation.ipv6.error":"Invalid IPV6 address value","validation.ip.error":"Invalid IPV4 or IPV6 address value","validation.cidr4.error":"Invalid IPV4 CIDR value","validation.cidr6.error":"Invalid IPV6 CIDR value","validation.cidr.error":"Invalid IPV4 or IPV6 CIDR value","validation.list.unique_items":"Items must be unique","validation.list.min_items":"Must have at least ${min} items","validation.list.max_items":"Must have at most ${max} items","validation.list.item.error":"Item {index}: ","cluster.errors.no_nf_configured":"No NF configured for this Cluster page. Please contact administrator","cluster.message.no_repo":"There are no repositories","cluster.message.node_not_in_cluster":'Current node is not part of a cluster. Insert a node and click on "Join cluster" if you want to add the current node to a cluster.',"cluster.message.node_data_drop_warning":"NOTE: Data on local node will be dropped before joining the target node","cluster.message.node_data_destructive_operation_warning":"This operation completely deletes all data stored in the node joining the cluster. The data will be replaced with the one present on the joined cluster.","cluster.buttons.join_cluster":"Join Cluster","cluster.buttons.leave_cluster":"Leave Cluster","cluster.buttons.join":"Join","cluster.buttons.leave":"Leave","cluster.buttons.cancel":"Cancel","cluster.buttons.remove_dead_node":"Remove dead node","cluster.buttons.remove_dead_node_ap":"Remove Dead AP Node","cluster.buttons.leave_cp_without_consensus":"Leave CP Cluster Without Consensus","cluster.dialog.join_ok":"Cluster joined correctly","cluster.dialog.join_ko":"Error on joining cluster","cluster.dialog.leave_ok":"Cluster left correctly","cluster.dialog.leave_without_consensus_ok":"Cluster left correctly without consensus","cluster.dialog.leave_without_consensus_ko":"Error on leaving cluster without consensus","cluster.dialog.remove_dead_node_ok":"Dead AP node removed correctly","cluster.dialog.remove_dead_node_ko":"Error on removing dead AP node","cluster.dialog.join.title":"Join Cluster","cluster.dialog.join.description":"This operation completely deletes all data stored in the node joining the cluster. The data will be replaced with the one present on the joined cluster. Are you sure to join cluster?","cluster.dialog.join.cancel":"Cancel","cluster.dialog.join.confirm":"Join","cluster.dialog.leave.title":"Leave Cluster","cluster.dialog.leave.description":"Are you sure you want to leave cluster?","cluster.dialog.leave.force":"Force leave","cluster.dialog.leave.cancel":"Cancel","cluster.dialog.leave.confirm":"Leave","cluster.dialog.leave_without_consensus.title":"Leave CP Cluster Without Consensus","cluster.dialog.leave_without_consensus.description":"Are you sure you want to leave CP cluster without consensus?","cluster.dialog.leave_without_consensus.cancel":"Cancel","cluster.dialog.leave_without_consensus.confirm":"Leave","cluster.dialog.remove_dead_node_ap.title":"Remove Dead AP Node","cluster.dialog.remove_dead_node_ap.description":"Are you sure you want to remove AP node?","cluster.dialog.remove_dead_node_ap.cancel":"Cancel","cluster.dialog.remove_dead_node_ap.confirm":"Remove","cluster.form.errors.required":"Field is required","cluster.form.node":"Target node","cluster.form.node_placeholder":"Host","cluster.status.current_node":"Current","cluster.status.unreachable_node":"Unreachable","cluster.status.unreachable_nodes_count":"{count} Unreachable nodes","cluster.status.unreachable_node_count":"{count} Unreachable node","cluster.status.host_node":"Host","cluster.status.repositories":"Repositories","cluster.status.cluster_nodes":"Cluster nodes","cluster.status.current":"current","cluster.status.node_not_in_cluster":"Current node is not in cluster","cluster.status.repo_with_errors":"One or more repositories are down or have errors","cluster.site_picker.node_down":"The node {ip_address} that you selected is unreachable","cluster.title":"DB cluster","configuration.buttons.apply":"Apply Configuration","configuration.buttons.persist":"Persist Configuration","configuration.buttons.restart_resource":"Restart Resource","configuration.buttons.factory_reset":"Factory Reset","network_configuration.message.cannot_write":"You are not able to edit configuration because you don't have the write permission","network_configuration.dialog.title":"Network configuration","network_configuration.dialog.no_configuration":"No boot configuration","network_configuration.dialog.apply_configuration_ok":"Network configuration set correctly","network_configuration.dialog.apply_configuration_ko":"Error on setting network configuration","network_configuration.buttons.save":"Save","network_configuration.buttons.persist_and_reboot":"Persist and Reboot","network_configuration.buttons.cancel":"Cancel","network_configuration.form.errors.required":"Field is required","network_configuration.form.dev":"Device/VRF","network_configuration.form.host":"Host","network_configuration.form.name":"Name","network_configuration.form.port":"Port","network_configuration.form.tos":"TOS","network_configuration.fieldset":"Network configuration","network_configuration.alert.cannot_load_network_configuration":"Cannot load boot configuration","lawful_interception.message.cannot_write":"You are not able to edit lawful interception because you don't have the write permission","lawful_interception.dialog.title":"Lawful Interception","lawful_interception.dialog.no_configuration":"No Lawful Interception","lawful_interception.dialog.apply_configuration_ok":"Lawful Interception set correctly","lawful_interception.dialog.apply_configuration_ko":"Error on setting Lawful Interception","lawful_interception.buttons.save":"Save","lawful_interception.buttons.cancel":"Cancel","lawful_interception.form.errors.required":"Field is required","lawful_interception.form.title.x1":"X1 Server","lawful_interception.form.title.x1_uids":"UIDs","lawful_interception.form.title.x2":"X2 Client","lawful_interception.form.x1_ca":"CA file","lawful_interception.form.x1_key":"Key file","lawful_interception.form.x1_cert":"Cert file","lawful_interception.form.x2_ca":"CA file","lawful_interception.form.x2_key":"Key file","lawful_interception.form.x2_cert":"Cert file","lawful_interception.form.x1_uids":"UIDs","lawful_interception.form.title.x3":"X3","lawful_interception.form.x3_ca":"CA file","lawful_interception.form.x3_key":"Key file","lawful_interception.form.x3_cert":"Cert file","lawful_interception.form.title.t3":"T3","lawful_interception.form.t3_ca":"CA file","lawful_interception.form.t3_key":"Key file","lawful_interception.form.t3_cert":"Cert file","lawful_interception.panel.title":"Lawful Interception","lawful_interception.actions.delete":"Delete","lawful_interception.actions.confirm_delete":"Are you sure you want to delete the provided lawful interception?","lawful_interception.alert.cannot_load_lawful_interception":"Cannot load lawful interception","lawful_interception.provisioned":"Provisioned","lawful_interception.not_provisioned":"Not Provisioned","lawful_interception.apply_ok":"Lawful interception successfully saved","lawful_interception.apply_ko":"There was a problem saving lawful interception","lawful_interception.remove_ok":"Lawful interception successfully removed","lawful_interception.remove_ko":"There was a problem removing lawful interception","lawful_interception.load_ko":"There was a problem loading lawful interception key material","aaa.status.radius.local_addr":"Local Address","aaa.status.radius.local_port":"Local Port","ngap.status.connections.actions.delete":"Delete","ngap.status.connections.actions.reset":"Reset","ngap.status.connections.association_id":"Association ID","ngap.status.connections.connected_at":"Connected at","ngap.status.connections.global_ran_node_id":"Global RAN Node ID","ngap.status.connections.global_ran_node_id.id":"ID","ngap.status.connections.global_ran_node_id.plmn":"PLMN","ngap.status.connections.global_ran_node_id.type":"Type","ngap.status.connections.ran_node_name":"RAN Node Name","ngap.status.connections.local_addrs":"Local Addresses","ngap.status.connections.local_port":"Local Port","ngap.status.connections.remote_addrs":"Remote Addresses","ngap.status.connections.remote_port":"Remote Port","ngap.status.connections.srb_count":"SRB Count","ngap.status.connections.supported_ta_list":"Supported TAs","ngap.status.connections.supported_ta_list.broadcast_plmns":"Broadcast PLMNs","ngap.status.connections.supported_ta_list.broadcast_plmns.nssai":"NSSAI","ngap.status.connections.supported_ta_list.broadcast_plmns.PLMN":"PLMN","ngap.status.connections.supported_ta_list.tac":"TAC","ngap.status.connections.row_detail.tac":"TAC","ngap.status.connections.row_detail.broadcast_plmns":"Broadcast PLMNs with NSSAIs","ngap.status.connections.row_detail.broadcast_plmns.plmn":"PLMN","ngap.status.connections.row_detail.broadcast_plmns.nssais":"NSSAIs","ngap.status.listeners.local_addrs":"Local Addresses","ngap.status.listeners.local_port":"Local Port","ngap.status.listeners.transport_name":"Transport Name","diameter.status.connections.actions.disconnect":"Disconnect","diameter.status.connections.user":"User","diameter.status.connections.vendor_specific_applications":"Application ID (Vendor ID)","diameter.status.connections.vendor_specific_applications.application_id":"Application ID","diameter.status.connections.vendor_specific_applications.vendor_id":"Vendor ID","diameter.status.connections.name":"Name","diameter.status.connections.side":"Side","diameter.status.connections.peer":"Peer","diameter.status.connections.local_peer":"Local","diameter.status.connections.remote_peer":"Remote","diameter.status.connections.local_capabilities":"Local Capabilities","diameter.status.connections.remote_capabilities":"Remote Capabilities","diameter.status.connections.capabilities.origin_host":"Origin Host","diameter.status.connections.capabilities.origin_realm":"Origin Realm","diameter.status.connections.capabilities.vendor_id":"Vendor ID","diameter.status.connections.capabilities.product_name":"Product Name","diameter.status.connections.stack":"Stack","diameter.status.connections.applications":"Applications","diameter.status.connections.watchdog":"Watchdog","diameter.status.connections.port":"Port","diameter.status.connections.local_port":"Local Port","diameter.status.connections.remote_port":"Remote Port","diameter.status.connections.connection_type":"Connection Type","diameter.status.connections.connection_type.DiameterTcpConnection":"TCP","diameter.status.connections.connection_type.DiameterSctpConnection":"SCTP","diameter.status.connections.addrs":"Addresses","diameter.status.connections.local_addr":"Local Address","diameter.status.connections.local_addrs":"Local Addresses","diameter.status.connections.remote_addr":"Remote Address","diameter.status.connections.remote_addrs":"Remote Addresses","diameter.status.peers.name":"Name","diameter.status.peers.stack":"Stack","diameter.status.peers.remote_host":"Remote Host","diameter.status.peers.remote_realm":"Remote Realm","diameter.status.peers.addrs":"Addresses","diameter.status.peers.app_ids":"App IDs","diameter.status.peers.product_name":"Product Name","diameter.status.peers.vendor_id":"Vendor ID","diameter.status.peers.transport":"Transport","diameter.status.peers.status":"Status","diameter.status.peers.connection":"Connection","route.gtpp.status.connections":"Connections","route.gtpp.status.local_address":"Local Address","route.gtpp.status.local_port":"Local Port","route.gtpp.status.remote_address":"Remote Address","route.gtpp.status.remote_host":"Remote Host","route.gtpp.status.remote_port":"Remote Port","route.gtpp.status.transport_name":"Transport Name","gtpu.status.sockets.transport_name":"Transport Name","gtpu.status.sockets.local_addr":"Local Address","gtpu.status.sockets.local_port":"Local Port","gtpu.status.sockets.created":"Created","gtpu.status.sockets.counters":"Counters #","gtpu.status.sockets.counters.write_pkg_max":"Write Pkg Max","gtpu.status.sockets.counters.acc_waits":"Acc Waits","gtpu.status.sockets.counters.sendfile_tries":"Sendfile Tries","gtpu.status.sockets.counters.gtpu_snd_error_ind":"GTP-U Snd Error Ind","gtpu.status.sockets.counters.sendfile_byte":"Sendfile Byte","gtpu.status.sockets.counters.read_byte":"Read Byte","gtpu.status.sockets.counters.acc_success":"Acc Success","gtpu.status.sockets.counters.gtpu_rcv_gpdu":"GTP-U Rcv Gpdu","gtpu.status.sockets.counters.gtpu_rcv_echo_req":"GTP-U Rcv Echo Req","gtpu.status.sockets.counters.sendfile_fails":"Sendfile Fails","gtpu.status.sockets.counters.gtpu_rcv_echo_res":"GTP-U Rcv Echo Res","gtpu.status.sockets.counters.read_pkg_max":"Read Pkg Max","gtpu.status.sockets.counters.sendfile_max":"Sendfile Max","gtpu.status.sockets.counters.read_tries":"Read Tries","gtpu.status.sockets.counters.gtpu_snd_end_mark":"GTP-U Snd End Mark","gtpu.status.sockets.counters.write_pkg":"Write Pkg","gtpu.status.sockets.counters.write_tries":"Write Tries","gtpu.status.sockets.counters.sendfile_waits":"Sendfile Waits","gtpu.status.sockets.counters.gtpu_snd_gpdu":"GTP-U Snd Gpdu","gtpu.status.sockets.counters.acc_tries":"Acc Tries","gtpu.status.sockets.counters.write_byte":"Write Byte","gtpu.status.sockets.counters.acc_fails":"Acc Fails","gtpu.status.sockets.counters.sendfile":"Sendfile","gtpu.status.sockets.counters.read_pkg":"Read Pkg","gtpu.status.sockets.counters.sendfile_pkg_max":"Sendfile Pkg Max","gtpu.status.sockets.counters.sendfile_pkg":"Sendfile Pkg","gtpu.status.sockets.counters.gtpu_snd_drop":"GTP-U Snd Drop","gtpu.status.sockets.counters.write_fails":"Write Fails","gtpu.status.sockets.counters.gtpu_rcv_error_ind":"GTP-U Rcv Error Ind","gtpu.status.sockets.counters.read_fails":"Read Fails","gtpu.status.sockets.counters.gtpu_snd_echo_req":"GTP-U Snd Echo Req","gtpu.status.sockets.counters.gtpu_rcv_end_mark":"GTP-U Rcv End Mark","gtpu.status.sockets.counters.write_waits":"Write Waits","gtpu.status.sockets.counters.gtpu_rcv_drop":"GTP-U Rcv Drop","gtpu.status.sockets.counters.read_waits":"Read Waits","gtpu.status.sockets.counters.gtpu_snd_echo_res":"GTP-U Snd Echo Res","gtpc.status.sockets.transport_name":"Transport Name","gtpc.status.sockets.local_addr":"Local Address","gtpc.status.sockets.local_port":"Local Port","gtpc.status.sockets.dev":"Device","gtpc.status.peers.transport_name":"Transport Name","gtpc.status.peers.local_addr":"Local Address","gtpc.status.peers.remote_addr":"Remote Address","gtpc.status.peers.version":"Version","gtpc.status.peers.reset_counter":"Reset Counter","gtpc.status.peers.uptime_sec":"Uptime (s)","gtpc.status.peers.last_reset_at":"Last Reset At","gtpc.status.peers.connected_at":"Connected At","gtpc.status.peers.num_tuns":"Num Tuns","denypeer.status.gtpc.id":"ID","denypeer.status.gtpc.blocked_count":"Blocked Count","denypeer.status.gtpc.expires":"Expires","denypeer.status.gtpc.rule_type":"Rule Type","denypeer.status.gtpc.blocked":"Blocked","denypeer.status.gtpc.type":"Type","denypeer.status.gtpc.actions.flush":"Flush Blocked Peers","pfcp.status.sockets.transport_name":"Transport Name","pfcp.status.sockets.local_addr":"Local Address","pfcp.status.sockets.local_port":"Local Port","pfcp.status.peers.name":"Name","pfcp.status.peers.remote_node_id":"Remote Node ID","pfcp.status.peers.transport_name":"Transport Name","pfcp.status.peers.local_addr":"Local Address","pfcp.status.peers.remote_addr":"Remote Address","pfcp.status.peers.version":"Version","pfcp.status.peers.reset_counter":"Reset Counter","pfcp.status.peers.uptime_sec":"Uptime (s)","pfcp.status.peers.uptime":"Uptime","pfcp.status.peers.last_reset_at":"Last Reset At","pfcp.status.peers.connected_at":"Connected At","pfcp.status.peers.num_tuns":"Num Tuns","mme.s1ap.status.connections.actions.disconnect":"Disconnect","mme.s1ap.status.connections.actions.reset":"Reset","mme.s1ap.status.connections.local_addrs":"Local Addresses","mme.s1ap.status.connections.local_port":"Local Port","mme.s1ap.status.connections.remote_addrs":"Remote Addresses","mme.s1ap.status.connections.remote_port":"Remote Port","mme.s1ap.status.connections.enb_name":"Enb Name","mme.s1ap.status.connections.transport_name":"Transport Name","mme.s1ap.status.connections.srb_count":"Srb Count","mme.s1ap.status.connections.connection_ts":"Connection TS","mme.s1ap.status.connections.connection_id":"Connection ID","mme.s1ap.status.connections.global_enb_id":"Global Enb ID","mme.s1ap.status.connections.global_enb_id.id":"ID","mme.s1ap.status.connections.global_enb_id.plmn":"PLMN","mme.s1ap.status.connections.global_enb_id.type":"Type","mme.s1ap.status.connections.tai":"TAI","mme.s1ap.status.connections.tai.plmn":"PLMN","mme.s1ap.status.connections.tai.tac":"Tac","mme.s1ap.status.connections.tai.rat":"Rat","mme.s1ap.status.listeners.transport_name":"Transport Name","mme.s1ap.status.listeners.local_addrs":"Local Addresses","mme.s1ap.status.listeners.local_port":"Local Port","mme.s1ap.status.listeners.dev":"Device","mme.sgs.status.connections.local_addrs":"Local Addresses","mme.sgs.status.connections.local_port":"Local Port","mme.sgs.status.connections.remote_addrs":"Remote Addresses","mme.sgs.status.connections.remote_port":"Remote Port","mme.sgs.status.connections.connection_id":"Connection ID","mme.sbcap.status.connections.local_addrs":"Local Addresses","mme.sbcap.status.connections.local_port":"Local Port","mme.sbcap.status.connections.remote_addrs":"Remote Addresses","mme.sbcap.status.connections.remote_port":"Remote Port","mme.sbcap.status.connections.transport_name":"Transport Name","mme.sbcap.status.connections.connection_ts":"Connection TS","mme.sbcap.status.connections.connection_id":"Connection ID","mme.sbcap.status.listeners.transport_name":"Transport Name","mme.sbcap.status.listeners.local_addrs":"Local Addresses","mme.sbcap.status.listeners.local_port":"Local Port","mme.sbcap.status.listeners.dev":"Device","mme.dns.status.cache.query":"Query","mme.dns.status.cache.query.domain":"Domain","mme.dns.status.cache.query.type":"Type","mme.dns.status.cache.expires":"Expires","mme.dns.status.cache.expired":"Expired","mme.dns.status.cache.expiration":"Expiration","mme.dns.status.cache.details":"Details","mme.dns.status.cache.no_data":"No data","mme.dns.status.cache.actions.flush_cache":"Flush Cache","mme.m3.status.connections.connection_id":"Connection ID","mme.m3.status.connections.local_addrs":"Local addresses","mme.m3.status.connections.local_port":"Local port","mme.m3.status.connections.remote_addrs":"Remote addresses","mme.m3.status.connections.remote_port":"Remote port","mme.m3.status.connections.transport_name":"Transport name","mme.m3.status.connections.connection_ts":"Connection TS","mme.m3.status.connections.mce_name":"MCE name","mme.m3.status.connections.m3_sessions.tmgi":"M3 sessions TMGI","mme.m3.status.connections.m3_sessions.flow":"M3 sessions Flow","mme.m3.status.connections.m3_sessions.sas":"M3 sessions SAS","mme.m3.status.connections.m3_sessions.cl":"M3 sessions CL","mme.m3.status.connections.m3_sessions_count":"M3 sessions count","mme.m3.status.connections.global_mce_id.id":"Global MCE ID","mme.m3.status.connections.global_mce_id.plmn":"Global MCE PLMN","mme.m3.status.connections.id":"ID","mme.m3.status.connections.service_areas":"Service areas","licensing.table.id":"ID","licensing.table.nf_type":"NF Type","licensing.table.start_date":"Start Date","licensing.table.expire_date":"Expire Date","licensing.table.precedence":"Precedence","licensing.table.state":"State","licensing.table.actions.delete":"Delete","licensing.table.parameters.max_connected_ran_nodes":"Max Connected RAN Nodes","licensing.table.parameters.max_registered_ues":"Max Registered UEs","licensing.table.parameters.max_provisioned_supis":"Max Provisioned Supis","licensing.table.details.app_type":"App Type","licensing.table.details.federation":"Federation","licensing.table.details.max_reg_users":"Max Reg Users","licensing.table.details.max_sessions":"Max Sessions","licensing.table.details.offline_charging":"Offline Charging","licensing.table.details.online_charging":"Online Charging","licensing.table.details.transcoding":"Transcoding","licensing.table.details.vonr":"Vonr","licensing.info":"Info","licensing.install":"Install","licensing.set":"Set","licensing.persist":"Persist","licensing.host.hostname":"Hostname","licensing.host.siteid":"Site Id","licensing.form.title":"New License","licensing.form.license":"License","licensing.form.license.placeholder":"insert a license value","licensing.delete.dialog.confirm":"Are you sure to delete the license?","licensing.upload":"Upload Configuration","licensing.upload.form.file":"Select file","licensing.upload.form.error":"Something went wrong. To view the details of an error, hover the cursor over the icons in the table below.","licensing.upload.form.error.invalid_license":"Invalid License","licensing.upload.form.error.unspecified":"Unspecified","licensing.upload.form.error.wrong_site_id":"Wrong Site Id","licensing.upload.form.error.not_found":"Not Found","licensing.upload.form.file.required":"File is required","licensing.upload.buttons.upload":"Upload","licensing.upload.form.upload.placeholder":"Select a single .json file","licensing.upload.form.title":"Upload a License","licensing.upload.form.description":"Add a single valid .json file.","licensing.upload.form.result.description":"Update completed, below are the operation details with a log.","licensing.upload.form.result.message_ok":"Uploaded successfully","licensing.upload.form.result.message_ko":"Unknown error encountered uploading file","dsm_zones.table.id":"Server Name","dsm_zones.table.name":"Name","dsm_zones.table.vrf":"VRF","dsm_zones.table.actions.edit":"Edit","dsm_zones.table.actions.delete":"Delete","dsm_zones.table.actions.download":"Download","dsm_zones.form.title":"New DNS Zone","dsm_zones.form.license":"DNS Zone","dsm_zones.form.license.placeholder":"insert a license value","dsm_zones.delete.dialog.confirm":"Are you sure to delete the DNS zone?","dsm_zones.upload":"Upload DNS Zone","dsm_zones.upload.form.file":"Select file","dsm_zones.upload.form.file.required":"File is required","dsm_zones.upload.form.file.upload":"File Upload","dsm_zones.upload.form.file.content":"Content","dsm_zones.upload.form.name":"Name","dsm_zones.upload.form.server":"Server","dsm_zones.upload.buttons.new":"New","dsm_zones.upload.buttons.upload":"Upload","dsm_zones.upload.form.upload.placeholder":"Select a single text file","dsm_zones.upload.form.title":"Upload a DNS Zone","dsm_zones.upload.form.edit.title":"Edit a DNS Zone","dsm_zones.upload.form.description":"Add a single valid text file, its name will be used for DNS zone name.","dsm_zones.upload.form.result.description":"Update completed, below are the operation details with a log.","dsm_zones.upload.form.result.message_ok":"Uploaded successfully","dsm_zones.upload.form.result.message_ko":"Unknown error encountered uploading file","dsm_zones.upload.min":"You must upload one file","dsm_zones.upload.max":"You must upload one file","dsm_zones.upload.required":"Field is required","dsm_zones.upload.save":"Save","dsm_zones.upload.cancel":"Cancel","dsm_zones.download.result.message_ko":"Error on downloading DNS zone","dsm_zones.delete.result.message_ok":"DNS zone deleted correctly","dsm_zones.delete.result.message_ko":"Error on deleting DNS zone","dsm_zones.fetch.result.message_ko":"Error on fetching DNS zone","login.title":"Sign in","login.subtitle":"Please enter your credentials to proceed","login.submit":"Sign in","login.submit.local":"Sign in with credentials","login.submit.radius":"Sign in with radius","login.submit.ldap":"Sign in with ldap","login.username.label":"Username","login.password.label":"Password","login.submitButton":"Sign in","login.forgotPasswordLink":"Forgot password?","login.username.error":"Please insert your username","login.password.error":"Insert a password","login.password.error.rules":"It must contain at least 1 uppercase letter, 1 digit and 1 special character","login.username.placeholder":"insert your username","login.password.placeholder":"insert your password","login.errorMessage":"Wrong username or password, try with different credentials","login.no_backends":"No authentication strategies detected, please contact the administrator.","login.password.error.long":"The password must be at least ${min} characters long","login.password.error.required":"Please type the password","login.reset.title":"Reset Password","login.reset.subtitle":"Please enter your username to request a password reset","login.reset.submitButton":"Reset password","login.reset.backButton":"Go to login","login.reset.errorMessage":"The username you've inserted doesn't exists, try with another","login.reset.emailSent":"An email with a password reset link has been sent to your email address","login.reset.passwordLabel":"Confirm password","login.reset.password.placeholder":"Type the new password again","login.reset.matchPasswordError":"The passwords inserted are different","login.reset.subtitleConfirm":"Please create a new password","login.reset.passwordChanged":"Your password was changed successfully","login.reset.resetUserNotFound":"User not found or reset link expired","login.reset.resetError":"Your password change operation has failed","login.change.title":"Your password must be changed","login.change.subtitle":"Please create a new password","login.change.submitButton":"Change password","login.change.backButton":"Go to login","login.change.passwordChanged":"Your password was changed successfully","login.change.resetError":"Your password change operation has failed","login.change.oldPasswordLabel":"Current password","login.change.passwordPlaceholder":"Enter your current password","login.change.newPasswordLabel":"New password","login.change.newPasswordPlaceholder":"Enter a new password","ncmstatus.table.device":"Device","ncmstatus.table.deviceindex":"Device index","ncmstatus.table.ipaddress":"IP Address","ncmstatus.table.macaddress":"MAC Address","ncmstatus.table.status":"Status","ncmstatus.table.destination":"Destination","ncmstatus.table.gateway":"IP Gateway","ncmstatus.table.source":"Source","ncmstatus.table.priority":"Priority","ncmstatus.table.rule":"Rule","ncmstatus.table.vrf":"VRF","ncmstatus.title.addresses":"Addresses and Routes","ncmstatus.title.rules":"Rules","ncmstatus.title.linkstatus":"Link Status","ncmstatus.title.arp":"ARP/Neighbors","ncm_status.tabs.network_interfaces":"Interfaces","ncm_status.tabs.neighbors":"Neighbors","ncm_status.tabs.routes":"Routes","ncm_status.tabs.rules":"Rules","ncm_status.tabs.sockets":"Sockets","ncm_status.tabs.links":"Links","ncm_status.filter.vrf":"VRF","ncm_status.filter.table":"Table","ncm_status.filter.type":"Type","ncm_status.filter.family.inet":"IPv4","ncm_status.filter.family.inet6":"IPv6","ncm_status.tabs.network_interfaces.id":"ID","ncm_status.tabs.network_interfaces.interface":"Interface","ncm_status.tabs.network_interfaces.interface_type":"Interface Type","ncm_status.tabs.network_interfaces.mtu":"MTU","ncm_status.tabs.network_interfaces.status":"Status","ncm_status.tabs.network_interfaces.address":"Mac","ncm_status.tabs.network_interfaces.ip_address":"IP Address","ncm_status.tabs.network_interfaces.master":"Master","ncm_status.tabs.network_interfaces.linkinfo":"Link Info","ncm_status.tabs.network_interfaces.linkinfo.info_data":"Info Data","ncm_status.tabs.network_interfaces.linkinfo.info_slave_kind":"Info Slave Kind","ncm_status.tabs.network_interfaces.linkinfo.info_slave_data":"Info Slave Data","ncm_status.tabs.network_interfaces.linkinfo.":"Master","ncm_status.tabs.neighbors.dst":"IP Address","ncm_status.tabs.neighbors.lladdr":"MAC Address","ncm_status.tabs.neighbors.dev":"Device","ncm_status.tabs.neighbors.state":"State","ncm_status.tabs.neighbors.actions.flush":"Flush Table","ncm_status.tabs.bird.protocols.name":"Name","ncm_status.tabs.bird.protocols.proto":"Protocol","ncm_status.tabs.bird.protocols.table":"Table","ncm_status.tabs.bird.protocols.state":"State","ncm_status.tabs.bird.protocols.since":"Since","ncm_status.tabs.bird.protocols.info":"Info","ncm_status.tabs.bird.bfd_sessions.name":"Name","ncm_status.tabs.bird.bfd_sessions.sessions":"Sessions","ncm_status.tabs.bird.bfd_sessions.sessions.ip_address":"IP Address","ncm_status.tabs.bird.bfd_sessions.sessions.interface":"Interface","ncm_status.tabs.bird.bfd_sessions.sessions.state":"State","ncm_status.tabs.bird.bfd_sessions.sessions.since":"Since","ncm_status.tabs.bird.bfd_sessions.sessions.interval":"Interval","ncm_status.tabs.bird.bfd_sessions.sessions.timeout":"Timeout","ncm_status.tabs.routes.dst":"Destination","ncm_status.tabs.routes.gateway":"IP Gateway","ncm_status.tabs.routes.dev":"Device","ncm_status.tabs.routes.prefsrc":"Source","ncm_status.tabs.routes.metric":"Metric","ncm_status.tabs.routes.protocol":"Protocol","ncm_status.tabs.sockets.local_address":"Local Address","ncm_status.tabs.sockets.peer_address":"Remote Address","ncm_status.tabs.sockets.protocol":"Protocol","ncm_status.tabs.sockets.state":"State","ncm_status.tabs.sockets.process":"Process","ncm_status.tabs.rules.priority":"Priority","ncm_status.tabs.rules.family":"Family","ncm_status.tabs.rules.rule":"Rule","nrf_static_profiles.toolbar.new":"New Static Profile","nrf_static_profiles.table.nfInstanceId":"NF Instance ID","nrf_static_profiles.table.nfInstanceName":"NF Instance Name","nrf_static_profiles.table.nfType":"NF type","nrf_static_profiles.table.nfStatus":"NF Status","nrf_static_profiles.table.fqdn":"FQDN","nrf_static_profiles.table.ipv4Addresses":"IPv4 Addresses","nrf_static_profiles.table.ipv6Addresses":"IPv6 Addresses","nrf_static_profiles.table.priority":"Priority","nrf_static_profiles.table.locality":"Locality","nrf_static_profiles.table.capacity":"Capacity","nrf_static_profiles.table.sNssais":"Slices #","nrf_static_profiles.table.plmnList":"PLMNs #","nrf_static_profiles.actions.edit":"Edit","nrf_static_profiles.actions.confirm_dialog.title":"Delete static profile","nrf_static_profiles.actions.confirm_dialog.description":'Are you sure to delete profile with NF Instance ID = "{nfInstanceId}"?',"nrf_static_profiles.actions.delete":"Delete","nrf_static_profile.section.general.title":"General","nrf_static_profile.section.slices.title":"Slices","nrf_static_profile.section.slices.slice_add":"Add Slice","nrf_static_profile.section.slices.slice_delete":"Delete Slice","nrf_static_profile.section.slices.no_slices":"No slices","nrf_static_profile.section.plmnList.title":"PLMNs","nrf_static_profile.section.plmnList.plmn_add":"Add PLMN","nrf_static_profile.section.plmnList.plmn_delete":"Delete PLMN","nrf_static_profile.section.plmnList.no_plmns":"No PLMNs","nrf_static_profile.form.nfType":"NF type","nrf_static_profile.form.nfStatus":"NF Status","nrf_static_profile.form.fqdn":"FQDN","nrf_static_profile.form.ipv4Addresses":"IPv4 Addresses","nrf_static_profile.form.ipv6Addresses":"IPv6 Addresses","nrf_static_profile.form.priority":"Priority","nrf_static_profile.form.locality":"Locality","nrf_static_profile.form.capacity":"Capacity","nrf_static_profile.form.nfInstanceId":"NF Instance ID","nrf_static_profile.form.nfInstanceName":"NF Instance Name","nrf_static_profile.form.sNssais.form_errors.has_errors":"Field has errors","nrf_static_profile.form.sNssais.sst":"SST","nrf_static_profile.form.sNssais.sd":"SD","nrf_static_profile.form.sNssais.isRangesActiveTrue":"SD Ranges","nrf_static_profile.form.sNssais.isRangesActiveFalse":"Single SD","nrf_static_profile.form.sNssais.sdRanges":"SD Ranges","nrf_static_profile.form.sNssais.sdRanges.start":"Start","nrf_static_profile.form.sNssais.sdRanges.end":"End","nrf_static_profile.section.sNssais.sdRanges.title":"SD Ranges","nrf_static_profile.section.sNssais.sdRanges.range_add":"Add SD Range","nrf_static_profile.section.sNssais.sdRanges.range_delete":"Delete SD Range","nrf_static_profile.section.sNssais.sdRanges.no_ranges":"No SD Ranges","nrf_static_profile.form.plmnList.form_errors.has_errors":"Field has errors","nrf_static_profile.form.plmnList.mcc":"MCC","nrf_static_profile.form.plmnList.mnc":"MNC","nrf_static_profile.form.errors.fqdn_ips_at_least_one":"One of IPv4 Addresses, IPv6 Addresses or FQDN must be entered","nrf_static_profile.form.errors.required":"Field is required","nrf_static_profile.section.upf.title":"UPF Instances Info","nrf_static_profile.section.upf.upf_instance_add":"Add UPF Instance Info","nrf_static_profile.section.upf.upf_instance_delete":"Delete UPF Instance Info","nrf_static_profile.section.upf.no_upf_instances":"No UPF Instances Info","nrf_static_profile.form.upfInfoList.ueIpAddrInd":"User Equipment IP Address Indicator","nrf_static_profile.section.upf.interfaceUpfInfoList.title":"Interfaces","nrf_static_profile.section.upf.interfaceUpfInfoList.interface_add":"Add Interface","nrf_static_profile.section.upf.interfaceUpfInfoList.interface_delete":"Delete Interfaces","nrf_static_profile.section.upf.interfaceUpfInfoList.no_interfaces":"No Interfaces","nrf_static_profile.form.upfInfoList.interfaceUpfInfoList.network_instance":"Network Instance","nrf_static_profile.form.upfInfoList.interfaceUpfInfoList.interface_type":"Interface Type","nrf_static_profile.section.upf.taiList.title":"TAIs","nrf_static_profile.section.upf.taiList.tai_add":"Add TAI","nrf_static_profile.section.upf.taiList.tai_delete":"Delete TAI","nrf_static_profile.section.upf.taiList.no_tais":"No TAIs","nrf_static_profile.form.upfInfoList.taiList":"TAIs","nrf_static_profile.form.upfInfoList.taiList.plmnId":"PLMN","nrf_static_profile.form.upfInfoList.taiList.plmnId.mcc":"MCC","nrf_static_profile.form.upfInfoList.taiList.plmnId.mnc":"MNC","nrf_static_profile.form.upfInfoList.taiList.tac":"Tac","nrf_static_profile.section.upf.sNssaiUpfInfoList.title":"Slices","nrf_static_profile.section.upf.sNssaiUpfInfoList.slice_add":"Add Slice","nrf_static_profile.section.upf.sNssaiUpfInfoList.slice_delete":"Delete Slice","nrf_static_profile.section.upf.sNssaiUpfInfoList.no_slices":"No Slices","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList":"Slices","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.sNssai":"Slice","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.sNssai.sst":"SST","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.sNssai.sd":"SD","nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.title":"DNNs","nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.dnn_add":"Add DNN","nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.dnn_delete":"Delete DNN","nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.no_dnns":"No DNNs","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList":"DNNs","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.dnn":"DNN","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.pduSessionTypes":"PDU Session Types","nrf_static_profile.section.upf.ipv4Ranges.title":"IPv4 Ranges","nrf_static_profile.section.upf.ipv4Ranges.range_add":"Add IPv4 Range","nrf_static_profile.section.upf.ipv4Ranges.range_delete":"Delete IPv4 Range","nrf_static_profile.section.upf.ipv4Ranges.no_ranges":"No IPv4 Ranges","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges":"IPv4 Address Ranges","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges.start":"Start","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges.end":"End","nrf_static_profile.section.upf.ipv6Ranges.title":"IPv6 Ranges","nrf_static_profile.section.upf.ipv6Ranges.range_add":"Add IPv6 Range","nrf_static_profile.section.upf.ipv6Ranges.range_delete":"Delete IPv6 Range","nrf_static_profile.section.upf.ipv6Ranges.no_ranges":"No IPv6 Ranges","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges":"IPv6 Prefix Ranges","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges.start":"Start","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges.end":"End","nrf_static_profile.form.upfInfoList.form_errors.has_errors":"Field has errors","user.menu.profile":"Profile","user.menu.logout":"Logout","profile.account":"Account","profile.firstname":"First name","profile.lastname":"Last name","profile.username":"Username","profile.fullname":"Full name","profile.email":"Email address","profile.tool.edit":"Edit profile","profile.tool.editPassword":"Change password","profile.tool.editPassword.description":"You can change your password by entering the current and a new one of your choice","profile.editProfile":"Edit profile","profile.form.fullname":"Full name","profile.form.username":"Username","profile.form.username.error":"Please enter username","authentication_strategies.title":"Active Strategies","authentication_strategies.tabs.item.local":"Credentials","authentication_strategies.tabs.item.radius":"Radius","authentication_strategies.tabs.item.ldap":"Ldap","authentication_strategies.tabs.item.openid":"OpenID","authentication_strategies.form.errors.backends":"local strategy is always required","authentication_strategies.form.backends":"Backends","authentication_strategies.form.backends.info":"The order of the backends will be reflected in the login page","authentication_strategies.form.buttons.save":"Save","authentication_strategies.backends.save.message_ok":"Backends configuration has been saved correctly","authentication_strategies.backends.save.message_ko":"An error occured saving the radius configuration","authentication_strategies.auth_config.form.session_timers":"Session timers","authentication_strategies.auth_config.form.access_token_ttl_s":"Access Token TTL (s)","authentication_strategies.auth_config.tooltip.access_token_ttl_s":"Time to leave in seconds for the token used to make secure calls for protected resources to the API server.","authentication_strategies.auth_config.form.refresh_token_ttl_s":"Refresh Token TTL (s)","authentication_strategies.auth_config.tooltip.refresh_token_ttl_s":"Time to leave in seconds for the token used to get a new access token without having to login again.","authentication_strategies.auth_config.form.ui_inactivity_s":"Inactivity Timer (s)","authentication_strategies.auth_config.tooltip.ui_inactivity_s":"Show an inactivity modal to the user after the chosen amount of seconds if no interactions with the user interface have been made.","authentication_strategies.auth_config.form.ui_inactivity_s.seconds":"Inactivity Timer","authentication_strategies.auth_config.form.access_token_ttl_s.validation.type":"Access Token TTL (s) must be a number","authentication_strategies.auth_config.form.access_token_ttl_s.validation.required":"Access Token TTL (s) field is required","authentication_strategies.auth_config.form.access_token_ttl_s.validation.min":"Access Token TTL (s) must be greater than or equal to 60","authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.type":"Refresh Token TTL (s) must be a number","authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.required":"Refresh Token TTL (s) field is required","authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.min":"Refresh Token TTL (s) must be greater than or equal to 120","authentication_strategies.auth_config.form.ui_inactivity_s.validation.type":"Inactivity Timer (s) must be a number","authentication_strategies.auth_config.form.ui_inactivity_s.validation.required":"Inactivity Timer (s) field is required","authentication_strategies.auth_config.form.ui_inactivity_s.validation.min":"Inactivity Timer (s) must be greater than or equal to 60","authentication_strategies.auth_config.form.login_max_attempts":"Login max attempts","authentication_strategies.auth_config.tooltip.login_max_attempts":"Throttle consecutive login attemps after the max attempts counter has been reached for a determined duration in seconds.","authentication_strategies.auth_config.form.login_max_attempts.validation.type":"Login max attempts must be a number","authentication_strategies.auth_config.form.login_max_attempts.validation.required":"Login max attempts field is required","authentication_strategies.auth_config.form.login_max_attempts.validation.min":"Login max attempts must be greater than or equal to 1","authentication_strategies.auth_config.form.login_throttle_period_s":"Login Throttle Period (s)","authentication_strategies.auth_config.form.login_throttle_period_s.validation.type":"Login Throttle Period (s) must be a number","authentication_strategies.auth_config.form.login_throttle_period_s.validation.required":"Login Throttle Period (s) field is required","authentication_strategies.auth_config.form.login_throttle_period_s.validation.min":"Login Throttle Period (s) must be greater than or equal to 1","authentication_strategies.auth_config.form.audit_retention_s":"Audit Retention (s)","authentication_strategies.auth_config.tooltip.audit_retention_s":"Retention time in seconds for the auth audit events generated while the user interacts with the system.","authentication_strategies.auth_config.form.audit_retention_s.validation.type":"Audit Retention (s) must be a number","authentication_strategies.auth_config.form.audit_retention_s.validation.required":"Audit Retention (s) field is required","authentication_strategies.auth_config.form.audit_retention_s.validation.min":"Audit Retention (s) must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rules":"Password rules","authentication_strategies.auth_config.form.password_rule_max_account_name_characters":"Max username characters allowed in password","authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.integer":"Max username characters allowed in password must be an integer","authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.type":"Max username characters allowed in password must be a number","authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.required":"Max username characters allowed in password field is required","authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.min":"Max username characters allowed in password must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_length":"Min password length","authentication_strategies.auth_config.form.password_rule_min_length.validation.integer":"Min password length must be an integer","authentication_strategies.auth_config.form.password_rule_min_length.validation.type":"Min password length must be a number","authentication_strategies.auth_config.form.password_rule_min_length.validation.required":"Min password length field is required","authentication_strategies.auth_config.form.password_rule_min_length.validation.min":"Min password length must be greater than or equal to 12","authentication_strategies.auth_config.form.password_rule_min_lowercase_characters":"Min lowercase characters","authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.integer":"Min lowercase characters must be an integer","authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.type":"Min lowercase characters must be a number","authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.min":"Min lowercase characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_number_characters":"Min numeric characters","authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.integer":"Min numeric characters must be an integer","authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.type":"Min numeric characters must be a number","authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.min":"Min numeric characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_special_characters":"Min special characters","authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.integer":"Min special characters must be an integer","authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.type":"Min special characters must be a number","authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.min":"Min special characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_uppercase_characters":"Min uppercase characters","authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.integer":"Min uppercase characters must be an integer","authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.type":"Min uppercase characters must be a number","authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.min":"Min uppercase characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_special_characters":"Special characters","authentication_strategies.auth_config.form.password_rule_special_characters.validation.type":"Special characters must be a string","authentication_strategies.auth_config.form.password_rule_special_characters.validation.min":"Special characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.required":"Special characters field is required","authentication_strategies.radius.title":"Radius","authentication_strategies.radius.transport.title":"Transport","authentication_strategies.radius.secret.title":"Secret","authentication_strategies.radius.panel.title":"Radius Configuration","authentication_strategies.radius.transport.form.roles":"Roles","authentication_strategies.radius.form_errors.has_errors":"Field has errors","authentication_strategies.radius.form_errors.transport.remote_addresses":"Remote Addresses field must have at least 1 item","authentication_strategies.radius.form_errors.transport.timeout_s.min":"Timeout (s) must be greater than or equal to 1","authentication_strategies.radius.form_errors.transport.local_address":"Local Address is a required field","authentication_strategies.radius.form_errors.transport.local_port":"Local Port is a required field","authentication_strategies.radius.form_errors.transport.local_port_min":"Local Port must be greater than or equal to 1","authentication_strategies.radius.form_errors.transport.remote_port":"Remote Port is a required field","authentication_strategies.radius.form_errors.transport.timeout_s":"Timeout (s) is a required field","authentication_strategies.radius.form_errors.transport.secret":"Secret is a required field","authentication_strategies.radius.form_errors.unique_role":"Role must be unique","authentication_strategies.radius.form_errors.roles_required":"Roles is a required field","authentication_strategies.radius.form_errors.roles_min":"Roles field must have at least 1 item","authentication_strategies.radius.form.errors.required":"Field is required","authentication_strategies.radius.form.secret":"Secret","authentication_strategies.radius.form.roles":"Roles","authentication_strategies.radius.form.permission_template":"Permission Template","authentication_strategies.radius.not_active":"Radius is not active (not present in the backend list above) but you can still configure it","authentication_strategies.radius.form.transport":"Transport","authentication_strategies.radius.add_transport_dialog.title":"Add Transport","authentication_strategies.radius.edit_transport_dialog.title":"Edit Transport","authentication_strategies.radius.transport.no_transport":"No transport","authentication_strategies.radius.transport.transport_add":"Add Transport","authentication_strategies.radius.transport.transport_delete":"Delete Transport","authentication_strategies.radius.transport.actions.edit":"Edit Transport","authentication_strategies.radius.transport.actions.delete":"Delete Transport","authentication_strategies.radius.transport.form.local_address":"Local Address","authentication_strategies.radius.transport.form.local_port":"Local Port","authentication_strategies.radius.transport.form.local_dev":"Local Dev","authentication_strategies.radius.transport.form.remote_addresses":"Remote Addresses","authentication_strategies.radius.transport.form.remote_port":"Remote Port","authentication_strategies.radius.transport.form.timeout_s":"Timeout (s)","authentication_strategies.radius.transport.form.local":"Local","authentication_strategies.radius.form.buttons.save":"Save","authentication_strategies.radius.form.buttons.add":"Add","authentication_strategies.radius.form.buttons.cancel":"Cancel","authentication_strategies.radius.save.message_ok":"Radius configuration has been saved correctly","authentication_strategies.radius.save.message_ko":"An error occured saving the radius configuration","authentication_strategies.radius.form_errors.transport.remote_port.min":"Remote Port must be greater than or equal to 0","authentication_strategies.radius.form_errors.transport.remote_port.max":"Remote Port must be less than or equal to 65535","authentication_strategies.radius.form_errors.transport.local_port.min":"Local Port must be greater than or equal to 0","authentication_strategies.radius.form_errors.transport.local_port.max":"Local Port must be less than or equal to 65535","authentication_strategies.ldap.title":"LDAP","authentication_strategies.ldap.card.title":"LDAP Configuration","authentication_strategies.ldap.transport.title":"Transport","authentication_strategies.ldap.secret.title":"Secret","authentication_strategies.ldap.form_errors.bind_dn_required_if_bind_password":"Bind DN is required if Bind Password is set","authentication_strategies.ldap.form_errors.bind_password_required_if_bind_dn":"Bind Password is required if Bind DN is set","authentication_strategies.ldap.form_errors.transport.remote_addresses":"Remote Addresses field must have at least 1 item","authentication_strategies.ldap.form_errors.transport.local_address":"Local Address is a required field","authentication_strategies.ldap.form_errors.transport.local_port":"Local Port is a required field","authentication_strategies.ldap.form_errors.transport.local_port_min":"Local Port must be greater than or equal to 1","authentication_strategies.ldap.form_errors.transport.remote_port":"Remote Port is a required field","authentication_strategies.ldap.form_errors.transport.timeout_s":"Timeout (s) is a required field","authentication_strategies.ldap.form_errors.roles_mappings.role":"Role is a required field","authentication_strategies.ldap.form_errors.has_errors":"Field has errors","authentication_strategies.ldap.form.errors.required":"Field is required","authentication_strategies.ldap.form.permission_template":"Permission Template","authentication_strategies.ldap.form.base_dn":"Base Dn","authentication_strategies.ldap.form.bind_dn":"Bind Dn","authentication_strategies.ldap.form.bind_password":"Bind Password","authentication_strategies.ldap.form.username_attribute":"Username Attribute","authentication_strategies.ldap.not_active":"LDAP is not active (not present in the backend list above) but you can still configure it","authentication_strategies.ldap.form.transport":"Transport","authentication_strategies.ldap.form_errors.transport.timeout_s.min":"Timeout (s) must be greater than or equal to 1","authentication_strategies.ldap.form_errors.transport.remote_port.min":"Remote Port must be greater than or equal to 0","authentication_strategies.ldap.form_errors.transport.remote_port.max":"Remote Port must be less than or equal to 65535","authentication_strategies.ldap.form_errors.transport.local_port.min":"Remote Port must be greater than or equal to 0","authentication_strategies.ldap.form_errors.transport.local_port.max":"Remote Port must be less than or equal to 65535","authentication_strategies.ldap.add_transport_dialog.title":"Add Transport","authentication_strategies.ldap.edit_transport_dialog.title":"Edit Transport","authentication_strategies.ldap.transport.no_transport":"No transport","authentication_strategies.ldap.transport.transport_add":"Add Transport","authentication_strategies.ldap.transport.transport_delete":"Delete Transport","authentication_strategies.ldap.transport.actions.edit":"Edit Transport","authentication_strategies.ldap.transport.actions.delete":"Delete Transport","authentication_strategies.ldap.transport.form.local":"Local","authentication_strategies.ldap.transport.form.local_address":"Local Address","authentication_strategies.ldap.transport.form.local_port":"Local Port","authentication_strategies.ldap.transport.form.local_dev":"Local Dev","authentication_strategies.ldap.transport.form.remote_addresses":"Remote Addresses","authentication_strategies.ldap.transport.form.remote_port":"Remote Port","authentication_strategies.ldap.transport.form.timeout_s":"Timeout (s)","authentication_strategies.ldap.transport.form.ssl":"SSL Enabled","authentication_strategies.ldap.transport.form.ssl_verify":"SSL Verify","authentication_strategies.ldap.form.buttons.save":"Save","authentication_strategies.ldap.form.buttons.add":"Add","authentication_strategies.ldap.form.buttons.cancel":"Cancel","authentication_strategies.ldap.form.buttons.remove":"Remove","authentication_strategies.ldap.save.message_ok":"LDAP configuration has been saved correctly","authentication_strategies.ldap.save.message_ko":"An error occured saving the LDAP configuration","authentication_strategies.permission_template":"Permission Template","authentication_strategies.roles_mappings":"Roles Mappings","authentication_strategies.roles_mappings.external_role":"External Role","authentication_strategies.roles_mappings.application_role":"Application Role","authentication_strategies.openid.not_active":"OpenID is not active (not present in the backend list above) but you can still configure it","authentication_strategies.openid.allow_unsafe_http":"Allow unsafe HTTP","authentication_strategies.openid.client_id":"Client ID","authentication_strategies.openid.client_secret":"Client secret","authentication_strategies.openid.issuer":"Issuer","authentication_strategies.openid.username_attribute":"Username attribute","authentication_strategies.openid.configuration_overrides":"Configuration Overrides","authentication_strategies.openid.configuration_overrides.key":"Key","authentication_strategies.openid.configuration_overrides.value":"Value","authentication_strategies.external_role.required":"External role is a required field","authentication_strategies.application_role.required":"Application role is a required field","authentication_strategies.unique_external_role":"External role must be unique","authentication_strategies.invalid_configuration_overrides":"Invalid configuration overrides","authentication_strategies.local.title":"{backend} local transport","authentication_strategies.local.address":"Address","authentication_strategies.local.dev":"Dev","authentication_strategies.local.port":"Port","authentication_strategies.local.save":"Save","authentication_strategies.local.reset":"Reset","authentication_strategies.local.address.required":"Address is a required field","authentication_strategies.local.port.required":"Port is a required field","authentication_strategies.local.port.min":"Port must be greater than or equal to 0","authentication_strategies.local.port.max":"Port must be less than or equal to 65535","users.title":"Users","users.toolbar.new_user":"New User","users.table.username":"Username","users.table.fullname":"Full name","users.table.backend":"Backend","users.table.enabled":"Enabled","users.table.roles":"Roles","users.table.permissions":"Permissions","users.table.permissions_override":"Permissions Override","users.table.created_at":"Created at","users.table.modified_at":"Modified at","users.table.current_user":"Current User","users.table.actions.delete":"Delete","users.table.actions.update":"Edit","users.table.actions.change_password":"Change Password","users.table.actions.audit":"Audit","users.table.actions.revoke_tokens":"Revoke Tokens","users.dialog.confirm_delete.title":"Delete User","users.dialog.confirm_delete.description":"Are you sure to delete user {username}?","users.dialog.confirm_revoke_tokens.title":"Revoke tokens","users.dialog.confirm_revoke_tokens.description":"Are you sure to revoke {username}'s tokens?","users.delete.message_ko":"Unknown error encountered deleting user","users.new_user.form.title":"New User","users.new_user.roles.title":"Roles","users.new_user.roles.loading_roles":"Loading roles...","users.new_user.no_roles":"No roles in DB. Please add at least one role to assign a role to the user","users.new_user.all_roles_info.title":"Info about available roles","users.new_user.permissions_override.title":"Permissions","users.new_user.form.username":"Username","users.new_user.form.password":"Password","users.new_user.form.fullname":"Full Name","users.new_user.form.roles":"Roles","users.new_user.form.permissions":"Permissions","users.new_user.form.permissions_override":"Permissions Override","users.new_user.form.enabled":"Enabled","users.new_user.form.save":"Save","users.new_user.form.cancel":"Cancel","users.new_user.form_errors.required":"Field is required","users.edit_user.form.title":"Edit User","users.edit_user.form.username":"Username","users.edit_user.form.password":"Password","users.edit_user.form.fullname":"Full Name","users.edit_user.form.permissions":"Permissions","users.edit_user.form.enabled":"Enabled","users.edit_user.form.save":"Save","users.edit_user.form.cancel":"Cancel","users.edit_user.form_errors.required":"Field is required","users.change_password.form.title":"Change Password","users.change_password.form.current_password":"Current Password","users.change_password.form.password":"Password","users.change_password.form.passwordConfirmation":"Confirm Password","users.change_password.form.save":"Save","users.change_password.form.cancel":"Cancel","users.change_password.form_errors.required":"Field is required","users.change_password.form_errors.password_must_match":"Passwords must match","user_permissions.title":"Permissions","user_permissions.permissions_may_be_overridden":"Any permission may be overridden by selecting its value.","user_permissions.overridden":"Overridden","user_permissions.from_roles":"From roles","user_profile.title":"User","user_profile.username":"Username","user_profile.fullname":"Full Name","user_profile.backend":"Backend","user_profile.permissions":"Permissions","user_profile.actions.change_password":"Change Password","user_profile.actions.edit":"Edit","user_profile.change_password.form.title":"Change Password","user_profile.edit_user.form.title":"Edit User","roles.toolbar.new_role":"New Role","roles.table.id":"Role Name","roles.table.permissions":"Permissions","roles.table.created_at":"Created at","roles.table.modified_at":"Modified at","roles.table.actions.delete":"Delete","roles.table.actions.update":"Edit","roles.dialog.confirm_delete.title":"Delete Role","roles.dialog.confirm_delete.description":"Are you sure to delete role {role}?","roles.delete.message_ko":"Unknown error encountered deleting role","roles.new_role.form.title":"New Role","roles.new_role.form.id":"Role Name","roles.new_role.form.permissions":"Permissions","roles.new_role.form.save":"Save","roles.new_role.form.cancel":"Cancel","roles.new_role.form_errors.required":"Field is required","roles.edit_role.form.title":"Edit Role","roles.edit_role.form.id":"Role Name","roles.edit_role.form.permissions":"Permissions","roles.edit_role.form.save":"Save","roles.edit_role.form.cancel":"Cancel","roles.edit_role.form_errors.required":"Field is required","table.totalRows":"Total elements: {value}","table.selectedRows":"Selected {value}","table.noData":"No data found","table.errorData":"Can't load data","table.selectByQuery":"Select {value} rows?","listToolbar.actions":"actions","listToolbar.download":"export","listToolbar.download.current":"export current","listToolbar.download.all":"export all","listToolbar.filters":"filters","listToolbar.columns":"columns","users.form.title":"Create user","users.form.firstname":"First name","users.form.firstname.placeholder":"enter the first name","users.form.firstname.required":"Enter the first name","users.form.lastname":"Last name","users.form.lastname.placeholder":"enter the last name","users.form.lastname.required":"Enter the last name","users.form.email":"Email","users.form.email.placeholder":"enter the email","users.form.email.required":"Enter the email","users.form.language":"Language","users.form.language.placeholder":"select the language","users.form.language.required":"Select the language","users.form.role":"Roles","users.form.role.placeholder":"select roles","users.form.role.required":"Select a role","users.form.username":"Username","users.form.username.placeholder":"enter the username","users.form.username.required":"Enter the username","users.form.password":"One time password","users.form.password.placeholder":"enter the one time password","users.form.password.required":"Enter the password","users.form.password.edit.description":"Assign a new password to the user. The user will have to change it at the next access.","users.form.change_password_required":"Reset password","users.form.change_password_required.description":"Force the reset password so the user will have to change it at the next access.","languages.english":"English","languages.italian":"Italian","roles.form.name":"Name","roles.form.name.placeholder":"insert role name","roles.form.name.error":"Role name contains invalid characters","roles.form.description":"Description","roles.form.description.placeholder":"insert role description","roles.form.description.error":"Invalid role description","roles.form.permissions":"Permissions","roles.form.permissions.placeholder":"insert one or more permissions","roles.newRole":"New Role","roles.editRole":"Edit Role","roles.message.error":"Unable to load roles","roles.message.void":"No roles created","spinner.sending":"Sending data...","spinner.loading":"Loading data...","spinner.waiting":"Waiting for operation to complete","toastr.successful":"Operation successful","toastr.failure":"Operation failure","toastr.warning":"Something does wrong","toastr.info":"Look at this","toastr.loading":"Loading...","backup.tab.backup":"Backup","backup.tab.restore":"Restore","backup.button.schedule.backup":"Start backup","backup.button.schedule.restore":"Start restore","backup.encryption_password":"Encryption password","backup.form.title":"Schedule restore","backup.form.description":"Upload backup file to start restore process","backup.form.placeholder":"Backup file","backup.noData":"No schedules found","backup.restore.errors_dialog.title":"Restore Errors","backup.restore.warnings_dialog.title":"Restore Warnings","backup.restore.dialog_table.param":"Param","backup.restore.dialog_table.reason":"Reason","backup.restore.dialog_table.reason.download":"Download CSV","backup.card.created_at":"Created at:","backup.card.started_at":"Started at:","backup.card.terminated_at":"Terminated at:","backup.card.timeline":"Timeline","backup.card.warnings":"Warnings","backup.card.errors":"Errors","backup.detail.configuration.backup.alert":"NFs configuration and System Services backup.","backup.detail.configuration.backup.hint":"Select the resources to be included into the downloaded file","backup.detail.configuration.restore.hint":"Upload configuration backup file to restore configuration","backup.detail.eir.alert":"Equipment Rules backup.","backup.detail.dsm.alert":"DNS Zones backup.","backup.detail.udm.alert":"Home Network Keys backup.","backup.detail.udr.alert":"UE data including Keys and Profiles backup.","backup.detail.nrf.alert":"NF Profiles backup.","backup.detail.pls.alert":"Authentication, Users, Roles, KPI shipping, Alert shipping and Logs shipping backup.","backup.detail.form.validation.error":"Backup file .tar.gz required","backup.encryption_password.reset_default":"Reset default","form_import_files.title":"Import from file","form_import_files.description":"Here you can find an example of the import format: ","form_import_files.min":"Upload at least {num} files","form_import_files.max":"Upload up to {num} files","form_import_files.required":"File is required","form_import_files.file":"Select file","form_import_files.encrypted":"Encrypted","form_import_files.save":"Save","form_import_files.cancel":"Cancel","eir_rules.loading_error":"Error loading EIR rules provisioning data","eir_rules.table.header.autorule":"Autorule","eir_rules.table.header.pei":"PEI","eir_rules.table.header.supi":"SUPI","eir_rules.table.header.status":"Status","eir_rules.table.header.enabled":"Enabled","eir_rules.table.header.created_at":"Created","eir_rules.table.header.modified_at":"Modified","eir_rules.actions.edit":"Edit","eir_rules.actions.delete":"Delete","eir_rules.toolbar.filters":"Filters","eir_rules.toolbar.configuration":"Single rule per PEI","eir_rules.toolbar.new_rule":"New rule","eir_rules.toolbar.import_rules":"Import rules","eir_rules.new_rule.title":"New rule","eir_rules.new_rule.pei":"PEI","eir_rules.new_rule.supi":"SUPI","eir_rules.new_rule.status":"Status","eir_rules.new_rule.status.WHITELISTED":"WHITELISTED","eir_rules.new_rule.status.GREYLISTED":"GREYLISTED","eir_rules.new_rule.status.BLACKLISTED":"BLACKLISTED","eir_rules.new_rule.enabled":"Enabled","eir_rules.new_rule.enabled.true":"true","eir_rules.new_rule.enabled.false":"false","eir_rules.new_rule.save":"Save","eir_rules.new_rule.cancel":"Cancel","eir_rules.new_rule.form_errors.required":"Field is required","eir_rules.import.title":"Import EIR rules from file","eir_rules.import.description":"Add a single valid EIR Rules Provisioning csv file. Here you can find an example of the import format: ","eir_rules.import.form_errors.required":"File is required","eir_rules.import.file":"Select file","eir_rules.import.save":"Save","eir_rules.import.cancel":"Cancel","eir_rules.filters.pei":"PEI","eir_rules.filters.supi":"SUPI","eir_rules.filters.supi.all":"*","eir_rules.filters.supi.all_tooltip":"Activate filter for empty supi only","eir_rules.filters.status":"Status","eir_rules.filters.status.any":"any","eir_rules.filters.status.WHITELISTED":"WHITELISTED","eir_rules.filters.status.GREYLISTED":"GREYLISTED","eir_rules.filters.status.BLACKLISTED":"BLACKLISTED","eir_rules.filters.enabled":"Enabled","eir_rules.filters.enabled.any":"any","eir_rules.filters.enabled.true":"true","eir_rules.filters.enabled.false":"false","eir_rules.filters.autorule":"Autorule","eir_rules.filters.autorule.any":"any","eir_rules.filters.autorule.true":"true","eir_rules.filters.autorule.false":"false","eir_rules.filters.buttons.reset":"Reset","eir_rules.filters.buttons.apply":"Apply","eir_rules.edit_rule.title":"Edit rule","eir_rules.edit_rule.autorule":"Autorule","eir_rules.edit_rule.id":"ID","eir_rules.edit_rule.created_at":"Created","eir_rules.edit_rule.modified_at":"Modified","eir_rules.edit_rule.pei":"PEI","eir_rules.edit_rule.supi":"SUPI","eir_rules.edit_rule.status":"Status","eir_rules.edit_rule.status.WHITELISTED":"WHITELISTED","eir_rules.edit_rule.status.GREYLISTED":"GREYLISTED","eir_rules.edit_rule.status.BLACKLISTED":"BLACKLISTED","eir_rules.edit_rule.enabled":"Enabled","eir_rules.edit_rule.enabled.true":"true","eir_rules.edit_rule.enabled.false":"false","eir_rules.edit_rule.save":"Save","eir_rules.edit_rule.cancel":"Cancel","eir_rules.edit_rule.form_errors.required":"Field is required","eir_rules.actions.confirm_delete":"Are you sure to delete EIR rule?","eir_autorules.toolbar.new_autorule":"New autorule","eir_autorules.toolbar.import_rules":"Import autorules","eir_autorules.loading_error":"Error loading EIR autorules provisioning data","eir_autorules.table.header.supi":"SUPI","eir_autorules.table.header.created_at":"Created","eir_autorules.table.header.modified_at":"Modified","eir_autorules.actions.delete":"Delete","eir_autorules.new_rule.supi":"SUPI","eir_autorules.new_rule.save":"Save","eir_autorules.new_rule.cancel":"Cancel","eir_autorules.new_rule.title":"New autorule","eir_autorules.new_rule.form_errors.required":"Field is required","eir_autorules.import.title":"Import EIR autorules from file","eir_autorules.import.description":"Add a single valid EIR Autorules Provisioning csv file. Here you can find an example of the import format: ","eir_autorules.import.form_errors.required":"File is required","eir_autorules.import.file":"Select file","eir_autorules.import.save":"Save","eir_autorules.import.cancel":"Cancel","eir_autorules.actions.confirm_delete":"Are you sure to delete EIR autorule?","logs.filter.add":"Add Filter","logs.filter.confirm":"Confirm","logs.filter.cancel":"Cancel","logs.filter.field_name":"Field name","logs.current_boot":"Only current boot","logs.log_details":"Log details","logs.download_logs":"Download {logs} logs","logs.machine.info":"Info","logs.machine.virtualization":"Virtualization","logs.machine.journal_begins":"Journal Begins","logs.machine.journal_ends":"Journal Ends","logs.machine.disk_usage":"Disk Usage","logs.machine.machine_id":"Machine ID","logs.machine.boot_id":"Boot ID","logs.config":"Config","logs.config.default_levels":"Default levels","logs.config.no_data":"No config found","logs.config.exceptions":"Exceptions","logs.config.exceptions.rules":"Rules","logs.config.exceptions.level":"Level","logs.config.form.level":"Level","logs.config.form.exceptions":"Exceptions","logs.config.form.exceptions.exception":"Exception-{index}","logs.config.form.exceptions.no_data":"No exceptions found","logs.config.form.exceptions.clear":"Clear exceptions","logs.config.form.exceptions.add":"Add exception","logs.config.form.exception.enabled":"Enabled","logs.config.form.exception.rules":"Rules","logs.config.form.exception.rules.error":"At least one rule is required","logs.config.form.exception.rules.add":"Add rule","logs.config.form.exception.rules.field":"Field","logs.config.form.exception.rules.field.error":"Field is required","logs.config.form.exception.rules.values":"PCRE Patterns","logs.config.form.exception.rules.values.error":"At least one values is required","logs.config.form.exception.rules.no_data":"No rules found","logs.stream.follow":"Follow","logs.stream.buffer":"Streaming buffer of {buffer} logs","logs.grep.search":"Search...","logs.realtime.since":"Since (UTC)","logs.realtime.until":"Until (UTC)","monitoring.message.no_permission":"You are not able to view this page since you don't have the monitoring permission","monitoring.loading_error":"Error loading monitoring information","monitoring.icon_label.udr":"UDR","monitoring.icon_label.eir":"EIR","monitoring.icon_label.amf":"AMF","monitoring.icon_label.smf":"SMF","monitoring.icon_label.pcf":"PCF","monitoring.icon_label.upf":"UPF","monitoring.icon_label.nrf":"NRF","monitoring.icon_label.alerts":"Alerts","monitoring.icon_label.licenses":"Licenses","monitoring.icon_label.cpu":"CPU","monitoring.icon_label.disk":"Disk","monitoring.icon_label.ram":"RAM","monitoring.icon_label.network":"Network","monitoring.icon_label.uptime":"Uptime","monitoring.control_plane.title":"Control Plane","monitoring.control_plane.provisioned_sims.title":"provisioned sims","monitoring.control_plane.provisioned_sims.subtitle":"","monitoring.control_plane.udr_cluster_nodes.title":"Cluster nodes","monitoring.control_plane.udr_cluster_nodes.subtitle":"active/total","monitoring.control_plane.amf_ue.title":"users","monitoring.control_plane.amf_ue.subtitle":"connected/registered","monitoring.control_plane.amf_active_radios.title":"Active radios","monitoring.control_plane.pcf_sessions.n5_sessions_count.title":"N5 Sessions","monitoring.control_plane.pcf_sessions.n5_sessions_count.subtitle":"","monitoring.control_plane.pcf_sessions.n7_sessions_count.title":"N7 Sessions","monitoring.control_plane.pcf_sessions.n7_sessions_count.subtitle":"","monitoring.control_plane.smf_users.sessions_count.title":"Active sessions","monitoring.control_plane.smf_users.users_count.title":"Number of users","monitoring.control_plane.smf_connected_peers.title":"UPFs in use","monitoring.control_plane.eir_rules.title":"Rules","monitoring.control_plane.eir_cluster_nodes.title":"Cluster nodes","monitoring.control_plane.eir_cluster_nodes.subtitle":"active/total","monitoring.control_plane.nrf_profiles.registered_count.title":"Registered Profiles","monitoring.control_plane.nrf_profiles.suspended_count.title":"Suspended Profiles","monitoring.control_plane.nrf_profiles.undiscoverable_count.title":"Undiscoverable Profiles","monitoring.user_plane.title":"User Plane","monitoring.user_plane.upf_ip.title":"IP Addresses","monitoring.user_plane.upf_ip.subtitle":"allocated/provisioned","monitoring.user_plane.upf_sessions.title":"Active sessions","monitoring.user_plane.upf_sessions.subtitle":"","monitoring.user_plane.upf_throughput.throughput.title":"Throughput UL-DL","monitoring.user_plane.upf_throughput.total.title":"Total load UL-DL","monitoring.platform.title":"Platform","monitoring.platform.alerts":"Alerts","monitoring.platform.cpu.cpu_count":"Number of CPU","monitoring.platform.cpu.cpu_busy_perc":"Load","monitoring.platform.disk.availability":"Absolute free/total","monitoring.platform.disk.occupation":"Occupation","monitoring.platform.memory.availability":"Absolute free/total","monitoring.platform.memory.occupation":"Occupation","monitoring.platform.licenses.title":"Number of licenses","monitoring.platform.licenses.subtitle":"valid/total","monitoring.platform.licenses_expiring.title":"Expiring","monitoring.platform.licenses_expiring.subtitle":"Expiring","monitoring.platform.uptime.title":"Uptime","monitoring.platform.uptime.subtitle":"Hours","monitoring.platform.network_interfaces.title":"Interfaces","monitoring.platform.network_interfaces.subtitle":"active/total","monitoring.platform.network_ntp.loading":"NTP Loading...","monitoring.platform.network_ntp.synced":"NTP Synced","monitoring.platform.network_ntp.not_synced":"NTP Not Synced","monitoring.platform.network.rate.title":"Bandwidth TX/RX","monitoring.platform.network.load.title":"Load TX/RX","monitoring.cluster.title":"DB Cluster","monitoring.cluster.icon_label":"TODO Label","monitoring.cluster.tooltip.go_to_nf":"Go to {nf} DB Cluster page","monitoring.cluster.error":"Something went wrong","monitoring.cluster.fully_established.true":"Fully Established","monitoring.cluster.fully_established.false":"Not Fully Established","monitoring.icon_label.mme":"MME","monitoring.control_plane.mme_ue.title":"users","monitoring.control_plane.mme_ue.subtitle":"connected/registered","monitoring.control_plane.mme_active_radios.title":"Active radios","nrf.status.nf_status":"NF Status","nrf.status.nf_type":"NF Type","nrf.status.profile_type":"Profile Type","nrf.status.profile_type.dynamic":"Dynamic","nrf.status.profile_type.static":"Static","nrf.status.registration":"Registration","nrf.status.expiration":"Expiration","nrf.status.nf_instance_id":"NF Instance Id","nrf.status.profile_details":"NRF Profile Details","nrf.status.details.no_profile":"Profile is no longer available","nrf.status.actions.edit":"Edit","nrf.status.actions.details":"Details","landing.systemStatus":"System Status","landing.systemStatus.cpuBusy":"CPU Busy","landing.systemStatus.sysLoadAvg5m":"Sys Load (5m avg)","landing.systemStatus.ramUsed":"RAM Used","landing.systemStatus.rootFsUsed":"Root FS Used","landing.systemStatus.cpuCores":"CPU Cores","landing.systemStatus.ramTotal":"RAM Total","landing.systemStatus.swapTotal":"SWAP Total","landing.systemStatus.rootFsTotal":"RootFS Total","landing.systemStatus.uptime":"Uptime","landing.processesStatus":"Processes Status","landing.processesStatus.title.name":"Name","landing.processesStatus.title.status":"Status","landing.processesStatus.status.running":"Running","landing.processesStatus.status.failed":"Failed","landing.processesStatus.name.amf.service":"AMF","landing.processesStatus.name.ausf.service":"AUSF","landing.processesStatus.name.smf.service":"SMF","landing.processesStatus.name.fluentbit.service":"Fluentbit","landing.processesStatus.name.eventlog-manager.service":"EventLog Manager","landing.processesStatus.name.licensed.service":"Licensed","landing.processesStatus.name.pcf.service":"PCF","landing.processesStatus.name.nrf.service":"NRF","landing.processesStatus.name.chf.service":"CHF","landing.processesStatus.name.eir.service":"EIR","landing.processesStatus.name.ccs-agent.service":"CCS Agent","landing.processesStatus.name.ncm.service":"NCM","landing.processesStatus.name.prometheus-manager.service":"Prometheus Manager","landing.processesStatus.name.udm.service":"UDM","landing.processesStatus.name.udr.service":"UDR","landing.processesStatus.name.upf.service":"UPF","landing.processesStatus.name.nf-bgcf-main.service":"BGCF","landing.processesStatus.name.nf-icscf-main.service":"I-CSCF","landing.processesStatus.name.nf-imsagw-main.service":"IMS-AGW","landing.processesStatus.name.nf-imsalarms.service":"IMS Alarms","landing.processesStatus.name.nf-imsconfig.service":"IMS-Config","landing.processesStatus.name.nf-n5iwf-main.service":"N5-IWF","landing.processesStatus.name.nf-named-main.service":"DNS/ENUM","landing.processesStatus.name.nf-pcscf-main.service":"P-CSCF","landing.processesStatus.name.nf-ecscf-main.service":"E-CSCF","landing.processesStatus.name.nf-pstngw-main.service":"PSTN Gateway","landing.processesStatus.name.nf-scscf-main.service":"S-CSCF","landing.processesStatus.name.nf-tas-main.service":"TAS","landing.processesStatus.name.nf-xcap-main.service":"XCAP","landing.processesStatus.name.nf-imsrecovery-main.service":"Recovery Agent","landing.alerts":"Alerts {additional_info}","landing.alerts.no_alerts":"No active alerts!","landing.alerts.title.name":"Name","landing.alerts.title.summary":"Summary","landing.alerts.title.severity":"Severity","landing.alerts.title.state":"State","landing.alerts.title.firedAt":"Fired At","landing.alerts.title.stillActiveAt":"Still Active At","landing.alerts.severity.emergency":"Emergency","landing.alerts.severity.alert":"Alert","landing.alerts.severity.critical":"Critical","landing.alerts.severity.error":"Error","landing.alerts.severity.warning":"Warning","landing.alerts.severity.notice":"Notice","landing.alerts.severity.informational":"Informational","landing.alerts.severity.info":"Informational","landing.alerts.severity.debug":"Debug","landing.alerts.state.unprocessed":"Unprocessed","landing.alerts.state.active":"Active","landing.alerts.state.suppressed":"Suppressed","landing.alerts.state.inactive":"Inactive","landing.alerts.state.pending":"Pending","landing.alerts.state.firing":"Firing","landing.error":"Error loading data!","supis.buttons.import":"Import","supis.table.supi":"SUPI","supis.table.msisdn":"MSISDN","supis.table.description":"Description","supis.table.status":"Status","supis.table.status.active":"Active","supis.table.status.inactive":"Inactive","supis.table.provisioned_data_profile":"Provisioned Data Profile","supis.table.policy_data_profile":"Policy Data Profile","supis.table.created_at":"Created","supis.editSupi":"Edit SUPI","supis.editSupiProvisionedDataProfile":"Edit Provisioned Profile","supis.editSupiPolicyDataProfile":"Edit Policy Profile","supis.deleteSupi":"Delete SUPI","supis.infoSupi":"Info on SUPI","supis.info.title":'Info on SUPI "{supi}"',"supis.info.am.title":"Access Management","supis.info.am.guti":"GUTI","supis.info.am.ncgi":"NCGI","supis.info.am.tai":"TAI","supis.info.am.cmState":"CM State","supis.info.am.mmState":"MM State","supis.info.am.error":"No data found!","supis.info.sm.title":"Session Management","supis.info.sm.dnn":"DNN","supis.info.sm.pdu_session_id":"PDU Session ID","supis.info.sm.snssai":"S-NSSAI","supis.info.sm.ipv4":"IPv4","supis.info.sm.ipv6":"IPv6","supis.info.sm.error":"No data found!","supis.form.title":"Create SUPI","supis.form.supi":"Subscription Permanent Identifier","supis.form.supi.placeholder":"SUPI","supis.form.description":"Description","supis.form.description.placeholder":"Description","supis.form.msisdn":"MSISDN","supis.form.msisdn.placeholder":"MSISDN","supis.form.profile":"Profile","supis.form.profile.placeholder":"Select a profile","supis.form.provisioned_data_profile":"Provisioned Profile","supis.form.provisioned_data_profile.placeholder":"Select a provisioned profile","supis.form.policy_data_profile":"Policy Profile","supis.form.policy_data_profile.placeholder":"Select a policy profile","supis.form.status":"Status","supis.form.status.placeholder":"Select Status","supis.form.k":"K","supis.form.k.placeholder":"k","supis.form.op_type":"Key Type","supis.form.op_type.placeholder":"key type","supis.form.op_type.op":"OP","supis.form.op_type.opc":"OPC","supis.form.op_type.operator_key_id":"OPID","supis.form.op_value":"Value","supis.form.op_value.placeholder":"Value","supis.form.transport_key_id":"Transport Key ID","supis.form.transport_key_id.placeholder":"Transport Key ID","supis.import.form.title":"Import SUPIs from CSV file","supis.import.form.description":"Add a single valid UDR Provisioning csv file. Here you can find an example of the import format: ","supis.import.form.file":"File","supis.import.form.file.required":"Field is required","supis.import.upload":"Upload","supis.import.upload.placeholder":"Select a single csv file","supis.import.form.result.message_ok":"UDR Provisioning data imported successfully!","supis.import.form.result.message_started":"Importing UDR Provisioning Data...","supis.import.form.result.message_ko":"Error encountered importing UDR Provisioning data! See console for further details","supisProfiles.renameProfile":"Rename Profile","supisProfiles.accessManagementData":"Access Management Data","supisProfiles.sessionManagementData":"Session Management Data","supisProfiles.smf":"SMF Selection Data","supisProfiles.configurePlmn":"Configure PLMN","supisProfiles.deleteProfile":"Delete Profile","supisProfiles.table.id":"ID","supisProfiles.table.description":"Description","supisProfiles.table.downlink":"Downlink","supisProfiles.table.uplink":"Uplink","supisProfiles.table.created_at":"Created","supisProfiles.form.title":"New Provisioned Data Profile","supisProfiles.form.description":"Profile description","supisProfiles.form.description.placeholder":"Enter a Profile description","supisProfiles.form.downlink":"Downlink","supisProfiles.form.downlink.placeholder":"Enter a value","supisProfiles.form.uplink":"Uplink","supisProfiles.form.uplink.placeholder":"Enter a value","supisProfiles.form.defaultSingleNssais":"Default S-NSSAIs","supisProfiles.form.x-ath-nssai":"4G S-NSSAIs","supisProfiles.form.x-ath-nssai.sst":"SST","supisProfiles.form.x-ath-nssai.sd":"SD","supisProfiles.form.singleNssais":"S-NSSAIs","supisProfiles.form.sd":"SD","supisProfiles.form.sd.placeholder":"Enter a SD","supisProfiles.form.sd.error.regex":"Enter a 6 chars hexadecimal value","supisProfiles.form.sst":"SST","supisProfiles.form.sst.placeholder":"Enter a SST","supisProfiles.form.smd.sst.hexerror":"Enter a 6 digits hexadecimal value","supisProfiles.form.qos5qi":"5G QoS Identifier","supisProfiles.form.qos5qi.placeholder":"Enter a number between 0 and 255","supisProfiles.form.preemptCap":"Preemption Capability","supisProfiles.form.preemptCap.placeholder":"Select a Preemption Capability value","supisProfiles.form.preemptVuln":"Preemption Vulnerability","supisProfiles.form.preemptVuln.placeholder":"Select a Preemption Vulnerability value","supisProfiles.form.arppriorityLevel":"ARP priority level","supisProfiles.form.arppriorityLevel.placeholder":"Enter an ARP priority level","supisProfiles.form.qospriorityLevel":"QoS priority level","supisProfiles.form.qospriorityLevel.placeholder":"Enter an QoS priority level","supisProfiles.form.atsssAllowed":"ATSSS Allowed","supisProfiles.form.atsssAllowed.placeholder":"ATSSS Allowed","supisProfiles.form.staticIpAddressIpv4":"Static IPV4","supisProfiles.form.staticIpAddressIpv4.placeholder":"Enter an IPV4","supisProfiles.form.staticIpAddressIpv4.error.regex":"Enter a valid IPV4 address","supisProfiles.form.staticIpAddressIpv6":"Static IPV6","supisProfiles.form.staticIpAddressIpv6.placeholder":"Enter an IPV6","supisProfiles.form.staticIpAddressIpv6.error.regex":"Enter a valid IPV6 address","supisProfiles.form.staticIpAddressIpv6Prefix":"Static IPV6 Prefix","supisProfiles.form.staticIpAddressIpv6Prefix.placeholder":"Enter an IPV6 Prefix","supisProfiles.form.staticIpAddressIpv6Prefix.error.regex":"Enter a valid IPV6 prefix","supisProfiles.form.staticIpAddressIpv6Prefix.error.range":"IPV6 prefix must be in the range [64-128]","supisProfiles.form.staticIpAddressIpv6Prefix.error.64":"IPV6 prefix must be a 64","supisProfiles.form.ipv4FrameRouteList":"IPV4 Frame Route List","supisProfiles.form.ipv4FrameRouteList.placeholder":"Enter a list of IPV4 masks","supisProfiles.form.ipv4FrameRouteList.error.regex":"Enter a valid IPV4 mask","supisProfiles.form.ipv6FrameRouteList":"IPV6 Frame Route List","supisProfiles.form.ipv6FrameRouteList.placeholder":"Enter a list of IPV6 prefixes","supisProfiles.form.ipv6FrameRouteList.error.regex":"Enter a valid IPV6 prefix","supisProfiles.form.defaultSessionType":"Default session type","supisProfiles.form.defaultSessionType.placeholder":"Select a default session type","supisProfiles.form.allowedSessionTypes":"Allowed session types","supisProfiles.form.allowedSessionTypes.placeholder":"Select the allowed session types","supisProfiles.form.defaultSscMode":"Default SSC mode","supisProfiles.form.defaultSscMode.placeholder":"Select a default SSC mode","supisProfiles.form.allowedSscModes":"Allowed SSC modes","supisProfiles.form.allowedSscModes.placeholder":"Select the allowed SSC modes","supisProfiles.form.APNOIReplacement":"APN OI Replacement","supisProfiles.form.addDnnConfiguration":"Add DNN Configuration","supisProfiles.smfSelectionData":"SMF Selection Data","supisProfiles.form.sstlist":"Subscribed SNSSAI Infos","supisProfiles.form.snssai":"S-NSSAI","supisProfiles.form.snssai.placeholder":"Enter a S-NSSAI","supisProfiles.form.isdefault":"Default DNN","supisProfiles.form.dnnName":"DNN name","supisProfiles.form.dnnName.placeholder":"Enter a DNN name","supisProfiles.form.addSmd":"Add S-NSSAI","supisProfiles.form.newSNSSAI":"New S-NSSAI #{value}","supisProfiles.form.newDNN":"New DNN #{value}","udr_configuration.tabs.log_level":"Log level","udr_configuration.tabs.sbi":"SBI","udr_configuration.buttons.boot":"Boot configuration","udr_configuration.buttons.boot_reload":"Reload boot configuration","udr_configuration.toastr.apply_configuration_ok":"Configuration applied correctly","udr_configuration.toastr.apply_configuration_ko":"Error on applying configuration","udr_configuration.toastr.persist_configuration_ok":"Configuration persisted correctly","udr_configuration.toastr.persist_configuration_ko":"Error on persisting configuration","udr_configuration.toastr.restart_resource_ok":"Resource restarted correctly","udr_configuration.toastr.restart_resource_ko":"Error on restarting resource","udr_configuration.toastr.factory_reset_ok":"Configuration reset correctly","udr_configuration.toastr.factory_reset_ko":"Error on resetting configuration","udr_configuration.dialog.factory_reset.confirm":"Are you sure to reset to the factory configuration?","udr_configuration.dialog.restart_resource.confirm":"Are you sure to restart the resource?","udr_configuration.dialog.boot.title":"Boot configuration","udr_configuration.logs.errors.required":"Field is required","udr_configuration.logs.form.level":"Level","udr_supis.actions.delete":"Delete","udr_supis.actions.info":"Info","udr_supis.actions.confirm_delete":"Are you sure to delete SUPI?","udr_supis.actions.edit":"Edit","udr_supis.table.id":"ID","udr_supis.table.description":"Description","udr_supis.table.gpsi":"GPSI","udr_supis.table.provisioned_data_profile":"Provisioned Data Profile","udr_supis.table.policy_data_profile":"Policy Data Profile","udr_supis.table.status":"Status","udr_supis.table.modified_at":"Modified","udr_supis.table.created_at":"Created","udr_supis.toolbar.new":"New","udr_supis.toolbar.import":"Import","udr_supis.import.form.title":"Import SUPIs from CSV file","udr_supis.import.form.description":"Add a single valid UDR Provisioning csv file. Here you can find an example of the import format: ","udr_supis.import.form.file":"File","udr_supis.import.form.file.required":"Field is required","udr_supis.import.upload":"Upload","udr_supis.import.upload.placeholder":"Select a single csv file","udr_supis.import.form.result.message_ok":"UDR Provisioning data imported successfully!","udr_supis.import.form.result.message_started":"Importing UDR Provisioning Data...","udr_supis.import.form.result.message_ko":"Errors occured during data import","udr_supi.section.errors.title":"Errors","udr_supi.section.general.title":"General","udr_supi.section.profiles.title":"Profiles","udr_supi.section.provisioned_data_profile_patches.title":"Provisioned Data Profile Patches","udr_supi.section.provisioned_data_profile_patches.no_patch":"No patches","udr_supi.form.cancel":"Cancel","udr_supi.form.save":"Save","udr_supi.form.errors":"There are some errors in the form","udr_supi.form.errors.min":"Min value is {value}","udr_supi.form.errors.max":"Max value is {value}","udr_supi.form.errors.format":"The format should be {value}","udr_supi.form.errors.required":"Field is required","udr_supi.form_errors.has_errors":"Field has errors","udr_supi.form.supi":"SUPI","udr_supi.form.description":"Description","udr_supi.form.gpsi":"GPSI","udr_supi.form.k":"K","udr_supi.form.is_overriding_keys":"Override keys","udr_supi.form.keys_provisioned":"Provisioned","udr_supi.form.keys_not_provisioned":"Not provisioned","udr_supi.form.operator_key_type":"Operator Key Type","udr_supi.form.operator_key_value":"Operator Key Value","udr_supi.form.transport_key_id":"Transport Key Id","udr_supi.form.k_tag":"K Tag","udr_supi.form.opc_tag":"OPC Tag","udr_supi.form.policy_data_profile_uuid":"Policy Data Profile","udr_supi.form.provisioned_data_profile_uuid":"Provisioned Data Profile","udr_supi.form.provisioned_data_profile_patches.add_dialog.title":"Add Patch","udr_supi.form.provisioned_data_profile_patches.error.already_present":"Patch is already present in the list","udr_supi.form.provisioned_data_profile_patches.add":"Add Patch","udr_supi.form.provisioned_data_profile_patches.delete":"Delete Patch","udr_supi.form.provisioned_data_profile_patches.sst":"SST","udr_supi.form.provisioned_data_profile_patches.sd":"SD","udr_supi.form.provisioned_data_profile_patches.dnn":"DNN","udr_supi.form.provisioned_data_profile_patches.static_ipv4":"Static IPv4","udr_supi.form.provisioned_data_profile_patches.static_ipv6":"Static IPv6","udr_supi.form.provisioned_data_profile_patches.ipv4_frame_route_list":"IPv4 Frame Route List","udr_supi.form.provisioned_data_profile_patches.ipv6_frame_route_list":"IPv6 Frame Route List","udr_supi.form.slice_dnn_selection.rule":"Rule","udr_supi.form.slice_dnn_selection.pattern":"PLMN Rule Pattern","udr_supi.form.slice_dnn_selection.sliceId":"Slice ID","udr_supi.form.slice_dnn_selection.dnnName":"DNN Name","udr_supi.form.slice_dnn_selection.buttons.cancel":"Cancel","udr_supi.form.slice_dnn_selection.buttons.submit":"Select","udr_supi.form.status":"Status","udr_supi.form.errors.provisioned_data_profiles_patch_at_least_one":"One of Static IPv4, Static IPv6, IPv4 Frame Route List or IPv6 Frame Route List must be entered","udr_supi.form.buttons.submit":"Submit","udr_supi.filters.buttons.reset":"Reset","udr_supi.filters.buttons.apply":"Apply","udr_supi.filters.supi_icont":"Contains","udr_supi.filters.supi_noticont":"Not contains","udr_supi.filters.supi_iend":"Ends with","udr_supi.filters.gpsi_icont":"Contains","udr_supi.filters.gpsi_noticont":"Not contains","udr_supi.filters.gpsi_iend":"Ends with","udr_supi.filters.status_eq":"STATUS","udr_supi.filters.status_eq_active_inactive":"Status","udr_supi.filters.supi":"SUPI","udr_supi.filters.gpsi":"GPSI","udr_supi.filters.case_insensitive.info":"The filters are case-insensitive, so there is no difference between uppercase and lowercase characters.","udr_supi.toolbar.filters":"Filters","udr_provisioned_data_profiles.actions.delete":"Delete","udr_provisioned_data_profiles.actions.confirm_delete":"Are you sure to delete provisioned data profile?","udr_provisioned_data_profiles.actions.edit":"Edit","udr_provisioned_data_profiles.table.id":"ID","udr_provisioned_data_profiles.table.description":"Description","udr_provisioned_data_profiles.table.created_at":"Created","udr_provisioned_data_profiles.table.modified_at":"Modified","udr_provisioned_data_profiles.form.title_create":"New provisioned data profile","udr_provisioned_data_profiles.form.title_edit":"Edit provisioned data profile","udr_provisioned_data_profile.section.errors.title":"Errors","udr_provisioned_data_profile.section.general.title":"General info","udr_provisioned_data_profile.section.plmn_rules.title":"PLMN Rules","udr_provisioned_data_profile.section.access_and_mobility.title":"Access and Mobility","udr_provisioned_data_profile.section.aggregated_maximum_bitrate.title":"Aggregated Maximum Bitrate","udr_provisioned_data_profile.section.restrictions.title":"Restrictions","udr_provisioned_data_profile.section.restrictions.4g-5g-nsa.title":"4G + 5G-NSA","udr_provisioned_data_profile.section.restrictions.5g.title":"5G","udr_provisioned_data_profile.section.forbidden_areas.title":"Forbidden Areas","udr_provisioned_data_profile.section.service_area_restriction.title":"Service Area Restriction","udr_provisioned_data_profile.section.service_area_restriction_areas.title":"Areas","udr_provisioned_data_profile.section.closed_subscriber_group.title":"Closed Subscriber Group","udr_provisioned_data_profile.section.slices.title":"Slices","udr_provisioned_data_profile.section.default_slices.title":"Default Slices","udr_provisioned_data_profile.section.dnnList.title":"DNNs","udr_provisioned_data_profile.section.dnnList.dnn.aggregated_maximum_bitrate.title":"Aggregated Maximum Bitrate","udr_provisioned_data_profile.section.dnnList.dnn.qos.title":"QoS","udr_provisioned_data_profile.section.dnnList.dnn.qos.arp.title":"ARP","udr_provisioned_data_profile.section.dnnList.dnn.session_types.title":"Session Types","udr_provisioned_data_profile.section.dnnList.dnn.up_security.title":"UP Security","udr_provisioned_data_profile.section.sms.title":"SMS","udr_provisioned_data_profiles.form.description":"Description","udr_provisioned_data_profiles.form.cancel":"Cancel","udr_provisioned_data_profiles.form.save":"Save","udr_provisioned_data_profiles.form.errors.uuid_format":"The format should be {value}","udr_provisioned_data_profiles.form.errors":"There are some errors in the form","udr_provisioned_data_profiles.form.errors.min":"Min value is {value}","udr_provisioned_data_profiles.form.errors.max":"Max value is {value}","udr_provisioned_data_profiles.form.errors.format":"The format should be {value}","udr_provisioned_data_profiles.form.errors.max_attempts":"Max Attemps value must be greater than or equal to 1","udr_provisioned_data_profiles.form.errors.tolerance_period_sec":"Tolerance Period (s) value must be greater than or equal to 1","udr_provisioned_data_profiles.form.errors.required":"Field is required","udr_provisioned_data_profiles.form.errors.required_default4g":"Required if Default 4G Slice is selected","udr_provisioned_data_profiles.form.errors.required_rule":"Required if Reference data from a different rule is selected","udr_provisioned_data_profiles.form.errors.required_5gQosProfile":"Field is required if one of these fields are set: 5G QoS Identifier, Preemption Capability. Preemption Vulnerability, ARP Priority Level","udr_provisioned_data_profiles.form.errors.required_downlink":"Field is required if uplink is set","udr_provisioned_data_profiles.form.errors.required_uplink":"Field is required if downlink is set","udr_provisioned_data_profiles.form.errors.required_isDefault":"At least one default slice is required","udr_provisioned_data_profiles.form.errors.required_upSecurityUpConfid":"Field is required if UP Integration is set","udr_provisioned_data_profiles.form.errors.required_upSecurityUpIntegr":"Field is required if UP Configuration ID is set","udr_provisioned_data_profiles.form.errors.required_serviceAreaRestrictionType":"Field is required if Service Area Restriction is active","udr_provisioned_data_profiles.form.errors.required_serviceAreaRestrictionAreas":"Insert at least 1 Area","udr_provisioned_data_profiles.form.errors.unique_slices_id":"Slices should have unique SST-SD pairs","udr_provisioned_data_profiles.form.errors.unique_plmn_rule_id":"PLMN Rule should have unique pattern","udr_provisioned_data_profiles.form.errors.default4g_slice_with_pdn_enabled":"every dnn associated with the default 4g slice must explicitly have PDN enabled","udr_provisioned_data_profiles.form.errors.default4g_slice_with_5gQosProfile":"every dnn associated with the default 4g slice must explicitly set the 5G QoS Identifier field","udr_provisioned_data_profiles.toolbar.new_profile":"New","udr_provisioned_data_profile.form_errors.has_errors":"Field has errors","udr_provisioned_data_profile.form.description":"Description","udr_provisioned_data_profile.form.uuid":"UUID","udr_provisioned_data_profile.form.pattern":"Pattern","udr_provisioned_data_profile.form.data_from":"Rule","udr_provisioned_data_profile.form.isDataFrom":"Reference data from a different rule","udr_provisioned_data_profile.form.action":"Action","udr_provisioned_data_profile.form.ratRestrictions":"RAT Restrictions","udr_provisioned_data_profile.form.rfspIndex":"RSFP Index","udr_provisioned_data_profile.form.coreNetworkTypeRestrictions":"Core Network Type Restrictions","udr_provisioned_data_profile.form.regionalSubscriptionZoneCodes":"Regional Subscription Zone Codes","udr_provisioned_data_profile.form.closedSubscriberGroup":"Closed Subscriber Group","udr_provisioned_data_profile.form.forbiddenAreas":"Forbidden Areas","udr_provisioned_data_profile.form.isServiceAreaRestrictionActive":"Enabled","udr_provisioned_data_profile.form.serviceAreaRestrictionAreas":"Areas","udr_provisioned_data_profile.form.serviceAreaRestrictionType":"Restriction Type","udr_provisioned_data_profile.form.defaultDownlink":"Default Downlink","udr_provisioned_data_profile.form.defaultUplink":"Default Uplink","udr_provisioned_data_profile.form.defaultSliceId":"Default Slice","udr_provisioned_data_profile.form.defaultSliceIds":"Default Slices","udr_provisioned_data_profile.form.default4gSliceId":"Default 4G Slice","udr_provisioned_data_profile.form.slice.defaultDnnId":"Default DNN","udr_provisioned_data_profile.form.networkAccessMode":"Network Access Mode (only 3G/4G)","udr_provisioned_data_profile.form.APNOIReplacement":"APN OI Replacement","udr_provisioned_data_profile.form.ueUsageType":"UE Usage Type","udr_provisioned_data_profile.form.subsRegTimer":"Subscriber Registration Timer","udr_provisioned_data_profile.form.plmn_rules.rule_delete":"Delete PLMN Rule","udr_provisioned_data_profile.form.plmn_rules.rule_delete.data_from.error":"You can't delete a rule that has some other rules referencing it","udr_provisioned_data_profile.form.plmn_rules.rule_add":"Add PLMN Rule","udr_provisioned_data_profile.form.plmn_rules.no_data":"No PLMN Rules","udr_provisioned_data_profile.form.closed_subscriber_group.delete":"Delete","udr_provisioned_data_profile.form.closed_subscriber_group.add":"Add","udr_provisioned_data_profile.form.closed_subscriber_group.no_data":"No data","udr_provisioned_data_profile.form.closed_subscriber_group.csg_id":"CSG ID","udr_provisioned_data_profile.form.closed_subscriber_group.visited_plmn":"Visited PLMN","udr_provisioned_data_profile.form.forbidden_areas.title":"Forbidden Areas","udr_provisioned_data_profile.form.forbidden_areas.delete":"Delete Area","udr_provisioned_data_profile.form.forbidden_areas.add":"Add Area","udr_provisioned_data_profile.form.forbidden_areas.no_data":"No Areas","udr_provisioned_data_profile.form.forbidden_areas.name":"Name","udr_provisioned_data_profile.form.forbidden_areas.tacs":"TACs","udr_provisioned_data_profile.form.service_area_restriction_areas.title":"Areas","udr_provisioned_data_profile.form.service_area_restriction_areas.delete":"Delete Area","udr_provisioned_data_profile.form.service_area_restriction_areas.add":"Add Area","udr_provisioned_data_profile.form.service_area_restriction_areas.no_data":"No Areas","udr_provisioned_data_profile.form.service_area_restriction_areas.name":"Name","udr_provisioned_data_profile.form.service_area_restriction_areas.tacs":"TACs","udr_provisioned_data_profile.form.slice.no_slices":"No slices","udr_provisioned_data_profile.form.slice.no_slices_for_default":"You must add at least one slice to manage default slices","udr_provisioned_data_profile.form.slice.no_dnns":"No DNNs","udr_provisioned_data_profile.form.slices.slice_add":"Add Slice","udr_provisioned_data_profile.form.slices.slice_delete":"Delete Slice","udr_provisioned_data_profile.form.slices.slice_default":"Default","udr_provisioned_data_profile.form.slices.slice_enabled":"Enabled","udr_provisioned_data_profile.form.slice.sst":"SST","udr_provisioned_data_profile.form.slice.sd":"SD","udr_provisioned_data_profile.form.slice.3gppChargingCharacteristics":"3GPP Charging Characteristics","udr_provisioned_data_profile.form.slice.isDefault":"Default","udr_provisioned_data_profile.form.slice.is4gDefault":"4G Default","udr_provisioned_data_profile.form.slice.isEnabled":"PDN Enabled","udr_provisioned_data_profile.form.slice.isEnabled_required_for_4g":"mandatory for 4G enabled devices, required to establish the 5G PDN session","udr_provisioned_data_profile.form.slice.defaultDnn":"Default DNN","udr_provisioned_data_profile.form.slice.dnn_add":"Add DNN","udr_provisioned_data_profile.form.slice.dnn_delete":"Delete DNN","udr_provisioned_data_profile.form.slice.dnn.name":"DNN Name","udr_provisioned_data_profile.form.slice.dnn.isDefault":"Default","udr_provisioned_data_profile.form.slice.dnn.downlink":"Downlink","udr_provisioned_data_profile.form.slice.dnn.uplink":"Uplink","udr_provisioned_data_profile.form.slice.dnn.3gppChargingCharacteristics":"3GPP Charging Characteristics","udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.5qi":"5G QoS Identifier","udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.preemptCap":"Preemption Capability","udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.preemptVuln":"Preemption Vulnerability","udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.priorityLevel":"ARP Priority Level","udr_provisioned_data_profile.form.slice.dnn.pduSessionTypes.additionalSessionTypes":"Additional session types","udr_provisioned_data_profile.form.slice.dnn.pduSessionTypes.defaultSessionType":"Default session type","udr_provisioned_data_profile.form.slice.dnn.sscModes.defaultSscMode":"Default SSC mode","udr_provisioned_data_profile.form.slice.dnn.sscModes.allowedSscModes":"Allowed SSC mode","udr_provisioned_data_profile.form.slice.dnn.APNOIReplacement":"APN OI Replacement","udr_provisioned_data_profile.form.slice.dnn.preferredDataMode":"Preferred Data Mode","udr_provisioned_data_profile.form.slice.dnn.upSecurityUpConfid":"UP Configuration ID","udr_provisioned_data_profile.form.slice.dnn.upSecurityUpIntegr":"UP Integration","udr_provisioned_data_profile.form.sms.subscribed":"Subscribed","udr_provisioned_data_profile.form.sms.moSubscribed":"Mobile Originated Subscribed","udr_provisioned_data_profile.form.sms.mtSubscribed":"Mobile Terminated Subscribed","udr_provisioned_data_profile.form.specific_fields.SOR_LIGHT":"Steering of Roaming Light Specific Fields","udr_provisioned_data_profile.form.specific_fields.SOR_AGGRESSIVE":"Steering of Roaming Aggressive Specific Fields","udr_provisioned_data_profile.form.advanced_input.diameter_error":"Diameter Error","udr_provisioned_data_profile.form.advanced_input.map_error":"Map Error","udr_provisioned_data_profile.form.advanced_input.max_attempts":"Max Attempts","udr_provisioned_data_profile.form.advanced_input.tolerance_period_sec":"Tolerance Period (s)","udr_provisioned_data_profile.form.buttons.submit":"Submit","udr_policy_data_profiles.actions.delete":"Delete","udr_policy_data_profiles.actions.edit":"Edit","udr_policy_data_profiles.table.id":"ID","udr_policy_data_profiles.table.description":"Description","udr_policy_data_profiles.table.created_at":"Created","udr_policy_data_profiles.table.modified_at":"Modified","udr_policy_data_profiles.form.uuid":"ID","udr_policy_data_profiles.form.description":"Description","udr_policy_data_profiles.form.subscCats":"Subscriber categories","udr_policy_data_profiles.form.snssai_add":"Add S-NSSAI","udr_policy_data_profiles.form.snssai_remove":"Remove","udr_policy_data_profiles.form.sst":"SST","udr_policy_data_profiles.form.sd":"SD","udr_policy_data_profiles.form.dnn":"DNN Name","udr_policy_data_profiles.form.dnn_add":"Add DNN","udr_policy_data_profiles.form.dnn_remove":"Remove","udr_policy_data_profiles.form.allowedServices":"Allowed Services","udr_policy_data_profiles.form.submit":"Submit","udr_policy_data_profiles.form.errors":"There are some errors in the form","udr_policy_data_profiles.form.errors.min":"Min value is {value}","udr_policy_data_profiles.form.errors.max":"Max value is {value}","udr_policy_data_profiles.form.errors.format":"The format should be {value}","udr_policy_data_profiles.form.errors.uuid_format":"The format should be {value}","udr_policy_data_profiles.form.errors.required":"Field is required","udr_policy_data_profiles.form.errors.least":"Field must have at least {value} items","udr_policy_data_profiles.form.tabs.sm":"SM data","udr_policy_data_profiles.form.tabs.am":"AM data","udr_policy_data_profiles.form.empty":"No data","udr_policy_data_profiles.toolbar.new_profile":"New","udr_policy_data_profiles.toolbar.delete":"Are you sure to delete policy data profile?","udr_transport_keys.toolbar.new_transport_key":"New Transport Key","udr_transport_keys.loading_error":"Error loading UDR Transport Keys provisioning data","udr_transport_keys.table.header.id":"ID","udr_transport_keys.table.header.cipher":"Cipher","udr_transport_keys.table.header.created_at":"Created","udr_transport_keys.table.header.modified_at":"Modified","udr_transport_keys.actions.delete":"Delete","udr_transport_keys.actions.edit":"Edit","udr_transport_keys.new_transport_key.id":"ID","udr_transport_keys.new_transport_key.iv":"IV","udr_transport_keys.new_transport_key.ad":"AD","udr_transport_keys.new_transport_key.cipher":"Cipher","udr_transport_keys.new_transport_key.key":"Key","udr_transport_keys.new_transport_key.save":"Save","udr_transport_keys.new_transport_key.cancel":"Cancel","udr_transport_keys.new_transport_key.title":"New UDR Transport Key","udr_transport_keys.new_transport_key.form_errors.required":"Field is required","udr_transport_keys.edit_transport_key.id":"ID","udr_transport_keys.edit_transport_key.ad":"AD","udr_transport_keys.edit_transport_key.iv":"IV","udr_transport_keys.edit_transport_key.cipher":"Cipher","udr_transport_keys.edit_transport_key.key":"Key","udr_transport_keys.edit_transport_key.save":"Save","udr_transport_keys.edit_transport_key.cancel":"Cancel","udr_transport_keys.edit_transport_key.title":"Edit UDR Transport Key","udr_transport_keys.edit_transport_key.form_errors.required":"Field is required","udr_transport_keys.import.title":"Import UDR Transport Keys from file","udr_transport_keys.import.description":"Add a single valid UDR Transport Keys Provisioning csv file. Here you can find an example of the import format: ","udr_transport_keys.import.form_errors.required":"File is required","udr_transport_keys.import.file":"Select file","udr_transport_keys.import.save":"Save","udr_transport_keys.import.cancel":"Cancel","udr_transport_keys.application_servers_profiles.dialog.delete.confirm":"Are you sure to delete transport key?","udr_operator_keys.toolbar.new_operator_key":"New Operator Code","udr_operator_keys.toolbar.import_operator_keys":"Import Operator Codes","udr_operator_keys.loading_error":"Error loading UDR Operator Codes provisioning data","udr_operator_keys.table.header.id":"ID","udr_operator_keys.table.header.created_at":"Created","udr_operator_keys.table.header.modified_at":"Modified","udr_operator_keys.actions.delete":"Delete","udr_operator_keys.actions.delete.confirm":"Are you sure you want to delete operator key {key}?","udr_operator_keys.actions.edit":"Edit","udr_operator_keys.new_operator_key.id":"ID","udr_operator_keys.new_operator_key.transport_key_id":"Transport Key ID","udr_operator_keys.new_operator_key.transport_key_tag":"Transport Key Tag","udr_operator_keys.new_operator_key.op":"OP","udr_operator_keys.new_operator_key.save":"Save","udr_operator_keys.new_operator_key.cancel":"Cancel","udr_operator_keys.new_operator_key.title":"New UDR Operator Code","udr_operator_keys.edit_operator_key.id":"ID","udr_operator_keys.edit_operator_key.transport_key_id":"Transport Key ID","udr_operator_keys.edit_operator_key.transport_key_tag":"Transport Key Tag","udr_operator_keys.edit_operator_key.op":"OP","udr_operator_keys.edit_operator_key.save":"Save","udr_operator_keys.edit_operator_key.cancel":"Cancel","udr_operator_keys.edit_operator_key.title":"Edit UDR Operator Code","udr_operator_keys.new_operator_key.form_errors.required":"Field is required","udr_operator_keys.import.title":"Import UDR Operator Codes from file","udr_operator_keys.import.description":"Add a single valid UDR Operator Codes Provisioning csv file. Here you can find an example of the import format: ","udr_operator_keys.import.form_errors.required":"File is required","udr_operator_keys.import.file":"Select file","udr_operator_keys.import.save":"Save","udr_operator_keys.import.cancel":"Cancel","udr_ims_private_identities.toolbar.new_ims_private_identity":"New IMS Private Identity","udr_ims_private_identities.toolbar.new_ims_private_identity_basic":"New Basic","udr_ims_private_identities.loading_error":"Error loading UDR IMS Private Identities","udr_ims_private_identities.table.header.id":"ID","udr_ims_private_identities.table.header.name":"Name","udr_ims_private_identities.table.header.supi":"SUPI","udr_ims_private_identities.table.header.type":"Type","udr_ims_private_identities.table.header.status":"Status","udr_ims_private_identities.table.header.created_at":"Created","udr_ims_private_identities.table.header.modified_at":"Modified","udr_ims_private_identities.table.value.sip_digest_provisioned":"SIP Digest","udr_ims_private_identities.table.value.sip_digest_provisioned_true":"Provisioned","udr_ims_private_identities.table.value.sip_digest_provisioned_false":"Not Provisioned","udr_ims_private_identities.table.value.registration_sets":"Registration Sets","udr_ims_private_identities.table.value.registration_sets_no_value":"No Value","udr_ims_private_identities.table.value.public_identities":"Public Identities","udr_ims_private_identities.table.value.public_identity_barred":"Barred","udr_ims_private_identities.table.value.public_identity_authorized":"Authorized","udr_ims_private_identities.table.value.public_identity_name":"Name","udr_ims_private_identities.table.value.service_profile":"Service Profile","udr_ims_private_identities.table.value.server_name":"Server Name","udr_ims_private_identities.table.value.application_servers_profiles":"Application Servers Profiles","udr_ims_private_identities.table.status":"Public Identity Status","udr_ims_private_identities.actions.delete":"Delete","udr_ims_private_identities.actions.confirm_delete":'Are you sure to delete IMS Private Identity with name = "{name}"?',"udr_ims_private_identities.actions.edit":"Edit","udr_ims_private_identities.actions.edit_application_servers_profiles":"Application Servers Profiles","udr_ims_private_identities.actions.status":"Status","udr_ims_private_identities.dialog.ims_private_identity_status.title":"IMS Private Identity Status","udr_ims_private_identities.dialog.ims_private_identity_status.no_data":"No data","udr_ims_private_identities.dialog.ims_private_identity_status.modified_at":"Modified at","udr_ims_private_identities.dialog.ims_private_identity_status.server_name":"Server Name","udr_ims_private_identities.dialog.ims_private_identity_status.location":"Location","udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw":"IP SM GW","udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.host":"Host","udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.realm":"Realm","udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.registered_at":"Registered At","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf":"SCSCF","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.host":"Host","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.modified_at":"Modified At","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.name":"Name","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.realm":"Realm","udr_ims_private_identities.dialog.ims_public_identity_status.title":"IMS Public Identity Status","udr_ims_private_identities.dialog.ims_public_identity_status.modified_at":"Modified at","udr_ims_private_identities.dialog.ims_public_identity_status.status":"Status","udr_ims_private_identities.dialog.ims_public_identity_status.pending":"pending","udr_ims_private_identities.new_ims_private_identity_basic.title":"New UDR IMS Private Identity Basic","udr_ims_private_identities.new_ims_private_identity_basic.form.type":"type","udr_ims_private_identities.new_ims_private_identity_basic.form.supi":"SUPI","udr_ims_private_identities.new_ims_private_identity_basic.form.public_identity":"Public Identity","udr_ims_private_identities.new_ims_private_identity_basic.form.server_name":"Server Name","udr_ims_private_identities.new_ims_private_identity_basic.form.msisdn":"MSISDN","udr_ims_private_identities.new_ims_private_identity_basic.form.service_profile":"Service Profile","udr_ims_private_identities.new_ims_private_identity_basic.form_errors.required":"Field is required","udr_ims_private_identities.new_ims_private_identity_basic.form_errors.sip_digest":"SIP Digest Realm and Password must be set both or none","udr_ims_private_identities.new_ims_private_identity_basic.form_errors.sip_digest_realm":"SIP Digest Realm must be set for edit","udr_ims_private_identities.new_ims_private_identity_basic.form_errors.sip_digest_password":"SIP Digest Password must be set for edit","udr_ims_private_identities.new_ims_private_identity_basic.save":"Save","udr_ims_private_identities.new_ims_private_identity_basic.cancel":"Cancel","udr_ims_private_identities.create_or_edit_ims_private_identity.title":"Edit UDR IMS Private Identity","udr_ims_private_identities.create_or_edit_ims_private_identity.form.type":"type","udr_ims_private_identities.create_or_edit_ims_private_identity.form.supi":"SUPI","udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest":"SIP Digest","udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest.password":"SIP Digest Password","udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest.realm":"SIP Digest Realm","udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest.realm_password":"SIP Digest Realm and Password","udr_ims_private_identities.create_or_edit_ims_private_identity.keys_provisioned":"Provisioned","udr_ims_private_identities.create_or_edit_ims_private_identity.keys_not_provisioned":"Not Provisioned","udr_ims_private_identities.create_or_edit_ims_private_identity.form.isOverridingKeys":"Override Keys","udr_ims_private_identities.create_or_edit_ims_private_identity.form.server_name":"Server Name","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_set_delete":"Delete Registration Set","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_set_add":"Add Registration Set","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets":"Registration Sets","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.description":"Registration Set Description","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identity_delete":"Delete Public Identity","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identity_add":"Add Public Identity","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities":"Registration Set Public Identities","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.barred":"Barred","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.name":"name","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.service_profile":"Service Profile","udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required":"Field is required","udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.has_errors":"Field has errors","udr_ims_private_identities.create_or_edit_ims_private_identity.save":"Save","udr_ims_private_identities.create_or_edit_ims_private_identity.cancel":"Cancel","udr_ims_private_identities.application_servers_profiles.title":"Manage Application Servers Profiles","udr_ims_private_identities.application_servers_profiles.no_private_identity":"There was a problem loading the private identity","udr_ims_private_identities.application_servers_profiles.error_load_data":"Error on loading data","udr_ims_private_identities.application_servers_profiles.form.service_data":"Service Data","udr_ims_private_identities.application_servers_profiles.form.service_indication":"Service Indication","udr_ims_private_identities.application_servers_profiles.form.errors.required":"Field is required","udr_ims_private_identities.application_servers_profiles.form.actions.create":"new Profile","udr_ims_private_identities.application_servers_profiles.form.actions.edit":"Edit","udr_ims_private_identities.application_servers_profiles.form.actions.show":"Show","udr_ims_private_identities.application_servers_profiles.form.actions.delete":"Delete","udr_ims_private_identities.application_servers_profiles.save":"Save","udr_ims_private_identities.application_servers_profiles.cancel":"Cancel","udr_ims_private_identities.application_servers_profiles.close":"Close","udr_ims_private_identities.application_servers_profiles.dialog.create.title":"New AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.create_ok":"AS Profile created correctly","udr_ims_private_identities.application_servers_profiles.dialog.create_ko":"Problem on creating AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.edit.title":"Edit AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.edit_ok":"AS Profile updated correctly","udr_ims_private_identities.application_servers_profiles.dialog.edit_ko":"Problem on updating AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.delete.title":"Delete AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.delete_ok":"AS Profile deleted correctly","udr_ims_private_identities.application_servers_profiles.dialog.delete_ko":"Problem on deleting AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.delete.confirm":"Are you sure to delete private identity?","udr_plmns.toolbar.new_plmn":"New PLMN","udr_plmns.loading_error":"Error loading PLMNs","udr_plmns.table.header.mcc":"MCC","udr_plmns.table.header.mnc":"MNC","udr_plmns.table.header.created_at":"Created","udr_plmns.table.header.modified_at":"Modified","udr_plmns.actions.delete":"Delete","udr_plmns.new_plmn.title":"New PLMN","udr_plmns.new_plmn.form.mcc":"MCC","udr_plmns.new_plmn.form.mnc":"MNC","udr_plmns.new_plmn.form_errors.required":"Field is required","udr_plmns.new_plmn.save":"Save","udr_plmns.new_plmn.cancel":"Cancel","udr_plmns.actions.delete.confirm":"Are you sure you want to delete PLMN {plmn}?","udr_ims_application_server_acls.toolbar.new_ims_application_server_acl":"New IMS Application Server ACL","udr_ims_application_server_acls.toolbar.filters":"Filters","udr_ims_application_server_acls.loading_error":"Error loading IMS Application Server ACL","udr_ims_application_server_acls.table.header.id":"ID","udr_ims_application_server_acls.table.header.application_server":"IMS Application Server","udr_ims_application_server_acls.table.header.data_reference":"Data Reference","udr_ims_application_server_acls.table.header.permissions":"Permissions","udr_ims_application_server_acls.table.header.created_at":"Created","udr_ims_application_server_acls.table.header.modified_at":"Modified","udr_ims_application_server_acls.actions.delete":"Delete","udr_ims_application_server_acls.actions.edit_permissions":"Edit Permissions","udr_ims_application_server_acls.form.title_edit_permissions":"Edit IMS Application Server ACL Permissions","udr_ims_application_server_acls.form.error.required":"Field is required","udr_ims_application_server_acls.form.error.permissions":"Allowed values are: {permissions}","udr_ims_application_server_acls.new_ims_application_server_acl.title":"New IMS Application Server ACL","udr_ims_application_server_acls.new_ims_application_server_acl.form.id":"ID","udr_ims_application_server_acls.new_ims_application_server_acl.form.application_server":"IMS Application Server","udr_ims_application_server_acls.new_ims_application_server_acl.form.data_reference":"Data Reference","udr_ims_application_server_acls.new_ims_application_server_acl.form.permissions":"Permissions","udr_ims_application_server_acls.new_ims_application_server_acl.form_errors.required":"Field is required","udr_ims_application_server_acls.new_ims_application_server_acl.save":"Save","udr_ims_application_server_acls.new_ims_application_server_acl.cancel":"Cancel","udr_ims_application_server_acls.filters.application_server_icont":"Application Server","udr_ims_application_server_acls.filters.data_reference_eq":"Data Reference","udr_ims_application_server_acls.filters.data_reference_eq.any":"any","udr_ims_application_server_acls.filters.buttons.reset":"Reset","udr_ims_application_server_acls.filters.buttons.apply":"Apply","udr_ims_application_server_acls.actions.delete.confirm":"Are you sure to delete IMS application server ACL?","udr_ims_initial_filters.toolbar.new_ims_initial_filter":"New Initial Filter Criteria","udr_ims_initial_filters.loading_error":"Error loading Initial Filter Criteria","udr_ims_initial_filters.table.header.id":"ID","udr_ims_initial_filters.table.header.description":"Description","udr_ims_initial_filters.table.header.created_at":"Created","udr_ims_initial_filters.table.header.modified_at":"Modified","udr_ims_initial_filters.actions.delete":"Delete","udr_ims_initial_filters.actions.edit":"Edit","udr_ims_initial_filters.form.title_edit":"Edit IMS initial filter","udr_ims_initial_filters.new_ims_initial_filter.title":"New Initial Filter Criteria","udr_ims_initial_filters.new_ims_initial_filter.form.id":"ID","udr_ims_initial_filters.new_ims_initial_filter.form.data":"Data","udr_ims_initial_filters.new_ims_initial_filter.form.description":"Description","udr_ims_initial_filters.new_ims_initial_filter.form_errors.required":"Field is required","udr_ims_initial_filters.new_ims_initial_filter.save":"Save","udr_ims_initial_filters.new_ims_initial_filter.cancel":"Cancel","udr_ims_initial_filters.application_servers_profiles.dialog.delete.confirm":"Are you sure to delete initial filter?","udr_ims_service_profiles.toolbar.new_ims_service_profile":"New Service Profile","udr_ims_service_profiles.loading_error":"Error loading Service Profiles","udr_ims_service_profiles.table.header.id":"ID","udr_ims_service_profiles.table.header.description":"Description","udr_ims_service_profiles.table.header.created_at":"Created","udr_ims_service_profiles.table.header.modified_at":"Modified","udr_ims_service_profiles.actions.delete":"Delete","udr_ims_service_profiles.actions.edit":"Edit","udr_ims_service_profiles.new_ims_service_profile.title":"New Service Profile","udr_ims_service_profiles.new_ims_service_profile.form.id":"ID","udr_ims_service_profiles.new_ims_service_profile.form.initial_filter_criteria":"Initial Filter Criteria","udr_ims_service_profiles.new_ims_service_profile.form.description":"Description","udr_ims_service_profiles.new_ims_service_profile.form_errors.required":"Field is required","udr_ims_service_profiles.new_ims_service_profile.save":"Save","udr_ims_service_profiles.new_ims_service_profile.cancel":"Cancel","udr_ims_service_profiles.edit_ims_service_profile.title":"Edit Service Profile","udr_ims_service_profiles.edit_ims_service_profile.form.id":"ID","udr_ims_service_profiles.edit_ims_service_profile.form.initial_filter_criteria":"Initial Filter Criteria","udr_ims_service_profiles.edit_ims_service_profile.form.description":"Description","udr_ims_service_profiles.edit_ims_service_profile.form_errors.required":"Field is required","udr_ims_service_profiles.edit_ims_service_profile.save":"Save","udr_ims_service_profiles.edit_ims_service_profile.cancel":"Cancel","udr_ims_service_profiles.application_servers_profiles.dialog.delete.confirm":"Are you sure to delete service profile?","udr_milenage_constants.message.cannot_write":"You are not able to edit milenage constants because you don't have the write permission","udr_milenage_constants.dialog.title":"Milenage Constants","udr_milenage_constants.dialog.no_configuration":"No Milenage Constants","udr_milenage_constants.dialog.apply_configuration_ok":"Milenage Constants set correctly","udr_milenage_constants.dialog.apply_configuration_ko":"Error on setting Milenage Constants","udr_milenage_constants.buttons.save":"Save","udr_milenage_constants.buttons.cancel":"Cancel","udr_milenage_constants.form.errors.required":"Field is required","udr_milenage_constants.form.c1":"C1","udr_milenage_constants.form.c2":"C2","udr_milenage_constants.form.c3":"C3","udr_milenage_constants.form.c4":"C4","udr_milenage_constants.form.c5":"C5","udr_milenage_constants.form.r1":"R1","udr_milenage_constants.form.r2":"R2","udr_milenage_constants.form.r3":"R3","udr_milenage_constants.form.r4":"R4","udr_milenage_constants.form.r5":"R5","udr_milenage_constants.panel.title":"Milenage Constants","udr_milenage_constants.actions.delete":"Delete","udr_milenage_constants.actions.confirm_delete":"Are you sure you want to delete the provided milenage constants?","udr_milenage_constants.alert.cannot_load_udr_milenage_constants":"Cannot load milenage constants","udr_milenage_constants.provisioned":"Provisioned","udr_milenage_constants.not_provisioned":"Not Provisioned","udr_milenage_constants.apply_ok":"Milenage constants successfully saved","udr_milenage_constants.apply_ko":"There was a problem saving milenage constants","udr_milenage_constants.remove_ok":"Milenage constants successfully removed","udr_milenage_constants.remove_ko":"There was a problem removing milenage constants","udr_milenage_constants.load_ko":"There was a problem loading milenage constants","udm_home_network_keys.actions.delete":"Delete","udm_home_network_keys.table.id":"ID","udm_home_network_keys.table.key_id":"Key ID","udm_home_network_keys.table.description":"Description","udm_home_network_keys.table.home_network_identifier":"Home Network Identifier","udm_home_network_keys.table.private_key":"Private Key","udm_home_network_keys.table.public_key":"Public Key","udm_home_network_keys.table.profile":"Profile","udm_home_network_keys.table.created_at":"Created","udm_home_network_keys.table.modified_at":"Modified","udm_home_network_keys.form.title_create":"New home network key","udm_home_network_keys.form.key_id":"Key ID","udm_home_network_keys.form.description":"Description","udm_home_network_keys.form.home_network_identifier":"Home Network Identifier","udm_home_network_keys.form.private_key":"Private Key","udm_home_network_keys.form.public_key":"Public Key","udm_home_network_keys.form.profile":"Profile","udm_home_network_keys.form.cancel":"Cancel","udm_home_network_keys.form.save":"Save","udm_home_network_keys.form.errors_inside":"There are some errors","udm_home_network_keys.form.errors":"There are some errors in the form","udm_home_network_keys.form.errors.min":"Min value is {value}","udm_home_network_keys.form.errors.max":"Max value is {value}","udm_home_network_keys.form.errors.format":"The format should be {value}","udm_home_network_keys.form.errors.required":"Field is required","udm_home_network_keys.toolbar.new":"New","udm_home_network_keys.toolbar.upload":"Upload","udm_home_network_keys.actions.confirm_delete":"Are you sure to delete home network key {value}?","udm_home_network_keys.upload.form.file":"File","udm_home_network_keys.upload.form.file.required":"File is required","udm_home_network_keys.upload.form.title":"Upload UDM Home Network Keys","udm_home_network_keys.upload.form.description":"Add a single valid UDM Home Network Keys bundle file.","udm_plmns_prefixes.prefix":"Prefix","udm_plmns_prefixes.mcc":"MCC","udm_plmns_prefixes.mnc":"MNC","udm_plmns_prefixes.created_at":"Created at","udm_plmns_prefixes.modified_at":"Modified at","udm_plmn_prefixes.prefix.form_errors.required":"Field is required","udm_plmn_prefixes.mcc.form_errors.required":"Field is required","udm_plmn_prefixes.mnc.form_errors.required":"Field is required","udm_plmns_prefixes.actions.delete.confirm":"Are you sure to delete PLMN prefix {prefix}","smsf.smpp.connections.name":"Name","smsf.smpp.connections.connection_type":"Connection Type","smsf.smpp.connections.connection_type.smpp_esme":"ESME","smsf.smpp.connections.connection_type.smpp_mc_peer":"MC peer","smsf.smpp.connections.bind_type":"Bind Type","smsf.smpp.connections.bind_type.trx":"Transceiver","smsf.smpp.connections.bind_type.tx":"Transmitter","smsf.smpp.connections.bind_type.rx":"Receiver","smsf.smpp.connections.local_addr":"Local Address","smsf.smpp.connections.local_port":"Local Port","smsf.smpp.connections.remote_addr":"Remote Address","smsf.smpp.connections.remote_port":"Remote Port","smsf.smpp.connections.created_at":"Created At","smsf.sms_box":"SMS Box","smsf.sms_box.buttons.new_sms":"New SMS","smsf.sms_box.buttons.inbound":"Inbound","smsf.sms_box.buttons.outbound":"Outbound","smsf.sms_box.tabs.inbound":"Inbound","smsf.sms_box.tabs.outbound":"Outbound","smsf.sms_box.no_msisdns":"No messages to display","smsf.sms_box.search":"Search MSISDN","smsf.sms_box.messages.buttons.delete":"Delete","smsf.sms_box.messages.no_messages":"No messages","smsf.sms_box.message.from":"From","smsf.sms_box.message.to":"To","smsf.sms_box.message.id":"ID","smsf.sms_box.message.message":"Message","smsf.sms_box.message.message_from":"from:","smsf.sms_box.message.message_to":"to:","smsf.sms_box.message.message_at":"at:","smsf.sms_box.message.created_at":"Created at","smsf.sms_box.message.modified_at":"Modified at","smsf.sms_box.message.validity_time_s":"Validity","smsf.sms_box.new_message.dialog.title":"New message","smsf.sms_box.new_message.title":"New message","smsf.sms_box.new_message.msisdn":"From","smsf.sms_box.new_message.to":"To","smsf.sms_box.new_message.body":"Body","smsf.sms_box.new_message.validity_time_s":"Validity Time","smsf.sms_box.new_message.is_seconds_visible":"Show validity time in seconds","smsf.sms_box.new_message.buttons.cancel":"Cancel","smsf.sms_box.new_message.buttons.back":"Back","smsf.sms_box.new_message.buttons.send":"Send","smsf.sms_box.new_message.dialog.send_ok":"Message sent successfully!","smsf.sms_box.new_message.dialog.send_ko":"There was a problem on sending the message","smsf.sms_box.delete_message.dialog.confirm.title":"Delete message","smsf.sms_box.delete_message.dialog.confirm.text":'Are you sure to delete the message with ID = "{id}"?',"smsf.sms_box.delete_message.dialog.send_ok":"Message deleted successfully!","smsf.sms_box.delete_message.dialog.send_ko":"There was a problem on deleting the message",service:gDe,"service.title.name":"Name","service.title.version":"Version","service.title.status":"Status","service.title.type":"Type","service.title.unit_status":"Unit status","service.hint.start":"Start","service.hint.restart":"Restart","service.hint.stop":"Stop","service.hint.reset":"Reset","service.status.enabled":"Enabled","service.status.autostart":"Autostart","service.name.aaa":"AAA","service.name.mme":"MME","service.name.dra":"DRA","service.name.amf":"AMF","service.name.bmsc":"BMSC","service.name.dsm":"DNS","service.name.bind":"Bind9","service.name.bind-exporter":"Bind Exporter","service.name.alertmanager":"Alertmanager","service.name.ausf":"AUSF","service.name.smf":"SMF","service.name.smsf":"SMSF","service.name.pcf":"PCF","service.name.nrf":"NRF","service.name.chf":"CHF","service.name.eir":"EIR","service.name.ems-frontend":"EMS","service.name.ems-backend":"EMS compat","service.name.gatewayd":"Log Viewer","service.name.grafana":"Grafana","service.name.ccs-agent":"CCS Agent","service.name.ncm":"NCM","service.name.node-exporter":"Node Exporter","service.name.podman-exporter":"Podman Exporter","service.name.openvpn":"VPN","service.name.prometheus":"Prometheus","service.name.fluent-bit":"Fluentbit","service.name.licensed":"Licensed","service.name.pls":"PLS","service.name.sgwc":"SGW","service.name.ssh":"SSH","service.name.webconsole":"Terminal","service.name.swupdate":"SW update","service.name.udm":"UDM","service.name.udr":"UDR","service.name.upf":"UPF","service.name.imsconfig":"IMS-Config","service.name.pcscf":"P-CSCF","service.name.icscf":"I-CSCF","service.name.scscf":"S-CSCF","service.name.ecscf":"E-CSCF","service.name.tas":"TAS","service.name.xcap":"XCAP","service.name.imsalarms":"IMS Alarms","service.name.bgcf":"BGCF","service.name.pstngw":"PSTN Gateway","service.name.imsagw":"IMS-AGW","service.name.n5iwf":"N5-IWF","service.name.named":"DNS/ENUM","service.name.imsrecovery":"Recovery Agent","service.name.keepalived-exporter":"Keepalived Exporter","service.disabled":"Disabled","service.started":"Started","service.stopped":"Stopped","service.enable":"Enable","service.disable":"Disable","service.start":"Start","service.restart":"Restart","service.stop":"Stop","service.readonly":"Readonly","service.backup":"Backup","service.error":"Error loading data!","service.type.nf":"NF","service.type.ps":"Platform","service.toast.start.success":"Service sucessfully started!","service.toast.start.error":"Error starting service!","service.toast.stop.success":"Service sucessfully stopped!","service.toast.stop.error":"Error stopping service!","service.toast.restart.success":"Service sucessfully restarted!","service.toast.restart.error":"Error restarting service!","service.toast.enable.success":"Service sucessfully enabled!","service.toast.enable.error":"Error enabling service!","service.toast.disable.success":"Service sucessfully disabled!","service.toast.disable.error":"Error disabling service!","service.dialog.message.stop":"Are you sure to stop {name}?","service.dialog.message.restart":"Are you sure to restart {name}?","service.dialog.message.reset":"All {name} data will be lost. Are you sure?","service.dialog.action.stop":"Stop","service.dialog.action.restart":"Restart","service.dialog.action.reset":"Reset","device_status.noDataHint":"Search for a SUPI to display data","device_status.not_found":"No UE status found","device_status.form.id":"SUPI","device_status.form.errors.required":"SUPI is required","device_status.form.errors.format":"format should be {value}","device_status.form.search":"Search","device_status.tabs.amf":"AMF","device_status.tabs.smf":"SMF","device_status.tabs.upf":"UPF","device_status.tabs.udr":"UDR","device_status.tabs.mme":"MME","device_status.tabs.sgwc":"SGWC","device_status.tabs.pcf":"PCF","device_status.amf":"Access Management","device_status.amf.5gGuti":"GUTI","device_status.amf.supi":"SUPI","device_status.amf.amfUeNgapID":"AMF UE NGAP ID","device_status.amf.ranUeNgapID":"RAN UE NGAP ID","device_status.amf.ueLocation":"UE location","device_status.amf.ueLocation.nrLocation":"NR location","device_status.amf.ueLocation.nrLocation.ncgi":"NCGI (UE location/NR location)","device_status.amf.ueLocation.ncgi.nrCellId":"Nr Cell ID","device_status.amf.ueLocation.ncgi.plmn":"PLMN","device_status.amf.ueLocation.nrLocation.tai":"TAI (UE location/NR location)","device_status.amf.ueLocation.tai.plmn":"PLMN","device_status.amf.ueLocation.tai.tac":"TAC","device_status.amf.smContexts":"SM Contexts","device_status.amf.smContext":"SM Context","device_status.amf.smContexts.dnn":"DNN","device_status.amf.smContexts.pduSessionId":"PDU Session Id","device_status.amf.smContexts.sNssai":"S-NSSAI","device_status.amf.smContexts.sNssai.sd":"SD","device_status.amf.smContexts.sNssai.sst":"SST","device_status.amf.smContexts.upCnxState":"// upCnxState","device_status.amf.ncgi":"NCGI","device_status.amf.tai":"TAI","device_status.amf.cmState":"CM State","device_status.amf.mmState":"MM State","device_status.amf.delete.ok":"Detached ok","device_status.amf.delete.error":"Detached error","device_status.amf.remove":"Remove","device_status.amf.remove.reregister_requested":"Reregister requested","device_status.amf.remove.reregister_not_requested":"Reregister not requested","device_status.smf":"PDU Sessions","device_status.smf.dnn":"DNN","device_status.smf.pduSession":"PDU Session ID","device_status.smf.pduSessionId":"PDU Session ID","device_status.smf.pduSessionType":"PDU Session Type","device_status.smf.sNssai":"S-NSSAI","device_status.smf.sNssai.sd":"SD","device_status.smf.sNssai.sst":"SST","device_status.smf.ue_ipv4_address":"IPv4 Address","device_status.smf.ue_ipv6_prefix":"IPv6 Prefix","device_status.smf.detectedMacAddresses":"Detected mac addresses","device_status.smf.supi":"SUPI","device_status.smf.n4c.localFseid":"N4C - Local FSEID","device_status.smf.n4c.localFseid.ipv4":"IPv4","device_status.smf.n4c.localFseid.ipv6":"IPv6","device_status.smf.n4c.localFseid.seid":"SEID","device_status.smf.n4c.remoteFseid":"N4C - Remote FSEID","device_status.smf.n4c.remoteFseid.ipv4":"IPv4","device_status.smf.n4c.remoteFseid.ipv6":"IPv6","device_status.smf.n4c.remoteFseid.seid":"SEID","device_status.smf.charging":"Charging","device_status.smf.charging.chargingChar":"Charging char","device_status.smf.charging.chargingDataRef":"Charging data ref","device_status.smf.charging.sequenceNum":"Sequence num","device_status.upfSessions":"UPF Sessions","device_status.upfSession.seid":"UPF Session ID","device_status.upfSession.apn_dnn":"APN DNN","device_status.upfSession.pdn_type":"PDN Type","device_status.upfSession.far":"FAR","device_status.upfSession.far.item_id":"FAR","device_status.upfSession.pdr":"PDR","device_status.upfSession.pdr.item_id":"PDR","device_status.upfSession.far.id":"ID","device_status.upfSession.far.apply_actions":"Apply actions","device_status.upfSession.far.forwarding_params":"Forwarding Params","device_status.upfSession.far.forwarding_params.destination_iface":"Destination interface","device_status.upfSession.far.forwarding_params.network_instance":"Network instance","device_status.upfSession.far.forwarding_params.ohc":"OHC","device_status.upfSession.far.forwarding_params.ohc.hdr":"OHC HDR","device_status.upfSession.far.forwarding_params.ohc.ipv4":"OHC IPv4","device_status.upfSession.far.forwarding_params.ohc.ipv6":"OHC IPv6","device_status.upfSession.far.forwarding_params.ohc.teid":"TEID","device_status.upfSession.pdr.far_id":"FAR ID","device_status.upfSession.pdr.id":"ID","device_status.upfSession.pdr.ohr":"OHR","device_status.upfSession.pdr.pdi":"PDI","device_status.upfSession.pdr.pdi.ip":"IP","device_status.upfSession.pdr.pdi.pdi_type":"PDI TYPE","device_status.upfSession.pdr.pdi.teid":"TEID","device_status.upfSession.pdr.pdi.vrf":"VRF","device_status.upfSession.pdr.qfi":"QFI","device_status.upfSession.pdr.source_iface":"Source interface","device_status.upfSession.pdr.network_instance":"Network instance","device_status.upfSession.pdr.vrf_index":"VRF index","device_status.upfSession.pdr.ue_ip_addr":"UE IP addr","device_status.upfSession.pdr.ue_ip_addr.ipv4":"IPv4","device_status.upfSession.pdr.ue_ip_addr.ipv6":"IPv6","device_status.upfSession.pdr.ue_ip_addr.sd":"SD","device_status.upfSessioon.user_id":"User ID","device_status.upfSession.user_id.imsi":"IMSI","device_status.upfSession.user_id.imei":"IMEI","device_status.upfSession.user_id.msisdn":"MSISDN","device_status.upfSession.user_id.nai":"NAI","device_status.upfSession.framed_routes":"Framed routes","device_status.upfSession.managed_routes":"Managed routes","device_status.upfSession.mac_addrs":"Mac addresses","device_status.udrInfo":"UDR","device_status.udrInfo.mwdStatus":"MWD Status","device_status.udrInfo.mwdStatus.host":"Host","device_status.udrSupiStatus.aaa":"AAA","device_status.udrSupiStatus.aaa.dataSubscriptionNotificationFailure":"Data subscription notification failure","device_status.udrSupiStatus.aaa.host":"Host","device_status.udrSupiStatus.aaa.plmn":"PLMN","device_status.udrSupiStatus.aaa.ratType":"RAT Type","device_status.udrSupiStatus.aaa.realm":"Realm","device_status.udrSupiStatus.aaa.registeredAt":"Registered at","device_status.udrSupiStatus.amf":"AMF","device_status.udrSupiStatus.amf.amfInstanceID":"AMF Instance ID","device_status.udrSupiStatus.amf.pei":"PEI","device_status.udrSupiStatus.amf.dataSubscriptionNotificationFailure":"Data subscription notification failure","device_status.udrSupiStatus.amf.ratType":"RAT Type","device_status.udrSupiStatus.amf.registeredAt":"Registered at","device_status.udrSupiStatus.amf.guami":"GUAMI","device_status.udrSupiStatus.amf.guami.amfID":"AMF ID","device_status.udrSupiStatus.amf.guami.plmn":"PLMN","device_status.udrSupiStatus.amf.guami.plmn.mcc":"MCC","device_status.udrSupiStatus.amf.guami.plmn.mnc":"MNC","device_status.udrSupiStatus.amf.guami.plmn.nid":"NID","device_status.udrSupiStatus.mme":"MME","device_status.udrSupiStatus.mme.host":"Host","device_status.udrSupiStatus.mme.realm":"Realm","device_status.udrSupiStatus.mme.pei":"PEI","device_status.udrSupiStatus.mme.registeredForSms":"Registered for SMS","device_status.udrSupiStatus.mme.dataSubscriptionNotificationFailure":"Data subscription notification failure","device_status.udrSupiStatus.mme.ratType":"RAT Type","device_status.udrSupiStatus.mme.plmn":"PLMN","device_status.udrSupiStatus.mme.registeredAt":"Registered at","device_status.udrSupiStatus.sgsn":"SGSN","device_status.udrSupiStatus.sgsn.host":"Host","device_status.udrSupiStatus.sgsn.realm":"Realm","device_status.udrSupiStatus.sgsn.pei":"PEI","device_status.udrSupiStatus.sgsn.dataSubscriptionNotificationFailure":"Data subscription notification failure","device_status.udrSupiStatus.sgsn.ratType":"RAT Type","device_status.udrSupiStatus.sgsn.plmn":"PLMN","device_status.udrSupiStatus.sgsn.registeredAt":"Registered at","device_status.udrSupiStatus.sgsn.address":"Address","device_status.udrSupiStatus.sgsn.number":"Number","device_status.udrSupiStatus.smf":"SMF (InstanceID: {id})","device_status.udrSupiStatus.smf.pdu_sessions":"PDU sessions","device_status.udrSupiStatus.smf.pdu_session":"PDU session - {id}","device_status.udrSupiStatus.smf.pdu_session.dnn":"DNN","device_status.udrSupiStatus.smf.pdu_session.emergency_services":"Emergency services","device_status.udrSupiStatus.smf.pdu_session.registered_at":"Registered at","device_status.udrSupiStatus.smf.pdu_session.single_nssai":"NSSAI","device_status.udrSupiStatus.smf.pdu_session.single_nssai.sd":"SD","device_status.udrSupiStatus.smf.pdu_session.single_nssai.sst":"SST","device_status.udrSupiStatus.vlr":"VLR","device_status.udrSupiStatus.vlr.data_subscription_notification_failure":"Data subscription notification failure","device_status.udrSupiStatus.vlr.msc_number":"MSC number","device_status.udrSupiStatus.vlr.number":"number","device_status.udrSupiStatus.vlr.plmn":"PLMN","device_status.udrSupiStatus.vlr.registered_at":"Registered at","device_status.mme":"MME","device_status.mme.imsi":"IMSI","device_status.mme.imeisv":"IMEISV","device_status.mme.age_of_location_info":"Age of location info (s)","device_status.mme.ecm_state":"ECM state","device_status.mme.emm_state":"EMM state","device_status.mme.last_radio_contact":"Last radio contact","device_status.mme.pending_procedure":"Pending procedure","device_status.mme.sgs_state":"SGS state","device_status.mme.drx":"DRX","device_status.mme.guti":"GUTI","device_status.mme.uli.tai":"ULI - TAI","device_status.mme.uli.tai.plmn":"PLMN","device_status.mme.uli.tai.tac":"TAC","device_status.mme.uli.ecgi":"ULI - ECGI","device_status.mme.uli.ecgi.plmn":"PLMN","device_status.mme.uli.ecgi.eci":"ECI","device_status.mme.profile":"Profile","device_status.mme.profile.hss_host":"HSS host","device_status.mme.profile.hss_realm":"HSS realm","device_status.mme.profile.subscription":"Subscription","device_status.mme.profile.subscription.msisdn":"MSISDN","device_status.mme.profile.subscription.mode":"Mode","device_status.mme.profile.subscription.status":"Status","device_status.mme.profile.subscription.usage_type":"Usage type","device_status.mme.profile.subscription.ue_ambr":"UE AMBR","device_status.mme.profile.subscription.ue_ambr.dl":"DL (bps)","device_status.mme.profile.subscription.ue_ambr.ul":"UL (bps)","device_status.mme.profile.subscription.config":"Config","device_status.mme.profile.subscription.config.default_context_id":"Default context ID","device_status.mme.profile.subscription.config.apns":"APNs","device_status.mme.profile.subscription.config.apn.apn":"APN","device_status.mme.profile.subscription.config.apn.context_id":"Context ID","device_status.mme.profile.subscription.config.apn.pdn_type":"PDN Type","device_status.mme.profile.subscription.config.apn.data_mode":"Data mode","device_status.mme.profile.subscription.config.apn.non_ip":"NON IP","device_status.mme.profile.subscription.config.apn.non_ip_method":"NON IP method","device_status.mme.profile.subscription.config.apn.qos":"QOS","device_status.mme.profile.subscription.config.apn.qos.qci":"QCI","device_status.mme.profile.subscription.config.apn.qos.arp":"ARP","device_status.mme.profile.subscription.config.apn.qos.arp.priority_level":"Priority level","device_status.mme.profile.subscription.config.apn.qos.arp.preemption_capability":"Preemption capability","device_status.mme.profile.subscription.config.apn.qos.arp.preemption_vulnerability":"Preemption vulnerability","device_status.mme.profile.subscription.config.apn.apn_ambr":"APN AMBR","device_status.mme.profile.subscription.config.apn.apn_ambr.ul":"UL (bps)","device_status.mme.profile.subscription.config.apn.apn_ambr.dl":"DL (bps)","device_status.mme.decor":"Decor","device_status.mme.decor.computed_usage_type":"Computed usage type","device_status.mme.decor.rerouted":"Rerouted","device_status.mme.decor.state":"State","device_status.mme.decor.state.static":"Static","device_status.mme.decor.state.hss":"HSS","device_status.mme.decor.state.ue":"UE","device_status.mme.decor.state.mme":"MME","device_status.mme.psm":"PSM","device_status.mme.psm.psm":"PSM","device_status.mme.psm.idle_since_ms":"Idle since (ms)","device_status.mme.psm.t3324":"t3324","device_status.mme.edrx":"EDRX","device_status.mme.edrx.mode":"Mode","device_status.mme.edrx.window":"Window","device_status.mme.edrx.window_s":"Window (s)","device_status.mme.edrx.cycle":"Cycle","device_status.mme.edrx.cycle_s":"Cycle (s)","device_status.mme.esm":"ESM","device_status.mme.esm.sgw_fqdn":"SGW FQDN","device_status.mme.esm.ue_ambr":"UE AMBR","device_status.mme.esm.ue_ambr.ul":"UL (bps)","device_status.mme.esm.ue_ambr.dl":"DL (bps)","device_status.mme.esm.bearers":"Bearers","device_status.mme.esm.bearer":"Bearer","device_status.mme.esm.bearer.ebi":"EBI","device_status.mme.esm.bearer.apn":"APN","device_status.mme.esm.bearer.context_id":"Context ID","device_status.mme.esm.bearer.pdn_addr":"PDN addr","device_status.mme.esm.bearer.apn_ambr":"APN AMBR","device_status.mme.esm.bearer.apn_ambr.ul":"UL (bps)","device_status.mme.esm.bearer.apn_ambr.dl":"DL (bps)","device_status.mme.esm.bearer.rabs":"RABs","device_status.mme.esm.bearer.rab":"RAB","device_status.mme.esm.bearer.rab.ebi":"EBI","device_status.mme.esm.bearer.rab.qos.qci":"QCI","device_status.mme.disconnect":"Disconnect","device_status.mme.detach":"Detach","device_status.mme.detach.reattach_required":"Reattach required","device_status.mme.detach.reattach_not_required":"Reattach not required","device_status.mme.purge":"Purge","device_status.mme.purge.reattach_required":"Reattach required","device_status.mme.purge.reattach_not_required":"Reattach not required","device_status.sgw":"Status Sessions","device_status.sgwc.session":"Session","device_status.sgwc.session.id":"ID","device_status.sgwc.session.id_type":"ID type","device_status.sgwc.session.upf_ip":"UPF IP","device_status.sgwc.session.mme_ip":"MME IP","device_status.sgwc.session.pgw_ip":"PGW IP","device_status.sgwc.session.default_bearer":"Default bearer","device_status.sgwc.session.default_bearer.ebi":"EBI","device_status.sgwc.session.default_bearer.lebi":"LEBI","device_status.sgwc.session.default_bearer.rat":"RAT","device_status.sgwc.session.default_bearer.apn":"APN","device_status.sgwc.session.default_bearer.ambr.uplink":"AMBR - Uplink","device_status.sgwc.session.default_bearer.ambr.downlink":"AMBR - Downlink","device_status.sgwc.session.default_bearer.qos":"QOS","device_status.sgwc.session.default_bearer.qos.ambr.uplink":"AMBR - Uplink","device_status.sgwc.session.default_bearer.qos.ambr.downlink":"AMBR - Downlink","device_status.sgwc.session.default_bearer.qos.arp.preemption_capability":"ARP - Preemption capability","device_status.sgwc.session.default_bearer.qos.arp.preemption_vulnerability":"ARP - Preemption vulnerability","device_status.sgwc.session.default_bearer.qos.arp.priority":"ARP - Priority","device_status.sgwc.session.default_bearer.qos.qci":"QCI","device_status.sgwc.session.dedicated_bearers":"Dedicated bearers","device_status.sgwc.session.dedicated_bearer":"Dedicated bearer","device_status.sgwc.session.dedicated_bearer.ebi":"EBI","device_status.sgwc.session.dedicated_bearer.lebi":"LEBI","device_status.sgwc.session.dedicated_bearer.rat":"RAT","device_status.sgwc.session.dedicated_bearer.apn":"APN","device_status.sgwc.session.dedicated_bearer.ambr.uplink":"AMBR - Uplink","device_status.sgwc.session.dedicated_bearer.ambr.downlink":"AMBR - Downlink","device_status.sgwc.session.dedicated_bearer.qos":"QOS","device_status.sgwc.session.dedicated_bearer.qos.ambr.uplink":"AMBR - Uplink","device_status.sgwc.session.dedicated_bearer.qos.ambr.downlink":"AMBR - Downlink","device_status.sgwc.session.dedicated_bearer.qos.arp.preemption_capability":"ARP - Preemption capability","device_status.sgwc.session.dedicated_bearer.qos.arp.preemption_vulnerability":"ARP - Preemption vulnerability","device_status.sgwc.session.dedicated_bearer.qos.arp.priority":"ARP - Priority","device_status.sgwc.session.dedicated_bearer.qos.qci":"QCI","device_status.reAttach":"Re-attach","device_status.pcf":"PCF","device_status.pcf.pdu_session":"PDU session - {id}","device_status.pcf.pdu_session_id":"PDU session ID","device_status.pcf.pdu_session_type":"PDU session type","device_status.pcf.supi":"SUPI","device_status.pcf.dnn":"DNN","device_status.pcf.ipv4_addr":"IPv4","device_status.pcf.ipv6_addr":"IPv6","device_status.pcf.is_emergency":"Is emergency","device_status.pcf.pei":"PEI","device_status.pcf.plmn":"PLMN","device_status.pcf.snssai":"SNSSAI","device_status.pcf.active_app_sessions":"Active app sessions","device_status.pcf.active_app_session":"Active app session - {id}","device_status.pcf.active_app_sessions.interface_type":"Interface type","device_status.pcf.active_app_sessions.rules":"Rules","device_status.pcf.active_app_sessions.rule":"Rule {id}","device_status.pcf.active_app_sessions.rules.rule_id":"Rule ID","device_status.pcf.active_app_sessions.rules.qos_id":"QoS ID","device_status.pcf.active_app_sessions.rules.qos_5qi":"QoS 5QI","device_status.pcf.active_app_sessions.rules.qos_gbrDl":"QoS gbrDl","device_status.pcf.active_app_sessions.rules.qos_gbrUl":"QoS gbrUl","device_status.pcf.active_app_sessions.rules.qos_maxbrDl":"QoS maxbrDl","device_status.pcf.active_app_sessions.rules.qos_maxbrUl":"QoS maxbrUl","device_status.pcf.active_app_sessions.rules.flow_infos":"Flow infos","device_status.pcf.active_app_sessions.rules.flow_info":"Flow info {id}","device_status.pcf.active_app_sessions.rules.flow_infos.description":"Description","device_status.pcf.active_app_sessions.rules.flow_infos.direction":"Direction","software_update.button.upload":"Upload","software_update.button.restart":"Restart","software_update.button.reset":"Reset","software_update.panel.upload.title":"Software upgrade","software_update.panel.upload.description":"Click on the button below to upload the firmware file (.swu file is required).","software_update.panel.logs.title":"Logs","software_update.panel.upload.not_available":"System upgrade not available","software_update.panel.status.title":"Upgrade status","software_update.panel.restart.title":"Restart","software_update.panel.restart.description":"Click on the button below to restart the machine","software_update.panel.restart.loading":"Restarting...","software_update.alert.title":"DATA WILL BE LOST!","software_update.alert.description":"Backup your data before upgrading","software_update.alert.action":"Backup & Restore","software_update.alert.warning":"Do NOT close the page until the upload process is complete!","software_update.form.title":"Upload file","software_update.form.file":"File","software_update.form.file.required":"Required","software_update.form.description":"Upload the file with the firmware you want to install (.swu file is required)","software_update.dialog.completed.title.success":"Upgrade successed","software_update.dialog.completed.title.failed":"Upgrade failed","software_update.dialog.completed.title.unknown":"Upgrade terminated","software_update.dialog.completed.content.success":"Upgrade completed succesfully. To see the upgraded software, please reboot the system.","software_update.dialog.completed.content.success.action":"Reboot now","software_update.dialog.completed.content.failed":"Upgrade failed. Check logs for more details.","software_update.dialog.completed.content.unknown":"Upgrade terminated with unknown status.","software_update.dialog.restart.content":"Restarting...","software_update.dialog.action.home":"Go home","log_shipping.form.title":"Log Shipping Configuration","log_shipping.form.host":"Host","log_shipping.form.port":"Port","log_shipping.form.compress":"Compress","log_shipping.form.save":"Save","log_shipping.form.cancel":"Reset","kpi_shipping.buttons.new_external_label":"New","kpi_shipping.buttons.new_remote_write":"New","kpi_shipping.external_labels.section_title":"External Labels","kpi_shipping.external_labels.table.key":"Key","kpi_shipping.external_labels.table.value":"Value","kpi_shipping.external_labels.table.actions.edit":"Edit","kpi_shipping.external_labels.table.actions.delete":"Delete","kpi_shipping.new_external_label.form.key":"Key","kpi_shipping.new_external_label.form.value":"Value","kpi_shipping.new_external_label.form.errors.required":"Field is required","kpi_shipping.new_external_label.form.buttons.cancel":"Cancel","kpi_shipping.new_external_label.form.buttons.save":"Save","kpi_shipping.new_external_label.dialog.title":"New External label","kpi_shipping.edit_external_label.dialog.title":"Edit External Label","kpi_shipping.delete_external_label.dialog.title":"Delete External Label","kpi_shipping.delete_external_label.dialog.confirm":'Are you sure to delete external label with key = "{key}"?',"kpi_shipping.dialog.configuration_update_ok":"Configuration updated correctly","kpi_shipping.dialog.configuration_update_ko":"Problem on updating configuration","kpi_shipping.remote_writes.section_title":"Remote Writes","kpi_shipping.remote_writes.table.name":"Name","kpi_shipping.remote_writes.table.url":"URL","kpi_shipping.remote_writes.table.proxy_url":"Proxy URL","kpi_shipping.remote_writes.table.tls_insecure_skip_verify":"Skip TLS Verify","kpi_shipping.remote_writes.table.actions.edit":"Edit","kpi_shipping.remote_writes.table.actions.delete":"Delete","kpi_shipping.new_remote_write.form.name":"Name","kpi_shipping.new_remote_write.form.url":"URL","kpi_shipping.new_remote_write.form.proxy_url":"Proxy URL","kpi_shipping.new_remote_write.form.tls_insecure_skip_verify":"Skip TLS Verify","kpi_shipping.new_remote_write.form.errors.required":"Field is required","kpi_shipping.new_remote_write.form.buttons.cancel":"Cancel","kpi_shipping.new_remote_write.form.buttons.save":"Save","kpi_shipping.new_remote_write.form.basic_auth.add":"Add Basic Auth","kpi_shipping.new_remote_write.form.basic_auth.remove":"Remove Basic Auth","kpi_shipping.new_remote_write.form.basic_auth.username":"Username","kpi_shipping.new_remote_write.form.basic_auth.password":"Password","kpi_shipping.new_remote_write.dialog.title":"New Remote Write","kpi_shipping.edit_remote_write.dialog.title":"Edit Remote Write","kpi_shipping.delete_remote_write.dialog.title":"Delete Remote Write","kpi_shipping.delete_remote_write.dialog.confirm":'Are you sure to delete remote write with name = "{name}"?',"long_string_displayer.message.copy":"Copy into the clipboard","long_string_displayer.message.copy_ok":"Text has been copied into the clipboard","not_found.message":"Page not found!","dialog_with_form.buttons.cancel":"Cancel","dialog_with_form.buttons.submit":"Submit","bootstrap_route.service_status_offline":"Service status is offline.","bootstrap_route.refresh_and_contact_support":"Try to refresh the page or contact the support.","pls.tls.configuration.title":"TLS Configuration","pls.tls.configuration.form.client_auth":"Client Authentication","pls.tls.configuration.form.enabled":"Enabled","pls.tls.configuration.form.apply":"Apply configuration","pls.tls.configuration.form.apply_ok":"Configuration applied correctly","pls.tls.configuration.form.apply_ko":"Error on applying configuration","pls.tls.configuration.error":"Error loading configuration","pls.tls.certificates.client.title":"Update Client CA Certificate","pls.tls.certificates.client.form.update_ok":"Client Certificate updated correctly","pls.tls.certificates.client.form.update_ko":"Error on updating Client certificate","pls.tls.certificates.server.title":"Update Server Certificate","pls.tls.certificates.server.form.update_ok":"Servert Certificate updated correctly","pls.tls.certificates.server.form.update_ko":"Error on updating Server certificate","pls.tls.certificates.client.form.update":"Update Client CA Certificate","pls.tls.certificates.server.form.update":"Update Server Certificate","pls.tls.certificates.form.cert_file":"Certificate file","pls.tls.certificates.form.key_file":"Key file","pls.tls.certificates.form.file":"Select file","pls.tls.certificates.form.error.file_required":"File is required","terminal.toolbar.files":"Files","terminal.drawer.files.title":"Files","terminal.drawer.files.download.tooltip":"Download","terminal.drawer.files.message.noData":"No files available","troubleshoot_dump.toolbar.dump":"Schedule dump","troubleshoot_dump.no_data":"No dump schedule found","troubleshoot_dump.form.title":"New dump","troubleshoot_dump.form.start_at":"From","troubleshoot_dump.form.end_at":"Until","troubleshoot_dump.form.end_at.validation":"Until time cannot be before from time","troubleshoot_dump.form.include_logs":"Include logs","troubleshoot_dump.form.include_metrics":"Include metrics","troubleshoot_dump.form.submit":"Schedule","troubleshoot_dump.table.action_id":"Action ID","troubleshoot_dump.table.status":"Status","troubleshoot_dump.table.start_at":"Start at","troubleshoot_dump.table.end_at":"End at","troubleshoot_dump.table.created_at":"Created at","troubleshoot_dump.table.size":"Size","troubleshoot_dump.table.actions.download":"Download","troubleshoot_dump.table.actions.delete":"Delete","troubleshoot_dump.dialog.delete.title":"Delete dump","troubleshoot_dump.dialog.delete.description":"Are you sure to delete dump {id}?","restart.progress.title":"Restarting...","darkmode.title":"Appearance","darkmode.light":"Light","darkmode.dark":"Dark","darkmode.system":"System","route.diameter":"Diameter","route.diameter.connections":"Connections","route.diameter.peers":"Peers","route.ngap":"NGAP","route.ngap.connections":"Connections","route.ngap.listeners":"Listeners","route.gtpc.sockets":"Sockets","route.gtpc.peers":"Peers","route.gtpc.denypeer.blocked_peers":"Blocked Peers","route.gtpu.sockets":"Sockets","route.pfcp.sockets":"Sockets","route.pfcp.peers":"Peers","route.mme":"MME","route.mme.status":"Status","route.mme.status.diameter":"Diameter","route.mme.status.s1ap":"S1AP","route.mme.status.s1ap.connections":"Connections","route.mme.status.s1ap.listeners":"Listeners","route.mme.status.gtpc":"GTP-C","route.mme.status.pfcp":"PFCP","route.mme.status.gtpu":"GTP-U","route.mme.status.gtpu.sockets":"Sockets","route.mme.status.sgs":"SGs","route.mme.status.sgs.connections":"Connections","route.mme.status.sbcap":"SBcAP","route.mme.status.sbcap.connections":"Connections","route.mme.status.sbcap.listeners":"Listeners","route.mme.status.dns":"DNS","route.mme.status.dns.cache":"Cache","route.mme.cluster":"Cluster","route.mme.configuration":"Configuration","route.mme.lawful-interception":"Lawful Interception","route.mme.status.m3":"M3","route.mme.status.m3.connections":"Connections","route.ncm.status.interfaces":"Interfaces","route.ncm.status.neighbors":"Neighbors","route.ncm.status.routes":"Routes","route.ncm.status.rules":"Rules","route.ncm.status.sockets":"Sockets","route.ncm.status.bird":"Dynamic Routing","route.ncm.status.bird.protocols":"Protocols","route.ncm.status.bird.bfd_sessions":"BFD Sessions","route.smf.status.gtpc":"GTP-C","route.smf.status.gtpu":"GTP-U","route.smf.status.pfcp":"PFCP","route.smf.lawful-interception":"Lawful Interception","route.smsf.smpp":"SMPP","route.smsf.smpp.connections":"Connections","route.smsf.configuration":"Configuration","route.smsf.status":"Status","route.smsf.cluster":"Cluster","route.smsf.sms-box":"SMS Box","route.sgwc.status.gtpc":"GTP-C","route.sgwc.status.pfcp":"PFCP","route.upf.status.pfcp":"PFCP","route.upf.status.gtpu":"GTP-U","route.boot-configuration":"Boot Configuration","route.new":"New","route.edit":"Edit","route.home":"Home","route.profile":"Profile","route.ncm":"Network","route.ncm.configuration":"Configuration","route.ncm.status":"Status","route.platform":"Platform","route.platform.auth":"Auth","route.platform.users":"Users","route.platform.roles":"Roles","route.platform.tls":"TLS","route.platform.log-shipping":"Log Shipping","route.platform.kpi-shipping":"KPI Shipping","route.platform.boot-configuration":"Boot Configuration","route.platform.cluster":"Cluster","route.system":"System","route.system.licensing":"Licensing","route.system.backup":"Backup & Restore","route.system.backup.configuration":"Configuration","route.system.backup.udr":"UDR","route.system.backup.eir":"EIR","route.system.backup.dsm":"DSM","route.system.backup.udm":"UDM","route.system.backup.nrf":"NRF","route.system.services":"Services","route.system.upgrade":"Upgrade","route.system.terminal":"Terminal","route.system.logs":"Logs","route.system.logs.entries":"Entries","route.system.logs.follow":"Follow","route.system.logs.cursor":"Log Entry","route.system.logs.cursor.caption":"__CURSOR: {cursor}","route.system.dialog.restart.title":"Restart","route.system.dialog.restart.text":"If you continue, the system will be restarted. Are you sure you want to proceed?","route.monitoring":"Monitoring","route.monitoring.system":"System","route.monitoring.core-statistics":"Core","route.monitoring.ue-status":"UE Status","route.monitoring.alerts":"Alerts","route.udr":"UDR","route.udr.configuration":"Configuration","route.udr.plmns":"Supported PLMNs","route.udr.supis":"SUPIs","route.udr.supis.new":"New SUPI","route.udr.supis.id":"SUPI","route.udr.supis.id.caption":"ID: {id}","route.udr.provisioned-data-profile":"Provisioned Data Profiles","route.udr.provisioned-data-profile.new":"New Provisioned Data Profiles","route.udr.provisioned-data-profile.id":"Provisioned Data Profile","route.udr.provisioned-data-profile.id.caption":"ID: {id}","route.udr.policy-data-profile":"Policy Data Profiles","route.udr.policy-data-profile.new":"New Policy Data Profile","route.udr.policy-data-profile.id":"Policy Data Profile","route.udr.policy-data-profile.id.caption":"ID: {id}","route.udr.ims-application-server-acls":"IMS Application Server ACLs","route.udr.ims-private-identities":"IMS Private Identities","route.udr.ims-private-identities.new":"New Private Identity","route.udr.ims-private-identities.id":"Private Identity","route.udr.ims-private-identities.id.caption":"ID: {id}","route.udr.ims-private-identities.id.application-servers-profiles":"Application Servers Profiles","route.udr.ims-private-identities.id.application-servers-profiles.caption":"Name: {name}","route.udr.ims-service-profiles":"IMS Service Profiles","route.udr.ims-initial-filters":"IMS Initial Filters","route.udr.transport-keys":"Transport Keys","route.udr.operator-codes":"Operator Codes","route.udr.cluster":"Cluster","route.udr.custom-milenage-constants":"Custom MILENAGE Constants","route.udm":"UDM","route.udm.configuration":"Configuration","route.udm.home-network-keys":"Home Network Keys","route.udm.cluster":"Cluster","route.udm.status":"Status","route.udm.plmn-prefixes":"PLMN Prefixes","route.eir":"EIR","route.eir.configuration":"Configuration","route.eir.rules":"Rules","route.eir.auto-rules":"Auto rules","route.eir.cluster":"Cluster","route.eir.status":"Status","route.chf":"CHF","route.chf.status":"Status","route.chf.cluster":"Cluster","route.chf.configuration":"Configuration","route.chf.status.gtp_prime":"GTP'","route.nrf":"NRF","route.nrf.configuration":"Configuration","route.nrf.static-profiles":"Static Profiles","route.nrf.static-profiles.new":"New Static Profile","route.nrf.static-profiles.id":"Static Profile","route.nrf.static-profiles.id.caption":"NF Instance ID: {id}","route.nrf.cluster":"Cluster","route.nrf.status":"Status","route.aaa":"AAA","route.aaa.cluster":"Cluster","route.aaa.configuration":"Configuration","route.aaa.status":"Status","route.aaa.status.radius":"Radius","route.amf":"AMF","route.amf.cluster":"Cluster","route.amf.configuration":"Configuration","route.amf.status":"Status","route.smf":"SMF","route.smf.status":"Status","route.smf.configuration":"Configuration","route.smf.cluster":"Cluster","route.smsf":"SMSF","route.upf":"UPF","route.upf.cluster":"Cluster","route.upf.configuration":"Configuration","route.upf.status":"Status","route.upf.lawful-interception":"Lawful Interception","route.pcf":"PCF","route.pcf.cluster":"Cluster","route.pcf.configuration":"Configuration","route.pcf.status":"Status","route.ausf":"AUSF","route.ausf.cluster":"Cluster","route.ausf.configuration":"Configuration","route.dra":"DRA","route.dra.cluster":"Cluster","route.dra.configuration":"Configuration","route.dra.status":"Status","route.dsm":"DNS","route.dsm.configuration":"Configuration","route.dsm.zones":"Zones","route.dsm.cluster":"Cluster","route.sgwc":"SGW","route.sgwc.status":"Status","route.sgwc.cluster":"Cluster","route.sgwc.configuration":"Configuration","route.bmsc":"BMSC","route.bmsc.status":"Status","route.bmsc.cluster":"Cluster","route.bmsc.configuration":"Configuration","route.bmsc.status.gtpc":"GTP-C","route.restart":"Restart","route.docs":"Guides","route.docs.datasheet":"Datasheet","route.docs.feature-description":"Feature Description","route.docs.installation-guide":"Installation Guide","route.docs.monitoring-guide":"Monitoring Guide","route.docs.product-description":"Product Description","route.docs.release-notes":"Release Notes","route.docs.security-guide":"Security Guide","route.docs.troubleshooting-guide":"Troubleshooting Guide","route.docs.user-guide":"User Guide","route.docs.oas":"OpenAPI Specifications","route.docs.oas.aaa":"AAA","route.docs.oas.amf":"AMF","route.docs.oas.ausf":"AUSF","route.docs.oas.bmsc":"BMSC","route.docs.oas.chf":"CHF","route.docs.oas.dra":"DRA","route.docs.oas.dsm":"DSM","route.docs.oas.eir":"EIR","route.docs.oas.licensed":"LICENSED","route.docs.oas.mme":"MME","route.docs.oas.ncm":"NCM","route.docs.oas.nrf":"NRF","route.docs.oas.pcf":"PCF","route.docs.oas.pls":"PLS","route.docs.oas.sgwc":"SGWC","route.docs.oas.smf":"SMF","route.docs.oas.smsf":"SMSF","route.docs.oas.udm":"UDM","route.docs.oas.udr":"UDR","route.docs.oas.upf":"UPF","route.docs.oas.swUpdate":"Software Update","route.pls":"PLS","route.platform.audit":"Audit","route.platform.alert-shipping":"Alert Shipping","route.platform.audit.caption":"User: {username}","idle-state.modal.title":"Are you still there?","idle-state.modal.message":"You've been inactive for a while. Your session will expire soon.","idle-state.modal.continue":"I'm here","audits.action":"Action","audits.auth":"Auth","audits.auth.allowed":"Allowed","audits.auth.denied":"Denied","audits.created_at":"Timestamp","audits.source_ip":"Source IP","system_usage_terms.title":"Terms & conditions","system_usage_terms.form.checkbox.hint":"Enable/disable terms & conditions banner inside login page","system_usage_terms.form.terms":"Terms","system_usage_terms.form.errors.required":"Field is required","system_usage_terms.form.forbidden_notice":"Forbidden notice","system_usage_terms.form.forbidden_notice.alert":"Forbidden notice will be shown inside a warning alert","system_usage_terms.checkbox.accept":"Accept terms & conditions","route.auth.strategies":"Authentication strategies","route.auth.auth_config":"Authentication configuration","route.auth.terms":"Terms & conditions","route.boot_partitions":"Boot Partitions","route.system.dialog.boot_partitions.title":"Boot partitions","route.system.dialog.boot_partitions.subtitle":"Select default boot partition","route.system.dialog.confirm_reboot.title":"System reboot","route.system.dialog.confirm_reboot.description":"To change default partition system must be rebooted. Do you want to proceed?","route.system.troubleshoot_dump":"Troubleshoot Dump"},Eoe={en:hDe,it:_De},zE="en-US",Roe=t=>t.split("-")[0],Ioe=()=>{let t;try{t=Intl.getCanonicalLocales([navigator.language])[0]}catch{console.warn(`Invalid locale detected "${navigator.language}". Used default one "${zE}".`),t=zE}return Roe(t)in Eoe?t:zE},Doe=t=>Eoe[Roe(t)],Pr=()=>{const t=Ioe(),e=Doe(t);return C6({locale:t,messages:e})};let AC=null;function vDe({snackbarOpenFn:t}){AC||(AC=new Proxy({props:{}},{set(e,r,n){return r==="props"?(e.props=n,t(n),!0):!1}}))}function zL(t){AC&&(AC.props=t)}function Nt(t){zL({title:t||Pr().formatMessage({id:"toastr.successful"}),severity:"success"})}function Ar(t){zL({title:t||Pr().formatMessage({id:"toastr.failure"}),severity:"error"})}function yDe(){const t=he.c(3),{snackbarOpen:e}=Jt();let r,n;return t[0]!==e?(r=()=>{vDe({snackbarOpenFn:e})},n=[e],t[0]=e,t[1]=r,t[2]=n):(r=t[1],n=t[2]),I.useEffect(r,n),null}function zs(){return zs=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},zs.apply(this,arguments)}var $i;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})($i||($i={}));const qG="popstate";function bDe(t){t===void 0&&(t={});function e(n,s){let{pathname:i,search:o,hash:l}=n.location;return Yb("",{pathname:i,search:o,hash:l},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function r(n,s){return typeof s=="string"?s:Cp(s)}return SDe(e,r,null,t)}function Jr(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function H_(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function xDe(){return Math.random().toString(36).substr(2,8)}function VG(t,e){return{usr:t.state,key:t.key,idx:e}}function Yb(t,e,r,n){return r===void 0&&(r=null),zs({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?Op(e):e,{state:r,key:e&&e.key||n||xDe()})}function Cp(t){let{pathname:e="/",search:r="",hash:n=""}=t;return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Op(t){let e={};if(t){let r=t.indexOf("#");r>=0&&(e.hash=t.substr(r),t=t.substr(0,r));let n=t.indexOf("?");n>=0&&(e.search=t.substr(n),t=t.substr(0,n)),t&&(e.pathname=t)}return e}function SDe(t,e,r,n){n===void 0&&(n={});let{window:s=document.defaultView,v5Compat:i=!1}=n,o=s.history,l=$i.Pop,c=null,u=d();u==null&&(u=0,o.replaceState(zs({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function f(){l=$i.Pop;let g=d(),y=g==null?null:g-u;u=g,c&&c({action:l,location:_.location,delta:y})}function p(g,y){l=$i.Push;let b=Yb(_.location,g,y);u=d()+1;let x=VG(b,u),w=_.createHref(b);try{o.pushState(x,"",w)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;s.location.assign(w)}i&&c&&c({action:l,location:_.location,delta:1})}function m(g,y){l=$i.Replace;let b=Yb(_.location,g,y);u=d();let x=VG(b,u),w=_.createHref(b);o.replaceState(x,"",w),i&&c&&c({action:l,location:_.location,delta:0})}function h(g){let y=s.location.origin!=="null"?s.location.origin:s.location.href,b=typeof g=="string"?g:Cp(g);return b=b.replace(/ $/,"%20"),Jr(y,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,y)}let _={get action(){return l},get location(){return t(s,o)},listen(g){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(qG,f),c=g,()=>{s.removeEventListener(qG,f),c=null}},createHref(g){return e(s,g)},createURL:h,encodeLocation(g){let y=h(g);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:p,replace:m,go(g){return o.go(g)}};return _}var Cs;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Cs||(Cs={}));const wDe=new Set(["lazy","caseSensitive","path","id","index","children"]);function CDe(t){return t.index===!0}function kC(t,e,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),t.map((s,i)=>{let o=[...r,String(i)],l=typeof s.id=="string"?s.id:o.join("-");if(Jr(s.index!==!0||!s.children,"Cannot specify children on an index route"),Jr(!n[l],'Found a route id collision on id "'+l+`".  Route id's must be globally unique within Data Router usages`),CDe(s)){let c=zs({},s,e(s),{id:l});return n[l]=c,c}else{let c=zs({},s,e(s),{id:l,children:void 0});return n[l]=c,s.children&&(c.children=kC(s.children,e,o,n)),c}})}function zm(t,e,r){return r===void 0&&(r="/"),Gw(t,e,r,!1)}function Gw(t,e,r,n){let s=typeof e=="string"?Op(e):e,i=Lc(s.pathname||"/",r);if(i==null)return null;let o=Ooe(t);ADe(o);let l=null;for(let c=0;l==null&&c<o.length;++c){let u=ODe(i);l=DDe(o[c],u,n)}return l}function $oe(t,e){let{route:r,pathname:n,params:s}=t;return{id:r.id,pathname:n,params:s,data:e[r.id],handle:r.handle}}function Ooe(t,e,r,n){e===void 0&&(e=[]),r===void 0&&(r=[]),n===void 0&&(n="");let s=(i,o,l)=>{let c={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};c.relativePath.startsWith("/")&&(Jr(c.relativePath.startsWith(n),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(n.length));let u=$u([n,c.relativePath]),d=r.concat(c);i.children&&i.children.length>0&&(Jr(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Ooe(i.children,e,d,u)),!(i.path==null&&!i.index)&&e.push({path:u,score:RDe(u,i.index),routesMeta:d})};return t.forEach((i,o)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))s(i,o);else for(let c of Loe(i.path))s(i,o,c)}),e}function Loe(t){let e=t.split("/");if(e.length===0)return[];let[r,...n]=e,s=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return s?[i,""]:[i];let o=Loe(n.join("/")),l=[];return l.push(...o.map(c=>c===""?i:[i,c].join("/"))),s&&l.push(...o),l.map(c=>t.startsWith("/")&&c===""?"/":c)}function ADe(t){t.sort((e,r)=>e.score!==r.score?r.score-e.score:IDe(e.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const kDe=/^:[\w-]+$/,MDe=3,PDe=2,jDe=1,TDe=10,EDe=-2,HG=t=>t==="*";function RDe(t,e){let r=t.split("/"),n=r.length;return r.some(HG)&&(n+=EDe),e&&(n+=PDe),r.filter(s=>!HG(s)).reduce((s,i)=>s+(kDe.test(i)?MDe:i===""?jDe:TDe),n)}function IDe(t,e){return t.length===e.length&&t.slice(0,-1).every((n,s)=>n===e[s])?t[t.length-1]-e[e.length-1]:0}function DDe(t,e,r){r===void 0&&(r=!1);let{routesMeta:n}=t,s={},i="/",o=[];for(let l=0;l<n.length;++l){let c=n[l],u=l===n.length-1,d=i==="/"?e:e.slice(i.length)||"/",f=MC({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),p=c.route;if(!f&&u&&r&&!n[n.length-1].route.index&&(f=MC({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},d)),!f)return null;Object.assign(s,f.params),o.push({params:s,pathname:$u([i,f.pathname]),pathnameBase:FDe($u([i,f.pathnameBase])),route:p}),f.pathnameBase!=="/"&&(i=$u([i,f.pathnameBase]))}return o}function MC(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[r,n]=$De(t.path,t.caseSensitive,t.end),s=e.match(r);if(!s)return null;let i=s[0],o=i.replace(/(.)\/+$/,"$1"),l=s.slice(1);return{params:n.reduce((u,d,f)=>{let{paramName:p,isOptional:m}=d;if(p==="*"){let _=l[f]||"";o=i.slice(0,i.length-_.length).replace(/(.)\/+$/,"$1")}const h=l[f];return m&&!h?u[p]=void 0:u[p]=(h||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:t}}function $De(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!0),H_(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 n=[],s="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,l,c)=>(n.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(n.push({paramName:"*"}),s+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?s+="\\/*$":t!==""&&t!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,e?void 0:"i"),n]}function ODe(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return H_(!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 Lc(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,n=t.charAt(r);return n&&n!=="/"?null:t.slice(r)||"/"}function LDe(t,e){e===void 0&&(e="/");let{pathname:r,search:n="",hash:s=""}=typeof t=="string"?Op(t):t;return{pathname:r?r.startsWith("/")?r:NDe(r,e):e,search:UDe(n),hash:BDe(s)}}function NDe(t,e){let r=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(s=>{s===".."?r.length>1&&r.pop():s!=="."&&r.push(s)}),r.length>1?r.join("/"):"/"}function qE(t,e,r,n){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(n)+"].  Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Noe(t){return t.filter((e,r)=>r===0||e.route.path&&e.route.path.length>0)}function LA(t,e){let r=Noe(t);return e?r.map((n,s)=>s===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function NA(t,e,r,n){n===void 0&&(n=!1);let s;typeof t=="string"?s=Op(t):(s=zs({},t),Jr(!s.pathname||!s.pathname.includes("?"),qE("?","pathname","search",s)),Jr(!s.pathname||!s.pathname.includes("#"),qE("#","pathname","hash",s)),Jr(!s.search||!s.search.includes("#"),qE("#","search","hash",s)));let i=t===""||s.pathname==="",o=i?"/":s.pathname,l;if(o==null)l=r;else{let f=e.length-1;if(!n&&o.startsWith("..")){let p=o.split("/");for(;p[0]==="..";)p.shift(),f-=1;s.pathname=p.join("/")}l=f>=0?e[f]:"/"}let c=LDe(s,l),u=o&&o!=="/"&&o.endsWith("/"),d=(i||o===".")&&r.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const $u=t=>t.join("/").replace(/\/\/+/g,"/"),FDe=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),UDe=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,BDe=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,Ft=function(e,r){r===void 0&&(r={});let n=typeof r=="number"?{status:r}:r,s=new Headers(n.headers);return s.has("Content-Type")||s.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),zs({},n,{headers:s}))};class L6 extends Error{}class zDe{constructor(e,r){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Jr(e&&typeof e=="object"&&!Array.isArray(e),"defer() only accepts plain objects");let n;this.abortPromise=new Promise((i,o)=>n=o),this.controller=new AbortController;let s=()=>n(new L6("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",s),this.controller.signal.addEventListener("abort",s),this.data=Object.entries(e).reduce((i,o)=>{let[l,c]=o;return Object.assign(i,{[l]:this.trackPromise(l,c)})},{}),this.done&&this.unlistenAbortSignal(),this.init=r}trackPromise(e,r){if(!(r instanceof Promise))return r;this.deferredKeys.push(e),this.pendingKeysSet.add(e);let n=Promise.race([r,this.abortPromise]).then(s=>this.onSettle(n,e,void 0,s),s=>this.onSettle(n,e,s));return n.catch(()=>{}),Object.defineProperty(n,"_tracked",{get:()=>!0}),n}onSettle(e,r,n,s){if(this.controller.signal.aborted&&n instanceof L6)return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>n}),Promise.reject(n);if(this.pendingKeysSet.delete(r),this.done&&this.unlistenAbortSignal(),n===void 0&&s===void 0){let i=new Error('Deferred data for key "'+r+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:()=>i}),this.emit(!1,r),Promise.reject(i)}return s===void 0?(Object.defineProperty(e,"_error",{get:()=>n}),this.emit(!1,r),Promise.reject(n)):(Object.defineProperty(e,"_data",{get:()=>s}),this.emit(!1,r),s)}emit(e,r){this.subscribers.forEach(n=>n(e,r))}subscribe(e){return this.subscribers.add(e),()=>this.subscribers.delete(e)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((e,r)=>this.pendingKeysSet.delete(r)),this.emit(!0)}async resolveData(e){let r=!1;if(!this.done){let n=()=>this.cancel();e.addEventListener("abort",n),r=await new Promise(s=>{this.subscribe(i=>{e.removeEventListener("abort",n),(i||this.done)&&s(i)})})}return r}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Jr(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((e,r)=>{let[n,s]=r;return Object.assign(e,{[n]:VDe(s)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function qDe(t){return t instanceof Promise&&t._tracked===!0}function VDe(t){if(!qDe(t))return t;if(t._error)throw t._error;return t._data}const Foe=function(e,r){r===void 0&&(r={});let n=typeof r=="number"?{status:r}:r;return new zDe(e,n)},rt=function(e,r){r===void 0&&(r=302);let n=r;typeof n=="number"?n={status:n}:typeof n.status>"u"&&(n.status=302);let s=new Headers(n.headers);return s.set("Location",e),new Response(null,zs({},n,{headers:s}))};class PC{constructor(e,r,n,s){s===void 0&&(s=!1),this.status=e,this.statusText=r||"",this.internal=s,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function Ch(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const Uoe=["post","put","patch","delete"],HDe=new Set(Uoe),GDe=["get",...Uoe],WDe=new Set(GDe),YDe=new Set([301,302,303,307,308]),KDe=new Set([307,308]),VE={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Boe={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},xy={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},qL=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,QDe=t=>({hasErrorBoundary:!!t.hasErrorBoundary}),zoe="remix-router-transitions";function ZDe(t){const e=t.window?t.window:typeof window<"u"?window:void 0,r=typeof e<"u"&&typeof e.document<"u"&&typeof e.document.createElement<"u",n=!r;Jr(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(t.mapRouteProperties)s=t.mapRouteProperties;else if(t.detectErrorBoundary){let Pe=t.detectErrorBoundary;s=Ae=>({hasErrorBoundary:Pe(Ae)})}else s=QDe;let i={},o=kC(t.routes,s,void 0,i),l,c=t.basename||"/",u=t.dataStrategy||t6e,d=t.patchRoutesOnNavigation,f=zs({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},t.future),p=null,m=new Set,h=null,_=null,g=null,y=t.hydrationData!=null,b=zm(o,t.history.location,c),x=!1,w=null;if(b==null&&!d){let Pe=Ma(404,{pathname:t.history.location.pathname}),{matches:Ae,route:ze}=rW(o);b=Ae,w={[ze.id]:Pe}}b&&!t.hydrationData&&Zt(b,o,t.history.location.pathname).active&&(b=null);let C;if(b)if(b.some(Pe=>Pe.route.lazy))C=!1;else if(!b.some(Pe=>Pe.route.loader))C=!0;else if(f.v7_partialHydration){let Pe=t.hydrationData?t.hydrationData.loaderData:null,Ae=t.hydrationData?t.hydrationData.errors:null;if(Ae){let ze=b.findIndex(_t=>Ae[_t.route.id]!==void 0);C=b.slice(0,ze+1).every(_t=>!F6(_t.route,Pe,Ae))}else C=b.every(ze=>!F6(ze.route,Pe,Ae))}else C=t.hydrationData!=null;else if(C=!1,b=[],f.v7_partialHydration){let Pe=Zt(null,o,t.history.location.pathname);Pe.active&&Pe.matches&&(x=!0,b=Pe.matches)}let k,A={historyAction:t.history.action,location:t.history.location,matches:b,initialized:C,navigation:VE,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||w,fetchers:new Map,blockers:new Map},P=$i.Pop,T=!1,j,R=!1,D=new Map,O=null,N=!1,F=!1,U=[],z=new Set,H=new Map,W=0,K=-1,q=new Map,X=new Set,Q=new Map,Y=new Map,Z=new Set,re=new Map,fe=new Map,de;function se(){if(p=t.history.listen(Pe=>{let{action:Ae,location:ze,delta:_t}=Pe;if(de){de(),de=void 0;return}H_(fe.size===0||_t!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let jt=hr({currentLocation:A.location,nextLocation:ze,historyAction:Ae});if(jt&&_t!=null){let Gt=new Promise(Yt=>{de=Yt});t.history.go(_t*-1),ar(jt,{state:"blocked",location:ze,proceed(){ar(jt,{state:"proceeding",proceed:void 0,reset:void 0,location:ze}),Gt.then(()=>t.history.go(_t))},reset(){let Yt=new Map(A.blockers);Yt.set(jt,xy),J({blockers:Yt})}});return}return ve(Ae,ze)}),r){h6e(e,D);let Pe=()=>g6e(e,D);e.addEventListener("pagehide",Pe),O=()=>e.removeEventListener("pagehide",Pe)}return A.initialized||ve($i.Pop,A.location,{initialHydration:!0}),k}function le(){p&&p(),O&&O(),m.clear(),j&&j.abort(),A.fetchers.forEach((Pe,Ae)=>ft(Ae)),A.blockers.forEach((Pe,Ae)=>qt(Ae))}function ee(Pe){return m.add(Pe),()=>m.delete(Pe)}function J(Pe,Ae){Ae===void 0&&(Ae={}),A=zs({},A,Pe);let ze=[],_t=[];f.v7_fetcherPersist&&A.fetchers.forEach((jt,Gt)=>{jt.state==="idle"&&(Z.has(Gt)?_t.push(Gt):ze.push(Gt))}),Z.forEach(jt=>{!A.fetchers.has(jt)&&!H.has(jt)&&_t.push(jt)}),[...m].forEach(jt=>jt(A,{deletedFetchers:_t,viewTransitionOpts:Ae.viewTransitionOpts,flushSync:Ae.flushSync===!0})),f.v7_fetcherPersist?(ze.forEach(jt=>A.fetchers.delete(jt)),_t.forEach(jt=>ft(jt))):_t.forEach(jt=>Z.delete(jt))}function me(Pe,Ae,ze){var _t,jt;let{flushSync:Gt}=ze===void 0?{}:ze,Yt=A.actionData!=null&&A.navigation.formMethod!=null&&kc(A.navigation.formMethod)&&A.navigation.state==="loading"&&((_t=Pe.state)==null?void 0:_t._isRedirect)!==!0,Rt;Ae.actionData?Object.keys(Ae.actionData).length>0?Rt=Ae.actionData:Rt=null:Yt?Rt=A.actionData:Rt=null;let At=Ae.loaderData?eW(A.loaderData,Ae.loaderData,Ae.matches||[],Ae.errors):A.loaderData,zt=A.blockers;zt.size>0&&(zt=new Map(zt),zt.forEach((ct,ke)=>zt.set(ke,xy)));let or=T===!0||A.navigation.formMethod!=null&&kc(A.navigation.formMethod)&&((jt=Pe.state)==null?void 0:jt._isRedirect)!==!0;l&&(o=l,l=void 0),N||P===$i.Pop||(P===$i.Push?t.history.push(Pe,Pe.state):P===$i.Replace&&t.history.replace(Pe,Pe.state));let ot;if(P===$i.Pop){let ct=D.get(A.location.pathname);ct&&ct.has(Pe.pathname)?ot={currentLocation:A.location,nextLocation:Pe}:D.has(Pe.pathname)&&(ot={currentLocation:Pe,nextLocation:A.location})}else if(R){let ct=D.get(A.location.pathname);ct?ct.add(Pe.pathname):(ct=new Set([Pe.pathname]),D.set(A.location.pathname,ct)),ot={currentLocation:A.location,nextLocation:Pe}}J(zs({},Ae,{actionData:Rt,loaderData:At,historyAction:P,location:Pe,initialized:!0,navigation:VE,revalidation:"idle",restoreScrollPosition:fn(Pe,Ae.matches||A.matches),preventScrollReset:or,blockers:zt}),{viewTransitionOpts:ot,flushSync:Gt===!0}),P=$i.Pop,T=!1,R=!1,N=!1,F=!1,U=[]}async function pe(Pe,Ae){if(typeof Pe=="number"){t.history.go(Pe);return}let ze=N6(A.location,A.matches,c,f.v7_prependBasename,Pe,f.v7_relativeSplatPath,Ae?.fromRouteId,Ae?.relative),{path:_t,submission:jt,error:Gt}=GG(f.v7_normalizeFormMethod,!1,ze,Ae),Yt=A.location,Rt=Yb(A.location,_t,Ae&&Ae.state);Rt=zs({},Rt,t.history.encodeLocation(Rt));let At=Ae&&Ae.replace!=null?Ae.replace:void 0,zt=$i.Push;At===!0?zt=$i.Replace:At===!1||jt!=null&&kc(jt.formMethod)&&jt.formAction===A.location.pathname+A.location.search&&(zt=$i.Replace);let or=Ae&&"preventScrollReset"in Ae?Ae.preventScrollReset===!0:void 0,ot=(Ae&&Ae.flushSync)===!0,ct=hr({currentLocation:Yt,nextLocation:Rt,historyAction:zt});if(ct){ar(ct,{state:"blocked",location:Rt,proceed(){ar(ct,{state:"proceeding",proceed:void 0,reset:void 0,location:Rt}),pe(Pe,Ae)},reset(){let ke=new Map(A.blockers);ke.set(ct,xy),J({blockers:ke})}});return}return await ve(zt,Rt,{submission:jt,pendingError:Gt,preventScrollReset:or,replace:Ae&&Ae.replace,enableViewTransition:Ae&&Ae.viewTransition,flushSync:ot})}function Se(){if($e(),J({revalidation:"loading"}),A.navigation.state!=="submitting"){if(A.navigation.state==="idle"){ve(A.historyAction,A.location,{startUninterruptedRevalidation:!0});return}ve(P||A.historyAction,A.navigation.location,{overrideNavigation:A.navigation,enableViewTransition:R===!0})}}async function ve(Pe,Ae,ze){j&&j.abort(),j=null,P=Pe,N=(ze&&ze.startUninterruptedRevalidation)===!0,Ut(A.location,A.matches),T=(ze&&ze.preventScrollReset)===!0,R=(ze&&ze.enableViewTransition)===!0;let _t=l||o,jt=ze&&ze.overrideNavigation,Gt=ze!=null&&ze.initialHydration&&A.matches&&A.matches.length>0&&!x?A.matches:zm(_t,Ae,c),Yt=(ze&&ze.flushSync)===!0;if(Gt&&A.initialized&&!F&&a6e(A.location,Ae)&&!(ze&&ze.submission&&kc(ze.submission.formMethod))){me(Ae,{matches:Gt},{flushSync:Yt});return}let Rt=Zt(Gt,_t,Ae.pathname);if(Rt.active&&Rt.matches&&(Gt=Rt.matches),!Gt){let{error:He,notFoundMatches:ut,route:It}=ir(Ae.pathname);me(Ae,{matches:ut,loaderData:{},errors:{[It.id]:He}},{flushSync:Yt});return}j=new AbortController;let At=Ug(t.history,Ae,j.signal,ze&&ze.submission),zt;if(ze&&ze.pendingError)zt=[qm(Gt).route.id,{type:Cs.error,error:ze.pendingError}];else if(ze&&ze.submission&&kc(ze.submission.formMethod)){let He=await xe(At,Ae,ze.submission,Gt,Rt.active,{replace:ze.replace,flushSync:Yt});if(He.shortCircuited)return;if(He.pendingActionResult){let[ut,It]=He.pendingActionResult;if(tl(It)&&Ch(It.error)&&It.error.status===404){j=null,me(Ae,{matches:He.matches,loaderData:{},errors:{[ut]:It.error}});return}}Gt=He.matches||Gt,zt=He.pendingActionResult,jt=HE(Ae,ze.submission),Yt=!1,Rt.active=!1,At=Ug(t.history,At.url,At.signal)}let{shortCircuited:or,matches:ot,loaderData:ct,errors:ke}=await qe(At,Ae,Gt,Rt.active,jt,ze&&ze.submission,ze&&ze.fetcherSubmission,ze&&ze.replace,ze&&ze.initialHydration===!0,Yt,zt);or||(j=null,me(Ae,zs({matches:ot||Gt},tW(zt),{loaderData:ct,errors:ke})))}async function xe(Pe,Ae,ze,_t,jt,Gt){Gt===void 0&&(Gt={}),$e();let Yt=p6e(Ae,ze);if(J({navigation:Yt},{flushSync:Gt.flushSync===!0}),jt){let zt=await _r(_t,Ae.pathname,Pe.signal);if(zt.type==="aborted")return{shortCircuited:!0};if(zt.type==="error"){let or=qm(zt.partialMatches).route.id;return{matches:zt.partialMatches,pendingActionResult:[or,{type:Cs.error,error:zt.error}]}}else if(zt.matches)_t=zt.matches;else{let{notFoundMatches:or,error:ot,route:ct}=ir(Ae.pathname);return{matches:or,pendingActionResult:[ct.id,{type:Cs.error,error:ot}]}}}let Rt,At=Xy(_t,Ae);if(!At.route.action&&!At.route.lazy)Rt={type:Cs.error,error:Ma(405,{method:Pe.method,pathname:Ae.pathname,routeId:At.route.id})};else if(Rt=(await we("action",A,Pe,[At],_t,null))[At.route.id],Pe.signal.aborted)return{shortCircuited:!0};if(Qm(Rt)){let zt;return Gt&&Gt.replace!=null?zt=Gt.replace:zt=ZG(Rt.response.headers.get("Location"),new URL(Pe.url),c)===A.location.pathname+A.location.search,await Re(Pe,Rt,!0,{submission:ze,replace:zt}),{shortCircuited:!0}}if(ap(Rt))throw Ma(400,{type:"defer-action"});if(tl(Rt)){let zt=qm(_t,At.route.id);return(Gt&&Gt.replace)!==!0&&(P=$i.Push),{matches:_t,pendingActionResult:[zt.route.id,Rt]}}return{matches:_t,pendingActionResult:[At.route.id,Rt]}}async function qe(Pe,Ae,ze,_t,jt,Gt,Yt,Rt,At,zt,or){let ot=jt||HE(Ae,Gt),ct=Gt||Yt||sW(ot),ke=!N&&(!f.v7_partialHydration||!At);if(_t){if(ke){let on=Le(or);J(zs({navigation:ot},on!==void 0?{actionData:on}:{}),{flushSync:zt})}let Er=await _r(ze,Ae.pathname,Pe.signal);if(Er.type==="aborted")return{shortCircuited:!0};if(Er.type==="error"){let on=qm(Er.partialMatches).route.id;return{matches:Er.partialMatches,loaderData:{},errors:{[on]:Er.error}}}else if(Er.matches)ze=Er.matches;else{let{error:on,notFoundMatches:Ei,route:ha}=ir(Ae.pathname);return{matches:Ei,loaderData:{},errors:{[ha.id]:on}}}}let He=l||o,[ut,It]=YG(t.history,A,ze,ct,Ae,f.v7_partialHydration&&At===!0,f.v7_skipActionErrorRevalidation,F,U,z,Z,Q,X,He,c,or);if(cr(Er=>!(ze&&ze.some(on=>on.route.id===Er))||ut&&ut.some(on=>on.route.id===Er)),K=++W,ut.length===0&&It.length===0){let Er=$t();return me(Ae,zs({matches:ze,loaderData:{},errors:or&&tl(or[1])?{[or[0]]:or[1].error}:null},tW(or),Er?{fetchers:new Map(A.fetchers)}:{}),{flushSync:zt}),{shortCircuited:!0}}if(ke){let Er={};if(!_t){Er.navigation=ot;let on=Le(or);on!==void 0&&(Er.actionData=on)}It.length>0&&(Er.fetchers=Te(It)),J(Er,{flushSync:zt})}It.forEach(Er=>{Et(Er.key),Er.controller&&H.set(Er.key,Er.controller)});let wr=()=>It.forEach(Er=>Et(Er.key));j&&j.signal.addEventListener("abort",wr);let{loaderResults:Cr,fetcherResults:sn}=await Me(A,ze,ut,It,Pe);if(Pe.signal.aborted)return{shortCircuited:!0};j&&j.signal.removeEventListener("abort",wr),It.forEach(Er=>H.delete(Er.key));let pn=p2(Cr);if(pn)return await Re(Pe,pn.result,!0,{replace:Rt}),{shortCircuited:!0};if(pn=p2(sn),pn)return X.add(pn.key),await Re(Pe,pn.result,!0,{replace:Rt}),{shortCircuited:!0};let{loaderData:jn,errors:es}=JG(A,ze,Cr,or,It,sn,re);re.forEach((Er,on)=>{Er.subscribe(Ei=>{(Ei||Er.done)&&re.delete(on)})}),f.v7_partialHydration&&At&&A.errors&&(es=zs({},A.errors,es));let Vr=$t(),Fr=Ee(K),Qn=Vr||Fr||It.length>0;return zs({matches:ze,loaderData:jn,errors:es},Qn?{fetchers:new Map(A.fetchers)}:{})}function Le(Pe){if(Pe&&!tl(Pe[1]))return{[Pe[0]]:Pe[1].data};if(A.actionData)return Object.keys(A.actionData).length===0?null:A.actionData}function Te(Pe){return Pe.forEach(Ae=>{let ze=A.fetchers.get(Ae.key),_t=Sy(void 0,ze?ze.data:void 0);A.fetchers.set(Ae.key,_t)}),new Map(A.fetchers)}function je(Pe,Ae,ze,_t){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Et(Pe);let jt=(_t&&_t.flushSync)===!0,Gt=l||o,Yt=N6(A.location,A.matches,c,f.v7_prependBasename,ze,f.v7_relativeSplatPath,Ae,_t?.relative),Rt=zm(Gt,Yt,c),At=Zt(Rt,Gt,Yt);if(At.active&&At.matches&&(Rt=At.matches),!Rt){Ne(Pe,Ae,Ma(404,{pathname:Yt}),{flushSync:jt});return}let{path:zt,submission:or,error:ot}=GG(f.v7_normalizeFormMethod,!0,Yt,_t);if(ot){Ne(Pe,Ae,ot,{flushSync:jt});return}let ct=Xy(Rt,zt),ke=(_t&&_t.preventScrollReset)===!0;if(or&&kc(or.formMethod)){Ge(Pe,Ae,zt,ct,Rt,At.active,jt,ke,or);return}Q.set(Pe,{routeId:Ae,path:zt}),nt(Pe,Ae,zt,ct,Rt,At.active,jt,ke,or)}async function Ge(Pe,Ae,ze,_t,jt,Gt,Yt,Rt,At){$e(),Q.delete(Pe);function zt(Zn){if(!Zn.route.action&&!Zn.route.lazy){let Fi=Ma(405,{method:At.formMethod,pathname:ze,routeId:Ae});return Ne(Pe,Ae,Fi,{flushSync:Yt}),!0}return!1}if(!Gt&&zt(_t))return;let or=A.fetchers.get(Pe);Ve(Pe,m6e(At,or),{flushSync:Yt});let ot=new AbortController,ct=Ug(t.history,ze,ot.signal,At);if(Gt){let Zn=await _r(jt,new URL(ct.url).pathname,ct.signal,Pe);if(Zn.type==="aborted")return;if(Zn.type==="error"){Ne(Pe,Ae,Zn.error,{flushSync:Yt});return}else if(Zn.matches){if(jt=Zn.matches,_t=Xy(jt,ze),zt(_t))return}else{Ne(Pe,Ae,Ma(404,{pathname:ze}),{flushSync:Yt});return}}H.set(Pe,ot);let ke=W,ut=(await we("action",A,ct,[_t],jt,Pe))[_t.route.id];if(ct.signal.aborted){H.get(Pe)===ot&&H.delete(Pe);return}if(f.v7_fetcherPersist&&Z.has(Pe)){if(Qm(ut)||tl(ut)){Ve(Pe,Yf(void 0));return}}else{if(Qm(ut))if(H.delete(Pe),K>ke){Ve(Pe,Yf(void 0));return}else return X.add(Pe),Ve(Pe,Sy(At)),Re(ct,ut,!1,{fetcherSubmission:At,preventScrollReset:Rt});if(tl(ut)){Ne(Pe,Ae,ut.error);return}}if(ap(ut))throw Ma(400,{type:"defer-action"});let It=A.navigation.location||A.location,wr=Ug(t.history,It,ot.signal),Cr=l||o,sn=A.navigation.state!=="idle"?zm(Cr,A.navigation.location,c):A.matches;Jr(sn,"Didn't find any matches after fetcher action");let pn=++W;q.set(Pe,pn);let jn=Sy(At,ut.data);A.fetchers.set(Pe,jn);let[es,Vr]=YG(t.history,A,sn,At,It,!1,f.v7_skipActionErrorRevalidation,F,U,z,Z,Q,X,Cr,c,[_t.route.id,ut]);Vr.filter(Zn=>Zn.key!==Pe).forEach(Zn=>{let Fi=Zn.key,lo=A.fetchers.get(Fi),Ki=Sy(void 0,lo?lo.data:void 0);A.fetchers.set(Fi,Ki),Et(Fi),Zn.controller&&H.set(Fi,Zn.controller)}),J({fetchers:new Map(A.fetchers)});let Fr=()=>Vr.forEach(Zn=>Et(Zn.key));ot.signal.addEventListener("abort",Fr);let{loaderResults:Qn,fetcherResults:Er}=await Me(A,sn,es,Vr,wr);if(ot.signal.aborted)return;ot.signal.removeEventListener("abort",Fr),q.delete(Pe),H.delete(Pe),Vr.forEach(Zn=>H.delete(Zn.key));let on=p2(Qn);if(on)return Re(wr,on.result,!1,{preventScrollReset:Rt});if(on=p2(Er),on)return X.add(on.key),Re(wr,on.result,!1,{preventScrollReset:Rt});let{loaderData:Ei,errors:ha}=JG(A,sn,Qn,void 0,Vr,Er,re);if(A.fetchers.has(Pe)){let Zn=Yf(ut.data);A.fetchers.set(Pe,Zn)}Ee(pn),A.navigation.state==="loading"&&pn>K?(Jr(P,"Expected pending action"),j&&j.abort(),me(A.navigation.location,{matches:sn,loaderData:Ei,errors:ha,fetchers:new Map(A.fetchers)})):(J({errors:ha,loaderData:eW(A.loaderData,Ei,sn,ha),fetchers:new Map(A.fetchers)}),F=!1)}async function nt(Pe,Ae,ze,_t,jt,Gt,Yt,Rt,At){let zt=A.fetchers.get(Pe);Ve(Pe,Sy(At,zt?zt.data:void 0),{flushSync:Yt});let or=new AbortController,ot=Ug(t.history,ze,or.signal);if(Gt){let ut=await _r(jt,new URL(ot.url).pathname,ot.signal,Pe);if(ut.type==="aborted")return;if(ut.type==="error"){Ne(Pe,Ae,ut.error,{flushSync:Yt});return}else if(ut.matches)jt=ut.matches,_t=Xy(jt,ze);else{Ne(Pe,Ae,Ma(404,{pathname:ze}),{flushSync:Yt});return}}H.set(Pe,or);let ct=W,He=(await we("loader",A,ot,[_t],jt,Pe))[_t.route.id];if(ap(He)&&(He=await VL(He,ot.signal,!0)||He),H.get(Pe)===or&&H.delete(Pe),!ot.signal.aborted){if(Z.has(Pe)){Ve(Pe,Yf(void 0));return}if(Qm(He))if(K>ct){Ve(Pe,Yf(void 0));return}else{X.add(Pe),await Re(ot,He,!1,{preventScrollReset:Rt});return}if(tl(He)){Ne(Pe,Ae,He.error);return}Jr(!ap(He),"Unhandled fetcher deferred data"),Ve(Pe,Yf(He.data))}}async function Re(Pe,Ae,ze,_t){let{submission:jt,fetcherSubmission:Gt,preventScrollReset:Yt,replace:Rt}=_t===void 0?{}:_t;Ae.response.headers.has("X-Remix-Revalidate")&&(F=!0);let At=Ae.response.headers.get("Location");Jr(At,"Expected a Location header on the redirect Response"),At=ZG(At,new URL(Pe.url),c);let zt=Yb(A.location,At,{_isRedirect:!0});if(r){let ut=!1;if(Ae.response.headers.has("X-Remix-Reload-Document"))ut=!0;else if(qL.test(At)){const It=t.history.createURL(At);ut=It.origin!==e.location.origin||Lc(It.pathname,c)==null}if(ut){Rt?e.location.replace(At):e.location.assign(At);return}}j=null;let or=Rt===!0||Ae.response.headers.has("X-Remix-Replace")?$i.Replace:$i.Push,{formMethod:ot,formAction:ct,formEncType:ke}=A.navigation;!jt&&!Gt&&ot&&ct&&ke&&(jt=sW(A.navigation));let He=jt||Gt;if(KDe.has(Ae.response.status)&&He&&kc(He.formMethod))await ve(or,zt,{submission:zs({},He,{formAction:At}),preventScrollReset:Yt||T,enableViewTransition:ze?R:void 0});else{let ut=HE(zt,jt);await ve(or,zt,{overrideNavigation:ut,fetcherSubmission:Gt,preventScrollReset:Yt||T,enableViewTransition:ze?R:void 0})}}async function we(Pe,Ae,ze,_t,jt,Gt){let Yt,Rt={};try{Yt=await r6e(u,Pe,Ae,ze,_t,jt,Gt,i,s)}catch(At){return _t.forEach(zt=>{Rt[zt.route.id]={type:Cs.error,error:At}}),Rt}for(let[At,zt]of Object.entries(Yt))if(l6e(zt)){let or=zt.result;Rt[At]={type:Cs.redirect,response:i6e(or,ze,At,jt,c,f.v7_relativeSplatPath)}}else Rt[At]=await s6e(zt);return Rt}async function Me(Pe,Ae,ze,_t,jt){let Gt=Pe.matches,Yt=we("loader",Pe,jt,ze,Ae,null),Rt=Promise.all(_t.map(async or=>{if(or.matches&&or.match&&or.controller){let ct=(await we("loader",Pe,Ug(t.history,or.path,or.controller.signal),[or.match],or.matches,or.key))[or.match.route.id];return{[or.key]:ct}}else return Promise.resolve({[or.key]:{type:Cs.error,error:Ma(404,{pathname:or.path})}})})),At=await Yt,zt=(await Rt).reduce((or,ot)=>Object.assign(or,ot),{});return await Promise.all([d6e(Ae,At,jt.signal,Gt,Pe.loaderData),f6e(Ae,zt,_t)]),{loaderResults:At,fetcherResults:zt}}function $e(){F=!0,U.push(...cr()),Q.forEach((Pe,Ae)=>{H.has(Ae)&&z.add(Ae),Et(Ae)})}function Ve(Pe,Ae,ze){ze===void 0&&(ze={}),A.fetchers.set(Pe,Ae),J({fetchers:new Map(A.fetchers)},{flushSync:(ze&&ze.flushSync)===!0})}function Ne(Pe,Ae,ze,_t){_t===void 0&&(_t={});let jt=qm(A.matches,Ae);ft(Pe),J({errors:{[jt.route.id]:ze},fetchers:new Map(A.fetchers)},{flushSync:(_t&&_t.flushSync)===!0})}function Oe(Pe){return Y.set(Pe,(Y.get(Pe)||0)+1),Z.has(Pe)&&Z.delete(Pe),A.fetchers.get(Pe)||Boe}function ft(Pe){let Ae=A.fetchers.get(Pe);H.has(Pe)&&!(Ae&&Ae.state==="loading"&&q.has(Pe))&&Et(Pe),Q.delete(Pe),q.delete(Pe),X.delete(Pe),f.v7_fetcherPersist&&Z.delete(Pe),z.delete(Pe),A.fetchers.delete(Pe)}function Ct(Pe){let Ae=(Y.get(Pe)||0)-1;Ae<=0?(Y.delete(Pe),Z.add(Pe),f.v7_fetcherPersist||ft(Pe)):Y.set(Pe,Ae),J({fetchers:new Map(A.fetchers)})}function Et(Pe){let Ae=H.get(Pe);Ae&&(Ae.abort(),H.delete(Pe))}function at(Pe){for(let Ae of Pe){let ze=Oe(Ae),_t=Yf(ze.data);A.fetchers.set(Ae,_t)}}function $t(){let Pe=[],Ae=!1;for(let ze of X){let _t=A.fetchers.get(ze);Jr(_t,"Expected fetcher: "+ze),_t.state==="loading"&&(X.delete(ze),Pe.push(ze),Ae=!0)}return at(Pe),Ae}function Ee(Pe){let Ae=[];for(let[ze,_t]of q)if(_t<Pe){let jt=A.fetchers.get(ze);Jr(jt,"Expected fetcher: "+ze),jt.state==="loading"&&(Et(ze),q.delete(ze),Ae.push(ze))}return at(Ae),Ae.length>0}function Be(Pe,Ae){let ze=A.blockers.get(Pe)||xy;return fe.get(Pe)!==Ae&&fe.set(Pe,Ae),ze}function qt(Pe){A.blockers.delete(Pe),fe.delete(Pe)}function ar(Pe,Ae){let ze=A.blockers.get(Pe)||xy;Jr(ze.state==="unblocked"&&Ae.state==="blocked"||ze.state==="blocked"&&Ae.state==="blocked"||ze.state==="blocked"&&Ae.state==="proceeding"||ze.state==="blocked"&&Ae.state==="unblocked"||ze.state==="proceeding"&&Ae.state==="unblocked","Invalid blocker state transition: "+ze.state+" -> "+Ae.state);let _t=new Map(A.blockers);_t.set(Pe,Ae),J({blockers:_t})}function hr(Pe){let{currentLocation:Ae,nextLocation:ze,historyAction:_t}=Pe;if(fe.size===0)return;fe.size>1&&H_(!1,"A router only supports one blocker at a time");let jt=Array.from(fe.entries()),[Gt,Yt]=jt[jt.length-1],Rt=A.blockers.get(Gt);if(!(Rt&&Rt.state==="proceeding")&&Yt({currentLocation:Ae,nextLocation:ze,historyAction:_t}))return Gt}function ir(Pe){let Ae=Ma(404,{pathname:Pe}),ze=l||o,{matches:_t,route:jt}=rW(ze);return cr(),{notFoundMatches:_t,route:jt,error:Ae}}function cr(Pe){let Ae=[];return re.forEach((ze,_t)=>{(!Pe||Pe(_t))&&(ze.cancel(),Ae.push(_t),re.delete(_t))}),Ae}function kr(Pe,Ae,ze){if(h=Pe,g=Ae,_=ze||null,!y&&A.navigation===VE){y=!0;let _t=fn(A.location,A.matches);_t!=null&&J({restoreScrollPosition:_t})}return()=>{h=null,g=null,_=null}}function Rr(Pe,Ae){return _&&_(Pe,Ae.map(_t=>$oe(_t,A.loaderData)))||Pe.key}function Ut(Pe,Ae){if(h&&g){let ze=Rr(Pe,Ae);h[ze]=g()}}function fn(Pe,Ae){if(h){let ze=Rr(Pe,Ae),_t=h[ze];if(typeof _t=="number")return _t}return null}function Zt(Pe,Ae,ze){if(d)if(Pe){if(Object.keys(Pe[0].params).length>0)return{active:!0,matches:Gw(Ae,ze,c,!0)}}else return{active:!0,matches:Gw(Ae,ze,c,!0)||[]};return{active:!1,matches:null}}async function _r(Pe,Ae,ze,_t){if(!d)return{type:"success",matches:Pe};let jt=Pe;for(;;){let Gt=l==null,Yt=l||o,Rt=i;try{await d({signal:ze,path:Ae,matches:jt,fetcherKey:_t,patch:(or,ot)=>{ze.aborted||QG(or,ot,Yt,Rt,s)}})}catch(or){return{type:"error",error:or,partialMatches:jt}}finally{Gt&&!ze.aborted&&(o=[...o])}if(ze.aborted)return{type:"aborted"};let At=zm(Yt,Ae,c);if(At)return{type:"success",matches:At};let zt=Gw(Yt,Ae,c,!0);if(!zt||jt.length===zt.length&&jt.every((or,ot)=>or.route.id===zt[ot].route.id))return{type:"success",matches:null};jt=zt}}function st(Pe){i={},l=kC(Pe,s,void 0,i)}function wt(Pe,Ae){let ze=l==null;QG(Pe,Ae,l||o,i,s),ze&&(o=[...o],J({}))}return k={get basename(){return c},get future(){return f},get state(){return A},get routes(){return o},get window(){return e},initialize:se,subscribe:ee,enableScrollRestoration:kr,navigate:pe,fetch:je,revalidate:Se,createHref:Pe=>t.history.createHref(Pe),encodeLocation:Pe=>t.history.encodeLocation(Pe),getFetcher:Oe,deleteFetcher:Ct,dispose:le,getBlocker:Be,deleteBlocker:qt,patchRoutes:wt,_internalFetchControllers:H,_internalActiveDeferreds:re,_internalSetRoutes:st},k}function XDe(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function N6(t,e,r,n,s,i,o,l){let c,u;if(o){c=[];for(let f of e)if(c.push(f),f.route.id===o){u=f;break}}else c=e,u=e[e.length-1];let d=NA(s||".",LA(c,i),Lc(t.pathname,r)||t.pathname,l==="path");if(s==null&&(d.search=t.search,d.hash=t.hash),(s==null||s===""||s===".")&&u){let f=HL(d.search);if(u.route.index&&!f)d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index";else if(!u.route.index&&f){let p=new URLSearchParams(d.search),m=p.getAll("index");p.delete("index"),m.filter(_=>_).forEach(_=>p.append("index",_));let h=p.toString();d.search=h?"?"+h:""}}return n&&r!=="/"&&(d.pathname=d.pathname==="/"?r:$u([r,d.pathname])),Cp(d)}function GG(t,e,r,n){if(!n||!XDe(n))return{path:r};if(n.formMethod&&!u6e(n.formMethod))return{path:r,error:Ma(405,{method:n.formMethod})};let s=()=>({path:r,error:Ma(400,{type:"invalid-body"})}),i=n.formMethod||"get",o=t?i.toUpperCase():i.toLowerCase(),l=Hoe(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!kc(o))return s();let p=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((m,h)=>{let[_,g]=h;return""+m+_+"="+g+`
/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js:241:`},""):String(n.body);return{path:r,submission:{formMethod:o,formAction:l,formEncType:n.formEncType,formData:void 0,json:void 0,text:p}}}else if(n.formEncType==="application/json"){if(!kc(o))return s();try{let p=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:o,formAction:l,formEncType:n.formEncType,formData:void 0,json:p,text:void 0}}}catch{return s()}}}Jr(typeof FormData=="function","FormData is not available in this environment");let c,u;if(n.formData)c=U6(n.formData),u=n.formData;else if(n.body instanceof FormData)c=U6(n.body),u=n.body;else if(n.body instanceof URLSearchParams)c=n.body,u=XG(c);else if(n.body==null)c=new URLSearchParams,u=new FormData;else try{c=new URLSearchParams(n.body),u=XG(c)}catch{return s()}let d={formMethod:o,formAction:l,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(kc(d.formMethod))return{path:r,submission:d};let f=Op(r);return e&&f.search&&HL(f.search)&&c.append("index",""),f.search="?"+c,{path:Cp(f),submission:d}}function WG(t,e,r){r===void 0&&(r=!1);let n=t.findIndex(s=>s.route.id===e);return n>=0?t.slice(0,r?n+1:n):t}function YG(t,e,r,n,s,i,o,l,c,u,d,f,p,m,h,_){let g=_?tl(_[1])?_[1].error:_[1].data:void 0,y=t.createURL(e.location),b=t.createURL(s),x=r;i&&e.errors?x=WG(r,Object.keys(e.errors)[0],!0):_&&tl(_[1])&&(x=WG(r,_[0]));let w=_?_[1].statusCode:void 0,C=o&&w&&w>=400,k=x.filter((P,T)=>{let{route:j}=P;if(j.lazy)return!0;if(j.loader==null)return!1;if(i)return F6(j,e.loaderData,e.errors);if(JDe(e.loaderData,e.matches[T],P)||c.some(O=>O===P.route.id))return!0;let R=e.matches[T],D=P;return KG(P,zs({currentUrl:y,currentParams:R.params,nextUrl:b,nextParams:D.params},n,{actionResult:g,actionStatus:w,defaultShouldRevalidate:C?!1:l||y.pathname+y.search===b.pathname+b.search||y.search!==b.search||qoe(R,D)}))}),A=[];return f.forEach((P,T)=>{if(i||!r.some(N=>N.route.id===P.routeId)||d.has(T))return;let j=zm(m,P.path,h);if(!j){A.push({key:T,routeId:P.routeId,path:P.path,matches:null,match:null,controller:null});return}let R=e.fetchers.get(T),D=Xy(j,P.path),O=!1;p.has(T)?O=!1:u.has(T)?(u.delete(T),O=!0):R&&R.state!=="idle"&&R.data===void 0?O=l:O=KG(D,zs({currentUrl:y,currentParams:e.matches[e.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:g,actionStatus:w,defaultShouldRevalidate:C?!1:l})),O&&A.push({key:T,routeId:P.routeId,path:P.path,matches:j,match:D,controller:new AbortController})}),[k,A]}function F6(t,e,r){if(t.lazy)return!0;if(!t.loader)return!1;let n=e!=null&&e[t.id]!==void 0,s=r!=null&&r[t.id]!==void 0;return!n&&s?!1:typeof t.loader=="function"&&t.loader.hydrate===!0?!0:!n&&!s}function JDe(t,e,r){let n=!e||r.route.id!==e.route.id,s=t[r.route.id]===void 0;return n||s}function qoe(t,e){let r=t.route.path;return t.pathname!==e.pathname||r!=null&&r.endsWith("*")&&t.params["*"]!==e.params["*"]}function KG(t,e){if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate(e);if(typeof r=="boolean")return r}return e.defaultShouldRevalidate}function QG(t,e,r,n,s){var i;let o;if(t){let u=n[t];Jr(u,"No route found to patch children into: routeId = "+t),u.children||(u.children=[]),o=u.children}else o=r;let l=e.filter(u=>!o.some(d=>Voe(u,d))),c=kC(l,s,[t||"_","patch",String(((i=o)==null?void 0:i.length)||"0")],n);o.push(...c)}function Voe(t,e){return"id"in t&&"id"in e&&t.id===e.id?!0:t.index===e.index&&t.path===e.path&&t.caseSensitive===e.caseSensitive?(!t.children||t.children.length===0)&&(!e.children||e.children.length===0)?!0:t.children.every((r,n)=>{var s;return(s=e.children)==null?void 0:s.some(i=>Voe(r,i))}):!1}async function e6e(t,e,r){if(!t.lazy)return;let n=await t.lazy();if(!t.lazy)return;let s=r[t.id];Jr(s,"No route found in manifest");let i={};for(let o in n){let c=s[o]!==void 0&&o!=="hasErrorBoundary";H_(!c,'Route "'+s.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!c&&!wDe.has(o)&&(i[o]=n[o])}Object.assign(s,i),Object.assign(s,zs({},e(s),{lazy:void 0}))}async function t6e(t){let{matches:e}=t,r=e.filter(s=>s.shouldLoad);return(await Promise.all(r.map(s=>s.resolve()))).reduce((s,i,o)=>Object.assign(s,{[r[o].route.id]:i}),{})}async function r6e(t,e,r,n,s,i,o,l,c,u){let d=i.map(m=>m.route.lazy?e6e(m.route,c,l):void 0),f=i.map((m,h)=>{let _=d[h],g=s.some(b=>b.route.id===m.route.id);return zs({},m,{shouldLoad:g,resolve:async b=>(b&&n.method==="GET"&&(m.route.lazy||m.route.loader)&&(g=!0),g?n6e(e,n,m,_,b,u):Promise.resolve({type:Cs.data,result:void 0}))})}),p=await t({matches:f,request:n,params:i[0].params,fetcherKey:o,context:u});try{await Promise.all(d)}catch{}return p}async function n6e(t,e,r,n,s,i){let o,l,c=u=>{let d,f=new Promise((h,_)=>d=_);l=()=>d(),e.signal.addEventListener("abort",l);let p=h=>typeof u!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+t+'" [routeId: '+r.route.id+"]"))):u({request:e,params:r.params,context:i},...h!==void 0?[h]:[]),m=(async()=>{try{return{type:"data",result:await(s?s(_=>p(_)):p())}}catch(h){return{type:"error",result:h}}})();return Promise.race([m,f])};try{let u=r.route[t];if(n)if(u){let d,[f]=await Promise.all([c(u).catch(p=>{d=p}),n]);if(d!==void 0)throw d;o=f}else if(await n,u=r.route[t],u)o=await c(u);else if(t==="action"){let d=new URL(e.url),f=d.pathname+d.search;throw Ma(405,{method:e.method,pathname:f,routeId:r.route.id})}else return{type:Cs.data,result:void 0};else if(u)o=await c(u);else{let d=new URL(e.url),f=d.pathname+d.search;throw Ma(404,{pathname:f})}Jr(o.result!==void 0,"You defined "+(t==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+t+"` ")+"function. Please return a value or `null`.")}catch(u){return{type:Cs.error,result:u}}finally{l&&e.signal.removeEventListener("abort",l)}return o}async function s6e(t){let{result:e,type:r}=t;if(Goe(e)){let f;try{let p=e.headers.get("Content-Type");p&&/\bapplication\/json\b/.test(p)?e.body==null?f=null:f=await e.json():f=await e.text()}catch(p){return{type:Cs.error,error:p}}return r===Cs.error?{type:Cs.error,error:new PC(e.status,e.statusText,f),statusCode:e.status,headers:e.headers}:{type:Cs.data,data:f,statusCode:e.status,headers:e.headers}}if(r===Cs.error){if(nW(e)){var n,s;if(e.data instanceof Error){var i,o;return{type:Cs.error,error:e.data,statusCode:(i=e.init)==null?void 0:i.status,headers:(o=e.init)!=null&&o.headers?new Headers(e.init.headers):void 0}}return{type:Cs.error,error:new PC(((n=e.init)==null?void 0:n.status)||500,void 0,e.data),statusCode:Ch(e)?e.status:void 0,headers:(s=e.init)!=null&&s.headers?new Headers(e.init.headers):void 0}}return{type:Cs.error,error:e,statusCode:Ch(e)?e.status:void 0}}if(c6e(e)){var l,c;return{type:Cs.deferred,deferredData:e,statusCode:(l=e.init)==null?void 0:l.status,headers:((c=e.init)==null?void 0:c.headers)&&new Headers(e.init.headers)}}if(nW(e)){var u,d;return{type:Cs.data,data:e.data,statusCode:(u=e.init)==null?void 0:u.status,headers:(d=e.init)!=null&&d.headers?new Headers(e.init.headers):void 0}}return{type:Cs.data,data:e}}function i6e(t,e,r,n,s,i){let o=t.headers.get("Location");if(Jr(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!qL.test(o)){let l=n.slice(0,n.findIndex(c=>c.route.id===r)+1);o=N6(new URL(e.url),l,s,!0,o,i),t.headers.set("Location",o)}return t}function ZG(t,e,r){if(qL.test(t)){let n=t,s=n.startsWith("//")?new URL(e.protocol+n):new URL(n),i=Lc(s.pathname,r)!=null;if(s.origin===e.origin&&i)return s.pathname+s.search+s.hash}return t}function Ug(t,e,r,n){let s=t.createURL(Hoe(e)).toString(),i={signal:r};if(n&&kc(n.formMethod)){let{formMethod:o,formEncType:l}=n;i.method=o.toUpperCase(),l==="application/json"?(i.headers=new Headers({"Content-Type":l}),i.body=JSON.stringify(n.json)):l==="text/plain"?i.body=n.text:l==="application/x-www-form-urlencoded"&&n.formData?i.body=U6(n.formData):i.body=n.formData}return new Request(s,i)}function U6(t){let e=new URLSearchParams;for(let[r,n]of t.entries())e.append(r,typeof n=="string"?n:n.name);return e}function XG(t){let e=new FormData;for(let[r,n]of t.entries())e.append(r,n);return e}function o6e(t,e,r,n,s){let i={},o=null,l,c=!1,u={},d=r&&tl(r[1])?r[1].error:void 0;return t.forEach(f=>{if(!(f.route.id in e))return;let p=f.route.id,m=e[p];if(Jr(!Qm(m),"Cannot handle redirect results in processLoaderData"),tl(m)){let h=m.error;d!==void 0&&(h=d,d=void 0),o=o||{};{let _=qm(t,p);o[_.route.id]==null&&(o[_.route.id]=h)}i[p]=void 0,c||(c=!0,l=Ch(m.error)?m.error.status:500),m.headers&&(u[p]=m.headers)}else ap(m)?(n.set(p,m.deferredData),i[p]=m.deferredData.data,m.statusCode!=null&&m.statusCode!==200&&!c&&(l=m.statusCode),m.headers&&(u[p]=m.headers)):(i[p]=m.data,m.statusCode&&m.statusCode!==200&&!c&&(l=m.statusCode),m.headers&&(u[p]=m.headers))}),d!==void 0&&r&&(o={[r[0]]:d},i[r[0]]=void 0),{loaderData:i,errors:o,statusCode:l||200,loaderHeaders:u}}function JG(t,e,r,n,s,i,o){let{loaderData:l,errors:c}=o6e(e,r,n,o);return s.forEach(u=>{let{key:d,match:f,controller:p}=u,m=i[d];if(Jr(m,"Did not find corresponding fetcher result"),!(p&&p.signal.aborted))if(tl(m)){let h=qm(t.matches,f?.route.id);c&&c[h.route.id]||(c=zs({},c,{[h.route.id]:m.error})),t.fetchers.delete(d)}else if(Qm(m))Jr(!1,"Unhandled fetcher revalidation redirect");else if(ap(m))Jr(!1,"Unhandled fetcher deferred data");else{let h=Yf(m.data);t.fetchers.set(d,h)}}),{loaderData:l,errors:c}}function eW(t,e,r,n){let s=zs({},e);for(let i of r){let o=i.route.id;if(e.hasOwnProperty(o)?e[o]!==void 0&&(s[o]=e[o]):t[o]!==void 0&&i.route.loader&&(s[o]=t[o]),n&&n.hasOwnProperty(o))break}return s}function tW(t){return t?tl(t[1])?{actionData:{}}:{actionData:{[t[0]]:t[1].data}}:{}}function qm(t,e){return(e?t.slice(0,t.findIndex(n=>n.route.id===e)+1):[...t]).reverse().find(n=>n.route.hasErrorBoundary===!0)||t[0]}function rW(t){let e=t.length===1?t[0]:t.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:e}],route:e}}function Ma(t,e){let{pathname:r,routeId:n,method:s,type:i,message:o}=e===void 0?{}:e,l="Unknown Server Error",c="Unknown @remix-run/router error";return t===400?(l="Bad Request",s&&r&&n?c="You made a "+s+' request to "'+r+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":i==="defer-action"?c="defer() is not supported in actions":i==="invalid-body"&&(c="Unable to encode submission body")):t===403?(l="Forbidden",c='Route "'+n+'" does not match URL "'+r+'"'):t===404?(l="Not Found",c='No route matches URL "'+r+'"'):t===405&&(l="Method Not Allowed",s&&r&&n?c="You made a "+s.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":s&&(c='Invalid request method "'+s.toUpperCase()+'"')),new PC(t||500,l,new Error(c),!0)}function p2(t){let e=Object.entries(t);for(let r=e.length-1;r>=0;r--){let[n,s]=e[r];if(Qm(s))return{key:n,result:s}}}function Hoe(t){let e=typeof t=="string"?Op(t):t;return Cp(zs({},e,{hash:""}))}function a6e(t,e){return t.pathname!==e.pathname||t.search!==e.search?!1:t.hash===""?e.hash!=="":t.hash===e.hash?!0:e.hash!==""}function l6e(t){return Goe(t.result)&&YDe.has(t.result.status)}function ap(t){return t.type===Cs.deferred}function tl(t){return t.type===Cs.error}function Qm(t){return(t&&t.type)===Cs.redirect}function nW(t){return typeof t=="object"&&t!=null&&"type"in t&&"data"in t&&"init"in t&&t.type==="DataWithResponseInit"}function c6e(t){let e=t;return e&&typeof e=="object"&&typeof e.data=="object"&&typeof e.subscribe=="function"&&typeof e.cancel=="function"&&typeof e.resolveData=="function"}function Goe(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function u6e(t){return WDe.has(t.toLowerCase())}function kc(t){return HDe.has(t.toLowerCase())}async function d6e(t,e,r,n,s){let i=Object.entries(e);for(let o=0;o<i.length;o++){let[l,c]=i[o],u=t.find(p=>p?.route.id===l);if(!u)continue;let d=n.find(p=>p.route.id===u.route.id),f=d!=null&&!qoe(d,u)&&(s&&s[u.route.id])!==void 0;ap(c)&&f&&await VL(c,r,!1).then(p=>{p&&(e[l]=p)})}}async function f6e(t,e,r){for(let n=0;n<r.length;n++){let{key:s,routeId:i,controller:o}=r[n],l=e[s];t.find(u=>u?.route.id===i)&&ap(l)&&(Jr(o,"Expected an AbortController for revalidating fetcher deferred result"),await VL(l,o.signal,!0).then(u=>{u&&(e[s]=u)}))}}async function VL(t,e,r){if(r===void 0&&(r=!1),!await t.deferredData.resolveData(e)){if(r)try{return{type:Cs.data,data:t.deferredData.unwrappedData}}catch(s){return{type:Cs.error,error:s}}return{type:Cs.data,data:t.deferredData.data}}}function HL(t){return new URLSearchParams(t).getAll("index").some(e=>e==="")}function Xy(t,e){let r=typeof e=="string"?Op(e).search:e.search;if(t[t.length-1].route.index&&HL(r||""))return t[t.length-1];let n=Noe(t);return n[n.length-1]}function sW(t){let{formMethod:e,formAction:r,formEncType:n,text:s,formData:i,json:o}=t;if(!(!e||!r||!n)){if(s!=null)return{formMethod:e,formAction:r,formEncType:n,formData:void 0,json:void 0,text:s};if(i!=null)return{formMethod:e,formAction:r,formEncType:n,formData:i,json:void 0,text:void 0};if(o!==void 0)return{formMethod:e,formAction:r,formEncType:n,formData:void 0,json:o,text:void 0}}}function HE(t,e){return e?{state:"loading",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}:{state:"loading",location:t,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function p6e(t,e){return{state:"submitting",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}}function Sy(t,e){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function m6e(t,e){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e?e.data:void 0}}function Yf(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function h6e(t,e){try{let r=t.sessionStorage.getItem(zoe);if(r){let n=JSON.parse(r);for(let[s,i]of Object.entries(n||{}))i&&Array.isArray(i)&&e.set(s,new Set(i||[]))}}catch{}}function g6e(t,e){if(e.size>0){let r={};for(let[n,s]of e)r[n]=[...s];try{t.sessionStorage.setItem(zoe,JSON.stringify(r))}catch(n){H_(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}function jC(){return jC=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},jC.apply(this,arguments)}const V0=I.createContext(null),FA=I.createContext(null),TC=I.createContext(null),qc=I.createContext(null),GL=I.createContext(null),ic=I.createContext({outlet:null,matches:[],isDataRoute:!1}),Woe=I.createContext(null);function _6e(t,e){let{relative:r}=e===void 0?{}:e;Tv()||Jr(!1);let{basename:n,navigator:s}=I.useContext(qc),{hash:i,pathname:o,search:l}=Lp(t,{relative:r}),c=o;return n!=="/"&&(c=o==="/"?n:$u([n,o])),s.createHref({pathname:c,search:l,hash:i})}function Tv(){return I.useContext(GL)!=null}function to(){return Tv()||Jr(!1),I.useContext(GL).location}function Yoe(t){I.useContext(qc).static||I.useLayoutEffect(t)}function ys(){let{isDataRoute:t}=I.useContext(ic);return t?R6e():v6e()}function v6e(){Tv()||Jr(!1);let t=I.useContext(V0),{basename:e,future:r,navigator:n}=I.useContext(qc),{matches:s}=I.useContext(ic),{pathname:i}=to(),o=JSON.stringify(LA(s,r.v7_relativeSplatPath)),l=I.useRef(!1);return Yoe(()=>{l.current=!0}),I.useCallback(function(u,d){if(d===void 0&&(d={}),!l.current)return;if(typeof u=="number"){n.go(u);return}let f=NA(u,JSON.parse(o),i,d.relative==="path");t==null&&e!=="/"&&(f.pathname=f.pathname==="/"?e:$u([e,f.pathname])),(d.replace?n.replace:n.push)(f,d.state,d)},[e,n,o,i,t])}const y6e=I.createContext(null);function b6e(t){let e=I.useContext(ic).outlet;return e&&I.createElement(y6e.Provider,{value:t},e)}function ko(){let{matches:t}=I.useContext(ic),e=t[t.length-1];return e?e.params:{}}function Lp(t,e){let{relative:r}=e===void 0?{}:e,{future:n}=I.useContext(qc),{matches:s}=I.useContext(ic),{pathname:i}=to(),o=JSON.stringify(LA(s,n.v7_relativeSplatPath));return I.useMemo(()=>NA(t,JSON.parse(o),i,r==="path"),[t,o,i,r])}function x6e(t,e,r,n){Tv()||Jr(!1);let{navigator:s}=I.useContext(qc),{matches:i}=I.useContext(ic),o=i[i.length-1],l=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=to(),d;d=u;let f=d.pathname||"/",p=f;if(c!=="/"){let _=c.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(_.length).join("/")}let m=zm(t,{pathname:p});return k6e(m&&m.map(_=>Object.assign({},_,{params:Object.assign({},l,_.params),pathname:$u([c,s.encodeLocation?s.encodeLocation(_.pathname).pathname:_.pathname]),pathnameBase:_.pathnameBase==="/"?c:$u([c,s.encodeLocation?s.encodeLocation(_.pathnameBase).pathname:_.pathnameBase])})),i,r,n)}function S6e(){let t=Zoe(),e=Ch(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return I.createElement(I.Fragment,null,I.createElement("h2",null,"Unexpected Application Error!"),I.createElement("h3",{style:{fontStyle:"italic"}},e),r?I.createElement("pre",{style:s},r):null,null)}const w6e=I.createElement(S6e,null);class C6e extends I.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,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){console.error("React Router caught the following error during render",e,r)}render(){return this.state.error!==void 0?I.createElement(ic.Provider,{value:this.props.routeContext},I.createElement(Woe.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function A6e(t){let{routeContext:e,match:r,children:n}=t,s=I.useContext(V0);return s&&s.static&&s.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=r.route.id),I.createElement(ic.Provider,{value:e},n)}function k6e(t,e,r,n){var s;if(e===void 0&&(e=[]),r===void 0&&(r=null),n===void 0&&(n=null),t==null){var i;if(!r)return null;if(r.errors)t=r.matches;else if((i=n)!=null&&i.v7_partialHydration&&e.length===0&&!r.initialized&&r.matches.length>0)t=r.matches;else return null}let o=t,l=(s=r)==null?void 0:s.errors;if(l!=null){let d=o.findIndex(f=>f.route.id&&l?.[f.route.id]!==void 0);d>=0||Jr(!1),o=o.slice(0,Math.min(o.length,d+1))}let c=!1,u=-1;if(r&&n&&n.v7_partialHydration)for(let d=0;d<o.length;d++){let f=o[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:p,errors:m}=r,h=f.route.loader&&p[f.route.id]===void 0&&(!m||m[f.route.id]===void 0);if(f.route.lazy||h){c=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,f,p)=>{let m,h=!1,_=null,g=null;r&&(m=l&&f.route.id?l[f.route.id]:void 0,_=f.route.errorElement||w6e,c&&(u<0&&p===0?(I6e("route-fallback"),h=!0,g=null):u===p&&(h=!0,g=f.route.hydrateFallbackElement||null)));let y=e.concat(o.slice(0,p+1)),b=()=>{let x;return m?x=_:h?x=g:f.route.Component?x=I.createElement(f.route.Component,null):f.route.element?x=f.route.element:x=d,I.createElement(A6e,{match:f,routeContext:{outlet:d,matches:y,isDataRoute:r!=null},children:x})};return r&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?I.createElement(C6e,{location:r.location,revalidation:r.revalidation,component:_,error:m,children:b(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):b()},null)}var Koe=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(Koe||{}),tc=(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})(tc||{});function Qoe(t){let e=I.useContext(V0);return e||Jr(!1),e}function Ev(t){let e=I.useContext(FA);return e||Jr(!1),e}function M6e(t){let e=I.useContext(ic);return e||Jr(!1),e}function H0(t){let e=M6e(),r=e.matches[e.matches.length-1];return r.route.id||Jr(!1),r.route.id}function P6e(){return H0(tc.UseRouteId)}function On(){return Ev(tc.UseNavigation).navigation}function j6e(){let t=Qoe(),e=Ev(tc.UseRevalidator);return I.useMemo(()=>({revalidate:t.router.revalidate,state:e.revalidation}),[t.router.revalidate,e.revalidation])}function WL(){let{matches:t,loaderData:e}=Ev(tc.UseMatches);return I.useMemo(()=>t.map(r=>$oe(r,e)),[t,e])}function zn(){let t=Ev(tc.UseLoaderData),e=H0(tc.UseLoaderData);if(t.errors&&t.errors[e]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+e+")");return}return t.loaderData[e]}function T6e(){let t=Ev(tc.UseActionData),e=H0(tc.UseLoaderData);return t.actionData?t.actionData[e]:void 0}function Zoe(){var t;let e=I.useContext(Woe),r=Ev(tc.UseRouteError),n=H0(tc.UseRouteError);return e!==void 0?e:(t=r.errors)==null?void 0:t[n]}function Np(){let t=I.useContext(TC);return t?._data}function E6e(){let t=I.useContext(TC);return t?._error}function R6e(){let{router:t}=Qoe(Koe.UseNavigateStable),e=H0(tc.UseNavigateStable),r=I.useRef(!1);return Yoe(()=>{r.current=!0}),I.useCallback(function(s,i){i===void 0&&(i={}),r.current&&(typeof s=="number"?t.navigate(s):t.navigate(s,jC({fromRouteId:e},i)))},[t,e])}const iW={};function I6e(t,e,r){iW[t]||(iW[t]=!0)}function D6e(t,e){t?.v7_startTransition,t?.v7_relativeSplatPath===void 0&&(!e||e.v7_relativeSplatPath),e&&(e.v7_fetcherPersist,e.v7_normalizeFormMethod,e.v7_partialHydration,e.v7_skipActionErrorRevalidation)}function ur(t){let{to:e,replace:r,state:n,relative:s}=t;Tv()||Jr(!1);let{future:i,static:o}=I.useContext(qc),{matches:l}=I.useContext(ic),{pathname:c}=to(),u=ys(),d=NA(e,LA(l,i.v7_relativeSplatPath),c,s==="path"),f=JSON.stringify(d);return I.useEffect(()=>u(JSON.parse(f),{replace:r,state:n,relative:s}),[u,f,s,r,n]),null}function Bd(t){return b6e(t.context)}function $6e(t){let{basename:e="/",children:r=null,location:n,navigationType:s=$i.Pop,navigator:i,static:o=!1,future:l}=t;Tv()&&Jr(!1);let c=e.replace(/^\/*/,"/"),u=I.useMemo(()=>({basename:c,navigator:i,static:o,future:jC({v7_relativeSplatPath:!1},l)}),[c,l,i,o]);typeof n=="string"&&(n=Op(n));let{pathname:d="/",search:f="",hash:p="",state:m=null,key:h="default"}=n,_=I.useMemo(()=>{let g=Lc(d,c);return g==null?null:{location:{pathname:g,search:f,hash:p,state:m,key:h},navigationType:s}},[c,d,f,p,m,h,s]);return _==null?null:I.createElement(qc.Provider,{value:u},I.createElement(GL.Provider,{children:r,value:_}))}function Qt(t){let{children:e,errorElement:r,resolve:n}=t;return I.createElement(L6e,{resolve:n,errorElement:r},I.createElement(N6e,null,e))}var Ll=(function(t){return t[t.pending=0]="pending",t[t.success=1]="success",t[t.error=2]="error",t})(Ll||{});const O6e=new Promise(()=>{});class L6e extends I.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,r){console.error("<Await> caught the following error during render",e,r)}render(){let{children:e,errorElement:r,resolve:n}=this.props,s=null,i=Ll.pending;if(!(n instanceof Promise))i=Ll.success,s=Promise.resolve(),Object.defineProperty(s,"_tracked",{get:()=>!0}),Object.defineProperty(s,"_data",{get:()=>n});else if(this.state.error){i=Ll.error;let o=this.state.error;s=Promise.reject().catch(()=>{}),Object.defineProperty(s,"_tracked",{get:()=>!0}),Object.defineProperty(s,"_error",{get:()=>o})}else n._tracked?(s=n,i="_error"in s?Ll.error:"_data"in s?Ll.success:Ll.pending):(i=Ll.pending,Object.defineProperty(n,"_tracked",{get:()=>!0}),s=n.then(o=>Object.defineProperty(n,"_data",{get:()=>o}),o=>Object.defineProperty(n,"_error",{get:()=>o})));if(i===Ll.error&&s._error instanceof L6)throw O6e;if(i===Ll.error&&!r)throw s._error;if(i===Ll.error)return I.createElement(TC.Provider,{value:s,children:r});if(i===Ll.success)return I.createElement(TC.Provider,{value:s,children:e});throw s}}function N6e(t){let{children:e}=t,r=Np(),n=typeof e=="function"?e(r):e;return I.createElement(I.Fragment,null,n)}function F6e(t){let e={hasErrorBoundary:t.ErrorBoundary!=null||t.errorElement!=null};return t.Component&&Object.assign(e,{element:I.createElement(t.Component),Component:void 0}),t.HydrateFallback&&Object.assign(e,{hydrateFallbackElement:I.createElement(t.HydrateFallback),HydrateFallback:void 0}),t.ErrorBoundary&&Object.assign(e,{errorElement:I.createElement(t.ErrorBoundary),ErrorBoundary:void 0}),e}function Dc(){return Dc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Dc.apply(this,arguments)}function YL(t,e){if(t==null)return{};var r={},n=Object.keys(t),s,i;for(i=0;i<n.length;i++)s=n[i],!(e.indexOf(s)>=0)&&(r[s]=t[s]);return r}const Ww="get",GE="application/x-www-form-urlencoded";function UA(t){return t!=null&&typeof t.tagName=="string"}function U6e(t){return UA(t)&&t.tagName.toLowerCase()==="button"}function B6e(t){return UA(t)&&t.tagName.toLowerCase()==="form"}function z6e(t){return UA(t)&&t.tagName.toLowerCase()==="input"}function q6e(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function V6e(t,e){return t.button===0&&(!e||e==="_self")&&!q6e(t)}function B6(t){return t===void 0&&(t=""),new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,r)=>{let n=t[r];return e.concat(Array.isArray(n)?n.map(s=>[r,s]):[[r,n]])},[]))}function H6e(t,e){let r=B6(t);return e&&e.forEach((n,s)=>{r.has(s)||e.getAll(s).forEach(i=>{r.append(s,i)})}),r}let m2=null;function G6e(){if(m2===null)try{new FormData(document.createElement("form"),0),m2=!1}catch{m2=!0}return m2}const W6e=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function WE(t){return t!=null&&!W6e.has(t)?null:t}function Y6e(t,e){let r,n,s,i,o;if(B6e(t)){let l=t.getAttribute("action");n=l?Lc(l,e):null,r=t.getAttribute("method")||Ww,s=WE(t.getAttribute("enctype"))||GE,i=new FormData(t)}else if(U6e(t)||z6e(t)&&(t.type==="submit"||t.type==="image")){let l=t.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let c=t.getAttribute("formaction")||l.getAttribute("action");if(n=c?Lc(c,e):null,r=t.getAttribute("formmethod")||l.getAttribute("method")||Ww,s=WE(t.getAttribute("formenctype"))||WE(l.getAttribute("enctype"))||GE,i=new FormData(l,t),!G6e()){let{name:u,type:d,value:f}=t;if(d==="image"){let p=u?u+".":"";i.append(p+"x","0"),i.append(p+"y","0")}else u&&i.append(u,f)}}else{if(UA(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Ww,n=null,s=GE,o=t}return i&&s==="text/plain"&&(o=i,i=void 0),{action:n,method:r.toLowerCase(),encType:s,formData:i,body:o}}const K6e=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Q6e=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],Z6e=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"],X6e="6";try{window.__reactRouterVersion=X6e}catch{}function J6e(t,e){return ZDe({basename:void 0,future:Dc({},void 0,{v7_prependBasename:!0}),history:bDe({window:void 0}),hydrationData:e$e(),routes:t,mapRouteProperties:F6e,dataStrategy:void 0,patchRoutesOnNavigation:void 0,window:void 0}).initialize()}function e$e(){var t;let e=(t=window)==null?void 0:t.__staticRouterHydrationData;return e&&e.errors&&(e=Dc({},e,{errors:t$e(e.errors)})),e}function t$e(t){if(!t)return null;let e=Object.entries(t),r={};for(let[n,s]of e)if(s&&s.__type==="RouteErrorResponse")r[n]=new PC(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let i=window[s.__subType];if(typeof i=="function")try{let o=new i(s.message);o.stack="",r[n]=o}catch{}}if(r[n]==null){let i=new Error(s.message);i.stack="",r[n]=i}}else r[n]=s;return r}const Xoe=I.createContext({isTransitioning:!1}),Joe=I.createContext(new Map),r$e="startTransition",oW=fh[r$e],n$e="flushSync",aW=lbe[n$e],s$e="useId",lW=fh[s$e];function i$e(t){oW?oW(t):t()}function wy(t){aW?aW(t):t()}class o$e{constructor(){this.status="pending",this.promise=new Promise((e,r)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",e(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",r(n))}})}}function a$e(t){let{fallbackElement:e,router:r,future:n}=t,[s,i]=I.useState(r.state),[o,l]=I.useState(),[c,u]=I.useState({isTransitioning:!1}),[d,f]=I.useState(),[p,m]=I.useState(),[h,_]=I.useState(),g=I.useRef(new Map),{v7_startTransition:y}=n||{},b=I.useCallback(P=>{y?i$e(P):P()},[y]),x=I.useCallback((P,T)=>{let{deletedFetchers:j,flushSync:R,viewTransitionOpts:D}=T;P.fetchers.forEach((N,F)=>{N.data!==void 0&&g.current.set(F,N.data)}),j.forEach(N=>g.current.delete(N));let O=r.window==null||r.window.document==null||typeof r.window.document.startViewTransition!="function";if(!D||O){R?wy(()=>i(P)):b(()=>i(P));return}if(R){wy(()=>{p&&(d&&d.resolve(),p.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:D.currentLocation,nextLocation:D.nextLocation})});let N=r.window.document.startViewTransition(()=>{wy(()=>i(P))});N.finished.finally(()=>{wy(()=>{f(void 0),m(void 0),l(void 0),u({isTransitioning:!1})})}),wy(()=>m(N));return}p?(d&&d.resolve(),p.skipTransition(),_({state:P,currentLocation:D.currentLocation,nextLocation:D.nextLocation})):(l(P),u({isTransitioning:!0,flushSync:!1,currentLocation:D.currentLocation,nextLocation:D.nextLocation}))},[r.window,p,d,g,b]);I.useLayoutEffect(()=>r.subscribe(x),[r,x]),I.useEffect(()=>{c.isTransitioning&&!c.flushSync&&f(new o$e)},[c]),I.useEffect(()=>{if(d&&o&&r.window){let P=o,T=d.promise,j=r.window.document.startViewTransition(async()=>{b(()=>i(P)),await T});j.finished.finally(()=>{f(void 0),m(void 0),l(void 0),u({isTransitioning:!1})}),m(j)}},[b,o,d,r.window]),I.useEffect(()=>{d&&o&&s.location.key===o.location.key&&d.resolve()},[d,p,s.location,o]),I.useEffect(()=>{!c.isTransitioning&&h&&(l(h.state),u({isTransitioning:!0,flushSync:!1,currentLocation:h.currentLocation,nextLocation:h.nextLocation}),_(void 0))},[c.isTransitioning,h]),I.useEffect(()=>{},[]);let w=I.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:P=>r.navigate(P),push:(P,T,j)=>r.navigate(P,{state:T,preventScrollReset:j?.preventScrollReset}),replace:(P,T,j)=>r.navigate(P,{replace:!0,state:T,preventScrollReset:j?.preventScrollReset})}),[r]),C=r.basename||"/",k=I.useMemo(()=>({router:r,navigator:w,static:!1,basename:C}),[r,w,C]),A=I.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return I.useEffect(()=>D6e(n,r.future),[n,r.future]),I.createElement(I.Fragment,null,I.createElement(V0.Provider,{value:k},I.createElement(FA.Provider,{value:s},I.createElement(Joe.Provider,{value:g.current},I.createElement(Xoe.Provider,{value:c},I.createElement($6e,{basename:C,location:s.location,navigationType:s.historyAction,navigator:w,future:A},s.initialized||r.future.v7_partialHydration?I.createElement(l$e,{routes:r.routes,future:r.future,state:s}):e))))),null)}const l$e=I.memo(c$e);function c$e(t){let{routes:e,future:r,state:n}=t;return x6e(e,void 0,n,r)}const u$e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",d$e=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,f$e=I.forwardRef(function(e,r){let{onClick:n,relative:s,reloadDocument:i,replace:o,state:l,target:c,to:u,preventScrollReset:d,viewTransition:f}=e,p=YL(e,K6e),{basename:m}=I.useContext(qc),h,_=!1;if(typeof u=="string"&&d$e.test(u)&&(h=u,u$e))try{let x=new URL(window.location.href),w=u.startsWith("//")?new URL(x.protocol+u):new URL(u),C=Lc(w.pathname,m);w.origin===x.origin&&C!=null?u=C+w.search+w.hash:_=!0}catch{}let g=_6e(u,{relative:s}),y=h$e(u,{replace:o,state:l,target:c,preventScrollReset:d,relative:s,viewTransition:f});function b(x){n&&n(x),x.defaultPrevented||y(x)}return I.createElement("a",Dc({},p,{href:h||g,onClick:_||i?n:b,ref:r,target:c}))}),z6=I.forwardRef(function(e,r){let{"aria-current":n="page",caseSensitive:s=!1,className:i="",end:o=!1,style:l,to:c,viewTransition:u,children:d}=e,f=YL(e,Q6e),p=Lp(c,{relative:f.relative}),m=to(),h=I.useContext(FA),{navigator:_,basename:g}=I.useContext(qc),y=h!=null&&y$e(p)&&u===!0,b=_.encodeLocation?_.encodeLocation(p).pathname:p.pathname,x=m.pathname,w=h&&h.navigation&&h.navigation.location?h.navigation.location.pathname:null;s||(x=x.toLowerCase(),w=w?w.toLowerCase():null,b=b.toLowerCase()),w&&g&&(w=Lc(w,g)||w);const C=b!=="/"&&b.endsWith("/")?b.length-1:b.length;let k=x===b||!o&&x.startsWith(b)&&x.charAt(C)==="/",A=w!=null&&(w===b||!o&&w.startsWith(b)&&w.charAt(b.length)==="/"),P={isActive:k,isPending:A,isTransitioning:y},T=k?n:void 0,j;typeof i=="function"?j=i(P):j=[i,k?"active":null,A?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let R=typeof l=="function"?l(P):l;return I.createElement(f$e,Dc({},f,{"aria-current":T,className:j,ref:r,style:R,to:c,viewTransition:u}),typeof d=="function"?d(P):d)}),p$e=I.forwardRef((t,e)=>{let{fetcherKey:r,navigate:n,reloadDocument:s,replace:i,state:o,method:l=Ww,action:c,onSubmit:u,relative:d,preventScrollReset:f,viewTransition:p}=t,m=YL(t,Z6e),h=gl(),_=v$e(c,{relative:d}),g=l.toLowerCase()==="get"?"get":"post",y=b=>{if(u&&u(b),b.defaultPrevented)return;b.preventDefault();let x=b.nativeEvent.submitter,w=x?.getAttribute("formmethod")||l;h(x||b.currentTarget,{fetcherKey:r,method:w,navigate:n,replace:i,state:o,relative:d,preventScrollReset:f,viewTransition:p})};return I.createElement("form",Dc({ref:e,method:g,action:_,onSubmit:s?u:y},m))});var Kb;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(Kb||(Kb={}));var q6;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(q6||(q6={}));function KL(t){let e=I.useContext(V0);return e||Jr(!1),e}function m$e(t){let e=I.useContext(FA);return e||Jr(!1),e}function h$e(t,e){let{target:r,replace:n,state:s,preventScrollReset:i,relative:o,viewTransition:l}=e===void 0?{}:e,c=ys(),u=to(),d=Lp(t,{relative:o});return I.useCallback(f=>{if(V6e(f,r)){f.preventDefault();let p=n!==void 0?n:Cp(u)===Cp(d);c(t,{replace:p,state:s,preventScrollReset:i,relative:o,viewTransition:l})}},[u,c,d,n,s,r,t,i,o,l])}function hl(t){let e=I.useRef(B6(t)),r=I.useRef(!1),n=to(),s=I.useMemo(()=>H6e(n.search,r.current?null:e.current),[n.search]),i=ys(),o=I.useCallback((l,c)=>{const u=B6(typeof l=="function"?l(s):l);r.current=!0,i("?"+u,c)},[i,s]);return[s,o]}function g$e(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let _$e=0,eae=()=>"__"+String(++_$e)+"__";function gl(){let{router:t}=KL(Kb.UseSubmit),{basename:e}=I.useContext(qc),r=P6e();return I.useCallback(function(n,s){s===void 0&&(s={}),g$e();let{action:i,method:o,encType:l,formData:c,body:u}=Y6e(n,e);if(s.navigate===!1){let d=s.fetcherKey||eae();t.fetch(d,r,s.action||i,{preventScrollReset:s.preventScrollReset,formData:c,body:u,formMethod:s.method||o,formEncType:s.encType||l,flushSync:s.flushSync})}else t.navigate(s.action||i,{preventScrollReset:s.preventScrollReset,formData:c,body:u,formMethod:s.method||o,formEncType:s.encType||l,replace:s.replace,state:s.state,fromRouteId:r,flushSync:s.flushSync,viewTransition:s.viewTransition})},[t,e,r])}function v$e(t,e){let{relative:r}=e===void 0?{}:e,{basename:n}=I.useContext(qc),s=I.useContext(ic);s||Jr(!1);let[i]=s.matches.slice(-1),o=Dc({},Lp(t||".",{relative:r})),l=to();if(t==null){o.search=l.search;let c=new URLSearchParams(o.search),u=c.getAll("index");if(u.some(f=>f==="")){c.delete("index"),u.filter(p=>p).forEach(p=>c.append("index",p));let f=c.toString();o.search=f?"?"+f:""}}return(!t||t===".")&&i.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(o.pathname=o.pathname==="/"?n:$u([n,o.pathname])),Cp(o)}function gr(t){var e;let{key:r}=t===void 0?{}:t,{router:n}=KL(Kb.UseFetcher),s=m$e(q6.UseFetcher),i=I.useContext(Joe),o=I.useContext(ic),l=(e=o.matches[o.matches.length-1])==null?void 0:e.route.id;i||Jr(!1),o||Jr(!1),l==null&&Jr(!1);let c=lW?lW():"",[u,d]=I.useState(r||c);r&&r!==u?d(r):u||d(eae()),I.useEffect(()=>(n.getFetcher(u),()=>{n.deleteFetcher(u)}),[n,u]);let f=I.useCallback((b,x)=>{l||Jr(!1),n.fetch(u,l,b,x)},[u,l,n]),p=gl(),m=I.useCallback((b,x)=>{p(b,Dc({},x,{navigate:!1,fetcherKey:u}))},[u,p]),h=I.useMemo(()=>I.forwardRef((x,w)=>I.createElement(p$e,Dc({},x,{navigate:!1,fetcherKey:u,ref:w}))),[u]),_=s.fetchers.get(u)||Boe,g=i.get(u);return I.useMemo(()=>Dc({Form:h,submit:m,load:f},_,{data:g}),[h,m,f,_,g])}function y$e(t,e){e===void 0&&(e={});let r=I.useContext(Xoe);r==null&&Jr(!1);let{basename:n}=KL(Kb.useViewTransitionState),s=Lp(t,{relative:e.relative});if(!r.isTransitioning)return!1;let i=Lc(r.currentLocation.pathname,n)||r.currentLocation.pathname,o=Lc(r.nextLocation.pathname,n)||r.nextLocation.pathname;return MC(s.pathname,o)!=null||MC(s.pathname,i)!=null}function b$e(t){return tr("MuiAlert",t)}const cW=rr("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),x$e=rs(a.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),S$e=rs(a.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),w$e=rs(a.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),C$e=rs(a.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),tae=rs(a.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),A$e=t=>{const{variant:e,color:r,severity:n,classes:s}=t,i={root:["root",`color${tt(r||n)}`,`${e}${tt(r||n)}`,`${e}`],icon:["icon"],message:["message"],action:["action"]};return nr(i,b$e,s)},k$e=Ce(pa,{name:"MuiAlert",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`${r.variant}${tt(r.color||r.severity)}`]]}})(Xt(({theme:t})=>{const e=t.palette.mode==="light"?Nu:Fu,r=t.palette.mode==="light"?Fu:Nu;return{...t.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter(Kn(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert[`${n}Color`]:e(t.palette[n].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${n}StandardBg`]:r(t.palette[n].light,.9),[`& .${cW.icon}`]:t.vars?{color:t.vars.palette.Alert[`${n}IconColor`]}:{color:t.palette[n].main}}})),...Object.entries(t.palette).filter(Kn(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert[`${n}Color`]:e(t.palette[n].light,.6),border:`1px solid ${(t.vars||t).palette[n].light}`,[`& .${cW.icon}`]:t.vars?{color:t.vars.palette.Alert[`${n}IconColor`]}:{color:t.palette[n].main}}})),...Object.entries(t.palette).filter(Kn(["dark"])).map(([n])=>({props:{colorSeverity:n,variant:"filled"},style:{fontWeight:t.typography.fontWeightMedium,...t.vars?{color:t.vars.palette.Alert[`${n}FilledColor`],backgroundColor:t.vars.palette.Alert[`${n}FilledBg`]}:{backgroundColor:t.palette.mode==="dark"?t.palette[n].dark:t.palette[n].main,color:t.palette.getContrastText(t.palette[n].main)}}}))]}})),M$e=Ce("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,e)=>e.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),P$e=Ce("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),j$e=Ce("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),uW={success:a.jsx(x$e,{fontSize:"inherit"}),warning:a.jsx(S$e,{fontSize:"inherit"}),error:a.jsx(w$e,{fontSize:"inherit"}),info:a.jsx(C$e,{fontSize:"inherit"})},T$e=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiAlert"}),{action:s,children:i,className:o,closeText:l="Close",color:c,components:u={},componentsProps:d={},icon:f,iconMapping:p=uW,onClose:m,role:h="alert",severity:_="success",slotProps:g={},slots:y={},variant:b="standard",...x}=n,w={...n,color:c,severity:_,variant:b,colorSeverity:c||_},C=A$e(w),k={slots:{closeButton:u.CloseButton,closeIcon:u.CloseIcon,...y},slotProps:{...d,...g}},[A,P]=mr("root",{ref:r,shouldForwardComponentProp:!0,className:lt(C.root,o),elementType:k$e,externalForwardedProps:{...k,...x},ownerState:w,additionalProps:{role:h,elevation:0}}),[T,j]=mr("icon",{className:C.icon,elementType:M$e,externalForwardedProps:k,ownerState:w}),[R,D]=mr("message",{className:C.message,elementType:P$e,externalForwardedProps:k,ownerState:w}),[O,N]=mr("action",{className:C.action,elementType:j$e,externalForwardedProps:k,ownerState:w}),[F,U]=mr("closeButton",{elementType:Zr,externalForwardedProps:k,ownerState:w}),[z,H]=mr("closeIcon",{elementType:tae,externalForwardedProps:k,ownerState:w});return a.jsxs(A,{...P,children:[f!==!1?a.jsx(T,{...j,children:f||p[_]||uW[_]}):null,a.jsx(R,{...D,children:i}),s!=null?a.jsx(O,{...N,children:s}):null,s==null&&m?a.jsx(O,{...N,children:a.jsx(F,{size:"small","aria-label":l,title:l,color:"inherit",onClick:m,...U,children:a.jsx(z,{fontSize:"small",...H})})}):null]})});function E$e(t){return tr("MuiAlertTitle",t)}rr("MuiAlertTitle",["root"]);const R$e=t=>{const{classes:e}=t;return nr({root:["root"]},E$e,e)},I$e=Ce(cn,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(t,e)=>e.root})(Xt(({theme:t})=>({fontWeight:t.typography.fontWeightMedium,marginTop:-2}))),D$e=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiAlertTitle"}),{className:s,...i}=n,o=n,l=R$e(o);return a.jsx(I$e,{gutterBottom:!0,component:"div",ownerState:o,ref:r,className:lt(l.root,s),...i})});var rae={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},dW=Yn.createContext&&Yn.createContext(rae),$$e=["attr","size","title"];function O$e(t,e){if(t==null)return{};var r=L$e(t,e),n,s;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(s=0;s<i.length;s++)n=i[s],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function L$e(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function EC(){return EC=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},EC.apply(this,arguments)}function fW(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),r.push.apply(r,n)}return r}function RC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fW(Object(r),!0).forEach(function(n){N$e(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fW(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function N$e(t,e,r){return e=F$e(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function F$e(t){var e=U$e(t,"string");return typeof e=="symbol"?e:e+""}function U$e(t,e){if(typeof t!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function nae(t){return t&&t.map((e,r)=>Yn.createElement(e.tag,RC({key:r},e.attr),nae(e.child)))}function Bt(t){return e=>Yn.createElement(B$e,EC({attr:RC({},t.attr)},e),nae(t.child))}function B$e(t){var e=r=>{var{attr:n,size:s,title:i}=t,o=O$e(t,$$e),l=s||r.size||"1em",c;return r.className&&(c=r.className),t.className&&(c=(c?c+" ":"")+t.className),Yn.createElement("svg",EC({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,o,{className:c,style:RC(RC({color:t.color||r.color},r.style),t.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),i&&Yn.createElement("title",null,i),t.children)};return dW!==void 0?Yn.createElement(dW.Consumer,null,r=>e(r)):e(rae)}function z$e(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m12 17 1-2V9.858c1.721-.447 3-2 3-3.858 0-2.206-1.794-4-4-4S8 3.794 8 6c0 1.858 1.279 3.411 3 3.858V15l1 2zM10 6c0-1.103.897-2 2-2s2 .897 2 2-.897 2-2 2-2-.897-2-2z"},child:[]},{tag:"path",attr:{d:"m16.267 10.563-.533 1.928C18.325 13.207 20 14.584 20 16c0 1.892-3.285 4-8 4s-8-2.108-8-4c0-1.416 1.675-2.793 4.267-3.51l-.533-1.928C4.197 11.54 2 13.623 2 16c0 3.364 4.393 6 10 6s10-2.636 10-6c0-2.377-2.197-4.46-5.733-5.437z"},child:[]}]})(t)}function q$e(t){return Bt({attr:{viewBox:"0 0 24 24",fill:"none"},child:[{tag:"path",attr:{d:"M12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8V16Z",fill:"currentColor"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM12 4V8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16V20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4Z",fill:"currentColor"},child:[]}]})(t)}function V$e(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,23 L4,20 L1,23 Z M20,4 L23,1 L20,4 Z M9,11 L12,8 L9,11 Z M13,15 L16,12 L13,15 Z M10,5 L19,14 L20,13 C22,11 24.0533047,8.00000006 20,4 C15.9466953,-5.91784286e-08 13,2 11,4 L10,5 Z M4,11 L5,10 L14,19 L13,20 C11.0000005,22 7.9999999,24.0873857 4,20 C9.84858655e-08,15.9126143 2,13 4,11 Z"},child:[]}]})(t)}function H$e(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,22 L12,2 M2,12 L22,12"},child:[]}]})(t)}function G$e(t){return Bt({attr:{fill:"none",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{strokeWidth:"2",d:"M12 12a3 3 0 100-6 3 3 0 000 6zm0 0v11M7.05 4.05A6.978 6.978 0 005 9c0 1.933.784 3.683 2.05 4.95m9.9 0A6.978 6.978 0 0019 9a6.978 6.978 0 00-2.05-4.95M4.222 1.222A10.966 10.966 0 001 9c0 3.037 1.231 5.787 3.222 7.778m15.556 0A10.966 10.966 0 0023 9c0-3.038-1.231-5.788-3.222-7.778"},child:[]}]})(t)}function W$e(t){return Bt({attr:{fill:"none",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{strokeWidth:"2",d:"M3 17h4m3 0h4m3 0h4M4 21h2a1 1 0 001-1V4a1 1 0 00-1-1H4a1 1 0 00-1 1v16a1 1 0 001 1zm7 0h2a1 1 0 001-1V4a1 1 0 00-1-1h-2a1 1 0 00-1 1v16a1 1 0 001 1zm7 0h2a1 1 0 001-1V4a1 1 0 00-1-1h-2a1 1 0 00-1 1v16a1 1 0 001 1z"},child:[]}]})(t)}function Y$e(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M10,1 L10,11 L13,9 L16,11 L16,1 M5.5,18 C4.11928813,18 3,19.1192881 3,20.5 C3,21.8807119 4.11928813,23 5.5,23 L22,23 M3,20.5 L3,3.5 C3,2.11928813 4.11928813,1 5.5,1 L21,1 L21,18.0073514 L5.49217286,18.0073514 M20.5,18 C19.1192881,18 18,19.1192881 18,20.5 C18,21.8807119 19.1192881,23 20.5,23 L20.5,23"},child:[]}]})(t)}function K$e(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M5.5,18 C4.11928813,18 3,19.1192881 3,20.5 C3,21.8807119 4.11928813,23 5.5,23 L22,23 M3,20.5 L3,3.5 C3,2.11928813 4.11928813,1 5.5,1 L21,1 L21,18.0073514 L5.49217286,18.0073514 M20.5,18 C19.1192881,18 18,19.1192881 18,20.5 C18,21.8807119 19.1192881,23 20.5,23 L20.5,23"},child:[]}]})(t)}function Q$e(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M5,6 L1,4.5 L1,18.443038 L12,23 L23,18.443038 L23,4 L19,6 M5,16 L5,2 L12,5 L19,2 L19,16 L12,19 L5,16 Z M11.95,5 L11.95,19"},child:[]}]})(t)}function Z$e(t){return Bt({attr:{fill:"none",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{strokeWidth:"2",d:"M15 19H2V1h16v4m0 0a5 5 0 110 10 5 5 0 010-10zm-3 9v8l3-2 3 2v-8M5 8h6m-6 3h5m-5 3h2M5 5h2"},child:[]}]})(t)}function X$e(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 Z M12,10 L12,18 M12,6 L12,8"},child:[]}]})(t)}function J$e(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 Z M12,15 L12,14 C12,13 12,12.5 13,12 C14,11.5 15,11 15,9.5 C15,8.5 14,7 12,7 C10,7 9,8.26413718 9,10 M12,16 L12,18"},child:[]}]})(t)}function eOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M10,4 C10,2.8954305 10.8954305,2 12,2 C13.1045695,2 14,2.8954305 14,4 L14,10 L20,10 L20,14 L4,14 L4,10 L10,10 L10,4 Z M4,14 L20,14 L20,22 L12,22 L4,22 L4,14 Z M16,22 L16,16.3646005 M8,22 L8,16.3646005 M12,22 L12,16.3646005"},child:[]}]})(t)}function tOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 Z M5,5 L19,19"},child:[]}]})(t)}function rOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,1 L23,1 L23,23 L1,23 L1,1 Z M1,5 L23,5 M5,1 L5,5 M11,16 L19,16 M5,10 L8,13 L5,16"},child:[]}]})(t)}function nOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M3,3 L21,21 M3,21 L21,3"},child:[]}]})(t)}function sOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M6,6 L6,5 C6,2 7.5,1 10,1 L14,1 C16.5,1 18,2.5 18,5 L18,6 C21,6 23,8 23,11 C23,14 21,16 18,16 M14,6 L6,6 C3,6 1,7.5 1,11 C1,14.5 3,16 6,16 M8,19 L16,19 L16,12 L8,12 L8,19 Z M12,19 L12,23 L12,19 Z M9,23 L15,23 L9,23 Z"},child:[]}]})(t)}function iOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M8,9 L16,9 L16,1 L8,1 L8,9 Z M1,23 L9,23 L9,15 L1,15 L1,23 Z M15,23 L23,23 L23,15 L15,15 L15,23 Z M5,15 L8,9 L5,15 Z M10,19 L14,19 L10,19 Z M16,9 L19,15 L16,9 Z"},child:[]}]})(t)}function oOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M9,22 L15,2 M17,17 L22,12 L17,7 M7,17 L2,12 L7,7"},child:[]}]})(t)}function aOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M16,15 C20.0089021,14.9354541 23,11.9673591 23,8 C23,4.98813056 22.0029673,5.9851632 21,7 C20.0089021,7.97922849 18,10 18,10 L14,6 C14,6 16.0207715,3.99109792 17,3 C18.0148368,1.99703264 18.0148368,1 16,1 C12.0326409,0.999999999 9.05307486,3.99109792 9,8 C9.04154304,8.97626113 9,11 9,11 C7.11486635,12.8970031 4.65923194,15.3526375 3,17 C0.0682492584,19.9436202 4.05637975,23.9317507 7,21 C8.65052042,19.3376102 11.1126942,16.8754364 13,15 C13,15 15.0237389,14.958457 16,15 Z"},child:[]}]})(t)}function lOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,2 L22,2 L22,18 L14,18 L6,22 L6,18 L1,18 L1,2 Z M6,10 L7,10 L7,11 L6,11 L6,10 Z M11,10 L12,10 L12,11 L11,11 L11,10 Z M16,10 L17,10 L17,11 L16,11 L16,10 Z"},child:[]}]})(t)}function cOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M9,15 L17,15 L9,15 Z M9,11 L19,11 L9,11 Z M9,7 L13,7 L9,7 Z M16,1 L16,7 L22,7 M6,5 L2,5 L2,23 L18,23 L18,19 M22,19 L6,19 L6,1 L17,1 L22,6 L22,19 L22,19 Z"},child:[]}]})(t)}function uOe(t){return Bt({attr:{fill:"none",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{strokeWidth:"2",d:"M1 18h3m-3-4h3m-3-4h3M1 6h3m16 12h3m-3-4h3m-3-4h3m-3-4h3M6 1v3m4-3v3m4-3v3m4-3v3M6 20v3m4-3v3m4-3v3m4-3v3M5 20h14a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v14a1 1 0 001 1zm8-13h4v4h-4V7z"},child:[]}]})(t)}function pW(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M6.5,10.5 L12,13.5 L17.5,10.5 L17.5,4.5 L12,1.5 L6.5,4.5 L6.5,10.5 Z M6.5,4.5 L12,7.5 L17.5,4.5 M12,7.5 L12,13.5 L12,7.5 Z M1,19.5 L6.5,22.5 L12,19.5 L12,13.5 L6.5,10.5 L1,13.5 L1,19.5 Z M1,13.5 L6.5,16.5 L12,13.5 M6.5,16.5 L6.5,22.5 L6.5,16.5 Z M12,19.5 L17.5,22.5 L23,19.5 L23,13.5 L17.5,10.5 L12,13.5 L12,19.5 Z M12,13.5 L17.5,16.5 L23,13.5 M17.5,16.5 L17.5,22.5 L17.5,16.5 Z"},child:[]}]})(t)}function dOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 Z M15,16 C15,14.3431458 13.6568542,13 12,13 C10.3431458,13 9,14.3431458 9,16 M5,5 L7,7 M12,7 L12,13 M12,3 L12,5 M19,12 L21,12 M3,12 L5,12 M17,7 L19,5 M3,17 L21,17"},child:[]}]})(t)}function fOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,2 L23,2 L23,9 L1,9 L1,2 Z M4,12 L5,12 L5,13 L4,13 L4,12 Z M4,5 L5,5 L5,6 L4,6 L4,5 Z M4,19 L5,19 L5,20 L4,20 L4,19 Z M1,16 L23,16 L23,23 L1,23 L1,16 Z M1,9 L23,9 L23,16 L1,16 L1,9 Z"},child:[]}]})(t)}function pOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M17,11 L22,6 L17,1 M22,6 L18,6 C14.686,6 12,8.686 12,12 L12,24 M7,6 L2,11 L7,16 M2,11 L6,11 C9.314,11 12,13.686 12,17 L12,24"},child:[]}]})(t)}function mOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M2.99787498,0.999999992 L17.4999998,0.999999992 L20.9999998,4.50000005 L21,23 L3,23 L2.99787498,0.999999992 Z M16,1 L16,6 L21,6 M9,12 L15,18 M15,12 L9,18"},child:[]}]})(t)}function hOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M6,16 L16,16 L6,16 L6,16 Z M6,12 L18,12 L6,12 L6,12 Z M6,8 L11,8 L6,8 L6,8 Z M14,1 L14,8 L21,8 M3,23 L3,1 L15,1 L21,7 L21,23 L3,23 Z"},child:[]}]})(t)}function gOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M14,1 L14,8 L21,8 M21,23 L3,23 L3,1 L15,1 L18,4 L21,7 L21,23 L21,23 L21,23 Z"},child:[]}]})(t)}function _Oe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"polyline",attr:{fill:"none",strokeWidth:"2",points:"7.086 3.174 17.086 13.174 7.086 23.174",transform:"scale(1 -1) rotate(-89 -1.32 0)"},child:[]}]})(t)}function vOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,17 L1,23 L23,23 L23,17 M12,2 L12,19 M5,12 L12,19 L19,12"},child:[]}]})(t)}function yOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M14,4 L20,10 L14,4 Z M22.2942268,5.29422684 C22.6840146,5.68401459 22.6812861,6.3187139 22.2864907,6.71350932 L9,20 L2,22 L4,15 L17.2864907,1.71350932 C17.680551,1.319449 18.3127724,1.31277239 18.7057732,1.70577316 L22.2942268,5.29422684 Z M3,19 L5,21 M7,17 L15,9"},child:[]}]})(t)}function bOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"polygon",attr:{fill:"none",strokeWidth:"2",points:"3 6 10 13 10 21 14 21 14 13 21 6 21 3 3 3"},child:[]}]})(t)}function xOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M2,10 L2,6 L2,2 L10,2 L13,6 L22,6 L22,10 L2,10 Z M2,10 L22,10 L22,22 L2,22 L2,10 Z"},child:[]}]})(t)}function SOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M3,12 L6,12 C6.5,14.5 9.27272727,17 12,17 C14.7272727,17 17.5,14.5 18,12 L21,12 M12,17 L12,20 M7.5,15.5 L5.5,17.5 M16.5,15.5 L18.5,17.5"},child:[]}]})(t)}function wOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,17 C9.27272727,17 6,14.2222222 6,12 C6,9.77777778 9.27272727,7 12,7 C14.7272727,7 18,9.77777778 18,12 C18,14.2222222 14.7272727,17 12,17 Z M11,12 C11,12.55225 11.44775,13 12,13 C12.55225,13 13,12.55225 13,12 C13,11.44775 12.55225,11 12,11 C11.44775,11 11,11.44775 11,12 Z"},child:[]}]})(t)}function COe(t){return Bt({attr:{fill:"none",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{strokeWidth:"2",d:"M12 20v-5m0-6V4m-7 8h5m9 0h-5m-.969-4.031L12 9.344l-1.031-1.375h2.062zm-2.062 8.07L12 14.664l1.031 1.375H10.97zM6 13.031L4.625 12 6 10.969v2.062zm12-2.062L19.375 12 18 13.031V10.97zM12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1z"},child:[]}]})(t)}function AOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,13 C14.209139,13 16,11.209139 16,9 C16,6.790861 14.209139,5 12,5 C9.790861,5 8,6.790861 8,9 C8,11.209139 9.790861,13 12,13 Z M6,22 L6,19 C6,15.6862915 8.6862915,13 12,13 C15.3137085,13 18,15.6862915 18,19 L18,22 M13,5 C13.4037285,3.33566165 15.0151447,2 17,2 C19.172216,2 20.98052,3.790861 21,6 C20.98052,8.209139 19.172216,10 17,10 L16,10 L17,10 C20.287544,10 23,12.6862915 23,16 L23,18 M11,5 C10.5962715,3.33566165 8.98485529,2 7,2 C4.82778404,2 3.01948003,3.790861 3,6 C3.01948003,8.209139 4.82778404,10 7,10 L8,10 L7,10 C3.71245602,10 1,12.6862915 1,16 L1,18"},child:[]}]})(t)}function kOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,12 C1,18.075 5.925,23 12,23 C18.075,23 23,18.075 23,12 C23,5.925 18.075,1 12,1 C7.563,1 4,4 2,7.5 M1,1 L1,8 L8,8 M16,17 L12,13 L12,6"},child:[]}]})(t)}function MOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,11 L12,2 L23,11 M15,23 L15,15 L15,15 L9,15 L9,23 M4,23 L4,9 M20,23 L20,9"},child:[]}]})(t)}function POe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M17,4 L18,4 L18,5 L17,5 L17,4 Z M3,1 L21,1 L21,23 L3,23 L3,1 Z M3,13 L21,13 L3,13 Z M3,18 L21,18 L3,18 Z M3,8 L21,8 L3,8 Z"},child:[]}]})(t)}function jOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M10,13 L10,16 L13,16 L13,19 L16,19 L16,21 L18,23 L23,23 L23,19 L12.74,8.74 C12.91,8.19 13,7.6 13,7 C13,3.69 10.31,1 7,1 C3.69,1 1,3.69 1,7 C1,10.31 3.69,13 7,13 C7.88,13 8.72,12.81 9.47,12.47 L10,13 Z M6,7 C5.4475,7 5,6.5525 5,6 C5,5.4475 5.4475,5 6,5 C6.5525,5 7,5.4475 7,6 C7,6.5525 6.5525,7 6,7 Z"},child:[]}]})(t)}function TOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,23 C18.0751322,23 23,18.0751322 23,12 C23,5.92486775 18.0751322,1 12,1 C5.92486775,1 1,5.92486775 1,12 C1,18.0751322 5.92486775,23 12,23 Z M12,23 C15,23 16,18 16,12 C16,6 15,1 12,1 C9,1 8,6 8,12 C8,18 9,23 12,23 Z M2,16 L22,16 M2,8 L22,8"},child:[]}]})(t)}function EOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeWidth:"2",d:"M9,6 L21,6 M9,12 L21,12 M9,18 L17,18 M4,7 C4.55228475,7 5,6.55228475 5,6 C5,5.44771525 4.55228475,5 4,5 C3.44771525,5 3,5.44771525 3,6 C3,6.55228475 3.44771525,7 4,7 Z M4,13 C4.55228475,13 5,12.5522847 5,12 C5,11.4477153 4.55228475,11 4,11 C3.44771525,11 3,11.4477153 3,12 C3,12.5522847 3.44771525,13 4,13 Z M4,19 C4.55228475,19 5,18.5522847 5,18 C5,17.4477153 4.55228475,17 4,17 C3.44771525,17 3,17.4477153 3,18 C3,18.5522847 3.44771525,19 4,19 Z"},child:[]}]})(t)}function ROe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M19,23 L19,11 L5,11 L5,23 L19,23 Z M12,15 L12,19 M17,11 L17,7 C17,4 17,1 12,1 C7,1 7,4 7,7 L7,11"},child:[]}]})(t)}function IOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M13,9 L13,2 L1,2 L1,22 L13,22 L13,15 M22,12 L5,12 M17,7 L22,12 L17,17"},child:[]}]})(t)}function DOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M2.5,19.5 L19.5,2.5 L21.5,4.5 L4.5,21.5 L2.5,19.5 Z M3,20 L15,8 L16,9 L4,21 L3,20 Z M5.5,3 L5,3.5 L5.5,4 L6,3.5 L5.5,3 Z M11.5,3 L11,3.5 L11.5,4 L12,3.5 L11.5,3 Z M8.5,6 L8,6.5 L8.5,7 L9,6.5 L8.5,6 Z M20.5,12 L20,12.5 L20.5,13 L21,12.5 L20.5,12 Z M20.5,17 L20,17.5 L20.5,18 L21,17.5 L20.5,17 Z"},child:[]}]})(t)}function $Oe(t){return Bt({attr:{fill:"none",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{strokeWidth:"2",d:"M10 18h4m-4-4h4m-4-4h4m-4-4h4m6 12h3m-3-4h3m-3-4h3m-3-4h3M1 18h3m-3-4h3m-3-4h3M1 6h3m11 14h4a1 1 0 001-1V5a1 1 0 00-1-1h-4a1 1 0 00-1 1v14a1 1 0 001 1zM5 20h4a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v14a1 1 0 001 1z"},child:[]}]})(t)}function OOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M16,16 C16,14.8954305 12.8659932,14 9,14 C5.13400675,14 2,14.8954305 2,16 C2,17.1045695 5.13400675,18 9,18 C12.8659932,18 16,17.1045695 16,16 Z M2,16 L2,20.9367547 C2,22.0762536 5.13400675,23 9,23 C12.8659932,23 16,22.0762537 16,20.9367548 L16,16 M9,5 C4.581722,5 1,5.8954305 1,7 C1,8.1045695 4.581722,9 9,9 M1,7 L1,12.0000002 C1,13.0128881 4.581722,14 9,14 M23,4 C23,2.8954305 19.9004329,2 16.0769231,2 C12.2534133,2 9.15384615,2.8954305 9.15384615,4 C9.15384615,5.1045695 12.2534133,6 16.0769231,6 C19.9004329,6 23,5.1045695 23,4 Z M16,16 C19.8235098,16 23.0000002,15.0128879 23.0000002,14 L23,4 M9.15384615,3.99999999 L9.15384615,14.1660042 M8.99999999,9.00000001 C8.99999999,10.0128879 12.2534135,11 16.0769233,11 C19.9004331,11 23.0000004,10.0128879 23.0000004,9.00000001"},child:[]}]})(t)}function LOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,16 L23,16 L23,2 L1,2 L1,16 Z M5,22 L19,22 L5,22 Z M9,22 L15,22 L15,16 L9,16 L9,22 Z"},child:[]}]})(t)}function NOe(t){return Bt({attr:{fill:"none",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{strokeLinejoin:"round",strokeWidth:"2",d:"M9.874 5.008c2.728-1.68 6.604-1.014 8.25.197-2.955.84-5.11 3.267-5.242 6.415-.18 4.28 3.006 6.588 5.24 7.152-1.964 1.343-4.36 1.293-5.235 1.172-3.568-.492-6.902-3.433-7.007-7.711-.106-4.278 2.573-6.35 3.994-7.225z"},child:[]}]})(t)}function FOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M3,13 L3,11 L5,11 L5,13 L3,13 Z M11,12.9995001 L11,11 L12.9995001,11 L12.9995001,12.9995001 L11,12.9995001 Z M19,12.9995001 L19,11 L20.9995001,11 L20.9995001,12.9995001 L19,12.9995001 Z"},child:[]}]})(t)}function UOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M7.5,7 L7.5,15.5142857 C7.5,19.7571429 13,18.3428571 13,22.1142857 L13,24 M11,10 L7.5,7 L4,10 M16.5,2 L16.5,10.440516 C16.5,14.5083612 13,13.1524128 13,16.7682752 L13,24 M13,5 L16.5,2 L20,5"},child:[]}]})(t)}function BOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"polyline",attr:{fill:"none",strokeWidth:"2",points:"7 2 17 12 7 22"},child:[]}]})(t)}function zOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M3,1 L3,23 L16,23 L21,18 L21,1 L3,1 Z M6,17 L11,17 M6,13 L18,13 M6,9 L16,9 M3,5 L21,5 M21,17 L15,17 L15,23"},child:[]}]})(t)}function qOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M4,19 L4,9 C4,4.582 7.582,1 12,1 C16.418,1 20,4.582 20,9 L20,19 M1,19 L23,19 M15,19 L15,20 C15,21.657 13.657,23 12,23 C10.343,23 9,21.657 9,20 L9,19"},child:[]}]})(t)}function VOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"polygon",attr:{fill:"none",strokeWidth:"2",points:"3 22 21 12 3 2"},child:[]}]})(t)}function HOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"11",fill:"none",strokeWidth:"2"},child:[]}]})(t)}function GOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M20,8 C18.5974037,5.04031171 15.536972,3 12,3 C7.02943725,3 3,7.02943725 3,12 C3,16.9705627 7.02943725,21 12,21 L12,21 C16.9705627,21 21,16.9705627 21,12 M21,3 L21,9 L15,9"},child:[]}]})(t)}function WOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,3 L21,7.5 L12,12 L3,7.5 L12,3 Z M16.5,10.25 L21,12.5 L12,17 L3,12.5 L7.5,10.25 L7.5,10.25 M16.5,15.25 L21,17.5 L12,22 L3,17.5 L7.5,15.25 L7.5,15.25"},child:[]}]})(t)}function YOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M7,17 C2.97059067,12.7941347 2.97059067,6.11763731 7,2 L22,17 C17.8823627,21.0294093 11.2058653,21.0294093 7,17 Z M7,17 C3.705,17 1,19.9491525 1,23 L13,23 C13,21.8610169 12.63,20.9661017 12,20 M15,9 L19,5 L15,9 Z M20.5,1 C19.119,1 18,2.119 18,3.5 C18,4.881 19.119,6 20.5,6 C21.881,6 23,4.881 23,3.5 C23,2.119 21.881,1 20.5,1 L20.5,1 Z"},child:[]}]})(t)}function KOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M15,15 L22,22 L15,15 Z M9.5,17 C13.6421356,17 17,13.6421356 17,9.5 C17,5.35786438 13.6421356,2 9.5,2 C5.35786438,2 2,5.35786438 2,9.5 C2,13.6421356 5.35786438,17 9.5,17 Z"},child:[]}]})(t)}function QOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M7,11 L7,6 C7,3 9,1 12,1 C15,1 17,3 17,6 L17,11 M12,23 C15.8659932,23 19,19.8659932 19,16 C19,12.1340068 15.8659932,9 12,9 C8.13400675,9 5,12.1340068 5,16 C5,19.8659932 8.13400675,23 12,23 Z M12,15 L12,19 M12,16 C12.5522847,16 13,15.5522847 13,15 C13,14.4477153 12.5522847,14 12,14 C11.4477153,14 11,14.4477153 11,15 C11,15.5522847 11.4477153,16 12,16 Z"},child:[]}]})(t)}function ZOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M22,3 L2,11 L20.5,19 L22,3 Z M10,20.5 L13,16 M15.5,9.5 L9,14 L9.85884537,20.0119176 C9.93680292,20.5576204 10.0751625,20.5490248 10.1651297,20.009222 L11,15 L15.5,9.5 Z"},child:[]}]})(t)}function mW(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,8 L23,8 L23,1 L1,1 L1,8 Z M11,5 L12,5 L12,4 L11,4 L11,5 Z M19,5 L20,5 L20,4 L19,4 L19,5 Z M15,5 L16,5 L16,4 L15,4 L15,5 Z M11,12 L12,12 L12,11 L11,11 L11,12 Z M19,12 L20,12 L20,11 L19,11 L19,12 Z M15,12 L16,12 L16,11 L15,11 L15,12 Z M11,19 L12,19 L12,18 L11,18 L11,19 Z M19,19 L20,19 L20,18 L19,18 L19,19 Z M15,19 L16,19 L16,18 L15,18 L15,19 Z M1,15 L23,15 L23,8 L1,8 L1,15 Z M1,22 L23,22 L23,15 L1,15 L1,22 Z M21,23 L3,23"},child:[]}]})(t)}function XOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M14,19 L15,19 L15,18 L14,18 L14,19 Z M5,23 L19,23 L19,1 L5,1 L5,23 Z M8,5 L16,5 L8,5 Z M8,9 L16,9 L8,9 Z M8,13 L16,13 L8,13 Z"},child:[]}]})(t)}function JOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M7,19 L8,19 L8,18 L7,18 L7,19 Z M18,19 L19,19 L19,18 L18,18 L18,19 Z M1,23 L12,23 L12,1 L1,1 L1,23 Z M12,23 L23,23 L23,1 L12,1 L12,23 Z M4,5 L9,5 L4,5 Z M15,5 L20,5 L15,5 Z M4,9 L9,9 L4,9 Z M15,9 L20,9 L15,9 Z M4,13 L9,13 L4,13 Z M15,13 L20,13 L15,13 Z"},child:[]}]})(t)}function eLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M7,13 C10.3137085,13 13,10.3137085 13,7 C13,3.6862915 10.3137085,1 7,1 C3.6862915,1 1,3.6862915 1,7 C1,10.3137085 3.6862915,13 7,13 Z M14.995457,16.6569808 L14.995457,16.6569808 C15.6222982,16.8791083 16.2970312,17 17,17 C20.3137085,17 23,14.3137085 23,11 C23,7.6862915 20.3137085,5 17,5 C15.5133616,5 14.1530044,5.54067366 13.1048383,6.43611087 M4.82356548,12.6921643 C3.69893809,13.7826979 3,15.3097261 3,17 C3,20.3137085 5.6862915,23 9,23 L9,23 C12.3137085,23 15,20.3137085 15,17 C15,14.4351166 13.3906156,12.2461251 11.1265973,11.3877758 M6.5,6 L8,7 L6.5,8 L6.5,6 Z"},child:[]}]})(t)}function tLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,9 L12,0 M15,12 L24,12 M0,12 L9,12 M12,24 L12,15 M12,21 C16.9705627,21 21,16.9705627 21,12 C21,7.02943725 16.9705627,3 12,3 C7.02943725,3 3,7.02943725 3,12 C3,16.9705627 7.02943725,21 12,21 Z M3.5,8.5 L1,7.5 M20.5,15.5 L23,16.5 M3,3 L5.5,5.5 M3,3 L5.5,5.5 M18,18 L20.5,20.5 M20.5,3 L18,5.5 M5.5,18 L3,20.5 M12,15 C13.6568542,15 15,13.6568542 15,12 C15,10.3431458 13.6568542,9 12,9 C10.3431458,9 9,10.3431458 9,12 C9,13.6568542 10.3431458,15 12,15 Z M20.5,8.5 L23,7.5 M15.5,3.5 L16.5,1 M15.5,20.5 L16.5,23 M8.5,20.5 L7.5,23 M3.5,15.5 L1,16.5 M8.5,3.5 L7.5,1"},child:[]}]})(t)}function rLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M19,13 L19,23 L1,23 L1,5 L1,5 L11,5 M14,1 L23,1 L23,10 M10,14 L22.9999998,1 L10,14 Z"},child:[]}]})(t)}function nLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,0 L12,24 M2,12 L12,12 M22,12 L12,12 M6,8 L2,12 L6,16 M18,8 L22,12 L18,16"},child:[]}]})(t)}function sLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M7,3 L22,3 M7,9 L16,9 M7,15 L22,15 M2,2 L4,2 L4,4 L2,4 L2,2 Z M2,8 L4,8 L4,10 L2,10 L2,8 Z M2,14 L4,14 L4,16 L2,16 L2,14 Z M2,20 L4,20 L4,22 L2,22 L2,20 Z M7,21 L16,21"},child:[]}]})(t)}function iLe(t){return Bt({attr:{viewBox:"0 0 12 12"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6.71239638,1.26313029 C6.31895072,0.869684641 5.68347072,0.867263198 5.28760362,1.26313029 L1.26313029,5.28760362 C0.869684641,5.68104928 0.867263198,6.31652928 1.26313029,6.71239638 L5.28760362,10.7368697 C5.68104928,11.1303154 6.31652928,11.1327368 6.71239638,10.7368697 L10.7368697,6.71239638 C11.1303154,6.31895072 11.1327368,5.68347072 10.7368697,5.28760362 L6.71239638,1.26313029 Z"},child:[]}]})(t)}function oLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12.7031806,2.70318058 C12.3148247,2.31482467 11.6897542,2.31024575 11.2968194,2.70318058 L2.70318058,11.2968194 C2.31482467,11.6851753 2.31024575,12.3102458 2.70318058,12.7031806 L11.2968194,21.2968194 C11.6851753,21.6851753 12.3102458,21.6897542 12.7031806,21.2968194 L21.2968194,12.7031806 C21.6851753,12.3148247 21.6897542,11.6897542 21.2968194,11.2968194 L12.7031806,2.70318058 Z M8.98264552,14.7001725 L14.7001725,8.98264552 M8.98264552,8.98264552 L14.7001725,14.7001725"},child:[]}]})(t)}function aLe(t){return Bt({attr:{viewBox:"0 0 12 12"},child:[{tag:"circle",attr:{cx:"6",cy:"6",r:"5",fillRule:"evenodd"},child:[]}]})(t)}function lLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 Z M7,12 L11,15 L16,8"},child:[]}]})(t)}function cLe(t){return Bt({attr:{viewBox:"0 0 12 12"},child:[{tag:"rect",attr:{width:"10",height:"10",x:"1",y:"1",fillRule:"evenodd",rx:"1"},child:[]}]})(t)}function uLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M2,3.99079514 C2,2.89130934 2.89821238,2 3.99079514,2 L20.0092049,2 C21.1086907,2 22,2.89821238 22,3.99079514 L22,20.0092049 C22,21.1086907 21.1017876,22 20.0092049,22 L3.99079514,22 C2.89130934,22 2,21.1017876 2,20.0092049 L2,3.99079514 Z M12,10 L12,18 M12,6 L12,8"},child:[]}]})(t)}function dLe(t){return Bt({attr:{viewBox:"0 0 12 12"},child:[{tag:"polygon",attr:{fillRule:"evenodd",strokeLinejoin:"round",points:"6 1 11 10 1 10"},child:[]}]})(t)}function fLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"2",d:"M12,3 L22,21 L2,21 L12,3 Z M12,9 L12,15 M12,16 L12,18"},child:[]}]})(t)}function pLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"rect",attr:{width:"16",height:"16",x:"4",y:"4",fill:"none",strokeWidth:"2"},child:[]}]})(t)}function mLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M2,5.07692308 C2,5.07692308 3.66666667,2 12,2 C20.3333333,2 22,5.07692308 22,5.07692308 L22,18.9230769 C22,18.9230769 20.3333333,22 12,22 C3.66666667,22 2,18.9230769 2,18.9230769 L2,5.07692308 Z M2,13 C2,13 5.33333333,16 12,16 C18.6666667,16 22,13 22,13 M2,7 C2,7 5.33333333,10 12,10 C18.6666667,10 22,7 22,7"},child:[]}]})(t)}function hLe(t){return Bt({attr:{fill:"none",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 4V2m0 20v-2m8-8h2M2 12h2m13.657-5.657L19.07 4.93M4.93 19.07l1.414-1.414m0-11.314L4.93 4.93M19.07 19.07l-1.414-1.414M12 17a5 5 0 100-10 5 5 0 000 10z"},child:[]}]})(t)}function gLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M5,19 L16,19 C19.866,19 23,15.866 23,12 L23,9 M8,15 L4,19 L8,23 M19,5 L8,5 C4.134,5 1,8.134 1,12 L1,15 M16,1 L20,5 L16,9"},child:[]}]})(t)}function _Le(t){return Bt({attr:{viewBox:"0 0 24 24",fill:"none"},child:[{tag:"path",attr:{d:"M1 13H5L7.5 4L12.5 20.5L17 9L19 13H23",strokeWidth:"2"},child:[]}]})(t)}function vLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M4,5 L20,5 L20,23 L4,23 L4,5 Z M1,5 L23,5 M9,1 L15,1 L15,5 L9,5 L9,1 Z M9,1 L15,1 L15,5 L9,5 L9,1 Z M15,9 L15,19 M9,9 L9,19"},child:[]}]})(t)}function yLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M4,1 L10,1 L10,7 L4,7 L4,1 Z M16,11 L20,11 L20,15 L16,15 L16,11 Z M16,19 L20,19 L20,23 L16,23 L16,19 Z M7,7 L7,21 L16,21 M7,13 L16,13"},child:[]}]})(t)}function bLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"polyline",attr:{fill:"none",strokeWidth:"2",points:"7.086 1.174 17.086 11.174 7.086 21.174",transform:"rotate(-89 12.086 11.174)"},child:[]}]})(t)}function xLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,18 L12,8 L12,18 Z M12,23 C18.0751322,23 23,18.0751322 23,12 C23,5.92486775 18.0751322,1 12,1 C5.92486775,1 1,5.92486775 1,12 C1,18.0751322 5.92486775,23 12,23 Z M17,12 L12,7 L7,12"},child:[]}]})(t)}function SLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,17 L1,23 L23,23 L23,17 M12,2 L12,19 M5,9 L12,2 L19,9"},child:[]}]})(t)}function hW(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M8,24 L8,19 M16,24 L16,19 M3,24 L3,19 C3,14.0294373 7.02943725,11 12,11 C16.9705627,11 21,14.0294373 21,19 L21,24 M12,11 C14.7614237,11 17,8.76142375 17,6 C17,3.23857625 14.7614237,1 12,1 C9.23857625,1 7,3.23857625 7,6 C7,8.76142375 9.23857625,11 12,11 Z"},child:[]}]})(t)}function wLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"},child:[]}]})(t)}function CLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 13H5v-2h14v2z"},child:[]}]})(t)}function ALe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"},child:[]},{tag:"path",attr:{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},child:[]}]})(t)}function kLe(t){return Bt({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M176,16H80A24,24,0,0,0,56,40V216a24,24,0,0,0,24,24h96a24,24,0,0,0,24-24V40A24,24,0,0,0,176,16Zm8,200a8,8,0,0,1-8,8H80a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h96a8,8,0,0,1,8,8ZM168,56a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,56Z"},child:[]}]})(t)}function MLe(t){return Bt({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M200,152a31.84,31.84,0,0,0-19.53,6.68l-23.11-18A31.65,31.65,0,0,0,160,128c0-.74,0-1.48-.08-2.21l13.23-4.41A32,32,0,1,0,168,104c0,.74,0,1.48.08,2.21l-13.23,4.41A32,32,0,0,0,128,96a32.59,32.59,0,0,0-5.27.44L115.89,81A32,32,0,1,0,96,88a32.59,32.59,0,0,0,5.27-.44l6.84,15.4a31.92,31.92,0,0,0-8.57,39.64L73.83,165.44a32.06,32.06,0,1,0,10.63,12l25.71-22.84a31.91,31.91,0,0,0,37.36-1.24l23.11,18A31.65,31.65,0,0,0,168,184a32,32,0,1,0,32-32Zm0-64a16,16,0,1,1-16,16A16,16,0,0,1,200,88ZM80,56A16,16,0,1,1,96,72,16,16,0,0,1,80,56ZM56,208a16,16,0,1,1,16-16A16,16,0,0,1,56,208Zm56-80a16,16,0,1,1,16,16A16,16,0,0,1,112,128Zm88,72a16,16,0,1,1,16-16A16,16,0,0,1,200,200Z"},child:[]}]})(t)}function PLe(t){return Bt({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M232,112H136V88h8a16,16,0,0,0,16-16V40a16,16,0,0,0-16-16H112A16,16,0,0,0,96,40V72a16,16,0,0,0,16,16h8v24H24a8,8,0,0,0,0,16H56v32H48a16,16,0,0,0-16,16v32a16,16,0,0,0,16,16H80a16,16,0,0,0,16-16V176a16,16,0,0,0-16-16H72V128H184v32h-8a16,16,0,0,0-16,16v32a16,16,0,0,0,16,16h32a16,16,0,0,0,16-16V176a16,16,0,0,0-16-16h-8V128h32a8,8,0,0,0,0-16ZM112,40h32V72H112ZM80,208H48V176H80Zm128,0H176V176h32Z"},child:[]}]})(t)}function jLe(t){return Bt({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M232,104H208V56h24a8,8,0,0,0,0-16H205.83A16,16,0,0,0,192,32H176a16,16,0,0,0-13.83,8H144A104.11,104.11,0,0,0,40,144v18.16A16,16,0,0,0,32,176v16a16,16,0,0,0,8,13.84V232a8,8,0,0,0,16,0V208h48v24a8,8,0,0,0,16,0V205.84A16,16,0,0,0,128,192V176a16,16,0,0,0-8-13.84V144a24,24,0,0,1,24-24h18.17A16,16,0,0,0,176,128h16a16,16,0,0,0,13.83-8H232a8,8,0,0,0,0-16ZM112,176v16H48V176Zm-8-32v16H56V144a88.1,88.1,0,0,1,88-88h16v48H144A40,40,0,0,0,104,144Zm72-32V48h16v63.8c0,.07,0,.13,0,.2Z"},child:[]}]})(t)}function TLe(t){return Bt({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M27.2,126.4a8,8,0,0,0,11.2-1.6,52,52,0,0,1,83.2,0,8,8,0,0,0,11.2,1.59,7.73,7.73,0,0,0,1.59-1.59h0a52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,93.51a40,40,0,1,0-53.94,0,67.27,67.27,0,0,0-21,14.31,67.27,67.27,0,0,0-21-14.31,40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,25.6,115.2,8,8,0,0,0,27.2,126.4ZM176,40a24,24,0,1,1-24,24A24,24,0,0,1,176,40ZM80,40A24,24,0,1,1,56,64,24,24,0,0,1,80,40ZM203,197.51a40,40,0,1,0-53.94,0,67.27,67.27,0,0,0-21,14.31,67.27,67.27,0,0,0-21-14.31,40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,25.6,219.2a8,8,0,1,0,12.8,9.6,52,52,0,0,1,83.2,0,8,8,0,0,0,11.2,1.59,7.73,7.73,0,0,0,1.59-1.59h0a52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,197.51ZM80,144a24,24,0,1,1-24,24A24,24,0,0,1,80,144Zm96,0a24,24,0,1,1-24,24A24,24,0,0,1,176,144Z"},child:[]}]})(t)}function ELe(t){return Bt({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M20.5956 3.90332L15.9994 8.49951L20.5956 13.0957L22.0098 11.6815L18.8278 8.49951L22.0098 5.31753L20.5956 3.90332ZM21 19.9995V17.9995H3V19.9995H21ZM12 12.9995V10.9995H3V12.9995H12ZM12 5.99951V3.99951H3V5.99951H12Z"},child:[]}]})(t)}function RLe(t){return Bt({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M21 17.9995V19.9995H3V17.9995H21ZM17.4038 3.90332L22 8.49951L17.4038 13.0957L15.9896 11.6815L19.1716 8.49951L15.9896 5.31753L17.4038 3.90332ZM12 10.9995V12.9995H3V10.9995H12ZM12 3.99951V5.99951H3V3.99951H12Z"},child:[]}]})(t)}function ILe(t){return Bt({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M12 1L20.2169 2.82598C20.6745 2.92766 21 3.33347 21 3.80217V13.7889C21 15.795 19.9974 17.6684 18.3282 18.7812L12 23L5.6718 18.7812C4.00261 17.6684 3 15.795 3 13.7889V3.80217C3 3.33347 3.32553 2.92766 3.78307 2.82598L12 1ZM12 3.04879L5 4.60434V13.7889C5 15.1263 5.6684 16.3752 6.7812 17.1171L12 20.5963L17.2188 17.1171C18.3316 16.3752 19 15.1263 19 13.7889V4.60434L12 3.04879ZM16.4524 8.22183L17.8666 9.63604L11.5026 16L7.25999 11.7574L8.67421 10.3431L11.5019 13.1709L16.4524 8.22183Z"},child:[]}]})(t)}function DLe(t){return Bt({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M12 1L20.2169 2.82598C20.6745 2.92766 21 3.33347 21 3.80217V13.7889C21 15.795 19.9974 17.6684 18.3282 18.7812L12 23L5.6718 18.7812C4.00261 17.6684 3 15.795 3 13.7889V3.80217C3 3.33347 3.32553 2.92766 3.78307 2.82598L12 1ZM12 3.04879L5 4.60434V13.7889C5 15.1263 5.6684 16.3752 6.7812 17.1171L12 20.5963L17.2188 17.1171C18.3316 16.3752 19 15.1263 19 13.7889V4.60434L12 3.04879ZM12 7C13.1046 7 14 7.89543 14 9C14 9.73984 13.5983 10.3858 13.0011 10.7318L13 15H11L10.9999 10.7324C10.4022 10.3866 10 9.74025 10 9C10 7.89543 10.8954 7 12 7Z"},child:[]}]})(t)}function $Le(t){return Bt({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M3.78307 2.82598L12 1L20.2169 2.82598C20.6745 2.92766 21 3.33347 21 3.80217V13.7889C21 15.795 19.9974 17.6684 18.3282 18.7812L12 23L5.6718 18.7812C4.00261 17.6684 3 15.795 3 13.7889V3.80217C3 3.33347 3.32553 2.92766 3.78307 2.82598ZM5 4.60434V13.7889C5 15.1263 5.6684 16.3752 6.7812 17.1171L12 20.5963L17.2188 17.1171C18.3316 16.3752 19 15.1263 19 13.7889V4.60434L12 3.04879L5 4.60434ZM12 11C10.6193 11 9.5 9.88071 9.5 8.5C9.5 7.11929 10.6193 6 12 6C13.3807 6 14.5 7.11929 14.5 8.5C14.5 9.88071 13.3807 11 12 11ZM7.52746 16C7.77619 13.75 9.68372 12 12 12C14.3163 12 16.2238 13.75 16.4725 16H7.52746Z"},child:[]}]})(t)}function OLe(t){return Bt({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M0 4.02Zm.412-.503c-.038 0-.072 0-.102.01a.336.336 0 0 0-.087.035H.215a.325.325 0 0 0-.113.113.416.416 0 0 0-.053.1c-.008.021-.019.036-.023.067a.423.423 0 0 0-.015.071v-.01H.004v.018L0 3.936l.007-.023v.046L0 4.004v.015h.004l.003-.004v-.003a1.323 1.323 0 0 0 .095.472l.019.046v.007l.06.144.023.06.064.163a19.736 19.736 0 0 0 1.724 3.254L2 8.173l.023.038c.922 1.44 2.037 2.885 3.202 4.095l.037.04c.832.859 1.686 1.6 2.514 2.129a4 4 0 0 0 .37.216l.038.019-.026.019c-1.127 1.64-2.42 2.834-3.742 3.704C2.51 19.763.91 20.172.91 20.172s4.237 1.164 8.887-1.013c3.534-1.664 5.368-4.903 5.787-5.621l2.124-3.61c.333-.458.522-.647.54-.68.065-.065.538-.614 1.524-.946 1.46-.488 3.667-.783 4.188-.832a.113.113 0 0 0 .03-.132.076.076 0 0 0-.056-.05 4.177 4.177 0 0 0-.544-.037 9.234 9.234 0 0 0-1.399.068 18.39 18.39 0 0 0-1.383.204 29.78 29.78 0 0 0-1.066.204l-.053.012h-.023a3.493 3.493 0 0 1-.574.037 2.737 2.737 0 0 1-.473-.075 7.3 7.3 0 0 1-.465-.129 6.79 6.79 0 0 0-.484-.143 4.645 4.645 0 0 0-1.463-.152 2.797 2.797 0 0 0-.657.133l-.167.06a2.767 2.767 0 0 0-1.22.972c-.401.536-1.233 2.178-2.374 2.613l-.023-.023h.01a77.214 77.214 0 0 0-.9-.829l-.021-.015-.2-.189-.053-.042a60.73 60.73 0 0 0-2.307-2.014 28.411 28.411 0 0 0-1.504-1.13l-.227-.163a30.725 30.725 0 0 0-3.93-2.332c-.114-.064-.23-.102-.36-.166-.038-.016-.076-.038-.102-.038l.196.11-.079-.038h-.01V4.18a1.013 1.013 0 0 0-.054-.023l-.023-.015-.03-.015a1.01 1.01 0 0 1-.102-.05l-.072-.033a1.512 1.512 0 0 1-.098-.046c-.03-.01-.057-.022-.076-.022a1.296 1.296 0 0 0-.22-.08l-.007-.004-.015-.007h-.007l-.012-.004v-.004h-.022a.37.37 0 0 1-.038-.019l-.038-.018a.113.113 0 0 0-.034-.012h-.004l-.234-.094a2.854 2.854 0 0 0-.242-.087.601.601 0 0 0-.151-.03ZM0 3.891Zm.094.593.012.027Zm.012.03c.022.06.041.118.068.17zm.068.174.003.012zM16.757 8.3a.386.386 0 0 1 .113.015.386.386 0 0 1 .269.473.386.386 0 0 1-.473.264.386.386 0 0 1-.264-.468.386.386 0 0 1 .355-.284z"},child:[]}]})(t)}function LLe(t){return Bt({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M23.02 10.59a8.578 8.578 0 0 0-.862-3.034 8.911 8.911 0 0 0-1.789-2.445c.337-1.342-.413-2.505-.413-2.505-1.292-.08-2.113.4-2.416.62-.052-.02-.102-.044-.154-.064-.22-.089-.446-.172-.677-.247-.231-.073-.47-.14-.711-.197a9.867 9.867 0 0 0-.875-.161C14.557.753 12.94 0 12.94 0c-1.804 1.145-2.147 2.744-2.147 2.744l-.018.093c-.098.029-.2.057-.298.088-.138.042-.275.094-.413.143-.138.055-.275.107-.41.166a8.869 8.869 0 0 0-1.557.87l-.063-.029c-2.497-.955-4.716.195-4.716.195-.203 2.658.996 4.33 1.235 4.636a11.608 11.608 0 0 0-.607 2.635C1.636 12.677.953 15.014.953 15.014c1.926 2.214 4.171 2.351 4.171 2.351.003-.002.006-.002.006-.005.285.509.615.994.986 1.446.156.19.32.371.488.548-.704 2.009.099 3.68.099 3.68 2.144.08 3.553-.937 3.849-1.173a9.784 9.784 0 0 0 3.164.501h.08l.055-.003.107-.002.103-.005.003.002c1.01 1.44 2.788 1.646 2.788 1.646 1.264-1.332 1.337-2.653 1.337-2.94v-.058c0-.02-.003-.039-.003-.06.265-.187.52-.387.758-.6a7.875 7.875 0 0 0 1.415-1.7c1.43.083 2.437-.885 2.437-.885-.236-1.49-1.085-2.216-1.264-2.354l-.018-.013-.016-.013a.217.217 0 0 1-.031-.02c.008-.092.016-.18.02-.27.011-.162.016-.323.016-.48v-.253l-.005-.098-.008-.135a1.891 1.891 0 0 0-.01-.13c-.003-.042-.008-.083-.013-.125l-.016-.124-.018-.122a6.215 6.215 0 0 0-2.032-3.73 6.015 6.015 0 0 0-3.222-1.46 6.292 6.292 0 0 0-.85-.048l-.107.002h-.063l-.044.003-.104.008a4.777 4.777 0 0 0-3.335 1.695c-.332.4-.592.84-.768 1.297a4.594 4.594 0 0 0-.312 1.817l.003.091c.005.055.007.11.013.164a3.615 3.615 0 0 0 .698 1.82 3.53 3.53 0 0 0 1.827 1.282c.33.098.66.14.971.137.039 0 .078 0 .114-.002l.063-.003c.02 0 .041-.003.062-.003.034-.002.065-.007.099-.01.007 0 .018-.003.028-.003l.031-.005.06-.008a1.18 1.18 0 0 0 .112-.02c.036-.008.072-.013.109-.024a2.634 2.634 0 0 0 .914-.415c.028-.02.056-.041.085-.065a.248.248 0 0 0 .039-.35.244.244 0 0 0-.309-.06l-.078.042c-.09.044-.184.083-.283.116a2.476 2.476 0 0 1-.475.096c-.028.003-.054.006-.083.006l-.083.002c-.026 0-.054 0-.08-.002l-.102-.006h-.012l-.024.006c-.016-.003-.031-.003-.044-.006-.031-.002-.06-.007-.091-.01a2.59 2.59 0 0 1-.724-.213 2.557 2.557 0 0 1-.667-.438 2.52 2.52 0 0 1-.805-1.475 2.306 2.306 0 0 1-.029-.444l.006-.122v-.023l.002-.031c.003-.021.003-.04.005-.06a3.163 3.163 0 0 1 1.352-2.29 3.12 3.12 0 0 1 .937-.43 2.946 2.946 0 0 1 .776-.101h.06l.07.002.045.003h.026l.07.005a4.041 4.041 0 0 1 1.635.49 3.94 3.94 0 0 1 1.602 1.662 3.77 3.77 0 0 1 .397 1.414l.005.076.003.075c.002.026.002.05.002.075 0 .024.003.052 0 .07v.065l-.002.073-.008.174a6.195 6.195 0 0 1-.08.639 5.1 5.1 0 0 1-.267.927 5.31 5.31 0 0 1-.624 1.13 5.052 5.052 0 0 1-3.237 2.014 4.82 4.82 0 0 1-.649.066l-.039.003h-.287a6.607 6.607 0 0 1-1.716-.265 6.776 6.776 0 0 1-3.4-2.274 6.75 6.75 0 0 1-.746-1.15 6.616 6.616 0 0 1-.714-2.596l-.005-.083-.002-.02v-.056l-.003-.073v-.096l-.003-.104v-.07l.003-.163c.008-.22.026-.45.054-.678a8.707 8.707 0 0 1 .28-1.355c.128-.444.286-.872.473-1.277a7.04 7.04 0 0 1 1.456-2.1 5.925 5.925 0 0 1 .953-.763c.169-.111.343-.213.524-.306.089-.05.182-.091.273-.135.047-.02.093-.042.138-.062a7.177 7.177 0 0 1 .714-.267l.145-.045c.049-.015.098-.026.148-.041.098-.029.197-.052.296-.076.049-.013.1-.02.15-.033l.15-.032.151-.028.076-.013.075-.01.153-.024c.057-.01.114-.013.171-.023l.169-.021c.036-.003.073-.008.106-.01l.073-.008.036-.003.042-.002c.057-.003.114-.008.171-.01l.086-.006h.023l.037-.003.145-.007a7.999 7.999 0 0 1 1.708.125 7.917 7.917 0 0 1 2.048.68 8.253 8.253 0 0 1 1.672 1.09l.09.077.089.078c.06.052.114.107.171.159.057.052.112.106.166.16.052.055.107.107.159.164a8.671 8.671 0 0 1 1.41 1.978c.012.026.028.052.04.078l.04.078.075.156c.023.051.05.1.07.153l.065.15a8.848 8.848 0 0 1 .45 1.34.19.19 0 0 0 .201.142.186.186 0 0 0 .172-.184c.01-.246.002-.532-.024-.856z"},child:[]}]})(t)}function NLe(t){return Bt({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M21.039 0a2.959 2.959 0 00-2.65 4.274l-6.447 6.447a2.96 2.96 0 101.335 1.336l6.447-6.447A2.959 2.959 0 1021.04 0zM10.628 2.745c-.072 0-.143.003-.214.004-.072.002-.143.002-.215.005-.447.018-.893.064-1.335.138l-.03.005-.185.033-.105.02a7.718 7.718 0 00-.289.062l-.032.008a10.69 10.69 0 00-2.55.95l-.155.089c-.063.034-.125.07-.187.105-.046.027-.093.051-.14.079H5.19l-.01.005-.036.02v.002l.111.184 3.15 5.23a4.168 4.168 0 01.38-.202 4.294 4.294 0 011.628-.413c.071-.004.143-.008.214-.008zm.428.01v6.333c.325.034.647.103.96.209l4.66-4.66c-.173-.12-.348-.237-.528-.347l-.026-.015c-.056-.035-.112-.067-.168-.1l-.098-.056-.099-.055a12.735 12.735 0 00-.171-.092l-.027-.014a10.628 10.628 0 00-1.425-.617c-.69-.241-1.403-.41-2.128-.505l-.089-.012-.09-.01a6.56 6.56 0 00-.17-.019l-.049-.004-.204-.017a6.44 6.44 0 00-.255-.015c-.031-.003-.062-.003-.093-.004zM4.782 4.498a9.92 9.92 0 00-1.36 1.062l4.461 4.461.018.018c.049-.04.098-.078.149-.116l-.011-.018zm-1.67 1.36c-.05.05-.098.103-.147.154l-.149.155c-.33.357-.63.73-.902 1.118l-.039.056a10.588 10.588 0 00-.216.326 10.6 10.6 0 00-1.65 5.276l-.006.215-.003.214h6.317c0-.072.007-.143.01-.214.005-.072.006-.144.013-.215.081-.822.399-1.625.952-2.3.045-.055.096-.106.144-.16.048-.052.093-.107.144-.158zm16.255 1.464l-4.663 4.663c.106.312.175.634.21.959h6.332l-.004-.094a11.579 11.579 0 00-.032-.456l-.005-.052a13.044 13.044 0 00-.026-.241v-.009l-.033-.24v-.009a10.618 10.618 0 00-.327-1.493l-.003-.01a15.839 15.839 0 00-.07-.228l-.01-.03a14.111 14.111 0 00-.069-.204l-.02-.055a5.65 5.65 0 00-.153-.405 7.84 7.84 0 00-.093-.227 16.67 16.67 0 00-.063-.144l-.037-.081a13.776 13.776 0 00-.08-.171l-.024-.052-.096-.194-.014-.027a11.2 11.2 0 00-.112-.212l-.004-.008a10.615 10.615 0 00-.604-.98zm-4.43 6.05c0 .071-.006.142-.01.214-.003.072-.005.143-.012.214a4.29 4.29 0 01-.952 2.301c-.045.055-.096.107-.144.16-.048.053-.093.108-.144.159l4.467 4.467c.051-.051.099-.104.148-.155.05-.052.1-.103.148-.155.331-.358.633-.733.905-1.122l.032-.046.098-.144.085-.13.04-.063a10.597 10.597 0 001.647-5.272c.003-.071.004-.143.006-.214.001-.071.004-.143.004-.214zM.01 13.8l.004.093.01.179.005.076.017.206.005.046c.007.076.015.153.024.228l.003.022a9.605 9.605 0 00.033.248c.072.505.182 1.005.327 1.497l.002.006c.022.077.047.154.071.23l.004.014.005.014a15.737 15.737 0 00.153.439l.03.08.059.148a7.702 7.702 0 00.093.228l.062.14.038.084.078.169.027.054a10.677 10.677 0 00.225.441l.025.043 5.408-3.258.02-.012a4.314 4.314 0 01-.395-1.414h-.025zm.505 2.846l-.206.058.002.005zm6.425-1.052l-5.415 3.262c.083.139.17.273.259.406l.008.014.004.005.008.014h.001c.007.012.014.022.022.032l.001.002v.001a10.634 10.634 0 00.298.417l.006.008a9.963 9.963 0 00.29.368l.033.04c.043.052.086.103.13.153l.057.065.112.127.064.069.029.031.083.09.035.035c.049.051.098.103.149.153L7.58 16.42a3.86 3.86 0 01-.285-.321 4.422 4.422 0 01-.356-.505zm6.416 1.111c-.05.04-.1.079-.15.116l.011.018 3.257 5.407c.151-.099.3-.2.446-.307.315-.232.62-.484.914-.756l-4.46-4.46zm-5.457.003l-.015.015-4.46 4.46a8.966 8.966 0 00.195.176c.022.02.043.04.065.058l.152.13a10.622 10.622 0 00.215.174l.023.017.191.148.008.005c.268.2.547.389.834.564l.03.018.164.097.101.057a5.458 5.458 0 00.27.148c.008.004.016.01.025.013.162.085.327.164.493.24l.158-.385 2.243-5.448.009-.02a4.328 4.328 0 01-.701-.467zm4.951.353c-.061.037-.124.07-.187.104a4.318 4.318 0 01-3.271.336c-.069-.02-.135-.047-.203-.071-.067-.024-.136-.044-.202-.072l-2.242 5.444-.088.213-.075.183v.001l.017.007a.137.137 0 00.019.007l.005.003c.052.021.106.04.159.06.067.027.133.053.2.077l.102.04c.702.247 1.43.42 2.168.518l.087.012.09.01.172.019a7.173 7.173 0 00.252.022c.023.001.048.001.071.003l.184.011.112.005a7.06 7.06 0 00.358.007h.05a10.667 10.667 0 001.793-.15l.185-.034.105-.02.109-.023.18-.04.032-.008a10.684 10.684 0 002.55-.95c.052-.028.104-.06.156-.089.063-.034.125-.07.187-.105.043-.024.087-.047.13-.073h.001l.002-.002.002-.001.002-.001.007-.004.042-.025-.11-.183-.11-.184zm3.262 5.414l-.042.025.042-.024zm-.05.029zm-.005.004h-.002z"},child:[]}]})(t)}function FLe(t){return Bt({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M14.54.889l-3.63 1.773v18.17c-4.15-.52-7.27-2.78-7.27-5.5 0-2.58 2.8-4.75 6.63-5.41v-2.31C4.42 8.322 0 11.502 0 15.332c0 3.96 4.74 7.24 10.91 7.78l3.63-1.71V.888m.64 6.724v2.31c1.43.25 2.71.7 3.76 1.31l-1.97 1.11 7.03 1.53-.5-5.21-1.87 1.06c-1.74-1.06-3.96-1.81-6.45-2.11z"},child:[]}]})(t)}function ULe(t){return Bt({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 0C5.373 0 0 5.372 0 12c0 6.627 5.373 12 12 12s12-5.373 12-12c0-6.628-5.373-12-12-12zm0 22.46c-1.885 0-3.414-1.26-3.414-2.814h6.828c0 1.553-1.528 2.813-3.414 2.813zm5.64-3.745H6.36v-2.046h11.28v2.046zm-.04-3.098H6.391c-.037-.043-.075-.086-.111-.13-1.155-1.401-1.427-2.133-1.69-2.879-.005-.025 1.4.287 2.395.511 0 0 .513.119 1.262.255-.72-.843-1.147-1.915-1.147-3.01 0-2.406 1.845-4.508 1.18-6.207.648.053 1.34 1.367 1.387 3.422.689-.951.977-2.69.977-3.755 0-1.103.727-2.385 1.454-2.429-.648 1.069.168 1.984.894 4.256.272.854.237 2.29.447 3.201.07-1.892.395-4.652 1.595-5.605-.529 1.2.079 2.702.494 3.424.671 1.164 1.078 2.047 1.078 3.716a4.642 4.642 0 01-1.11 2.996c.792-.149 1.34-.283 1.34-.283l2.573-.502s-.374 1.538-1.81 3.019z"},child:[]}]})(t)}const ge={Copy:cOe,Terminal:rOe,Logs:zOe,Alerts:qOe,Profile:hW,Logout:IOe,Directions:pOe,Home:MOe,NCM:PLe,AAA:W$e,AMF:z$e,AUSF:jOe,CHF:OOe,DSM:mW,DRA:UOe,EIR:kLe,MME:G$e,NRF:TOe,PCF:ILe,SGWC:COe,SMF:jLe,SMSF:lOe,UDM:TLe,UDR:fOe,UPF:MLe,PLS:pW,BMSC:YOe,System:tLe,Licensing:Z$e,AuthenticationStrategies:DLe,Users:AOe,Roles:$Le,Backup:kOe,Service:eLe,Upgrade:xLe,TLS:ROe,Fluentbit:OLe,Prometheus:ULe,Grafana:LLe,UEstatus:_Le,Platform:pW,Monitoring:dOe,Code:oOe,Tree:yLe,Filter:bOe,Upload:SLe,Trash:vLe,Edit:yOe,Search:KOe,Info:X$e,Circle:HOe,User:hW,Send:ZOe,Disconnect:V$e,Download:vOe,Darkmode:NOe,Lightmode:hLe,Details:hOe,RightArrow:BOe,UpArrow:bLe,DownArrow:_Oe,Link:rLe,List:EOe,Stack:WOe,StatusError:oLe,StatusWarning:fLe,StatusInfo:uLe,StatusSuccess:lLe,StatusErrorSmall:iLe,StatusWarningSmall:dLe,StatusInfoSmall:cLe,StatusSuccessSmall:aLe,Add:H$e,Host:POe,Play:VOe,Stop:pLe,Folder:xOe,Refresh:GOe,Cpu:uOe,Ram:$Oe,Server:XOe,ServerCluster:mW,Servers:JOe,Clock:ALe,Cloud:sOe,Clear:eOe,More:FOe,QuestionMark:J$e,Magic:DOe,Document:gOe,Password:QOe,Sync:gLe,Close:nOe,DocumentMissing:mOe,Drive:mLe,Minus:CLe,Plus:wLe,NavigationBurgerOpen:RLe,NavigationBurgerClose:ELe,Cluster:iOe,Shift:nLe,PasswordView:wOe,PasswordHide:SOe,Config:aOe,Catalog:Q$e,Reset:tOe,Manual:Y$e,CatalogOption:K$e,OAS:NLe,Sort:sLe,Monitor:LOe,DarkModeToggle:q$e,OpenID:FLe},_e=I.forwardRef((t,e)=>{const r=he.c(14),{children:n,type:s,align:i,paragraph:o,color:l,fontWeight:c,lineHeight:u,noWrap:d,fontSize:f,sx:p,title:m,className:h}=t,_=d===void 0?!1:d;let g;return r[0]!==i||r[1]!==n||r[2]!==h||r[3]!==l||r[4]!==f||r[5]!==c||r[6]!==u||r[7]!==_||r[8]!==o||r[9]!==e||r[10]!==p||r[11]!==m||r[12]!==s?(g=a.jsx(cn,{variant:s,align:i,lineHeight:u,paragraph:o,color:l,fontWeight:c,ref:e,noWrap:_,fontSize:f,sx:p,title:m,className:h,children:n}),r[0]=i,r[1]=n,r[2]=h,r[3]=l,r[4]=f,r[5]=c,r[6]=u,r[7]=_,r[8]=o,r[9]=e,r[10]=p,r[11]=m,r[12]=s,r[13]=g):g=r[13],g});function Lr(t){const e=he.c(25),{severity:r,title:n,onClose:s,action:i,noIcon:o,message:l,sx:c,variant:u}=t,d=r===void 0?"info":r,f=u===void 0?"filled":u,p=ci();let m,h,_,g;e[0]===Symbol.for("react.memo_cache_sentinel")?(m={p:0,pt:"3px",height:"24px"},h={p:0},_={p:0,mr:0,pl:"12px"},g={py:0,height:"24px",width:"24px"},e[0]=m,e[1]=h,e[2]=_,e[3]=g):(m=e[0],h=e[1],_=e[2],g=e[3]);let y;e[4]!==c?(y={...c,py:"6px",px:"12px","& .MuiAlert-icon":m,"& .MuiAlert-message":h,"& .MuiAlert-action":_,"& .MuiIconButton-sizeSmall":g},e[4]=c,e[5]=y):y=e[5];let b;e[6]!==o||e[7]!==d||e[8]!==p?(b=o?!1:d==="error"?a.jsx(ge.StatusErrorSmall,{size:18,color:p.palette.error.main}):d==="success"?a.jsx(ge.StatusSuccessSmall,{size:18,color:p.palette.success.main}):d==="info"?a.jsx(ge.StatusInfoSmall,{size:18,color:p.palette.info.main}):d==="warning"?a.jsx(ge.StatusWarningSmall,{size:18,color:p.palette.warning.main}):!1,e[6]=o,e[7]=d,e[8]=p,e[9]=b):b=e[9];let x;e[10]!==n?(x=n&&a.jsx(D$e,{sx:{p:0,m:0,fontWeight:"500",lineHeight:"24px"},color:"text.primary",variant:"body2",children:n}),e[10]=n,e[11]=x):x=e[11];let w;e[12]!==l?(w=Array.isArray(l)?a.jsx("ul",{children:l.map(BLe)}):a.jsx(_e,{color:"text.secondary",sx:{lineHeight:"24px",whiteSpace:"pre-wrap"},type:"body2",children:l}),e[12]=l,e[13]=w):w=e[13];let C;e[14]!==w||e[15]!==x?(C=a.jsxs(a.Fragment,{children:[x,w]}),e[14]=w,e[15]=x,e[16]=C):C=e[16];let k;return e[17]!==i||e[18]!==s||e[19]!==d||e[20]!==C||e[21]!==y||e[22]!==b||e[23]!==f?(k=a.jsx(T$e,{sx:y,severity:d,onClose:s,action:i,icon:b,variant:f,children:C}),e[17]=i,e[18]=s,e[19]=d,e[20]=C,e[21]=y,e[22]=b,e[23]=f,e[24]=k):k=e[24],k}function BLe(t,e){return a.jsx("li",{children:a.jsx(_e,{color:"text.secondary",sx:{lineHeight:"24px"},children:t})},`${e}-${t}`)}let gW=!1;const zLe=()=>{gW||(console.warn(["MUI: The LoadingButton component functionality is now part of the Button component from Material UI.","","You should use `import Button from '@mui/material/Button'`","or `import { Button } from '@mui/material'`"].join(`
/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js:294:    ${t.palette.mode==="light"?Fu(br(t.palette.divider,1),.88):Nu(br(t.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(t.vars||t).palette.text.primary}},{props:{variant:"footer"},style:{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${sFe.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:e})=>e.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default}}]}))),na=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableCell"}),{align:s="inherit",className:i,component:o,padding:l,scope:c,size:u,sortDirection:d,variant:f,...p}=n,m=I.useContext(gae),h=I.useContext(BA),_=h&&h.variant==="head";let g;o?g=o:g=_?"th":"td";let y=c;g==="td"?y=void 0:!y&&_&&(y="col");const b=f||h&&h.variant,x={...n,align:s,component:g,padding:l||(m&&m.padding?m.padding:"normal"),size:u||(m&&m.size?m.size:"medium"),sortDirection:d,stickyHeader:b==="head"&&m&&m.stickyHeader,variant:b},w=iFe(x);let C=null;return d&&(C=d==="asc"?"ascending":"descending"),a.jsx(oFe,{as:g,ref:r,className:lt(w.root,i),"aria-sort":C,scope:y,ownerState:x,...p})});function aFe(t){return tr("MuiTableContainer",t)}rr("MuiTableContainer",["root"]);const lFe=t=>{const{classes:e}=t;return nr({root:["root"]},aFe,e)},cFe=Ce("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(t,e)=>e.root})({width:"100%",overflowX:"auto"}),uFe=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableContainer"}),{className:s,component:i="div",...o}=n,l={...n,component:i},c=lFe(l);return a.jsx(cFe,{ref:r,as:i,className:lt(c.root,s),ownerState:l,...o})});function dFe(t){return tr("MuiTableHead",t)}rr("MuiTableHead",["root"]);const fFe=t=>{const{classes:e}=t;return nr({root:["root"]},dFe,e)},pFe=Ce("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-header-group"}),mFe={variant:"head"},$W="thead",OW=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableHead"}),{className:s,component:i=$W,...o}=n,l={...n,component:i},c=fFe(l);return a.jsx(BA.Provider,{value:mFe,children:a.jsx(pFe,{as:i,className:lt(c.root,s),ref:r,role:i===$W?null:"rowgroup",ownerState:l,...o})})});function hFe(t){return tr("MuiToolbar",t)}rr("MuiToolbar",["root","gutters","regular","dense"]);const gFe=t=>{const{classes:e,disableGutters:r,variant:n}=t;return nr({root:["root",!r&&"gutters",n]},hFe,e)},_Fe=Ce("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,!r.disableGutters&&e.gutters,e[r.variant]]}})(Xt(({theme:t})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:t.mixins.toolbar}]}))),tN=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiToolbar"}),{className:s,component:i="div",disableGutters:o=!1,variant:l="regular",...c}=n,u={...n,component:i,disableGutters:o,variant:l},d=gFe(u);return a.jsx(_Fe,{as:i,className:lt(d.root,s),ref:r,ownerState:u,...c})}),vFe=I.forwardRef(function(e,r){const{backIconButtonProps:n,count:s,disabled:i=!1,getItemAriaLabel:o,nextIconButtonProps:l,onPageChange:c,page:u,rowsPerPage:d,showFirstButton:f,showLastButton:p,slots:m={},slotProps:h={},..._}=e,g=ui(),y=q=>{c(q,0)},b=q=>{c(q,u-1)},x=q=>{c(q,u+1)},w=q=>{c(q,Math.max(0,Math.ceil(s/d)-1))},C=m.firstButton??Zr,k=m.lastButton??Zr,A=m.nextButton??Zr,P=m.previousButton??Zr,T=m.firstButtonIcon??U8e,j=m.lastButtonIcon??B8e,R=m.nextButtonIcon??nse,D=m.previousButtonIcon??rse,O=g?k:C,N=g?A:P,F=g?P:A,U=g?C:k,z=g?h.lastButton:h.firstButton,H=g?h.nextButton:h.previousButton,W=g?h.previousButton:h.nextButton,K=g?h.firstButton:h.lastButton;return a.jsxs("div",{ref:r,..._,children:[f&&a.jsx(O,{onClick:y,disabled:i||u===0,"aria-label":o("first",u),title:o("first",u),...z,children:g?a.jsx(j,{...h.lastButtonIcon}):a.jsx(T,{...h.firstButtonIcon})}),a.jsx(N,{onClick:b,disabled:i||u===0,color:"inherit","aria-label":o("previous",u),title:o("previous",u),...H??n,children:g?a.jsx(R,{...h.nextButtonIcon}):a.jsx(D,{...h.previousButtonIcon})}),a.jsx(F,{onClick:x,disabled:i||(s!==-1?u>=Math.ceil(s/d)-1:!1),color:"inherit","aria-label":o("next",u),title:o("next",u),...W??l,children:g?a.jsx(D,{...h.previousButtonIcon}):a.jsx(R,{...h.nextButtonIcon})}),p&&a.jsx(U,{onClick:w,disabled:i||u>=Math.ceil(s/d)-1,"aria-label":o("last",u),title:o("last",u),...K,children:g?a.jsx(T,{...h.firstButtonIcon}):a.jsx(j,{...h.lastButtonIcon})})]})});function yFe(t){return tr("MuiTablePagination",t)}const yb=rr("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var LW;const bFe=Ce(na,{name:"MuiTablePagination",slot:"Root",overridesResolver:(t,e)=>e.root})(Xt(({theme:t})=>({overflow:"auto",color:(t.vars||t).palette.text.primary,fontSize:t.typography.pxToRem(14),"&:last-child":{padding:0}}))),xFe=Ce(tN,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(t,e)=>({[`& .${yb.actions}`]:e.actions,...e.toolbar})})(Xt(({theme:t})=>({minHeight:52,paddingRight:2,[`${t.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[t.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${yb.actions}`]:{flexShrink:0,marginLeft:20}}))),SFe=Ce("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(t,e)=>e.spacer})({flex:"1 1 100%"}),wFe=Ce("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(t,e)=>e.selectLabel})(Xt(({theme:t})=>({...t.typography.body2,flexShrink:0}))),CFe=Ce(yA,{name:"MuiTablePagination",slot:"Select",overridesResolver:(t,e)=>({[`& .${yb.selectIcon}`]:e.selectIcon,[`& .${yb.select}`]:e.select,...e.input,...e.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${yb.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),AFe=Ce(E_,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(t,e)=>e.menuItem})({}),kFe=Ce("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(t,e)=>e.displayedRows})(Xt(({theme:t})=>({...t.typography.body2,flexShrink:0})));function MFe({from:t,to:e,count:r}){return`${t}–${e} of ${r!==-1?r:`more than ${e}`}`}function PFe(t){return`Go to ${t} page`}const jFe=t=>{const{classes:e}=t;return nr({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},yFe,e)},TFe=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTablePagination"}),{ActionsComponent:s=vFe,backIconButtonProps:i,colSpan:o,component:l=na,count:c,disabled:u=!1,getItemAriaLabel:d=PFe,labelDisplayedRows:f=MFe,labelRowsPerPage:p="Rows per page:",nextIconButtonProps:m,onPageChange:h,onRowsPerPageChange:_,page:g,rowsPerPage:y,rowsPerPageOptions:b=[10,25,50,100],SelectProps:x={},showFirstButton:w=!1,showLastButton:C=!1,slotProps:k={},slots:A={},...P}=n,T=n,j=jFe(T),R=k?.select??x,D=R.native?"option":AFe;let O;(l===na||l==="td")&&(O=o||1e3);const N=$c(R.id),F=$c(R.labelId),U=()=>c===-1?(g+1)*y:y===-1?c:Math.min(c,(g+1)*y),z={slots:A,slotProps:k},[H,W]=mr("root",{ref:r,className:j.root,elementType:bFe,externalForwardedProps:{...z,component:l,...P},ownerState:T,additionalProps:{colSpan:O}}),[K,q]=mr("toolbar",{className:j.toolbar,elementType:xFe,externalForwardedProps:z,ownerState:T}),[X,Q]=mr("spacer",{className:j.spacer,elementType:SFe,externalForwardedProps:z,ownerState:T}),[Y,Z]=mr("selectLabel",{className:j.selectLabel,elementType:wFe,externalForwardedProps:z,ownerState:T,additionalProps:{id:F}}),[re,fe]=mr("select",{className:j.select,elementType:CFe,externalForwardedProps:z,ownerState:T}),[de,se]=mr("menuItem",{className:j.menuItem,elementType:D,externalForwardedProps:z,ownerState:T}),[le,ee]=mr("displayedRows",{className:j.displayedRows,elementType:kFe,externalForwardedProps:z,ownerState:T});return a.jsx(H,{...W,children:a.jsxs(K,{...q,children:[a.jsx(X,{...Q}),b.length>1&&a.jsx(Y,{...Z,children:p}),b.length>1&&a.jsx(re,{variant:"standard",...!R.variant&&{input:LW||(LW=a.jsx(vA,{}))},value:y,onChange:_,id:N,labelId:F,...R,classes:{...R.classes,root:lt(j.input,j.selectRoot,(R.classes||{}).root),select:lt(j.select,(R.classes||{}).select),icon:lt(j.selectIcon,(R.classes||{}).icon)},disabled:u,...fe,children:b.map(J=>I.createElement(de,{...se,key:J.label?J.label:J,value:J.value?J.value:J},J.label?J.label:J))}),a.jsx(le,{...ee,children:f({from:c===0?0:g*y+1,to:U(),count:c===-1?-1:c,page:g})}),a.jsx(s,{className:j.actions,backIconButtonProps:i,count:c,nextIconButtonProps:m,onPageChange:h,page:g,rowsPerPage:y,showFirstButton:w,showLastButton:C,slotProps:k.actions,slots:A.actions,getItemAriaLabel:d,disabled:u})]})})});function EFe(t){return tr("MuiTableRow",t)}const NW=rr("MuiTableRow",["root","selected","hover","head","footer"]),RFe=t=>{const{classes:e,selected:r,hover:n,head:s,footer:i}=t;return nr({root:["root",r&&"selected",n&&"hover",s&&"head",i&&"footer"]},EFe,e)},IFe=Ce("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.head&&e.head,r.footer&&e.footer]}})(Xt(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${NW.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${NW.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:br(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}}))),FW="tr",d_=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableRow"}),{className:s,component:i=FW,hover:o=!1,selected:l=!1,...c}=n,u=I.useContext(BA),d={...n,component:i,hover:o,selected:l,head:u&&u.variant==="head",footer:u&&u.variant==="footer"},f=RFe(d);return a.jsx(IFe,{as:i,ref:r,className:lt(f.root,s),role:i===FW?null:"row",ownerState:d,...c})}),DFe=rs(a.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function $Fe(t){return tr("MuiTableSortLabel",t)}const XE=rr("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc","directionDesc","directionAsc"]),OFe=t=>{const{classes:e,direction:r,active:n}=t,s={root:["root",n&&"active",`direction${tt(r)}`],icon:["icon",`iconDirection${tt(r)}`]};return nr(s,$Fe,e)},LFe=Ce(La,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.active&&e.active]}})(Xt(({theme:t})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(t.vars||t).palette.text.secondary},"&:hover":{color:(t.vars||t).palette.text.secondary,[`& .${XE.icon}`]:{opacity:.5}},[`&.${XE.active}`]:{color:(t.vars||t).palette.text.primary,[`& .${XE.icon}`]:{opacity:1,color:(t.vars||t).palette.text.secondary}}}))),NFe=Ce("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.icon,e[`iconDirection${tt(r.direction)}`]]}})(Xt(({theme:t})=>({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:t.transitions.create(["opacity","transform"],{duration:t.transitions.duration.shorter}),userSelect:"none",variants:[{props:{direction:"desc"},style:{transform:"rotate(0deg)"}},{props:{direction:"asc"},style:{transform:"rotate(180deg)"}}]}))),FFe=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableSortLabel"}),{active:s=!1,children:i,className:o,direction:l="asc",hideSortIcon:c=!1,IconComponent:u=DFe,slots:d={},slotProps:f={},...p}=n,m={...n,active:s,direction:l,hideSortIcon:c,IconComponent:u},h=OFe(m),_={slots:d,slotProps:f},[g,y]=mr("root",{elementType:LFe,externalForwardedProps:_,ownerState:m,className:lt(h.root,o),ref:r}),[b,x]=mr("icon",{elementType:NFe,externalForwardedProps:_,ownerState:m,className:h.icon});return a.jsxs(g,{disableRipple:!0,component:"span",...y,...p,children:[i,c&&!s?null:a.jsx(b,{as:u,...x})]})});function UFe(t){return tr("MuiToggleButton",t)}const Zm=rr("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),_ae=I.createContext({}),vae=I.createContext(void 0);function BFe(t,e){return e===void 0||t===void 0?!1:Array.isArray(e)?e.includes(t):t===e}const zFe=t=>{const{classes:e,fullWidth:r,selected:n,disabled:s,size:i,color:o}=t,l={root:["root",n&&"selected",s&&"disabled",r&&"fullWidth",`size${tt(i)}`,o]};return nr(l,UFe,e)},qFe=Ce(La,{name:"MuiToggleButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`size${tt(r.size)}`]]}})(Xt(({theme:t})=>({...t.typography.button,borderRadius:(t.vars||t).shape.borderRadius,padding:11,border:`1px solid ${(t.vars||t).palette.divider}`,color:(t.vars||t).palette.action.active,[`&.${Zm.disabled}`]:{color:(t.vars||t).palette.action.disabled,border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:br(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${Zm.selected}`]:{color:(t.vars||t).palette.text.primary,backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette.text.primary,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:br(t.palette.text.primary,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette.text.primary,t.palette.action.selectedOpacity)}}}}},...Object.entries(t.palette).filter(Kn()).map(([e])=>({props:{color:e},style:{[`&.${Zm.selected}`]:{color:(t.vars||t).palette[e].main,backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette[e].main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:br(t.palette[e].main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette[e].main,t.palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:t.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:t.typography.pxToRem(15)}}]}))),VFe=I.forwardRef(function(e,r){const{value:n,...s}=I.useContext(_ae),i=I.useContext(vae),o=k_({...s,selected:BFe(e.value,n)},e),l=fr({props:o,name:"MuiToggleButton"}),{children:c,className:u,color:d="standard",disabled:f=!1,disableFocusRipple:p=!1,fullWidth:m=!1,onChange:h,onClick:_,selected:g,size:y="medium",value:b,...x}=l,w={...l,color:d,disabled:f,disableFocusRipple:p,fullWidth:m,size:y},C=zFe(w),k=P=>{_&&(_(P,b),P.defaultPrevented)||h&&h(P,b)},A=i||"";return a.jsx(qFe,{className:lt(s.className,C.root,u,A),disabled:f,focusRipple:!p,ref:r,onClick:k,onChange:h,value:b,ownerState:w,"aria-pressed":g,...x,children:c})});function HFe(t){return tr("MuiToggleButtonGroup",t)}const Gs=rr("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),GFe=t=>{const{classes:e,orientation:r,fullWidth:n,disabled:s}=t,i={root:["root",r,n&&"fullWidth"],grouped:["grouped",`grouped${tt(r)}`,s&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return nr(i,HFe,e)},WFe=Ce("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`& .${Gs.grouped}`]:e.grouped},{[`& .${Gs.grouped}`]:e[`grouped${tt(r.orientation)}`]},{[`& .${Gs.firstButton}`]:e.firstButton},{[`& .${Gs.lastButton}`]:e.lastButton},{[`& .${Gs.middleButton}`]:e.middleButton},e.root,r.orientation==="vertical"&&e.vertical,r.fullWidth&&e.fullWidth]}})(Xt(({theme:t})=>({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${Gs.grouped}`]:{[`&.${Gs.selected} + .${Gs.grouped}.${Gs.selected}`]:{borderTop:0,marginTop:0}},[`& .${Gs.firstButton},& .${Gs.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${Gs.lastButton},& .${Gs.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${Gs.lastButton}.${Zm.disabled},& .${Gs.middleButton}.${Zm.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${Gs.grouped}`]:{[`&.${Gs.selected} + .${Gs.grouped}.${Gs.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${Gs.firstButton},& .${Gs.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${Gs.lastButton},& .${Gs.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${Gs.lastButton}.${Zm.disabled},& .${Gs.middleButton}.${Zm.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),YFe=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiToggleButtonGroup"}),{children:s,className:i,color:o="standard",disabled:l=!1,exclusive:c=!1,fullWidth:u=!1,onChange:d,orientation:f="horizontal",size:p="medium",value:m,...h}=n,_={...n,disabled:l,fullWidth:u,orientation:f,size:p},g=GFe(_),y=I.useCallback((A,P)=>{if(!d)return;const T=m&&m.indexOf(P);let j;m&&T>=0?(j=m.slice(),j.splice(T,1)):j=m?m.concat(P):[P],d(A,j)},[d,m]),b=I.useCallback((A,P)=>{d&&d(A,m===P?null:P)},[d,m]),x=I.useMemo(()=>({className:g.grouped,onChange:c?b:y,value:m,size:p,fullWidth:u,color:o,disabled:l}),[g.grouped,c,b,y,m,p,u,o,l]),w=nre(s),C=w.length,k=A=>{const P=A===0,T=A===C-1;return P&&T?"":P?g.firstButton:T?g.lastButton:g.middleButton};return a.jsx(WFe,{role:"group",className:lt(g.root,i),ref:r,ownerState:_,...h,children:a.jsx(_ae.Provider,{value:x,children:w.map((A,P)=>a.jsx(vae.Provider,{value:k(P),children:A},P))})})});function yae(t){const e=he.c(18),{children:r,maxItems:n,small:s,expandable:i,itemsAfterCollapse:o,sx:l}=t,c=i===void 0?!1:i,u=o===void 0?1:o;let d;e[0]===Symbol.for("react.memo_cache_sentinel")?(d={display:"flex",flexWrap:"nowrap",alignItems:"baseline"},e[0]=d):d=e[0];let f;e[1]!==c?(f=!c&&{pointerEvents:"none",display:{xs:"none",sm:"flex"}},e[1]=c,e[2]=f):f=e[2];let p;e[3]!==f?(p={".MuiButtonBase-root":{...f}},e[3]=f,e[4]=p):p=e[4];let m;e[5]!==l||e[6]!==p?(m={...l,ol:d,li:p},e[5]=l,e[6]=p,e[7]=m):m=e[7];let h;if(e[8]!==r||e[9]!==s){let g;e[11]!==s?(g=(y,b)=>a.jsx(gt,{sx:{fontSize:s?"13px":"20px"},children:y},`breadcrumb-${b}`),e[11]=s,e[12]=g):g=e[12],h=I.Children.map(r,g),e[8]=r,e[9]=s,e[10]=h}else h=e[10];let _;return e[13]!==u||e[14]!==n||e[15]!==m||e[16]!==h?(_=a.jsx(c7e,{maxItems:n,itemsAfterCollapse:u,separator:"/",sx:m,children:h}),e[13]=u,e[14]=n,e[15]=m,e[16]=h,e[17]=_):_=e[17],_}function bae(){const t=he.c(7),e=Nr(KFe);let r;t[0]!==e?(r=()=>{e(!0)},t[0]=e,t[1]=r):r=t[1];const n=r;let s;t[2]!==e?(s=()=>{e(!1)},t[2]=e,t[3]=s):s=t[3];const i=s;let o;return t[4]!==i||t[5]!==n?(o={navigationOpen:n,navigationClose:i},t[4]=i,t[5]=n,t[6]=o):o=t[6],o}function KFe(t){return t.setNavigation}function QFe(){const t=he.c(10),e=Nr(ZFe),{navigationOpen:r,navigationClose:n}=bae();let s;t[0]!==e||t[1]!==n||t[2]!==r?(s=()=>{e?n():r()},t[0]=e,t[1]=n,t[2]=r,t[3]=s):s=t[3];const i=s;let o;t[4]===Symbol.for("react.memo_cache_sentinel")?(o={fontSize:"24px"},t[4]=o):o=t[4];let l;t[5]!==e?(l=e?a.jsx(ge.NavigationBurgerClose,{}):a.jsx(ge.NavigationBurgerOpen,{}),t[5]=e,t[6]=l):l=t[6];let c;return t[7]!==i||t[8]!==l?(c=a.jsx(Zr,{onClick:i,sx:o,children:l}),t[7]=i,t[8]=l,t[9]=c):c=t[9],c}function ZFe(t){return t.navigation}function UW(t){const e=he.c(39),{icon:r,value:n,label:s,onClick:i,subItems:o,isSubItem:l,subListOpen:c,onSubListOpen:u,isActive:d,hasSubItems:f}=t;let p;e[0]!==u||e[1]!==n?(p=()=>{u&&u(n)},e[0]=u,e[1]=n,e[2]=p):p=e[2];const m=p;let h;e[3]!==i||e[4]!==n?(h=()=>{i&&i(n)},e[3]=i,e[4]=n,e[5]=h):h=e[5];const g=o?m:h,y=d&&!l&&!f?"16px":"20px",b=l?.5:1;let x;e[6]!==d||e[7]!==l?(x=l&&{pl:d?"48px":"53px",position:"relative"},e[6]=d,e[7]=l,e[8]=x):x=e[8];let w;e[9]!==f||e[10]!==d?(w=d&&{fontWeight:600,...f&&{},...!f&&{borderLeft:"4px solid",borderColor:"primary.main",backgroundColor:"action.hover"}},e[9]=f,e[10]=d,e[11]=w):w=e[11];let C;e[12]!==y||e[13]!==b||e[14]!==x||e[15]!==w?(C={position:"relative",pr:"14px",pl:y,py:b,my:0,...x,...w},e[12]=y,e[13]=b,e[14]=x,e[15]=w,e[16]=C):C=e[16];let k;e[17]!==r||e[18]!==l?(k=!l&&a.jsx(LO,{sx:{minWidth:"auto",mr:"12px",fontSize:"20px"},children:r}),e[17]=r,e[18]=l,e[19]=k):k=e[19];const A=l?"body2":"body1",P=d?"600":"400";let T;e[20]!==A||e[21]!==P?(T={variant:A,fontWeight:P},e[20]=A,e[21]=P,e[22]=T):T=e[22];let j;e[23]!==s||e[24]!==T||e[25]!==n?(j=a.jsx(dA,{inset:!1,primary:s,primaryTypographyProps:T},n),e[23]=s,e[24]=T,e[25]=n,e[26]=j):j=e[26];let R;e[27]!==o?.length||e[28]!==c?(R=o?.length&&a.jsx(gt,{sx:{transformOrigin:"center",transition:"transform .35s",opacity:"0.5",height:"20px",...c&&{transform:"rotate(.5turn)"}},children:a.jsx(ge.DownArrow,{fontSize:20})}),e[27]=o?.length,e[28]=c,e[29]=R):R=e[29];let D;e[30]!==j||e[31]!==R||e[32]!==C||e[33]!==k?(D=a.jsxs(Vne,{sx:C,disableGutters:!0,children:[k,j,R]}),e[30]=j,e[31]=R,e[32]=C,e[33]=k,e[34]=D):D=e[34];let O;return e[35]!==D||e[36]!==g||e[37]!==n?(O=a.jsx(wA,{onClick:g,disableGutters:!0,disablePadding:!0,children:D},n),e[35]=D,e[36]=g,e[37]=n,e[38]=O):O=e[38],O}const xae=270;function XFe(t){const e=he.c(59),{open:r,headerComponent:n,footerComponent:s,items:i,activeValue:o}=t,l=As(),c=Nd(l.breakpoints.up("md"))?"persistent":"temporary",u=Nr(tUe),{navigationOpen:d,navigationClose:f}=bae(),p=Nr(eUe),m=Nr(JFe);let h;e[0]!==m?(h=Z=>{m(Z)},e[0]=m,e[1]=h):h=e[1];const _=h;let g;e[2]!==f||e[3]!==c?(g=()=>{c==="temporary"&&f()},e[2]=f,e[3]=c,e[4]=g):g=e[4];const y=g;let b;e[5]!==p?(b=Z=>{const{value:re}=Z;return p.includes(re)},e[5]=p,e[6]=b):b=e[6];const x=b;let w;e[7]!==d||e[8]!==r?(w=()=>{r&&d()},e[7]=d,e[8]=r,e[9]=w):w=e[9];let C;e[10]!==i||e[11]!==d||e[12]!==r?(C=[i,r,d],e[10]=i,e[11]=d,e[12]=r,e[13]=C):C=e[13],I.useEffect(w,C);let k,A;e[14]!==f||e[15]!==c?(k=()=>{const Z=setTimeout(()=>{c==="temporary"&&f()},0);return()=>{clearTimeout(Z)}},A=[f,c],e[14]=f,e[15]=c,e[16]=k,e[17]=A):(k=e[16],A=e[17]),I.useEffect(k,A);const P=I.useRef(!1);let T,j;e[18]!==o||e[19]!==i||e[20]!==m||e[21]!==p?(T=()=>{if(P.current)return;const Z=i.find(re=>re.subItems?.find(fe=>{const{value:de}=fe;return de===o}));Z&&!p.includes(Z.value)&&m(Z.value),P.current=!0},j=[o,i,m,p],e[18]=o,e[19]=i,e[20]=m,e[21]=p,e[22]=T,e[23]=j):(T=e[22],j=e[23]),I.useEffect(T,j);const R=Nd(l.breakpoints.down($.appBarMobileBreakpoint))?"125px":"60px",D=l.zIndex.appBar-1;let O;e[24]!==R||e[25]!==D?(O={sx:{mt:R,zIndex:D}},e[24]=R,e[25]=D,e[26]=O):O=e[26];const N=l.zIndex.appBar-1;let F;e[27]!==N?(F={zIndex:N},e[27]=N,e[28]=F):F=e[28];const U=`calc(100vh - ${R})`;let z;e[29]!==U?(z={height:U,width:xae,position:"relative"},e[29]=U,e[30]=z):z=e[30];let H;e[31]!==n?(H=n&&a.jsx(gt,{sx:{px:3,pb:2},children:n}),e[31]=n,e[32]=H):H=e[32];let W;e[33]===Symbol.for("react.memo_cache_sentinel")?(W={flexGrow:1,overflowY:"auto",mt:"0 !important"},e[33]=W):W=e[33];let K;if(e[34]!==y||e[35]!==_||e[36]!==x||e[37]!==i){let Z;e[39]!==y||e[40]!==_||e[41]!==x?(Z=(re,fe)=>{const de=x(re);return a.jsxs(gt,{sx:{position:"relative",zIndex:1e3,color:"text.primary",borderBottom:"1px solid",borderColor:"divider"},children:[a.jsx(z6,{to:re.value,onClick:se=>{re.subItems?se.preventDefault():y()},style:{textDecoration:"none",color:"inherit"},target:re.external?"_blank":"_self",children:se=>{const{isActive:le}=se;return a.jsx(UW,{...re,onSubListOpen:_,subListOpen:de,isActive:le,hasSubItems:!!re.subItems?.length})}}),re.subItems?.length&&a.jsx(Qb,{in:de,timeout:"auto",unmountOnExit:!0,children:a.jsx(_h,{component:"div",sx:{pt:0,pb:0},children:re.subItems.map(se=>a.jsx(z6,{to:se.value,style:{textDecoration:"none",color:"inherit"},target:se.external?"_blank":"_self",children:le=>{const{isActive:ee}=le;return a.jsx(UW,{...se,onClick:y,isSubItem:!0,isActive:ee})}},`${se.value}-${fe}`))})})]},`${re.value}-${fe}`)},e[39]=y,e[40]=_,e[41]=x,e[42]=Z):Z=e[42],K=i.map(Z),e[34]=y,e[35]=_,e[36]=x,e[37]=i,e[38]=K}else K=e[38];let q;e[43]!==K?(q=a.jsx(_h,{sx:W,component:"nav","aria-labelledby":"nested-list-subheader",disablePadding:!0,children:K}),e[43]=K,e[44]=q):q=e[44];let X;e[45]!==s?(X=s&&a.jsx(gt,{sx:{px:3,pt:1},children:s}),e[45]=s,e[46]=X):X=e[46];let Q;e[47]!==z||e[48]!==H||e[49]!==q||e[50]!==X?(Q=a.jsxs(te,{sx:z,nowrap:!0,children:[H,q,X]}),e[47]=z,e[48]=H,e[49]=q,e[50]=X,e[51]=Q):Q=e[51];let Y;return e[52]!==y||e[53]!==u||e[54]!==O||e[55]!==F||e[56]!==Q||e[57]!==c?(Y=a.jsx(aae,{variant:c,onClose:y,open:u,PaperProps:O,sx:F,children:Q}),e[52]=y,e[53]=u,e[54]=O,e[55]=F,e[56]=Q,e[57]=c,e[58]=Y):Y=e[58],Y}function JFe(t){return t.setNavigationSubListOpen}function eUe(t){return t.navigationSubListOpen}function tUe(t){return t.navigation}function G0(t){const e=he.c(19),{children:r,appBar:n,fullHeight:s,navigation:i,fullWidth:o}=t,l=ci(),c=Nr(rUe),u=aC(l.breakpoints.up("md"))?"persistent":"temporary";let d;e[0]!==o?(d=o&&{"&.MuiContainer-maxWidthXl":{maxWidth:"100%"}},e[0]=o,e[1]=d):d=e[1];let f;e[2]!==d?(f={...d},e[2]=d,e[3]=f):f=e[3];const p=n?10:2,m=s&&"100vh",h=s&&"100vh",_=i&&c&&u==="persistent"?`${xae}px`:0;let g;e[4]!==p||e[5]!==m||e[6]!==h||e[7]!==_?(g={pt:p,pb:3,height:m,maxHeight:h,overflow:"visible",pl:_,width:"100%"},e[4]=p,e[5]=m,e[6]=h,e[7]=_,e[8]=g):g=e[8];let y;e[9]===Symbol.for("react.memo_cache_sentinel")?(y={overflow:"visible"},e[9]=y):y=e[9];let b;e[10]!==r||e[11]!==s?(b=a.jsx(te,{fullHeight:s,spacing:2.5,nowrap:!0,sx:y,children:r}),e[10]=r,e[11]=s,e[12]=b):b=e[12];let x;e[13]!==g||e[14]!==b?(x=a.jsx(gt,{sx:g,children:b}),e[13]=g,e[14]=b,e[15]=x):x=e[15];let w;return e[16]!==x||e[17]!==f?(w=a.jsx(H7e,{maxWidth:"xl",sx:f,children:x}),e[16]=x,e[17]=f,e[18]=w):w=e[18],w}function rUe(t){return t.navigation}function nUe(t){const e=he.c(3),{children:r}=t;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={flex:"0 0 auto",pb:1,pt:.5,px:2},e[0]=n):n=e[0];let s;return e[1]!==r?(s=a.jsx(S7e,{sx:n,children:r}),e[1]=r,e[2]=s):s=e[2],s}function Kt(t){const e=he.c(10),{children:r,title:n,titleColor:s,dense:i,sx:o}=t,l=s===void 0?"text.primary":s;let c;e[0]!==o?(c={p:2,flex:"1 1 auto",minWidth:0,...o},e[0]=o,e[1]=c):c=e[1];let u;e[2]!==i||e[3]!==n||e[4]!==l?(u=n&&a.jsx(gt,{sx:{mb:2,"&:last-child":{mb:0}},children:a.jsx(_e,{type:i?"body1":"h6",color:l,fontWeight:600,children:n})}),e[2]=i,e[3]=n,e[4]=l,e[5]=u):u=e[5];let d;return e[6]!==r||e[7]!==c||e[8]!==u?(d=a.jsxs(gt,{sx:c,children:[u,r]}),e[6]=r,e[7]=c,e[8]=u,e[9]=d):d=e[9],d}const sUe=Ce(({className:t,opaque:e,...r})=>a.jsx(hae,{...r,classes:{popper:t}}))(({theme:t,...e})=>()=>typeof e.title=="string"||!e.opaque?{}:{[`& .${Xs.tooltip}`]:{padding:"0 !important",backgroundColor:t.palette.background.paper,color:t.palette.text.primary,opacity:0,boxShadow:t.shadows[5],border:"1px solid",borderColor:t.palette.divider},"& .tooltip-items":{maxHeight:"60vh",overflowY:"auto"},[`& .${Xs.arrow}`]:{color:t.palette.background.paper,"&::before":{backgroundColor:t.palette.background.paper,border:"1px solid",borderColor:t.palette.divider,borderBottom:0}}});function Mn(t){const e=he.c(8);let r,n,s;e[0]!==t?({arrow:n,placement:s,...r}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s):(r=e[1],n=e[2],s=e[3]);const i=n===void 0?!0:n,o=s===void 0?"bottom":s;let l;return e[4]!==i||e[5]!==o||e[6]!==r?(l=a.jsx(sUe,{arrow:i,placement:o,...r}),e[4]=i,e[5]=o,e[6]=r,e[7]=l):l=e[7],l}function iUe(t){const e=he.c(5),{children:r,tooltip:n}=t;let s;e[0]!==n?(s=n&&a.jsx(Mn,{title:n,arrow:!0,children:a.jsx("span",{children:a.jsx(ge.Info,{})})}),e[0]=n,e[1]=s):s=e[1];let i;return e[2]!==r||e[3]!==s?(i=a.jsxs(QL,{direction:"row",justifyContent:"flex-end",alignItems:"center",spacing:2.25,children:[r,s]}),e[2]=r,e[3]=s,e[4]=i):i=e[4],i}function oUe(t){const e=he.c(24),{title:r,children:n,tooltip:s,dense:i,folder:o}=t,l=i===void 0?!1:i,c=o===void 0?!1:o,u=ci(),d=l?"h6":"h5";let f;e[0]!==d?(f={variant:d,fontWeight:"600",lineHeight:1},e[0]=d,e[1]=f):f=e[1];const p=l||c?0:"inherit",m=c?1:2,h=l||c?1:2,_=l||c?"10px":"40px";let g;e[2]!==_?(g={minHeight:_,display:"flex",alignItems:"center"},e[2]=_,e[3]=g):g=e[3];let y;e[4]===Symbol.for("react.memo_cache_sentinel")?(y={alignSelf:"center"},e[4]=y):y=e[4];let b;e[5]!==p||e[6]!==m||e[7]!==h||e[8]!==g||e[9]!==u.palette.text.secondary?(b={color:u.palette.text.secondary,display:"flex",flex:"0 0 auto",lineHeight:p,pt:m,pb:h,".MuiCardHeader-content":g,".MuiCardHeader-action":y},e[5]=p,e[6]=m,e[7]=h,e[8]=g,e[9]=u.palette.text.secondary,e[10]=b):b=e[10];let x;e[11]!==n||e[12]!==s?(x=a.jsx(iUe,{tooltip:s,children:n}),e[11]=n,e[12]=s,e[13]=x):x=e[13];let w;e[14]!==b||e[15]!==x||e[16]!==f||e[17]!==r?(w=a.jsx(j7e,{title:r,titleTypographyProps:f,sx:b,action:x}),e[14]=b,e[15]=x,e[16]=f,e[17]=r,e[18]=w):w=e[18];let C;e[19]!==c?(C=c&&a.jsx(Oc,{}),e[19]=c,e[20]=C):C=e[20];let k;return e[21]!==w||e[22]!==C?(k=a.jsxs(a.Fragment,{children:[w,C]}),e[21]=w,e[22]=C,e[23]=k):k=e[23],k}function pr(t){const e=he.c(58);let r,n,s,i,o,l,c,u,d,f,p,m,h,_,g;e[0]!==t?({children:r,title:h,headerActionsComponent:i,footerActionsComponent:s,tooltip:_,highlightedColor:o,fullHeight:d,dense:f,folder:p,elevation:m,modalElevation:l,variant:g,sx:u,error:n,...c}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d,e[10]=f,e[11]=p,e[12]=m,e[13]=h,e[14]=_,e[15]=g):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9],f=e[10],p=e[11],m=e[12],h=e[13],_=e[14],g=e[15]);const y=d===void 0?!1:d,b=f===void 0?!1:f,x=p===void 0?!1:p,w=m===void 0?1:m,C=y?"hidden":"visible",k=y?"100%":"auto";let A;e[16]!==o?(A=o&&{borderBottom:"5px solid",borderBottomColor:`${o}.main`},e[16]=o,e[17]=A):A=e[17];let P;e[18]!==g?(P=g==="outlined"&&{backgroundColor:"transparent"},e[18]=g,e[19]=P):P=e[19];let T;e[20]!==n?(T=n&&{border:"2px solid !important",borderColor:aUe},e[20]=n,e[21]=T):T=e[21];let j;e[22]!==w||e[23]!==l?(j=l&&{backgroundImage:H=>H.palette.mode==="dark"?`linear-gradient(${Ic("#fff",+hh(24+w*24))}, ${Ic("#fff",+hh(24+w*24))})`:"none"},e[22]=w,e[23]=l,e[24]=j):j=e[24];let R;e[25]!==u||e[26]!==j||e[27]!==C||e[28]!==k||e[29]!==A||e[30]!==P||e[31]!==T?(R={flex:"1 1 auto",display:"flex",overflow:C,height:k,...A,...P,...T,...j,...u},e[25]=u,e[26]=j,e[27]=C,e[28]=k,e[29]=A,e[30]=P,e[31]=T,e[32]=R):R=e[32];let D;e[33]===Symbol.for("react.memo_cache_sentinel")?(D={flex:"1 1 auto",minWidth:0},e[33]=D):D=e[33];let O;e[34]!==b||e[35]!==x||e[36]!==i||e[37]!==h||e[38]!==_?(O=!h&&!_&&!i?null:a.jsx(oUe,{title:h,tooltip:_,dense:b,folder:x,children:i}),e[34]=b,e[35]=x,e[36]=i,e[37]=h,e[38]=_,e[39]=O):O=e[39];let N;if(e[40]!==r||e[41]!==b){let H;e[43]!==b?(H=W=>W.type===Kt?I.cloneElement(W,{dense:b}):W,e[43]=b,e[44]=H):H=e[44],N=I.Children.map(r,H),e[40]=r,e[41]=b,e[42]=N}else N=e[42];let F;e[45]!==s?(F=s&&a.jsx(nUe,{children:s}),e[45]=s,e[46]=F):F=e[46];let U;e[47]!==y||e[48]!==O||e[49]!==N||e[50]!==F?(U=a.jsxs(te,{spacing:0,sx:D,fullHeight:y,nowrap:!0,children:[O,N,F]}),e[47]=y,e[48]=O,e[49]=N,e[50]=F,e[51]=U):U=e[51];let z;return e[52]!==w||e[53]!==c||e[54]!==R||e[55]!==U||e[56]!==g?(z=a.jsx(v7e,{elevation:w,variant:g,sx:R,...c,children:U}),e[52]=w,e[53]=c,e[54]=R,e[55]=U,e[56]=g,e[57]=z):z=e[57],z}function aUe(t){return`${t.palette.error.main} !important`}function zA(t){const e=he.c(20),{children:r,fullHeight:n,transparent:s}=t;let i;e[0]!==n?(i=n&&{height:"100%",maxHeight:"100%",overflow:"hidden"},e[0]=n,e[1]=i):i=e[1];let o;e[2]!==i?(o={width:"100%",maxWidth:"1000px",margin:"0 auto",...i},e[2]=i,e[3]=o):o=e[3];let l;e[4]!==s?(l=s&&{backgroundColor:"transparent"},e[4]=s,e[5]=l):l=e[5];let c;e[6]!==l?(c={...l},e[6]=l,e[7]=c):c=e[7];let u;e[8]!==s?(u=s&&{elevation:0},e[8]=s,e[9]=u):u=e[9];let d;e[10]!==r?(d=a.jsx(a.Fragment,{children:r}),e[10]=r,e[11]=d):d=e[11];let f;e[12]!==n||e[13]!==c||e[14]!==u||e[15]!==d?(f=a.jsx(pr,{fullHeight:n,sx:c,...u,children:d}),e[12]=n,e[13]=c,e[14]=u,e[15]=d,e[16]=f):f=e[16];let p;return e[17]!==o||e[18]!==f?(p=a.jsx(gt,{sx:o,children:f}),e[17]=o,e[18]=f,e[19]=p):p=e[19],p}function lUe(t){const e=he.c(10),{center:r,fullHeight:n,appBar:s,navigation:i,transparent:o}=t;let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=a.jsx(uUe,{}),e[0]=l):l=e[0];let c;e[1]!==r||e[2]!==n||e[3]!==o?(c=r?a.jsx(zA,{fullHeight:n,transparent:o,children:a.jsx(Bd,{})}):a.jsx(pr,{fullHeight:n,sx:{...o&&{backgroundColor:"transparent"}},...o&&{elevation:0},children:a.jsx(Bd,{})}),e[1]=r,e[2]=n,e[3]=o,e[4]=c):c=e[4];let u;return e[5]!==s||e[6]!==n||e[7]!==i||e[8]!==c?(u=a.jsxs(G0,{appBar:s,navigation:i,fullWidth:!0,fullHeight:n,children:[l,c]}),e[5]=s,e[6]=n,e[7]=i,e[8]=c,e[9]=u):u=e[9],u}const Sae="app-page-header-actions";function hs(t){const e=he.c(2),{children:r}=t;let n;return e[0]!==r?(n=a.jsx(YO,{container:cUe,children:r}),e[0]=r,e[1]=n):n=e[1],n}function cUe(){return document.querySelector(`#${Sae}`)}function uUe(){const t=he.c(59),e=WL();let r;t[0]!==e?(r=e.map(hUe).filter(mUe),t[0]=e,t[1]=r):r=t[1];const n=r;let s;e:{if(!n){let z;t[2]===Symbol.for("react.memo_cache_sentinel")?(z=[],t[2]=z):z=t[2],s=z;break e}let U;t[3]!==n?(U=n.map(pUe).filter(fUe),t[3]=n,t[4]=U):U=t[4],s=U}const i=s;let o,l,c,u,d,f,p,m,h,_,g,y,b,x,w,C,k,A,P;if(t[5]!==i){const U=i.slice(0,-1);d=i[i.length-1],u=te,f=.5,p=!0,m="row",h="space-between",_="flex-start",t[25]===Symbol.for("react.memo_cache_sentinel")?(g={ml:-1},t[25]=g):g=t[25],c=te,C="row",k=1,A="center",t[26]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(QFe,{}),t[26]=P):P=t[26],l=te,w=0,o=yae,y=10,b=!1,x=U.map(dUe),t[5]=i,t[6]=o,t[7]=l,t[8]=c,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=_,t[16]=g,t[17]=y,t[18]=b,t[19]=x,t[20]=w,t[21]=C,t[22]=k,t[23]=A,t[24]=P}else o=t[6],l=t[7],c=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],_=t[15],g=t[16],y=t[17],b=t[18],x=t[19],w=t[20],C=t[21],k=t[22],A=t[23],P=t[24];let T;t[27]!==d?(T=d&&a.jsx(_e,{type:"h6",color:"text.primary",fontWeight:600,children:d.label}),t[27]=d,t[28]=T):T=t[28];let j;t[29]!==o||t[30]!==T||t[31]!==y||t[32]!==b||t[33]!==x?(j=a.jsxs(o,{maxItems:y,expandable:b,children:[x,T]}),t[29]=o,t[30]=T,t[31]=y,t[32]=b,t[33]=x,t[34]=j):j=t[34];let R;t[35]!==d.caption?(R=d.caption&&a.jsx(_e,{type:"body2",color:"text.secondary",sx:{wordBreak:"break-all"},children:d.caption}),t[35]=d.caption,t[36]=R):R=t[36];let D;t[37]!==l||t[38]!==j||t[39]!==R||t[40]!==w?(D=a.jsxs(l,{spacing:w,children:[j,R]}),t[37]=l,t[38]=j,t[39]=R,t[40]=w,t[41]=D):D=t[41];let O;t[42]!==c||t[43]!==D||t[44]!==C||t[45]!==k||t[46]!==A||t[47]!==P?(O=a.jsxs(c,{direction:C,spacing:k,align:A,children:[P,D]}),t[42]=c,t[43]=D,t[44]=C,t[45]=k,t[46]=A,t[47]=P,t[48]=O):O=t[48];let N;t[49]===Symbol.for("react.memo_cache_sentinel")?(N=a.jsx(gt,{id:Sae,sx:{mt:"2px"}}),t[49]=N):N=t[49];let F;return t[50]!==u||t[51]!==f||t[52]!==p||t[53]!==m||t[54]!==h||t[55]!==_||t[56]!==g||t[57]!==O?(F=a.jsxs(u,{spacing:f,fullWidth:p,direction:m,justify:h,align:_,sx:g,children:[O,N]}),t[50]=u,t[51]=f,t[52]=p,t[53]=m,t[54]=h,t[55]=_,t[56]=g,t[57]=O,t[58]=F):F=t[58],F}function dUe(t){const{to:e,label:r}=t;return e?a.jsx(gt,{component:"span",sx:{color:"primary.main","&:hover":{color:"primary.dark"}},children:a.jsx(z6,{to:e,style:{color:"inherit"},children:()=>a.jsx(te,{direction:"row",align:"center",spacing:1,children:a.jsx(_e,{children:r})})},e)},e):a.jsx(te,{direction:"row",align:"center",spacing:1,children:a.jsx(_e,{children:r})},r)}function fUe(t){return!!t}function pUe(t){return typeof t=="object"&&"breadcrumb"in t?t.breadcrumb:null}function mUe(t){return!!t}function hUe(t){if(t.handle){if(typeof t.handle=="object")return t.handle;if(typeof t.handle=="function")return t.handle(t)}return null}function gUe(){const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(G0,{appBar:!0,navigation:!0,fullWidth:!0,children:a.jsx(zA,{children:a.jsx(Tr,{})})}),t[0]=e):e=t[0],e}function _Ue(){const t=Nr(xUe),e=Nr(bUe),r=Nr(yUe),n=Nr(vUe);return!!(t||e.length||r||n)}function vUe(t){return t.drawerOpen}function yUe(t){return t.confirmationSimpleDialogOpen}function bUe(t){return t.dialogsOpen}function xUe(t){return t.confirmationDialogOpen}function rN(){const t=he.c(2);if(_Ue()){let n;return t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Tr,{asSnackbar:!0}),t[0]=n):n=t[0],n}let r;return t[1]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(G0,{fullWidth:!0,fullHeight:!0,children:a.jsx(zA,{transparent:!0,children:a.jsx(Tr,{})})}),t[1]=r):r=t[1],r}function SUe(t){const e=he.c(15),{alt:r,size:n,src:s,variant:i,color:o,children:l,initials:c}=t,u=s===void 0?"":s;let d=null;if(c&&r){let g;e[0]!==r?(g=r.split(" ").map(wUe).slice(0,2).join(""),e[0]=r,e[1]=g):g=e[1],d=g}else l&&(d=l);const f=d;let p;e[2]!==o?(p=o&&{backgroundColor:o},e[2]=o,e[3]=p):p=e[3];let m;e[4]!==n?(m=n&&{height:n,width:n},e[4]=n,e[5]=m):m=e[5];let h;e[6]!==p||e[7]!==m?(h={...p,...m},e[6]=p,e[7]=m,e[8]=h):h=e[8];let _;return e[9]!==r||e[10]!==f||e[11]!==u||e[12]!==h||e[13]!==i?(_=a.jsx(HNe,{alt:r,src:u,variant:i,sx:h,"data-testid":"avatar",children:f}),e[9]=r,e[10]=f,e[11]=u,e[12]=h,e[13]=i,e[14]=_):_=e[14],_}function wUe(t){return t[0]}function CUe(t){const e=he.c(21),{onClick:r,fullname:n,description:s,image:i,menuItems:o,hideFullName:l}=t,c=ci();let u;e[0]!==c.breakpoints?(u=c.breakpoints.up("md"),e[0]=c.breakpoints,e[1]=u):u=e[1];const d=Nd(u),{menuOpen:f}=Jt(),p=Nd(c.breakpoints.down($.appBarMobileBreakpoint))?{display:"inline-block",cursor:"pointer",marginLeft:"auto",position:"relative",top:"-44px"}:{display:"inline-block",cursor:"pointer",marginLeft:"auto"};let m;e[2]!==o||e[3]!==f||e[4]!==r?(m=x=>{x.preventDefault(),r&&r(x),o&&o.length&&f({anchorEl:x.currentTarget,items:o,anchorOrigin:{vertical:"bottom",horizontal:"right"}})},e[2]=o,e[3]=f,e[4]=r,e[5]=m):m=e[5];const h=m;let _;e[6]!==s||e[7]!==n||e[8]!==l||e[9]!==d?(_=d&&a.jsxs(gt,{children:[!l&&a.jsx(gt,{sx:{display:"flex",justifyContent:"flex-end"},children:a.jsx(_e,{type:"body1",align:"right",lineHeight:1,fontWeight:600,children:n})}),s&&s.length&&a.jsx(te,{direction:"row",align:"baseline",justify:"flex-end",spacing:.5,divided:s.length>1,children:s.map(AUe)})]}),e[6]=s,e[7]=n,e[8]=l,e[9]=d,e[10]=_):_=e[10];let g;e[11]!==n||e[12]!==i?(g=a.jsx(SUe,{alt:n,src:i,size:40,initials:!0}),e[11]=n,e[12]=i,e[13]=g):g=e[13];let y;e[14]!==_||e[15]!==g?(y=a.jsxs(te,{direction:"row",align:"center",justify:"flex-end",children:[_,g]}),e[14]=_,e[15]=g,e[16]=y):y=e[16];let b;return e[17]!==h||e[18]!==y||e[19]!==p?(b=a.jsx(gt,{sx:p,onClick:h,"data-testid":"profile-card",children:y}),e[17]=h,e[18]=y,e[19]=p,e[20]=b):b=e[20],b}function AUe(t,e){return a.jsx(_e,{lineHeight:1,type:"caption",children:t},e)}const kUe=t=>I.createElement("svg",{width:66,height:18,viewBox:"0 0 66 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 18V0H66V18H0ZM4 14H61.9862H62V4H4V14Z",fill:"#01A982"}));function MUe({productName:t}){const e=ci();return a.jsxs(te,{direction:"row",align:"center",spacing:3,nowrap:!0,children:[a.jsx(gt,{sx:{width:"66px",height:"18px"},children:a.jsx(kUe,{})}),a.jsxs(_e,{sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",[e.breakpoints.up(445)]:{width:"100%"},[e.breakpoints.down(445)]:{width:"70%"},[e.breakpoints.down(434)]:{width:"65%"},[e.breakpoints.down(410)]:{width:"60%"},[e.breakpoints.down(390)]:{width:"55%"},[e.breakpoints.down(367)]:{width:"45%"}},children:[t.includes("HPE")&&a.jsx(gt,{component:"span",sx:{fontWeight:500},children:"HPE"}),a.jsxs(gt,{component:"span",children:[" ",t.replace("HPE","")]})]})]})}function PUe(t){const e=he.c(18),{children:r,info:n,siteSelector:s}=t,{hostname:i,product_name:o}=n;let l,c;e[0]!==i||e[1]!==o?(l=()=>{document.title=i===window.location.hostname?`${i} - ${o}`:`${i} - ${window.location.hostname} - ${o}`},c=[i,o],e[0]=i,e[1]=o,e[2]=l,e[3]=c):(l=e[2],c=e[3]),I.useEffect(l,c);const u=ci(),d=aC(u.breakpoints.down($.appBarMobileBreakpoint))?{my:4,mx:.5}:"";let f;e[4]===Symbol.for("react.memo_cache_sentinel")?(f={borderBottom:"1px solid",borderColor:"divider"},e[4]=f):f=e[4];let p;e[5]!==d?(p={height:"60px !important",minHeight:"60px !important",gap:"10px",...d},e[5]=d,e[6]=p):p=e[6];let m;e[7]!==o?(m=a.jsx(MUe,{productName:o}),e[7]=o,e[8]=m):m=e[8];let h;e[9]!==s||e[10]!==m?(h=a.jsxs(te,{direction:"row",align:"center",spacing:1,children:[m,s]}),e[9]=s,e[10]=m,e[11]=h):h=e[11];let _;e[12]!==r||e[13]!==h?(_=a.jsxs(te,{justify:"space-between",direction:"row",fullWidth:!0,children:[h,r]}),e[12]=r,e[13]=h,e[14]=_):_=e[14];let g;return e[15]!==p||e[16]!==_?(g=a.jsx(hNe,{elevation:0,color:"inherit",sx:f,children:a.jsx(tN,{sx:p,children:_})}),e[15]=p,e[16]=_,e[17]=g):g=e[17],g}function En(t){const e=he.c(21);let r,n,s,i,o,l,c;e[0]!==t?({onClick:o,disabled:n,value:c,children:r,divider:s,icon:i,...l}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7]);const u=`menu-item-${c}`;let d;e[8]!==i?(d=i&&a.jsx(LO,{sx:{fontSize:"18px"},children:i}),e[8]=i,e[9]=d):d=e[9];let f;e[10]!==r?(f=a.jsx(dA,{children:r}),e[10]=r,e[11]=f):f=e[11];let p;return e[12]!==n||e[13]!==s||e[14]!==o||e[15]!==l||e[16]!==u||e[17]!==d||e[18]!==f||e[19]!==c?(p=a.jsxs(E_,{divider:s,onClick:o,disabled:n,value:c,"data-testid":u,...l,children:[d,f]}),e[12]=n,e[13]=s,e[14]=o,e[15]=l,e[16]=u,e[17]=d,e[18]=f,e[19]=c,e[20]=p):p=e[20],p}function jUe(t){const e=he.c(40),{darkText:r,lightText:n,systemText:s,title:i}=t,o=Nr(EUe),l=Nr(TUe);let c;e[0]!==l?(c=N=>()=>{l(N)},e[0]=l,e[1]=c):c=e[1];const u=c;let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d={px:2,pb:1,pt:.5},e[2]=d):d=e[2];let f;e[3]!==i?(f=a.jsx(_e,{color:"text.secondary",sx:d,children:i}),e[3]=i,e[4]=f):f=e[4];let p;e[5]!==u?(p=u("dark"),e[5]=u,e[6]=p):p=e[6];let m;e[7]===Symbol.for("react.memo_cache_sentinel")?(m=a.jsx(ge.Darkmode,{}),e[7]=m):m=e[7];const h=o==="dark"?"divider":"none";let _;e[8]!==h?(_={backgroundColor:h},e[8]=h,e[9]=_):_=e[9];let g;e[10]!==r||e[11]!==p||e[12]!==_?(g=a.jsx(En,{onClick:p,icon:m,sx:_,children:r}),e[10]=r,e[11]=p,e[12]=_,e[13]=g):g=e[13];let y;e[14]!==u?(y=u("light"),e[14]=u,e[15]=y):y=e[15];let b;e[16]===Symbol.for("react.memo_cache_sentinel")?(b=a.jsx(ge.Lightmode,{}),e[16]=b):b=e[16];const x=o==="light"?"divider":"none";let w;e[17]!==x?(w={backgroundColor:x},e[17]=x,e[18]=w):w=e[18];let C;e[19]!==n||e[20]!==w||e[21]!==y?(C=a.jsx(En,{onClick:y,icon:b,sx:w,children:n}),e[19]=n,e[20]=w,e[21]=y,e[22]=C):C=e[22];let k;e[23]!==u?(k=u("system"),e[23]=u,e[24]=k):k=e[24];let A;e[25]===Symbol.for("react.memo_cache_sentinel")?(A=a.jsx(ge.Monitor,{}),e[25]=A):A=e[25];const P=o==="system"?"divider":"none";let T;e[26]!==P?(T={backgroundColor:P},e[26]=P,e[27]=T):T=e[27];let j;e[28]!==s||e[29]!==k||e[30]!==T?(j=a.jsx(En,{onClick:k,icon:A,sx:T,children:s}),e[28]=s,e[29]=k,e[30]=T,e[31]=j):j=e[31];let R;e[32]!==C||e[33]!==j||e[34]!==f||e[35]!==g?(R=a.jsxs(pv,{children:[f,g,C,j]}),e[32]=C,e[33]=j,e[34]=f,e[35]=g,e[36]=R):R=e[36];let D;e[37]===Symbol.for("react.memo_cache_sentinel")?(D=a.jsx("div",{children:a.jsx(Zr,{size:"small",sx:{fontSize:"22px",mt:"2px"},children:a.jsx(ge.DarkModeToggle,{})})}),e[37]=D):D=e[37];let O;return e[38]!==R?(O=a.jsx(Mn,{opaque:!0,disableFocusListener:!0,enterTouchDelay:0,title:R,children:D}),e[38]=R,e[39]=O):O=e[39],O}function TUe(t){return t.setThemeMode}function EUe(t){return t.themeMode}function wae(){const t=he.c(13),e=Ye();let r;t[0]!==e?(r=e.formatMessage({id:"darkmode.title"}),t[0]=e,t[1]=r):r=t[1];let n;t[2]!==e?(n=e.formatMessage({id:"darkmode.dark"}),t[2]=e,t[3]=n):n=t[3];let s;t[4]!==e?(s=e.formatMessage({id:"darkmode.light"}),t[4]=e,t[5]=s):s=t[5];let i;t[6]!==e?(i=e.formatMessage({id:"darkmode.system"}),t[6]=e,t[7]=i):i=t[7];let o;return t[8]!==r||t[9]!==n||t[10]!==s||t[11]!==i?(o=a.jsx(jUe,{title:r,darkText:n,lightText:s,systemText:i}),t[8]=r,t[9]=n,t[10]=s,t[11]=i,t[12]=o):o=t[12],o}const Tt=()=>!0,Cae=t=>!["","/","/site-loader"].includes(t);function ro({nf:t,rootUrl:e,applyActionUrl:r,persistActionUrl:n,reloadActionUrl:s,factoryResetActionUrl:i}){return{[e]:o=>et({permissions:ie.configuration,activeServicesNames:[t],services:o}),[r]:Tt,[n]:Tt,[s]:Tt,[i]:Tt}}function RUe({nf:t,rootUrl:e,connectionsUrl:r,connectionsDeleteActionUrl:n,connectionsResetActionUrl:s,listenersUrl:i}){return{[e]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[r]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[i]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[n]:Tt,[s]:Tt}}function no({nf:t,rootUrl:e,joinClusterActionUrl:r,leaveClusterActionUrl:n,leaveCpWithoutConsensusActionUrl:s,removeApDeadNodesActionUrl:i,applyBootConfigUrl:o}){return{[e]:l=>et({permissions:ie.configuration,activeServicesNames:[t],services:l}),[o]:Tt,...r&&{[r]:Tt},...n&&{[n]:Tt},...s&&{[s]:Tt},...i&&{[i]:Tt}}}const IUe={[$.urls.amf]:t=>et({permissions:[ie.configuration,ie.monitoring],activeServicesNames:[ue.AMF],services:t}),[$.urls.amfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AMF],services:t}),...RUe({nf:ue.AMF,rootUrl:$.urls.amfStatusNgap,connectionsUrl:$.urls.amfStatusNgapConnections,connectionsDeleteActionUrl:$.urls.amfStatusNgapConnectionsDelete_Action,connectionsResetActionUrl:$.urls.amfStatusNgapConnectionsReset_Action,listenersUrl:$.urls.amfStatusNgapListeners}),...no({nf:ue.AMF,rootUrl:$.urls.amfCluster,applyBootConfigUrl:$.urls.amfClusterApplyBootConfig_Action}),...ro({nf:ue.AMF,rootUrl:$.urls.amfConfiguration,applyActionUrl:$.urls.amfConfigurationApply_Action,persistActionUrl:$.urls.amfConfigurationPersist_Action,reloadActionUrl:$.urls.amfConfigurationReload_Action,factoryResetActionUrl:$.urls.amfConfigurationFactoryReset_Action})},DUe={[$.urls.ausf]:t=>et({permissions:[ie.configuration],activeServicesNames:[ue.AUSF],services:t}),...no({nf:ue.AUSF,rootUrl:$.urls.ausfCluster,applyBootConfigUrl:$.urls.ausfClusterApplyBootConfig_Action}),...ro({nf:ue.AUSF,rootUrl:$.urls.ausfConfiguration,applyActionUrl:$.urls.ausfConfigurationApply_Action,persistActionUrl:$.urls.ausfConfigurationPersist_Action,reloadActionUrl:$.urls.ausfConfigurationReload_Action,factoryResetActionUrl:$.urls.ausfConfigurationFactoryReset_Action})};function Fp({nf:t,rootUrl:e,connectionsUrl:r,peersUrl:n}){return{[e]:s=>et({permissions:ie.monitoring,activeServicesNames:[t],services:s}),[r]:s=>et({permissions:ie.monitoring,activeServicesNames:[t],services:s}),[n]:s=>et({permissions:ie.monitoring,activeServicesNames:[t],services:s})}}function qA({nf:t,rootUrl:e,socketsUrl:r,peersUrl:n,blockedPeersUrl:s,blockedPeersFlushActionUrl:i}){return{[e]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[r]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[n]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),...s&&i&&{[s]:o=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:o}),[i]:Tt}}}const $Ue={[$.urls.bmsc]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.BMSC],services:t}),[$.urls.bmscStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.BMSC],services:t}),...Fp({nf:ue.BMSC,rootUrl:$.urls.bmscStatusDiameter,connectionsUrl:$.urls.bmscStatusDiameterConnections,peersUrl:$.urls.bmscStatusDiameterPeers}),...qA({nf:ue.BMSC,rootUrl:$.urls.bmscStatusGtpc,socketsUrl:$.urls.bmscStatusGtpcSockets,peersUrl:$.urls.bmscStatusGtpcPeers}),...no({nf:ue.BMSC,rootUrl:$.urls.bmscCluster,applyBootConfigUrl:$.urls.bmscClusterApplyBootConfig_Action}),...ro({nf:ue.BMSC,rootUrl:$.urls.bmscConfiguration,applyActionUrl:$.urls.bmscConfigurationApply_Action,persistActionUrl:$.urls.bmscConfigurationPersist_Action,reloadActionUrl:$.urls.bmscConfigurationReload_Action,factoryResetActionUrl:$.urls.bmscConfigurationFactoryReset_Action})};function OUe({nf:t,rootUrl:e}){return{[e]:r=>et({permissions:ie.monitoring,activeServicesNames:[t],services:r})}}const LUe={[$.urls.chf]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.CHF],services:t}),...no({nf:ue.CHF,rootUrl:$.urls.chfCluster,applyBootConfigUrl:$.urls.chfClusterApplyBootConfig_Action}),[$.urls.chfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.CHF],services:t}),...Fp({nf:ue.CHF,rootUrl:$.urls.chfStatusDiameter,connectionsUrl:$.urls.chfStatusDiameterConnections,peersUrl:$.urls.chfStatusDiameterPeers}),...ro({nf:ue.CHF,rootUrl:$.urls.chfConfiguration,applyActionUrl:$.urls.chfConfigurationApply_Action,persistActionUrl:$.urls.chfConfigurationPersist_Action,reloadActionUrl:$.urls.chfConfigurationReload_Action,factoryResetActionUrl:$.urls.chfConfigurationFactoryReset_Action}),[$.urls.chfStatusGtpPrime]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.CHF],services:t}),...OUe({nf:ue.CHF,rootUrl:$.urls.chfStatusGtpPrimeConnections})},NUe={[$.urls.dra]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.DRA],services:t}),[$.urls.draStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.DRA],services:t}),...Fp({nf:ue.DRA,rootUrl:$.urls.draStatusDiameter,connectionsUrl:$.urls.draStatusDiameterConnections,peersUrl:$.urls.draStatusDiameterPeers}),...no({nf:ue.DRA,rootUrl:$.urls.draCluster,applyBootConfigUrl:$.urls.draClusterApplyBootConfig_Action}),...ro({nf:ue.DRA,rootUrl:$.urls.draConfiguration,applyActionUrl:$.urls.draConfigurationApply_Action,persistActionUrl:$.urls.draConfigurationPersist_Action,factoryResetActionUrl:$.urls.draConfigurationFactoryReset_Action,reloadActionUrl:$.urls.draConfigurationReload_Action})},FUe={[$.urls.dsm]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),...ro({nf:ue.DSM,rootUrl:$.urls.dsmConfiguration,applyActionUrl:$.urls.dsmConfigurationApply_Action,persistActionUrl:$.urls.dsmConfigurationPersist_Action,reloadActionUrl:$.urls.dsmConfigurationReload_Action,factoryResetActionUrl:$.urls.dsmConfigurationFactoryReset_Action}),[$.urls.dsmZones]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),[$.urls.dsmZonesEntries]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),[$.urls.dsmZonesDetail]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),[$.urls.dsmZonesCreate_Action]:Tt,[$.urls.dsmZonesDelete_Action]:Tt,[$.urls.dsmZonesDownload]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),...no({nf:ue.DSM,rootUrl:$.urls.dsmCluster,applyBootConfigUrl:$.urls.dsmClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.dsmClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.dsmClusterLeaveCluster_Action})},UUe={[$.urls.eir]:t=>et({permissions:[ie.provisioning,ie.monitoring,ie.configuration,ie.management],activeServicesNames:[ue.EIR],services:t}),[$.urls.eirStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.EIR],services:t}),...Fp({nf:ue.EIR,rootUrl:$.urls.eirStatusDiameter,connectionsUrl:$.urls.eirStatusDiameterConnections,peersUrl:$.urls.eirStatusDiameterPeers}),...ro({nf:ue.EIR,rootUrl:$.urls.eirConfiguration,applyActionUrl:$.urls.eirConfigurationApply_Action,persistActionUrl:$.urls.eirConfigurationPersist_Action,reloadActionUrl:$.urls.eirConfigurationReload_Action,factoryResetActionUrl:$.urls.eirConfigurationFactoryReset_Action}),[$.urls.eirRules]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.EIR],services:t}),[$.urls.eirRulesEntries]:()=>et({permissions:ie.provisioning}),[$.urls.eirRulesDetails]:()=>et({permissions:ie.provisioning}),[$.urls.eirRulesCreateBulk_Action]:Tt,[$.urls.eirRulesCreate_Action]:Tt,[$.urls.eirRulesUpdate_Action]:Tt,[$.urls.eirRulesDelete_Action]:Tt,[$.urls.eirRulesEquipmentConfigurationSet]:()=>et({permissions:ie.provisioning}),[$.urls.eirAutoRules]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.EIR],services:t}),[$.urls.eirAutorulesEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.EIR],services:t}),[$.urls.eirAutorulesCreateBulk_Action]:Tt,[$.urls.eirAutorulesCreate_Action]:Tt,[$.urls.eirAutorulesUpdate_Action]:Tt,[$.urls.eirAutorulesDelete_Action]:Tt,...no({nf:ue.EIR,rootUrl:$.urls.eirCluster,applyBootConfigUrl:$.urls.eirClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.eirClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.eirClusterLeaveCluster_Action})};function nN({nf:t,rootUrl:e,socketsUrl:r}){return{[e]:n=>et({permissions:ie.monitoring,activeServicesNames:[t],services:n}),[r]:n=>et({permissions:ie.monitoring,activeServicesNames:[t],services:n})}}function sN({nf:t,rootUrl:e,createUrl:r,deleteUrl:n}){return{[e]:s=>et({permissions:ie.lawful_interception,activeServicesNames:[t],services:s}),[r]:Tt,[n]:Tt}}const BUe={[$.urls.mme]:t=>et({permissions:[ie.monitoring,ie.configuration,ie.lawful_interception],activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),...Fp({nf:ue.MME,rootUrl:$.urls.mmeStatusDiameter,connectionsUrl:$.urls.mmeStatusDiameterConnections,peersUrl:$.urls.mmeStatusDiameterPeers}),[$.urls.mmeStatusS1ap]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusS1apConnections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusS1apConnectionsDisconnect]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusS1apConnectionsReset]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusS1apListeners]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),...qA({nf:ue.MME,rootUrl:$.urls.mmeStatusGtpc,socketsUrl:$.urls.mmeStatusGtpcSockets,peersUrl:$.urls.mmeStatusGtpcPeers,blockedPeersUrl:$.urls.mmeStatusGtpcBlockedPeers,blockedPeersFlushActionUrl:$.urls.mmeStatusGtpcBlockedPeersFlush_Action}),...nN({nf:ue.MME,rootUrl:$.urls.mmeStatusGtpu,socketsUrl:$.urls.mmeStatusGtpuSockets}),[$.urls.mmeStatusSgs]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusSgsConnections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusSbcap]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusSbcapConnections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusSbcapListeners]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusDns]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusDnsCache]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusDnsCacheFlush]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusM3]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusM3Connections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),...no({nf:ue.MME,rootUrl:$.urls.mmeCluster,applyBootConfigUrl:$.urls.mmeClusterApplyBootConfig_Action}),...ro({nf:ue.MME,rootUrl:$.urls.mmeConfiguration,applyActionUrl:$.urls.mmeConfigurationApply_Action,persistActionUrl:$.urls.mmeConfigurationPersist_Action,reloadActionUrl:$.urls.mmeConfigurationReload_Action,factoryResetActionUrl:$.urls.mmeConfigurationFactoryReset_Action}),...sN({nf:ue.MME,rootUrl:$.urls.mmeLawfulInterception,createUrl:$.urls.mmeLawfulInterceptionCreate_Action,deleteUrl:$.urls.mmeLawfulInterceptionDelete_Action})},zUe={[$.urls.monitoring]:()=>et({permissions:ie.monitoring}),[$.urls.monitoringUeStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AMF,ue.SMF,ue.UDR,ue.MME,ue.UPF,ue.PCF,ue.SGWC],partialActiveServices:!0,services:t}),[$.urls.monitoringUeStatusDetails]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AMF,ue.SMF,ue.UDR,ue.MME,ue.UPF,ue.PCF,ue.SGWC],partialActiveServices:!0,services:t}),[$.urls.monitoringUeStatusDetailsUdmReattach_Action]:Tt,[$.urls.monitoringUeStatusDetailsAmf]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AMF],services:t}),[$.urls.monitoringUeStatusDetailsAmfRemove_Action]:Tt,[$.urls.monitoringUeStatusDetailsSmf]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),[$.urls.monitoringUeStatusDetailsUpf]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),[$.urls.monitoringUeStatusDetailsUdr]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UDR],services:t}),[$.urls.monitoringUeStatusDetailsMme]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.monitoringUeStatusDetailsMmeDisconnect_Action]:Tt,[$.urls.monitoringUeStatusDetailsMmeDetach_Action]:Tt,[$.urls.monitoringUeStatusDetailsMmePurge_Action]:Tt,[$.urls.monitoringUeStatusDetailsSgwc]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),[$.urls.monitoringUeStatusDetailsPcf]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.PCF],services:t}),[$.urls.monitoringCoreStatistics]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GRAFANA],services:t}),[$.urls.monitoringSystem]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GRAFANA],services:t}),[$.urls.monitoringAlerts]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.ALERTMANAGER],services:t})},qUe={[$.urls.network]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusInterfaces]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusNeighbors]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusNeighborsFlush_Action]:Tt,[$.urls.networkStatusRoutes]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusRules]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusSockets]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusBird]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusBirdProtocols]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusBirdBfdSessions]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),...ro({nf:ue.NCM,rootUrl:$.urls.networkConfiguration,applyActionUrl:$.urls.networkConfigurationApply_Action,persistActionUrl:$.urls.networkConfigurationPersist_Action,reloadActionUrl:$.urls.networkConfigurationReload_Action,factoryResetActionUrl:$.urls.networkConfigurationFactoryReset_Action})},VUe={[$.urls.nrf]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.NRF],services:t}),[$.urls.nrfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NRF],services:t}),...ro({nf:ue.NRF,rootUrl:$.urls.nrfConfiguration,applyActionUrl:$.urls.nrfConfigurationApply_Action,persistActionUrl:$.urls.nrfConfigurationPersist_Action,reloadActionUrl:$.urls.nrfConfigurationReload_Action,factoryResetActionUrl:$.urls.nrfConfigurationFactoryReset_Action}),[$.urls.nrfStaticProfiles]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.NRF],services:t}),[$.urls.nrfStaticProfilesDetails]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.NRF],services:t}),[$.urls.nrfStaticProfilesCreate_Action]:Tt,[$.urls.nrfStaticProfilesUpdate_Action]:Tt,[$.urls.nrfStaticProfilesDelete_Action]:Tt,...no({nf:ue.NRF,rootUrl:$.urls.nrfCluster,applyBootConfigUrl:$.urls.nrfClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.nrfClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.nrfClusterLeaveCluster_Action})},HUe={[$.urls.pcf]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.PCF],services:t}),[$.urls.pcfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.PCF],services:t}),...Fp({nf:ue.PCF,rootUrl:$.urls.pcfStatusDiameter,connectionsUrl:$.urls.pcfStatusDiameterConnections,peersUrl:$.urls.pcfStatusDiameterPeers}),...no({nf:ue.PCF,rootUrl:$.urls.pcfCluster,applyBootConfigUrl:$.urls.pcfClusterApplyBootConfig_Action}),...ro({nf:ue.PCF,rootUrl:$.urls.pcfConfiguration,applyActionUrl:$.urls.pcfConfigurationApply_Action,persistActionUrl:$.urls.pcfConfigurationPersist_Action,reloadActionUrl:$.urls.pcfConfigurationReload_Action,factoryResetActionUrl:$.urls.pcfConfigurationFactoryReset_Action})},GUe={[$.urls.platform]:()=>et({permissions:ie.management}),[$.urls.platformAuthentication]:()=>et({permissions:ie.management}),[$.urls.platformAuthenticationStrategies]:()=>et({permissions:ie.management}),[$.urls.platformAuthenticationAuthConfig]:()=>et({permissions:ie.management}),[$.urls.platformAuthenticationTerms]:()=>et({permissions:ie.management}),[$.urls.platformAuthenticationBackendsUpdate_Action]:Tt,[$.urls.platformAuthenticationOpenIdConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationRadiusConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationLdapConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationAuthConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationOpenIdConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationTermsUpdate_Action]:Tt,[$.urls.platformUsers]:()=>et({permissions:ie.management}),[$.urls.platformUsersEntries]:()=>et({permissions:ie.management}),[$.urls.platformUsersDetails]:()=>et({permissions:ie.management}),[$.urls.platformUsersAudits]:()=>et({permissions:ie.management}),[$.urls.platformUsersCreate_Action]:Tt,[$.urls.platformUsersUpdate_Action]:Tt,[$.urls.platformUsersDelete_Action]:Tt,[$.urls.platformUsersPasswordChange_Action]:Tt,[$.urls.platformUsersRevokeTokens_Action]:Tt,[$.urls.platformUsersCurrentUserPasswordChange_Action]:Tt,[$.urls.platformRoles]:()=>et({permissions:ie.management}),[$.urls.platformRolesEntries]:()=>et({permissions:ie.management}),[$.urls.platformRolesCreate_Action]:Tt,[$.urls.platformRolesUpdate_Action]:Tt,[$.urls.platformRolesDelete_Action]:Tt,[$.urls.platformRolesDetails]:()=>et({permissions:ie.management}),[$.urls.platformTls]:()=>et({permissions:ie.management}),[$.urls.platformTlsConfigurationUpdate_Action]:Tt,[$.urls.platformTlsClientCertificateUpdate_Action]:Tt,[$.urls.platformTlsServerCertificateUpdate_Action]:Tt,[$.urls.platformLogShipping]:()=>et({permissions:ie.management}),[$.urls.platformLogShippingApply_Action]:Tt,[$.urls.platformLogShippingFactoryReset_Action]:Tt,[$.urls.platformKpiShipping]:()=>et({permissions:ie.management}),[$.urls.platformKpiShippingApply_Action]:Tt,[$.urls.platformKpiShippingFactoryReset_Action]:Tt,[$.urls.platformAlertShipping]:()=>et({permissions:ie.management}),[$.urls.platformAlertShippingApply_Action]:Tt,[$.urls.platformAlertShippingFactoryReset_Action]:Tt,...no({nf:ue.PLS,rootUrl:$.urls.platformCluster,applyBootConfigUrl:$.urls.platformClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.platformClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.platformClusterLeaveCluster_Action})},WUe={[$.urls.sgwc]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.SGWC],services:t}),[$.urls.sgwcStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),...qA({nf:ue.SGWC,rootUrl:$.urls.sgwcStatusGtpc,socketsUrl:$.urls.sgwcStatusGtpcSockets,peersUrl:$.urls.sgwcStatusGtpcPeers}),[$.urls.sgwcStatusPfcp]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),[$.urls.sgwcStatusPfcpSockets]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),[$.urls.sgwcStatusPfcpPeers]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),...no({nf:ue.SGWC,rootUrl:$.urls.sgwcCluster,applyBootConfigUrl:$.urls.sgwcClusterApplyBootConfig_Action}),...ro({nf:ue.SGWC,rootUrl:$.urls.sgwcConfiguration,applyActionUrl:$.urls.sgwcConfigurationApply_Action,persistActionUrl:$.urls.sgwcConfigurationPersist_Action,reloadActionUrl:$.urls.sgwcConfigurationReload_Action,factoryResetActionUrl:$.urls.sgwcConfigurationFactoryReset_Action})},YUe={[$.urls.smf]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.SMF],services:t}),[$.urls.smfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),...qA({nf:ue.SMF,rootUrl:$.urls.smfStatusGtpc,socketsUrl:$.urls.smfStatusGtpcSockets,peersUrl:$.urls.smfStatusGtpcPeers}),...nN({nf:ue.SMF,rootUrl:$.urls.smfStatusGtpu,socketsUrl:$.urls.smfStatusGtpuSockets}),...no({nf:ue.SMF,rootUrl:$.urls.smfCluster,applyBootConfigUrl:$.urls.smfClusterApplyBootConfig_Action}),[$.urls.smfStatusPfcp]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),[$.urls.smfStatusPfcpSockets]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),[$.urls.smfStatusPfcpPeers]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),...ro({nf:ue.SMF,rootUrl:$.urls.smfConfiguration,applyActionUrl:$.urls.smfConfigurationApply_Action,persistActionUrl:$.urls.smfConfigurationPersist_Action,reloadActionUrl:$.urls.smfConfigurationReload_Action,factoryResetActionUrl:$.urls.smfConfigurationFactoryReset_Action}),...sN({nf:ue.SMF,rootUrl:$.urls.smfLawfulInterception,createUrl:$.urls.smfLawfulInterceptionCreate_Action,deleteUrl:$.urls.smfLawfulInterceptionDelete_Action})},KUe={[$.urls.smsf]:t=>et({permissions:[ie.monitoring,ie.configuration,ie.management],activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMSF],services:t}),...Fp({nf:ue.SMSF,rootUrl:$.urls.smsfStatusDiameter,connectionsUrl:$.urls.smsfStatusDiameterConnections,peersUrl:$.urls.smsfStatusDiameterPeers}),[$.urls.smsfStatusSmpp]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfStatusSmppConnections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMSF],services:t}),...ro({nf:ue.SMSF,rootUrl:$.urls.smsfConfiguration,applyActionUrl:$.urls.smsfConfigurationApply_Action,persistActionUrl:$.urls.smsfConfigurationPersist_Action,reloadActionUrl:$.urls.smsfConfigurationReload_Action,factoryResetActionUrl:$.urls.smsfConfigurationFactoryReset_Action}),[$.urls.smsfSmsBox]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBoxList]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBoxSend_Action]:Tt,[$.urls.smsfSmsBoxMsisdn]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBoxMsisdnDirection]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBoxMsisdnDirectionDelete]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBox]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),...no({nf:ue.SMSF,rootUrl:$.urls.smsfCluster,applyBootConfigUrl:$.urls.smsfClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.smsfClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.smsfClusterLeaveCluster_Action})},QUe={[$.urls.system]:()=>et({permissions:[[ie.management],[ie.monitoring],[ie.backup,ie.provisioning],[ie.backup,ie.configuration]]}),[$.urls.systemLicensing]:t=>et({permissions:ie.management,activeServicesNames:[ue.LICENSED],services:t}),[$.urls.systemLicensingInstall_Action]:Tt,[$.urls.systemLicensingDelete_Action]:Tt,[$.urls.systemBackup]:()=>et({permissions:[[ie.backup,ie.provisioning],[ie.backup,ie.configuration]]}),[$.urls.systemBackupSchedules]:()=>et({permissions:[[ie.backup,ie.configuration],[ie.backup,ie.provisioning]]}),[$.urls.systemBackupSchedulesConfiguration]:()=>et({permissions:[[ie.backup,ie.configuration]]}),[$.urls.systemBackupSchedulesConfigurationBackup_Action]:Tt,[$.urls.systemBackupSchedulesNf]:()=>et({permissions:[[ie.backup,ie.provisioning]]}),[$.urls.systemBackupRestoreSchedules]:()=>et({permissions:[[ie.backup,ie.provisioning],[ie.backup,ie.configuration]]}),[$.urls.systemBackupRestoreSchedulesConfiguration]:()=>et({permissions:[[ie.backup,ie.configuration]]}),[$.urls.systemBackupRestoreSchedulesConfigurationBackup_Action]:Tt,[$.urls.systemBackupRestoreSchedulesConfigurationRestore_Action]:Tt,[$.urls.systemBackupRestoreSchedulesNf]:()=>et({permissions:[[ie.backup,ie.provisioning]]}),[$.urls.systemBackupScheduleBackup_Action]:Tt,[$.urls.systemBackupScheduleRestore_Action]:Tt,[$.urls.systemBackupUpdateConfiguration_Action]:Tt,[$.urls.systemServices]:()=>et({permissions:ie.management}),[$.urls.systemServicesManagement_Action]:Tt,[$.urls.systemUpgrade]:()=>et({permissions:ie.management}),[$.urls.systemUpgradeUpload_Action]:Tt,[$.urls.systemLogs]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsFollow]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsEntries]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsFields]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsFieldsName]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsConfig]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsConfigUpdate_Action]:Tt,[$.urls.systemLogsCursor]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsCursorItem]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemTerminal]:t=>et({canFn:Ue,permissions:ie.management,activeServicesNames:[ue.TERMINAL],services:t}),[$.urls.systemTerminalList]:t=>et({canFn:Ue,permissions:ie.management,activeServicesNames:[ue.TERMINAL],services:t}),[$.urls.restart]:()=>et({permissions:ie.management}),[$.urls.systemBootPartitions]:()=>et({permissions:ie.management}),[$.urls.systemBootPartitionsUpdate_Action]:Tt,[$.urls.systemTroubleshootDump]:()=>et({permissions:ie.management}),[$.urls.systemTroubleshootDumpCreate_Action]:Tt,[$.urls.systemTroubleshootDumpDelete_Action]:Tt},ZUe={[$.urls.udm]:t=>et({permissions:[ie.provisioning,ie.configuration,ie.monitoring],activeServicesNames:[ue.UDM],services:t}),[$.urls.udmStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UDM],services:t}),...Fp({nf:ue.UDM,rootUrl:$.urls.udmStatusDiameter,connectionsUrl:$.urls.udmStatusDiameterConnections,peersUrl:$.urls.udmStatusDiameterPeers}),...ro({nf:ue.UDM,rootUrl:$.urls.udmConfiguration,applyActionUrl:$.urls.udmConfigurationApply_Action,persistActionUrl:$.urls.udmConfigurationPersist_Action,reloadActionUrl:$.urls.udmConfigurationReload_Action,factoryResetActionUrl:$.urls.udmConfigurationFactoryReset_Action}),[$.urls.udmHomeNetworkKeys]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDM],services:t}),[$.urls.udmHomeNetworkKeysCreate_Action]:Tt,[$.urls.udmHomeNetworkKeysDelete_Action]:Tt,[$.urls.udmHomeNetworkKeysUpload_Action]:Tt,...no({nf:ue.UDM,rootUrl:$.urls.udmCluster,applyBootConfigUrl:$.urls.udmClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.udmClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.udmClusterLeaveCluster_Action}),[$.urls.udmPlmnPrefixes]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.UDM],services:t}),[$.urls.udmPlmnPrefix]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.UDM],services:t}),[$.urls.udmPlmnPrefixesCreate_Action]:Tt,[$.urls.udmPlmnPrefixesUpdate_Action]:Tt,[$.urls.udmPlmnPrefixesDelete_Action]:Tt},XUe={[$.urls.udr]:t=>et({permissions:[ie.provisioning,ie.configuration,ie.transport_keys,ie.operator_codes,ie.milenage_constants],activeServicesNames:[ue.UDR],services:t}),...ro({nf:ue.UDR,rootUrl:$.urls.udrConfiguration,applyActionUrl:$.urls.udrConfigurationApply_Action,persistActionUrl:$.urls.udrConfigurationPersist_Action,reloadActionUrl:$.urls.udrConfigurationReload_Action,factoryResetActionUrl:$.urls.udrConfigurationFactoryReset_Action}),[$.urls.udrPlmns]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrPlmnsCreate_Action]:Tt,[$.urls.udrPlmnsDelete_Action]:Tt,[$.urls.udrSupis]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrSupisUpload_Action]:Tt,[$.urls.udrSupisUploadAsync_Action]:Tt,[$.urls.udrSupisDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrSupisCreate_Action]:Tt,[$.urls.udrSupisUpdate_Action]:Tt,[$.urls.udrSupisDelete_Action]:Tt,[$.urls.udrProvisionedDataProfile]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrProvisionedDataProfileDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrProvisionedDataProfileCreate_Action]:Tt,[$.urls.udrProvisionedDataProfileUpdate_Action]:Tt,[$.urls.udrProvisionedDataProfileDelete_Action]:Tt,[$.urls.udrPolicyDataProfile]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrPolicyDataProfileDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrPolicyDataProfileCreate_Action]:Tt,[$.urls.udrPolicyDataProfileUpdate_Action]:Tt,[$.urls.udrPolicyDataProfileDelete_Action]:Tt,[$.urls.udrImsApplicationServerAcls]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsApplicationServerAclsEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsApplicationServerAclsDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsApplicationServerAclsCreate_Action]:Tt,[$.urls.udrImsApplicationServerAclsUpdate_Action]:Tt,[$.urls.udrImsApplicationServerAclsDelete_Action]:Tt,[$.urls.udrImsPrivateIdentities]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesApplicationServersProfiles]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesApplicationServersProfilesCreate_Action]:Tt,[$.urls.udrImsPrivateIdentitiesApplicationServersProfilesUpdate_Action]:Tt,[$.urls.udrImsPrivateIdentitiesApplicationServersProfilesDelete_Action]:Tt,[$.urls.udrImsPrivateIdentitiesEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesPrivateStatus]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesPublicStatus]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesCreate_Action]:Tt,[$.urls.udrImsPrivateIdentitiesCreateBasic_Action]:Tt,[$.urls.udrImsPrivateIdentitiesUpdate_Action]:Tt,[$.urls.udrImsPrivateIdentitiesDelete_Action]:Tt,[$.urls.udrImsServiceProfiles]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsServiceProfilesEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsServiceProfilesDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsServiceProfilesCreate_Action]:Tt,[$.urls.udrImsServiceProfilesUpdate_Action]:Tt,[$.urls.udrImsServiceProfilesDelete_Action]:Tt,[$.urls.udrImsInitialFilters]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsInitialFiltersEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsInitialFiltersDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsInitialFiltersCreate_Action]:Tt,[$.urls.udrImsInitialFiltersUpdate_Action]:Tt,[$.urls.udrImsInitialFiltersDelete_Action]:Tt,[$.urls.udrTransportKeys]:t=>et({permissions:ie.transport_keys,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrTransportKeysEntries]:t=>et({permissions:ie.transport_keys,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrTransportKeysDetails]:t=>et({permissions:ie.transport_keys,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrTransportKeysCreate_Action]:Tt,[$.urls.udrTransportKeysUpdate_Action]:Tt,[$.urls.udrTransportKeysDelete_Action]:Tt,[$.urls.udrOperatorCodes]:t=>et({permissions:ie.operator_codes,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrOperatorCodesEntries]:t=>et({permissions:ie.operator_codes,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrOperatorCodesDetails]:t=>et({permissions:ie.operator_codes,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrOperatorCodesCreate_Action]:Tt,[$.urls.udrOperatorCodesUpdate_Action]:Tt,[$.urls.udrOperatorCodesDelete_Action]:Tt,[$.urls.udrCustomMilenageConstants]:t=>et({permissions:ie.milenage_constants,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrCustomMilenageConstantsUpdate_Action]:Tt,[$.urls.udrCustomMilenageConstantsDelete_Action]:Tt,...no({nf:ue.UDR,rootUrl:$.urls.udrCluster,applyBootConfigUrl:$.urls.udrClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.udrClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.udrClusterLeaveCluster_Action})},JUe={[$.urls.upf]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.UPF],services:t}),[$.urls.upfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),[$.urls.upfStatusPfcp]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),[$.urls.upfStatusPfcpSockets]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),[$.urls.upfStatusPfcpPeers]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),...nN({nf:ue.UPF,rootUrl:$.urls.upfStatusGtpu,socketsUrl:$.urls.upfStatusGtpuSockets}),...no({nf:ue.UPF,rootUrl:$.urls.upfCluster,applyBootConfigUrl:$.urls.upfClusterApplyBootConfig_Action}),...ro({nf:ue.UPF,rootUrl:$.urls.upfConfiguration,applyActionUrl:$.urls.upfConfigurationApply_Action,persistActionUrl:$.urls.upfConfigurationPersist_Action,reloadActionUrl:$.urls.upfConfigurationReload_Action,factoryResetActionUrl:$.urls.upfConfigurationFactoryReset_Action}),...sN({nf:ue.UPF,rootUrl:$.urls.upfLawfulInterception,createUrl:$.urls.upfLawfulInterceptionCreate_Action,deleteUrl:$.urls.upfLawfulInterceptionDelete_Action})},eBe={[$.urls.aaa]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.AAA],services:t}),...no({nf:ue.AAA,rootUrl:$.urls.aaaCluster,applyBootConfigUrl:$.urls.aaaClusterApplyBootConfig_Action}),[$.urls.aaaStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AAA],services:t}),[$.urls.aaaStatusRadius]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AAA],services:t}),...ro({nf:ue.AAA,rootUrl:$.urls.aaaConfiguration,applyActionUrl:$.urls.aaaConfigurationApply_Action,persistActionUrl:$.urls.aaaConfigurationPersist_Action,reloadActionUrl:$.urls.aaaConfigurationReload_Action,factoryResetActionUrl:$.urls.aaaConfigurationFactoryReset_Action})},BW={[$.urls.siteLoader]:Tt,[$.urls.profile]:Tt,[$.urls.home]:()=>et({permissions:ie.monitoring}),...qUe,...eBe,...IUe,...DUe,...$Ue,...LUe,...FUe,...NUe,...UUe,...BUe,...VUe,...HUe,...WUe,...YUe,...KUe,...ZUe,...XUe,...JUe,...zUe,...GUe,...QUe,"/marvis":Tt,"/marvis/overview":Tt,"/marvis/actions":Tt,"/marvis/minis":Tt,"/marvis/ai":Tt,"/radio":Tt},tBe=Pr(),Lt=(t,e)=>{try{return K6(t,e),!0}catch{return!1}},K6=(t,e)=>{if(!Cae(t))return;if(!BW[t])throw new Error(tBe.formatMessage({id:"route.errors.route_not_managed"},{path:t}));if(!e.length)return;const r=BW[t](e);if(r!==!0)throw r.areServicesActive?Li({type:mn.FORBIDDEN,data:Array.isArray(r.permissions)?r.permissions.join(", "):r.permissions}):Li({type:mn.SERVICE_UNAVAILABLE,data:r.services?.join(", ")})};function et({permissions:t,services:e,activeServicesNames:r,canFn:n=as,partialActiveServices:s=!1}){const i=t?n(t):!0,o=e&&r?u4e({services:e,activeServices:r,partial:s}):!0;return!i||!o?{permissions:t,services:r,hasPermissions:i,areServicesActive:o}:!0}function Aae(){const t=pie();return!Ni.isEmpty(t)}const vt=Pr();function kae(t){return t.filter(e=>!e.disabled).map(e=>e.subItems?{...e,subItems:e.subItems.filter(r=>!r.disabled)}:e).map(e=>!e.subItems||e.subItems&&e.subItems?.length>0?e:void 0).filter(e=>!!e)}function _o(t,e){return!!e.find(r=>r.name===t)?.db_cluster}function rBe({services:t}){return[{value:$.urls.home,icon:a.jsx(ge.Home,{}),label:vt.formatMessage({id:"route.home"}),disabled:!Lt($.urls.home,t)},{value:$.urls.network,icon:a.jsx(ge.NCM,{}),label:vt.formatMessage({id:"route.ncm"}),disabled:!Lt($.urls.network,t),subItems:[{value:$.urls.networkStatus,label:vt.formatMessage({id:"route.ncm.status"}),disabled:!Lt($.urls.networkStatus,t)},{value:$.urls.networkConfiguration,label:vt.formatMessage({id:"route.ncm.configuration"}),disabled:!Lt($.urls.networkConfiguration,t)}]},{value:$.urls.aaa,icon:a.jsx(ge.AAA,{}),label:vt.formatMessage({id:"route.aaa"}),disabled:!Lt($.urls.aaa,t),subItems:[{value:$.urls.aaaStatus,label:vt.formatMessage({id:"route.aaa.status"}),disabled:!Lt($.urls.aaaStatus,t)},{value:$.urls.aaaConfiguration,label:vt.formatMessage({id:"route.aaa.configuration"}),disabled:!Lt($.urls.aaaConfiguration,t)},{value:$.urls.aaaCluster,label:vt.formatMessage({id:"route.aaa.cluster"}),disabled:!Lt($.urls.aaaCluster,t)||!_o(ue.AAA,t)}]},{value:$.urls.amf,icon:a.jsx(ge.AMF,{}),label:vt.formatMessage({id:"route.amf"}),disabled:!Lt($.urls.amf,t),subItems:[{value:$.urls.amfStatus,label:vt.formatMessage({id:"route.amf.status"}),disabled:!Lt($.urls.amfStatus,t)},{value:$.urls.amfConfiguration,label:vt.formatMessage({id:"route.amf.configuration"}),disabled:!Lt($.urls.amfConfiguration,t)},{value:$.urls.amfCluster,label:vt.formatMessage({id:"route.amf.cluster"}),disabled:!Lt($.urls.amfCluster,t)||!_o(ue.AMF,t)}]},{value:$.urls.ausf,icon:a.jsx(ge.AUSF,{}),label:vt.formatMessage({id:"route.ausf"}),disabled:!Lt($.urls.ausf,t),subItems:[{value:$.urls.ausfConfiguration,label:vt.formatMessage({id:"route.ausf.configuration"}),disabled:!Lt($.urls.ausfConfiguration,t)},{value:$.urls.ausfCluster,label:vt.formatMessage({id:"route.ausf.cluster"}),disabled:!Lt($.urls.ausfCluster,t)||!_o(ue.AUSF,t)}]},{value:$.urls.bmsc,icon:a.jsx(ge.BMSC,{}),label:vt.formatMessage({id:"route.bmsc"}),disabled:!Lt($.urls.bmsc,t),subItems:[{value:$.urls.bmscStatus,label:vt.formatMessage({id:"route.bmsc.status"}),disabled:!Lt($.urls.bmscStatus,t)},{value:$.urls.bmscConfiguration,label:vt.formatMessage({id:"route.bmsc.configuration"}),disabled:!Lt($.urls.bmscConfiguration,t)},{value:$.urls.bmscCluster,label:vt.formatMessage({id:"route.bmsc.cluster"}),disabled:!Lt($.urls.bmscCluster,t)||!_o(ue.BMSC,t)}]},{value:$.urls.chf,icon:a.jsx(ge.CHF,{}),label:vt.formatMessage({id:"route.chf"}),disabled:!Lt($.urls.chf,t),subItems:[{value:$.urls.chfStatus,label:vt.formatMessage({id:"route.chf.status"}),disabled:!Lt($.urls.chfStatus,t)},{value:$.urls.chfConfiguration,label:vt.formatMessage({id:"route.chf.configuration"}),disabled:!Lt($.urls.chfConfiguration,t)},{value:$.urls.chfCluster,label:vt.formatMessage({id:"route.chf.cluster"}),disabled:!Lt($.urls.chfCluster,t)||!_o(ue.CHF,t)}]},{value:$.urls.dsm,icon:a.jsx(ge.DSM,{}),label:vt.formatMessage({id:"route.dsm"}),disabled:!Lt($.urls.dsm,t),subItems:[{value:$.urls.dsmConfiguration,label:vt.formatMessage({id:"route.dsm.configuration"}),disabled:!Lt($.urls.dsmConfiguration,t)},{value:$.urls.dsmZones,label:vt.formatMessage({id:"route.dsm.zones"}),disabled:!Lt($.urls.dsmZones,t)},{value:$.urls.dsmCluster,label:vt.formatMessage({id:"route.dsm.cluster"}),disabled:!Lt($.urls.dsmCluster,t)||!_o(ue.DSM,t)}]},{value:$.urls.dra,icon:a.jsx(ge.DRA,{}),label:vt.formatMessage({id:"route.dra"}),disabled:!Lt($.urls.dra,t),subItems:[{value:$.urls.draStatus,label:vt.formatMessage({id:"route.dra.status"}),disabled:!Lt($.urls.draStatus,t)},{value:$.urls.draConfiguration,label:vt.formatMessage({id:"route.dra.configuration"}),disabled:!Lt($.urls.draConfiguration,t)},{value:$.urls.draCluster,label:vt.formatMessage({id:"route.dra.cluster"}),disabled:!Lt($.urls.draCluster,t)||!_o(ue.DRA,t)}]},{value:$.urls.eir,icon:a.jsx(ge.EIR,{}),label:vt.formatMessage({id:"route.eir"}),disabled:!Lt($.urls.eir,t),subItems:[{value:$.urls.eirStatus,label:vt.formatMessage({id:"route.eir.status"}),disabled:!Lt($.urls.eirStatus,t)},{value:$.urls.eirConfiguration,label:vt.formatMessage({id:"route.eir.configuration"}),disabled:!Lt($.urls.eirConfiguration,t)},{value:$.urls.eirRules,label:vt.formatMessage({id:"route.eir.rules"}),disabled:!Lt($.urls.eirRules,t)},{value:$.urls.eirAutoRules,label:vt.formatMessage({id:"route.eir.auto-rules"}),disabled:!Lt($.urls.eirAutoRules,t)},{value:$.urls.eirCluster,label:vt.formatMessage({id:"route.eir.cluster"}),disabled:!Lt($.urls.eirCluster,t)||!_o(ue.EIR,t)}]},{value:$.urls.mme,icon:a.jsx(ge.MME,{}),label:vt.formatMessage({id:"route.mme"}),disabled:!Lt($.urls.mme,t),subItems:[{value:$.urls.mmeStatus,label:vt.formatMessage({id:"route.mme.status"}),disabled:!Lt($.urls.mmeStatus,t)},{value:$.urls.mmeConfiguration,label:vt.formatMessage({id:"route.mme.configuration"}),disabled:!Lt($.urls.mmeConfiguration,t)},{value:$.urls.mmeLawfulInterception,label:vt.formatMessage({id:"route.mme.lawful-interception"}),disabled:!Lt($.urls.mmeLawfulInterception,t)},{value:$.urls.mmeCluster,label:vt.formatMessage({id:"route.mme.cluster"}),disabled:!Lt($.urls.mmeCluster,t)||!_o(ue.MME,t)}]},{value:$.urls.nrf,icon:a.jsx(ge.NRF,{}),label:vt.formatMessage({id:"route.nrf"}),disabled:!Lt($.urls.nrf,t),subItems:[{value:$.urls.nrfStatus,label:vt.formatMessage({id:"route.nrf.status"}),disabled:!Lt($.urls.nrfStatus,t)},{value:$.urls.nrfConfiguration,label:vt.formatMessage({id:"route.nrf.configuration"}),disabled:!Lt($.urls.nrfConfiguration,t)},{value:$.urls.nrfStaticProfiles,label:vt.formatMessage({id:"route.nrf.static-profiles"}),disabled:!Lt($.urls.nrfStaticProfiles,t)},{value:$.urls.nrfCluster,label:vt.formatMessage({id:"route.nrf.cluster"}),disabled:!Lt($.urls.nrfCluster,t)||!_o(ue.NRF,t)}]},{value:$.urls.pcf,icon:a.jsx(ge.PCF,{}),label:vt.formatMessage({id:"route.pcf"}),disabled:!Lt($.urls.pcf,t),subItems:[{value:$.urls.pcfStatus,label:vt.formatMessage({id:"route.pcf.status"}),disabled:!Lt($.urls.pcfStatus,t)},{value:$.urls.pcfConfiguration,label:vt.formatMessage({id:"route.pcf.configuration"}),disabled:!Lt($.urls.pcfConfiguration,t)},{value:$.urls.pcfCluster,label:vt.formatMessage({id:"route.pcf.cluster"}),disabled:!Lt($.urls.pcfCluster,t)||!_o(ue.PCF,t)}]},{value:$.urls.sgwc,icon:a.jsx(ge.SGWC,{}),label:vt.formatMessage({id:"route.sgwc"}),disabled:!Lt($.urls.sgwc,t),subItems:[{value:$.urls.sgwcStatus,label:vt.formatMessage({id:"route.sgwc.status"}),disabled:!Lt($.urls.sgwcStatus,t)},{value:$.urls.sgwcConfiguration,label:vt.formatMessage({id:"route.sgwc.configuration"}),disabled:!Lt($.urls.sgwcConfiguration,t)},{value:$.urls.sgwcCluster,label:vt.formatMessage({id:"route.sgwc.cluster"}),disabled:!Lt($.urls.sgwcCluster,t)||!_o(ue.SGWC,t)}]},{value:$.urls.smf,icon:a.jsx(ge.SMF,{}),label:vt.formatMessage({id:"route.smf"}),disabled:!Lt($.urls.smf,t),subItems:[{value:$.urls.smfStatus,label:vt.formatMessage({id:"route.smf.status"}),disabled:!Lt($.urls.smfStatus,t)},{value:$.urls.smfConfiguration,label:vt.formatMessage({id:"route.smf.configuration"}),disabled:!Lt($.urls.smfConfiguration,t)},{value:$.urls.smfLawfulInterception,label:vt.formatMessage({id:"route.smf.lawful-interception"}),disabled:!Lt($.urls.smfLawfulInterception,t)},{value:$.urls.smfCluster,label:vt.formatMessage({id:"route.smf.cluster"}),disabled:!Lt($.urls.smfCluster,t)||!_o(ue.SMF,t)}]},{value:$.urls.smsf,icon:a.jsx(ge.SMSF,{}),label:vt.formatMessage({id:"route.smsf"}),disabled:!Lt($.urls.smsf,t),subItems:[{value:$.urls.smsfStatus,label:vt.formatMessage({id:"route.smsf.status"}),disabled:!Lt($.urls.smsfStatus,t)},{value:$.urls.smsfConfiguration,label:vt.formatMessage({id:"route.smsf.configuration"}),disabled:!Lt($.urls.smsfConfiguration,t)},{value:$.urls.smsfSmsBox,label:vt.formatMessage({id:"route.smsf.sms-box"}),disabled:!Lt($.urls.smsfSmsBox,t)},{value:$.urls.smsfCluster,label:vt.formatMessage({id:"route.smsf.cluster"}),disabled:!Lt($.urls.smsfCluster,t)||!_o(ue.SMSF,t)}]},{value:$.urls.udm,icon:a.jsx(ge.UDM,{}),label:vt.formatMessage({id:"route.udm"}),disabled:!Lt($.urls.udm,t),subItems:[{value:$.urls.udmStatus,label:vt.formatMessage({id:"route.udm.status"}),disabled:!Lt($.urls.udmStatus,t)},{value:$.urls.udmConfiguration,label:vt.formatMessage({id:"route.udm.configuration"}),disabled:!Lt($.urls.udmConfiguration,t)},{value:$.urls.udmPlmnPrefixes,label:vt.formatMessage({id:"route.udm.plmn-prefixes"}),disabled:!Lt($.urls.udmConfiguration,t)},{value:$.urls.udmHomeNetworkKeys,label:vt.formatMessage({id:"route.udm.home-network-keys"}),disabled:!Lt($.urls.udmHomeNetworkKeys,t)},{value:$.urls.udmCluster,label:vt.formatMessage({id:"route.udm.cluster"}),disabled:!Lt($.urls.udmCluster,t)||!_o(ue.UDM,t)}]},{value:$.urls.udr,icon:a.jsx(ge.UDR,{}),label:vt.formatMessage({id:"route.udr"}),disabled:!Lt($.urls.udr,t),subItems:[{value:$.urls.udrConfiguration,label:vt.formatMessage({id:"route.udr.configuration"}),disabled:!Lt($.urls.udrConfiguration,t)},{value:$.urls.udrPlmns,label:vt.formatMessage({id:"route.udr.plmns"}),disabled:!Lt($.urls.udrPlmns,t)},{value:$.urls.udrSupis,label:vt.formatMessage({id:"route.udr.supis"}),disabled:!Lt($.urls.udrSupis,t)},{value:$.urls.udrProvisionedDataProfile,label:vt.formatMessage({id:"route.udr.provisioned-data-profile"}),disabled:!Lt($.urls.udrProvisionedDataProfile,t)},{value:$.urls.udrPolicyDataProfile,label:vt.formatMessage({id:"route.udr.policy-data-profile"}),disabled:!Lt($.urls.udrPolicyDataProfile,t)},{value:$.urls.udrImsApplicationServerAcls,label:vt.formatMessage({id:"route.udr.ims-application-server-acls"}),disabled:!Lt($.urls.udrImsApplicationServerAcls,t)},{value:$.urls.udrImsPrivateIdentities,label:vt.formatMessage({id:"route.udr.ims-private-identities"}),disabled:!Lt($.urls.udrImsPrivateIdentities,t)},{value:$.urls.udrImsServiceProfiles,label:vt.formatMessage({id:"route.udr.ims-service-profiles"}),disabled:!Lt($.urls.udrImsServiceProfiles,t)},{value:$.urls.udrImsInitialFilters,label:vt.formatMessage({id:"route.udr.ims-initial-filters"}),disabled:!Lt($.urls.udrImsInitialFilters,t)},{value:$.urls.udrTransportKeys,label:vt.formatMessage({id:"route.udr.transport-keys"}),disabled:!Lt($.urls.udrTransportKeys,t)},{value:$.urls.udrOperatorCodes,label:vt.formatMessage({id:"route.udr.operator-codes"}),disabled:!Lt($.urls.udrOperatorCodes,t)},{value:$.urls.udrCustomMilenageConstants,label:vt.formatMessage({id:"route.udr.custom-milenage-constants"}),disabled:!Lt($.urls.udrCustomMilenageConstants,t)},{value:$.urls.udrCluster,label:vt.formatMessage({id:"route.udr.cluster"}),disabled:!Lt($.urls.udrCluster,t)||!_o(ue.UDR,t)}]},{value:$.urls.upf,icon:a.jsx(ge.UPF,{}),label:vt.formatMessage({id:"route.upf"}),disabled:!Lt($.urls.upf,t),subItems:[{value:$.urls.upfStatus,label:vt.formatMessage({id:"route.upf.status"}),disabled:!Lt($.urls.upfStatus,t)},{value:$.urls.upfConfiguration,label:vt.formatMessage({id:"route.upf.configuration"}),disabled:!Lt($.urls.upfConfiguration,t)},{value:$.urls.upfLawfulInterception,label:vt.formatMessage({id:"route.upf.lawful-interception"}),disabled:!Lt($.urls.upfLawfulInterception,t)},{value:$.urls.upfCluster,label:vt.formatMessage({id:"route.upf.cluster"}),disabled:!Lt($.urls.upfCluster,t)||!_o(ue.UPF,t)}]},{value:"/marvis",label:"P5G Marvis",icon:a.jsx(ge.Magic,{}),disabled:false,subItems:[{value:"/marvis/overview",label:"P5G Marvis Insights",disabled:false},{value:"/marvis/actions",label:"P5G Marvis Actions",disabled:false},{value:"/marvis/minis",label:"P5G Marvis Minis",disabled:false},{value:"/marvis/ai",label:"P5G Marvis AI",disabled:false}]},{value:"/radio",label:"P5G Radio",icon:a.jsx(ge.Magic,{}),disabled:false}]}function nBe({services:t}){return[{value:$.urls.monitoring,icon:a.jsx(ge.Monitoring,{}),label:vt.formatMessage({id:"route.monitoring"}),disabled:!Lt($.urls.monitoring,t),subItems:[{value:$.urls.monitoringUeStatus,label:vt.formatMessage({id:"route.monitoring.ue-status"}),icon:a.jsx(ge.UEstatus,{}),disabled:!Lt($.urls.monitoringUeStatus,t)},{value:$.urls.monitoringCoreStatistics,label:vt.formatMessage({id:"route.monitoring.core-statistics"}),icon:a.jsx(ge.Grafana,{}),external:!0,disabled:!Lt($.urls.monitoringCoreStatistics,t)},{value:$.urls.monitoringSystem,icon:a.jsx(ge.Grafana,{}),label:vt.formatMessage({id:"route.monitoring.system"}),external:!0,disabled:!Lt($.urls.monitoringSystem,t)}]},{value:$.urls.platform,icon:a.jsx(ge.Platform,{}),label:vt.formatMessage({id:"route.platform"}),disabled:!Lt($.urls.platform,t),subItems:[{value:$.urls.platformAuthentication,icon:a.jsx(ge.AuthenticationStrategies,{}),label:vt.formatMessage({id:"route.platform.auth"}),disabled:!Lt($.urls.platformAuthentication,t)},{value:$.urls.platformUsers,icon:a.jsx(ge.Users,{}),label:vt.formatMessage({id:"route.platform.users"}),disabled:!Lt($.urls.platformUsers,t)},{value:$.urls.platformRoles,icon:a.jsx(ge.Roles,{}),label:vt.formatMessage({id:"route.platform.roles"}),disabled:!Lt($.urls.platformRoles,t)},{value:$.urls.platformTls,icon:a.jsx(ge.TLS,{}),label:vt.formatMessage({id:"route.platform.tls"}),disabled:!Lt($.urls.platformTls,t)},{value:$.urls.platformLogShipping,label:vt.formatMessage({id:"route.platform.log-shipping"}),icon:a.jsx(ge.Fluentbit,{}),disabled:!Lt($.urls.platformLogShipping,t)},{value:$.urls.platformKpiShipping,label:vt.formatMessage({id:"route.platform.kpi-shipping"}),icon:a.jsx(ge.Prometheus,{}),disabled:!Lt($.urls.platformKpiShipping,t)},{value:$.urls.platformAlertShipping,label:vt.formatMessage({id:"route.platform.alert-shipping"}),icon:a.jsx(ge.Prometheus,{}),disabled:!Lt($.urls.platformAlertShipping,t)},{value:$.urls.platformCluster,label:vt.formatMessage({id:"route.platform.cluster"}),icon:a.jsx(ge.Cluster,{}),disabled:!Lt($.urls.platformCluster,t)}]},{value:$.urls.system,icon:a.jsx(ge.System,{}),label:vt.formatMessage({id:"route.system"}),disabled:!Lt($.urls.system,t),subItems:[{value:$.urls.systemLicensing,label:vt.formatMessage({id:"route.system.licensing"}),disabled:!Lt($.urls.systemLicensing,t),icon:a.jsx(ge.Licensing,{})},{value:$.urls.systemBackup,label:vt.formatMessage({id:"route.system.backup"}),disabled:!Lt($.urls.systemBackup,t),icon:a.jsx(ge.Backup,{})},{value:$.urls.systemServices,label:vt.formatMessage({id:"route.system.services"}),disabled:!Lt($.urls.systemServices,t),icon:a.jsx(ge.Service,{})},{value:$.urls.systemUpgrade,label:vt.formatMessage({id:"route.system.upgrade"}),disabled:!Lt($.urls.systemUpgrade,t),icon:a.jsx(ge.Upgrade,{})},{value:$.urls.systemLogs,icon:a.jsx(ge.Logs,{}),label:vt.formatMessage({id:"route.system.logs"}),disabled:!Lt($.urls.systemLogs,t)},{value:$.urls.systemTerminal,icon:a.jsx(ge.Terminal,{}),label:vt.formatMessage({id:"route.system.terminal"}),disabled:!Lt($.urls.systemTerminal,t)},{value:$.urls.systemTroubleshootDump,icon:a.jsx(ge.Download,{}),label:vt.formatMessage({id:"route.system.troubleshoot_dump"}),disabled:!Lt($.urls.systemTroubleshootDump,t)},{id:"restart",value:$.urls.restart,icon:a.jsx(ge.Refresh,{}),external:!0,_target:"_self",label:vt.formatMessage({id:"route.restart"}),disabled:!Lt($.urls.restart,t)},{id:"boot-partition",value:$.urls.systemBootPartitions,icon:a.jsx(ge.Servers,{}),label:vt.formatMessage({id:"route.boot_partitions"}),disabled:!Lt($.urls.systemBootPartitions,t)}]},{value:$.urls.monitoringAlerts,label:vt.formatMessage({id:"route.monitoring.alerts"}),icon:a.jsx(ge.Alerts,{}),disabled:!Lt($.urls.monitoringAlerts,t)},{value:$.urls.docs,icon:a.jsx(ge.Manual,{}),label:vt.formatMessage({id:"route.docs"}),subItems:[{value:$.urls.docsDatasheet,label:vt.formatMessage({id:"route.docs.datasheet"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsFeatureDescription,label:vt.formatMessage({id:"route.docs.feature-description"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsInstallationGuide,label:vt.formatMessage({id:"route.docs.installation-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsMonitoringGuide,label:vt.formatMessage({id:"route.docs.monitoring-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsProductDescription,label:vt.formatMessage({id:"route.docs.product-description"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsReleaseNotes,label:vt.formatMessage({id:"route.docs.release-notes"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsSecurityGuide,label:vt.formatMessage({id:"route.docs.security-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsTroubleshootingGuide,label:vt.formatMessage({id:"route.docs.troubleshooting-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsUserGuide,label:vt.formatMessage({id:"route.docs.user-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0}]},{value:$.urls.docsOas,icon:a.jsx(ge.OAS,{}),label:vt.formatMessage({id:"route.docs.oas"}),subItems:[{value:$.urls.docsOasAaa,icon:a.jsx(ge.AAA,{}),label:vt.formatMessage({id:"route.docs.oas.aaa"}),external:!0},{value:$.urls.docsOasAmf,icon:a.jsx(ge.AMF,{}),label:vt.formatMessage({id:"route.docs.oas.amf"}),external:!0},{value:$.urls.docsOasAusf,icon:a.jsx(ge.AUSF,{}),label:vt.formatMessage({id:"route.docs.oas.ausf"}),external:!0},{value:$.urls.docsOasBmsc,icon:a.jsx(ge.BMSC,{}),label:vt.formatMessage({id:"route.docs.oas.bmsc"}),external:!0},{value:$.urls.docsOasChf,icon:a.jsx(ge.CHF,{}),label:vt.formatMessage({id:"route.docs.oas.chf"}),external:!0},{value:$.urls.docsOasDra,icon:a.jsx(ge.DRA,{}),label:vt.formatMessage({id:"route.docs.oas.dra"}),external:!0},{value:$.urls.docsOasDsm,icon:a.jsx(ge.DSM,{}),label:vt.formatMessage({id:"route.docs.oas.dsm"}),external:!0},{value:$.urls.docsOasEir,icon:a.jsx(ge.EIR,{}),label:vt.formatMessage({id:"route.docs.oas.eir"}),external:!0},{value:$.urls.docsOasLicensed,icon:a.jsx(ge.Licensing,{}),label:vt.formatMessage({id:"route.docs.oas.licensed"}),external:!0},{value:$.urls.docsOasMme,icon:a.jsx(ge.MME,{}),label:vt.formatMessage({id:"route.docs.oas.mme"}),external:!0},{value:$.urls.docsOasNcm,icon:a.jsx(ge.NCM,{}),label:vt.formatMessage({id:"route.docs.oas.ncm"}),external:!0},{value:$.urls.docsOasNrf,icon:a.jsx(ge.NRF,{}),label:vt.formatMessage({id:"route.docs.oas.nrf"}),external:!0},{value:$.urls.docsOasPcf,icon:a.jsx(ge.PCF,{}),label:vt.formatMessage({id:"route.docs.oas.pcf"}),external:!0},{value:$.urls.docsOasPls,icon:a.jsx(ge.Platform,{}),label:vt.formatMessage({id:"route.docs.oas.pls"}),external:!0},{value:$.urls.docsOasSgwc,icon:a.jsx(ge.SGWC,{}),label:vt.formatMessage({id:"route.docs.oas.sgwc"}),external:!0},{value:$.urls.docsOasSmf,icon:a.jsx(ge.SMF,{}),label:vt.formatMessage({id:"route.docs.oas.smf"}),external:!0},{value:$.urls.docsOasSmsf,icon:a.jsx(ge.SMSF,{}),label:vt.formatMessage({id:"route.docs.oas.smsf"}),external:!0},{value:$.urls.docsOasUdm,icon:a.jsx(ge.UDM,{}),label:vt.formatMessage({id:"route.docs.oas.udm"}),external:!0},{value:$.urls.docsOasUdr,icon:a.jsx(ge.UDR,{}),label:vt.formatMessage({id:"route.docs.oas.udr"}),external:!0},{value:$.urls.docsOasUpf,icon:a.jsx(ge.UPF,{}),label:vt.formatMessage({id:"route.docs.oas.upf"}),external:!0},{value:$.urls.docsOasSwUpdate,icon:a.jsx(ge.Upgrade,{}),label:vt.formatMessage({id:"route.docs.oas.swUpdate"}),external:!0}]}]}const sBe=999;function Iv(t){const e=he.c(7),{badgeContent:r,color:n,children:s,variant:i,max:o,invisible:l}=t,c=n===void 0?"secondary":n,u=o===void 0?sBe:o;let d;return e[0]!==r||e[1]!==s||e[2]!==c||e[3]!==l||e[4]!==u||e[5]!==i?(d=a.jsx(ZNe,{badgeContent:r,color:c,variant:i,max:u,invisible:l,children:s}),e[0]=r,e[1]=s,e[2]=c,e[3]=l,e[4]=u,e[5]=i,e[6]=d):d=e[6],d}const Mae=I.createContext({readOnly:!1}),dn=t=>{const e=he.c(13),{canWrite:r,fullHeight:n,children:s,sx:i}=t,o=!r;let l;e[0]!==o?(l={readOnly:o},e[0]=o,e[1]=l):l=e[1];const[c]=I.useState(l);let u;e[2]!==n?(u=n&&{display:"flex",flexDirection:"column",flexGrow:"1",maxHeight:"100%",overflow:"auto"},e[2]=n,e[3]=u):u=e[3];let d;e[4]!==i||e[5]!==u?(d={...u,...i},e[4]=i,e[5]=u,e[6]=d):d=e[6];let f;e[7]!==s||e[8]!==d?(f=a.jsx(Kd,{style:d,children:s}),e[7]=s,e[8]=d,e[9]=f):f=e[9];let p;return e[10]!==c||e[11]!==f?(p=a.jsx(Mae.Provider,{value:c,children:f}),e[10]=c,e[11]=f,e[12]=p):p=e[12],p},iN=()=>I.useContext(Mae);function Xr(t){const e=he.c(8),{data:r,sx:n}=t;if(!xt(r))return null;let s=r.error.detail,i,o;e[0]!==r.error.errors?(o=r.error.errors??{},e[0]=r.error.errors,e[1]=o):o=e[1];const l=o;if(!Ni.isEmpty(l)&&typeof l=="object"&&"password"in l)s=l.password,i=r.error.detail;else if(!Ni.isEmpty(l)&&typeof l=="object"){let u;e[2]!==l?(u=JSON.stringify(l,null,2),e[2]=l,e[3]=u):u=e[3],s=u,i=r.error.detail}else r.error.title&&(i=r.error.title);let c;return e[4]!==s||e[5]!==n||e[6]!==i?(c=a.jsx(Lr,{severity:"error",title:i,message:s,sx:n,"data-testid":"query-error-alert"}),e[4]=s,e[5]=n,e[6]=i,e[7]=c):c=e[7],c}function Ys(t){const e=he.c(16);let r;e[0]!==t?(r=t===void 0?{}:t,e[0]=t,e[1]=r):r=e[1];const{editLoadTo:n}=r,{dialogClose:s}=Jt(),i=gr(),o=gr(),{load:l,data:c}=i,{data:u,state:d}=o,f=!!n;let p,m;e[2]!==s||e[3]!==u||e[4]!==d?(p=()=>{u&&!xt(u)&&d==="idle"&&s()},m=[s,u,d],e[2]=s,e[3]=u,e[4]=d,e[5]=p,e[6]=m):(p=e[5],m=e[6]),I.useEffect(p,m);let h,_;e[7]!==n||e[8]!==f||e[9]!==l?(h=()=>{f&&l(n)},_=[l,n,f],e[7]=n,e[8]=f,e[9]=l,e[10]=h,e[11]=_):(h=e[10],_=e[11]),I.useEffect(h,_);const g=f&&!c;let y;return e[12]!==i||e[13]!==g||e[14]!==o?(y={dataFetcher:i,upsertFetcher:o,isLoading:g},e[12]=i,e[13]=g,e[14]=o,e[15]=y):y=e[15],y}const iBe=dr().shape({defaultPartition:We().required()});function Dt(t){const e=he.c(6),{animation:r,height:n,width:s,variant:i,sx:o}=t,l=r===void 0?"pulse":r,c=i===void 0?"text":i,u=c==="circular"&&!n?50:n,d=c==="circular"&&!s?50:s;let f;return e[0]!==l||e[1]!==o||e[2]!==u||e[3]!==d||e[4]!==c?(f=a.jsx(mb,{animation:l,height:u,width:d,variant:c,sx:o}),e[0]=l,e[1]=o,e[2]=u,e[3]=d,e[4]=c,e[5]=f):f=e[5],f}function oBe(t){const e=he.c(15),{color:r,disabled:n,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checkedIcon:f,checked:p,label:m}=t;let h;e[0]!==p||e[1]!==f||e[2]!==r||e[3]!==o||e[4]!==c||e[5]!==u||e[6]!==i||e[7]!==l||e[8]!==s||e[9]!==d?(h=a.jsx(fae,{color:r,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checked:p,checkedIcon:f}),e[0]=p,e[1]=f,e[2]=r,e[3]=o,e[4]=c,e[5]=u,e[6]=i,e[7]=l,e[8]=s,e[9]=d,e[10]=h):h=e[10];let _;return e[11]!==n||e[12]!==m||e[13]!==h?(_=a.jsx(Rv,{disabled:n,control:h,label:m}),e[11]=n,e[12]=m,e[13]=h,e[14]=_):_=e[14],_}function aBe(t){const e=he.c(15),{label:r,radioItems:n,row:s,defaultValue:i,value:o,onChange:l}=t;let c;e[0]!==n?(c=n===void 0?[]:n,e[0]=n,e[1]=c):c=e[1];const u=c,d=s===void 0?!0:s;if(!u||!u.length)return null;let f;e[2]!==r?(f=r&&a.jsx(mv,{component:"legend",children:r}),e[2]=r,e[3]=f):f=e[3];let p;e[4]!==u?(p=u.map(lBe),e[4]=u,e[5]=p):p=e[5];let m;e[6]!==i||e[7]!==l||e[8]!==d||e[9]!==p||e[10]!==o?(m=a.jsx(pae,{value:o,defaultValue:i,row:d,onChange:l,children:p}),e[6]=i,e[7]=l,e[8]=d,e[9]=p,e[10]=o,e[11]=m):m=e[11];let h;return e[12]!==f||e[13]!==m?(h=a.jsxs(hv,{component:"fieldset",children:[f,m]}),e[12]=f,e[13]=m,e[14]=h):h=e[14],h}function lBe(t,e){return a.jsx(oBe,{label:t.label,value:t.value,disabled:t.disabled},e)}function Nc(t){const e=he.c(10),{value:r,color:n,type:s,thickness:i,label:o,variant:l,size:c,customColor:u,labelVariant:d}=t,f=s===void 0?"linear":s,p=i===void 0?3.6:i,m=d===void 0?"caption":d;let h;return e[0]!==n||e[1]!==u||e[2]!==o||e[3]!==m||e[4]!==c||e[5]!==p||e[6]!==f||e[7]!==r||e[8]!==l?(h=f==="circular"?a.jsxs(gt,{sx:{position:"relative",display:"inline-flex"},children:[a.jsxs(gt,{sx:{position:"relative",display:"flex"},children:[a.jsx(mC,{sx:{color:cBe},variant:"determinate",thickness:p,value:100,size:c}),a.jsx(mC,{color:n,variant:l,thickness:p,value:r,size:c,sx:{position:"absolute",left:0,top:0,...u&&{color:u}}})]}),a.jsx(gt,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:a.jsx(cn,{variant:m,component:"div",color:"text.secondary",children:o})})]}):a.jsx(R8e,{variant:l,sx:{height:`${p}px`,...u&&{color:u}},color:n,value:r}),e[0]=n,e[1]=u,e[2]=o,e[3]=m,e[4]=c,e[5]=p,e[6]=f,e[7]=r,e[8]=l,e[9]=h):h=e[9],h}function cBe(t){return t.palette.grey[300]}const _s=t=>{const e=he.c(5),{children:r,loading:n}=t;let s;e[0]!==r||e[1]!==n?(s=n?a.jsx(gt,{sx:{display:"flex",justifyContent:"center",p:10},children:a.jsx(Nc,{type:"circular",color:"primary"})}):r,e[0]=r,e[1]=n,e[2]=s):s=e[2];let i;return e[3]!==s?(i=a.jsx(yv,{children:s}),e[3]=s,e[4]=i):i=e[4],i};function uBe(){const t=he.c(30),e=Ye(),{dialogClose:r,confirmationSimpleDialogOpen:n}=Jt();let s;t[0]===Symbol.for("react.memo_cache_sentinel")?(s={editLoadTo:`${$.urls.system}/boot-partitions`},t[0]=s):s=t[0];const{dataFetcher:i,upsertFetcher:o}=Ys(s),{data:l}=i,{data:c,state:u,submit:d}=o,{submit:f}=gr();let p,m;t[1]!==f||t[2]!==c?(p=()=>()=>{c&&!xt(c)&&f(null,{action:$.urls.restart,encType:"application/json",method:"POST"})},m=[f,c],t[1]=f,t[2]=c,t[3]=p,t[4]=m):(p=t[3],m=t[4]),I.useEffect(p,m);let h;t[5]!==n||t[6]!==e||t[7]!==d?(h=C=>{n({title:e.formatMessage({id:"route.system.dialog.confirm_reboot.title"}),description:e.formatMessage({id:"route.system.dialog.confirm_reboot.description"}),onConfirm:()=>{d(C,{action:"/system/boot-partitions-update",method:"PUT",encType:"application/json"})},cancelText:e.formatMessage({id:"confirm_dialog.cancel"}),confirmText:e.formatMessage({id:"confirm_dialog.ok"})})},t[5]=n,t[6]=e,t[7]=d,t[8]=h):h=t[8];const _=h;let g;t[9]!==r?(g=()=>{r()},t[9]=r,t[10]=g):g=t[10];const y=g;if(!l){let C,k;t[11]===Symbol.for("react.memo_cache_sentinel")?(C={mt:1},k=a.jsx(Dt,{variant:"rounded"}),t[11]=C,t[12]=k):(C=t[11],k=t[12]);let A;t[13]===Symbol.for("react.memo_cache_sentinel")?(A=a.jsxs(te,{direction:"row",children:[a.jsx(Dt,{variant:"circular",width:22,height:22}),a.jsx(Dt,{variant:"rounded",width:200})]}),t[13]=A):A=t[13];let P;t[14]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsxs(te,{spacing:3,children:[A,a.jsxs(te,{direction:"row",children:[a.jsx(Dt,{variant:"circular",width:22,height:22}),a.jsx(Dt,{variant:"rounded",width:200})]})]}),t[14]=P):P=t[14];let T;return t[15]===Symbol.for("react.memo_cache_sentinel")?(T=a.jsx(_s,{children:a.jsxs(te,{spacing:4,sx:C,children:[k,P,a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Dt,{variant:"rounded",width:90,height:36}),a.jsx(Dt,{variant:"rounded",width:90,height:36})]})]})}),t[15]=T):T=t[15],T}let b;t[16]!==l.bootPartitions.default?(b={defaultPartition:l.bootPartitions.default},t[16]=l.bootPartitions.default,t[17]=b):b=t[17];let x;t[18]!==y||t[19]!==e||t[20]!==l.bootPartitions.default||t[21]!==l.bootPartitions.primary||t[22]!==l.bootPartitions.secondary||t[23]!==c||t[24]!==u?(x=C=>{const{dirty:k}=C;return a.jsx(dn,{canWrite:Ue(ie.management),children:a.jsxs(te,{spacing:2,children:[a.jsx(_e,{children:e.formatMessage({id:"route.system.dialog.boot_partitions.subtitle"})}),a.jsx(gt,{children:a.jsx(Ke,{name:"defaultPartition",children:A=>{const{field:P,form:T}=A,{setFieldValue:j}=T;return a.jsx(aBe,{row:!1,radioItems:[{value:"primary",label:`${l.bootPartitions.primary} ${l.bootPartitions.default==="primary"?`(${e.formatMessage({id:"common.current"})})`:""}`},{value:"secondary",label:l.bootPartitions.secondary?`${l.bootPartitions.secondary} ${l.bootPartitions.default==="secondary"?`(${e.formatMessage({id:"common.current"})})`:""}`:e.formatMessage({id:"common.empty"}),disabled:!l.bootPartitions.secondary}],value:P.value,onChange:(R,D)=>{j(P.name,D)}})}})}),a.jsx(Xr,{data:c}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{variant:"outlined",text:e.formatMessage({id:"common.form.cancel"}),disabled:u!=="idle",onClick:y}),a.jsx(Ze,{type:"submit",text:e.formatMessage({id:"common.form.submit"}),disabled:!k,loading:u!=="idle"})]})]})})},t[18]=y,t[19]=e,t[20]=l.bootPartitions.default,t[21]=l.bootPartitions.primary,t[22]=l.bootPartitions.secondary,t[23]=c,t[24]=u,t[25]=x):x=t[25];let w;return t[26]!==_||t[27]!==b||t[28]!==x?(w=a.jsx(_s,{children:a.jsx(Wr,{validationSchema:iBe,initialValues:b,onSubmit:_,children:x})}),t[26]=_,t[27]=b,t[28]=x,t[29]=w):w=t[29],w}function dBe(){const t=he.c(35),e=ys(),r=Ye(),{confirmationDialogOpen:n,dialogOpen:s}=Jt(),i=Np(),{submit:o}=gr();i?.services;let l;t[0]!==i?.services?(l=i?.services??[],t[0]=i?.services,t[1]=l):l=t[1];const c=l;let u;t[2]!==i?.alerts?(u=()=>i?.alerts??[],t[2]=i?.alerts,t[3]=u):u=t[3],i?.alerts;let d;t[4]!==u?(d=u(),t[4]=u,t[5]=d):d=t[5];const f=d;let p;t[6]!==c?(p=nBe({services:c}),t[6]=c,t[7]=p):p=t[7];const m=p;let h;t[8]!==m?(h=kae(m),t[8]=m,t[9]=h):h=t[9];const _=h,g=f?.length;let y;t[10]!==e?(y=D=>{D.external?window.open(D.value,D._target||"_blank"):e(D.value)},t[10]=e,t[11]=y):y=t[11];const b=y;let x;t[12]!==n||t[13]!==r||t[14]!==o?(x=()=>{n({title:r.formatMessage({id:"route.system.dialog.restart.title"}),alertMessage:r.formatMessage({id:"route.system.dialog.restart.text"}),onConfirm:()=>{o(null,{action:$.urls.restart,encType:"application/json",method:"POST"})},severity:"warning"})},t[12]=n,t[13]=r,t[14]=o,t[15]=x):x=t[15];const w=x;let C;t[16]!==s||t[17]!==r?(C=()=>{s({title:r.formatMessage({id:"route.system.dialog.boot_partitions.title"}),content:pBe})},t[16]=s,t[17]=r,t[18]=C):C=t[18];const k=C;let A;t[19]!==k||t[20]!==b||t[21]!==w?(A=D=>{e:switch(D.id){case"restart":{w();break e}case"boot-partition":{k();break e}default:b(D)}},t[19]=k,t[20]=b,t[21]=w,t[22]=A):A=t[22];const P=A;let T;if(t[23]!==_||t[24]!==g||t[25]!==P||t[26]!==b){let D;t[28]!==g||t[29]!==P||t[30]!==b?(D=O=>a.jsx(Mn,{opaque:!0,disableFocusListener:!0,enterTouchDelay:0,title:O.subItems?a.jsxs(pv,{children:[a.jsx(_e,{color:"text.secondary",sx:{px:2,pb:1,pt:.5},children:O.label}),a.jsx(gt,{className:"tooltip-items",children:O.subItems.map((N,F)=>{const{label:U,value:z,disabled:H,icon:W}=N;return a.jsx(En,{disabled:H,onClick:()=>P(N),divider:O.subItems&&F===O.subItems.findIndex(fBe)-1,icon:W,children:U},`${z}-${F}`)})})]}):O.label,children:a.jsx(gt,{children:a.jsx(Iv,{badgeContent:O.value===$.urls.monitoringAlerts?g:void 0,color:"error",children:a.jsx(Zr,{size:"small",sx:{fontSize:"20px"},onClick:()=>{O.subItems||b(O)},children:O.icon})})})},O.value),t[28]=g,t[29]=P,t[30]=b,t[31]=D):D=t[31],T=_.map(D),t[23]=_,t[24]=g,t[25]=P,t[26]=b,t[27]=T}else T=t[27];let j;t[32]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(wae,{}),t[32]=j):j=t[32];let R;return t[33]!==T?(R=a.jsxs(te,{direction:"row",spacing:1,nowrap:!0,align:"center",children:[T,j]}),t[33]=T,t[34]=R):R=t[34],R}function fBe(t){return t.id==="restart"}function pBe(){return a.jsx(uBe,{})}function oN(t){const e=Ji.getSiteNode();return!!t.unreachable_peers.find(n=>{if(typeof n=="string"){const s=n.split("@")[1]??n;return e===s}else return e===n.api_address})}function Dv(t){const e=he.c(24),{to:r,initialData:n,search:s}=t,i=gr();let o,l,c;e[0]!==i?({load:l,data:o,...c}=i,e[0]=i,e[1]=o,e[2]=l,e[3]=c):(o=e[1],l=e[2],c=e[3]);const[u,d]=I.useState(n),f=I.useRef(null);let p;e[4]!==l||e[5]!==s||e[6]!==r?(p=()=>{const A=new URLSearchParams(s);A.append("polling","true"),l(`${r}?${A}`)},e[4]=l,e[5]=s,e[6]=r,e[7]=p):p=e[7];const m=p;let h;e[8]!==m?(h=()=>{f.current&&window.clearTimeout(f.current),f.current=window.setTimeout(()=>{m()},$.polling.default)},e[8]=m,e[9]=h):h=e[9];const _=h;let g,y;e[10]===Symbol.for("react.memo_cache_sentinel")?(g=()=>()=>{f.current&&window.clearTimeout(f.current)},y=[],e[10]=g,e[11]=y):(g=e[10],y=e[11]),I.useEffect(g,y);let b,x;e[12]!==o||e[13]!==_?(b=()=>{if(o&&typeof o=="object"&&"__polling_error"in o)return _();o&&d(o),_()},x=[o,_],e[12]=o,e[13]=_,e[14]=b,e[15]=x):(b=e[14],x=e[15]),I.useEffect(b,x);let w,C;e[16]!==m||e[17]!==n?(w=()=>{n||m(),d(n)},C=[m,n],e[16]=m,e[17]=n,e[18]=w,e[19]=C):(w=e[18],C=e[19]),I.useEffect(w,C);let k;return e[20]!==u||e[21]!==l||e[22]!==c?(k={load:l,data:u,...c},e[20]=u,e[21]=l,e[22]=c,e[23]=k):k=e[23],k}function Gr(t){const e=he.c(9);let r;e[0]!==t?(r=t===void 0?{useSearchParams:!0}:t,e[0]=t,e[1]=r):r=e[1];const{useSearchParams:n}=r,s=n===void 0?!0:n,i=zn(),o=Lp("."),{search:l}=to();let c;e[2]!==l||e[3]!==s?(c=s&&{search:l},e[2]=l,e[3]=s,e[4]=c):c=e[4];let u;e[5]!==i||e[6]!==o.pathname||e[7]!==c?(u={to:o.pathname,initialData:i,...c},e[5]=i,e[6]=o.pathname,e[7]=c,e[8]=u):u=e[8];const{data:d}=Dv(u);return d}function ms(t){const e=he.c(13),{id:r,label:n,color:s,variant:i,onDelete:o,size:l,disabled:c,sx:u}=t;let d;e[0]!==u?(d={flexShrink:0,width:"fit-content",...u},e[0]=u,e[1]=d):d=e[1];let f;e[2]!==r||e[3]!==o?(f=o&&r?()=>o(r):void 0,e[2]=r,e[3]=o,e[4]=f):f=e[4];let p;return e[5]!==s||e[6]!==c||e[7]!==n||e[8]!==l||e[9]!==d||e[10]!==f||e[11]!==i?(p=a.jsx(cL,{color:s,sx:d,label:n,variant:i,onDelete:f,size:l,disabled:c}),e[5]=s,e[6]=c,e[7]=n,e[8]=l,e[9]=d,e[10]=f,e[11]=i,e[12]=p):p=e[12],p}function mBe(){const t=he.c(39);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={to:$.urls.siteLoader},t[0]=e):e=t[0];const{data:r}=Dv(e),{popoverOpen:n,popoverClose:s}=Jt(),i=Ye(),{submit:o,state:l}=gr();let c;t[1]===Symbol.for("react.memo_cache_sentinel")?(c=Ji.getSiteNode(),t[1]=c):c=t[1];const[u,d]=I.useState(c);let f;t[2]!==s||t[3]!==o?(f=F=>{if(!F.api_address)return;const{api_address:U}=F;d(U),o({siteNodeAddress:U},{method:"POST",encType:"application/json",action:"/"}),s()},t[2]=s,t[3]=o,t[4]=f):f=t[4];const p=f;let m;e:{if(!r){let U;t[5]===Symbol.for("react.memo_cache_sentinel")?(U=[],t[5]=U):U=t[5],m=U;break e}let F;t[6]!==r.current_node||t[7]!==r.peers||t[8]!==r.unreachable_peers?(F=[...Ni.sortBy([r.current_node,...r.peers],vBe).map(_Be),...r.unreachable_peers.map(gBe)],t[6]=r.current_node,t[7]=r.peers,t[8]=r.unreachable_peers,t[9]=F):F=t[9],m=F}const h=m;let _;t[10]!==u||t[11]!==h?(_=h.find(F=>F.api_address===u),t[10]=u,t[11]=h,t[12]=_):_=t[12];const g=_;let y,b;t[13]!==r?(y=()=>{d(F=>!F&&r?r.current_node.api_address:F)},b=[r],t[13]=r,t[14]=y,t[15]=b):(y=t[14],b=t[15]),I.useEffect(y,b);let x;t[16]!==p||t[17]!==i||t[18]!==n||t[19]!==u||t[20]!==h?(x=F=>{n({anchorEl:F.currentTarget,anchorOrigin:{horizontal:"left",vertical:"bottom"},disableGutters:!0,content:()=>a.jsx(pv,{children:h.map(U=>{const z=u===U.api_address;return a.jsx(En,{onClick:()=>{p(U)},disabled:z||U.unreachable,selected:z,sx:{opacity:U.unreachable?"0.8 !important":"1 !important"},children:a.jsxs(te,{direction:"row",nowrap:!0,align:"center",justify:"space-between",fullWidth:!0,children:[a.jsxs(te,{direction:"row",align:"center",children:[U.unreachable?a.jsx(te,{align:"center",justify:"center",sx:{color:"error.main"},children:a.jsx(ge.StatusErrorSmall,{size:14})}):a.jsx(te,{align:"center",justify:"center",sx:{color:"success.main"},children:a.jsx(ge.StatusSuccessSmall,{size:14})}),a.jsx(te,{align:"center",children:a.jsx(_e,{children:U.name})})]}),a.jsx(te,{direction:"row",align:"center",spacing:.5,sx:{ml:4},children:U.unreachable&&a.jsx(ms,{label:i.formatMessage({id:"cluster.status.unreachable_node"}),size:"small"})})]})},`${U.name}-${U.api_address}`)})})})},t[16]=p,t[17]=i,t[18]=n,t[19]=u,t[20]=h,t[21]=x):x=t[21];const w=x;let C;t[22]!==h?(C=h.filter(hBe),t[22]=h,t[23]=C):C=t[23];const k=C.length;if(h.length<2||!r)return null;const A=g?.name;let P;t[24]===Symbol.for("react.memo_cache_sentinel")?(P={textTransform:"none"},t[24]=P):P=t[24];let T;t[25]===Symbol.for("react.memo_cache_sentinel")?(T=a.jsx(ge.DownArrow,{size:14}),t[25]=T):T=t[25];let j;t[26]!==i||t[27]!==k?(j=k>0&&a.jsx(Mn,{title:i.formatMessage({id:k>1?"cluster.status.unreachable_nodes_count":"cluster.status.unreachable_node_count"},{count:k}),children:a.jsx(gt,{sx:{color:"warning.main",mt:1},children:a.jsx(ge.StatusWarning,{size:"20"})})}),t[26]=i,t[27]=k,t[28]=j):j=t[28];let R;t[29]!==j?(R=a.jsxs(te,{direction:"row",align:"center",spacing:1.5,children:[T,j]}),t[29]=j,t[30]=R):R=t[30];let D;t[31]!==r?(D=a.jsx(a.Fragment,{children:oN(r)?a.jsx(gt,{sx:{color:"error.main"},children:a.jsx(ge.StatusErrorSmall,{size:14})}):a.jsx(gt,{sx:{color:"success.main"},children:a.jsx(ge.StatusSuccessSmall,{size:14})})}),t[31]=r,t[32]=D):D=t[32];const O=l!=="idle";let N;return t[33]!==w||t[34]!==R||t[35]!==D||t[36]!==O||t[37]!==A?(N=a.jsx(Ze,{size:"medium",text:A,variant:"text",sx:P,endIcon:R,startIcon:D,onClick:w,disabled:O}),t[33]=w,t[34]=R,t[35]=D,t[36]=O,t[37]=A,t[38]=N):N=t[38],N}function hBe(t){return t.unreachable}function gBe(t){return typeof t=="string"?{name:"",api_address:t.split("@")[1]??t,unreachable:!0}:{name:t.name,api_address:t.api_address,unreachable:!0}}function _Be(t){return{name:t.name,api_address:t.api_address,unreachable:!1}}function vBe(t){return t.api_address}function Pae(t){const e=he.c(35),{info:r,variant:n,profileCard:s}=t,i=Ye(),o=As(),l=aC(o.breakpoints.down($.appBarMobileBreakpoint))?"5px 0 0 0":"",c=aC(o.breakpoints.down($.appBarMobileBreakpoint))?"100%":"auto",{menuClose:u}=Jt(),d=ys();let f;e[0]===Symbol.for("react.memo_cache_sentinel")?(f=Ih(),e[0]=f):f=e[0];const p=f;let m;e[1]!==i?(m=i.formatMessage({id:"user.menu.profile"}),e[1]=i,e[2]=m):m=e[2];let h;e[3]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(ge.Profile,{}),e[3]=h):h=e[3];let _;e[4]!==u||e[5]!==d?(_=()=>{u(),d($.urls.profile)},e[4]=u,e[5]=d,e[6]=_):_=e[6];let g;e[7]!==m||e[8]!==_?(g={label:m,value:"profile",icon:h,onClick:_},e[7]=m,e[8]=_,e[9]=g):g=e[9];let y;e[10]===Symbol.for("react.memo_cache_sentinel")?(y=a.jsx(ge.Logout,{}),e[10]=y):y=e[10];let b;e[11]!==u||e[12]!==d?(b={label:"Logout",value:"logout",icon:y,onClick:()=>{u(),d($.urls.logout,{replace:!0})}},e[11]=u,e[12]=d,e[13]=b):b=e[13];let x;e[14]!==g||e[15]!==b?(x=[g,b],e[14]=g,e[15]=b,e[16]=x):x=e[16];const w=x;let C;e[17]!==n?(C=n!=="simpleLayout"?a.jsx(mBe,{}):void 0,e[17]=n,e[18]=C):C=e[18];let k;e[19]!==l||e[20]!==c?(k={margin:l,width:c},e[19]=l,e[20]=c,e[21]=k):k=e[21];let A;e[22]!==n?(A=n==="simpleLayout"?a.jsx(wae,{}):a.jsx(dBe,{}),e[22]=n,e[23]=A):A=e[23];let P;e[24]!==s||e[25]!==w?(P=s&&a.jsx(CUe,{fullname:p?.fullname||"",menuItems:w,description:p?.sub?[p?.sub]:[""]}),e[24]=s,e[25]=w,e[26]=P):P=e[26];let T;e[27]!==k||e[28]!==A||e[29]!==P?(T=a.jsxs(te,{direction:"row",align:"center",spacing:1,sx:k,justify:"between",children:[A,P]}),e[27]=k,e[28]=A,e[29]=P,e[30]=T):T=e[30];let j;return e[31]!==r||e[32]!==T||e[33]!==C?(j=a.jsx(PUe,{info:r,siteSelector:C,children:T}),e[31]=r,e[32]=T,e[33]=C,e[34]=j):j=e[34],j}const Ti=t=>{const e=he.c(2),{children:r}=t;let n;return e[0]!==r?(n=a.jsx(vv,{children:r}),e[0]=r,e[1]=n):n=e[1],n};function aN(t){const e=he.c(20),{title:r,children:n,closeOnBackdropClick:s,closeOnEsc:i,onClose:o,fullScreen:l,maxWidth:c,open:u,"data-testid":d,disableAutoFocus:f}=t,p=i===void 0?!0:i;let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m={xs:"250px",sm:"500px"},e[0]=m):m=e[0];let h;e[1]!==l?(h=l&&{height:"calc(100vh - 32px)",width:"calc(100% - 32px)",maxWidth:"1400px"},e[1]=l,e[2]=h):h=e[2];let _;e[3]!==h?(_={".MuiDialog-paper":{m:2,minWidth:m,maxHeight:"calc(100vh - 32px)",boxShadow:"none",...h},my:0},e[3]=h,e[4]=_):_=e[4];const g=_;let y;e[5]!==s||e[6]!==p||e[7]!==o?(y=(C,k)=>{k==="backdropClick"&&!s||k==="escapeKeyDown"&&!p||o&&o(C,k)},e[5]=s,e[6]=p,e[7]=o,e[8]=y):y=e[8];const b=y;let x;e[9]!==r?(x=r&&a.jsx(JL,{children:r}),e[9]=r,e[10]=x):x=e[10];let w;return e[11]!==n||e[12]!==d||e[13]!==f||e[14]!==b||e[15]!==c||e[16]!==u||e[17]!==x||e[18]!==g?(w=a.jsxs(Xne,{open:u,onClose:b,sx:g,maxWidth:c,"data-testid":d,disableAutoFocus:f,children:[x,n]}),e[11]=n,e[12]=d,e[13]=f,e[14]=b,e[15]=c,e[16]=u,e[17]=x,e[18]=g,e[19]=w):w=e[19],w}function yBe(t){const e=he.c(44),{severity:r,onConfirm:n,onCancel:s,title:i,description:o,alertMessage:l,content:c,dataTestid:u,cancelButtonText:d,continueButtonText:f}=t,p=d===void 0?"Cancel":d,m=f===void 0?"Continue":f,{confirmationDialogClose:h}=Jt(),_=Nr(SBe),g=Nr(xBe),y=Nr(bBe),[b,x]=I.useState(!1),w=I.useRef(null);let C,k;e[0]!==_||e[1]!==y||e[2]!==g?(C=()=>{_&&y&&(x(!0),w.current&&(window.clearTimeout(w.current),w.current=null)),_&&!y&&(x(!1),w.current=window.setTimeout(()=>{g(null)},1e3))},k=[_,y,g],e[0]=_,e[1]=y,e[2]=g,e[3]=C,e[4]=k):(C=e[3],k=e[4]),I.useEffect(C,k);let A;e[5]!==h||e[6]!==n?(A=()=>{n(),h()},e[5]=h,e[6]=n,e[7]=A):A=e[7];const P=A;let T;e[8]!==h||e[9]!==s?(T=()=>{s&&s(),h()},e[8]=h,e[9]=s,e[10]=T):T=e[10];const j=T;let R;e[11]!==r?(R=r==="danger"&&{color:"error.main"},e[11]=r,e[12]=R):R=e[12];let D;e[13]!==R?(D={...R,fontWeight:"600"},e[13]=R,e[14]=D):D=e[14];let O;e[15]!==i?(O=i.toLocaleUpperCase(),e[15]=i,e[16]=O):O=e[16];let N;e[17]!==D||e[18]!==O?(N=a.jsx(JL,{sx:D,children:O}),e[17]=D,e[18]=O,e[19]=N):N=e[19];let F;e[20]!==o?(F=a.jsx(_e,{type:"body1",lineHeight:3,children:o}),e[20]=o,e[21]=F):F=e[21];const U=r==="danger"?"error":r||"info";let z;e[22]!==l||e[23]!==U?(z=a.jsx(Lr,{severity:U,message:l}),e[22]=l,e[23]=U,e[24]=z):z=e[24];let H;e[25]!==c||e[26]!==F||e[27]!==z?(H=a.jsxs(_s,{children:[F,z,c]}),e[25]=c,e[26]=F,e[27]=z,e[28]=H):H=e[28];let W;e[29]!==p||e[30]!==j?(W=a.jsx(Ze,{variant:"outlined",text:p,onClick:j}),e[29]=p,e[30]=j,e[31]=W):W=e[31];let K;e[32]!==m||e[33]!==P?(K=a.jsx(Ze,{text:m,onClick:P}),e[32]=m,e[33]=P,e[34]=K):K=e[34];let q;e[35]!==W||e[36]!==K?(q=a.jsxs(Ti,{children:[W,K]}),e[35]=W,e[36]=K,e[37]=q):q=e[37];let X;return e[38]!==u||e[39]!==b||e[40]!==N||e[41]!==H||e[42]!==q?(X=a.jsxs(aN,{open:b,"data-testid":u,children:[N,H,q]}),e[38]=u,e[39]=b,e[40]=N,e[41]=H,e[42]=q,e[43]=X):X=e[43],X}function bBe(t){return t.confirmationDialogOpen}function xBe(t){return t.setConfirmationDialog}function SBe(t){return t.confirmationDialogState}function wBe(t){const e=he.c(29),{title:r,cancelText:n,confirmText:s,description:i,onConfirm:o,onCancel:l}=t,c=r===void 0?"Do you confirm?":r,u=n===void 0?"Cancel":n,d=s===void 0?"Confirm":s,{confirmationSimpleDialogClose:f}=Jt(),p=Nr(kBe),m=Nr(ABe),h=Nr(CBe),[_,g]=I.useState(!1),y=I.useRef(null);let b,x;e[0]!==p||e[1]!==h||e[2]!==m?(b=()=>{p&&h&&(g(!0),y.current&&(window.clearTimeout(y.current),y.current=null)),p&&!h&&(g(!1),y.current=window.setTimeout(()=>{m(null)},1e3))},x=[p,h,m],e[0]=p,e[1]=h,e[2]=m,e[3]=b,e[4]=x):(b=e[3],x=e[4]),I.useEffect(b,x);let w;e[5]!==f||e[6]!==o?(w=()=>{o(),f()},e[5]=f,e[6]=o,e[7]=w):w=e[7];const C=w;let k;e[8]!==f||e[9]!==l?(k=()=>{l&&l(),f()},e[8]=f,e[9]=l,e[10]=k):k=e[10];const A=k;let P;e[11]!==c?(P=a.jsx(JL,{children:c}),e[11]=c,e[12]=P):P=e[12];let T;e[13]!==i?(T=i&&a.jsx(_s,{children:a.jsx(_e,{children:i})}),e[13]=i,e[14]=T):T=e[14];let j;e[15]!==u||e[16]!==A?(j=a.jsx(Ze,{variant:"outlined",text:u,onClick:A}),e[15]=u,e[16]=A,e[17]=j):j=e[17];let R;e[18]!==d||e[19]!==C?(R=a.jsx(Ze,{text:d,onClick:C}),e[18]=d,e[19]=C,e[20]=R):R=e[20];let D;e[21]!==j||e[22]!==R?(D=a.jsxs(Ti,{children:[j,R]}),e[21]=j,e[22]=R,e[23]=D):D=e[23];let O;return e[24]!==_||e[25]!==D||e[26]!==P||e[27]!==T?(O=a.jsxs(aN,{open:_,"data-testid":"confirmation-simple-dialog",children:[P,T,D]}),e[24]=_,e[25]=D,e[26]=P,e[27]=T,e[28]=O):O=e[28],O}function CBe(t){return t.confirmationSimpleDialogOpen}function ABe(t){return t.setConfirmationSimpleDialog}function kBe(t){return t.confirmationSimpleDialogState}function jae(t){const e=he.c(39);let r,n,s,i,o,l;e[0]!==t?({id:l,children:r,open:s,preventClose:i,closeIcon:n,...o}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6]);const c=l===void 0?$6:l,u=Nr(jBe),d=Nr(PBe),f=Nr(MBe),[p,m]=I.useState(!1),h=I.useRef(null),{dialogClose:_}=Jt();let g;e[7]!==u||e[8]!==c?(g=u.includes(c),e[7]=u,e[8]=c,e[9]=g):g=e[9];const y=g;let b;if(e[10]!==d||e[11]!==c){let O;e[13]!==c?(O=N=>N.id===c,e[13]=c,e[14]=O):O=e[14],b=d.find(O),e[10]=d,e[11]=c,e[12]=b}else b=e[12];const x=b;let w,C;e[15]!==x||e[16]!==c||e[17]!==y||e[18]!==s||e[19]!==f?(w=()=>{typeof s<"u"||(x&&y&&(m(!0),h.current&&(window.clearTimeout(h.current),h.current=null)),x&&!y&&(m(!1),h.current=window.setTimeout(()=>{f(c)},1e3)))},C=[x,c,y,s,f],e[15]=x,e[16]=c,e[17]=y,e[18]=s,e[19]=f,e[20]=w,e[21]=C):(w=e[20],C=e[21]),I.useEffect(w,C);let k;e[22]!==_||e[23]!==c||e[24]!==i?(k=(O,N)=>{i&&i(O,N)||_(c)},e[22]=_,e[23]=c,e[24]=i,e[25]=k):k=e[25];const A=k;let P;e[26]!==_||e[27]!==c||e[28]!==i?(P=O=>{i&&i(O)||_(c)},e[26]=_,e[27]=c,e[28]=i,e[29]=P):P=e[29];const T=P,j=!!(p||s);let R;e[30]!==n||e[31]!==T?(R=n&&a.jsx(Zr,{onClick:T,sx:{position:"absolute",right:"16px",top:"8px",zIndex:1e3},children:a.jsx(ge.Close,{})}),e[30]=n,e[31]=T,e[32]=R):R=e[32];let D;return e[33]!==r||e[34]!==A||e[35]!==o||e[36]!==j||e[37]!==R?(D=a.jsxs(aN,{...o,open:j,onClose:A,children:[R,r]}),e[33]=r,e[34]=A,e[35]=o,e[36]=j,e[37]=R,e[38]=D):D=e[38],D}function MBe(t){return t.setDialogsClose}function PBe(t){return t.dialogs}function jBe(t){return t.dialogsOpen}function TBe(t){const e=he.c(21),{onClose:r,children:n,title:s,variant:i,width:o,open:l}=t,c=i===void 0?"temporary":i,u=o===void 0?300:o,d=Nr(IBe),f=Nr(RBe),p=Nr(EBe),[m,h]=I.useState(!1),_=I.useRef(null);let g;e[0]!==r?(g=()=>{r&&r({},"backdropClick")},e[0]=r,e[1]=g):g=e[1];const y=g;let b,x;e[2]!==d||e[3]!==p||e[4]!==f?(b=()=>{d&&p&&(h(!0),_.current&&(window.clearTimeout(_.current),_.current=null)),d&&!p&&(h(!1),_.current=window.setTimeout(()=>{f(null)},1e3))},x=[d,p,f],e[2]=d,e[3]=p,e[4]=f,e[5]=b,e[6]=x):(b=e[5],x=e[6]),I.useEffect(b,x);const w=!!(m||l);let C;e[7]!==u?(C={height:"100vh",position:"relative",width:u},e[7]=u,e[8]=C):C=e[8];let k;e[9]!==y||e[10]!==s?(k=s&&a.jsxs(te,{sx:{mb:2,py:2,px:2,pb:0},spacing:2,children:[a.jsxs(te,{direction:"row",align:"center",spacing:2,nowrap:!0,children:[a.jsx(_e,{type:"h6",sx:{flex:1},children:s}),a.jsx(Zr,{size:"small",onClick:y,children:a.jsx(ge.Close,{})})]}),a.jsx(Oc,{})]}),e[9]=y,e[10]=s,e[11]=k):k=e[11];let A;e[12]!==n||e[13]!==C||e[14]!==k?(A=a.jsxs(te,{sx:C,nowrap:!0,children:[k,n]}),e[12]=n,e[13]=C,e[14]=k,e[15]=A):A=e[15];let P;return e[16]!==r||e[17]!==w||e[18]!==A||e[19]!==c?(P=a.jsx(aae,{variant:c,anchor:"right",onClose:r,open:w,children:A}),e[16]=r,e[17]=w,e[18]=A,e[19]=c,e[20]=P):P=e[20],P}function EBe(t){return t.drawerOpen}function RBe(t){return t.setDrawerState}function IBe(t){return t.drawerState}function DBe(t){const e=he.c(26);let r,n,s,i,o,l;e[0]!==t?({anchorEl:r,onClose:s,children:n,anchorOrigin:l,open:i,...o}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6]);let c;e[7]!==l?(c=l===void 0?{vertical:"bottom",horizontal:"left"}:l,e[7]=l,e[8]=c):c=e[8];const u=c,d=Nr(LBe),f=Nr(OBe),p=Nr($Be),[m,h]=I.useState(!1),_=I.useRef(null);let g,y;e[9]!==p||e[10]!==d||e[11]!==i||e[12]!==f?(g=()=>{typeof i<"u"||(d&&p&&(h(!0),_.current&&(window.clearTimeout(_.current),_.current=null)),d&&!p&&(h(!1),_.current=window.setTimeout(()=>{f(null)},1e3)))},y=[p,d,i,f],e[9]=p,e[10]=d,e[11]=i,e[12]=f,e[13]=g,e[14]=y):(g=e[13],y=e[14]),I.useEffect(g,y);const b=!!(m||i);let x;e[15]!==u.horizontal||e[16]!==o.transformOrigin?(x={vertical:"top",horizontal:u.horizontal,...o.transformOrigin},e[15]=u.horizontal,e[16]=o.transformOrigin,e[17]=x):x=e[17];let w;return e[18]!==r||e[19]!==u||e[20]!==n||e[21]!==s||e[22]!==o||e[23]!==b||e[24]!==x?(w=a.jsx(one,{anchorEl:r,open:b,onClose:s,anchorOrigin:u,transformOrigin:x,...o,children:n}),e[18]=r,e[19]=u,e[20]=n,e[21]=s,e[22]=o,e[23]=b,e[24]=x,e[25]=w):w=e[25],w}function $Be(t){return t.menuOpen}function OBe(t){return t.setMenuState}function LBe(t){return t.menuState}function NBe(t){const e=he.c(23),{anchorOrigin:r,transformOrigin:n,children:s,onClose:i,anchorEl:o,disableGutters:l,overflowVisible:c,open:u}=t;let d;e[0]!==r?(d=r===void 0?{vertical:"bottom",horizontal:"left"}:r,e[0]=r,e[1]=d):d=e[1];const f=d;let p;e[2]!==n?(p=n===void 0?{vertical:"top",horizontal:"left"}:n,e[2]=n,e[3]=p):p=e[3];const m=p,h=Nr(BBe),_=Nr(UBe),g=Nr(FBe),[y,b]=I.useState(!1),x=I.useRef(null);let w,C;e[4]!==g||e[5]!==u||e[6]!==h||e[7]!==_?(w=()=>{typeof u<"u"||(h&&g&&(b(!0),x.current&&(window.clearTimeout(x.current),x.current=null)),h&&!g&&(b(!1),x.current=window.setTimeout(()=>{_(null)},1e3)))},C=[g,u,h,_],e[4]=g,e[5]=u,e[6]=h,e[7]=_,e[8]=w,e[9]=C):(w=e[8],C=e[9]),I.useEffect(w,C);const k=!!(y||u),A=l?0:2,P=c?"visible":"auto";let T;e[10]!==A||e[11]!==P?(T={p:A,overflow:P},e[10]=A,e[11]=P,e[12]=T):T=e[12];let j;e[13]!==s||e[14]!==T?(j=a.jsx(gt,{sx:T,children:s}),e[13]=s,e[14]=T,e[15]=j):j=e[15];let R;return e[16]!==o||e[17]!==f||e[18]!==i||e[19]!==j||e[20]!==k||e[21]!==m?(R=a.jsx(ine,{open:k,anchorEl:o,anchorOrigin:f,transformOrigin:m,onClose:i,children:j}),e[16]=o,e[17]=f,e[18]=i,e[19]=j,e[20]=k,e[21]=m,e[22]=R):R=e[22],R}function FBe(t){return t.popoverOpen}function UBe(t){return t.setPopoverState}function BBe(t){return t.popoverState}function zBe(t){const e=he.c(22),{onClick:r,message:n,severity:s,title:i,onClose:o,noIcon:l,action:c,anchorOrigin:u}=t;let d;e[0]!==u?(d=u===void 0?{vertical:"top",horizontal:"right"}:u,e[0]=u,e[1]=d):d=e[1];const f=d,p=Nr(HBe),m=Nr(VBe),h=Nr(qBe),[_,g]=I.useState(!1),y=I.useRef(null);let b,x;e[2]!==h||e[3]!==m||e[4]!==p?(b=()=>{p&&h&&(g(!0),y.current&&(window.clearTimeout(y.current),y.current=null)),p&&!h&&(g(!1),y.current=window.setTimeout(()=>{m(null)},1e3))},x=[h,p,m],e[2]=h,e[3]=m,e[4]=p,e[5]=b,e[6]=x):(b=e[5],x=e[6]),I.useEffect(b,x);let w;e[7]!==o?(w=A=>{o&&o(A,"clickaway")},e[7]=o,e[8]=w):w=e[8];let C;e[9]!==c||e[10]!==n||e[11]!==l||e[12]!==s||e[13]!==w||e[14]!==i?(C=a.jsx(Vte,{children:a.jsx(Lr,{message:n,onClose:w,severity:s,title:i,action:c,noIcon:l})}),e[9]=c,e[10]=n,e[11]=l,e[12]=s,e[13]=w,e[14]=i,e[15]=C):C=e[15];let k;return e[16]!==f||e[17]!==_||e[18]!==r||e[19]!==o||e[20]!==C?(k=a.jsx(D9e,{autoHideDuration:5e3,open:_,onClick:r,anchorOrigin:f,onClose:o,children:C}),e[16]=f,e[17]=_,e[18]=r,e[19]=o,e[20]=C,e[21]=k):k=e[21],k}function qBe(t){return t.snackbarOpen}function VBe(t){return t.setSnackbarState}function HBe(t){return t.snackbarState}function Tae(){const t=he.c(31),e=Nr(sze),r=Nr(nze),n=Nr(rze),s=Nr(tze),i=Nr(eze),o=Nr(JBe),l=Nr(XBe),c=Nr(ZBe),u=Nr(QBe),d=Nr(KBe),f=Nr(YBe),p=Nr(WBe),m=r?.content,h=i?.content;let _;if(t[0]!==e||t[1]!==p){let A;t[3]!==p?(A=(P,T)=>{if(!P)return null;const j=P.content,R=P.id||"";return a.jsx(jae,{id:R,...P,children:j&&a.jsx(j,{dialogClose:()=>{p(R)}})},`${R}-${T}`)},t[3]=p,t[4]=A):A=t[4],_=e.map(A),t[0]=e,t[1]=p,t[2]=_}else _=t[2];let g;t[5]!==d||t[6]!==s?(g=s&&a.jsx(zBe,{...s,onClose:(A,P)=>{s.onClose&&s.onClose(A,P),d()}}),t[5]=d,t[6]=s,t[7]=g):g=t[7];let y;t[8]!==m||t[9]!==r||t[10]!==c?(y=r&&a.jsx(TBe,{onClose:()=>{c(),r.onClose&&r.onClose()},title:r?.title,width:r?.width,variant:r?.variant,children:r?.content&&a.jsx(m,{})}),t[8]=m,t[9]=r,t[10]=c,t[11]=y):y=t[11];let b;t[12]!==n||t[13]!==u?(b=n&&a.jsx(DBe,{anchorEl:n?.anchorEl,anchorOrigin:n?.anchorOrigin,onClose:u,children:n?.items.map(GBe)}),t[12]=n,t[13]=u,t[14]=b):b=t[14];let x;t[15]!==h||t[16]!==i||t[17]!==f?(x=i&&a.jsx(NBe,{anchorEl:i?.anchorEl,onClose:f,anchorOrigin:i?.anchorOrigin,disableGutters:i?.disableGutters,children:i?.content&&a.jsx(h,{})}),t[15]=h,t[16]=i,t[17]=f,t[18]=x):x=t[18];let w;t[19]!==o?(w=o&&a.jsx(yBe,{...o}),t[19]=o,t[20]=w):w=t[20];let C;t[21]!==l?(C=l&&a.jsx(wBe,{title:l.title,description:l.description,confirmText:l.confirmText,cancelText:l.cancelText,onCancel:l.onCancel,onConfirm:l.onConfirm}),t[21]=l,t[22]=C):C=t[22];let k;return t[23]!==_||t[24]!==g||t[25]!==y||t[26]!==b||t[27]!==x||t[28]!==w||t[29]!==C?(k=a.jsxs(a.Fragment,{children:[_,g,y,b,x,w,C]}),t[23]=_,t[24]=g,t[25]=y,t[26]=b,t[27]=x,t[28]=w,t[29]=C,t[30]=k):k=t[30],k}function GBe(t,e){return a.jsx(En,{...t,children:t.label},`${t.value}-${e}`)}function WBe(t){return t.setDialogsClose}function YBe(t){return t.setPopoverClose}function KBe(t){return t.setSnackbarClose}function QBe(t){return t.setMenuClose}function ZBe(t){return t.setDrawerClose}function XBe(t){return t.confirmationSimpleDialogState}function JBe(t){return t.confirmationDialogState}function eze(t){return t.popoverState}function tze(t){return t.snackbarState}function rze(t){return t.menuState}function nze(t){return t.drawerState}function sze(t){return t.dialogs}const ize=()=>{const t=he.c(30),e=Ye(),r=to(),n=Np();n?.services;let s;t[0]!==n?.services?(s=n?.services??[],t[0]=n?.services,t[1]=s):s=t[1];const i=s;let o;t[2]!==n?.info?.version?(o=()=>n?.info?.version??"-",t[2]=n?.info?.version,t[3]=o):o=t[3],n?.info?.version;let l;t[4]!==o?(l=o(),t[4]=o,t[5]=l):l=t[5];const c=l;n?.info?.hostname;const u=n?.info?.hostname??"-";let d;t[6]!==i?(d=rBe({services:i}),t[6]=i,t[7]=d):d=t[7];const f=d;let p;t[8]!==f?(p=kae(f),t[8]=f,t[9]=p):p=t[9];const m=p;let h;if(t[10]!==r.pathname){e:{const A=r.pathname.split("/");if(A.length>2){h=A.slice(0,3).join("/");break e}h=r.pathname}t[10]=r.pathname,t[11]=h}else h=t[11];const _=h;let g;t[12]===Symbol.for("react.memo_cache_sentinel")?(g={pb:1},t[12]=g):g=t[12];let y;t[13]!==e?(y=e.formatMessage({id:"menu.info.version"}),t[13]=e,t[14]=y):y=t[14];let b;t[15]!==c?(b=a.jsx("strong",{children:c}),t[15]=c,t[16]=b):b=t[16];let x;t[17]!==y||t[18]!==b?(x=a.jsxs(_e,{type:"caption",children:[y,": ",b]}),t[17]=y,t[18]=b,t[19]=x):x=t[19];let w;t[20]!==u||t[21]!==e?(w=u&&a.jsxs(_e,{type:"caption",children:[e.formatMessage({id:"menu.info.hostname"}),": ",a.jsx("strong",{children:u})]}),t[20]=u,t[21]=e,t[22]=w):w=t[22];let C;t[23]!==w||t[24]!==x?(C=a.jsx(te,{sx:g,direction:"row",justify:"space-between",align:"center",children:a.jsxs(te,{direction:"column",spacing:0,children:[x,w]})}),t[23]=w,t[24]=x,t[25]=C):C=t[25];let k;return t[26]!==m||t[27]!==_||t[28]!==C?(k=a.jsx(XFe,{items:m,activeValue:_,footerComponent:C}),t[26]=m,t[27]=_,t[28]=C,t[29]=k):k=t[29],k};var oze=Object.create,Eae=Object.defineProperty,aze=Object.getOwnPropertyDescriptor,lze=Object.getOwnPropertyNames,cze=Object.getPrototypeOf,uze=Object.prototype.hasOwnProperty,dze=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),fze=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of lze(e))!uze.call(t,s)&&s!==r&&Eae(t,s,{get:()=>e[s],enumerable:!(n=aze(e,s))||n.enumerable});return t},pze=(t,e,r)=>(r=t!=null?oze(cze(t)):{},fze(!t||!t.__esModule?Eae(r,"default",{value:t,enumerable:!0}):r,t)),mze=dze((t,e)=>{(function(r,n){typeof t=="object"&&typeof e<"u"?n(t):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.fastUniqueNumbers={}))})(t,function(r){var n=function(m){return function(h){var _=m(h);return h.add(_),_}},s=function(m){return function(h,_){return m.set(h,_),_}},i=Number.MAX_SAFE_INTEGER===void 0?9007199254740991:Number.MAX_SAFE_INTEGER,o=536870912,l=o*2,c=function(m,h){return function(_){var g=h.get(_),y=g===void 0?_.size:g<l?g+1:0;if(!_.has(y))return m(_,y);if(_.size<o){for(;_.has(y);)y=Math.floor(Math.random()*l);return m(_,y)}if(_.size>i)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;_.has(y);)y=Math.floor(Math.random()*i);return m(_,y)}},u=new WeakMap,d=s(u),f=c(d,u),p=n(f);r.addUniqueNumber=p,r.generateUniqueNumber=f})});pze(mze());var Ed=(typeof window>"u"?"undefined":typeof window)=="object",jc={setTimeout:Ed?setTimeout.bind(window):setTimeout,clearTimeout:Ed?clearTimeout.bind(window):clearTimeout,setInterval:Ed?setInterval.bind(window):setInterval,clearInterval:Ed?clearInterval.bind(window):clearInterval};function hze(t){jc.setTimeout=t.setTimeout,jc.clearTimeout=t.clearTimeout,jc.setInterval=t.setInterval,jc.clearInterval=t.clearInterval}var zg={},gze=class{name;closed=!1;mc=new MessageChannel;constructor(e){this.name=e,zg[e]=zg[e]||[],zg[e].push(this),this.mc.port1.start(),this.mc.port2.start(),this.onStorage=this.onStorage.bind(this),window.addEventListener("storage",this.onStorage)}onStorage(e){if(e.storageArea!==window.localStorage||e.key.substring(0,this.name.length)!==this.name||e.newValue===null)return;let r=JSON.parse(e.newValue);this.mc.port2.postMessage(r)}postMessage(e){if(this.closed)throw new Error("InvalidStateError");let r=JSON.stringify(e),n=`${this.name}:${String(Date.now())}${String(Math.random())}`;window.localStorage.setItem(n,r),jc.setTimeout(()=>{window.localStorage.removeItem(n)},500),zg[this.name].forEach(s=>{s!==this&&s.mc.port2.postMessage(JSON.parse(r))})}close(){if(this.closed)return;this.closed=!0,this.mc.port1.close(),this.mc.port2.close(),window.removeEventListener("storage",this.onStorage);let e=zg[this.name].indexOf(this);zg[this.name].splice(e,1)}get onmessage(){return this.mc.port1.onmessage}set onmessage(e){this.mc.port1.onmessage=e}get onmessageerror(){return this.mc.port1.onmessageerror}set onmessageerror(e){this.mc.port1.onmessageerror=e}addEventListener(e,r){return this.mc.port1.addEventListener(e,r)}removeEventListener(e,r){return this.mc.port1.removeEventListener(e,r)}dispatchEvent(e){return this.mc.port1.dispatchEvent(e)}},_ze=typeof window>"u"?void 0:typeof window.BroadcastChannel=="function"?window.BroadcastChannel:gze;function vze(t=0){return new Promise(e=>jc.setTimeout(e,t))}function Rae(){return Math.random().toString(36).substring(2)}var yze=class{options;channel;token=Rae();isLeader=!1;isDead=!1;isApplying=!1;reApply=!1;intervals=[];listeners=[];deferred;constructor(e,r){this.channel=e,this.options=r,this.apply=this.apply.bind(this),this.awaitLeadership=this.awaitLeadership.bind(this),this.sendAction=this.sendAction.bind(this)}async apply(){if(this.isLeader||this.isDead)return!1;if(this.isApplying)return this.reApply=!0,!1;this.isApplying=!0;let e=!1,r=n=>{let{token:s,action:i}=n.data;s!==this.token&&(i===0&&s>this.token&&(e=!0),i===1&&(e=!0))};this.channel.addEventListener("message",r);try{return this.sendAction(0),await vze(this.options.responseTime),this.channel.removeEventListener("message",r),this.isApplying=!1,e?this.reApply?this.apply():!1:(this.assumeLead(),!0)}catch{return!1}}awaitLeadership(){if(this.isLeader)return Promise.resolve();let e=!1,r=null;return new Promise(n=>{let s=()=>{if(e)return;e=!0;try{jc.clearInterval(r)}catch{}let o=this.intervals.indexOf(r);o>=0&&this.intervals.splice(o,1),this.channel.removeEventListener("message",i),n()};r=jc.setInterval(()=>{this.apply().then(()=>{this.isLeader&&s()})},this.options.fallbackInterval),this.intervals.push(r);let i=o=>{let{action:l}=o.data;l===2&&this.apply().then(()=>{this.isLeader&&s()})};this.channel.addEventListener("message",i)})}sendAction(e){this.channel.postMessage({action:e,token:this.token})}assumeLead(){this.isLeader=!0;let e=r=>{let{action:n}=r.data;n===0&&this.sendAction(1)};return this.channel.addEventListener("message",e),this.listeners.push(e),this.sendAction(1)}waitForLeadership(){return this.deferred?this.deferred:(this.deferred=this.awaitLeadership(),this.deferred)}close(){if(!this.isDead){this.isDead=!0,this.isLeader=!1,this.sendAction(2);try{this.listeners.forEach(e=>this.channel.removeEventListener("message",e)),this.intervals.forEach(e=>jc.clearInterval(e))}catch{}}}},bze=class{channel;options;elector;token=Rae();registry=new Map;allIdle=!1;isLastActive=!1;constructor(e){let{channelName:r}=e;if(this.options=e,this.channel=new _ze(r),this.registry.set(this.token,1),e.leaderElection){let n={fallbackInterval:2e3,responseTime:100};this.elector=new yze(this.channel,n),this.elector.waitForLeadership()}this.channel.addEventListener("message",n=>{let{action:s,token:i,data:o}=n.data;switch(s){case 3:this.registry.set(i,2);break;case 4:this.registry.delete(i);break;case 5:this.idle(i);break;case 6:this.active(i);break;case 7:this.prompt(i);break;case 8:this.start(i);break;case 9:this.reset(i);break;case 10:this.activate(i);break;case 11:this.pause(i);break;case 12:this.resume(i);break;case 13:this.options.onMessage(o);break}}),this.send(3)}get isLeader(){if(!this.elector)throw new Error('❌ Leader election is not enabled. To Enable it set the "leaderElection" property to true.');return this.elector.isLeader}prompt(e=this.token){this.registry.set(e,0);let r=[...this.registry.values()].every(n=>n===0);e===this.token&&this.send(7),r&&this.options.onPrompt()}idle(e=this.token){this.registry.set(e,2);let r=[...this.registry.values()].every(n=>n===2);e===this.token&&this.send(5),!this.allIdle&&r&&(this.allIdle=!0,this.options.onIdle())}active(e=this.token){this.allIdle=!1,this.registry.set(e,1);let r=[...this.registry.values()].some(n=>n===1);e===this.token&&this.send(6),r&&this.options.onActive(),this.isLastActive=e===this.token}start(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(8):this.options.start(!0),this.isLastActive=e===this.token}reset(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(9):this.options.reset(!0),this.isLastActive=e===this.token}activate(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(10):this.options.activate(!0),this.isLastActive=e===this.token}pause(e=this.token){e===this.token?this.send(11):this.options.pause(!0)}resume(e=this.token){e===this.token?this.send(12):this.options.resume(!0)}message(e){try{this.channel.postMessage({action:13,token:this.token,data:e})}catch{}}send(e){try{this.channel.postMessage({action:e,token:this.token})}catch{}}close(){this.options.leaderElection&&this.elector.close(),this.send(4),this.channel.close()}},xze=Ed?document:null,Sze=["mousemove","keydown","wheel","DOMMouseScroll","mousewheel","mousedown","touchstart","touchmove","MSPointerDown","MSPointerMove","visibilitychange","focus"];function wze(t,e){let r;function n(...s){r&&clearTimeout(r),r=setTimeout(()=>{t(...s),r=null},e)}return n.cancel=function(){clearTimeout(r)},n}function JE(t,e){let r=0;return function(...n){let s=new Date().getTime();if(!(s-r<e))return r=s,t(...n)}}var Di=()=>Date.now(),qg=2147483647;function Cze({timeout:t=1e3*60*20,promptTimeout:e=0,promptBeforeIdle:r=0,element:n=xze,events:s=Sze,timers:i=void 0,immediateEvents:o=[],onPresenceChange:l=()=>{},onPrompt:c=()=>{},onIdle:u=()=>{},onActive:d=()=>{},onAction:f=()=>{},onMessage:p=()=>{},debounce:m=0,throttle:h=0,eventsThrottle:_=200,startOnMount:g=!0,startManually:y=!1,stopOnIdle:b=!1,crossTab:x=!1,name:w="idle-timer",syncTimers:C=0,leaderElection:k=!1,disabled:A=!1}={}){let P=I.useRef(Di()),T=I.useRef(Di()),j=I.useRef(null),R=I.useRef(null),D=I.useRef(0),O=I.useRef(0),N=I.useRef(0),F=I.useRef(0),U=I.useRef(!1),z=I.useRef(!1),H=I.useRef(!1),W=I.useRef(!0),K=I.useRef(!1),q=I.useRef(null),X=I.useRef(null),Q=I.useRef(t),Y=I.useRef(0);I.useEffect(()=>{if(e&&console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."),r&&e)throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");if(t>=qg)throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${qg}.`);if(e>=qg)throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${qg}.`);if(r>=qg)throw new Error(`❌ The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${qg}.`);if(r>=t)throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${t}.`);if(r?(Q.current=t-r,Y.current=r):(Q.current=t,Y.current=e),!W.current){if(y||A)return;U.current&&(me.current(null,_r),X.current&&X.current.active()),Ve()}},[t,e,r,y,A]);let Z=I.useRef(b);I.useEffect(()=>{Z.current=b},[b]);let re=I.useRef(o),fe=I.useRef(n),de=I.useRef([...new Set([...s,...o]).values()]),se=I.useRef(A);I.useEffect(()=>{se.current=A,!W.current&&(A?ft():y||Ve())},[A]);let le=I.useRef(l);I.useEffect(()=>{le.current=l},[l]);let ee=I.useRef(c);I.useEffect(()=>{ee.current=c},[c]);let J=I.useRef(u);I.useEffect(()=>{J.current=u},[u]);let me=I.useRef(d);I.useEffect(()=>{me.current=d},[d]);let pe=I.useRef(f);I.useEffect(()=>{pe.current=f},[f]);let Se=I.useRef(p);I.useEffect(()=>{Se.current=p},[p]);let ve=I.useMemo(()=>{let st=(wt,Pe)=>pe.current(wt,Pe);return m>0?wze(st,m):h>0?JE(st,h):st},[h,m]),xe=I.useRef();I.useEffect(()=>{x&&C&&(xe.current=JE(()=>{X.current.active()},C))},[x,C]);let qe=()=>{q.current!==null&&(jc.clearTimeout(q.current),q.current=null)},Le=(st,wt=!0)=>{qe(),q.current=jc.setTimeout(nt,st||Q.current),wt&&(R.current=Di())},Te=st=>{!z.current&&!U.current&&(ee.current(st,_r),le.current({type:"active",prompted:!0},_r)),F.current=0,N.current=Di(),z.current=!0,Le(Y.current,!1)},je=()=>{qe(),U.current||(J.current(null,_r),le.current({type:"idle"},_r)),U.current=!0,j.current=Di(),Z.current?$e():z.current&&(N.current=0,z.current=!1)},Ge=st=>{qe(),(U.current||z.current)&&(me.current(st,_r),le.current({type:"active",prompted:!1},_r)),z.current=!1,N.current=0,U.current=!1,D.current+=Di()-j.current,O.current+=Di()-j.current,Me(),Le()},nt=st=>{if(!U.current){ve.cancel&&ve.cancel();let wt=Di()-R.current;if(!(Q.current+Y.current<wt)&&Y.current>0&&!z.current){X.current?X.current.prompt():Te(st);return}X.current?X.current.idle():je();return}X.current?X.current.active():Ge(st)},Re=st=>{if(!g&&!R.current&&(R.current=Di(),me.current(null,_r)),ve(st,_r),z.current)return;if(qe(),!U.current&&re.current.includes(st.type)){nt(st);return}let wt=Di()-R.current;if(U.current&&!b||!U.current&&wt>=Q.current){nt(st);return}H.current=!1,F.current=0,N.current=0,Le(),x&&C&&xe.current()},we=I.useRef(Re);I.useEffect(()=>{let st=K.current;st&&$e(),_>0?we.current=JE(Re,_):we.current=Re,st&&Me()},[_,h,m,pe,x,C]);let Me=()=>{Ed&&fe.current&&(K.current||(de.current.forEach(st=>{fe.current.addEventListener(st,we.current,{capture:!0,passive:!0})}),K.current=!0))},$e=(st=!1)=>{Ed&&fe.current&&(K.current||st)&&(de.current.forEach(wt=>{fe.current.removeEventListener(wt,we.current,{capture:!0})}),K.current=!1)},Ve=I.useCallback(st=>se.current?!1:(qe(),Me(),U.current=!1,z.current=!1,H.current=!1,F.current=0,N.current=0,X.current&&!st&&X.current.start(),Le(),!0),[q,U,se,Q,X]),Ne=I.useCallback(st=>se.current?!1:(qe(),Me(),T.current=Di(),D.current+=Di()-j.current,O.current+=Di()-j.current,D.current=0,U.current=!1,z.current=!1,H.current=!1,F.current=0,N.current=0,X.current&&!st&&X.current.reset(),y||Le(),!0),[q,U,Q,y,se,X]),Oe=I.useCallback(st=>se.current?!1:(qe(),Me(),(U.current||z.current)&&Ge(),U.current=!1,z.current=!1,H.current=!1,F.current=0,N.current=0,T.current=Di(),X.current&&!st&&X.current.activate(),Le(),!0),[q,U,z,se,Q,X]),ft=I.useCallback((st=!1)=>se.current||H.current?!1:(F.current=ar(),H.current=!0,$e(),qe(),X.current&&!st&&X.current.pause(),!0),[q,se,X]),Ct=I.useCallback((st=!1)=>se.current||!H.current?!1:(H.current=!1,z.current||Me(),U.current||Le(F.current),N.current&&(N.current=Di()),X.current&&!st&&X.current.resume(),!0),[q,Q,se,F,X]),Et=I.useCallback((st,wt)=>(X.current?(wt&&Se.current(st,_r),X.current.message(st)):wt&&Se.current(st,_r),!0),[p]),at=I.useCallback(()=>U.current,[U]),$t=I.useCallback(()=>z.current,[z]),Ee=I.useCallback(()=>X.current?X.current.isLeader:null,[X]),Be=I.useCallback(()=>X.current?X.current.isLastActive:null,[X]),qt=I.useCallback(()=>X.current?X.current.token:null,[X]),ar=I.useCallback(()=>{if(H.current)return F.current;let st=F.current?F.current:Y.current+Q.current,wt=R.current?Di()-R.current:0,Pe=Math.floor(st-wt);return Pe<0?0:Math.abs(Pe)},[Q,Y,z,F,R]),hr=I.useCallback(()=>Math.round(Di()-T.current),[T]),ir=I.useCallback(()=>Math.round(Di()-P.current),[P]),cr=I.useCallback(()=>j.current?new Date(j.current):null,[j]),kr=I.useCallback(()=>R.current?new Date(R.current):null,[R]),Rr=I.useCallback(()=>U.current?Math.round(Di()-j.current+D.current):Math.round(D.current),[j,D]),Ut=I.useCallback(()=>U.current?Math.round(Di()-j.current+O.current):Math.round(O.current),[j,O]),fn=I.useCallback(()=>{let st=Math.round(hr()-Rr());return st>=0?st:0},[j,D]),Zt=I.useCallback(()=>{let st=Math.round(ir()-Ut());return st>=0?st:0},[j,D]);I.useEffect(()=>{if(m>0&&h>0)throw new Error("❌ onAction can either be throttled or debounced, not both.");i&&hze(i);let st=()=>{X.current&&X.current.close(),ve.cancel&&ve.cancel(),qe(),$e(!0)};return Ed&&window.addEventListener("beforeunload",st),()=>{Ed&&window.removeEventListener("beforeunload",st),X.current&&X.current.close(),ve.cancel&&ve.cancel(),qe(),$e(!0)}},[]),I.useEffect(()=>{X.current&&X.current.close(),x?X.current=new bze({channelName:w,leaderElection:k,onPrompt:()=>{Te()},onIdle:()=>{je()},onActive:()=>{Ge()},onMessage:st=>{Se.current(st,_r)},start:Ve,reset:Ne,activate:Oe,pause:ft,resume:Ct}):X.current=null},[x,w,k,ee,J,me,Se,Ve,Ne,ft,Ct]),I.useEffect(()=>{W.current||(qe(),$e(!0)),!(y||A)&&(g?Ve():Me())},[y,g,A,W]),I.useEffect(()=>{if(!W.current){let st=[...new Set([...s,...o]).values()];if($e(),de.current=st,fe.current=n,re.current=o,y||A)return;g?Ve():Me()}},[n,JSON.stringify(s),JSON.stringify(o),W,A,y,g]),I.useEffect(()=>{W.current&&(W.current=!1)},[W]);let _r={message:Et,start:Ve,reset:Ne,activate:Oe,pause:ft,resume:Ct,isIdle:at,isPrompted:$t,isLeader:Ee,isLastActiveTab:Be,getTabId:qt,getRemainingTime:ar,getElapsedTime:hr,getTotalElapsedTime:ir,getLastIdleTime:cr,getLastActiveTime:kr,getIdleTime:Rr,getTotalIdleTime:Ut,getActiveTime:fn,getTotalActiveTime:Zt,setOnPresenceChange:st=>{l=st,le.current=st},setOnPrompt:st=>{c=st,ee.current=st},setOnIdle:st=>{u=st,J.current=st},setOnActive:st=>{d=st,me.current=st},setOnAction:st=>{f=st,pe.current=st},setOnMessage:st=>{p=st,Se.current=st}};return _r}var Aze=I.createContext(null);Aze.Consumer;const kze=()=>{const t=window.location.pathname;let e=$.urls.logout;return[$.urls.logout,$.urls.login].includes(t)||(e=`${e}?returnUrl=${t}`),e};function Mze(t){const e=he.c(29),{timeout:r}=t,n=Ye(),s=r*1e3;let i;e:{if(s&&s<$.idleTime.promptTimeout_s){i=s-3e4;break e}i=$.idleTime.promptTimeout_s*1e3}const o=i,[l,c]=I.useState(s),[u,d]=I.useState(!1),f=ys(),{submit:p}=gr();let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=(N,F)=>{F&&c(F.getRemainingTime()),d(!0)},e[0]=m):m=e[0];const h=m;let _;e[1]===Symbol.for("react.memo_cache_sentinel")?(_=()=>{d(!1)},e[1]=_):_=e[1];const g=_;let y;e[2]!==f?(y=()=>{const N=kze();f(N,{replace:!0})},e[2]=f,e[3]=y):y=e[3];const b=y;let x;e[4]!==b||e[5]!==o||e[6]!==s?(x={timeout:s,crossTab:!0,leaderElection:!0,syncTimers:200,promptBeforeIdle:o,onPrompt:h,onActive:g,onIdle:b},e[4]=b,e[5]=o,e[6]=s,e[7]=x):x=e[7];const w=Cze(x);let C;e[8]!==w?(C=()=>{w.activate()},e[8]=w,e[9]=C):C=e[9];const k=C;let A;e[10]!==p?(A=()=>{p(null,{method:"POST",encType:"multipart/form-data",action:"refresh-token"})},e[10]=p,e[11]=A):A=e[11];const P=A;let T,j;e[12]!==o||e[13]!==w?(T=()=>{const N=setInterval(()=>{const F=w.getRemainingTime();c(F),d(U=>U&&F>o?!1:U)},300);return()=>{clearInterval(N)}},j=[o,w],e[12]=o,e[13]=w,e[14]=T,e[15]=j):(T=e[14],j=e[15]),I.useEffect(T,j);let R;e[16]!==n?(R=n.formatMessage({id:"idle-state.modal.title"}),e[16]=n,e[17]=R):R=e[17];let D;e[18]!==k||e[19]!==P||e[20]!==o||e[21]!==n||e[22]!==u||e[23]!==l?(D=u&&a.jsx(_s,{children:a.jsxs(te,{align:"center",spacing:2,children:[a.jsx(_e,{fontWeight:"600",fontSize:"medium",sx:{alignSelf:"flex-start"},children:n.formatMessage({id:"idle-state.modal.message"})}),a.jsx(Nc,{type:"circular",variant:"determinate",value:Math.ceil(l/o*100),label:`${Math.ceil(l/1e3)}s`,labelVariant:"h5",thickness:4,size:140}),a.jsx(Ze,{text:n.formatMessage({id:"idle-state.modal.continue"}),onClick:()=>{k(),P()}})]})}),e[18]=k,e[19]=P,e[20]=o,e[21]=n,e[22]=u,e[23]=l,e[24]=D):D=e[24];let O;return e[25]!==u||e[26]!==R||e[27]!==D?(O=a.jsx(jae,{id:"idleTimerDialog",open:u,disableAutoFocus:!0,title:R,children:D}),e[25]=u,e[26]=R,e[27]=D,e[28]=O):O=e[28],O}const Pze=()=>{const t=he.c(7);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={useSearchParams:!1},t[0]=e):e=t[0];const r=Gr(e),n=As(),s=Nd(n.breakpoints.down($.appBarMobileBreakpoint))?65:0;let i;t[1]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx(rN,{}),t[1]=i):i=t[1];let o;t[2]!==s?(o=c=>a.jsxs("div",{style:{minWidth:"345px",marginTop:s},children:[a.jsx(Pae,{info:c?.info||{hostname:"-",product_name:"-",version:"-"},variant:"appShellLayout",profileCard:!0}),a.jsx(ize,{}),a.jsx(Tae,{}),a.jsx(Bd,{}),!!c?.frontendConfig.ui_inactivity_s&&a.jsx(Mze,{timeout:c.frontendConfig.ui_inactivity_s})]}),t[2]=s,t[3]=o):o=t[3];let l;return t[4]!==r.bootstrap||t[5]!==o?(l=a.jsx(I.Suspense,{children:a.jsx(Qt,{resolve:r.bootstrap,errorElement:i,children:o})}),t[4]=r.bootstrap,t[5]=o,t[6]=l):l=t[6],l},zW=t=>{const e=he.c(6),{profileCard:r}=t,n=zn();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(rN,{}),e[0]=s):s=e[0];let i;e[1]!==r?(i=l=>a.jsxs(a.Fragment,{children:[a.jsx(Tae,{}),a.jsx(Pae,{info:l,variant:"simpleLayout",profileCard:r}),a.jsx(G0,{appBar:!0,fullWidth:!0,fullHeight:!0,children:a.jsx(zA,{transparent:!0,fullHeight:!0,children:a.jsx(Bd,{})})})]}),e[1]=r,e[2]=i):i=e[2];let o;return e[3]!==n.info||e[4]!==i?(o=a.jsx(I.Suspense,{children:a.jsx(Qt,{resolve:n.info,errorElement:s,children:i})}),e[3]=n.info,e[4]=i,e[5]=o):o=e[5],o};async function lN(){return De({options:{url:"/frontend/config",method:"GET"}})}async function ma(){const{services:t}=await lN();return t}async function Iae({nf:t}){const e=`${$.apis.cluster.status(t)}`;return De({options:{url:e,method:"GET"}})}async function jze({node:t,nf:e}){const r=`${$.apis.cluster.join(e)}`;return De({options:{url:r,method:"POST",data:JSON.stringify({node:t})}})}async function Tze({nf:t,force:e}){const r=`${$.apis.cluster.leave(t)}?force=${e}`;return De({options:{url:r,method:"POST"}})}async function Eze({nf:t}){const e=await ma();return Ds({services:e,name:t})?Iae({nf:t}):null}async function Rze(){const t=await ma(),e=yie(t).map(r=>r.name);return $.monitoring.clusters.filter(r=>e.includes(r))}const Q6=Pr();function Ize(){return window.location.pathname.endsWith("/configuration")?rt(window.location.pathname):rt(`${window.location.pathname}${window.location.search}`)}async function Dze({request:t}){const{siteNodeAddress:e}=await t.json();return Ji.setSiteNode(e),Ize()}function $ze(t){return async({request:e})=>{const r=await e.json(),n=await jze({nf:t,node:r.node});if(xt(n))Ar(n.error?.detail||Q6.formatMessage({id:"cluster.dialog.join_ko"}));else{if(t===ue.PLS)throw Ji.deleteSiteNode(),Gb();Nt(Q6.formatMessage({id:"cluster.dialog.join_ok"}))}return Ft(n)}}function Oze(t){return async({request:e})=>{const r=await e.json(),n=await Tze({nf:t,force:r.force});return xt(n)||(t===ue.PLS&&Ji.deleteSiteNode(),Nt(Q6.formatMessage({id:"cluster.dialog.leave_ok"}))),Ft(n)}}const Lze=[{source:ue.LICENSED,group:"platform",sub_group:"licenses",field_name:"licenses_total_count",query:"count(license_status) or vector(0)"},{source:ue.LICENSED,group:"platform",sub_group:"licenses",field_name:"licenses_valid_count",query:"count_values('license_status', license_status==1) or vector(0)"},{source:ue.LICENSED,group:"platform",sub_group:"licenses",field_name:"licenses_expiring_count",query:"count(rr:licensed_license_remaining_days>0 and rr:licensed_license_remaining_days<7) or vector(0)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"total_transmit_bytes",query:"sum(node_network_transmit_bytes_total{device=~'eth[0-9]+'})"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"total_receive_bytes",query:"sum(node_network_receive_bytes_total{device=~'eth[0-9]+'})"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"transmit_rate_bps",query:"sum(irate(node_network_transmit_bytes_total{device=~'eth[0-9]+'}[5m])*8)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"receive_rate_bps",query:"sum(irate(node_network_receive_bytes_total{device=~'eth[0-9]+'}[5m])*8)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"ts_transmit_rate_bps",query_range:"sum(irate(node_network_transmit_bytes_total{device=~'eth[0-9]+'}[5m])*8)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"ts_receive_rate_bps",query_range:"sum(irate(node_network_receive_bytes_total{device=~'eth[0-9]+'}[5m])*8)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network_interfaces",field_name:"interfaces_active_count",query:"count(node_network_up{device=~'eth[0-9]+'} == 1) or vector(0)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network_interfaces",field_name:"interfaces_total_count",query:"count(node_network_up{device=~'eth[0-9]+'}) or vector(0)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"cpu",field_name:"cpu_count",query:"count(count(node_cpu_seconds_total) by (cpu))"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"cpu",field_name:"cpu_busy_perc",query:"(((count(count(node_cpu_seconds_total) by (cpu))) - avg(sum by (mode)(irate(node_cpu_seconds_total{mode='idle'}[5m])))) * 100) / count(count(node_cpu_seconds_total) by (cpu)) > 0"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"cpu",field_name:"ts_cpu_busy_perc",query_range:"(((count(count(node_cpu_seconds_total) by (cpu))) - avg(sum by (mode)(irate(node_cpu_seconds_total{mode='idle'}[5m])))) * 100) / count(count(node_cpu_seconds_total) by (cpu)) > 0"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"memory",field_name:"memory_total_bytes",query:"node_memory_MemTotal_bytes"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"memory",field_name:"memory_available_bytes",query:"node_memory_MemAvailable_bytes"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"memory",field_name:"memory_used_perc",query:"100 - ((node_memory_MemAvailable_bytes * 100) / node_memory_MemTotal_bytes)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"memory",field_name:"ts_memory_used_perc",query_range:"100 - ((node_memory_MemAvailable_bytes * 100) / node_memory_MemTotal_bytes)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"disk",field_name:"disk_total_bytes",query:"node_filesystem_size_bytes{mountpoint='/',fstype!='rootfs'}"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"disk",field_name:"disk_available_bytes",query:"node_filesystem_avail_bytes{mountpoint='/',fstype!='rootfs'}"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"disk",field_name:"disk_used_perc",query:"100 - ((node_filesystem_avail_bytes{mountpoint='/',fstype!='rootfs'} * 100) / node_filesystem_size_bytes{mountpoint='/',fstype!='rootfs'})"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"disk",field_name:"ts_disk_used_perc",query_range:"100 - ((node_filesystem_avail_bytes{mountpoint='/',fstype!='rootfs'} * 100) / node_filesystem_size_bytes{mountpoint='/',fstype!='rootfs'})"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"uptime",field_name:"uptime_seconds",query:"node_time_seconds - node_boot_time_seconds"},{source:ue.PROMETHEUS,group:"platform",sub_group:"alerts",field_name:"alerts_count",query:"sum(ALERTS)"},{source:ue.EIR,group:"control_plane",sub_group:"eir_rules",field_name:"eir_rules_count",query:"sum(eir_rules_status) or vector(0)"},{source:ue.EIR,group:"control_plane",sub_group:"eir_cluster_nodes",field_name:"active_nodes_count",query:"sum(nf_data_layer_cluster_nodes_status{target_type='eir'}) or vector(0)"},{source:ue.EIR,group:"control_plane",sub_group:"eir_cluster_nodes",field_name:"total_nodes_count",query:"count(nf_data_layer_cluster_nodes_status{target_type='eir'}) or vector(0)"},{source:ue.UDR,group:"control_plane",sub_group:"udr_sims",field_name:"provisioned_sims_count",query:"nf_data_layer_table_row_count{table='supi'} or vector(0)"},{source:ue.UDR,group:"control_plane",sub_group:"udr_cluster_nodes",field_name:"active_nodes_count",query:"sum(nf_data_layer_cluster_nodes_status{target_type='udr'}) or vector(0)"},{source:ue.UDR,group:"control_plane",sub_group:"udr_cluster_nodes",field_name:"total_nodes_count",query:"count(nf_data_layer_cluster_nodes_status{target_type='udr'}) or vector(0)"},{source:ue.AMF,group:"control_plane",sub_group:"amf_ue",field_name:"active_ue_count",query:"sum(amf_ran_node_ue) or vector(0)"},{source:ue.AMF,group:"control_plane",sub_group:"amf_ue",field_name:"registered_ue_count",query:"amf_ue_registered or vector(0)"},{source:ue.AMF,group:"control_plane",sub_group:"amf_active_radios",field_name:"active_radios_count",query:"sum(amf_ran_node_status) or vector(0)"},{source:ue.MME,group:"control_plane",sub_group:"mme_ue",field_name:"active_ue_count",query:"mme_s1_enb_active_ue or vector(0)"},{source:ue.MME,group:"control_plane",sub_group:"mme_ue",field_name:"registered_ue_count",query:"mme_ue_registered or vector(0)"},{source:ue.MME,group:"control_plane",sub_group:"mme_active_radios",field_name:"active_radios_count",query:"mme_s1_enb or vector(0)"},{source:ue.SMF,group:"control_plane",sub_group:"smf_users",field_name:"users_count",query:"smf_supi or vector(0)"},{source:ue.SMF,group:"control_plane",sub_group:"smf_users",field_name:"sessions_count",query:"sum(smf_sessions) or vector(0)"},{source:ue.SMF,group:"control_plane",sub_group:"smf_connected_peers",field_name:"connected_peers_count",query:"sum(pfcp_node_status{target_type='smf'}) or vector(0)"},{source:ue.PCF,group:"control_plane",sub_group:"pcf_sessions",field_name:"n7_sessions_count",query:"pcf_n7_sessions or vector(0)"},{source:ue.PCF,group:"control_plane",sub_group:"pcf_sessions",field_name:"n5_sessions_count",query:"pcf_n5_sessions or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"total_load_uplink_bytes",query:"upf_forw_bytes{out_tag='core',in_tag='access'} or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"total_load_downlink_bytes",query:"upf_forw_bytes{out_tag='access',in_tag='core'} or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"throughput_uplink_bps",query:"sum by (out_tag)(rate(upf_forw_bytes{out_tag='core',in_tag='access'}[1m]))*8 or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"throughput_downlink_bps",query:"sum by (out_tag)(rate(upf_forw_bytes{out_tag='access',in_tag='core'}[1m]))*8 or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"ts_throughput_uplink_bps",query_range:"sum by (out_tag)(rate(upf_forw_bytes{out_tag='core',in_tag='access',apn_dnn=~'.+'}[1m]))*8"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"ts_throughput_downlink_bps",query_range:"sum by (out_tag)(rate(upf_forw_bytes{out_tag='access',in_tag='core',apn_dnn=~'.+'}[1m]))*8"},{source:ue.UPF,group:"user_plane",sub_group:"upf_sessions",field_name:"active_sessions",query:"upf_sessions or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_ip",field_name:"ip_total_count",query:"upf_pool_address_total_count or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_ip",field_name:"ip_allocated_count",query:"upf_pool_address_total_allocated or vector(0)"}];var eR,qW;function Dae(){if(qW)return eR;qW=1;var t=Z$(),e=z3();function r(n,s,i){(i!==void 0&&!e(n[s],i)||i===void 0&&!(s in n))&&t(n,s,i)}return eR=r,eR}var eb={exports:{}};eb.exports;var VW;function $ae(){return VW||(VW=1,(function(t,e){var r=Ghe(),n=e&&!e.nodeType&&e,s=n&&!0&&t&&!t.nodeType&&t,i=s&&s.exports===n,o=i?r.Buffer:void 0,l=o?o.allocUnsafe:void 0;function c(u,d){if(d)return u.slice();var f=u.length,p=l?l(f):new u.constructor(f);return u.copy(p),p}t.exports=c})(eb,eb.exports)),eb.exports}var tR,HW;function cN(){if(HW)return tR;HW=1;var t=Whe();function e(r){var n=new r.constructor(r.byteLength);return new t(n).set(new t(r)),n}return tR=e,tR}var rR,GW;function Oae(){if(GW)return rR;GW=1;var t=cN();function e(r,n){var s=n?t(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.length)}return rR=e,rR}var nR,WW;function uN(){if(WW)return nR;WW=1;function t(e,r){var n=-1,s=e.length;for(r||(r=Array(s));++n<s;)r[n]=e[n];return r}return nR=t,nR}var sR,YW;function Nze(){if(YW)return sR;YW=1;var t=Qd(),e=Object.create,r=(function(){function n(){}return function(s){if(!t(s))return{};if(e)return e(s);n.prototype=s;var i=new n;return n.prototype=void 0,i}})();return sR=r,sR}var iR,KW;function dN(){if(KW)return iR;KW=1;var t=Yhe(),e=t(Object.getPrototypeOf,Object);return iR=e,iR}var oR,QW;function Lae(){if(QW)return oR;QW=1;var t=Nze(),e=dN(),r=X$();function n(s){return typeof s.constructor=="function"&&!r(s)?t(e(s)):{}}return oR=n,oR}var aR,ZW;function fN(){if(ZW)return aR;ZW=1;var t=av(),e=lv();function r(n){return e(n)&&t(n)}return aR=r,aR}var lR,XW;function W0(){if(XW)return lR;XW=1;var t=J$(),e=dN(),r=lv(),n="[object Object]",s=Function.prototype,i=Object.prototype,o=s.toString,l=i.hasOwnProperty,c=o.call(Object);function u(d){if(!r(d)||t(d)!=n)return!1;var f=e(d);if(f===null)return!0;var p=l.call(f,"constructor")&&f.constructor;return typeof p=="function"&&p instanceof p&&o.call(p)==c}return lR=u,lR}var cR,JW;function Nae(){if(JW)return cR;JW=1;function t(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}return cR=t,cR}var uR,eY;function Fae(){if(eY)return uR;eY=1;var t=Z$(),e=z3(),r=Object.prototype,n=r.hasOwnProperty;function s(i,o,l){var c=i[o];(!(n.call(i,o)&&e(c,l))||l===void 0&&!(o in i))&&t(i,o,l)}return uR=s,uR}var dR,tY;function $v(){if(tY)return dR;tY=1;var t=Fae(),e=Z$();function r(n,s,i,o){var l=!i;i||(i={});for(var c=-1,u=s.length;++c<u;){var d=s[c],f=o?o(i[d],n[d],d,i,n):void 0;f===void 0&&(f=n[d]),l?e(i,d,f):t(i,d,f)}return i}return dR=r,dR}var fR,rY;function Fze(){if(rY)return fR;rY=1;function t(e){var r=[];if(e!=null)for(var n in Object(e))r.push(n);return r}return fR=t,fR}var pR,nY;function Uze(){if(nY)return pR;nY=1;var t=Qd(),e=X$(),r=Fze(),n=Object.prototype,s=n.hasOwnProperty;function i(o){if(!t(o))return r(o);var l=e(o),c=[];for(var u in o)u=="constructor"&&(l||!s.call(o,u))||c.push(u);return c}return pR=i,pR}var mR,sY;function Ov(){if(sY)return mR;sY=1;var t=Khe(),e=Uze(),r=av();function n(s){return r(s)?t(s,!0):e(s)}return mR=n,mR}var hR,iY;function Bze(){if(iY)return hR;iY=1;var t=$v(),e=Ov();function r(n){return t(n,e(n))}return hR=r,hR}var gR,oY;function zze(){if(oY)return gR;oY=1;var t=Dae(),e=$ae(),r=Oae(),n=uN(),s=Lae(),i=eO(),o=cv(),l=fN(),c=tO(),u=Qhe(),d=Qd(),f=W0(),p=cte(),m=Nae(),h=Bze();function _(g,y,b,x,w,C,k){var A=m(g,b),P=m(y,b),T=k.get(P);if(T){t(g,b,T);return}var j=C?C(A,P,b+"",g,y,k):void 0,R=j===void 0;if(R){var D=o(P),O=!D&&c(P),N=!D&&!O&&p(P);j=P,D||O||N?o(A)?j=A:l(A)?j=n(A):O?(R=!1,j=e(P,!0)):N?(R=!1,j=r(P,!0)):j=[]:f(P)||i(P)?(j=A,i(A)?j=h(A):(!d(A)||u(A))&&(j=s(P))):R=!1}R&&(k.set(P,j),w(j,P,x,C,k),k.delete(P)),t(g,b,j)}return gR=_,gR}var _R,aY;function pN(){if(aY)return _R;aY=1;var t=ute(),e=Dae(),r=Zhe(),n=zze(),s=Qd(),i=Ov(),o=Nae();function l(c,u,d,f,p){c!==u&&r(u,function(m,h){if(p||(p=new t),s(m))n(c,u,h,d,l,f,p);else{var _=f?f(o(c,h),m,h+"",c,u,p):void 0;_===void 0&&(_=m),e(c,h,_)}},i)}return _R=l,_R}var vR,lY;function Uae(){if(lY)return vR;lY=1;function t(e,r,n){switch(n.length){case 0:return e.call(r);case 1:return e.call(r,n[0]);case 2:return e.call(r,n[0],n[1]);case 3:return e.call(r,n[0],n[1],n[2])}return e.apply(r,n)}return vR=t,vR}var yR,cY;function Bae(){if(cY)return yR;cY=1;var t=Uae(),e=Math.max;function r(n,s,i){return s=e(s===void 0?n.length-1:s,0),function(){for(var o=arguments,l=-1,c=e(o.length-s,0),u=Array(c);++l<c;)u[l]=o[s+l];l=-1;for(var d=Array(s+1);++l<s;)d[l]=o[l];return d[s]=i(u),t(n,this,d)}}return yR=r,yR}var bR,uY;function qze(){if(uY)return bR;uY=1;function t(e){return function(){return e}}return bR=t,bR}var xR,dY;function Vze(){if(dY)return xR;dY=1;var t=qze(),e=Xhe(),r=q3(),n=e?function(s,i){return e(s,"toString",{configurable:!0,enumerable:!1,value:t(i),writable:!0})}:r;return xR=n,xR}var SR,fY;function Hze(){if(fY)return SR;fY=1;var t=800,e=16,r=Date.now;function n(s){var i=0,o=0;return function(){var l=r(),c=e-(l-o);if(o=l,c>0){if(++i>=t)return arguments[0]}else i=0;return s.apply(void 0,arguments)}}return SR=n,SR}var wR,pY;function zae(){if(pY)return wR;pY=1;var t=Vze(),e=Hze(),r=e(t);return wR=r,wR}var CR,mY;function Fh(){if(mY)return CR;mY=1;var t=q3(),e=Bae(),r=zae();function n(s,i){return r(e(s,i,t),s+"")}return CR=n,CR}var AR,hY;function mN(){if(hY)return AR;hY=1;var t=z3(),e=av(),r=Jhe(),n=Qd();function s(i,o,l){if(!n(l))return!1;var c=typeof o;return(c=="number"?e(l)&&r(o,l.length):c=="string"&&o in l)?t(l[o],i):!1}return AR=s,AR}var kR,gY;function qae(){if(gY)return kR;gY=1;var t=Fh(),e=mN();function r(n){return t(function(s,i){var o=-1,l=i.length,c=l>1?i[l-1]:void 0,u=l>2?i[2]:void 0;for(c=n.length>3&&typeof c=="function"?(l--,c):void 0,u&&e(i[0],i[1],u)&&(c=l<3?void 0:c,l=1),s=Object(s);++o<l;){var d=i[o];d&&n(s,d,o,c)}return s})}return kR=r,kR}var MR,_Y;function Gze(){if(_Y)return MR;_Y=1;var t=pN(),e=qae(),r=e(function(n,s,i){t(n,s,i)});return MR=r,MR}var Wze=Gze();const Yze=Pi(Wze),Z6={emergency:0,alert:1,critical:2,error:3,warning:4,notice:5,info:6,informational:6,debug:7};function Kze(t){return t.reduce((e,r)=>({...e,[r.labels.alertname]:e[r.labels.alertname]?{...e[r.labels.alertname],items:[...e[r.labels.alertname].items,r],counts:{...e[r.labels.alertname].counts,total:e[r.labels.alertname].counts.total+1,[r.labels.severity]:e[r.labels.alertname].counts[r.labels.severity]+1}}:{items:[r],counts:{total:1,emergency:0,alert:0,critical:0,error:0,warning:0,notice:0,informational:0,info:0,debug:0,[r.labels.severity]:1}}}),{})}var b_=(t=>(t.REGISTERED="REGISTERED",t.SUSPENDED="SUSPENDED",t.UNDISCOVERABLE="UNDISCOVERABLE",t))(b_||{});function Qze(t,e=0){try{switch(t.resultType){case"vector":return t.result[e]?.value[1];case"scalar":return t.result[e];case"string":return t.result[e];case"matrix":return t.result[e]?.values.map(([r,n])=>({timestamp:r,value:n}))}}catch(r){console.error("Cannot extract data from prometheus data",r,t.result);return}}async function Vae(){const t=$.apis.nrf.profiles.status;return De({options:{url:t,method:"GET"}})}async function Hae(){const t=$.apis.nrf.staticProfiles;return De({options:{url:t,method:"GET"}})}async function Zze(t){const e=$.apis.nrf.staticProfiles;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function Xze(t){const e=`${$.apis.nrf.staticProfiles}/${t.nfInstanceId}`;return De({options:{url:e,method:"PUT",data:JSON.stringify(t)}})}async function Jze(t){const e=`${$.apis.nrf.staticProfiles}/${t}`;return De({options:{url:e,method:"DELETE"}})}function X6({group:t,sub_group:e,field_name:r,data:n}){return!t||!e||!n?null:r?{[t]:{[e]:{[r]:n}}}:{[t]:{[e]:n}}}function eqe(t){return Lze.filter(e=>t.includes(e.source)).map(e=>{const r="query_range"in e?`${$.apis.prometheus.query_range({query:e.query_range})}`:`${$.apis.prometheus.query(e.query)}`;return{...e,url:r}})}async function tqe(t){const e=await De({options:{url:t.url,method:"GET"}}),r=Qze(e.data);return X6({...t,data:r})}async function rqe(t){if(!t.includes(ue.NRF))return null;try{const e=await Vae();let r=0,n=0,s=0;return e.forEach(i=>{switch(i.nf_profile.nfStatus){case b_.REGISTERED:r++;break;case b_.SUSPENDED:n++;break;case b_.UNDISCOVERABLE:s++;break}}),X6({group:"control_plane",sub_group:"nrf_profiles",data:{registered_count:r,suspended_count:n,undiscoverable_count:s}})}catch(e){if(e.message!=="canceled")return X6({group:"control_plane",sub_group:"nrf_profiles",data:{registered_count:$.errorKey,suspended_count:$.errorKey,undiscoverable_count:$.errorKey}});throw e}}async function nqe(){const t=await ma(),e=yie(t).map(n=>n.name);return(await Promise.all([...eqe(e).map(async n=>tqe(n)),rqe(e)])).filter(n=>!!n).reduce((n,s)=>Yze(n,s),{})}async function Gae(){const t=$.apis.prometheusAlerts;return(await De({options:{url:t,method:"GET"}})).sort((r,n)=>Z6[r.labels.severity]<Z6[n.labels.severity]?-1:0)}async function Wae(){const[t,e]=await Promise.all([jie(),lN()]),{services:r}=e,n=Ds({services:r,name:ue.ALERTMANAGER});let s=null;if(n&&as(ie.monitoring))try{s=await Gae()}catch(i){console.error(i)}return{info:t,services:r,alerts:s,frontendConfig:e}}const Yae=t=>Object.entries(t).filter(([,e])=>e!=null).reduce((e,[r,n])=>(e[r]=n,e),{}),Kae=t=>!t||t&&Object.keys(t).length===0;async function sqe(t){const e=Object.entries(t);return Promise.all(e.map(([,r])=>r)).then(r=>e.reduce((n,[s],i)=>({...n,[s]:r[i]}),{}))}function hN(t){return!!new URL(t.url).searchParams.has("polling")}async function Wt({loaderArgs:t,deferred:e,data:r}){const{request:n}=t;if(hN(n)||!e)try{const i=await sqe(r);return i===null?{__polling_error:!1}:i}catch{return{__polling_error:!0}}if(e)return Foe(r)}function Na(){const t=he.c(13),[e,r]=hl();let n;e:{let h;t[0]!==e?(h=e.get($.searchParams.pageSize),t[0]=e,t[1]=h):h=t[1];const _=h;if(_&&parseInt(_)){n=parseInt(_);break e}n=$.pageSize}const s=n,i=$.pageSizeOptions,o=iqe;let l;t[2]!==s?(l=h=>{switch(o(h)){case 0:return h.next_token?s*2:s;case 1:return h.next_token?s*3:s*2;case 2:return s*3}},t[2]=s,t[3]=l):l=t[3];const c=l;let u;t[4]!==r?(u=h=>{r(_=>(_.delete($.searchParams.paginationToken),$.pageSizeOptions.includes(h)?_.set($.searchParams.pageSize,h.toString()):_.set($.searchParams.pageSize,$.pageSize.toString()),_),{replace:!0})},t[4]=r,t[5]=u):u=t[5];const d=u;let f;t[6]!==r?(f=h=>_=>{const g=o(h);e:switch(_){case 0:{r(y=>(h.prev_token&&y.set($.searchParams.paginationToken,h.prev_token),y),{replace:!0});break e}case 1:{g===0?r(y=>(h.next_token&&y.set($.searchParams.paginationToken,h.next_token),y),{replace:!0}):r(y=>(h.prev_token&&y.set($.searchParams.paginationToken,h.prev_token),y),{replace:!0});break e}case 2:r(y=>(h.next_token&&y.set($.searchParams.paginationToken,h.next_token),y),{replace:!0})}},t[6]=r,t[7]=f):f=t[7];const p=f;let m;return t[8]!==p||t[9]!==d||t[10]!==c||t[11]!==s?(m={pageSize:s,pageSizeOptions:i,changePageSize:d,changePage:p,getRowsCount:c,getPage:o},t[8]=p,t[9]=d,t[10]=c,t[11]=s,t[12]=m):m=t[12],m}function iqe(t){return t.next_token&&t.prev_token?1:t.next_token?0:t.prev_token?2:0}function Fa(t){const e=new URL(t.request.url),r=e.searchParams.get($.searchParams.pageSize),n=e.searchParams.get($.searchParams.paginationToken);if(!r||r&&!$.pageSizeOptions.includes(+r))throw e.searchParams.set($.searchParams.pageSize,$.pageSize.toString()),rt(e.toString());return{pageSize:r,paginationToken:n}}function Qae(){if(!!Ih())throw rt("/");return!0}function oqe(){if(!!!Ih())throw Gb();return!0}async function aqe({request:t}){const r=new URL(t.url).searchParams.get("returnUrl");await ZTe();let n=$.urls.login;return r&&![$.urls.logout,"/",$.urls.login].includes(r)&&(n=`${n}?returnUrl=${r}`),window.location.href=n,null}function lqe(t){return Qae(),Wt({loaderArgs:t,deferred:!0,data:{frontendConfig:lN(),openIdAuthorization:JTe()}})}async function cqe({request:t}){Qae();const e=new URL(t.url),r=e.searchParams.get("code"),n=e.searchParams.get("iss"),s=e.searchParams.get("session_state")||e.searchParams.get("state");if(!r)throw rt($.urls.login);const i=await e4e({code:r,...n&&{iss:n},...s&&{state:s}});return xt(i)?(Ar(i.error?.detail),rt($.urls.login)):(fie(i),rt($.urls.home))}async function uqe(t){const{pageSize:e,paginationToken:r}=Fa(t),{username:n}=t.params;if(!n)throw Li({type:mn.NOT_FOUND});return Wt({loaderArgs:t,deferred:!0,data:{audits:r4e(n,r||void 0,+e)}})}async function dqe(t){if(Ji.getRestartStatus())throw rt($.urls.restart);oqe();const{request:e}=t;if(!hN(e)){const n=await die();if(oN(n))return Ji.deleteSiteNode(),window.location.href=window.location.pathname,null}return Wt({loaderArgs:t,deferred:!0,data:{bootstrap:Wae()}})}function vY(t){return Wt({loaderArgs:t,deferred:!0,data:{info:jie()}})}const fqe=Pr();async function pqe(t){const{request:e}=t,r=hN(e);try{const n=await die();if(oN(n)&&r){const s=Ji.getSiteNode();Ar(fqe.formatMessage({id:"cluster.site_picker.node_down"},{ip_address:s}))}return n}catch(n){if(r)return{__polling_error:!0};throw n}}const mqe={path:"logout",loader:aqe},Zae=(t,e="")=>{const r=t.path==="/"?t.path:`${e!=="/"?e:""}${t.path&&t.path!=="/"?"/"+t.path:""}`;try{K6(r,[])}catch(n){console.error("FIX ME! ${fullPath}",n)}return{fullPath:r,...t,loader:async n=>{if(Ih()&&!n.request.url.includes($.urls.profile)&&!Aae())throw rt($.urls.unauthorized);if(!Cae(r))return t.loader&&t.loader!==!0?t.loader(n):null;const s=await ma();return K6(r,s),t.loader&&t.loader!==!0?t.loader(n):null},...t.children&&{children:t.children.map(n=>Zae(n,r))}}},en=()=>{const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(gt,{sx:{p:2},children:a.jsx(Tr,{})}),t[0]=e):e=t[0],e};function Or(t){const e=he.c(4),{center:r,fullHeight:n,transparent:s}=t;let i;return e[0]!==r||e[1]!==n||e[2]!==s?(i=a.jsx(lUe,{appBar:!0,navigation:!0,center:r,fullHeight:n,transparent:s}),e[0]=r,e[1]=n,e[2]=s,e[3]=i):i=e[3],i}const Xae=I.createContext(null);function hqe(){const[t,e]=I.useState(null);return I.useEffect(()=>{e(`mui-p-${Math.round(Math.random()*1e5)}`)},[]),t}function gqe(t){const{children:e,value:r}=t,n=hqe(),s=I.useMemo(()=>({idPrefix:n,value:r}),[n,r]);return a.jsx(Xae.Provider,{value:s,children:e})}function Jae(){return I.useContext(Xae)}function ele(t,e){const{idPrefix:r}=t;return r===null?null:`${t.idPrefix}-P-${e}`}function tle(t,e){const{idPrefix:r}=t;return r===null?null:`${t.idPrefix}-T-${e}`}const _qe=I.forwardRef(function(e,r){const{children:n,...s}=e,i=Jae();if(i===null)throw new TypeError("No TabContext provided");const o=I.Children.map(n,l=>I.isValidElement(l)?I.cloneElement(l,{"aria-controls":ele(i,l.props.value),id:tle(i,l.props.value)}):null);return a.jsx(sse,{...s,ref:r,value:i.value,children:o})});function vqe(t){return tr("MuiTabPanel",t)}rr("MuiTabPanel",["root","hidden"]);const yqe=t=>{const{classes:e,hidden:r}=t;return nr({root:["root",r&&"hidden"]},vqe,e)},bqe=Ce("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({padding:t.spacing(3)})),xqe=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTabPanel"}),{children:s,className:i,value:o,keepMounted:l=!1,...c}=n,u={...n},d=yqe(u),f=Jae();if(f===null)throw new TypeError("No TabContext provided");const p=ele(f,o),m=tle(f,o);return a.jsx(bqe,{"aria-labelledby":m,className:lt(d.root,i),hidden:o!==f.value,id:p,ref:r,role:"tabpanel",ownerState:u,...c,children:(l||o===f.value)&&s})});var nn=(t=>(t.DEFAULT="DEFAULT",t.INFO="INFO",t.SUCCESS="SUCCESS",t.WARNING="WARNING",t.ERROR="ERROR",t))(nn||{});function bi(t){const e=he.c(15),{label:r,status:n,asChip:s}=t;let i;e:switch(n){case"SUCCESS":{i="success.main";break e}case"INFO":{i="info.main";break e}case"WARNING":{i="warning.main";break e}case"ERROR":{i="error.main";break e}default:i="divider"}const o=i;if(!r){let f;return e[0]!==o?(f=a.jsx(gt,{sx:{backgroundColor:o,borderRadius:"100px",width:"12px",height:"12px",flex:"0 0 auto"}}),e[0]=o,e[1]=f):f=e[1],f}if(s){let f;e[2]!==o?(f={textTransform:"capitalize",color:"text.primary",fontWeight:"500",backgroundColor:o,px:1,fontSize:"14px"},e[2]=o,e[3]=f):f=e[3];let p;return e[4]!==r||e[5]!==f?(p=a.jsx(ms,{id:r,label:r,size:"small",sx:f}),e[4]=r,e[5]=f,e[6]=p):p=e[6],p}let l;e[7]!==o?(l=a.jsx(gt,{sx:{backgroundColor:o,borderRadius:"100px",width:"12px",height:"12px",flex:"0 0 auto"}}),e[7]=o,e[8]=l):l=e[8];let c;e[9]===Symbol.for("react.memo_cache_sentinel")?(c={textTransform:"capitalize"},e[9]=c):c=e[9];let u;e[10]!==r?(u=a.jsx(_e,{fontWeight:500,lineHeight:"24px",sx:c,type:"body2",children:r}),e[10]=r,e[11]=u):u=e[11];let d;return e[12]!==l||e[13]!==u?(d=a.jsxs(te,{direction:"row",align:"center",nowrap:!0,children:[l,u]}),e[12]=l,e[13]=u,e[14]=d):d=e[14],d}function VA(t){const e=he.c(33),{value:r,tabs:n,centered:s,color:i,onChange:o,fullHeight:l}=t;let c;e[0]!==n?(c=n===void 0?[]:n,e[0]=n,e[1]=c):c=e[1];const u=c,d=s===void 0?!1:s,f=l===void 0?!1:l,[p,m]=I.useState(r||u[0].value);let h,_;e[2]!==r?(h=()=>{r&&m(r)},_=[r],e[2]=r,e[3]=h,e[4]=_):(h=e[3],_=e[4]),I.useEffect(h,_);let g;e[5]!==o?(g=(D,O)=>{m(O),o&&o(O)},e[5]=o,e[6]=g):g=e[6];const y=g;if(!p)return null;let b;e[7]!==f?(b=f&&{height:"100%",maxHeight:"100%",overflow:"auto",display:"flex",flexDirection:"column"},e[7]=f,e[8]=b):b=e[8];let x;e[9]!==b?(x={width:"100%",...b},e[9]=b,e[10]=x):x=e[10];let w;e[11]===Symbol.for("react.memo_cache_sentinel")?(w={position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:0,right:0,height:"1px",backgroundColor:"divider"}},e[11]=w):w=e[11];let C;e[12]===Symbol.for("react.memo_cache_sentinel")?(C={".MuiTabScrollButton-root.Mui-disabled":{opacity:.2}},e[12]=C):C=e[12];let k;e[13]===Symbol.for("react.memo_cache_sentinel")?(k={sx:{height:"4px"}},e[13]=k):k=e[13];let A;e[14]!==u?(A=u.map(Sqe),e[14]=u,e[15]=A):A=e[15];let P;e[16]!==d||e[17]!==i||e[18]!==y||e[19]!==A?(P=a.jsx(gt,{sx:w,children:a.jsx(_qe,{sx:C,variant:"scrollable",allowScrollButtonsMobile:!0,onChange:y,centered:d,indicatorColor:i,TabIndicatorProps:k,children:A})}),e[16]=d,e[17]=i,e[18]=y,e[19]=A,e[20]=P):P=e[20];let T;if(e[21]!==f||e[22]!==u){let D;e[24]!==f?(D=(O,N)=>O.content?a.jsx(xqe,{value:O.value,sx:{p:0,...f&&{flexGrow:"1",maxHeight:"100%",overflow:"auto"}},children:O.content},N):null,e[24]=f,e[25]=D):D=e[25],T=u.map(D),e[21]=f,e[22]=u,e[23]=T}else T=e[23];let j;e[26]!==p||e[27]!==P||e[28]!==T?(j=a.jsxs(gqe,{value:p,children:[P,T]}),e[26]=p,e[27]=P,e[28]=T,e[29]=j):j=e[29];let R;return e[30]!==j||e[31]!==x?(R=a.jsx(gt,{sx:x,children:j}),e[30]=j,e[31]=x,e[32]=R):R=e[32],R}function Sqe(t,e){return a.jsx(p6,{label:a.jsxs(T1e,{direction:"row",alignItems:"center",spacing:1,children:[t.status&&a.jsx(bi,{status:t.status}),t.error&&a.jsx(gt,{color:"error.main",sx:{display:"flex",justifyContent:"flex-end"},children:a.jsx(ge.StatusErrorSmall,{})}),a.jsx("div",{children:t.label})]}),sx:{textTransform:"capitalize",fontSize:"1rem",fontWeight:400,"&.Mui-selected":{fontWeight:600,color:"primary.main"}},disabled:!!t.disabled,value:t.value},e)}const Ao=t=>{const e=he.c(25),{tabs:r,keepQueryParams:n}=t,s=n===void 0?!1:n,i=Lp("."),o=ys(),l=WL(),c=to();let u;e[0]!==s||e[1]!==c.search||e[2]!==o?(u=k=>{s?o(`${k}${c.search}`,{replace:!0}):o(k,{replace:!0})},e[0]=s,e[1]=c.search,e[2]=o,e[3]=u):u=e[3];const d=u;let f;if(e[4]!==i||e[5]!==r){let k;e[7]!==i?(k=A=>({...A,url:`${i.pathname}/${A.url}`}),e[7]=i,e[8]=k):k=e[8],f=r.map(k),e[4]=i,e[5]=r,e[6]=f}else f=e[6];const p=f;let m;if(e[9]!==l||e[10]!==p){let k;e[12]!==l?(k=A=>l.map(Cqe).includes(A),e[12]=l,e[13]=k):k=e[13],m=p.map(wqe).find(k),e[9]=l,e[10]=p,e[11]=m}else m=e[11];const _=m??p[0].url;let g;e[14]===Symbol.for("react.memo_cache_sentinel")?(g={overflow:"hidden"},e[14]=g):g=e[14];let y;e[15]===Symbol.for("react.memo_cache_sentinel")?(y={flex:"0 0 auto"},e[15]=y):y=e[15];let b;e[16]!==d||e[17]!==p||e[18]!==_?(b=p?.length>0&&a.jsx(VA,{value:_,tabs:p.map(Aqe),onChange:d}),e[16]=d,e[17]=p,e[18]=_,e[19]=b):b=e[19];let x;e[20]!==b?(x=a.jsx(te,{sx:y,children:b}),e[20]=b,e[21]=x):x=e[21];let w;e[22]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(te,{fullHeight:!0,sx:{flex:"1 1 auto"},children:a.jsx(Bd,{})}),e[22]=w):w=e[22];let C;return e[23]!==x?(C=a.jsxs(te,{fullHeight:!0,nowrap:!0,sx:g,spacing:0,children:[x,w]}),e[23]=x,e[24]=C):C=e[24],C};function wqe(t){return t.url}function Cqe(t){return t.pathname}function Aqe(t){const{url:e,label:r,status:n}=t;return{value:e,label:r,status:n}}const kqe=t=>{const e=typeof t;return t!==null&&(e==="object"||e==="function")},PR=new Set(["__proto__","prototype","constructor"]),Mqe=new Set("0123456789");function Pqe(t){const e=[];let r="",n="start",s=!1;for(const i of t)switch(i){case"\\":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd")throw new Error("Invalid character after an index");s&&(r+=i),n="property",s=!s;break}case".":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd"){n="property";break}if(s){s=!1,r+=i;break}if(PR.has(r))return[];e.push(r),r="",n="property";break}case"[":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd"){n="index";break}if(s){s=!1,r+=i;break}if(n==="property"){if(PR.has(r))return[];e.push(r),r=""}n="index";break}case"]":{if(n==="index"){e.push(Number.parseInt(r,10)),r="",n="indexEnd";break}if(n==="indexEnd")throw new Error("Invalid character after an index")}default:{if(n==="index"&&!Mqe.has(i))throw new Error("Invalid character in an index");if(n==="indexEnd")throw new Error("Invalid character after an index");n==="start"&&(n="property"),s&&(s=!1,r+="\\"),r+=i}}switch(s&&(r+="\\"),n){case"property":{if(PR.has(r))return[];e.push(r);break}case"index":throw new Error("Index was not closed");case"start":{e.push("");break}}return e}function jqe(t,e){if(typeof e!="number"&&Array.isArray(t)){const r=Number.parseInt(e,10);return Number.isInteger(r)&&t[r]===t[e]}return!1}function Tqe(t,e,r){if(!kqe(t)||typeof e!="string")return t;const n=Pqe(e);if(n.length===0)return r;for(let s=0;s<n.length;s++){const i=n[s];if(jqe(t,i)?t=s===n.length-1?void 0:null:t=t[i],t==null){if(s!==n.length-1)return r;break}}return t===void 0?r:t}function da(t){const e=he.c(29),{disabled:r,color:n,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checkedIcon:f,checked:p,icon:m,indeterminate:h,indeterminateIcon:_,name:g,customColor:y,sx:b,label:x}=t,w=x===void 0?"":x,C=w?"inherit":0;let k;e[0]!==C?(k={mx:C},e[0]=C,e[1]=k):k=e[1];let A;e[2]!==y?(A=y&&{"&.Mui-checked svg":{color:y}},e[2]=y,e[3]=A):A=e[3];let P;e[4]!==b||e[5]!==A?(P={...b,...A},e[4]=b,e[5]=A,e[6]=P):P=e[6];let T;e[7]!==p||e[8]!==f||e[9]!==n||e[10]!==o||e[11]!==c||e[12]!==u||e[13]!==m||e[14]!==h||e[15]!==_||e[16]!==g||e[17]!==i||e[18]!==l||e[19]!==s||e[20]!==P||e[21]!==d?(T=a.jsx(XL,{color:n,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checked:p,checkedIcon:f,icon:m,indeterminate:h,name:g,indeterminateIcon:_,sx:P}),e[7]=p,e[8]=f,e[9]=n,e[10]=o,e[11]=c,e[12]=u,e[13]=m,e[14]=h,e[15]=_,e[16]=g,e[17]=i,e[18]=l,e[19]=s,e[20]=P,e[21]=d,e[22]=T):T=e[22];let j;return e[23]!==p||e[24]!==r||e[25]!==w||e[26]!==k||e[27]!==T?(j=a.jsx(Rv,{disabled:r,sx:k,checked:p,control:T,label:w}),e[23]=p,e[24]=r,e[25]=w,e[26]=k,e[27]=T,e[28]=j):j=e[28],j}const Eqe=I.forwardRef((t,e)=>{const r=he.c(8),{autoScale:n,children:s}=t;let i;r[0]!==n?(i=n&&{height:"calc(100% - 52px)",overflow:"auto",width:"100%",maxHeight:"calc(100% - 52px)",position:"relative"},r[0]=n,r[1]=i):i=r[1];let o;r[2]!==i?(o={...i},r[2]=i,r[3]=o):o=r[3];let l;return r[4]!==s||r[5]!==e||r[6]!==o?(l=a.jsx(uFe,{sx:o,ref:e,children:s}),r[4]=s,r[5]=e,r[6]=o,r[7]=l):l=r[7],l});function Rqe(t){const e=he.c(27),{selectable:r,selectedRows:n,selectedAllRows:s,rowsCount:i,rowsPerPage:o,showFirstLastButton:l,page:c,hidePagination:u,onPageChange:d,rowsPerPageOptions:f,onRowsPerPageChange:p,labelDisplayedRows:m,loading:h,customFooterComponent:_,hideRowsCount:g}=t,y=g===void 0?!1:g,b=h?"0.5":1;let x;e[0]!==b?(x={opacity:b},e[0]=b,e[1]=x):x=e[1];let w;e[2]!==_?(w=_&&a.jsx(gt,{sx:{ml:2,flexGrow:1,justifySelf:"flex-start"},children:_}),e[2]=_,e[3]=w):w=e[3];let C;e[4]!==r||e[5]!==s||e[6]!==n?(C=r&&a.jsxs(gt,{sx:{flexShrink:0,ml:2},children:[n?.length?a.jsxs(_e,{type:"body2",children:[n.length," ",`row${n.length>1?"s":""}`," selected"]}):null,s&&a.jsx(_e,{type:"body2",children:"All rows selected"})]}),e[4]=r,e[5]=s,e[6]=n,e[7]=C):C=e[7];let k;e[8]===Symbol.for("react.memo_cache_sentinel")?(k={flexShrink:0},e[8]=k):k=e[8];let A;e[9]!==u||e[10]!==y||e[11]!==m||e[12]!==d||e[13]!==p||e[14]!==c||e[15]!==i||e[16]!==o||e[17]!==f||e[18]!==l?(A=u?y?null:a.jsx(tN,{variant:"dense",children:a.jsxs(gt,{sx:{marginTop:2,marginBottom:2},children:[a.jsxs(_e,{type:"body2",children:[i," Rows"]})," "]})}):a.jsx(TFe,{rowsPerPageOptions:f||[-1],component:"div",count:i,rowsPerPage:o,page:c,onPageChange:d,onRowsPerPageChange:p,showFirstButton:l,showLastButton:l,labelDisplayedRows:m,sx:{"& .MuiTablePagination-actions":{display:"flex",ml:1},"& .MuiSelect-select":{pt:"5px"}}}),e[9]=u,e[10]=y,e[11]=m,e[12]=d,e[13]=p,e[14]=c,e[15]=i,e[16]=o,e[17]=f,e[18]=l,e[19]=A):A=e[19];let P;e[20]!==A?(P=a.jsx(gt,{sx:k,children:A}),e[20]=A,e[21]=P):P=e[21];let T;return e[22]!==x||e[23]!==w||e[24]!==C||e[25]!==P?(T=a.jsxs(QL,{direction:"row",justifyContent:"flex-end",alignItems:"center",spacing:1,sx:x,children:[w,C,P]}),e[22]=x,e[23]=w,e[24]=C,e[25]=P,e[26]=T):T=e[26],T}const w2=Ce(na,{shouldForwardProp:t=>t!=="loading"})(({theme:t,loading:e})=>({borderBottom:e?"0":`1px solid ${t.palette.divider}`})),Iqe=Ce(FFe)(({theme:t})=>({"&.Mui-active, &":{"& .MuiTableSortLabel-icon":{color:t.palette.primary.main}}}));function Dqe(t){const e=he.c(56),{rowsCount:r,columns:n,order:s,orderBy:i,onSort:o,rowActions:l,loading:c,selectable:u,selectedRows:d,selectedAllRows:f,onSelectedAllRows:p,fullColSpan:m,rowDetail:h,disableSelectAll:_,stickyRowActions:g,dense:y}=t,b=ci();let x;e[0]!==o||e[1]!==s||e[2]!==i?(x=H=>{const K=i===H.key&&s===Gl.ASC?Gl.DESC:Gl.ASC,q=H.key;o&&o(K,q)},e[0]=o,e[1]=s,e[2]=i,e[3]=x):x=e[3];const w=x,C=!!(d&&d.length&&d.length<r&&r>0),k=!!(d&&d.length&&d.length===r&&r>0||f);let A;e[4]!==b.palette.background.paper?(A=br(b.palette.background.paper,.5),e[4]=b.palette.background.paper,e[5]=A):A=e[5];let P;e[6]!==l?.length?(P=l?.length&&{"&:last-child":{backdropFilter:"none"}},e[6]=l?.length,e[7]=P):P=e[7];let T;e[8]!==A||e[9]!==P?(T={"& th":{background:"transparent",backdropFilter:"blur(12px)",backgroundColor:A,...P}},e[8]=A,e[9]=P,e[10]=T):T=e[10];let j;e[11]!==y||e[12]!==c||e[13]!==h?(j=h&&a.jsx(w2,{loading:c,variant:"head",padding:"checkbox",sx:{fontSize:"16px",width:"48px",minWidth:"48px",...y&&{p:1}},children:a.jsx(te,{align:"center",justify:"center",children:a.jsx(ge.Info,{})})}),e[11]=y,e[12]=c,e[13]=h,e[14]=j):j=e[14];let R;e[15]!==y||e[16]!==_||e[17]!==k||e[18]!==C||e[19]!==c||e[20]!==p||e[21]!==u?(R=u&&a.jsx(w2,{loading:c,variant:"head",padding:"checkbox",children:!_&&a.jsx(da,{color:"primary",indeterminate:C,checked:k,onChange:p,disabled:c,size:y?"small":"medium"})}),e[15]=y,e[16]=_,e[17]=k,e[18]=C,e[19]=c,e[20]=p,e[21]=u,e[22]=R):R=e[22];let D;if(e[23]!==n||e[24]!==y||e[25]!==w||e[26]!==c||e[27]!==s||e[28]!==i){let H;e[30]!==y||e[31]!==w||e[32]!==c||e[33]!==s||e[34]!==i?(H=(W,K)=>a.jsx(w2,{align:W.numeric?"right":"left",sortDirection:i===W.key?s:!1,variant:"head",loading:c,sx:{fontWeight:"600",maxWidth:W.maxWidth?`${W.maxWidth}px`:"inherit",minWidth:W.minWidth?`${W.minWidth}px`:"inherit",width:W.width?`${W.width}px`:"inherit",...y&&{p:.5,pr:2}},children:a.jsx(Iqe,{active:W.sortable?i===W.key:!1,direction:i===W.key?s:Gl.ASC,onClick:()=>{W.sortable&&w(W)},sx:W.sortable?void 0:{cursor:"auto","&:hover":{color:"text.primary"},"& .MuiTableSortLabel-icon":{display:"none"}},children:W.label})},`${String(W.key)}-${K}`),e[30]=y,e[31]=w,e[32]=c,e[33]=s,e[34]=i,e[35]=H):H=e[35],D=n.map(H),e[23]=n,e[24]=y,e[25]=w,e[26]=c,e[27]=s,e[28]=i,e[29]=D}else D=e[29];let O;e[36]!==c||e[37]!==l?.length||e[38]!==g||e[39]!==b.palette.background.paper?(O=l?.length?a.jsx(w2,{padding:"checkbox",loading:c,sx:{...g&&{position:"sticky",right:0,backdropFilter:"blur(12px) !important",backgroundColor:`${br(b.palette.background.paper,.5)}`}}}):null,e[36]=c,e[37]=l?.length,e[38]=g,e[39]=b.palette.background.paper,e[40]=O):O=e[40];let N;e[41]!==j||e[42]!==R||e[43]!==D||e[44]!==O?(N=a.jsxs(d_,{children:[j,R,D,O]}),e[41]=j,e[42]=R,e[43]=D,e[44]=O,e[45]=N):N=e[45];let F;e[46]!==T||e[47]!==N?(F=a.jsx(OW,{sx:T,children:N}),e[46]=T,e[47]=N,e[48]=F):F=e[48];let U;e[49]!==y||e[50]!==m||e[51]!==c?(U=c?a.jsx(OW,{sx:{position:"sticky",top:y?"33px":"58px",left:0,right:0,zIndex:3},children:a.jsx(d_,{children:a.jsx(na,{colSpan:m,sx:{p:0,border:0},children:a.jsx(Nc,{color:"primary",thickness:1})})})}):null,e[49]=y,e[50]=m,e[51]=c,e[52]=U):U=e[52];let z;return e[53]!==F||e[54]!==U?(z=a.jsxs(a.Fragment,{children:[F,U]}),e[53]=F,e[54]=U,e[55]=z):z=e[55],z}var Gl=(t=>(t.ASC="asc",t.DESC="desc",t))(Gl||{});const $qe=Array.from({length:4});function Br(t){const e=he.c(153),{order:r,orderBy:n,columns:s,data:i,rowsCount:o,page:l,rowsPerPage:c,rowKey:u,onSort:d,rowActions:f,rowDetail:p,onPageChange:m,showFirstLastButton:h,loading:_,noDataText:g,autoScale:y,selectable:b,selectedRows:x,selectedAllRows:w,onSelectedRow:C,hidePagination:k,hideRowsCount:A,onRowsPerPageChange:P,rowsPerPageOptions:T,labelDisplayedRows:j,disableSelectAll:R,stickyRowActions:D,customRowSx:O,customFooterComponent:N,dense:F,onRowClick:U,containerRef:z}=t,H=r===void 0?"asc":r,W=g===void 0?"No data to display":g,K=As();let q;e[0]!==x?(q=x||[],e[0]=x,e[1]=q):q=e[1];const[X,Q]=I.useState(q),[Y,Z]=I.useState(!!w);let re;e[2]===Symbol.for("react.memo_cache_sentinel")?(re=[],e[2]=re):re=e[2];const[fe,de]=I.useState(re),{menuOpen:se,menuClose:le}=Jt();let ee;e[3]!==f?(ee=f?.filter(Nqe),e[3]=f,e[4]=ee):ee=e[4];const J=ee;let me;e[5]!==f?(me=f?.filter(Lqe),e[5]=f,e[6]=me):me=e[6];const pe=me,Se=Oqe;let ve;e[7]!==m?(ve=(Ae,ze)=>{m&&m(ze)},e[7]=m,e[8]=ve):ve=e[8];const xe=ve;let qe;e[9]!==P?(qe=Ae=>{const ze=Ae.target.value;P&&P(parseInt(ze))},e[9]=P,e[10]=qe):qe=e[10];const Le=qe;let Te;e[11]!==le||e[12]!==se||e[13]!==pe?(Te=(Ae,ze,_t)=>{pe&&(Ae.stopPropagation(),se({anchorEl:Ae.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:pe.filter(jt=>{const{hidden:Gt}=jt;return Gt?!Gt(ze,_t):!0}).map(jt=>{const{label:Gt,onClick:Yt,disabled:Rt,icon:At}=jt;return{label:Gt,value:Gt,disabled:typeof Rt=="function"?Rt(ze,_t):Rt,icon:At,onClick:()=>{le(),Yt(ze,_t)}}})}))},e[11]=le,e[12]=se,e[13]=pe,e[14]=Te):Te=e[14];const je=Te;let Ge;e[15]!==fe?(Ge=Ae=>fe.includes(Ae),e[15]=fe,e[16]=Ge):Ge=e[16];const nt=Ge;let Re;e[17]!==p?(Re=Ae=>p?typeof p.disabled=="function"?p.disabled(Ae):p.disabled:!0,e[17]=p,e[18]=Re):Re=e[18];const we=Re;let Me;e[19]!==nt||e[20]!==fe?(Me=Ae=>{const ze=nt(Ae);let _t;ze?_t=fe.filter(jt=>jt!==Ae):_t=[...fe,Ae],de(_t)},e[19]=nt,e[20]=fe,e[21]=Me):Me=e[21];const $e=Me;let Ve;e[22]!==Y||e[23]!==X?(Ve=Ae=>X.includes(Ae)||Y,e[22]=Y,e[23]=X,e[24]=Ve):Ve=e[24];const Ne=Ve;let Oe;e[25]!==Ne||e[26]!==C||e[27]!==b||e[28]!==X?(Oe=(Ae,ze)=>{if(!b)return;const _t=Ne(Ae);let jt;_t?jt=X.filter(Gt=>Gt!==Ae):jt=[...X,Ae],Q(jt),C&&C(jt,!1,ze,_t?1:0)},e[25]=Ne,e[26]=C,e[27]=b,e[28]=X,e[29]=Oe):Oe=e[29];const ft=Oe;let Ct;e[30]!==C||e[31]!==Y?(Ct=()=>{const Ae=[],ze=!Y;Z(ze),Q(Ae),C&&C(Ae,ze,null,ze?2:3)},e[30]=C,e[31]=Y,e[32]=Ct):Ct=e[32];const Et=Ct,at=s.length+(f?.length?1:0)+(p?1:0)+(b?1:0);let $t,Ee;e[33]!==w?($t=()=>{Z(!!w)},Ee=[w],e[33]=w,e[34]=$t,e[35]=Ee):($t=e[34],Ee=e[35]),I.useEffect($t,Ee);let Be,qt;e[36]!==x?(Be=()=>{x&&Q(x)},qt=[x],e[36]=x,e[37]=Be,e[38]=qt):(Be=e[37],qt=e[38]),I.useEffect(Be,qt);let ar;e[39]!==y?(ar=y&&{overflow:"hidden",maxHeight:"100%"},e[39]=y,e[40]=ar):ar=e[40];const hr=_?"none":"inherit";let ir;e[41]!==ar||e[42]!==hr?(ir={width:"100%",height:"100%",flex:"1 1 auto",...ar,pointerEvents:hr},e[41]=ar,e[42]=hr,e[43]=ir):ir=e[43];const cr=!!p;let kr;e[44]!==s||e[45]!==F||e[46]!==R||e[47]!==at||e[48]!==Et||e[49]!==_||e[50]!==d||e[51]!==H||e[52]!==n||e[53]!==f||e[54]!==o||e[55]!==b||e[56]!==Y||e[57]!==X||e[58]!==D||e[59]!==cr?(kr=a.jsx(Dqe,{rowsCount:o,order:H,orderBy:n,columns:s,onSort:d,rowActions:f,loading:_,selectable:b,disableSelectAll:R,selectedRows:X,selectedAllRows:Y,onSelectedAllRows:Et,fullColSpan:at,rowDetail:cr,stickyRowActions:D,dense:F}),e[44]=s,e[45]=F,e[46]=R,e[47]=at,e[48]=Et,e[49]=_,e[50]=d,e[51]=H,e[52]=n,e[53]=f,e[54]=o,e[55]=b,e[56]=Y,e[57]=X,e[58]=D,e[59]=cr,e[60]=kr):kr=e[60];let Rr;if(e[61]!==s||e[62]!==O||e[63]!==i||e[64]!==F||e[65]!==at||e[66]!==je||e[67]!==$e||e[68]!==ft||e[69]!==k||e[70]!==A||e[71]!==we||e[72]!==nt||e[73]!==Ne||e[74]!==_||e[75]!==U||e[76]!==p||e[77]!==u||e[78]!==b||e[79]!==Y||e[80]!==D||e[81]!==K||e[82]!==J||e[83]!==pe){let Ae;e[85]!==s||e[86]!==O||e[87]!==F||e[88]!==at||e[89]!==je||e[90]!==$e||e[91]!==ft||e[92]!==k||e[93]!==A||e[94]!==we||e[95]!==nt||e[96]!==Ne||e[97]!==_||e[98]!==U||e[99]!==p||e[100]!==u||e[101]!==b||e[102]!==Y||e[103]!==D||e[104]!==K||e[105]!==J||e[106]!==pe?(Ae=(ze,_t)=>{const jt=we(ze),Gt=O?O(ze):{};return a.jsxs(I.Fragment,{children:[a.jsxs(d_,{tabIndex:-1,"data-testid":`row-key-${ze[u]}`,selected:Ne(ze[u]),sx:{opacity:_?.5:1,transition:"opacity 300ms",...U&&{cursor:"pointer","&:hover":{backgroundColor:"divider"}},...k&&A&&{"&:last-child td":{borderBottomColor:"transparent"}},...Gt},onClick:()=>{U&&U(ze)},children:[p&&a.jsx(na,{padding:"checkbox",sx:{p:0,pl:.1,width:"48px",minWidth:"48px",position:"relative"},children:a.jsx(Zr,{size:F?"small":"medium",onClick:()=>{$e(ze[u])},disabled:jt,sx:{p:0,pl:.1,position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",borderRadius:0,...jt&&{opacity:.4}},children:nt(ze[u])?a.jsx(ge.Minus,{}):a.jsx(ge.Plus,{})})}),b&&a.jsx(na,{padding:"checkbox",children:a.jsx(da,{color:"primary",size:F?"small":"medium",checked:Ne(ze[u]),onChange:()=>ft(ze[u],ze),disabled:Y})}),s.map((Yt,Rt)=>a.jsx(na,{align:Yt.numeric?"right":"left",sx:{maxWidth:Yt.maxWidth?`${Yt.maxWidth}px`:"inherit",minWidth:Yt.minWidth?`${Yt.minWidth}px`:"inherit",width:Yt.width?`${Yt.width}px`:"inherit",wordBreak:Yt.wordBreak?Yt.wordBreak:"inherit",whiteSpace:Yt.whiteSpace?Yt.whiteSpace:"inherit",...F&&{py:0,pl:.5,pr:2}},children:Se(Yt,ze,_t)},`${String(Yt.key)}-${Rt}-${_t}`)),J||pe?a.jsx(na,{align:"right",sx:{...D&&{position:"sticky",backdropFilter:"blur(12px) !important",backgroundColor:`${br(K.palette.background.paper,.5)}`,borderLeft:"1px solid",borderLeftColor:"divider",right:0,px:1.5,py:0}},children:a.jsxs(te,{direction:"row",nowrap:!0,align:"center",justify:"flex-end",children:[J?.map((Yt,Rt)=>a.jsx(hae,{title:Yt.label,children:a.jsx("div",{children:a.jsx(Zr,{size:"small",onClick:()=>Yt.onClick(ze,_t),disabled:typeof Yt.disabled=="function"?Yt.disabled(ze,_t):Yt.disabled,children:Yt.icon})})},Rt)),!!pe?.length&&a.jsx(Zr,{size:"small",onClick:Yt=>je(Yt,ze,_t),children:a.jsx(ge.More,{size:24})})]})}):null]}),p&&!we(ze)&&a.jsx(d_,{children:a.jsx(na,{colSpan:at,sx:{p:0,borderBottom:0},children:a.jsx(Qb,{in:nt(ze[u]),children:a.jsx(gt,{sx:{p:F?1:2,pl:F?6:8,borderBottom:"1px solid",borderColor:"divider"},children:p.content(ze)})})})})]},`${ze[u]}-${_t}}`)},e[85]=s,e[86]=O,e[87]=F,e[88]=at,e[89]=je,e[90]=$e,e[91]=ft,e[92]=k,e[93]=A,e[94]=we,e[95]=nt,e[96]=Ne,e[97]=_,e[98]=U,e[99]=p,e[100]=u,e[101]=b,e[102]=Y,e[103]=D,e[104]=K,e[105]=J,e[106]=pe,e[107]=Ae):Ae=e[107],Rr=i.map(Ae),e[61]=s,e[62]=O,e[63]=i,e[64]=F,e[65]=at,e[66]=je,e[67]=$e,e[68]=ft,e[69]=k,e[70]=A,e[71]=we,e[72]=nt,e[73]=Ne,e[74]=_,e[75]=U,e[76]=p,e[77]=u,e[78]=b,e[79]=Y,e[80]=D,e[81]=K,e[82]=J,e[83]=pe,e[84]=Rr}else Rr=e[84];let Ut;e[108]!==s||e[109]!==i.length||e[110]!==_||e[111]!==f?.length||e[112]!==p||e[113]!==b?(Ut=!i.length&&_?$qe.map((Ae,ze)=>a.jsxs(d_,{children:[p&&a.jsx(na,{children:a.jsx(Dt,{variant:"rectangular"})}),b&&a.jsx(na,{children:a.jsx(Dt,{variant:"rectangular"})}),s.map((_t,jt)=>a.jsx(na,{children:a.jsx(Dt,{variant:"rectangular"})},`${String(_t.key)}-${jt}-${ze}`)),f?.length?a.jsx(na,{children:a.jsx(Dt,{variant:"rectangular"})}):null]},`skeleton-${ze}`)):null,e[108]=s,e[109]=i.length,e[110]=_,e[111]=f?.length,e[112]=p,e[113]=b,e[114]=Ut):Ut=e[114];let fn;e[115]!==i.length||e[116]!==at||e[117]!==_||e[118]!==W?(fn=!i.length&&!_?a.jsx(d_,{children:a.jsx(na,{colSpan:at,sx:{p:2,border:0},children:a.jsx(Lr,{severity:"info",message:W,sx:{backgroundColor:"divider"}})})}):null,e[115]=i.length,e[116]=at,e[117]=_,e[118]=W,e[119]=fn):fn=e[119];let Zt;e[120]!==Rr||e[121]!==Ut||e[122]!==fn?(Zt=a.jsxs(rFe,{children:[Rr,Ut,fn]}),e[120]=Rr,e[121]=Ut,e[122]=fn,e[123]=Zt):Zt=e[123];let _r;e[124]!==y||e[125]!==kr||e[126]!==Zt?(_r=a.jsxs(Z9e,{stickyHeader:y,children:[kr,Zt]}),e[124]=y,e[125]=kr,e[126]=Zt,e[127]=_r):_r=e[127];let st;e[128]!==y||e[129]!==z||e[130]!==_r?(st=a.jsx(Eqe,{autoScale:y,ref:z,children:_r}),e[128]=y,e[129]=z,e[130]=_r,e[131]=st):st=e[131];let wt;e[132]!==N||e[133]!==i.length||e[134]!==xe||e[135]!==Le||e[136]!==k||e[137]!==A||e[138]!==j||e[139]!==_||e[140]!==l||e[141]!==o||e[142]!==c||e[143]!==T||e[144]!==b||e[145]!==Y||e[146]!==X||e[147]!==h?(wt=i.length>0&&a.jsx(Rqe,{customFooterComponent:N,selectable:b,selectedRows:X,selectedAllRows:Y,rowsCount:o,rowsPerPage:c,page:l,showFirstLastButton:h,hidePagination:k,hideRowsCount:A,onPageChange:xe,onRowsPerPageChange:Le,rowsPerPageOptions:T,labelDisplayedRows:j,loading:_}),e[132]=N,e[133]=i.length,e[134]=xe,e[135]=Le,e[136]=k,e[137]=A,e[138]=j,e[139]=_,e[140]=l,e[141]=o,e[142]=c,e[143]=T,e[144]=b,e[145]=Y,e[146]=X,e[147]=h,e[148]=wt):wt=e[148];let Pe;return e[149]!==ir||e[150]!==st||e[151]!==wt?(Pe=a.jsxs(gt,{sx:ir,children:[st,wt]}),e[149]=ir,e[150]=st,e[151]=wt,e[152]=Pe):Pe=e[152],Pe}function Oqe(t,e,r){const n=Tqe(e,t.key.toString()),s=typeof n>"u"||n===null;return t.cellRender?t.cellRender(e,r):s?"":a.jsx(_e,{type:"body2",children:`${n}`})}function Lqe(t){return t.wrapped}function Nqe(t){return!t.wrapped}function Fqe(){const t=he.c(19),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"aaa.status.radius.local_addr"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"local_addr",label:s},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"aaa.status.radius.local_port"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"local_port",label:o},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==i||t[9]!==l?(c=[i,l],t[8]=i,t[9]=l,t[10]=c):c=t[10];const u=c;let d;t[11]===Symbol.for("react.memo_cache_sentinel")?(d=a.jsx(mb,{variant:"rounded",height:"100%",sx:{m:2}}),t[11]=d):d=t[11];let f;t[12]===Symbol.for("react.memo_cache_sentinel")?(f=a.jsx(en,{}),t[12]=f):f=t[12];let p;t[13]!==u||t[14]!==n.state?(p=h=>a.jsx(Br,{autoScale:!0,data:h||[],orderBy:"local_addr",page:0,loading:n.state!=="idle",rowsCount:h?.length,rowsPerPage:h?.length,rowKey:"local_addr",columns:u,hidePagination:!0}),t[13]=u,t[14]=n.state,t[15]=p):p=t[15];let m;return t[16]!==r.radiusStatus||t[17]!==p?(m=a.jsx(I.Suspense,{fallback:d,children:a.jsx(Qt,{resolve:r.radiusStatus,errorElement:f,children:p})}),t[16]=r.radiusStatus,t[17]=p,t[18]=m):m=t[18],m}const Uqe=async()=>{const t=`${$.apis.aaa.radius.status}`;return De({options:{url:t,method:"GET"}})};async function Bqe(t){return Wt({loaderArgs:t,deferred:!0,data:{radiusStatus:Uqe()}})}const yY=Pr();function zqe(t){const{dev:e,port:r,host:n,tos:s,name:i}=t;return{erlang:{distribution:{host:n,name:i,port:+r,...e!==""&&{dev:e},...s!==""&&{tos:+s}}}}}function qqe(t){const{dev:e,port:r,host:n,tos:s,name:i}=t.erlang.distribution;return{dev:e??"",port:+r,host:n,tos:s??"",name:i}}const Vqe=dr().shape({dev:We(),host:We().required(yY.formatMessage({id:"network_configuration.form.errors.required"})),name:We().required(yY.formatMessage({id:"network_configuration.form.errors.required"})),port:kn().required().min(1025).max(65535),tos:kn().min(0).max(255)}),Hqe=Pr(),Gqe=dr().shape({node:We().required(Hqe.formatMessage({id:"cluster.form.errors.required"})).strict(!0)}),Wqe=dr().shape({force:li()});function Yqe(t){const e=he.c(6);let r,n;e[0]!==t?({children:r,...n}=t,e[0]=t,e[1]=r,e[2]=n):(r=e[1],n=e[2]);let s;return e[3]!==r||e[4]!==n?(s=a.jsx(dne,{...n,children:r}),e[3]=r,e[4]=n,e[5]=s):s=e[5],s}function dt(t){const e=he.c(86);let r,n,s,i,o,l,c,u,d,f,p,m,h,_,g,y,b,x,w,C,k,A,P,T,j;e[0]!==t?({color:n,disabled:s,size:k,variant:j,label:u,error:i,fullWidth:o,helperText:l,multiline:f,name:p,value:T,placeholder:y,required:x,onChange:h,onKeyDown:_,onBlur:m,InputProps:r,tooltip:A,type:P,min:d,pattern:g,sx:C,inputProps:c,showPasswordVisibility:w,...b}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d,e[10]=f,e[11]=p,e[12]=m,e[13]=h,e[14]=_,e[15]=g,e[16]=y,e[17]=b,e[18]=x,e[19]=w,e[20]=C,e[21]=k,e[22]=A,e[23]=P,e[24]=T,e[25]=j):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9],f=e[10],p=e[11],m=e[12],h=e[13],_=e[14],g=e[15],y=e[16],b=e[17],x=e[18],w=e[19],C=e[20],k=e[21],A=e[22],P=e[23],T=e[24],j=e[25]);const R=k===void 0?"small":k,[D,O]=I.useState(!1);let N;e[26]!==D?(N=()=>{O(!D)},e[26]=D,e[27]=N):N=e[27];const F=N,U=iN(),z=!!f;let H;e[28]!==p?(H=p&&{"data-testid":`field-${p}`},e[28]=p,e[29]=H):H=e[29];let W;e[30]!==p?(W=p&&{"data-testid":`field-input-${p}`},e[30]=p,e[31]=W):W=e[31];let K;e[32]!==d||e[33]!==P?(K=P==="number"&&{step:"any",min:d},e[32]=d,e[33]=P,e[34]=K):K=e[34];let q;e[35]!==P?(q=P==="time"&&{step:"1"},e[35]=P,e[36]=q):q=e[36];let X;e[37]!==c||e[38]!==g||e[39]!==W||e[40]!==K||e[41]!==q?(X={...W,pattern:g,...K,...q,...c},e[37]=c,e[38]=g,e[39]=W,e[40]=K,e[41]=q,e[42]=X):X=e[42];const Q=U&&U,Y=D?void 0:P;let Z;e[43]!==r?.endAdornment||e[44]!==A?(Z=A&&{endAdornment:a.jsxs(gt,{sx:{display:"flex",alignItems:"center"},children:[r?.endAdornment,a.jsx(Mn,{title:A,arrow:!0,children:a.jsx("span",{children:a.jsx(ge.Info,{})})})]})},e[43]=r?.endAdornment,e[44]=A,e[45]=Z):Z=e[45];let re;e[46]!==F||e[47]!==p||e[48]!==D||e[49]!==w?(re=w&&{endAdornment:a.jsx(Yqe,{position:"end",children:a.jsx(Zr,{"data-testid":`field-${p}-button-showPassword`,"aria-label":"toggle password visibility",onClick:F,children:D?a.jsx(ge.PasswordHide,{}):a.jsx(ge.PasswordView,{})})})},e[46]=F,e[47]=p,e[48]=D,e[49]=w,e[50]=re):re=e[50];let fe;e[51]!==r||e[52]!==Y||e[53]!==Z||e[54]!==re||e[55]!==Q?(fe={...Q,type:Y,...Z,...re,...r},e[51]=r,e[52]=Y,e[53]=Z,e[54]=re,e[55]=Q,e[56]=fe):fe=e[56];let de;e[57]===Symbol.for("react.memo_cache_sentinel")?(de={opacity:.7},e[57]=de):de=e[57];let se;e[58]!==A?(se=A&&{".MuiAutocomplete-endAdornment":{position:"relative"},input:{width:"calc(100% - 40px)"}},e[58]=A,e[59]=se):se=e[59];let le;e[60]!==C||e[61]!==se?(le={...C,position:"relative",".Mui-disabled":de,...se},e[60]=C,e[61]=se,e[62]=le):le=e[62];let ee;return e[63]!==n||e[64]!==s||e[65]!==i||e[66]!==o||e[67]!==l||e[68]!==u||e[69]!==f||e[70]!==p||e[71]!==m||e[72]!==h||e[73]!==_||e[74]!==y||e[75]!==b||e[76]!==x||e[77]!==R||e[78]!==fe||e[79]!==le||e[80]!==z||e[81]!==H||e[82]!==X||e[83]!==T||e[84]!==j?(ee=a.jsx(k0,{...b,name:p,value:T,color:n,disabled:s,size:R,variant:j,label:u,error:i,fullWidth:o,helperText:l,multiline:z,maxRows:f,minRows:f,placeholder:y,required:x,onChange:h,onKeyDown:_,onBlur:m,...H,inputProps:X,InputProps:fe,sx:le}),e[63]=n,e[64]=s,e[65]=i,e[66]=o,e[67]=l,e[68]=u,e[69]=f,e[70]=p,e[71]=m,e[72]=h,e[73]=_,e[74]=y,e[75]=b,e[76]=x,e[77]=R,e[78]=fe,e[79]=le,e[80]=z,e[81]=H,e[82]=X,e[83]=T,e[84]=j,e[85]=ee):ee=e[85],ee}function xr(t){const e=he.c(68),{sx:r,expanded:n,disableGutters:s,square:i,title:o,content:l,onChange:c,spacing:u,reversedArrow:d,subtitle:f,actions:p,actionsComponent:m,elevation:h,error:_,unmountOnExit:g,modalElevation:y}=t,b=n===void 0?!1:n,x=s===void 0?!1:s,w=g===void 0?!1:g,[C,k]=I.useState(b),{menuOpen:A,menuClose:P}=Jt();let T;e[0]!==c?(T=(xe,qe)=>{c&&c(xe,qe),k(qe)},e[0]=c,e[1]=T):T=e[1];const j=T;let R;e[2]!==p||e[3]!==P||e[4]!==A?(R=xe=>{p&&(xe.stopPropagation(),A({anchorEl:xe.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:p.map(qe=>{const{label:Le,onClick:Te,disabled:je,icon:Ge}=qe;return{label:Le,value:Le,disabled:typeof je=="function"?je():je,icon:Ge,onClick:()=>{P(),Te()}}})}))},e[2]=p,e[3]=P,e[4]=A,e[5]=R):R=e[5];const D=R;let O,N;e[6]!==b?(O=()=>{k(b)},N=[b],e[6]=b,e[7]=O,e[8]=N):(O=e[7],N=e[8]),I.useEffect(O,N);let F,U;e[9]===Symbol.for("react.memo_cache_sentinel")?(F={display:"none !important"},U={width:"100%"},e[9]=F,e[10]=U):(F=e[9],U=e[10]);let z;e[11]!==_?(z=_&&{border:"2px solid",borderColor:"error.main"},e[11]=_,e[12]=z):z=e[12];let H;e[13]!==h||e[14]!==y?(H=h&&y&&{backgroundImage:xe=>xe.palette.mode==="dark"?`linear-gradient(${br("#fff",+hh(24+h*24))}, ${br("#fff",+hh(24+h*24))})`:"none"},e[13]=h,e[14]=y,e[15]=H):H=e[15];let W;e[16]!==r||e[17]!==z||e[18]!==H?(W={"&:before":F,"& .MuiAccordion-region":U,...z,...H,...r},e[16]=r,e[17]=z,e[18]=H,e[19]=W):W=e[19];let K;e[20]!==w?(K={transition:{unmountOnExit:w}},e[20]=w,e[21]=K):K=e[21];let q;e[22]!==d?(q=d&&{flexDirection:"row-reverse"},e[22]=d,e[23]=q):q=e[23];let X;e[24]!==q?(X={...q},e[24]=q,e[25]=X):X=e[25];let Q;e[26]===Symbol.for("react.memo_cache_sentinel")?(Q=a.jsx(ge.DownArrow,{}),e[26]=Q):Q=e[26];let Y;e[27]!==d?(Y=d&&{ml:2},e[27]=d,e[28]=Y):Y=e[28];let Z;e[29]!==Y?(Z={...Y},e[29]=Y,e[30]=Z):Z=e[30];let re;e[31]!==o?(re=typeof o=="string"?a.jsx(_e,{type:"subtitle1",color:"text.secondary",children:o}):o,e[31]=o,e[32]=re):re=e[32];let fe;e[33]!==f||e[34]!==Z||e[35]!==re?(fe=a.jsxs(te,{sx:Z,spacing:0,children:[re,f]}),e[33]=f,e[34]=Z,e[35]=re,e[36]=fe):fe=e[36];let de;e[37]!==p||e[38]!==m?(de=m&&a.jsx(gt,{sx:{flex:"0 0 auto",...!p&&{pr:2}},children:m}),e[37]=p,e[38]=m,e[39]=de):de=e[39];let se;e[40]!==p?.length||e[41]!==D||e[42]!==d?(se=!!p?.length&&a.jsx(gt,{sx:{flex:"0 0 auto",...!d&&{pr:2}},children:a.jsx(Zr,{component:"span",role:"button",onClick:D,children:a.jsx(ge.More,{})})}),e[40]=p?.length,e[41]=D,e[42]=d,e[43]=se):se=e[43];let le;e[44]!==de||e[45]!==se?(le=a.jsxs(te,{direction:"row",align:"center",children:[de,se]}),e[44]=de,e[45]=se,e[46]=le):le=e[46];let ee;e[47]!==fe||e[48]!==le?(ee=a.jsxs(te,{justify:"space-between",align:"center",fullWidth:!0,direction:"row",children:[fe,le]}),e[47]=fe,e[48]=le,e[49]=ee):ee=e[49];let J;e[50]!==X||e[51]!==ee?(J=a.jsx(dNe,{sx:X,expandIcon:Q,children:ee}),e[50]=X,e[51]=ee,e[52]=J):J=e[52];let me;e[53]!==l?(me=a.jsx(iNe,{children:l}),e[53]=l,e[54]=me):me=e[54];let pe;e[55]!==x||e[56]!==h||e[57]!==C||e[58]!==j||e[59]!==i||e[60]!==W||e[61]!==K||e[62]!==J||e[63]!==me?(pe=a.jsxs(tNe,{sx:W,disableGutters:x,expanded:C,onChange:j,square:i,elevation:h,slotProps:K,children:[J,me]}),e[55]=x,e[56]=h,e[57]=C,e[58]=j,e[59]=i,e[60]=W,e[61]=K,e[62]=J,e[63]=me,e[64]=pe):pe=e[64];const Se=pe;let ve;return e[65]!==Se||e[66]!==u?(ve=u?a.jsx("div",{children:Se}):Se,e[65]=Se,e[66]=u,e[67]=ve):ve=e[67],ve}function Jn(t){const e=he.c(17),{sx:r,spacing:n,children:s,exclusive:i}=t,o=n===void 0?0:n,l=i===void 0?!0:i,[c,u]=I.useState(null);let d,f;e[0]!==s||e[1]!==l?(d=()=>{l&&I.Children.forEach(s,(h,_)=>{h.props.expanded&&u(_)})},f=[s,l],e[0]=s,e[1]=l,e[2]=d,e[3]=f):(d=e[2],f=e[3]),I.useEffect(d,f);let p;if(e[4]!==s||e[5]!==l||e[6]!==c||e[7]!==o){let h;e[9]!==l||e[10]!==c||e[11]!==o?(h=(_,g)=>{let y={disableGutters:o?!0:!_.props.disableGutters,group:!0,spacing:o};return l&&(y={...y,expanded:c===g,onChange:(b,x)=>{_.props.onChange&&_.props.onChange(b,x),u(g)}}),I.cloneElement(_,y)},e[9]=l,e[10]=c,e[11]=o,e[12]=h):h=e[12],p=I.Children.map(s,h),e[4]=s,e[5]=l,e[6]=c,e[7]=o,e[8]=p}else p=e[8];let m;return e[13]!==o||e[14]!==r||e[15]!==p?(m=a.jsx(te,{sx:r,spacing:o,children:p}),e[13]=o,e[14]=r,e[15]=p,e[16]=m):m=e[16],m}function Kqe(t){const e=he.c(12),{nf:r}=t,n=Ye(),{dialogClose:s}=Jt(),{upsertFetcher:i}=Ys(),{submit:o,data:l,state:c}=i;let u;e[0]===Symbol.for("react.memo_cache_sentinel")?(u={force:!1},e[0]=u):u=e[0];let d;e[1]!==r||e[2]!==o?(d=m=>{const{force:h}=m;o({force:h},{method:"POST",encType:"application/json",action:`${r===ue.PLS?"platform":r}/cluster/leave-cluster`})},e[1]=r,e[2]=o,e[3]=d):d=e[3];let f;e[4]!==l||e[5]!==s||e[6]!==n||e[7]!==c?(f=()=>a.jsxs(_s,{children:[a.jsx(_e,{sx:{mb:1},children:n.formatMessage({id:"cluster.dialog.leave.description"})}),a.jsx(dn,{canWrite:Ue(ie.configuration),children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"force",children:m=>{const{field:h,form:_}=m,{setFieldValue:g}=_;return a.jsx(da,{size:"small",label:n.formatMessage({id:"cluster.dialog.leave.force"}),checked:h.value,onChange:(y,b)=>{g(h.name,b)}})}}),a.jsx(Xr,{data:l}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:n.formatMessage({id:"cluster.dialog.leave.cancel"}),variant:"outlined",onClick:()=>s()}),a.jsx(Ze,{text:n.formatMessage({id:"cluster.dialog.leave.confirm"}),type:"submit",loading:c!=="idle"})]})]})})]}),e[4]=l,e[5]=s,e[6]=n,e[7]=c,e[8]=f):f=e[8];let p;return e[9]!==d||e[10]!==f?(p=a.jsx(Wr,{validationSchema:Wqe,initialValues:u,onSubmit:d,children:f}),e[9]=d,e[10]=f,e[11]=p):p=e[11],p}const Qqe=t=>{const e=he.c(50),{data:r,onClusterJoin:n,clusterJoinLoading:s,disabled:i,nf:o}=t,l=ci(),c=Ye(),{confirmationDialogOpen:u,confirmationDialogClose:d,popoverOpen:f,popoverClose:p,dialogOpen:m}=Jt();let h;e[0]!==d||e[1]!==u||e[2]!==c||e[3]!==p?(h=async(W,K)=>{const q=await W();Object.keys(q).length===0&&u({title:c.formatMessage({id:"cluster.dialog.join.title"}),alertMessage:c.formatMessage({id:"cluster.dialog.join.description"}),onCancel:d,onConfirm:()=>{p(),K()},severity:"danger",cancelButtonText:c.formatMessage({id:"cluster.dialog.join.cancel"}),continueButtonText:c.formatMessage({id:"cluster.dialog.join.confirm"})})},e[0]=d,e[1]=u,e[2]=c,e[3]=p,e[4]=h):h=e[4];const _=h;let g;e[5]!==m||e[6]!==c||e[7]!==o?(g=()=>{m({title:c.formatMessage({id:"cluster.dialog.leave.title"}),content:()=>a.jsx(Kqe,{nf:o})})},e[5]=m,e[6]=c,e[7]=o,e[8]=g):g=e[8];const y=g;let b;e[9]!==s||e[10]!==i||e[11]!==_||e[12]!==c||e[13]!==o||e[14]!==n||e[15]!==p||e[16]!==f?(b=W=>{const K=function(X){const{node:Q}=X;n&&n({node:`${o}@${Q}`})};f({anchorEl:W.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},content:()=>a.jsx(Wr,{onSubmit:K,initialValues:{node:""},validationSchema:Gqe,children:q=>{const{submitForm:X,validateForm:Q}=q;return a.jsx(dn,{canWrite:Ue(ie.configuration),children:a.jsxs(te,{sx:{minWidth:"430px"},children:[a.jsx(Ke,{name:"node",children:Y=>{const{field:Z,meta:re}=Y;return a.jsx(a.Fragment,{children:a.jsx(dt,{...Z,label:c.formatMessage({id:"cluster.form.node"}),size:"small",error:!!re.error,helperText:re.error,disabled:i,placeholder:c.formatMessage({id:"cluster.form.node_placeholder"})})})}}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{variant:"outlined",type:"reset",size:"medium",disabled:!Ue(ie.configuration)||i,onClick:p,text:c.formatMessage({id:"cluster.buttons.cancel"})}),a.jsx(Ze,{type:"button",size:"medium",text:c.formatMessage({id:"cluster.buttons.join"}),onClick:()=>void _(Q,X),disabled:!Ue(ie.configuration)||i,loading:s})]})]})})}})})},e[9]=s,e[10]=i,e[11]=_,e[12]=c,e[13]=o,e[14]=n,e[15]=p,e[16]=f,e[17]=b):b=e[17];const x=b,w=Zqe,C=Xqe;let k;e[18]!==c?(k=c.formatMessage({id:"cluster.buttons.leave_cluster"}),e[18]=c,e[19]=k):k=e[19];const A=i||r.nodes.length===1;let P;e[20]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(ge.Shift,{}),e[20]=P):P=e[20];let T;e[21]!==y||e[22]!==k||e[23]!==A?(T=a.jsx(Ze,{variant:"outlined",text:k,onClick:y,disabled:A,startIcon:P}),e[21]=y,e[22]=k,e[23]=A,e[24]=T):T=e[24];let j;e[25]!==c?(j=c.formatMessage({id:"cluster.buttons.join_cluster"}),e[25]=c,e[26]=j):j=e[26];let R;e[27]===Symbol.for("react.memo_cache_sentinel")?(R=a.jsx(ge.Cluster,{}),e[27]=R):R=e[27];let D;e[28]!==s||e[29]!==i||e[30]!==x||e[31]!==j?(D=a.jsx(Ze,{text:j,startIcon:R,onClick:x,disabled:i,loading:s}),e[28]=s,e[29]=i,e[30]=x,e[31]=j,e[32]=D):D=e[32];let O;e[33]!==D||e[34]!==T?(O=a.jsx(hs,{children:a.jsxs(te,{direction:"row",spacing:1,justify:"flex-end",children:[T,D]})}),e[33]=D,e[34]=T,e[35]=O):O=e[35];let N;e[36]!==c?(N=c.formatMessage({id:"cluster.title"}),e[36]=c,e[37]=N):N=e[37];let F;e[38]!==r||e[39]!==c||e[40]!==l?(F=C(r).map(W=>{const K=W.repositories?.every(Jqe),q=W.repositories.reduce(eVe,0),X=W.repositories.reduce(tVe,0);return a.jsx(xr,{elevation:2,title:W.name,sx:{...!K&&{border:`1px solid ${l.palette.warning.main} !important`}},subtitle:a.jsxs(te,{direction:"row",align:"center",justify:"space-between",nowrap:!0,spacing:2,children:[a.jsxs(te,{direction:"row",align:"center",spacing:1,children:[a.jsx(_e,{children:c.formatMessage({id:"cluster.status.repositories"})}),!!q&&a.jsx(bi,{label:`${q}`,status:nn.SUCCESS}),!!X&&a.jsx(bi,{label:`${X}`,status:nn.ERROR})]}),a.jsxs(te,{direction:"row",align:"center",children:[W.name===r.current_node&&a.jsx(ms,{label:c.formatMessage({id:"cluster.status.current_node"}),size:"small"}),!K&&a.jsx(Mn,{title:c.formatMessage({id:"cluster.status.repo_with_errors"}),children:a.jsx(gt,{sx:{color:"warning"},children:a.jsx(ge.StatusWarning,{})})})]})]}),content:a.jsxs(a.Fragment,{children:[!!W.repositories&&!!W.repositories.length&&a.jsx(te,{spacing:2,divided:!0,children:W.repositories.map(Q=>a.jsxs(te,{nowrap:!0,justify:"space-between",direction:"row",align:"center",children:[a.jsxs(te,{direction:"row",nowrap:!0,spacing:1,children:[a.jsx(bi,{label:Q.name,status:w(Q.status)}),Q.status==="ERROR"&&a.jsx(Mn,{title:"Repo has error!",children:a.jsx(gt,{sx:{color:"error"},children:a.jsx(ge.StatusError,{})})})]}),a.jsx(_e,{sx:{backgroundColor:Q.type==="CP"?l.palette.boy.light:l.palette.girl.light,color:Q.type==="CP"?l.palette.boy.contrastText:l.palette.girl.contrastText,fontWeight:"bold",fontSize:"12px",borderRadius:5,px:1},children:Q.type})]},Q.name))}),!W.repositories?.length&&a.jsx(Lr,{severity:"warning",title:c.formatMessage({id:"cluster.message.no_repo"})})]})},W.name)}),e[38]=r,e[39]=c,e[40]=l,e[41]=F):F=e[41];let U;e[42]!==F?(U=a.jsx(Kt,{children:a.jsx(Jn,{spacing:2,exclusive:!1,children:F})}),e[42]=F,e[43]=U):U=e[43];let z;e[44]!==N||e[45]!==U?(z=a.jsx(pr,{title:N,children:U}),e[44]=N,e[45]=U,e[46]=z):z=e[46];let H;return e[47]!==O||e[48]!==z?(H=a.jsxs(a.Fragment,{children:[O,z]}),e[47]=O,e[48]=z,e[49]=H):H=e[49],H};function Zqe(t){switch(t){case"UP":return nn.SUCCESS;case"DOWN":return nn.ERROR;case"ERROR":return nn.ERROR;default:return nn.DEFAULT}}function Xqe(t){const e=t.nodes.find(n=>n.name===t.current_node),r=t.nodes.filter(n=>n.name!==t.current_node);return e?[e,...r]:r}function Jqe(t){return t.status==="UP"}function eVe(t,e){return e.status==="UP"?t+1:t}function tVe(t,e){return e.status!=="UP"?t+1:t}function al(t){const e=he.c(4),{children:r,spacing:n,sx:s}=t,i=n===void 0?2:n;let o;return e[0]!==r||e[1]!==i||e[2]!==s?(o=a.jsx(ca,{container:!0,spacing:i,sx:s,children:r}),e[0]=r,e[1]=i,e[2]=s,e[3]=o):o=e[3],o}function Is(t){const e=he.c(5),{children:r,size:n,zeroMinWidth:s,sx:i}=t;let o;return e[0]!==r||e[1]!==n||e[2]!==i||e[3]!==s?(o=a.jsx(ca,{item:!0,...n,zeroMinWidth:s,sx:i,children:r}),e[0]=r,e[1]=n,e[2]=i,e[3]=s,e[4]=o):o=e[4],o}function rVe(t){const e=he.c(18),{data:r,onSubmit:n,error:s,disabled:i,loading:o}=t,l=Ye();let c;e[0]!==n?(c=_=>{n&&n(_)},e[0]=n,e[1]=c):c=e[1];const u=c;let d;e[2]!==l?(d=l.formatMessage({id:"network_configuration.fieldset"}),e[2]=l,e[3]=d):d=e[3];let f;e[4]!==r?(f=qqe(r),e[4]=r,e[5]=f):f=e[5];let p;e[6]!==i||e[7]!==s||e[8]!==l||e[9]!==o?(p=_=>{const{dirty:g}=_;return a.jsx(dn,{canWrite:Ue(ie.configuration),children:a.jsxs(te,{direction:"column",spacing:2,align:"flex-start",children:[a.jsxs(al,{children:[a.jsx(Is,{size:{xs:12},children:a.jsx(Ke,{name:"name",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.name"}),size:"small",error:!!x.error,helperText:x.error,sx:{display:"none"}})}})}),a.jsx(Is,{size:{xs:12,sm:6},children:a.jsx(Ke,{name:"host",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.host"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}})}),a.jsx(Is,{size:{xs:12,sm:6},children:a.jsx(Ke,{name:"port",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.port"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}})}),a.jsx(Is,{size:{xs:12,sm:6},children:a.jsx(Ke,{name:"dev",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.dev"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}})}),a.jsx(Is,{size:{xs:12,sm:6},children:a.jsx(Ke,{name:"tos",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.tos"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}})})]}),a.jsx(Xr,{data:s,sx:{width:"100%"}}),a.jsx(Ze,{type:"submit",text:l.formatMessage({id:"network_configuration.buttons.persist_and_reboot"}),disabled:!Ue(ie.configuration)||i||!g,loading:o})]})})},e[6]=i,e[7]=s,e[8]=l,e[9]=o,e[10]=p):p=e[10];let m;e[11]!==u||e[12]!==f||e[13]!==p?(m=a.jsx(Kt,{children:a.jsx(Wr,{initialValues:f,validationSchema:Vqe,onSubmit:u,enableReinitialize:!0,children:p})}),e[11]=u,e[12]=f,e[13]=p,e[14]=m):m=e[14];let h;return e[15]!==d||e[16]!==m?(h=a.jsx(pr,{title:d,children:m}),e[15]=d,e[16]=m,e[17]=h):h=e[17],h}function nVe(){const t=he.c(18),e=Gr(),{submit:r,data:n,state:s}=gr(),{submit:i,state:o}=gr(),l=s!=="idle"||o!=="idle";let c;t[0]!==r?(c=y=>{r(zqe(y),{method:"PUT",encType:"application/json",action:"apply-boot-config"})},t[0]=r,t[1]=c):c=t[1];const u=c;let d;t[2]!==i?(d=y=>{const{node:b}=y;i({node:b},{method:"POST",encType:"application/json",action:"join-cluster"})},t[2]=i,t[3]=d):d=t[3];const f=d;let p;t[4]===Symbol.for("react.memo_cache_sentinel")?(p=a.jsx(mb,{variant:"rounded",sx:{height:"267px"}}),t[4]=p):p=t[4];let m;t[5]===Symbol.for("react.memo_cache_sentinel")?(m=a.jsxs(te,{spacing:2,children:[p,a.jsx(mb,{variant:"rounded",sx:{height:"187px"}})]}),t[5]=m):m=t[5];let h;t[6]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(Tr,{}),t[6]=h):h=t[6];let _;t[7]!==n||t[8]!==s||t[9]!==o||t[10]!==l||t[11]!==u||t[12]!==f||t[13]!==e.clusterStatus?(_=y=>a.jsxs(te,{spacing:2,children:[a.jsx(rVe,{data:y,onSubmit:u,disabled:l,loading:s!=="idle",error:n}),a.jsx(I.Suspense,{fallback:a.jsx(mb,{variant:"rounded",sx:{height:"187px"}}),children:a.jsx(Qt,{resolve:e.clusterStatus,errorElement:a.jsx(Tr,{}),children:b=>a.jsx(a.Fragment,{children:b&&a.jsx(Qqe,{nf:y.erlang.distribution.name,data:b,onClusterJoin:f,clusterJoinLoading:o!=="idle",disabled:l})})})})]}),t[7]=n,t[8]=s,t[9]=o,t[10]=l,t[11]=u,t[12]=f,t[13]=e.clusterStatus,t[14]=_):_=t[14];let g;return t[15]!==e.bootConfig||t[16]!==_?(g=a.jsx(I.Suspense,{fallback:m,children:a.jsx(Qt,{resolve:e.bootConfig,errorElement:h,children:_})}),t[15]=e.bootConfig,t[16]=_,t[17]=g):g=t[17],g}async function sVe(t){const e=$.apis.boot_config(t);return De({options:{url:e,method:"GET"}})}async function iVe({nf:t,values:e}){const r=$.apis.boot_config(t);return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}function oVe(t){return async({request:e})=>{const r=await e.json(),n=await iVe({nf:t,values:r});return xt(n)?Ar():Nt(),Ft(n)}}function aVe(t,e={clusterStatus:!1}){return function(r){return Wt({deferred:!0,loaderArgs:r,data:{bootConfig:sVe(t),clusterStatus:e.clusterStatus?Iae({nf:t}):null}})}}const bY=Pr();function vr({to:t,labelIntl:e,labelIntlParams:r,icon:n,captionIntl:s,captionIntlParams:i}){return{breadcrumb:{to:t,label:bY.formatMessage({id:e},r),icon:n,...s&&{caption:bY.formatMessage({id:s},i)}}}}function so(t,e={dbCluster:!1}){const r=t===ue.PLS?"platform":t;return{path:"cluster",loader:aVe(t,{clusterStatus:e.dbCluster}),errorElement:a.jsx(Tr,{}),element:a.jsx(nVe,{},t),shouldRevalidate:({actionResult:n})=>!xt(n),handle:vr({labelIntl:`route.${r}.cluster`,to:`/${r}/path`}),children:[{path:"apply-boot-config",action:oVe(t),loader:()=>rt("..")},...e.dbCluster?[{path:"join-cluster",action:$ze(t),loader:()=>rt("..")},{path:"leave-cluster",action:Oze(t),loader:()=>rt("..")}]:[]]}}function bb(){return bb=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},bb.apply(null,arguments)}var lp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"||typeof self<"u"?self:{};function Y0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var xY,SY={exports:{}};var jR,wY,CY,lVe=(xY||(xY=1,jR=SY,(function(){var t={}.hasOwnProperty;function e(){for(var r=[],n=0;n<arguments.length;n++){var s=arguments[n];if(s){var i=typeof s;if(i==="string"||i==="number")r.push(s);else if(Array.isArray(s)){if(s.length){var o=e.apply(null,s);o&&r.push(o)}}else if(i==="object")if(s.toString===Object.prototype.toString)for(var l in s)t.call(s,l)&&s[l]&&r.push(l);else r.push(s.toString())}}return r.join(" ")}jR.exports?(e.default=e,jR.exports=e):window.classNames=e})()),SY.exports),J6=Y0(lVe),AY,wc=Y0((function(){if(CY)return wY;CY=1;var t=/^\s+|\s+$/g,e=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,n=/^0o[0-7]+$/i,s=parseInt,i=Object.prototype.toString;function o(c){var u=typeof c;return!!c&&(u=="object"||u=="function")}function l(c){if(typeof c=="number")return c;if((function(f){return typeof f=="symbol"||(function(p){return!!p&&typeof p=="object"})(f)&&i.call(f)=="[object Symbol]"})(c))return NaN;if(o(c)){var u=typeof c.valueOf=="function"?c.valueOf():c;c=o(u)?u+"":u}if(typeof c!="string")return c===0?c:+c;c=c.replace(t,"");var d=r.test(c);return d||n.test(c)?s(c.slice(2),d?2:8):e.test(c)?NaN:+c}return wY=function(c,u,d){return d===void 0&&(d=u,u=void 0),d!==void 0&&(d=(d=l(d))==d?d:0),u!==void 0&&(u=(u=l(u))==u?u:0),(function(f,p,m){return f==f&&(m!==void 0&&(f=f<=m?f:m),p!==void 0&&(f=f>=p?f:p)),f})(l(c),u,d)}})()),TR={exports:{}},cVe=(AY||(AY=1,(function(t,e){var r="__lodash_hash_undefined__",n=9007199254740991,s="[object Arguments]",i="[object Array]",o="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",f="[object Number]",p="[object Object]",m="[object Promise]",h="[object RegExp]",_="[object Set]",g="[object String]",y="[object Symbol]",b="[object WeakMap]",x="[object ArrayBuffer]",w="[object DataView]",C=/^\[object .+?Constructor\]$/,k=/^(?:0|[1-9]\d*)$/,A={};A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A[s]=A[i]=A[x]=A[o]=A[w]=A[l]=A[c]=A[u]=A[d]=A[f]=A[p]=A[h]=A[_]=A[g]=A[b]=!1;var P=typeof lp=="object"&&lp&&lp.Object===Object&&lp,T=typeof self=="object"&&self&&self.Object===Object&&self,j=P||T||Function("return this")(),R=e&&!e.nodeType&&e,D=R&&t&&!t.nodeType&&t,O=D&&D.exports===R,N=O&&P.process,F=(function(){try{return N&&N.binding&&N.binding("util")}catch{}})(),U=F&&F.isTypedArray;function z(ke,He){for(var ut=-1,It=ke==null?0:ke.length;++ut<It;)if(He(ke[ut],ut,ke))return!0;return!1}function H(ke){var He=-1,ut=Array(ke.size);return ke.forEach(function(It,wr){ut[++He]=[wr,It]}),ut}function W(ke){var He=-1,ut=Array(ke.size);return ke.forEach(function(It){ut[++He]=It}),ut}var K,q,X,Q=Array.prototype,Y=Function.prototype,Z=Object.prototype,re=j["__core-js_shared__"],fe=Y.toString,de=Z.hasOwnProperty,se=(K=/[^.]+$/.exec(re&&re.keys&&re.keys.IE_PROTO||""))?"Symbol(src)_1."+K:"",le=Z.toString,ee=RegExp("^"+fe.call(de).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),J=O?j.Buffer:void 0,me=j.Symbol,pe=j.Uint8Array,Se=Z.propertyIsEnumerable,ve=Q.splice,xe=me?me.toStringTag:void 0,qe=Object.getOwnPropertySymbols,Le=J?J.isBuffer:void 0,Te=(q=Object.keys,X=Object,function(ke){return q(X(ke))}),je=st(j,"DataView"),Ge=st(j,"Map"),nt=st(j,"Promise"),Re=st(j,"Set"),we=st(j,"WeakMap"),Me=st(Object,"create"),$e=ze(je),Ve=ze(Ge),Ne=ze(nt),Oe=ze(Re),ft=ze(we),Ct=me?me.prototype:void 0,Et=Ct?Ct.valueOf:void 0;function at(ke){var He=-1,ut=ke==null?0:ke.length;for(this.clear();++He<ut;){var It=ke[He];this.set(It[0],It[1])}}function $t(ke){var He=-1,ut=ke==null?0:ke.length;for(this.clear();++He<ut;){var It=ke[He];this.set(It[0],It[1])}}function Ee(ke){var He=-1,ut=ke==null?0:ke.length;for(this.clear();++He<ut;){var It=ke[He];this.set(It[0],It[1])}}function Be(ke){var He=-1,ut=ke==null?0:ke.length;for(this.__data__=new Ee;++He<ut;)this.add(ke[He])}function qt(ke){var He=this.__data__=new $t(ke);this.size=He.size}function ar(ke,He){var ut=Gt(ke),It=!ut&&jt(ke),wr=!ut&&!It&&Yt(ke),Cr=!ut&&!It&&!wr&&ot(ke),sn=ut||It||wr||Cr,pn=sn?(function(Vr,Fr){for(var Qn=-1,Er=Array(Vr);++Qn<Vr;)Er[Qn]=Fr(Qn);return Er})(ke.length,String):[],jn=pn.length;for(var es in ke)!de.call(ke,es)||sn&&(es=="length"||wr&&(es=="offset"||es=="parent")||Cr&&(es=="buffer"||es=="byteLength"||es=="byteOffset")||Ae(es,jn))||pn.push(es);return pn}function hr(ke,He){for(var ut=ke.length;ut--;)if(_t(ke[ut][0],He))return ut;return-1}function ir(ke){return ke==null?ke===void 0?"[object Undefined]":"[object Null]":xe&&xe in Object(ke)?(function(He){var ut=de.call(He,xe),It=He[xe];try{He[xe]=void 0;var wr=!0}catch{}var Cr=le.call(He);return wr&&(ut?He[xe]=It:delete He[xe]),Cr})(ke):(function(He){return le.call(He)})(ke)}function cr(ke){return or(ke)&&ir(ke)==s}function kr(ke,He,ut,It,wr){return ke===He||(ke==null||He==null||!or(ke)&&!or(He)?ke!=ke&&He!=He:(function(Cr,sn,pn,jn,es,Vr){var Fr=Gt(Cr),Qn=Gt(sn),Er=Fr?i:Pe(Cr),on=Qn?i:Pe(sn),Ei=(Er=Er==s?p:Er)==p,ha=(on=on==s?p:on)==p,Zn=Er==on;if(Zn&&Yt(Cr)){if(!Yt(sn))return!1;Fr=!0,Ei=!1}if(Zn&&!Ei)return Vr||(Vr=new qt),Fr||ot(Cr)?fn(Cr,sn,pn,jn,es,Vr):(function(ns,Gn,Wu,zo,sf,$s,Ui){switch(Wu){case w:if(ns.byteLength!=Gn.byteLength||ns.byteOffset!=Gn.byteOffset)return!1;ns=ns.buffer,Gn=Gn.buffer;case x:return!(ns.byteLength!=Gn.byteLength||!$s(new pe(ns),new pe(Gn)));case o:case l:case f:return _t(+ns,+Gn);case c:return ns.name==Gn.name&&ns.message==Gn.message;case h:case g:return ns==Gn+"";case d:var Po=H;case _:var yl=1&zo;if(Po||(Po=W),ns.size!=Gn.size&&!yl)return!1;var co=Ui.get(ns);if(co)return co==Gn;zo|=2,Ui.set(ns,Gn);var jo=fn(Po(ns),Po(Gn),zo,sf,$s,Ui);return Ui.delete(ns),jo;case y:if(Et)return Et.call(ns)==Et.call(Gn)}return!1})(Cr,sn,Er,pn,jn,es,Vr);if(!(1&pn)){var Fi=Ei&&de.call(Cr,"__wrapped__"),lo=ha&&de.call(sn,"__wrapped__");if(Fi||lo){var Ki=Fi?Cr.value():Cr,Yp=lo?sn.value():sn;return Vr||(Vr=new qt),es(Ki,Yp,pn,jn,Vr)}}return!!Zn&&(Vr||(Vr=new qt),(function(ns,Gn,Wu,zo,sf,$s){var Ui=1&Wu,Po=Zt(ns),yl=Po.length,co=Zt(Gn),jo=co.length;if(yl!=jo&&!Ui)return!1;for(var Yu=yl;Yu--;){var To=Po[Yu];if(!(Ui?To in Gn:de.call(Gn,To)))return!1}var Wh=$s.get(ns);if(Wh&&$s.get(Gn))return Wh==Gn;var Ku=!0;$s.set(ns,Gn),$s.set(Gn,ns);for(var of=Ui;++Yu<yl;){var Yc=ns[To=Po[Yu]],af=Gn[To];if(zo)var Yh=Ui?zo(af,Yc,To,Gn,ns,$s):zo(Yc,af,To,ns,Gn,$s);if(!(Yh===void 0?Yc===af||sf(Yc,af,Wu,zo,$s):Yh)){Ku=!1;break}of||(of=To=="constructor")}if(Ku&&!of){var Va=ns.constructor,Eo=Gn.constructor;Va==Eo||!("constructor"in ns)||!("constructor"in Gn)||typeof Va=="function"&&Va instanceof Va&&typeof Eo=="function"&&Eo instanceof Eo||(Ku=!1)}return $s.delete(ns),$s.delete(Gn),Ku})(Cr,sn,pn,jn,es,Vr))})(ke,He,ut,It,kr,wr))}function Rr(ke){return!(!zt(ke)||(function(He){return!!se&&se in He})(ke))&&(Rt(ke)?ee:C).test(ze(ke))}function Ut(ke){if(ut=(He=ke)&&He.constructor,It=typeof ut=="function"&&ut.prototype||Z,He!==It)return Te(ke);var He,ut,It,wr=[];for(var Cr in Object(ke))de.call(ke,Cr)&&Cr!="constructor"&&wr.push(Cr);return wr}function fn(ke,He,ut,It,wr,Cr){var sn=1&ut,pn=ke.length,jn=He.length;if(pn!=jn&&!(sn&&jn>pn))return!1;var es=Cr.get(ke);if(es&&Cr.get(He))return es==He;var Vr=-1,Fr=!0,Qn=2&ut?new Be:void 0;for(Cr.set(ke,He),Cr.set(He,ke);++Vr<pn;){var Er=ke[Vr],on=He[Vr];if(It)var Ei=sn?It(on,Er,Vr,He,ke,Cr):It(Er,on,Vr,ke,He,Cr);if(Ei!==void 0){if(Ei)continue;Fr=!1;break}if(Qn){if(!z(He,function(ha,Zn){if(Fi=Zn,!Qn.has(Fi)&&(Er===ha||wr(Er,ha,ut,It,Cr)))return Qn.push(Zn);var Fi})){Fr=!1;break}}else if(Er!==on&&!wr(Er,on,ut,It,Cr)){Fr=!1;break}}return Cr.delete(ke),Cr.delete(He),Fr}function Zt(ke){return(function(He,ut,It){var wr=ut(He);return Gt(He)?wr:(function(Cr,sn){for(var pn=-1,jn=sn.length,es=Cr.length;++pn<jn;)Cr[es+pn]=sn[pn];return Cr})(wr,It(He))})(ke,ct,wt)}function _r(ke,He){var ut,It,wr=ke.__data__;return((It=typeof(ut=He))=="string"||It=="number"||It=="symbol"||It=="boolean"?ut!=="__proto__":ut===null)?wr[typeof He=="string"?"string":"hash"]:wr.map}function st(ke,He){var ut=(function(It,wr){return It?.[wr]})(ke,He);return Rr(ut)?ut:void 0}at.prototype.clear=function(){this.__data__=Me?Me(null):{},this.size=0},at.prototype.delete=function(ke){var He=this.has(ke)&&delete this.__data__[ke];return this.size-=He?1:0,He},at.prototype.get=function(ke){var He=this.__data__;if(Me){var ut=He[ke];return ut===r?void 0:ut}return de.call(He,ke)?He[ke]:void 0},at.prototype.has=function(ke){var He=this.__data__;return Me?He[ke]!==void 0:de.call(He,ke)},at.prototype.set=function(ke,He){var ut=this.__data__;return this.size+=this.has(ke)?0:1,ut[ke]=Me&&He===void 0?r:He,this},$t.prototype.clear=function(){this.__data__=[],this.size=0},$t.prototype.delete=function(ke){var He=this.__data__,ut=hr(He,ke);return!(ut<0||(ut==He.length-1?He.pop():ve.call(He,ut,1),--this.size,0))},$t.prototype.get=function(ke){var He=this.__data__,ut=hr(He,ke);return ut<0?void 0:He[ut][1]},$t.prototype.has=function(ke){return hr(this.__data__,ke)>-1},$t.prototype.set=function(ke,He){var ut=this.__data__,It=hr(ut,ke);return It<0?(++this.size,ut.push([ke,He])):ut[It][1]=He,this},Ee.prototype.clear=function(){this.size=0,this.__data__={hash:new at,map:new(Ge||$t),string:new at}},Ee.prototype.delete=function(ke){var He=_r(this,ke).delete(ke);return this.size-=He?1:0,He},Ee.prototype.get=function(ke){return _r(this,ke).get(ke)},Ee.prototype.has=function(ke){return _r(this,ke).has(ke)},Ee.prototype.set=function(ke,He){var ut=_r(this,ke),It=ut.size;return ut.set(ke,He),this.size+=ut.size==It?0:1,this},Be.prototype.add=Be.prototype.push=function(ke){return this.__data__.set(ke,r),this},Be.prototype.has=function(ke){return this.__data__.has(ke)},qt.prototype.clear=function(){this.__data__=new $t,this.size=0},qt.prototype.delete=function(ke){var He=this.__data__,ut=He.delete(ke);return this.size=He.size,ut},qt.prototype.get=function(ke){return this.__data__.get(ke)},qt.prototype.has=function(ke){return this.__data__.has(ke)},qt.prototype.set=function(ke,He){var ut=this.__data__;if(ut instanceof $t){var It=ut.__data__;if(!Ge||It.length<199)return It.push([ke,He]),this.size=++ut.size,this;ut=this.__data__=new Ee(It)}return ut.set(ke,He),this.size=ut.size,this};var wt=qe?function(ke){return ke==null?[]:(ke=Object(ke),(function(He,ut){for(var It=-1,wr=He==null?0:He.length,Cr=0,sn=[];++It<wr;){var pn=He[It];ut(pn,It,He)&&(sn[Cr++]=pn)}return sn})(qe(ke),function(He){return Se.call(ke,He)}))}:function(){return[]},Pe=ir;function Ae(ke,He){return!!(He=He??n)&&(typeof ke=="number"||k.test(ke))&&ke>-1&&ke%1==0&&ke<He}function ze(ke){if(ke!=null){try{return fe.call(ke)}catch{}try{return ke+""}catch{}}return""}function _t(ke,He){return ke===He||ke!=ke&&He!=He}(je&&Pe(new je(new ArrayBuffer(1)))!=w||Ge&&Pe(new Ge)!=d||nt&&Pe(nt.resolve())!=m||Re&&Pe(new Re)!=_||we&&Pe(new we)!=b)&&(Pe=function(ke){var He=ir(ke),ut=He==p?ke.constructor:void 0,It=ut?ze(ut):"";if(It)switch(It){case $e:return w;case Ve:return d;case Ne:return m;case Oe:return _;case ft:return b}return He});var jt=cr((function(){return arguments})())?cr:function(ke){return or(ke)&&de.call(ke,"callee")&&!Se.call(ke,"callee")},Gt=Array.isArray,Yt=Le||function(){return!1};function Rt(ke){if(!zt(ke))return!1;var He=ir(ke);return He==u||He=="[object GeneratorFunction]"||He=="[object AsyncFunction]"||He=="[object Proxy]"}function At(ke){return typeof ke=="number"&&ke>-1&&ke%1==0&&ke<=n}function zt(ke){var He=typeof ke;return ke!=null&&(He=="object"||He=="function")}function or(ke){return ke!=null&&typeof ke=="object"}var ot=U?(function(ke){return function(He){return ke(He)}})(U):function(ke){return or(ke)&&At(ke.length)&&!!A[ir(ke)]};function ct(ke){return(He=ke)!=null&&At(He.length)&&!Rt(He)?ar(ke):Ut(ke);var He}t.exports=function(ke,He){return kr(ke,He)}})(TR,TR.exports)),TR.exports),uVe=Y0(cVe);function kY(t,e,r){return t[e]?t[e][0]?t[e][0][r]:t[e][r]:e==="contentBoxSize"?t.contentRect[r==="inlineSize"?"width":"height"]:void 0}function dVe(t){t===void 0&&(t={});var e=t.onResize,r=I.useRef(void 0);r.current=e;var n=t.round||Math.round,s=I.useRef(),i=I.useState({width:void 0,height:void 0}),o=i[0],l=i[1],c=I.useRef(!1);I.useEffect(function(){return c.current=!1,function(){c.current=!0}},[]);var u=I.useRef({width:void 0,height:void 0}),d=(function(f,p){var m=I.useRef(null),h=I.useRef(null);h.current=p;var _=I.useRef(null);I.useEffect(function(){g()});var g=I.useCallback(function(){var y=_.current,b=h.current,x=y||(b?b instanceof Element?b:b.current:null);m.current&&m.current.element===x&&m.current.subscriber===f||(m.current&&m.current.cleanup&&m.current.cleanup(),m.current={element:x,subscriber:f,cleanup:x?f(x):void 0})},[f]);return I.useEffect(function(){return function(){m.current&&m.current.cleanup&&(m.current.cleanup(),m.current=null)}},[]),I.useCallback(function(y){_.current=y,g()},[g])})(I.useCallback(function(f){return s.current&&s.current.box===t.box&&s.current.round===n||(s.current={box:t.box,round:n,instance:new ResizeObserver(function(p){var m=p[0],h=t.box==="border-box"?"borderBoxSize":t.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",_=kY(m,h,"inlineSize"),g=kY(m,h,"blockSize"),y=_?n(_):void 0,b=g?n(g):void 0;if(u.current.width!==y||u.current.height!==b){var x={width:y,height:b};u.current.width=y,u.current.height=b,r.current?r.current(x):c.current||l(x)}})}),s.current.instance.observe(f,{box:t.box}),function(){s.current&&s.current.instance.unobserve(f)}},[t.box,n]),t.ref);return I.useMemo(function(){return{ref:d,width:o.width,height:o.height}},[d,o.width,o.height])}var fVe="allotment-module_splitView__L-yRc",pVe="allotment-module_sashContainer__fzwJF",mVe="allotment-module_splitViewContainer__rQnVa",rle="allotment-module_splitViewView__MGZ6O",hVe="allotment-module_vertical__WSwwa",gVe="allotment-module_horizontal__7doS8",_Ve="allotment-module_separatorBorder__x-rDS";let ky,nle=!1,sle=!1;typeof navigator=="object"&&(ky=navigator.userAgent,sle=ky.indexOf("Macintosh")>=0,nle=(ky.indexOf("Macintosh")>=0||ky.indexOf("iPad")>=0||ky.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0);const ile=nle,vVe=sle,MY=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?I.useLayoutEffect:I.useEffect;let yVe=class{constructor(){this._size=void 0}getSize(){return this._size}setSize(e){this._size=e}};function C2(t,e){const r=t.length,n=r-e.length;return n>=0&&t.slice(n,r)===e}var PY,jY={exports:{}},TY,EY,bVe=(PY||(PY=1,(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}function s(c,u,d){this.fn=c,this.context=u,this.once=d||!1}function i(c,u,d,f,p){if(typeof d!="function")throw new TypeError("The listener must be a function");var m=new s(d,f||c,p),h=r?r+u:u;return c._events[h]?c._events[h].fn?c._events[h]=[c._events[h],m]:c._events[h].push(m):(c._events[h]=m,c._eventsCount++),c}function o(c,u){--c._eventsCount==0?c._events=new n:delete c._events[u]}function l(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1)),l.prototype.eventNames=function(){var c,u,d=[];if(this._eventsCount===0)return d;for(u in c=this._events)e.call(c,u)&&d.push(r?u.slice(1):u);return Object.getOwnPropertySymbols?d.concat(Object.getOwnPropertySymbols(c)):d},l.prototype.listeners=function(c){var u=r?r+c:c,d=this._events[u];if(!d)return[];if(d.fn)return[d.fn];for(var f=0,p=d.length,m=new Array(p);f<p;f++)m[f]=d[f].fn;return m},l.prototype.listenerCount=function(c){var u=r?r+c:c,d=this._events[u];return d?d.fn?1:d.length:0},l.prototype.emit=function(c,u,d,f,p,m){var h=r?r+c:c;if(!this._events[h])return!1;var _,g,y=this._events[h],b=arguments.length;if(y.fn){switch(y.once&&this.removeListener(c,y.fn,void 0,!0),b){case 1:return y.fn.call(y.context),!0;case 2:return y.fn.call(y.context,u),!0;case 3:return y.fn.call(y.context,u,d),!0;case 4:return y.fn.call(y.context,u,d,f),!0;case 5:return y.fn.call(y.context,u,d,f,p),!0;case 6:return y.fn.call(y.context,u,d,f,p,m),!0}for(g=1,_=new Array(b-1);g<b;g++)_[g-1]=arguments[g];y.fn.apply(y.context,_)}else{var x,w=y.length;for(g=0;g<w;g++)switch(y[g].once&&this.removeListener(c,y[g].fn,void 0,!0),b){case 1:y[g].fn.call(y[g].context);break;case 2:y[g].fn.call(y[g].context,u);break;case 3:y[g].fn.call(y[g].context,u,d);break;case 4:y[g].fn.call(y[g].context,u,d,f);break;default:if(!_)for(x=1,_=new Array(b-1);x<b;x++)_[x-1]=arguments[x];y[g].fn.apply(y[g].context,_)}}return!0},l.prototype.on=function(c,u,d){return i(this,c,u,d,!1)},l.prototype.once=function(c,u,d){return i(this,c,u,d,!0)},l.prototype.removeListener=function(c,u,d,f){var p=r?r+c:c;if(!this._events[p])return this;if(!u)return o(this,p),this;var m=this._events[p];if(m.fn)m.fn!==u||f&&!m.once||d&&m.context!==d||o(this,p);else{for(var h=0,_=[],g=m.length;h<g;h++)(m[h].fn!==u||f&&!m[h].once||d&&m[h].context!==d)&&_.push(m[h]);_.length?this._events[p]=_.length===1?_[0]:_:o(this,p)}return this},l.prototype.removeAllListeners=function(c){var u;return c?(u=r?r+c:c,this._events[u]&&o(this,u)):(this._events=new n,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=r,l.EventEmitter=l,t.exports=l})(jY)),jY.exports),gN=Y0(bVe);function RY(t,e){const r=t.indexOf(e);r>-1&&(t.splice(r,1),t.unshift(e))}function ER(t,e){const r=t.indexOf(e);r>-1&&(t.splice(r,1),t.push(e))}function Il(t,e,r=1){const n=Math.max(0,Math.ceil((e-t)/r)),s=new Array(n);let i=-1;for(;++i<n;)s[i]=t+i*r;return s}var xVe=Y0((function(){if(EY)return TY;EY=1;var t=/^\s+|\s+$/g,e=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,n=/^0o[0-7]+$/i,s=parseInt,i=typeof lp=="object"&&lp&&lp.Object===Object&&lp,o=typeof self=="object"&&self&&self.Object===Object&&self,l=i||o||Function("return this")(),c=Object.prototype.toString,u=Math.max,d=Math.min,f=function(){return l.Date.now()};function p(h){var _=typeof h;return!!h&&(_=="object"||_=="function")}function m(h){if(typeof h=="number")return h;if((function(y){return typeof y=="symbol"||(function(b){return!!b&&typeof b=="object"})(y)&&c.call(y)=="[object Symbol]"})(h))return NaN;if(p(h)){var _=typeof h.valueOf=="function"?h.valueOf():h;h=p(_)?_+"":_}if(typeof h!="string")return h===0?h:+h;h=h.replace(t,"");var g=r.test(h);return g||n.test(h)?s(h.slice(2),g?2:8):e.test(h)?NaN:+h}return TY=function(h,_,g){var y,b,x,w,C,k,A=0,P=!1,T=!1,j=!0;if(typeof h!="function")throw new TypeError("Expected a function");function R(U){var z=y,H=b;return y=b=void 0,A=U,w=h.apply(H,z)}function D(U){var z=U-k;return k===void 0||z>=_||z<0||T&&U-A>=x}function O(){var U=f();if(D(U))return N(U);C=setTimeout(O,(function(z){var H=_-(z-k);return T?d(H,x-(z-A)):H})(U))}function N(U){return C=void 0,j&&y?R(U):(y=b=void 0,w)}function F(){var U=f(),z=D(U);if(y=arguments,b=this,k=U,z){if(C===void 0)return(function(H){return A=H,C=setTimeout(O,_),P?R(H):w})(k);if(T)return C=setTimeout(O,_),R(k)}return C===void 0&&(C=setTimeout(O,_)),w}return _=m(_)||0,p(g)&&(P=!!g.leading,x=(T="maxWait"in g)?u(m(g.maxWait)||0,_):x,j="trailing"in g?!!g.trailing:j),F.cancel=function(){C!==void 0&&clearTimeout(C),A=0,y=k=b=C=void 0},F.flush=function(){return C===void 0?w:N(f())},F}})()),SVe="sash-module_sash__K-9lB",wVe="sash-module_disabled__Hm-wx",CVe="sash-module_mac__Jf6OJ",IY="sash-module_vertical__pB-rs",AVe="sash-module_minimum__-UKxp",kVe="sash-module_maximum__TCWxD",DY="sash-module_horizontal__kFbiw",RR="sash-module_hover__80W6I",IR="sash-module_active__bJspD";let Vl=(function(t){return t.Vertical="VERTICAL",t.Horizontal="HORIZONTAL",t})({}),rl=(function(t){return t.Disabled="DISABLED",t.Minimum="MINIMUM",t.Maximum="MAXIMUM",t.Enabled="ENABLED",t})({}),ole=ile?20:8;const ale=new gN;let $Y=class extends gN{get state(){return this._state}set state(e){this._state!==e&&(this.el.classList.toggle(wVe,e===rl.Disabled),this.el.classList.toggle("sash-disabled",e===rl.Disabled),this.el.classList.toggle(AVe,e===rl.Minimum),this.el.classList.toggle("sash-minimum",e===rl.Minimum),this.el.classList.toggle(kVe,e===rl.Maximum),this.el.classList.toggle("sash-maximum",e===rl.Maximum),this._state=e,this.emit("enablementChange",e))}constructor(e,r,n){var s;super(),this.el=void 0,this.layoutProvider=void 0,this.orientation=void 0,this.size=void 0,this.hoverDelay=300,this.hoverDelayer=xVe(i=>i.classList.add("sash-hover",RR),this.hoverDelay),this._state=rl.Enabled,this.onPointerStart=i=>{const o=i.pageX,l=i.pageY,c={startX:o,currentX:o,startY:l,currentY:l};this.el.classList.add("sash-active",IR),this.emit("start",c),this.el.setPointerCapture(i.pointerId);const u=f=>{f.preventDefault();const p={startX:o,currentX:f.pageX,startY:l,currentY:f.pageY};this.emit("change",p)},d=f=>{f.preventDefault(),this.el.classList.remove("sash-active",IR),this.hoverDelayer.cancel(),this.emit("end"),this.el.releasePointerCapture(f.pointerId),window.removeEventListener("pointermove",u),window.removeEventListener("pointerup",d)};window.addEventListener("pointermove",u),window.addEventListener("pointerup",d)},this.onPointerDoublePress=()=>{this.emit("reset")},this.onMouseEnter=()=>{this.el.classList.contains(IR)?(this.hoverDelayer.cancel(),this.el.classList.add("sash-hover",RR)):this.hoverDelayer(this.el)},this.onMouseLeave=()=>{this.hoverDelayer.cancel(),this.el.classList.remove("sash-hover",RR)},this.el=document.createElement("div"),this.el.classList.add("sash",SVe),this.el.dataset.testid="sash",e.append(this.el),vVe&&this.el.classList.add("sash-mac",CVe),this.el.addEventListener("pointerdown",this.onPointerStart),this.el.addEventListener("dblclick",this.onPointerDoublePress),this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("mouseleave",this.onMouseLeave),typeof n.size=="number"?(this.size=n.size,n.orientation===Vl.Vertical?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=ole,ale.on("onDidChangeGlobalSize",i=>{this.size=i,this.layout()})),this.layoutProvider=r,this.orientation=(s=n.orientation)!=null?s:Vl.Vertical,this.orientation===Vl.Horizontal?(this.el.classList.add("sash-horizontal",DY),this.el.classList.remove("sash-vertical",IY)):(this.el.classList.remove("sash-horizontal",DY),this.el.classList.add("sash-vertical",IY)),this.layout()}layout(){if(this.orientation===Vl.Vertical){const e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{const e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}dispose(){this.el.removeEventListener("pointerdown",this.onPointerStart),this.el.removeEventListener("dblclick",this.onPointerDoublePress),this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("mouseleave",()=>this.onMouseLeave),this.el.remove()}},$C;var DR;(DR=$C||($C={})).Distribute={type:"distribute"},DR.Split=function(t){return{type:"split",index:t}},DR.Invisible=function(t){return{type:"invisible",cachedVisibleSize:t}};let Ul=(function(t){return t.Normal="NORMAL",t.Low="LOW",t.High="HIGH",t})({}),lle=class{constructor(e,r,n){this.container=void 0,this.view=void 0,this._size=void 0,this._cachedVisibleSize=void 0,this.container=e,this.view=r,this.container.classList.add("split-view-view",rle),this.container.dataset.testid="split-view-view",typeof n=="number"?(this._size=n,this._cachedVisibleSize=void 0,e.classList.add("split-view-view-visible")):(this._size=0,this._cachedVisibleSize=n.cachedVisibleSize)}set size(e){this._size=e}get size(){return this._size}get priority(){return this.view.priority}get snap(){return!!this.view.snap}get cachedVisibleSize(){return this._cachedVisibleSize}get visible(){return this._cachedVisibleSize===void 0}setVisible(e,r){e!==this.visible&&(e?(this.size=wc(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize=typeof r=="number"?r:this.size,this.size=0),this.container.classList.toggle("split-view-view-visible",e),this.view.setVisible&&this.view.setVisible(e))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}set enabled(e){this.container.style.pointerEvents=e?"":"none"}layout(e){this.layoutContainer(e),this.view.layout(this.size,e)}},MVe=class extends lle{layoutContainer(e){this.container.style.left=`${e}px`,this.container.style.width=`${this.size}px`}},PVe=class extends lle{layoutContainer(e){this.container.style.top=`${e}px`,this.container.style.height=`${this.size}px`}},jVe=class extends gN{get startSnappingEnabled(){return this._startSnappingEnabled}set startSnappingEnabled(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())}get endSnappingEnabled(){return this._endSnappingEnabled}set endSnappingEnabled(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())}constructor(e,r={},n,s,i){var o,l;if(super(),this.onDidChange=void 0,this.onDidDragStart=void 0,this.onDidDragEnd=void 0,this.orientation=void 0,this.sashContainer=void 0,this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.sashDragState=void 0,this.proportionalLayout=void 0,this.getSashOrthogonalSize=void 0,this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.onSashEnd=c=>{this.emit("sashchange",c),this.saveProportions();for(const u of this.viewItems)u.enabled=!0},this.orientation=(o=r.orientation)!=null?o:Vl.Vertical,this.proportionalLayout=(l=r.proportionalLayout)!=null?l:!0,this.getSashOrthogonalSize=r.getSashOrthogonalSize,n&&(this.onDidChange=n),s&&(this.onDidDragStart=s),i&&(this.onDidDragEnd=i),this.sashContainer=document.createElement("div"),this.sashContainer.classList.add("sash-container",pVe),e.prepend(this.sashContainer),r.descriptor){this.size=r.descriptor.size;for(const[c,u]of r.descriptor.views.entries()){const d=u.size,f=u.container,p=u.view;this.addView(f,p,d,c,!0)}this.contentSize=this.viewItems.reduce((c,u)=>c+u.size,0),this.saveProportions()}}addView(e,r,n,s=this.viewItems.length,i){let o;o=typeof n=="number"?n:n.type==="split"?this.getViewSize(n.index)/2:n.type==="invisible"?{cachedVisibleSize:n.cachedVisibleSize}:r.minimumSize;const l=this.orientation===Vl.Vertical?new PVe(e,r,o):new MVe(e,r,o);if(this.viewItems.splice(s,0,l),this.viewItems.length>1){const c=this.orientation===Vl.Vertical?new $Y(this.sashContainer,{getHorizontalSashTop:f=>this.getSashPosition(f),getHorizontalSashWidth:this.getSashOrthogonalSize},{orientation:Vl.Horizontal}):new $Y(this.sashContainer,{getVerticalSashLeft:f=>this.getSashPosition(f),getVerticalSashHeight:this.getSashOrthogonalSize},{orientation:Vl.Vertical}),u=this.orientation===Vl.Vertical?f=>({sash:c,start:f.startY,current:f.currentY}):f=>({sash:c,start:f.startX,current:f.currentX});c.on("start",f=>{var p;this.emit("sashDragStart"),this.onSashStart(u(f));const m=this.viewItems.map(h=>h.size);(p=this.onDidDragStart)==null||p.call(this,m)}),c.on("change",f=>this.onSashChange(u(f))),c.on("end",()=>{var f;this.emit("sashDragEnd"),this.onSashEnd(this.sashItems.findIndex(m=>m.sash===c));const p=this.viewItems.map(m=>m.size);(f=this.onDidDragEnd)==null||f.call(this,p)}),c.on("reset",()=>{const f=this.sashItems.findIndex(g=>g.sash===c),p=Il(f,-1,-1),m=Il(f+1,this.viewItems.length),h=this.findFirstSnapIndex(p),_=this.findFirstSnapIndex(m);(typeof h!="number"||this.viewItems[h].visible)&&(typeof _!="number"||this.viewItems[_].visible)&&this.emit("sashreset",f)});const d={sash:c};this.sashItems.splice(s-1,0,d)}i||this.relayout(),i||typeof n=="number"||n.type!=="distribute"||this.distributeViewSizes()}removeView(e,r){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");const n=this.viewItems.splice(e,1)[0].view;if(this.viewItems.length>=1){const s=Math.max(e-1,0);this.sashItems.splice(s,1)[0].sash.dispose()}return this.relayout(),r&&r.type==="distribute"&&this.distributeViewSizes(),n}moveView(e,r,n){const s=this.getViewCachedVisibleSize(r),i=s===void 0?this.getViewSize(r):$C.Invisible(s),o=this.removeView(r);this.addView(e,o,i,n)}getViewCachedVisibleSize(e){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");return this.viewItems[e].cachedVisibleSize}layout(e=this.size){const r=Math.max(this.size,this.contentSize);if(this.size=e,this.proportions)for(let n=0;n<this.viewItems.length;n++){const s=this.viewItems[n];s.size=wc(Math.round(this.proportions[n]*e),s.minimumSize,s.maximumSize)}else{const n=Il(0,this.viewItems.length),s=n.filter(o=>this.viewItems[o].priority===Ul.Low),i=n.filter(o=>this.viewItems[o].priority===Ul.High);this.resize(this.viewItems.length-1,e-r,void 0,s,i)}this.distributeEmptySpace(),this.layoutViews()}resizeView(e,r){if(e<0||e>=this.viewItems.length)return;const n=Il(0,this.viewItems.length).filter(l=>l!==e),s=[...n.filter(l=>this.viewItems[l].priority===Ul.Low),e],i=n.filter(l=>this.viewItems[l].priority===Ul.High),o=this.viewItems[e];r=Math.round(r),r=wc(r,o.minimumSize,Math.min(o.maximumSize,this.size)),o.size=r,this.relayout(s,i)}resizeViews(e){for(let r=0;r<e.length;r++){const n=this.viewItems[r];let s=e[r];s=Math.round(s),s=wc(s,n.minimumSize,Math.min(n.maximumSize,this.size)),n.size=s}this.contentSize=this.viewItems.reduce((r,n)=>r+n.size,0),this.saveProportions(),this.layout(this.size)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}isViewVisible(e){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");return this.viewItems[e].visible}setViewVisible(e,r){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");this.viewItems[e].setVisible(r),this.distributeEmptySpace(e),this.layoutViews(),this.saveProportions()}distributeViewSizes(){const e=[];let r=0;for(const l of this.viewItems)l.maximumSize-l.minimumSize>0&&(e.push(l),r+=l.size);const n=Math.floor(r/e.length);for(const l of e)l.size=wc(n,l.minimumSize,l.maximumSize);const s=Il(0,this.viewItems.length),i=s.filter(l=>this.viewItems[l].priority===Ul.Low),o=s.filter(l=>this.viewItems[l].priority===Ul.High);this.relayout(i,o)}dispose(){this.sashItems.forEach(e=>e.sash.dispose()),this.sashItems=[],this.sashContainer.remove()}relayout(e,r){const n=this.viewItems.reduce((s,i)=>s+i.size,0);this.resize(this.viewItems.length-1,this.size-n,void 0,e,r),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}onSashStart({sash:e,start:r}){const n=this.sashItems.findIndex(s=>s.sash===e);(s=>{const i=this.viewItems.map(b=>b.size);let o,l,c=Number.NEGATIVE_INFINITY,u=Number.POSITIVE_INFINITY;const d=Il(n,-1,-1),f=Il(n+1,this.viewItems.length),p=d.reduce((b,x)=>b+(this.viewItems[x].minimumSize-i[x]),0),m=d.reduce((b,x)=>b+(this.viewItems[x].viewMaximumSize-i[x]),0),h=f.length===0?Number.POSITIVE_INFINITY:f.reduce((b,x)=>b+(i[x]-this.viewItems[x].minimumSize),0),_=f.length===0?Number.NEGATIVE_INFINITY:f.reduce((b,x)=>b+(i[x]-this.viewItems[x].viewMaximumSize),0);c=Math.max(p,_),u=Math.min(h,m);const g=this.findFirstSnapIndex(d),y=this.findFirstSnapIndex(f);if(typeof g=="number"){const b=this.viewItems[g],x=Math.floor(b.viewMinimumSize/2);o={index:g,limitDelta:b.visible?c-x:c+x,size:b.size}}if(typeof y=="number"){const b=this.viewItems[y],x=Math.floor(b.viewMinimumSize/2);l={index:y,limitDelta:b.visible?u+x:u-x,size:b.size}}this.sashDragState={start:s,current:s,index:n,sizes:i,minDelta:c,maxDelta:u,snapBefore:o,snapAfter:l}})(r)}onSashChange({current:e}){const{index:r,start:n,sizes:s,minDelta:i,maxDelta:o,snapBefore:l,snapAfter:c}=this.sashDragState;this.sashDragState.current=e;const u=e-n;this.resize(r,u,s,void 0,void 0,i,o,l,c),this.distributeEmptySpace(),this.layoutViews()}getSashPosition(e){let r=0;for(let n=0;n<this.sashItems.length;n++)if(r+=this.viewItems[n].size,this.sashItems[n].sash===e)return r;return 0}resize(e,r,n=this.viewItems.map(d=>d.size),s,i,o=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY,c,u){if(e<0||e>=this.viewItems.length)return 0;const d=Il(e,-1,-1),f=Il(e+1,this.viewItems.length);if(i)for(const A of i)RY(d,A),RY(f,A);if(s)for(const A of s)ER(d,A),ER(f,A);const p=d.map(A=>this.viewItems[A]),m=d.map(A=>n[A]),h=f.map(A=>this.viewItems[A]),_=f.map(A=>n[A]),g=d.reduce((A,P)=>A+(this.viewItems[P].minimumSize-n[P]),0),y=d.reduce((A,P)=>A+(this.viewItems[P].maximumSize-n[P]),0),b=f.length===0?Number.POSITIVE_INFINITY:f.reduce((A,P)=>A+(n[P]-this.viewItems[P].minimumSize),0),x=f.length===0?Number.NEGATIVE_INFINITY:f.reduce((A,P)=>A+(n[P]-this.viewItems[P].maximumSize),0),w=Math.max(g,x,o),C=Math.min(b,y,l);let k=!1;if(c){const A=this.viewItems[c.index],P=r>=c.limitDelta;k=P!==A.visible,A.setVisible(P,c.size)}if(!k&&u){const A=this.viewItems[u.index],P=r<u.limitDelta;k=P!==A.visible,A.setVisible(P,u.size)}if(k)return this.resize(e,r,n,s,i,o,l);for(let A=0,P=r=wc(r,w,C);A<p.length;A++){const T=p[A],j=wc(m[A]+P,T.minimumSize,T.maximumSize);P-=j-m[A],T.size=j}for(let A=0,P=r;A<h.length;A++){const T=h[A],j=wc(_[A]-P,T.minimumSize,T.maximumSize);P+=j-_[A],T.size=j}return r}distributeEmptySpace(e){const r=this.viewItems.reduce((u,d)=>u+d.size,0);let n=this.size-r;const s=Il(0,this.viewItems.length),i=[],o=s.filter(u=>this.viewItems[u].priority===Ul.Low),l=s.filter(u=>this.viewItems[u].priority===Ul.Normal),c=s.filter(u=>this.viewItems[u].priority===Ul.High);i.push(...c,...l,...o),typeof e=="number"&&ER(i,e);for(let u=0;n!==0&&u<i.length;u++){const d=this.viewItems[i[u]],f=wc(d.size+n,d.minimumSize,d.maximumSize);n-=f-d.size,d.size=f}}layoutViews(){var e;this.contentSize=this.viewItems.reduce((n,s)=>n+s.size,0);let r=0;for(const n of this.viewItems)n.layout(r),r+=n.size;(e=this.onDidChange)!=null&&e.call(this,this.viewItems.map(n=>n.size)),this.sashItems.forEach(n=>n.sash.layout()),this.updateSashEnablement()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(e=>e.size/this.contentSize))}updateSashEnablement(){let e=!1;const r=this.viewItems.map(c=>e=c.size-c.minimumSize>0||e);e=!1;const n=this.viewItems.map(c=>e=c.maximumSize-c.size>0||e),s=[...this.viewItems].reverse();e=!1;const i=s.map(c=>e=c.size-c.minimumSize>0||e).reverse();e=!1;const o=s.map(c=>e=c.maximumSize-c.size>0||e).reverse();let l=0;for(let c=0;c<this.sashItems.length;c++){const{sash:u}=this.sashItems[c];l+=this.viewItems[c].size;const d=!(r[c]&&o[c+1]),f=!(n[c]&&i[c+1]);if(d&&f){const p=Il(c,-1,-1),m=Il(c+1,this.viewItems.length),h=this.findFirstSnapIndex(p),_=this.findFirstSnapIndex(m),g=typeof h=="number"&&!this.viewItems[h].visible,y=typeof _=="number"&&!this.viewItems[_].visible;g&&i[c]&&(l>0||this.startSnappingEnabled)?u.state=rl.Minimum:y&&r[c]&&(l<this.contentSize||this.endSnappingEnabled)?u.state=rl.Maximum:u.state=rl.Disabled}else u.state=d&&!f?rl.Minimum:!d&&f?rl.Maximum:rl.Enabled}}findFirstSnapIndex(e){for(const r of e){const n=this.viewItems[r];if(n.visible&&n.snap)return r}for(const r of e){const n=this.viewItems[r];if(n.visible&&n.maximumSize-n.minimumSize>0)return;if(!n.visible&&n.snap)return r}}},Vg=class{constructor(e){this.size=void 0,this.size=e}getPreferredSize(){return this.size}},OY=class{constructor(e,r){this.proportion=void 0,this.layoutService=void 0,this.proportion=e,this.layoutService=r}getPreferredSize(){return this.proportion*this.layoutService.getSize()}},A2=class{getPreferredSize(){}},LY=class{get preferredSize(){return this.layoutStrategy.getPreferredSize()}set preferredSize(e){if(typeof e=="number")this.layoutStrategy=new Vg(e);else if(typeof e=="string"){const r=e.trim();if(C2(r,"%")){const n=Number(r.slice(0,-1))/100;this.layoutStrategy=new OY(n,this.layoutService)}else if(C2(r,"px")){const n=Number(r.slice(0,-2))/100;this.layoutStrategy=new Vg(n)}else if(typeof Number.parseFloat(r)=="number"){const n=Number.parseFloat(r);this.layoutStrategy=new Vg(n)}else this.layoutStrategy=new A2}else this.layoutStrategy=new A2}constructor(e,r){var n;if(this.minimumSize=0,this.maximumSize=Number.POSITIVE_INFINITY,this.element=void 0,this.priority=void 0,this.snap=void 0,this.layoutService=void 0,this.layoutStrategy=void 0,this.layoutService=e,this.element=r.element,this.minimumSize=typeof r.minimumSize=="number"?r.minimumSize:30,this.maximumSize=typeof r.maximumSize=="number"?r.maximumSize:Number.POSITIVE_INFINITY,typeof r.preferredSize=="number")this.layoutStrategy=new Vg(r.preferredSize);else if(typeof r.preferredSize=="string"){const s=r.preferredSize.trim();if(C2(s,"%")){const i=Number(s.slice(0,-1))/100;this.layoutStrategy=new OY(i,this.layoutService)}else if(C2(s,"px")){const i=Number(s.slice(0,-2));this.layoutStrategy=new Vg(i)}else if(typeof Number.parseFloat(s)=="number"){const i=Number.parseFloat(s);this.layoutStrategy=new Vg(i)}else this.layoutStrategy=new A2}else this.layoutStrategy=new A2;this.priority=(n=r.priority)!=null?n:Ul.Normal,this.snap=typeof r.snap=="boolean"&&r.snap}layout(e){}};function NY(t){return t.minSize!==void 0||t.maxSize!==void 0||t.preferredSize!==void 0||t.priority!==void 0||t.visible!==void 0}const _N=I.forwardRef(({className:t,children:e},r)=>Yn.createElement("div",{ref:r,className:J6("split-view-view",rle,t)},e));_N.displayName="Allotment.Pane";const cle=I.forwardRef(({children:t,className:e,id:r,maxSize:n=1/0,minSize:s=30,proportionalLayout:i=!0,separator:o=!0,sizes:l,defaultSizes:c=l,snap:u=!1,vertical:d=!1,onChange:f,onReset:p,onVisibleChange:m,onDragStart:h,onDragEnd:_},g)=>{const y=I.useRef(null),b=I.useRef([]),x=I.useRef(new Map),w=I.useRef(null),C=I.useRef(new Map),k=I.useRef(new yVe),A=I.useRef([]),[P,T]=I.useState(!1),j=I.useMemo(()=>Yn.Children.toArray(t).filter(Yn.isValidElement),[t]),R=I.useCallback(D=>{var O,N;const F=(O=A.current)==null?void 0:O[D];return typeof F?.preferredSize=="number"&&((N=w.current)!=null&&N.resizeView(D,Math.round(F.preferredSize)),!0)},[]);return I.useImperativeHandle(g,()=>({reset:()=>{if(p)p();else{var D;(D=w.current)==null||D.distributeViewSizes();for(let O=0;O<A.current.length;O++)R(O)}},resize:D=>{var O;(O=w.current)==null||O.resizeViews(D)}})),MY(()=>{let D=!0;c&&C.current.size!==c.length&&(D=!1,console.warn(`Expected ${c.length} children based on defaultSizes but found ${C.current.size}`)),D&&c&&(b.current=j.map(F=>F.key));const O=bb({orientation:d?Vl.Vertical:Vl.Horizontal,proportionalLayout:i},D&&c&&{descriptor:{size:c.reduce((F,U)=>F+U,0),views:c.map((F,U)=>{var z,H,W,K;const q=x.current.get(b.current[U]),X=new LY(k.current,bb({element:document.createElement("div"),minimumSize:(z=q?.minSize)!=null?z:s,maximumSize:(H=q?.maxSize)!=null?H:n,priority:(W=q?.priority)!=null?W:Ul.Normal},q?.preferredSize&&{preferredSize:q?.preferredSize},{snap:(K=q?.snap)!=null?K:u}));return A.current.push(X),{container:[...C.current.values()][U],size:F,view:X}})}});w.current=new jVe(y.current,O,f,h,_),w.current.on("sashDragStart",()=>{var F;(F=y.current)==null||F.classList.add("split-view-sash-dragging")}),w.current.on("sashDragEnd",()=>{var F;(F=y.current)==null||F.classList.remove("split-view-sash-dragging")}),w.current.on("sashchange",F=>{if(m&&w.current){const U=j.map(z=>z.key);for(let z=0;z<U.length;z++){const H=x.current.get(U[z]);H?.visible!==void 0&&H.visible!==w.current.isViewVisible(z)&&m(z,w.current.isViewVisible(z))}}}),w.current.on("sashreset",F=>{if(p)p();else{var U;if(R(F)||R(F+1))return;(U=w.current)==null||U.distributeViewSizes()}});const N=w.current;return()=>{N.dispose()}},[]),MY(()=>{if(P){const Q=j.map(de=>de.key),Y=[...b.current],Z=Q.filter(de=>!b.current.includes(de)),re=Q.filter(de=>b.current.includes(de)),fe=b.current.map(de=>!Q.includes(de));for(let de=fe.length-1;de>=0;de--){var D;fe[de]&&((D=w.current)!=null&&D.removeView(de),Y.splice(de,1),A.current.splice(de,1))}for(const de of Z){var O,N,F,U,z;const se=x.current.get(de),le=new LY(k.current,bb({element:document.createElement("div"),minimumSize:(O=se?.minSize)!=null?O:s,maximumSize:(N=se?.maxSize)!=null?N:n,priority:(F=se?.priority)!=null?F:Ul.Normal},se?.preferredSize&&{preferredSize:se?.preferredSize},{snap:(U=se?.snap)!=null?U:u}));(z=w.current)!=null&&z.addView(C.current.get(de),le,$C.Distribute,Q.findIndex(ee=>ee===de)),Y.splice(Q.findIndex(ee=>ee===de),0,de),A.current.splice(Q.findIndex(ee=>ee===de),0,le)}for(;!uVe(Q,Y);)for(const[de,se]of Q.entries()){const le=Y.findIndex(ee=>ee===se);if(le!==de){var H;(H=w.current)==null||H.moveView(C.current.get(se),le,de);const ee=Y[le];Y.splice(le,1),Y.splice(de,0,ee);break}}for(const de of Z){var W;const se=Q.findIndex(ee=>ee===de),le=A.current[se].preferredSize;le!==void 0&&((W=w.current)==null||W.resizeView(se,le))}for(const de of[...Z,...re]){var K,q;const se=x.current.get(de),le=Q.findIndex(ee=>ee===de);se&&NY(se)&&se.visible!==void 0&&((K=w.current)==null?void 0:K.isViewVisible(le))!==se.visible&&((q=w.current)==null||q.setViewVisible(le,se.visible))}for(const de of re){const se=x.current.get(de),le=Q.findIndex(ee=>ee===de);if(se&&NY(se)){var X;se.preferredSize!==void 0&&A.current[le].preferredSize!==se.preferredSize&&(A.current[le].preferredSize=se.preferredSize);let ee=!1;se.minSize!==void 0&&A.current[le].minimumSize!==se.minSize&&(A.current[le].minimumSize=se.minSize,ee=!0),se.maxSize!==void 0&&A.current[le].maximumSize!==se.maxSize&&(A.current[le].maximumSize=se.maxSize,ee=!0),ee&&((X=w.current)==null||X.layout())}}(Z.length>0||fe.length>0)&&(b.current=Q)}},[j,P,n,s,u]),I.useEffect(()=>{w.current&&(w.current.onDidChange=f)},[f]),I.useEffect(()=>{w.current&&(w.current.onDidDragStart=h)},[h]),I.useEffect(()=>{w.current&&(w.current.onDidDragEnd=_)},[_]),dVe({ref:y,onResize:({width:D,height:O})=>{var N;D&&O&&((N=w.current)!=null&&N.layout(d?O:D),k.current.setSize(d?O:D),T(!0))}}),I.useEffect(()=>{ile&&TVe(20)},[]),Yn.createElement("div",{ref:y,className:J6("split-view",d?"split-view-vertical":"split-view-horizontal",{"split-view-separator-border":o},fVe,d?hVe:gVe,{[_Ve]:o},e),id:r},Yn.createElement("div",{className:J6("split-view-container",mVe)},Yn.Children.toArray(t).map(D=>{if(!Yn.isValidElement(D))return null;const O=D.key;return D.type.displayName==="Allotment.Pane"?(x.current.set(O,D.props),Yn.cloneElement(D,{key:O,ref:N=>{const F=D.ref;F&&(F.current=N),N?C.current.set(O,N):C.current.delete(O)}})):Yn.createElement(_N,{key:O,ref:N=>{N?C.current.set(O,N):C.current.delete(O)}},D)})))});function TVe(t){const e=wc(t,4,20),r=wc(t,1,8);document.documentElement.style.setProperty("--sash-size",e+"px"),document.documentElement.style.setProperty("--sash-hover-size",r+"px"),(function(n){ole=n,ale.emit("onDidChangeGlobalSize",n)})(e)}cle.displayName="Allotment";var $R=Object.assign(cle,{Pane:_N});function ts(t){return typeof t!="object"||t===null||typeof t.lastModified=="number"&&typeof File<"u"&&t instanceof File||typeof t.getMonth=="function"&&typeof Date<"u"&&t instanceof Date?!1:!Array.isArray(t)}function EVe(t){return t.additionalItems===!0&&console.warn("additionalItems=true is currently not supported"),ts(t.additionalItems)}function FY(t){if(t==="")return;if(t===null)return null;if(/\.$/.test(t)||/\.0$/.test(t)||/\.\d*0$/.test(t))return t;const e=Number(t);return typeof e=="number"&&!Number.isNaN(e)?e:t}const Uh="__additional_property",e$="additionalProperties",Lv="allOf",Tc="anyOf",zd="const",RVe="default",HA="dependencies",IVe="enum",aa="__errors",cp="$id",DVe="if",gp="items",$Ve="_$junk_option_schema_id$_",Yw="$name",ll="oneOf",vi="properties",OVe="required",OC="submitButtonOptions",Hi="$ref",vN="__rjsf_additionalProperties",ule="__rjsf_rootSchema",LVe="ui:field",yN="ui:widget",xb="ui:options",NVe="ui:globalOptions";function Dn(t={},e={}){return Object.keys(t).filter(r=>r.indexOf("ui:")===0).reduce((r,n)=>{const s=t[n];return n===yN&&ts(s)?(console.error("Setting options via ui:widget object is no longer supported, use ui:options instead"),r):n===xb&&ts(s)?{...r,...s}:{...r,[n.substring(3)]:s}},{...e})}function bN(t,e={},r){if(!t.additionalProperties)return!1;const{expandable:n=!0}=Dn(e);return n===!1?n:t.maxProperties!==void 0&&r?Object.keys(r).length<t.maxProperties:!0}function LC(t){const e={[aa]:[],addError(r){this[aa].push(r)}};if(Array.isArray(t))return t.reduce((r,n,s)=>({...r,[s]:LC(n)}),e);if(ph(t)){const r=t;return Object.keys(r).reduce((n,s)=>({...n,[s]:LC(r[s])}),e)}return e}var FVe="__lodash_hash_undefined__";function UVe(t){return this.__data__.set(t,FVe),this}function BVe(t){return this.__data__.has(t)}function G_(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new khe;++e<r;)this.add(t[e])}G_.prototype.add=G_.prototype.push=UVe;G_.prototype.has=BVe;function zVe(t,e){for(var r=-1,n=t==null?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function xN(t,e){return t.has(e)}var qVe=1,VVe=2;function dle(t,e,r,n,s,i){var o=r&qVe,l=t.length,c=e.length;if(l!=c&&!(o&&c>l))return!1;var u=i.get(t),d=i.get(e);if(u&&d)return u==e&&d==t;var f=-1,p=!0,m=r&VVe?new G_:void 0;for(i.set(t,e),i.set(e,t);++f<l;){var h=t[f],_=e[f];if(n)var g=o?n(_,h,f,e,t,i):n(h,_,f,t,e,i);if(g!==void 0){if(g)continue;p=!1;break}if(m){if(!zVe(e,function(y,b){if(!xN(m,b)&&(h===y||s(h,y,r,n,i)))return m.push(b)})){p=!1;break}}else if(!(h===_||s(h,_,r,n,i))){p=!1;break}}return i.delete(t),i.delete(e),p}function HVe(t){var e=-1,r=Array(t.size);return t.forEach(function(n,s){r[++e]=[s,n]}),r}function SN(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var GVe=1,WVe=2,YVe="[object Boolean]",KVe="[object Date]",QVe="[object Error]",ZVe="[object Map]",XVe="[object Number]",JVe="[object RegExp]",eHe="[object Set]",tHe="[object String]",rHe="[object Symbol]",nHe="[object ArrayBuffer]",sHe="[object DataView]",UY=sC?sC.prototype:void 0,OR=UY?UY.valueOf:void 0;function iHe(t,e,r,n,s,i,o){switch(r){case sHe:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case nHe:return!(t.byteLength!=e.byteLength||!i(new ZF(t),new ZF(e)));case YVe:case KVe:case XVe:return K$(+t,+e);case QVe:return t.name==e.name&&t.message==e.message;case JVe:case tHe:return t==e+"";case ZVe:var l=HVe;case eHe:var c=n&GVe;if(l||(l=SN),t.size!=e.size&&!c)return!1;var u=o.get(t);if(u)return u==e;n|=WVe,o.set(t,e);var d=dle(l(t),l(e),n,s,i,o);return o.delete(t),d;case rHe:if(OR)return OR.call(t)==OR.call(e)}return!1}var oHe=1,aHe=Object.prototype,lHe=aHe.hasOwnProperty;function cHe(t,e,r,n,s,i){var o=r&oHe,l=XF(t),c=l.length,u=XF(e),d=u.length;if(c!=d&&!o)return!1;for(var f=c;f--;){var p=l[f];if(!(o?p in e:lHe.call(e,p)))return!1}var m=i.get(t),h=i.get(e);if(m&&h)return m==e&&h==t;var _=!0;i.set(t,e),i.set(e,t);for(var g=o;++f<c;){p=l[f];var y=t[p],b=e[p];if(n)var x=o?n(b,y,p,e,t,i):n(y,b,p,t,e,i);if(!(x===void 0?y===b||s(y,b,r,n,i):x)){_=!1;break}g||(g=p=="constructor")}if(_&&!g){var w=t.constructor,C=e.constructor;w!=C&&"constructor"in t&&"constructor"in e&&!(typeof w=="function"&&w instanceof w&&typeof C=="function"&&C instanceof C)&&(_=!1)}return i.delete(t),i.delete(e),_}var uHe=1,BY="[object Arguments]",zY="[object Array]",k2="[object Object]",dHe=Object.prototype,qY=dHe.hasOwnProperty;function fHe(t,e,r,n,s,i){var o=Da(t),l=Da(e),c=o?zY:LD(t),u=l?zY:LD(e);c=c==BY?k2:c,u=u==BY?k2:u;var d=c==k2,f=u==k2,p=c==u;if(p&&Rb(t)){if(!Rb(e))return!1;o=!0,d=!1}if(p&&!d)return i||(i=new ab),o||U3(t)?dle(t,e,r,n,s,i):iHe(t,e,c,r,n,s,i);if(!(r&uHe)){var m=d&&qY.call(t,"__wrapped__"),h=f&&qY.call(e,"__wrapped__");if(m||h){var _=m?t.value():t,g=h?e.value():e;return i||(i=new ab),s(_,g,r,n,i)}}return p?(i||(i=new ab),cHe(t,e,r,n,s,i)):!1}function GA(t,e,r,n,s){return t===e?!0:t==null||e==null||!Ib(t)&&!Ib(e)?t!==t&&e!==e:fHe(t,e,r,n,GA,s)}function pHe(t,e,r){r=typeof r=="function"?r:void 0;var n=r?r(t,e):void 0;return n===void 0?GA(t,e,void 0,r):!!n}function Bs(t,e){return pHe(t,e,(r,n)=>{if(typeof r=="function"&&typeof n=="function")return!0})}var mHe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hHe=/^\w*$/;function wN(t,e){if(Da(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||Xee(t)?!0:hHe.test(t)||!mHe.test(t)||e!=null&&t in Object(e)}function Nv(t,e){return Da(t)?t:wN(t,e)?[t]:Mhe(Jee(t))}function WA(t,e){e=Nv(e,t);for(var r=0,n=e.length;t!=null&&r<n;)t=t[ov(e[r++])];return r&&r==n?t:void 0}function $r(t,e,r){var n=t==null?void 0:WA(t,e);return n===void 0?r:n}var gHe="[object Map]",_He="[object Set]",vHe=Object.prototype,yHe=vHe.hasOwnProperty;function W_(t){if(t==null)return!0;if(B3(t)&&(Da(t)||typeof t=="string"||typeof t.splice=="function"||Rb(t)||U3(t)||Db(t)))return!t.length;var e=LD(t);if(e==gHe||e==_He)return!t.size;if(Phe(t))return!jhe(t).length;for(var r in t)if(yHe.call(t,r))return!1;return!0}var My={},VY;function bHe(){if(VY)return My;VY=1;var t=/~/,e=/~[01]/g;function r(u){switch(u){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+u)}function n(u){return t.test(u)?u.replace(e,r):u}function s(u,d,f){for(var p,m,h=1,_=d.length;h<_;){if(d[h]==="constructor"||d[h]==="prototype"||d[h]==="__proto__")return u;if(p=n(d[h++]),m=_>h,typeof u[p]>"u"&&(Array.isArray(u)&&p==="-"&&(p=u.length),m&&(d[h]!==""&&d[h]<1/0||d[h]==="-"?u[p]=[]:u[p]={})),!m)break;u=u[p]}var g=u[p];return f===void 0?delete u[p]:u[p]=f,g}function i(u){if(typeof u=="string"){if(u=u.split("/"),u[0]==="")return u;throw new Error("Invalid JSON pointer.")}else if(Array.isArray(u)){for(const d of u)if(typeof d!="string"&&typeof d!="number")throw new Error("Invalid JSON pointer. Must be of type string or number.");return u}throw new Error("Invalid JSON pointer.")}function o(u,d){if(typeof u!="object")throw new Error("Invalid input object.");d=i(d);var f=d.length;if(f===1)return u;for(var p=1;p<f;){if(u=u[n(d[p++])],f===p)return u;if(typeof u!="object"||u===null)return}}function l(u,d,f){if(typeof u!="object")throw new Error("Invalid input object.");if(d=i(d),d.length===0)throw new Error("Invalid JSON pointer for set.");return s(u,d,f)}function c(u){var d=i(u);return{get:function(f){return o(f,d)},set:function(f,p){return l(f,d,p)}}}return My.get=o,My.set=l,My.compile=c,My}var xHe=bHe();const SHe=Pi(xHe);function wHe(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function CHe(t,e,r){var n=-1,s=t.length;e<0&&(e=-e>s?0:s+e),r=r>s?s:r,r<0&&(r+=s),s=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(s);++n<s;)i[n]=t[n+e];return i}function AHe(t,e){return e.length<2?t:WA(t,CHe(e,0,-1))}function fle(t,e){return e=Nv(e,t),t=AHe(t,e),t==null||delete t[ov(wHe(e))]}function kHe(t){return ph(t)?void 0:t}var HY=sC?sC.isConcatSpreadable:void 0;function MHe(t){return Da(t)||Db(t)||!!(HY&&t&&t[HY])}function K0(t,e,r,n,s){var i=-1,o=t.length;for(r||(r=MHe),s||(s=[]);++i<o;){var l=t[i];e>0&&r(l)?e>1?K0(l,e-1,r,n,s):The(s,l):n||(s[s.length]=l)}return s}function PHe(t){var e=t==null?0:t.length;return e?K0(t,1):[]}function jHe(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var GY=Math.max;function ple(t,e,r){return e=GY(e===void 0?t.length-1:e,0),function(){for(var n=arguments,s=-1,i=GY(n.length-e,0),o=Array(i);++s<i;)o[s]=n[e+s];s=-1;for(var l=Array(e+1);++s<e;)l[s]=n[s];return l[e]=r(o),jHe(t,this,l)}}function THe(t){return function(){return t}}function YA(t){return t}var EHe=JF?function(t,e){return JF(t,"toString",{configurable:!0,enumerable:!1,value:THe(e),writable:!0})}:YA,RHe=800,IHe=16,DHe=Date.now;function $He(t){var e=0,r=0;return function(){var n=DHe(),s=IHe-(n-r);if(r=n,s>0){if(++e>=RHe)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var mle=$He(EHe);function hle(t){return mle(ple(t,void 0,PHe),t+"")}var OHe=1,LHe=2,NHe=4,NC=hle(function(t,e){var r={};if(t==null)return r;var n=!1;e=ete(e,function(i){return i=Nv(i,t),n||(n=i.length>1),i}),tte(t,rte(t),r),n&&(r=Ehe(r,OHe|LHe|NHe,kHe));for(var s=e.length;s--;)fle(r,e[s]);return r});function CN(t,e){const r=e[t];return[NC(e,[t]),r]}function gle(t,e={},r=[]){const n=t||"";let s;if(n.startsWith("#"))s=decodeURIComponent(n.substring(1));else throw new Error(`Could not find a definition for ${t}.`);const i=SHe.get(e,s);if(i===void 0)throw new Error(`Could not find a definition for ${t}.`);const o=i[Hi];if(o){if(r.includes(o)){if(r.length===1)throw new Error(`Definition for ${t} is a circular reference`);const[d,...f]=r,p=[...f,n,d].join(" -> ");throw new Error(`Definition for ${d} contains a circular reference through ${p}`)}const[l,c]=CN(Hi,i),u=gle(c,e,[...r,n]);return Object.keys(l).length>0?{...l,...u}:u}return i}function _le(t,e={}){return gle(t,e,[])}var FHe=Object.prototype,UHe=FHe.hasOwnProperty;function BHe(t,e){return t!=null&&UHe.call(t,e)}function vle(t,e,r){e=Nv(e,t);for(var n=-1,s=e.length,i=!1;++n<s;){var o=ov(e[n]);if(!(i=t!=null&&r(t,o)))break;t=t[o]}return i||++n!=s?i:(s=t==null?0:t.length,!!s&&Rhe(s)&&Q$(o,s)&&(Da(t)||Db(t)))}function ia(t,e){return t!=null&&vle(t,e,BHe)}var zHe="[object Number]";function yle(t){return typeof t=="number"||Ib(t)&&nte(t)==zHe}var qHe="[object String]";function KA(t){return typeof t=="string"||!Da(t)&&Ib(t)&&nte(t)==qHe}function VHe(t,e,r,n){var s=-1,i=t==null?0:t.length;for(n&&i&&(r=t[++s]);++s<i;)r=e(r,t[s],s,t);return r}function HHe(t){return function(e,r,n){for(var s=-1,i=Object(e),o=n(e),l=o.length;l--;){var c=o[++s];if(r(i[c],c,i)===!1)break}return e}}var ble=HHe();function xle(t,e){return t&&ble(t,e,Fm)}function GHe(t,e){return function(r,n){if(r==null)return r;if(!B3(r))return t(r,n);for(var s=r.length,i=-1,o=Object(r);++i<s&&n(o[i],i,o)!==!1;);return r}}var Sle=GHe(xle),WHe=1,YHe=2;function KHe(t,e,r,n){var s=r.length,i=s;if(t==null)return!i;for(t=Object(t);s--;){var o=r[s];if(o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++s<i;){o=r[s];var l=o[0],c=t[l],u=o[1];if(o[2]){if(c===void 0&&!(l in t))return!1}else{var d=new ab,f;if(!(f===void 0?GA(u,c,WHe|YHe,n,d):f))return!1}}return!0}function wle(t){return t===t&&!Ci(t)}function QHe(t){for(var e=Fm(t),r=e.length;r--;){var n=e[r],s=t[n];e[r]=[n,s,wle(s)]}return e}function Cle(t,e){return function(r){return r==null?!1:r[t]===e&&(e!==void 0||t in Object(r))}}function ZHe(t){var e=QHe(t);return e.length==1&&e[0][2]?Cle(e[0][0],e[0][1]):function(r){return r===t||KHe(r,t,e)}}function XHe(t,e){return t!=null&&e in Object(t)}function Ale(t,e){return t!=null&&vle(t,e,XHe)}var JHe=1,eGe=2;function tGe(t,e){return wN(t)&&wle(e)?Cle(ov(t),e):function(r){var n=$r(r,t);return n===void 0&&n===e?Ale(r,t):GA(e,n,JHe|eGe)}}function rGe(t){return function(e){return e?.[t]}}function nGe(t){return function(e){return WA(e,t)}}function sGe(t){return wN(t)?rGe(ov(t)):nGe(t)}function AN(t){return typeof t=="function"?t:t==null?YA:typeof t=="object"?Da(t)?tGe(t[0],t[1]):ZHe(t):sGe(t)}function iGe(t,e,r,n,s){return s(t,function(i,o,l){r=n?(n=!1,i):e(r,i,o,l)}),r}function oGe(t,e,r){var n=Da(t)?VHe:iGe,s=arguments.length<3;return n(t,AN(e),r,s,Sle)}function kle(t){return typeof t=="function"?t:YA}var aGe=/\s/;function lGe(t){for(var e=t.length;e--&&aGe.test(t.charAt(e)););return e}var cGe=/^\s+/;function uGe(t){return t&&t.slice(0,lGe(t)+1).replace(cGe,"")}var WY=NaN,dGe=/^[-+]0x[0-9a-f]+$/i,fGe=/^0b[01]+$/i,pGe=/^0o[0-7]+$/i,mGe=parseInt;function hGe(t){if(typeof t=="number")return t;if(Xee(t))return WY;if(Ci(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Ci(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=uGe(t);var r=fGe.test(t);return r||pGe.test(t)?mGe(t.slice(2),r?2:8):dGe.test(t)?WY:+t}var YY=1/0,gGe=17976931348623157e292;function _Ge(t){if(!t)return t===0?t:0;if(t=hGe(t),t===YY||t===-YY){var e=t<0?-1:1;return e*gGe}return t===t?t:0}function vGe(t){var e=_Ge(t),r=e%1;return e===e?r?e-r:e:0}var yGe=9007199254740991,LR=4294967295,bGe=Math.min;function Mle(t,e){if(t=vGe(t),t<1||t>yGe)return[];var r=LR,n=bGe(t,LR);e=kle(e),t-=LR;for(var s=Ihe(n,e);++r<t;)e(r);return s}function Ple(t,e,r){var n;if(t&&r){const s=$r(t,r);if(s===void 0)return;for(let i=0;i<e.length;i++){const o=e[i],l=$r(o,[vi,r],{});if(!(l.type==="object"||l.type==="array")&&(l.const===s||!((n=l.enum)===null||n===void 0)&&n.includes(s)))return i}}}function jle(t,e,r,n,s){if(e===void 0)return 0;const i=Ple(e,r,s);if(yle(i))return i;for(let o=0;o<r.length;o++){const l=r[o];if(s&&ia(l,[vi,s])){const c=$r(e,s),u=$r(l,[vi,s],{});if(t.isValid(u,c,n))return o}else if(l[vi]){const c={anyOf:Object.keys(l[vi]).map(d=>({required:[d]}))};let u;if(l.anyOf){const{...d}=l;d.allOf?d.allOf=d.allOf.slice():d.allOf=[],d.allOf.push(c),u=d}else u=Object.assign({},l,c);if(delete u.required,t.isValid(u,e,n))return o}else if(t.isValid(l,e,n))return o}return 0}function kN(t,e,r,n,s){return jle(t,e,r,n,s)}function MN(t,e,r,n){if(!Ci(t))return t;e=Nv(e,t);for(var s=-1,i=e.length,o=i-1,l=t;l!=null&&++s<i;){var c=ov(e[s]),u=r;if(c==="__proto__"||c==="constructor"||c==="prototype")return t;if(s!=o){var d=l[c];u=n?n(d,c,l):void 0,u===void 0&&(u=Ci(d)?d:Q$(e[s+1])?[]:{})}Dhe(l,c,u),l=l[c]}return t}function yo(t,e,r){return t==null?t:MN(t,e,r)}function xGe(t,e,r){var n=Da(t),s=n||Rb(t)||U3(t);if(e=AN(e),r==null){var i=t&&t.constructor;s?r=n?new i:[]:Ci(t)?r=ste(i)?$he(Ohe(t)):{}:r={}}return(s?ite:xle)(t,function(o,l,c){return e(r,o,l,c)}),r}function t$(t,e,r){(r!==void 0&&!K$(t[e],r)||r===void 0&&!(e in t))&&Lhe(t,e,r)}function FC(t){return Ib(t)&&B3(t)}function r$(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}function SGe(t){return tte(t,ote(t))}function wGe(t,e,r,n,s,i,o){var l=r$(t,r),c=r$(e,r),u=o.get(c);if(u){t$(t,r,u);return}var d=i?i(l,c,r+"",t,e,o):void 0,f=d===void 0;if(f){var p=Da(c),m=!p&&Rb(c),h=!p&&!m&&U3(c);d=c,p||m||h?Da(l)?d=l:FC(l)?d=Nhe(l):m?(f=!1,d=Fhe(c,!0)):h?(f=!1,d=Uhe(c,!0)):d=[]:ph(c)||Db(c)?(d=l,Db(l)?d=SGe(l):(!Ci(l)||ste(l))&&(d=Bhe(c))):f=!1}f&&(o.set(c,d),s(d,c,n,i,o),o.delete(c)),t$(t,r,d)}function Tle(t,e,r,n,s){t!==e&&ble(e,function(i,o){if(s||(s=new ab),Ci(i))wGe(t,e,o,r,Tle,n,s);else{var l=n?n(r$(t,o),i,o+"",t,e,s):void 0;l===void 0&&(l=i),t$(t,o,l)}},ote)}function PN(t,e){return mle(ple(t,e,YA),t+"")}function CGe(t,e,r){if(!Ci(r))return!1;var n=typeof e;return(n=="number"?B3(r)&&Q$(e,r.length):n=="string"&&e in r)?K$(r[e],t):!1}function AGe(t){return PN(function(e,r){var n=-1,s=r.length,i=s>1?r[s-1]:void 0,o=s>2?r[2]:void 0;for(i=t.length>3&&typeof i=="function"?(s--,i):void 0,o&&CGe(r[0],r[1],o)&&(i=s<3?void 0:i,s=1),e=Object(e);++n<s;){var l=r[n];l&&t(e,l,n,i)}return e})}var kGe=AGe(function(t,e,r){Tle(t,e,r)}),MGe=1/0;function PGe(t){var e=t==null?0:t.length;return e?K0(t,MGe):[]}function jGe(t,e,r,n){for(var s=t.length,i=r+-1;++i<s;)if(e(t[i],i,t))return i;return-1}function TGe(t){return t!==t}function EGe(t,e,r){for(var n=r-1,s=t.length;++n<s;)if(t[n]===e)return n;return-1}function RGe(t,e,r){return e===e?EGe(t,e,r):jGe(t,TGe,r)}function Ele(t,e){var r=t==null?0:t.length;return!!r&&RGe(t,e,0)>-1}function IGe(){}var DGe=1/0,$Ge=IP&&1/SN(new IP([,-0]))[1]==DGe?function(t){return new IP(t)}:IGe,OGe=200;function Rle(t,e,r){var n=-1,s=Ele,i=t.length,o=!0,l=[],c=l;if(i>=OGe){var u=$Ge(t);if(u)return SN(u);o=!1,s=xN,c=new G_}else c=l;e:for(;++n<i;){var d=t[n],f=d;if(d=d!==0?d:0,o&&f===f){for(var p=c.length;p--;)if(c[p]===f)continue e;l.push(d)}else s(c,f,r)||(c!==l&&c.push(f),l.push(d))}return l}function LGe(t){return t&&t.length?Rle(t):[]}var NR,KY;function Ile(){if(KY)return NR;KY=1;function t(e,r){for(var n=-1,s=e==null?0:e.length;++n<s&&r(e[n],n,e)!==!1;);return e}return NR=t,NR}var FR,QY;function NGe(){if(QY)return FR;QY=1;var t=$v(),e=dte();function r(n,s){return n&&t(s,e(s),n)}return FR=r,FR}var UR,ZY;function FGe(){if(ZY)return UR;ZY=1;var t=$v(),e=Ov();function r(n,s){return n&&t(s,e(s),n)}return UR=r,UR}var BR,XY;function UGe(){if(XY)return BR;XY=1;var t=$v(),e=fte();function r(n,s){return t(n,e(n),s)}return BR=r,BR}var zR,JY;function Dle(){if(JY)return zR;JY=1;var t=pte(),e=dN(),r=fte(),n=ege(),s=Object.getOwnPropertySymbols,i=s?function(o){for(var l=[];o;)t(l,r(o)),o=e(o);return l}:n;return zR=i,zR}var qR,eK;function BGe(){if(eK)return qR;eK=1;var t=$v(),e=Dle();function r(n,s){return t(n,e(n),s)}return qR=r,qR}var VR,tK;function $le(){if(tK)return VR;tK=1;var t=tge(),e=Dle(),r=Ov();function n(s){return t(s,r,e)}return VR=n,VR}var HR,rK;function zGe(){if(rK)return HR;rK=1;var t=Object.prototype,e=t.hasOwnProperty;function r(n){var s=n.length,i=new n.constructor(s);return s&&typeof n[0]=="string"&&e.call(n,"index")&&(i.index=n.index,i.input=n.input),i}return HR=r,HR}var GR,nK;function qGe(){if(nK)return GR;nK=1;var t=cN();function e(r,n){var s=n?t(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.byteLength)}return GR=e,GR}var WR,sK;function VGe(){if(sK)return WR;sK=1;var t=/\w*$/;function e(r){var n=new r.constructor(r.source,t.exec(r));return n.lastIndex=r.lastIndex,n}return WR=e,WR}var YR,iK;function HGe(){if(iK)return YR;iK=1;var t=mte(),e=t?t.prototype:void 0,r=e?e.valueOf:void 0;function n(s){return r?Object(r.call(s)):{}}return YR=n,YR}var KR,oK;function GGe(){if(oK)return KR;oK=1;var t=cN(),e=qGe(),r=VGe(),n=HGe(),s=Oae(),i="[object Boolean]",o="[object Date]",l="[object Map]",c="[object Number]",u="[object RegExp]",d="[object Set]",f="[object String]",p="[object Symbol]",m="[object ArrayBuffer]",h="[object DataView]",_="[object Float32Array]",g="[object Float64Array]",y="[object Int8Array]",b="[object Int16Array]",x="[object Int32Array]",w="[object Uint8Array]",C="[object Uint8ClampedArray]",k="[object Uint16Array]",A="[object Uint32Array]";function P(T,j,R){var D=T.constructor;switch(j){case m:return t(T);case i:case o:return new D(+T);case h:return e(T,R);case _:case g:case y:case b:case x:case w:case C:case k:case A:return s(T,R);case l:return new D;case c:case f:return new D(T);case u:return r(T);case d:return new D;case p:return n(T)}}return KR=P,KR}var QR,aK;function WGe(){if(aK)return QR;aK=1;var t=V3(),e=lv(),r="[object Map]";function n(s){return e(s)&&t(s)==r}return QR=n,QR}var ZR,lK;function YGe(){if(lK)return ZR;lK=1;var t=WGe(),e=jh(),r=rO(),n=r&&r.isMap,s=n?e(n):t;return ZR=s,ZR}var XR,cK;function KGe(){if(cK)return XR;cK=1;var t=V3(),e=lv(),r="[object Set]";function n(s){return e(s)&&t(s)==r}return XR=n,XR}var JR,uK;function QGe(){if(uK)return JR;uK=1;var t=KGe(),e=jh(),r=rO(),n=r&&r.isSet,s=n?e(n):t;return JR=s,JR}var e5,dK;function Ole(){if(dK)return e5;dK=1;var t=ute(),e=Ile(),r=Fae(),n=NGe(),s=FGe(),i=$ae(),o=uN(),l=UGe(),c=BGe(),u=rge(),d=$le(),f=V3(),p=zGe(),m=GGe(),h=Lae(),_=cv(),g=tO(),y=YGe(),b=Qd(),x=QGe(),w=dte(),C=Ov(),k=1,A=2,P=4,T="[object Arguments]",j="[object Array]",R="[object Boolean]",D="[object Date]",O="[object Error]",N="[object Function]",F="[object GeneratorFunction]",U="[object Map]",z="[object Number]",H="[object Object]",W="[object RegExp]",K="[object Set]",q="[object String]",X="[object Symbol]",Q="[object WeakMap]",Y="[object ArrayBuffer]",Z="[object DataView]",re="[object Float32Array]",fe="[object Float64Array]",de="[object Int8Array]",se="[object Int16Array]",le="[object Int32Array]",ee="[object Uint8Array]",J="[object Uint8ClampedArray]",me="[object Uint16Array]",pe="[object Uint32Array]",Se={};Se[T]=Se[j]=Se[Y]=Se[Z]=Se[R]=Se[D]=Se[re]=Se[fe]=Se[de]=Se[se]=Se[le]=Se[U]=Se[z]=Se[H]=Se[W]=Se[K]=Se[q]=Se[X]=Se[ee]=Se[J]=Se[me]=Se[pe]=!0,Se[O]=Se[N]=Se[Q]=!1;function ve(xe,qe,Le,Te,je,Ge){var nt,Re=qe&k,we=qe&A,Me=qe&P;if(Le&&(nt=je?Le(xe,Te,je,Ge):Le(xe)),nt!==void 0)return nt;if(!b(xe))return xe;var $e=_(xe);if($e){if(nt=p(xe),!Re)return o(xe,nt)}else{var Ve=f(xe),Ne=Ve==N||Ve==F;if(g(xe))return i(xe,Re);if(Ve==H||Ve==T||Ne&&!je){if(nt=we||Ne?{}:h(xe),!Re)return we?c(xe,s(nt,xe)):l(xe,n(nt,xe))}else{if(!Se[Ve])return je?xe:{};nt=m(xe,Ve,Re)}}Ge||(Ge=new t);var Oe=Ge.get(xe);if(Oe)return Oe;Ge.set(xe,nt),x(xe)?xe.forEach(function(Et){nt.add(ve(Et,qe,Le,Et,xe,Ge))}):y(xe)&&xe.forEach(function(Et,at){nt.set(at,ve(Et,qe,Le,at,xe,Ge))});var ft=Me?we?d:u:we?C:w,Ct=$e?void 0:ft(xe);return e(Ct||xe,function(Et,at){Ct&&(at=Et,Et=xe[at]),r(nt,at,ve(Et,qe,Le,at,xe,Ge))}),nt}return e5=ve,e5}var t5,fK;function ZGe(){if(fK)return t5;fK=1;var t=Ole(),e=1,r=4;function n(s){return t(s,e|r)}return t5=n,t5}var r5,pK;function Lle(){if(pK)return r5;pK=1;var t=nge();function e(r,n){return t(r,n)}return r5=e,r5}var n5,mK;function XGe(){if(mK)return n5;mK=1;var t=mte(),e=eO(),r=cv(),n=t?t.isConcatSpreadable:void 0;function s(i){return r(i)||e(i)||!!(n&&i&&i[n])}return n5=s,n5}var s5,hK;function jN(){if(hK)return s5;hK=1;var t=pte(),e=XGe();function r(n,s,i,o,l){var c=-1,u=n.length;for(i||(i=e),l||(l=[]);++c<u;){var d=n[c];s>0&&i(d)?s>1?r(d,s-1,i,o,l):t(l,d):o||(l[l.length]=d)}return l}return s5=r,s5}var i5,gK;function JGe(){if(gK)return i5;gK=1;var t=av();function e(r,n){return function(s,i){if(s==null)return s;if(!t(s))return r(s,i);for(var o=s.length,l=n?o:-1,c=Object(s);(n?l--:++l<o)&&i(c[l],l,c)!==!1;);return s}}return i5=e,i5}var o5,_K;function Nle(){if(_K)return o5;_K=1;var t=sge(),e=JGe(),r=e(t);return o5=r,o5}var a5,vK;function eWe(){if(vK)return a5;vK=1;var t=Nle(),e=av();function r(n,s){var i=-1,o=e(n)?Array(n.length):[];return t(n,function(l,c,u){o[++i]=s(l,c,u)}),o}return a5=r,a5}var l5,yK;function tWe(){if(yK)return l5;yK=1;function t(e,r){var n=e.length;for(e.sort(r);n--;)e[n]=e[n].value;return e}return l5=t,l5}var c5,bK;function rWe(){if(bK)return c5;bK=1;var t=hte();function e(r,n){if(r!==n){var s=r!==void 0,i=r===null,o=r===r,l=t(r),c=n!==void 0,u=n===null,d=n===n,f=t(n);if(!u&&!f&&!l&&r>n||l&&c&&d&&!u&&!f||i&&c&&d||!s&&d||!o)return 1;if(!i&&!l&&!f&&r<n||f&&s&&o&&!i&&!l||u&&s&&o||!c&&o||!d)return-1}return 0}return c5=e,c5}var u5,xK;function nWe(){if(xK)return u5;xK=1;var t=rWe();function e(r,n,s){for(var i=-1,o=r.criteria,l=n.criteria,c=o.length,u=s.length;++i<c;){var d=t(o[i],l[i]);if(d){if(i>=u)return d;var f=s[i];return d*(f=="desc"?-1:1)}}return r.index-n.index}return u5=e,u5}var d5,SK;function sWe(){if(SK)return d5;SK=1;var t=Th(),e=gte(),r=ige(),n=eWe(),s=tWe(),i=jh(),o=nWe(),l=q3(),c=cv();function u(d,f,p){f.length?f=t(f,function(_){return c(_)?function(g){return e(g,_.length===1?_[0]:_)}:_}):f=[l];var m=-1;f=t(f,i(r));var h=n(d,function(_,g,y){var b=t(f,function(x){return x(_)});return{criteria:b,index:++m,value:_}});return s(h,function(_,g){return o(_,g,p)})}return d5=u,d5}var f5,wK;function Fle(){if(wK)return f5;wK=1;var t=jN(),e=sWe(),r=Fh(),n=mN(),s=r(function(i,o){if(i==null)return[];var l=o.length;return l>1&&n(i,o[0],o[1])?o=[]:l>2&&n(o[0],o[1],o[2])&&(o=[o[0]]),e(i,t(o,1),[])});return f5=s,f5}var p5,CK;function iWe(){if(CK)return p5;CK=1;function t(e,r,n,s){for(var i=e.length,o=n+(s?1:-1);s?o--:++o<i;)if(r(e[o],o,e))return o;return-1}return p5=t,p5}var m5,AK;function oWe(){if(AK)return m5;AK=1;function t(e){return e!==e}return m5=t,m5}var h5,kK;function aWe(){if(kK)return h5;kK=1;function t(e,r,n){for(var s=n-1,i=e.length;++s<i;)if(e[s]===r)return s;return-1}return h5=t,h5}var g5,MK;function Ule(){if(MK)return g5;MK=1;var t=iWe(),e=oWe(),r=aWe();function n(s,i,o){return i===i?r(s,i,o):t(s,e,o)}return g5=n,g5}var _5,PK;function TN(){if(PK)return _5;PK=1;var t=Ule();function e(r,n){var s=r==null?0:r.length;return!!s&&t(r,n,0)>-1}return _5=e,_5}var v5,jK;function EN(){if(jK)return v5;jK=1;function t(e,r,n){for(var s=-1,i=e==null?0:e.length;++s<i;)if(n(r,e[s]))return!0;return!1}return v5=t,v5}var y5,TK;function lWe(){if(TK)return y5;TK=1;function t(){}return y5=t,y5}var b5,EK;function cWe(){if(EK)return b5;EK=1;var t=oge(),e=lWe(),r=_te(),n=1/0,s=t&&1/r(new t([,-0]))[1]==n?function(i){return new t(i)}:e;return b5=s,b5}var x5,RK;function Ble(){if(RK)return x5;RK=1;var t=nO(),e=TN(),r=EN(),n=sO(),s=cWe(),i=_te(),o=200;function l(c,u,d){var f=-1,p=e,m=c.length,h=!0,_=[],g=_;if(d)h=!1,p=r;else if(m>=o){var y=u?null:s(c);if(y)return i(y);h=!1,p=n,g=new t}else g=u?[]:_;e:for(;++f<m;){var b=c[f],x=u?u(b):b;if(b=d||b!==0?b:0,h&&x===x){for(var w=g.length;w--;)if(g[w]===x)continue e;u&&g.push(x),_.push(b)}else p(g,x,d)||(g!==_&&g.push(x),_.push(b))}return _}return x5=l,x5}var S5,IK;function RN(){if(IK)return S5;IK=1;var t=Ble();function e(r){return r&&r.length?t(r):[]}return S5=e,S5}var w5,DK;function IN(){if(DK)return w5;DK=1;var t=Ble();function e(r,n){return n=typeof n=="function"?n:void 0,r&&r.length?t(r,void 0,n):[]}return w5=e,w5}var C5,$K;function uWe(){if($K)return C5;$K=1;var t=Fh(),e=z3(),r=mN(),n=Ov(),s=Object.prototype,i=s.hasOwnProperty,o=t(function(l,c){l=Object(l);var u=-1,d=c.length,f=d>2?c[2]:void 0;for(f&&r(c[0],c[1],f)&&(d=1);++u<d;)for(var p=c[u],m=n(p),h=-1,_=m.length;++h<_;){var g=m[h],y=l[g];(y===void 0||e(y,s[g])&&!i.call(l,g))&&(l[g]=p[g])}return l});return C5=o,C5}var A5,OK;function zle(){if(OK)return A5;OK=1;var t=nO(),e=TN(),r=EN(),n=Th(),s=jh(),i=sO(),o=Math.min;function l(c,u,d){for(var f=d?r:e,p=c[0].length,m=c.length,h=m,_=Array(m),g=1/0,y=[];h--;){var b=c[h];h&&u&&(b=n(b,s(u))),g=o(b.length,g),_[h]=!d&&(u||p>=120&&b.length>=120)?new t(h&&b):void 0}b=c[0];var x=-1,w=_[0];e:for(;++x<p&&y.length<g;){var C=b[x],k=u?u(C):C;if(C=d||C!==0?C:0,!(w?i(w,k):f(y,k,d))){for(h=m;--h;){var A=_[h];if(!(A?i(A,k):f(c[h],k,d)))continue e}w&&w.push(k),y.push(C)}}return y}return A5=l,A5}var k5,LK;function qle(){if(LK)return k5;LK=1;var t=fN();function e(r){return t(r)?r:[]}return k5=e,k5}var M5,NK;function Vle(){if(NK)return M5;NK=1;function t(e){var r=e==null?0:e.length;return r?e[r-1]:void 0}return M5=t,M5}var P5,FK;function Hle(){if(FK)return P5;FK=1;var t=Th(),e=zle(),r=Fh(),n=qle(),s=Vle(),i=r(function(o){var l=s(o),c=t(o,n);return l=typeof l=="function"?l:void 0,l&&c.pop(),c.length&&c[0]===o[0]?e(c,void 0,l):[]});return P5=i,P5}var j5,UK;function dWe(){if(UK)return j5;UK=1;var t=J$(),e=lv(),r="[object Boolean]";function n(s){return s===!0||s===!1||e(s)&&t(s)==r}return j5=n,j5}var T5,BK;function DN(){if(BK)return T5;BK=1;var t=Lle(),e=Fle(),r=RN(),n=IN(),s=uWe(),i=Hle(),o=W0(),l=dWe(),c=O=>Array.isArray(O)?O:[O],u=O=>O===void 0,d=O=>o(O)||Array.isArray(O)?Object.keys(O):[],f=(O,N)=>O.hasOwnProperty(N),p=O=>e(r(O)),m=O=>u(O)||Array.isArray(O)&&O.length===0,h=(O,N,F,U)=>N&&f(N,F)&&O&&f(O,F)&&U(O[F],N[F]),_=(O,N)=>u(O)&&N===0||u(N)&&O===0||t(O,N),g=(O,N)=>u(O)&&N===!1||u(N)&&O===!1||t(O,N),y=O=>u(O)||t(O,{})||O===!0,b=O=>u(O)||t(O,{}),x=O=>u(O)||o(O)||O===!0||O===!1;function w(O,N){return m(O)&&m(N)?!0:t(p(O),p(N))}function C(O,N){return O=c(O),N=c(N),t(p(O),p(N))}function k(O,N,F,U){var z=r(d(O).concat(d(N)));return b(O)&&b(N)?!0:b(O)&&d(N).length||b(N)&&d(O).length?!1:z.every(function(H){var W=O[H],K=N[H];return Array.isArray(W)&&Array.isArray(K)?t(p(O),p(N)):Array.isArray(W)&&!Array.isArray(K)||Array.isArray(K)&&!Array.isArray(W)?!1:h(O,N,H,U)})}function A(O,N,F,U){return o(O)&&o(N)?U(O,N):Array.isArray(O)&&Array.isArray(N)?k(O,N,F,U):t(O,N)}function P(O,N,F,U){var z=n(O,U),H=n(N,U),W=i(z,H,U);return W.length===Math.max(z.length,H.length)}var T={title:t,uniqueItems:g,minLength:_,minItems:_,minProperties:_,required:w,enum:w,type:C,items:A,anyOf:P,allOf:P,oneOf:P,properties:k,patternProperties:k,dependencies:k},j=["properties","patternProperties","dependencies","uniqueItems","minLength","minItems","minProperties","required"],R=["additionalProperties","additionalItems","contains","propertyNames","not"];function D(O,N,F){if(F=s(F,{ignore:[]}),y(O)&&y(N))return!0;if(!x(O)||!x(N))throw new Error("Either of the values are not a JSON schema.");if(O===N)return!0;if(l(O)&&l(N))return O===N;if(O===void 0&&N===!1||N===void 0&&O===!1||u(O)&&!u(N)||!u(O)&&u(N))return!1;var U=r(Object.keys(O).concat(Object.keys(N)));if(F.ignore.length&&(U=U.filter(H=>F.ignore.indexOf(H)===-1)),!U.length)return!0;function z(H,W){return D(H,W,F)}return U.every(function(H){var W=O[H],K=N[H];if(R.indexOf(H)!==-1)return D(W,K,F);var q=T[H];if(q||(q=t),t(W,K))return!0;if(j.indexOf(H)===-1&&(!f(O,H)&&f(N,H)||f(O,H)&&!f(N,H)))return W===K;var X=q(W,K,H,z);if(!l(X))throw new Error("Comparer must return true or false");return X})}return T5=D,T5}var E5,zK;function $N(){if(zK)return E5;zK=1;function t(e){return Object.prototype.toString.call(e)==="[object Array]"}return E5=Array.isArray||t,E5}var R5,qK;function fWe(){if(qK)return R5;qK=1;function t(e){return(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")&&e.valueOf()===e.valueOf()}return R5=t,R5}var I5,VK;function pWe(){if(VK)return I5;VK=1;var t=fWe();function e(r){return t(r)&&r%1===0}return I5=e,I5}var D5,HK;function Gle(){if(HK)return D5;HK=1;var t=$N(),e=pWe();function r(n){var s;if(!t(n)||(s=n.length,!s))return!1;for(var i=0;i<s;i++)if(!e(n[i]))return!1;return!0}return D5=r,D5}var $5,GK;function Wle(){if(GK)return $5;GK=1;function t(e){return typeof e=="function"}return $5=t,$5}var O5,WK;function mWe(){if(WK)return O5;WK=1;var t=$N(),e=Gle(),r=Wle(),n=Math.pow(2,31)-1;function s(l,c){var u=1,d;if(l===0)return c;if(c===0)return l;for(;l%2===0&&c%2===0;)l=l/2,c=c/2,u=u*2;for(;l%2===0;)l=l/2;for(;c;){for(;c%2===0;)c=c/2;l>c&&(d=c,c=l,l=d),c=c-l}return u*l}function i(l,c){var u=0,d;if(l===0)return c;if(c===0)return l;for(;(l&1)===0&&(c&1)===0;)l>>>=1,c>>>=1,u++;for(;(l&1)===0;)l>>>=1;for(;c;){for(;(c&1)===0;)c>>>=1;l>c&&(d=c,c=l,l=d),c=c-l}return l<<u}function o(){var l=arguments.length,c,u,d,f,p,m,h;for(c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];if(e(c)){if(l===2)return p=c[0],m=c[1],p<0&&(p=-p),m<0&&(m=-m),p<=n&&m<=n?i(p,m):s(p,m);d=c}else if(t(c[0]))if(l>1){if(d=c[0],u=c[1],!r(u))throw new TypeError("gcd()::invalid input argument. Accessor must be a function. Value: `"+u+"`.")}else d=c[0];else throw new TypeError("gcd()::invalid input argument. Must provide an array of integers. Value: `"+c[0]+"`.");if(f=d.length,f<2)return null;if(u){for(p=new Array(f),h=0;h<f;h++)p[h]=u(d[h],h);d=p}if(l<3&&!e(d))throw new TypeError("gcd()::invalid input argument. Accessed array values must be integers. Value: `"+d+"`.");for(h=0;h<f;h++)p=d[h],p<0&&(d[h]=-p);for(p=d[0],h=1;h<f;h++)m=d[h],m<=n&&p<=n?p=i(p,m):p=s(p,m);return p}return O5=o,O5}var L5,YK;function hWe(){if(YK)return L5;YK=1;var t=mWe(),e=$N(),r=Gle(),n=Wle();function s(){var i=arguments.length,o,l,c,u,d,f,p;for(o=new Array(i),p=0;p<i;p++)o[p]=arguments[p];if(r(o)){if(i===2)return d=o[0],f=o[1],d<0&&(d=-d),f<0&&(f=-f),d===0||f===0?0:d/t(d,f)*f;c=o}else if(e(o[0]))if(i>1){if(c=o[0],l=o[1],!n(l))throw new TypeError("lcm()::invalid input argument. Accessor must be a function. Value: `"+l+"`.")}else c=o[0];else throw new TypeError("lcm()::invalid input argument. Must provide an array of integers. Value: `"+o[0]+"`.");if(u=c.length,u<2)return null;if(l){for(d=new Array(u),p=0;p<u;p++)d[p]=l(c[p],p);c=d}if(i<3&&!r(c))throw new TypeError("lcm()::invalid input argument. Accessed array values must be integers. Value: `"+c+"`.");for(p=0;p<u;p++)d=c[p],d<0&&(c[p]=-d);for(d=c[0],p=1;p<u;p++){if(f=c[p],d===0||f===0)return 0;d=d/t(d,f)*f}return d}return L5=s,L5}var N5,KK;function gWe(){if(KK)return N5;KK=1;var t=pN(),e=Qd();function r(n,s,i,o,l,c){return e(n)&&e(s)&&(c.set(s,n),t(n,s,void 0,r,c),c.delete(s)),n}return N5=r,N5}var F5,QK;function _We(){if(QK)return F5;QK=1;var t=pN(),e=qae(),r=e(function(n,s,i,o){t(n,s,i,o)});return F5=r,F5}var U5,ZK;function vWe(){if(ZK)return U5;ZK=1;var t=Uae(),e=Fh(),r=gWe(),n=_We(),s=e(function(i){return i.push(void 0,r),t(n,void 0,i)});return U5=s,U5}var B5,XK;function ON(){if(XK)return B5;XK=1;var t=jN();function e(r){var n=r==null?0:r.length;return n?t(r,1):[]}return B5=e,B5}var z5,JK;function Yle(){if(JK)return z5;JK=1;var t=jN(),e=1/0;function r(n){var s=n==null?0:n.length;return s?t(n,e):[]}return z5=r,z5}var q5,eQ;function yWe(){if(eQ)return q5;eQ=1;var t=Th(),e=zle(),r=Fh(),n=qle(),s=r(function(i){var o=t(i,n);return o.length&&o[0]===i[0]?e(o):[]});return q5=s,q5}var V5,tQ;function bWe(){if(tQ)return V5;tQ=1;function t(e,r,n,s){for(var i=n-1,o=e.length;++i<o;)if(s(e[i],r))return i;return-1}return V5=t,V5}var H5,rQ;function xWe(){if(rQ)return H5;rQ=1;var t=Th(),e=Ule(),r=bWe(),n=jh(),s=uN(),i=Array.prototype,o=i.splice;function l(c,u,d,f){var p=f?r:e,m=-1,h=u.length,_=c;for(c===u&&(u=s(u)),d&&(_=t(c,n(d)));++m<h;)for(var g=0,y=u[m],b=d?d(y):y;(g=p(_,b,g,f))>-1;)_!==c&&o.call(_,g,1),o.call(c,g,1);return c}return H5=l,H5}var G5,nQ;function SWe(){if(nQ)return G5;nQ=1;var t=xWe();function e(r,n){return r&&r.length&&n&&n.length?t(r,n):r}return G5=e,G5}var W5,sQ;function wWe(){if(sQ)return W5;sQ=1;var t=q3();function e(r){return typeof r=="function"?r:t}return W5=e,W5}var Y5,iQ;function Kle(){if(iQ)return Y5;iQ=1;var t=Ile(),e=Nle(),r=wWe(),n=cv();function s(i,o){var l=n(i)?t:e;return l(i,r(o))}return Y5=s,Y5}var K5,oQ;function CWe(){if(oQ)return K5;oQ=1;var t=nO(),e=TN(),r=EN(),n=Th(),s=jh(),i=sO(),o=200;function l(c,u,d,f){var p=-1,m=e,h=!0,_=c.length,g=[],y=u.length;if(!_)return g;d&&(u=n(u,s(d))),f?(m=r,h=!1):u.length>=o&&(m=i,h=!1,u=new t(u));e:for(;++p<_;){var b=c[p],x=d==null?b:d(b);if(b=f||b!==0?b:0,h&&x===x){for(var w=y;w--;)if(u[w]===x)continue e;g.push(b)}else m(u,x,f)||g.push(b)}return g}return K5=l,K5}var Q5,aQ;function AWe(){if(aQ)return Q5;aQ=1;var t=CWe(),e=Fh(),r=fN(),n=e(function(s,i){return r(s)?t(s,i):[]});return Q5=n,Q5}var Z5,lQ;function Qle(){if(lQ)return Z5;lQ=1;const t=ON(),e=Yle(),r=W0(),n=RN(),s=IN(),i=AWe();function o(_){for(const g in _)u(_,g)&&m(_[g])&&delete _[g];return _}const l=_=>n(e(_.map(d))),c=(_,g)=>_.map(y=>y&&y[g]),u=(_,g)=>Object.prototype.hasOwnProperty.call(_,g),d=_=>r(_)||Array.isArray(_)?Object.keys(_):[],f=_=>_!==void 0,p=_=>r(_)||_===!0||_===!1,m=_=>!d(_).length&&_!==!1&&_!==!0;return Z5={allUniqueKeys:l,deleteUndefinedProps:o,getValues:c,has:u,isEmptySchema:m,isSchema:p,keys:d,notUndefined:f,uniqWith:s,withoutArr:(_,...g)=>i.apply(null,[_].concat(t(g)))},Z5}var X5,cQ;function kWe(){if(cQ)return X5;cQ=1;const t=DN(),e=Kle(),{allUniqueKeys:r,deleteUndefinedProps:n,getValues:s,keys:i,notUndefined:o,uniqWith:l,withoutArr:c}=Qle();function u(f){e(f,function(p,m){p===!1&&delete f[m]})}function d(f,p){return r(f).reduce(function(h,_){const g=s(f,_),y=l(g.filter(o),t);return h[_]=p(y,_),h},{})}return X5={keywords:["properties","patternProperties","additionalProperties"],resolver(f,p,m,h){h.ignoreAdditionalProperties||(f.forEach(function(g){const y=f.filter(C=>C!==g),b=i(g.properties),w=i(g.patternProperties).map(C=>new RegExp(C));y.forEach(function(C){const k=i(C.properties),A=k.filter(T=>w.some(j=>j.test(T)));c(k,b,A).forEach(function(T){C.properties[T]=m.properties([C.properties[T],g.additionalProperties],T)})})}),f.forEach(function(g){const y=f.filter(x=>x!==g),b=i(g.patternProperties);g.additionalProperties===!1&&y.forEach(function(x){const w=i(x.patternProperties);c(w,b).forEach(k=>delete x.patternProperties[k])})}));const _={additionalProperties:m.additionalProperties(f.map(g=>g.additionalProperties)),patternProperties:d(f.map(g=>g.patternProperties),m.patternProperties),properties:d(f.map(g=>g.properties),m.properties)};return _.additionalProperties===!1&&u(_.properties),n(_)}},X5}var J5,uQ;function MWe(){if(uQ)return J5;uQ=1;const t=DN(),e=Kle(),{allUniqueKeys:r,deleteUndefinedProps:n,has:s,isSchema:i,notUndefined:o,uniqWith:l}=Qle();function c(p){e(p,function(m,h){m===!1&&p.splice(h,1)})}function u(p,m){return p.map(function(h){if(h)if(Array.isArray(h.items)){const _=h.items[m];if(i(_))return _;if(s(h,"additionalItems"))return h.additionalItems}else return h.items})}function d(p){return p.map(function(m){if(m)return Array.isArray(m.items)?m.additionalItems:m.items})}function f(p,m,h){return r(h).reduce(function(g,y){const b=u(p,y),x=l(b.filter(o),t);return g[y]=m(x,y),g},[])}return J5={keywords:["items","additionalItems"],resolver(p,m,h){const _=p.map(x=>x.items),g=_.filter(o),y={};g.every(i)?y.items=h.items(_):y.items=f(p,h.items,_);let b;return g.every(Array.isArray)?b=p.map(x=>x.additionalItems):g.some(Array.isArray)&&(b=d(p)),b&&(y.additionalItems=h.additionalItems(b)),y.additionalItems===!1&&Array.isArray(y.items)&&c(y.items),n(y)}},J5}var eI,dQ;function PWe(){if(dQ)return eI;dQ=1;const t=ZGe(),e=DN(),r=hWe(),n=vWe(),s=ON(),i=Yle(),o=yWe(),l=Hle(),c=Lle(),u=W0(),d=SWe(),f=Fle(),p=RN(),m=IN(),h=kWe(),_=MWe(),g=(se,le)=>se.indexOf(le)!==-1,y=se=>u(se)||se===!0||se===!1,b=se=>se===!1,x=se=>se===!0,w=(se,le,ee)=>ee(se),C=se=>f(p(i(se))),k=se=>se!==void 0,A=se=>p(i(se.map(H))),P=se=>se[0],T=se=>C(se),j=se=>Math.max.apply(Math,se),R=se=>Math.min.apply(Math,se),D=se=>se.some(x),O=se=>m(s(se),c);function N(se){return function(le,ee){return e({[se]:le},{[se]:ee})}}function F(se){let{allOf:le=[],...ee}=se;return ee=u(se)?ee:se,[ee,...le.map(F)]}function U(se,le){return se.map(ee=>ee&&ee[le])}function z(se,le){return se.map(function(ee,J){try{return le(ee,J)}catch{return}}).filter(k)}function H(se){return u(se)||Array.isArray(se)?Object.keys(se):[]}function W(se,le){if(le=le||[],!se.length)return le;const ee=se.slice(0).shift(),J=se.slice(1);return le.length?W(J,s(le.map(me=>ee.map(pe=>[pe].concat(me))))):W(J,ee.map(me=>me))}function K(se,le){let ee;try{ee=se.map(function(J){return JSON.stringify(J,null,2)}).join(`
/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js:321:`,jJe="️",TJe="‍",$I="￼";let pw=null,mw=null;function EJe(t=[]){const e={};sl.groups=e;const r=new sl;pw==null&&(pw=fX(wJe)),mw==null&&(mw=fX(CJe)),sr(r,"'",s3),sr(r,"{",kb),sr(r,"}",Mb),sr(r,"[",qC),sr(r,"]",VC),sr(r,"(",HC),sr(r,")",GC),sr(r,"<",WC),sr(r,">",YC),sr(r,"（",KC),sr(r,"）",QC),sr(r,"「",ZC),sr(r,"」",XC),sr(r,"『",JC),sr(r,"』",e3),sr(r,"＜",t3),sr(r,"＞",r3),sr(r,"&",n3),sr(r,"*",i3),sr(r,"@",Qf),sr(r,"`",a3),sr(r,"^",l3),sr(r,":",ep),sr(r,",",JN),sr(r,"$",c3),sr(r,".",bu),sr(r,"=",u3),sr(r,"!",e7),sr(r,"-",Fl),sr(r,"%",Pb),sr(r,"|",d3),sr(r,"+",f3),sr(r,"#",p3),sr(r,"?",jb),sr(r,'"',t7),sr(r,"/",xu),sr(r,";",r7),sr(r,"~",Tb),sr(r,"_",m3),sr(r,"\\",o3),sr(r,"・",Yce);const n=pi(r,kd,ZN,{[a$]:!0});pi(n,kd,n);const s=pi(n,Ad,Gce,{[Ab]:!0}),i=pi(n,Dy,Wce,{[tb]:!0}),o=pi(r,Ad,Pd,{[l$]:!0});pi(o,kd,s),pi(o,Ad,o),pi(s,kd,s),pi(s,Ad,s);const l=pi(r,Dy,d$,{[c$]:!0});pi(l,Ad),pi(l,kd,i),pi(l,Dy,l),pi(i,kd,i),pi(i,Ad),pi(i,Dy,i);const c=sr(r,DI,XN,{[EI]:!0}),u=sr(r,dX,m$,{[EI]:!0}),d=pi(r,II,m$,{[EI]:!0});sr(r,$I,d),sr(u,DI,c),sr(u,$I,d),pi(u,II,d),sr(d,dX),sr(d,DI),pi(d,II,d),sr(d,$I,d);const f=pi(r,RI,Kce,{[Hce]:!0});sr(f,"#"),pi(f,RI,f),sr(f,jJe,f);const p=sr(f,TJe);sr(p,"#"),pi(p,RI,f);const m=[[Ad,o],[kd,s]],h=[[Ad,null],[Dy,l],[kd,i]];for(let _=0;_<pw.length;_++)Hf(r,pw[_],f$,Pd,m);for(let _=0;_<mw.length;_++)Hf(r,mw[_],p$,d$,h);Xm(f$,{tld:!0,ascii:!0},e),Xm(p$,{utld:!0,alpha:!0},e),Hf(r,"file",Jw,Pd,m),Hf(r,"mailto",Jw,Pd,m),Hf(r,"http",s_,Pd,m),Hf(r,"https",s_,Pd,m),Hf(r,"ftp",s_,Pd,m),Hf(r,"ftps",s_,Pd,m),Xm(Jw,{scheme:!0,ascii:!0},e),Xm(s_,{slashscheme:!0,ascii:!0},e),t=t.sort((_,g)=>_[0]>g[0]?1:-1);for(let _=0;_<t.length;_++){const g=t[_][0],b=t[_][1]?{[AJe]:!0}:{[kJe]:!0};g.indexOf("-")>=0?b[u$]=!0:Ad.test(g)?kd.test(g)?b[Ab]=!0:b[l$]=!0:b[a$]=!0,uX(r,g,g,b)}return uX(r,"localhost",o0,{ascii:!0}),r.jd=new sl(h3),{start:r,tokens:Object.assign({groups:e},Qce)}}function Zce(t,e){const r=RJe(e.replace(/[A-Z]/g,l=>l.toLowerCase())),n=r.length,s=[];let i=0,o=0;for(;o<n;){let l=t,c=null,u=0,d=null,f=-1,p=-1;for(;o<n&&(c=l.go(r[o]));)l=c,l.accepts()?(f=0,p=0,d=l):f>=0&&(f+=r[o].length,p++),u+=r[o].length,i+=r[o].length,o++;i-=f,o-=p,u-=f,s.push({t:d.t,v:e.slice(i-u,i),s:i-u,e:i})}return s}function RJe(t){const e=[],r=t.length;let n=0;for(;n<r;){let s=t.charCodeAt(n),i,o=s<55296||s>56319||n+1===r||(i=t.charCodeAt(n+1))<56320||i>57343?t[n]:t.slice(n,n+2);e.push(o),n+=o.length}return e}function Hf(t,e,r,n,s){let i;const o=e.length;for(let l=0;l<o-1;l++){const c=e[l];t.j[c]?i=t.j[c]:(i=new sl(n),i.jr=s.slice(),t.j[c]=i),t=i}return i=new sl(r),i.jr=s.slice(),t.j[e[o-1]]=i,i}function fX(t){const e=[],r=[];let n=0,s="0123456789";for(;n<t.length;){let i=0;for(;s.indexOf(t[n+i])>=0;)i++;if(i>0){e.push(r.join(""));for(let o=parseInt(t.substring(n,n+i),10);o>0;o--)r.pop();n+=i}else r.push(t[n]),n++}return e}const a0={defaultProtocol:"http",events:null,format:pX,formatHref:pX,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function n7(t,e=null){let r=Object.assign({},a0);t&&(r=Object.assign(r,t instanceof n7?t.o:t));const n=r.ignoreTags,s=[];for(let i=0;i<n.length;i++)s.push(n[i].toUpperCase());this.o=r,e&&(this.defaultRender=e),this.ignoreTags=s}n7.prototype={o:a0,ignoreTags:[],defaultRender(t){return t},check(t){return this.get("validate",t.toString(),t)},get(t,e,r){const n=e!=null;let s=this.o[t];return s&&(typeof s=="object"?(s=r.t in s?s[r.t]:a0[t],typeof s=="function"&&n&&(s=s(e,r))):typeof s=="function"&&n&&(s=s(e,r.t,r)),s)},getObj(t,e,r){let n=this.o[t];return typeof n=="function"&&e!=null&&(n=n(e,r.t,r)),n},render(t){const e=t.render(this);return(this.get("render",null,t)||this.defaultRender)(e,t.t,t)}};function pX(t){return t}function Xce(t,e){this.t="token",this.v=t,this.tk=e}Xce.prototype={isLink:!1,toString(){return this.v},toHref(t){return this.toString()},toFormattedString(t){const e=this.toString(),r=t.get("truncate",e,this),n=t.get("format",e,this);return r&&n.length>r?n.substring(0,r)+"…":n},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=a0.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,r=this.toHref(t.get("defaultProtocol")),n=t.get("formatHref",r,this),s=t.get("tagName",r,e),i=this.toFormattedString(t),o={},l=t.get("className",r,e),c=t.get("target",r,e),u=t.get("rel",r,e),d=t.getObj("attributes",r,e),f=t.getObj("events",r,e);return o.href=n,l&&(o.class=l),c&&(o.target=c),u&&(o.rel=u),d&&Object.assign(o,d),{tagName:s,attributes:o,content:i,eventListeners:f}}};function ak(t,e){class r extends Xce{constructor(s,i){super(s,i),this.t=t}}for(const n in e)r.prototype[n]=e[n];return r.t=t,r}const mX=ak("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),hX=ak("text"),IJe=ak("nl"),hw=ak("url",{isLink:!0,toHref(t=a0.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==o0&&t[1].t===ep}}),Dl=t=>new sl(t);function DJe({groups:t}){const e=t.domain.concat([n3,i3,Qf,o3,a3,l3,c3,u3,Fl,ZN,Pb,d3,f3,p3,xu,h3,Tb,m3]),r=[s3,ep,JN,bu,e7,Pb,jb,t7,r7,WC,YC,kb,Mb,VC,qC,HC,GC,KC,QC,ZC,XC,JC,e3,t3,r3],n=[n3,s3,i3,o3,a3,l3,c3,u3,Fl,kb,Mb,Pb,d3,f3,p3,jb,xu,h3,Tb,m3],s=Dl(),i=sr(s,Tb);Cn(i,n,i),Cn(i,t.domain,i);const o=Dl(),l=Dl(),c=Dl();Cn(s,t.domain,o),Cn(s,t.scheme,l),Cn(s,t.slashscheme,c),Cn(o,n,i),Cn(o,t.domain,o);const u=sr(o,Qf);sr(i,Qf,u),sr(l,Qf,u),sr(c,Qf,u);const d=sr(i,bu);Cn(d,n,i),Cn(d,t.domain,i);const f=Dl();Cn(u,t.domain,f),Cn(f,t.domain,f);const p=sr(f,bu);Cn(p,t.domain,f);const m=Dl(mX);Cn(p,t.tld,m),Cn(p,t.utld,m),sr(u,o0,m);const h=sr(f,Fl);sr(h,Fl,h),Cn(h,t.domain,f),Cn(m,t.domain,f),sr(m,bu,p),sr(m,Fl,h);const _=sr(m,ep);Cn(_,t.numeric,mX);const g=sr(o,Fl),y=sr(o,bu);sr(g,Fl,g),Cn(g,t.domain,o),Cn(y,n,i),Cn(y,t.domain,o);const b=Dl(hw);Cn(y,t.tld,b),Cn(y,t.utld,b),Cn(b,t.domain,o),Cn(b,n,i),sr(b,bu,y),sr(b,Fl,g),sr(b,Qf,u);const x=sr(b,ep),w=Dl(hw);Cn(x,t.numeric,w);const C=Dl(hw),k=Dl();Cn(C,e,C),Cn(C,r,k),Cn(k,e,C),Cn(k,r,k),sr(b,xu,C),sr(w,xu,C);const A=sr(l,ep),P=sr(c,ep),T=sr(P,xu),j=sr(T,xu);Cn(l,t.domain,o),sr(l,bu,y),sr(l,Fl,g),Cn(c,t.domain,o),sr(c,bu,y),sr(c,Fl,g),Cn(A,t.domain,C),sr(A,xu,C),sr(A,jb,C),Cn(j,t.domain,C),Cn(j,e,C),sr(j,xu,C);const R=[[kb,Mb],[qC,VC],[HC,GC],[WC,YC],[KC,QC],[ZC,XC],[JC,e3],[t3,r3]];for(let D=0;D<R.length;D++){const[O,N]=R[D],F=sr(C,O);sr(k,O,F),sr(F,N,C);const U=Dl(hw);Cn(F,e,U);const z=Dl();Cn(F,r),Cn(U,e,U),Cn(U,r,z),Cn(z,e,U),Cn(z,r,z),sr(U,N,C),sr(z,N,C)}return sr(s,o0,b),sr(s,XN,IJe),{start:s,tokens:Qce}}function $Je(t,e,r){let n=r.length,s=0,i=[],o=[];for(;s<n;){let l=t,c=null,u=null,d=0,f=null,p=-1;for(;s<n&&!(c=l.go(r[s].t));)o.push(r[s++]);for(;s<n&&(u=c||l.go(r[s].t));)c=null,l=u,l.accepts()?(p=0,f=l):p>=0&&p++,s++,d++;if(p<0)s-=d,s<n&&(o.push(r[s]),s++);else{o.length>0&&(i.push(OI(hX,e,o)),o=[]),s-=p,d-=p;const m=f.t,h=r.slice(s-d,s);i.push(OI(m,e,h))}}return o.length>0&&i.push(OI(hX,e,o)),i}function OI(t,e,r){const n=r[0].s,s=r[r.length-1].e,i=e.slice(n,s);return new t(i,r)}const Oo={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function OJe(){Oo.scanner=EJe(Oo.customSchemes);for(let t=0;t<Oo.tokenQueue.length;t++)Oo.tokenQueue[t][1]({scanner:Oo.scanner});Oo.parser=DJe(Oo.scanner.tokens);for(let t=0;t<Oo.pluginQueue.length;t++)Oo.pluginQueue[t][1]({scanner:Oo.scanner,parser:Oo.parser});return Oo.initialized=!0,Oo}function Jce(t){return Oo.initialized||OJe(),$Je(Oo.parser.start,t,Zce(Oo.scanner.start,t))}Jce.scan=Zce;function LJe(t,e,r){const n=Jce(t),s=[];for(let i=0;i<n.length;i++){const o=n[i];if(o.t==="nl"&&e.get("nl2br")){const l=`__linkify-el-${r.elementId++}`;s.push(I.createElement("br",{key:l}))}else if(!o.isLink||!e.check(o))s.push(o.toString());else{let l=e.render(o);if(!("key"in l.props)){const c=`__linkify-el-${r.elementId++}`,u=Object.assign({key:c},l.props);l=I.cloneElement(l,u)}s.push(l)}}return s}function eue(t,e,r){if(I.Children.count(t.props.children)===0)return t;const n=[];I.Children.forEach(t.props.children,o=>{typeof o=="string"?n.push.apply(n,LJe(o,e,r)):I.isValidElement(o)?typeof o.type=="string"&&e.ignoreTags.indexOf(o.type.toUpperCase())>=0?n.push(o):n.push(eue(o,e,r)):n.push(o)});const s=`__linkify-el-${r.elementId++}`,i=Object.assign({key:s},t.props);return I.cloneElement(t,i,n)}const NJe=t=>{let e=0;const r=({tagName:c,attributes:u,content:d})=>(u.key=`__linkify-lnk-${e++}`,u.class&&(u.className=u.class,delete u.class),I.createElement(c,u,d)),n={key:"__linkify-wrapper"};for(const c in t)c!=="options"&&c!=="as"&&c!=="tagName"&&c!=="children"&&(n[c]=t[c]);const s=new n7(t.options,r),i=t.as||t.tagName||I.Fragment||"span",o=t.children,l=I.createElement(i,n,o);return eue(l,s,{elementId:0})};function g3(t){const e=he.c(10),{description:r,band:n}=t;let s;if(e[0]!==r){e:{if(!r){s=null;break e}const l=r.toString();if(l.includes(D6)){const[c,u]=l.toString().split(D6);let d;e[2]!==c||e[3]!==u?(d={defaultText:c,descriptionText:u},e[2]=c,e[3]=u,e[4]=d):d=e[4],s=d}else{let c;e[5]!==l?(c={defaultText:null,descriptionText:l},e[5]=l,e[6]=c):c=e[6],s=c}}e[0]=r,e[1]=s}else s=e[1];const i=s;let o;return e[7]!==n||e[8]!==i?(o=i?a.jsxs(te,{direction:"column",sx:{backgroundColor:"divider",px:2,py:1.5,flex:"0 0 auto","&:last-child":{borderRadius:"0 0 10px 10px"},...!n&&{p:0,my:.5,backgroundColor:"transparent"},color:"text.secondary"},spacing:0,nowrap:!0,children:[i.descriptionText&&a.jsxs(te,{direction:"row",nowrap:!0,align:"flex-start",children:[a.jsx(te,{sx:{flex:"0 0 auto",color:"grey.600",pt:n?.2:.5},align:"center",justify:"center",children:a.jsx(ge.Info,{size:n?20:16})}),a.jsx(_e,{color:"inherit",type:"body2",sx:{"& a":{color:"primary.main"}},children:a.jsx(NJe,{options:{target:"blank"},children:i.descriptionText})})]}),i.defaultText&&a.jsxs(te,{direction:"row",nowrap:!0,align:"flex-start",children:[a.jsx(te,{sx:{flex:"0 0 auto",color:"grey.600",pt:n?.2:.5},align:"center",justify:"center",children:a.jsx(ge.Catalog,{size:n?20:16})}),a.jsx(_e,{type:"body2",fontWeight:500,color:"inherit",children:i.defaultText})]})]}):null,e[7]=n,e[8]=i,e[9]=o):o=e[9],o}function tue(t){const e=he.c(26),{schema:r,objKeys:n,objData:s,objErrors:i,onClick:o,title:l,id:c,isErrored:u,registry:d}=t;let f;e[0]!==r?(f=Bce(r),e[0]=r,e[1]=f):f=e[1];const p=f,m=r.description;let h;if(e[2]!==n||e[3]!==r.properties){let C;e[5]!==r.properties?(C=k=>{const A=r.properties?.[k];return!A||A===!0||Ah(A)?null:k},e[5]=r.properties,e[6]=C):C=e[6],h=n.map(C).filter(UJe),e[2]=n,e[3]=r.properties,e[4]=h}else h=e[4];const _=h;let g;e:{if(!Uce(r)){let k;e[7]===Symbol.for("react.memo_cache_sentinel")?(k=[],e[7]=k):k=e[7],g=k;break e}let C;e[8]!==s||e[9]!==_?(C=Object.keys(s).filter(k=>!_.includes(k)),e[8]=s,e[9]=_,e[10]=C):C=e[10],g=C}const y=g;let b;e[11]!==y||e[12]!==_?(b=[..._,...y],e[11]=y,e[12]=_,e[13]=b):b=e[13];const x=b;let w;return e[14]!==m||e[15]!==x||e[16]!==c||e[17]!==p||e[18]!==u||e[19]!==s||e[20]!==i||e[21]!==o||e[22]!==d||e[23]!==r||e[24]!==l?(w=p?null:a.jsxs(pr,{title:a.jsx(X0,{title:l,isObject:!0,id:c,isErrored:u}),folder:!0,headerActionsComponent:a.jsx(Ze,{onClick:o,text:"edit",size:"small",startIcon:a.jsx(ge.Edit,{}),variant:"outlined"}),error:u,elevation:2,sx:{mb:3},children:[m?a.jsx(g3,{description:m,id:c,schema:r,registry:null,band:!0}):a.jsx(a.Fragment,{}),x.length>0?a.jsx(te,{spacing:0,children:x.map(C=>{const k=r.properties?.[C]||r.additionalProperties;let A;k&&k!==!0&&k?.title?A=k.title:A=C,A=Zl(A);let P=s?.[C];const T=k&&k!==!0&&k.type==="object",j=k&&k!==!0&&k.type==="array"&&!(i0(k)||zC(k)),R=k&&k!==!0&&QN(k),D=k&&k!==!0&&"discriminator"in k,O=!j&&!T&&!D,N=i?Object.keys(i).includes(C):!1;if(j)P=VN({items:P,schema:k,registry:d});else if(k&&k!==!0&&(i0(k)||zC(k)))P=P?.length?a.jsx(gt,{children:a.jsx(ks,{size:"small",items:P.map(FJe)})},C):a.jsx(_e,{type:"body2",children:"—"});else if(R){const F=k.format?.split(":"),U=F?.[1],z=F?.[2];P=a.jsx(ms,{label:`${U} script ${z?" (base64)":""}`,size:"small",color:"info"},C)}else P=a.jsx(_e,{type:"body2",sx:{wordBreak:"break-all"},children:P!==void 0?`${P}`:"—"},C);return a.jsxs(te,{direction:"row",align:"center",justify:"space-between",sx:{flex:"1 1 auto",px:2,py:.5,borderBottom:"1px solid",borderColor:"divider","&:last-child":{borderBottom:0}},nowrap:!0,children:[a.jsxs(te,{direction:"row",align:"center",sx:{color:N?"error.main":"text.secondary"},nowrap:!0,children:[j&&a.jsx(ge.Stack,{size:24}),T&&a.jsx(ge.List,{size:24}),D&&a.jsx(ge.Directions,{size:20}),O&&a.jsx(te,{sx:{width:"24px",height:"24px",flex:"0 0 auto",pt:"1px"},align:"center",justify:"center",nowrap:!0,children:a.jsx(ge.Circle,{size:12})}),a.jsx(_e,{type:"body2",fontWeight:"600",sx:{wordBreak:"break-all"},color:N?"error.main":"text.primary",noWrap:!0,children:A}),j&&a.jsx(_e,{type:"caption",sx:{fontWeight:"600",px:.5,backgroundColor:"divider",color:"text.primary",borderRadius:1,overflow:"hidden",whiteSpace:"nowrap",textAlign:"center"},children:P?.length})]}),O&&P]},C)})}):a.jsx(a.Fragment,{})]}),e[14]=m,e[15]=x,e[16]=c,e[17]=p,e[18]=u,e[19]=s,e[20]=i,e[21]=o,e[22]=d,e[23]=r,e[24]=l,e[25]=w):w=e[25],w}function FJe(t){return{id:t,label:t}}function UJe(t){return!!t}function BJe(t){const e=he.c(18),{schema:r,children:n,paths:s,index:i,registry:o}=t,l=n.props,c=zr(zJe);let u;e[0]!==c||e[1]!==s?(u=()=>{s&&c({id:s.selectableItemId})},e[0]=c,e[1]=s,e[2]=u):u=e[2];const d=u;let f;e:{if(!r.properties){let x;e[3]===Symbol.for("react.memo_cache_sentinel")?(x=[],e[3]=x):x=e[3],f=x;break e}let b;e[4]!==r.properties?(b=Object.keys(r.properties),e[4]=r.properties,e[5]=b):b=e[5],f=b}const p=f;let m;e[6]!==l.errorSchema?(m=Object.keys(l.errorSchema||{}),e[6]=l.errorSchema,e[7]=m):m=e[7];const h=m.length>0,_=l.formData,g=`#${i} - ${l.schema.title||l.name}`;let y;return e[8]!==l.errorSchema||e[9]!==_||e[10]!==d||e[11]!==h||e[12]!==s.selectableItemId||e[13]!==p||e[14]!==o||e[15]!==r||e[16]!==g?(y=a.jsx(a.Fragment,{children:a.jsx(tue,{isErrored:h,id:s.selectableItemId,schema:r,objKeys:p,objData:_,objErrors:l.errorSchema,title:g,onClick:d,registry:o})}),e[8]=l.errorSchema,e[9]=_,e[10]=d,e[11]=h,e[12]=s.selectableItemId,e[13]=p,e[14]=o,e[15]=r,e[16]=g,e[17]=y):y=e[17],y}function zJe(t){return t.handleSelectNode}function qJe(t){const e=he.c(40),{children:r,disabled:n,hasToolbar:s,hasCopy:i,hasMoveDown:o,hasMoveUp:l,hasRemove:c,index:u,onCopyIndexClick:d,onDropIndexClick:f,onReorderClick:p,readonly:m,uiSchema:h,registry:_,schema:g,parentIdSchema:y}=t,b=zr(HJe),x=r.props,{CopyButton:w,MoveDownButton:C,MoveUpButton:k,RemoveButton:A}=_.templates.ButtonTemplates;let P;e[0]===Symbol.for("react.memo_cache_sentinel")?(P={flex:1,paddingLeft:6,paddingRight:6,fontWeight:"600",minWidth:0},e[0]=P):P=e[0];const T=P;let j;e:{if(!b){j=void 0;break e}let W,K;if(e[1]!==u||e[2]!==y.$id||e[3]!==b){const Q=y.$id.split(".").slice(2),Z=[...b.split("."),...Q,u];W=Array.from(Z).map(VJe),K=Array.from(Z),e[1]=u,e[2]=y.$id,e[3]=b,e[4]=W,e[5]=K}else W=e[4],K=e[5];const q=K.join(".");let X;e[6]!==W||e[7]!==q?(X={selectableItemPath:W,selectableItemId:q},e[6]=W,e[7]=q,e[8]=X):X=e[8],j=X}const R=j;let D;e[9]!==x.errorSchema?(D=Object.keys(x.errorSchema||{}),e[9]=x.errorSchema,e[10]=D):D=e[10];const O=D.length>0,N=g.type==="object";if(!R)return null;let F;e[11]!==w||e[12]!==C||e[13]!==k||e[14]!==A||e[15]!==n||e[16]!==i||e[17]!==o||e[18]!==l||e[19]!==c||e[20]!==s||e[21]!==u||e[22]!==d||e[23]!==f||e[24]!==p||e[25]!==m||e[26]!==_||e[27]!==h?(F=s&&a.jsxs(te,{direction:"row",justify:"flex-end",children:[(l||o||i)&&a.jsxs(SJe,{children:[(l||o)&&a.jsx(k,{style:T,disabled:n||m||!l,onClick:p(u,u-1),uiSchema:h,registry:_}),(l||o)&&a.jsx(C,{style:T,disabled:n||m||!o,onClick:p(u,u+1),uiSchema:h,registry:_}),i&&a.jsx(w,{style:T,disabled:n||m,onClick:d(u),uiSchema:h,registry:_})]},u),c&&a.jsx(A,{style:T,disabled:n||m,onClick:f(u),uiSchema:h,registry:_})]}),e[11]=w,e[12]=C,e[13]=k,e[14]=A,e[15]=n,e[16]=i,e[17]=o,e[18]=l,e[19]=c,e[20]=s,e[21]=u,e[22]=d,e[23]=f,e[24]=p,e[25]=m,e[26]=_,e[27]=h,e[28]=F):F=e[28];let U;e[29]!==r||e[30]!==N||e[31]!==R||e[32]!==t?(U=N?a.jsx(BJe,{...t,paths:R}):r,e[29]=r,e[30]=N,e[31]=R,e[32]=t,e[33]=U):U=e[33];let z;e[34]!==U?(z=a.jsx(Kt,{children:U}),e[34]=U,e[35]=z):z=e[35];let H;return e[36]!==O||e[37]!==F||e[38]!==z?(H=a.jsx(pr,{error:O,elevation:3,footerActionsComponent:F,children:z}),e[36]=O,e[37]=F,e[38]=z,e[39]=H):H=e[39],H}function VJe(t){return t.toString()}function HJe(t){return t.selectedId}function rue(t){const e=he.c(50),{title:r,idSchema:n,children:s,isErrored:i,headerActionsComponent:o,isArray:l,description:c}=t,u=zr(GJe),d=n.$id===wo;let f;if(e[0]!==n.$id||e[1]!==u){f=n.$id===u;const w=u?.split(".")||[],C=w[w.length-1];w&&C&&n.$id===`${wo}.${C}`&&(f=!0),e[0]=n.$id,e[1]=u,e[2]=f}else f=e[2];let p;e[3]!==f||e[4]!==u?(p=w=>{if(!u||!f)return;const C=w.schemaFields[u];if(C&&C.type===ol.DISCRIMINATOR)return C},e[3]=f,e[4]=u,e[5]=p):p=e[5];const m=zr(p);if(d){let w;return e[6]!==s||e[7]!==n.$id?(w=a.jsx(gt,{"data-id":n.$id,children:s}),e[6]=s,e[7]=n.$id,e[8]=w):w=e[8],w}else if(f){let w;e[9]!==l||e[10]!==i?(w=l&&!i&&{borderBottom:"1px solid",borderColor:"divider"},e[9]=l,e[10]=i,e[11]=w):w=e[11];let C;e[12]!==i?(C=i&&{border:"2px solid",borderColor:"error.main"},e[12]=i,e[13]=C):C=e[13];let k;e[14]!==w||e[15]!==C?(k={flex:"1 1 auto",...w,...C},e[14]=w,e[15]=C,e[16]=k):k=e[16];let A;e[17]!==m||e[18]!==o||e[19]!==r?(A=!m&&a.jsxs(te,{justify:"space-between",sx:{borderBottom:"1px solid",borderBottomColor:"divider",px:2,py:1,flex:"0 0 auto"},direction:"row",align:"center",fullWidth:!0,children:[r,o]}),e[17]=m,e[18]=o,e[19]=r,e[20]=A):A=e[20];let P;e[21]!==c||e[22]!==n?(P=c&&a.jsx(g3,{description:c,band:!0,id:n.$id,schema:n,registry:null}),e[21]=c,e[22]=n,e[23]=P):P=e[23];let T;e[24]!==s||e[25]!==l?(T=l?s:a.jsx(Kt,{children:s}),e[24]=s,e[25]=l,e[26]=T):T=e[26];let j;return e[27]!==n.$id||e[28]!==k||e[29]!==A||e[30]!==P||e[31]!==T?(j=a.jsxs(te,{"data-id":n.$id,spacing:0,fullHeight:!0,sx:k,nowrap:!0,children:[A,P,T]}),e[27]=n.$id,e[28]=k,e[29]=A,e[30]=P,e[31]=T,e[32]=j):j=e[32],j}const h=d?0:2;let _;e[33]===Symbol.for("react.memo_cache_sentinel")?(_={mb:1.5,maxWidth:"100%"},e[33]=_):_=e[33];let g;e[34]!==c||e[35]!==n?(g=c&&a.jsx(g3,{description:c,band:!0,id:n.$id,schema:n,registry:null}),e[34]=c,e[35]=n,e[36]=g):g=e[36];let y;e[37]!==s||e[38]!==l?(y=l?a.jsx(a.Fragment,{children:s}):a.jsx(Kt,{children:s}),e[37]=s,e[38]=l,e[39]=y):y=e[39];let b;e[40]!==g||e[41]!==y?(b=a.jsxs(a.Fragment,{children:[g,y]}),e[40]=g,e[41]=y,e[42]=b):b=e[42];let x;return e[43]!==o||e[44]!==n.$id||e[45]!==i||e[46]!==h||e[47]!==b||e[48]!==r?(x=a.jsx(pr,{title:r,error:i,folder:!0,"data-id":n.$id,elevation:h,headerActionsComponent:o,sx:_,children:b}),e[43]=o,e[44]=n.$id,e[45]=i,e[46]=h,e[47]=b,e[48]=r,e[49]=x):x=e[49],x}function GJe(t){return t.selectedId}function WJe(t){const e=he.c(103),{canAdd:r,disabled:n,idSchema:s,uiSchema:i,items:o,onAddClick:l,readonly:c,registry:u,schema:d,title:f}=t,p=zr(JJe),m=zr(XJe);let h;e[0]!==o||e[1]!==u||e[2]!==d?(h=VN({items:o.map(ZJe),schema:d,registry:u}),e[0]=o,e[1]=u,e[2]=d,e[3]=h):h=e[3];const _=h,g=QJe;let y;e[4]!==_?(y=(we,Me,$e)=>{if(we!==null&&typeof we=="object"&&"__index__"in we){const Ve=$e==="UP"?Me-1:Me+1;return _[Ve].__index__}return $e==="UP"?Me-1:Me+1},e[4]=_,e[5]=y):y=e[5];const b=y;let x;e[6]!==i?(x=Dn(i),e[6]=i,e[7]=x):x=e[7];const w=x,{ButtonTemplates:C}=u.templates,{AddButton:k}=C;let A;e[8]!==o?(A=o.reduce(KJe,{}),e[8]=o,e[9]=A):A=e[9];const P=A;let T;e[10]!==P?(T=Object.keys(P),e[10]=P,e[11]=T):T=e[11];const j=T.length>0;let R;e[12]!==s.$id||e[13]!==p?(R=we=>{if(!p)return;const Me=s.$id.split(".").slice(2),Ve=[...p.split("."),...Me,we];return{selectableItemPath:Array.from(Ve).map(YJe),selectableItemId:Array.from(Ve).join(".")}},e[12]=s.$id,e[13]=p,e[14]=R):R=e[14];const D=R;let O;e[15]!==D||e[16]!==m?(O=(we,Me)=>{const $e=g(we,Me),Ve=D($e);if(Ve)return setTimeout(()=>{m({id:Ve.selectableItemId})},0)},e[15]=D,e[16]=m,e[17]=O):O=e[17];let N;e[18]===Symbol.for("react.memo_cache_sentinel")?(N=a.jsx(ge.Edit,{}),e[18]=N):N=e[18];let F;e[19]!==O?(F={label:"Edit",onClick:O,icon:N},e[19]=O,e[20]=F):F=e[20];let U,z;e[21]!==o?(U=(we,Me)=>{const $e=g(we,Me),{onCopyIndexClick:Ve}=o[$e];return Ve($e)()},z=(we,Me)=>{const $e=g(we,Me),{disabled:Ve,readonly:Ne}=o[$e];return!!(Ve||Ne)},e[21]=o,e[22]=U,e[23]=z):(U=e[22],z=e[23]);let H;e[24]===Symbol.for("react.memo_cache_sentinel")?(H=a.jsx(ge.Copy,{}),e[24]=H):H=e[24];let W;e[25]!==U||e[26]!==z?(W={label:"Copy",onClick:U,disabled:z,icon:H,wrapped:!0},e[25]=U,e[26]=z,e[27]=W):W=e[27];let K;e[28]!==b||e[29]!==o?(K=(we,Me)=>{const $e=g(we,Me),{onReorderClick:Ve}=o[$e];return Ve($e,b(we,Me,"UP"))()},e[28]=b,e[29]=o,e[30]=K):K=e[30];let q;e[31]!==o?(q=(we,Me)=>{const $e=g(we,Me),{disabled:Ve,readonly:Ne,hasMoveUp:Oe}=o[$e];return Ve||Ne||!Oe},e[31]=o,e[32]=q):q=e[32];let X;e[33]===Symbol.for("react.memo_cache_sentinel")?(X=a.jsx(ge.UpArrow,{}),e[33]=X):X=e[33];let Q;e[34]!==K||e[35]!==q?(Q={label:"Up",onClick:K,disabled:q,icon:X,wrapped:!0},e[34]=K,e[35]=q,e[36]=Q):Q=e[36];let Y;e[37]!==b||e[38]!==o?(Y=(we,Me)=>{const $e=g(we,Me),{onReorderClick:Ve}=o[$e];return Ve($e,b(we,Me,"DOWN"))()},e[37]=b,e[38]=o,e[39]=Y):Y=e[39];let Z;e[40]!==o?(Z=(we,Me)=>{const $e=g(we,Me),{disabled:Ve,readonly:Ne,hasMoveDown:Oe}=o[$e];return Ve||Ne||!Oe},e[40]=o,e[41]=Z):Z=e[41];let re;e[42]===Symbol.for("react.memo_cache_sentinel")?(re=a.jsx(ge.DownArrow,{}),e[42]=re):re=e[42];let fe;e[43]!==Y||e[44]!==Z?(fe={label:"Down",onClick:Y,disabled:Z,icon:re,wrapped:!0},e[43]=Y,e[44]=Z,e[45]=fe):fe=e[45];let de,se;e[46]!==o?(de=(we,Me)=>{const $e=g(we,Me),{onDropIndexClick:Ve}=o[$e];return setTimeout(()=>{Ve($e)()},0)},se=(we,Me)=>{const $e=g(we,Me),{disabled:Ve,readonly:Ne}=o[$e];return!!(Ve||Ne)},e[46]=o,e[47]=de,e[48]=se):(de=e[47],se=e[48]);let le;e[49]===Symbol.for("react.memo_cache_sentinel")?(le=a.jsx(ge.Trash,{}),e[49]=le):le=e[49];let ee;e[50]!==de||e[51]!==se?(ee={label:"Remove",onClick:de,disabled:se,icon:le,wrapped:!0},e[50]=de,e[51]=se,e[52]=ee):ee=e[52];let J;e[53]!==F||e[54]!==W||e[55]!==Q||e[56]!==fe||e[57]!==ee?(J=[F,W,Q,fe,ee],e[53]=F,e[54]=W,e[55]=Q,e[56]=fe,e[57]=ee,e[58]=J):J=e[58];const pe=J;let Se;e[59]===Symbol.for("react.memo_cache_sentinel")?(Se=[],e[59]=Se):Se=e[59];let ve=Se;if(d.items&&!Array.isArray(d.items)&&d.items!==!0){let we,Me;if(e[60]!==D||e[61]!==m||e[62]!==o||e[63]!==d.items){let $e={};const Ve=d.items.allOf||d.items.anyOf||d.items.oneOf;let Ne;e[66]!==d.items?(Ne=qu(d.items),e[66]=d.items,e[67]=Ne):Ne=e[67],we=Ne,d.items.properties?$e=d.items.properties:Ve&&Ve.forEach(Oe=>{Oe===!0||Oe===!1||Oe.properties&&Oe.type==="object"&&($e={...$e,...Oe.properties})}),Me=Object.keys($e||{}).filter(Oe=>{const ft=$e?.[Oe];return ft&&ft!==!0&&!Ve?!Ah(ft):!0}).map(Oe=>{const ft=Oe,Ct=$e?.[Oe],Et=Zl(Oe),at={key:ft,label:Et,numeric:!1,minWidth:"150"};return Ct&&typeof Ct=="object"&&(at.numeric=Ct.type==="number",at.label=Zl(Ct.title||Oe)),at.cellRender=($t,Ee)=>{const Be=D(Ee),qt=$t[ft],ar=Ct&&Ct!==!0&&i0(Ct),hr=Ct&&Ct!==!0&&zC(Ct),ir=qt&&Ct&&Ct!==!0&&QN(Ct);if(ar||hr)return Array.isArray(qt)?a.jsx("span",{children:qt.join(", ")||"—"}):a.jsx("span",{children:"-"});const cr=!!o[Ee].children.props.errorSchema?.[ft];if(typeof qt=="object"||Array.isArray(qt))return a.jsx(Ze,{variant:"text",size:"small",startIcon:Array.isArray(qt)?a.jsx(ge.Stack,{size:24}):a.jsx(ge.List,{size:24}),onClick:()=>{Be&&m({id:`${Be.selectableItemId}.${Oe}`})},text:Array.isArray(qt)?`${qt.length} item${qt.length!==1?"s":""}`:""});if(ir){const kr=Ct.format?.split(":"),Rr=kr?.[1],Ut=kr?.[2];return a.jsx(ms,{label:`${Rr} script ${Ut?" (base64)":"—"}`,size:"small",color:cr?"error":"info"})}return we===Oe?a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ge.Directions,{size:16}),a.jsx(_e,{type:"body2",color:cr?"error":"text.primary",children:`${qt??"—"}`})]}):a.jsx(_e,{type:"body2",color:cr?"error":"text.primary",children:`${qt??"—"}`})},at}),e[60]=D,e[61]=m,e[62]=o,e[63]=d.items,e[64]=we,e[65]=Me}else we=e[64],Me=e[65];if(ve=Me,we){let $e;e[68]!==ve||e[69]!==we?($e=ve.filter(Ct=>Ct.key===we),e[68]=ve,e[69]=we,e[70]=$e):$e=e[70];const Ve=$e;let Ne;e[71]!==ve||e[72]!==we?(Ne=ve.filter(Ct=>Ct.key!==we),e[71]=ve,e[72]=we,e[73]=Ne):Ne=e[73];const Oe=Ne;let ft;e[74]!==Ve||e[75]!==Oe?(ft=[...Ve,...Oe],e[74]=Ve,e[75]=Oe,e[76]=ft):ft=e[76],ve=ft}}const xe=ve,qe=!!xe.length,Le=w.title||f;let Te;e[77]!==s.$id||e[78]!==j||e[79]!==Le?(Te=a.jsx(X0,{id:s.$id,title:Le,isErrored:j,isArray:!0}),e[77]=s.$id,e[78]=j,e[79]=Le,e[80]=Te):Te=e[80];let je;e[81]!==k||e[82]!==r||e[83]!==n||e[84]!==l||e[85]!==c||e[86]!==u||e[87]!==i?(je=r&&a.jsx(k,{className:"array-item-add",onClick:l,disabled:n||c,uiSchema:i,registry:u}),e[81]=k,e[82]=r,e[83]=n,e[84]=l,e[85]=c,e[86]=u,e[87]=i,e[88]=je):je=e[88];const Ge=w.description||d.description;let nt;e[89]!==xe||e[90]!==s||e[91]!==o||e[92]!==_||e[93]!==pe?(nt=xe.length?a.jsx(Br,{columns:xe,rowsCount:_.length,rowsPerPage:_.length,orderBy:xe[0].key,page:0,hidePagination:!0,rowKey:xe[0].key,data:_,rowActions:pe,stickyRowActions:!0,hideRowsCount:!0}):a.jsx(te,{children:o.map(we=>{const{key:Me,...$e}=we;return a.jsx(qJe,{...$e,parentIdSchema:s},Me)})}),e[89]=xe,e[90]=s,e[91]=o,e[92]=_,e[93]=pe,e[94]=nt):nt=e[94];let Re;return e[95]!==s||e[96]!==j||e[97]!==qe||e[98]!==Te||e[99]!==je||e[100]!==Ge||e[101]!==nt?(Re=a.jsx(rue,{idSchema:s,isErrored:j,isArray:qe,title:Te,headerActionsComponent:je,description:Ge,children:nt}),e[95]=s,e[96]=j,e[97]=qe,e[98]=Te,e[99]=je,e[100]=Ge,e[101]=nt,e[102]=Re):Re=e[102],Re}function YJe(t){return t.toString()}function KJe(t,e){const r=e.children.props.errorSchema;return{...t,...r}}function QJe(t,e){return t!==null&&typeof t=="object"&&"__index__"in t?t.__index__:e}function ZJe(t){return t.children.props.formData}function XJe(t){return t.handleSelectNode}function JJe(t){return t.selectedId}function Fv(t){const e=he.c(29),{value:r,label:n,error:s,language:i,onChange:o,showError:l,sx:c,readonly:u}=t,d=l===void 0?!0:l,f=$Ee(),p=ci();let m;e[0]!==f?(m=()=>{f&&(f.languages.html.registerHTMLLanguageService("xml",{format:{wrapLineLength:0,preserveNewLines:!1,tabSize:2}},{documentFormattingEdits:!0}),f.languages.setLanguageConfiguration("xml",{indentationRules:{increaseIndentPattern:new RegExp(`<(?!\\?|[^>]*\\/>)([-_.A-Za-z0-9]+)(?=\\s|>)\\b[^>]*>(?!.*<\\/\\1>)|<!--(?!.*-->)|\\{[^}"']*$`),decreaseIndentPattern:new RegExp("^\\s*(<\\/(?!html)[-_.A-Za-z0-9]+\\b[^>]*>|-->|})")}}))},e[0]=f,e[1]=m):m=e[1];let h;e[2]!==i||e[3]!==f?(h=[i,f],e[2]=i,e[3]=f,e[4]=h):h=e[4],I.useEffect(m,h);let _;e[5]!==s||e[6]!==n?(_=n&&a.jsx(_e,{color:s?"error":"text.secondary",sx:{flex:"0 0 auto"},children:n}),e[5]=s,e[6]=n,e[7]=_):_=e[7];const g=s?"error.main":"grey.400";let y;e[8]!==c||e[9]!==g?(y={p:1,flex:"1 1 auto",width:"100%",border:"1px solid",borderColor:g,borderRadius:1,...c},e[8]=c,e[9]=g,e[10]=y):y=e[10];const b=p.palette.mode==="light"?"light":"vs-dark";let x;e[11]!==u?(x={automaticLayout:!0,autoClosingBrackets:"always",autoClosingQuotes:"always",autoIndent:"full",formatOnPaste:!0,formatOnType:!0,detectIndentation:!0,readOnly:u},e[11]=u,e[12]=x):x=e[12];let w;e[13]!==i||e[14]!==o||e[15]!==b||e[16]!==x||e[17]!==r?(w=a.jsx(SL,{theme:b,defaultValue:r,language:i,onChange:o,options:x}),e[13]=i,e[14]=o,e[15]=b,e[16]=x,e[17]=r,e[18]=w):w=e[18];let C;e[19]!==y||e[20]!==w?(C=a.jsx(gt,{sx:y,children:w}),e[19]=y,e[20]=w,e[21]=C):C=e[21];let k;e[22]!==s||e[23]!==d?(k=d&&s&&a.jsx(_e,{color:"error",type:"caption",sx:{pl:1.5,flex:"0 0 auto"},children:s}),e[22]=s,e[23]=d,e[24]=k):k=e[24];let A;return e[25]!==C||e[26]!==k||e[27]!==_?(A=a.jsxs(te,{fullHeight:!0,fullWidth:!0,nowrap:!0,spacing:.5,children:[_,C,k]}),e[25]=C,e[26]=k,e[27]=_,e[28]=A):A=e[28],A}function eet(t){const e=he.c(15),{schema:r,rawErrors:n,value:s,onChange:i,label:o,readonly:l}=t,{format:c}=r;let u;e[0]!==c?(u=c?.split(":"),e[0]=c,e[1]=u):u=e[1];const d=u,f=d?.[0]==="code",p=d?.[1],m=d?.[2]==="base64";let h;e:{if(m){const C=s||"";let k;e[2]!==C?(k=atob(C),e[2]=C,e[3]=k):k=e[3],h=k;break e}h=s}const _=h;let g;e[4]!==m||e[5]!==i?(g=C=>{if(C)return i(m?btoa(C):C)},e[4]=m,e[5]=i,e[6]=g):g=e[6];const y=g;if(!f||!p)return null;let b;e[7]===Symbol.for("react.memo_cache_sentinel")?(b={height:"500px"},e[7]=b):b=e[7];const x=n?.[0];let w;return e[8]!==_||e[9]!==y||e[10]!==o||e[11]!==p||e[12]!==l||e[13]!==x?(w=a.jsx(gt,{sx:b,children:a.jsx(Fv,{value:_,language:p,error:x,showError:!1,onChange:y,label:o,readonly:l})}),e[8]=_,e[9]=y,e[10]=o,e[11]=p,e[12]=l,e[13]=x,e[14]=w):w=e[14],w}function tet(t){const e=he.c(4),{schema:r}=t;if(QN(r)){let i;return e[0]!==t?(i=a.jsx(eet,{...t}),e[0]=t,e[1]=i):i=e[1],i}let s;return e[2]!==t?(s=a.jsx(Mce,{...t}),e[2]=t,e[3]=s):s=e[3],s}function ret(t){const e=he.c(4),{onClick:r,disabled:n}=t;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(ge.Add,{}),e[0]=s):s=e[0];let i;return e[1]!==n||e[2]!==r?(i=a.jsx(Ze,{onClick:r,size:"small",text:"Add new",disabled:n,startIcon:s,variant:"outlined"}),e[1]=n,e[2]=r,e[3]=i):i=e[3],i}function net(t){const e=he.c(4),{onClick:r,disabled:n}=t;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(ge.DownArrow,{}),e[0]=s):s=e[0];let i;return e[1]!==n||e[2]!==r?(i=a.jsx(Ze,{onClick:r,size:"small",text:"Down",variant:"outlined",disabled:n,startIcon:s}),e[1]=n,e[2]=r,e[3]=i):i=e[3],i}function set(t){const e=he.c(4),{onClick:r,disabled:n}=t;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(ge.UpArrow,{}),e[0]=s):s=e[0];let i;return e[1]!==n||e[2]!==r?(i=a.jsx(Ze,{onClick:r,size:"small",text:"Up",variant:"outlined",disabled:n,startIcon:s}),e[1]=n,e[2]=r,e[3]=i):i=e[3],i}function iet(t){const e=he.c(4),{onClick:r,disabled:n}=t;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(ge.Trash,{}),e[0]=s):s=e[0];let i;return e[1]!==n||e[2]!==r?(i=a.jsx(Ze,{onClick:r,size:"small",text:"Remove",variant:"outlined",disabled:n,startIcon:s}),e[1]=n,e[2]=r,e[3]=i):i=e[3],i}function oet(){return null}function aet(t){const e=he.c(28),r=ci(),n=mce(t.schema);let s;e[0]!==t.schema.type?(s=Array.isArray(t.schema.type)&&t.schema.type.find(cet),e[0]=t.schema.type,e[1]=s):s=e[1];const i=s,o=t.schema.anyOf&&t.description;if(n)return null;let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l={mb:3},e[2]=l):l=e[2];let c;e[3]!==t.schema.deprecated||e[4]!==r?(c=t.schema.deprecated&&{backgroundColor:br(r.palette.warning.main,.2),borderRadius:1,p:.5},e[3]=t.schema.deprecated,e[4]=r,e[5]=c):c=e[5];let u;e[6]!==c?(u={"& .form-group.field.field-string, & .form-group.field.field-boolean, & .form-group.field.field-integer":l,...c},e[6]=c,e[7]=u):u=e[7];let d;e[8]!==t.schema.deprecated?(d=t.schema.deprecated&&a.jsx(Lr,{title:"Deprecated",severity:"warning"}),e[8]=t.schema.deprecated,e[9]=d):d=e[9];let f;e[10]!==i?(f=i&&{padding:2,border:"1px solid",borderColor:"divider",borderRadius:1,mb:3},e[10]=i,e[11]=f):f=e[11];let p;e[12]!==f?(p={...f},e[12]=f,e[13]=p):p=e[13];let m;e[14]!==i||e[15]!==t?(m=i&&a.jsx(gt,{sx:{flex:"0 0 auto",ml:-.5},children:a.jsx(da,{label:"Set to Null",checked:t.formData===null,onChange:(b,x)=>{t.onChange(x?null:void 0)},size:"small"})}),e[14]=i,e[15]=t,e[16]=m):m=e[16];const h=o?void 0:t.description;let _;e[17]!==t||e[18]!==h?(_=a.jsx(Pce,{...t,description:h}),e[17]=t,e[18]=h,e[19]=_):_=e[19];let g;e[20]!==p||e[21]!==m||e[22]!==_?(g=a.jsxs(te,{fullWidth:!0,spacing:0,sx:p,children:[m,_]}),e[20]=p,e[21]=m,e[22]=_,e[23]=g):g=e[23];let y;return e[24]!==g||e[25]!==u||e[26]!==d?(y=a.jsxs(te,{sx:u,"data-id":"field",spacing:1.5,children:[d,g]}),e[24]=g,e[25]=u,e[26]=d,e[27]=y):y=e[27],y}function cet(t){return t!=="null"}function uet(t,e){const r=e.indexOf(t[t.length-1]);return t.length===1&&t[0]===wo?[...e.slice(r+1)]:r!==-1?[...t,...e.slice(r+1)]:[...t,...e]}function det(t){const e=he.c(38),{errorSchema:r,description:n,properties:s,disabled:i,readonly:o,uiSchema:l,idSchema:c,schema:u,formData:d,onAddClick:f,registry:p,title:m}=t,h=zr(met),_=zr(pet),{ButtonTemplates:g}=p.templates,{AddButton:y}=g,b=c.$id===wo;let x;e[0]!==h?(x=N=>{if(!h)return;const F=N.split("."),U=h.split("."),z=uet(U,F);return{selectableItemPath:z.map(fet),selectableItemId:z.join(".")}},e[0]=h,e[1]=x):x=e[1];const w=x;let C;e[2]!==w||e[3]!==_?(C=N=>{const F=w(N);F&&_({id:F.selectableItemId})},e[2]=w,e[3]=_,e[4]=C):C=e[4];const k=C;let A;e[5]!==r?(A=Object.keys(r||{}),e[5]=r,e[6]=A):A=e[6];const P=A.length>0;let T;e[7]!==c.$id||e[8]!==P||e[9]!==m?(T=a.jsx(X0,{id:c.$id,title:m,isObject:!0,isErrored:P}),e[7]=c.$id,e[8]=P,e[9]=m,e[10]=T):T=e[10];let j;e[11]!==y||e[12]!==i||e[13]!==d||e[14]!==f||e[15]!==o||e[16]!==p||e[17]!==u||e[18]!==l?(j=bN(u,l,d)&&a.jsx(y,{className:"object-property-expand",onClick:f(u),disabled:i||o,uiSchema:l,registry:p}),e[11]=y,e[12]=i,e[13]=d,e[14]=f,e[15]=o,e[16]=p,e[17]=u,e[18]=l,e[19]=j):j=e[19];let R;if(e[20]!==k||e[21]!==b||e[22]!==s||e[23]!==p){let N;e[25]!==k||e[26]!==b||e[27]!==p?(N=(F,U)=>{const z=F.content.props,H=z.schema,W=H.title||z.name,K=z.formData,q=Object.keys(H.properties||[]),X=H.type==="object"&&!b,Q=z.idSchema.$id,Y=z.errorSchema,Z=Object.keys(Y||{}).length>0;return Ah(H)?null:F.hidden?F.content:X?a.jsx(tue,{id:Q,schema:H,objKeys:q,objData:K,objErrors:Y,onClick:()=>k(Q),title:W,isErrored:Z,registry:p},`${Q}-${U}`):a.jsx(gt,{sx:{mb:1.5,"&:last-child":{mb:0}},"data-id":"object-box",children:F.content},`${Q}-${U}`)},e[25]=k,e[26]=b,e[27]=p,e[28]=N):N=e[28],R=s.map(N),e[20]=k,e[21]=b,e[22]=s,e[23]=p,e[24]=R}else R=e[24];let D;e[29]!==R?(D=a.jsx(a.Fragment,{children:R}),e[29]=R,e[30]=D):D=e[30];let O;return e[31]!==n||e[32]!==c||e[33]!==P||e[34]!==T||e[35]!==j||e[36]!==D?(O=a.jsx(rue,{idSchema:c,title:T,description:n,isErrored:P,headerActionsComponent:j,children:D}),e[31]=n,e[32]=c,e[33]=P,e[34]=T,e[35]=j,e[36]=D,e[37]=O):O=e[37],O}function fet(t){return t?.toString()}function pet(t){return t.handleSelectNode}function met(t){return t.selectedId}function het(t){const e=new Set;function r(n){if(typeof n!="object"||n===null)return;const s=n;"discriminator"in s&&typeof s.discriminator=="object"&&s.discriminator&&"propertyName"in s.discriminator&&typeof s.discriminator.propertyName=="string"&&s.discriminator.propertyName&&e.add(s.discriminator.propertyName);for(const i in s)r(s[i])}return r(t),e}function qs(t){const e=he.c(79);let r,n,s,i,o,l,c,u,d,f,p,m,h,_,g,y,b,x,w,C,k,A,P;e[0]!==t?({disabled:o,variant:P,label:f,error:l,fullWidth:c,name:h,value:A,size:w,required:x,onChange:_,children:n,multiple:m,open:g,id:d,labelId:p,autoWidth:r,helperText:u,renderValue:b,color:s,defaultValue:i,tooltip:k,sx:C,...y}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d,e[10]=f,e[11]=p,e[12]=m,e[13]=h,e[14]=_,e[15]=g,e[16]=y,e[17]=b,e[18]=x,e[19]=w,e[20]=C,e[21]=k,e[22]=A,e[23]=P):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9],f=e[10],p=e[11],m=e[12],h=e[13],_=e[14],g=e[15],y=e[16],b=e[17],x=e[18],w=e[19],C=e[20],k=e[21],A=e[22],P=e[23]);const T=iN();let j;e[24]!==w?(j=w==="small"&&{"&.MuiInputLabel-animated ":{transform:"translate(14px, 8px) scale(1)","&.MuiInputLabel-shrink":{transform:"translate(14px, -9px) scale(0.75)"}}},e[24]=w,e[25]=j):j=e[25];let R;e[26]!==j?(R={...j},e[26]=j,e[27]=R):R=e[27];let D;e[28]!==f||e[29]!==p||e[30]!==R?(D=a.jsx(GO,{id:p,sx:R,children:f}),e[28]=f,e[29]=p,e[30]=R,e[31]=D):D=e[31];const O=T&&T;let N;e[32]!==h?(N=h&&{"data-testid":`field-${h}`},e[32]=h,e[33]=N):N=e[33];let F;e[34]!==k?(F=k&&{endAdornment:a.jsx(gt,{sx:{position:"relative",right:12,display:"flex",alignItems:"center"},children:a.jsx(Mn,{title:k,arrow:!0,children:a.jsx("span",{children:a.jsx(ge.Info,{})})})})},e[34]=k,e[35]=F):F=e[35];let U;e[36]!==w?(U=w==="small"&&{m:0,p:0},e[36]=w,e[37]=U):U=e[37];let z;e[38]!==k?(z=k&&{".MuiSelect-icon":{position:"relative",right:16}},e[38]=k,e[39]=z):z=e[39];let H;e[40]!==U||e[41]!==z?(H={...U,m:0,p:0,...z},e[40]=U,e[41]=z,e[42]=H):H=e[42];const W=`field-input-${h}`;let K;e[43]!==W?(K={"data-testid":W},e[43]=W,e[44]=K):K=e[44];let q;e[45]!==r||e[46]!==n||e[47]!==s||e[48]!==i||e[49]!==o||e[50]!==l||e[51]!==c||e[52]!==d||e[53]!==f||e[54]!==p||e[55]!==m||e[56]!==h||e[57]!==_||e[58]!==g||e[59]!==y||e[60]!==b||e[61]!==x||e[62]!==w||e[63]!==K||e[64]!==O||e[65]!==N||e[66]!==F||e[67]!==H||e[68]!==A||e[69]!==P?(q=a.jsx(yA,{...y,labelId:p,id:d,value:A,open:g,label:f,name:h,disabled:o,variant:P,error:l,fullWidth:c,required:x,onChange:_,multiple:m,autoWidth:r,renderValue:b,defaultValue:i,color:s,...O,...N,size:w,...F,sx:H,inputProps:K,children:n}),e[45]=r,e[46]=n,e[47]=s,e[48]=i,e[49]=o,e[50]=l,e[51]=c,e[52]=d,e[53]=f,e[54]=p,e[55]=m,e[56]=h,e[57]=_,e[58]=g,e[59]=y,e[60]=b,e[61]=x,e[62]=w,e[63]=K,e[64]=O,e[65]=N,e[66]=F,e[67]=H,e[68]=A,e[69]=P,e[70]=q):q=e[70];let X;e[71]!==l||e[72]!==u?(X=u&&a.jsx(gv,{error:l,children:u}),e[71]=l,e[72]=u,e[73]=X):X=e[73];let Q;return e[74]!==C||e[75]!==q||e[76]!==X||e[77]!==D?(Q=a.jsxs(hv,{fullWidth:!0,sx:C,children:[D,q,X]}),e[74]=C,e[75]=q,e[76]=X,e[77]=D,e[78]=Q):Q=e[78],Q}function get(t){const e=he.c(51),{id:r,options:n,label:s,hideLabel:i,required:o,disabled:l,schema:c,readonly:u,value:d,multiple:f,name:p,onChange:m,size:h,rawErrors:_,registry:g}=t;let y;e[0]!==_?(y=_===void 0?[]:_,e[0]=_,e[1]=y):y=e[1];const b=y,{enumOptions:x,enumDisabled:w,emptyValue:C}=n,{rootSchema:k}=g;let A,P,T,j;if(e[2]!==x||e[3]!==f||e[4]!==p||e[5]!==m||e[6]!==C||e[7]!==k||e[8]!==d){const K=het(k);let q;e[13]!==f?(q=f?[]:"",e[13]=f,e[14]=q):q=e[14],A=q;let X;e[15]!==x||e[16]!==m||e[17]!==C?(X=Y=>{const{target:Z}=Y,{value:re}=Z,fe=Gi(re,x,C);m(fe)},e[15]=x,e[16]=m,e[17]=C,e[18]=X):X=e[18],P=X;let Q;e[19]!==x||e[20]!==f||e[21]!==d?(Q=ZA(d,x,f),e[19]=x,e[20]=f,e[21]=d,e[22]=Q):Q=e[22],T=Q,j=K.has(p)&&x?.length===1&&d,e[2]=x,e[3]=f,e[4]=p,e[5]=m,e[6]=C,e[7]=k,e[8]=d,e[9]=A,e[10]=P,e[11]=T,e[12]=j}else A=e[9],P=e[10],T=e[11],j=e[12];if(j){let K;e[23]===Symbol.for("react.memo_cache_sentinel")?(K={alignSelf:"start"},e[23]=K):K=e[23];let q;return e[24]!==d?(q=a.jsx(ms,{sx:K,label:d}),e[24]=d,e[25]=q):q=e[25],q}let R;e[26]!==i||e[27]!==s?(R=Up(s||void 0,i,!1)||"",e[26]=i,e[27]=s,e[28]=R):R=e[28];const D=`${R}`,O=typeof T>"u"?A:T,N=l||u,F=b.length>0;let U;e[29]!==r?(U=Ua(r),e[29]=r,e[30]=U):U=e[30];let z;e[31]!==f||e[32]!==o||e[33]!==c?(z=!f&&c.default===void 0&&!o&&a.jsx(En,{value:"",children:"---"}),e[31]=f,e[32]=o,e[33]=c,e[34]=z):z=e[34];let H;e[35]!==w||e[36]!==x?(H=Array.isArray(x)&&x.map((K,q)=>{const{value:X,label:Q}=K,Y=Array.isArray(w)&&w.indexOf(X)!==-1;return a.jsx(En,{value:String(q),disabled:Y,children:Q},q)}),e[35]=w,e[36]=x,e[37]=H):H=e[37];let W;return e[38]!==P||e[39]!==r||e[40]!==f||e[41]!==o||e[42]!==h||e[43]!==z||e[44]!==H||e[45]!==D||e[46]!==O||e[47]!==N||e[48]!==F||e[49]!==U?(W=a.jsxs(qs,{id:r,name:r,label:D,value:O,required:o,disabled:N,multiple:f,error:F,onChange:P,size:h,fullWidth:!1,"aria-describedby":U,children:[z,H]}),e[38]=P,e[39]=r,e[40]=f,e[41]=o,e[42]=h,e[43]=z,e[44]=H,e[45]=D,e[46]=O,e[47]=N,e[48]=F,e[49]=U,e[50]=W):W=e[50],W}function _et(){const t=he.c(16),e=zr(wet),r=zr(xet),n=zr(bet),s=zr(yet),i=zr(vet);let o;t[0]!==s?(o=x=>{const w=RZe(x.formData);s(w)},t[0]=s,t[1]=o):o=t[1];const l=o;let c;t[2]===Symbol.for("react.memo_cache_sentinel")?(c={ObjectFieldTemplate:det,TitleFieldTemplate:X0,DescriptionFieldTemplate:g3,ArrayFieldTemplate:WJe,FieldTemplate:aet,BaseInputTemplate:tet,ButtonTemplates:{AddButton:ret,RemoveButton:iet,MoveDownButton:net,MoveUpButton:set,SubmitButton:oet}},t[2]=c):c=t[2];const u=c;let d;t[3]===Symbol.for("react.memo_cache_sentinel")?(d={ArrayField:tJe,AnyOfField:cX,OneOfField:cX},t[3]=d):d=t[3];const f=d;let p;t[4]===Symbol.for("react.memo_cache_sentinel")?(p={select:get},t[4]=p):p=t[4];const m=p;if(!e||!n){let x;return t[5]===Symbol.for("react.memo_cache_sentinel")?(x=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[5]=x):x=t[5],x}let h;t[6]===Symbol.for("react.memo_cache_sentinel")?(h={overflow:"hidden"},t[6]=h):h=t[6];let _;t[7]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(gt,{sx:{flex:"0 0 auto",borderBottom:"1px solid",borderColor:"divider",px:2,py:1},children:a.jsx(vJe,{})}),t[7]=_):_=t[7];let g;t[8]===Symbol.for("react.memo_cache_sentinel")?(g={overflow:"auto","& .form-group > .MuiFormControl-root":{mt:0},"& .form-group.field":{"&.field-array, &.field-object":{maxWidth:"100%"}}},t[8]=g):g=t[8];let y;t[9]===Symbol.for("react.memo_cache_sentinel")?(y={arrayMinItems:{populate:"requiredOnly"},emptyObjectFields:"populateRequiredDefaults"},t[9]=y):y=t[9];let b;return t[10]!==l||t[11]!==r||t[12]!==n||t[13]!==e||t[14]!==i?(b=a.jsxs(te,{fullHeight:!0,direction:"column",nowrap:!0,sx:h,spacing:0,children:[_,a.jsx(gt,{sx:g,children:a.jsx(EZe,{schema:e,validator:Nce,formData:r,onChange:l,liveValidate:!0,showErrorList:!1,noHtml5Validate:!0,idSeparator:".",templates:u,fields:f,widgets:m,transformErrors:jce,experimental_defaultFormStateBehavior:y,uiSchema:i},n)})]}),t[10]=l,t[11]=r,t[12]=n,t[13]=e,t[14]=i,t[15]=b):b=t[15],b}function vet(t){return t.selectedUiSchema||void 0}function yet(t){return t.handleDataChange}function bet(t){return t.selectedId}function xet(t){return t.selectedData}function wet(t){return t.selectedSchema}const zp=t=>{const e=he.c(3),{children:r}=t;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={flexGrow:1,overflowY:"auto",pt:1,px:2,pb:2},e[0]=n):n=e[0];let s;return e[1]!==r?(s=a.jsx(te,{direction:"column",nowrap:!0,sx:n,children:r}),e[1]=r,e[2]=s):s=e[2],s};function kh(t){const e=he.c(25);let r,n,s,i,o,l,c,u,d;e[0]!==t?({color:n,disabled:s,size:c,value:d,children:r,onClick:i,sx:u,single:l,...o}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9]);let f;e[10]!==l||e[11]!==c?(f=c==="small"&&{height:40,...l&&{width:40}},e[10]=l,e[11]=c,e[12]=f):f=e[12];let p;e[13]!==u||e[14]!==f?(p={...u,...f},e[13]=u,e[14]=f,e[15]=p):p=e[15];let m;return e[16]!==r||e[17]!==n||e[18]!==s||e[19]!==i||e[20]!==o||e[21]!==c||e[22]!==p||e[23]!==d?(m=a.jsx(VFe,{color:n,disabled:s,size:c,value:d,onClick:i,...o,sx:p,children:r}),e[16]=r,e[17]=n,e[18]=s,e[19]=i,e[20]=o,e[21]=c,e[22]=p,e[23]=d,e[24]=m):m=e[24],m}function lk(t){const e=he.c(19);let r,n,s,i,o,l;e[0]!==t?({value:l,onChange:s,children:r,"data-testid":n,innerSelection:o,...i}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6]);const c=o===void 0?!0:o,[u,d]=I.useState(l);let f;e[7]!==c||e[8]!==s?(f=(g,y)=>{c&&d(y),s&&s(y)},e[7]=c,e[8]=s,e[9]=f):f=e[9];const p=f;let m,h;e[10]!==l?(m=()=>{d(l)},h=[l],e[10]=l,e[11]=m,e[12]=h):(m=e[11],h=e[12]),I.useEffect(m,h);let _;return e[13]!==r||e[14]!==n||e[15]!==p||e[16]!==i||e[17]!==u?(_=a.jsx(YFe,{value:u,onChange:p,"data-testid":n,...i,children:r}),e[13]=r,e[14]=n,e[15]=p,e[16]=i,e[17]=u,e[18]=_):_=e[18],_}function Cet(){const t=he.c(13),e=zr(ket),r=zr(Aet);let n;t[0]!==r?(n=f=>{r(f)},t[0]=r,t[1]=n):n=t[1];const s=e===nl.JSON_VIEW_MODE;let i;t[2]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx(ge.Tree,{size:24}),t[2]=i):i=t[2];let o;t[3]!==s?(o=a.jsx(kh,{value:nl.JSON_VIEW_MODE,disabled:s,children:i},nl.JSON_VIEW_MODE),t[3]=s,t[4]=o):o=t[4];const l=e===nl.EDITOR_VIEW_MODE;let c;t[5]===Symbol.for("react.memo_cache_sentinel")?(c=a.jsx(ge.Code,{size:24}),t[5]=c):c=t[5];let u;t[6]!==l?(u=a.jsx(kh,{value:nl.EDITOR_VIEW_MODE,disabled:l,children:c},nl.EDITOR_VIEW_MODE),t[6]=l,t[7]=u):u=t[7];let d;return t[8]!==n||t[9]!==o||t[10]!==u||t[11]!==e?(d=a.jsxs(lk,{color:"primary",value:e,onChange:n,exclusive:!0,children:[o,u]}),t[8]=n,t[9]=o,t[10]=u,t[11]=e,t[12]=d):d=t[12],d}function Aet(t){return t.setViewMode}function ket(t){return t.viewMode}function Met(t){const e=he.c(36),{toolbarActions:r,actionError:n}=t,s=zr(Det),i=zr(Iet),o=zr(Ret),l=zr(Eet),c=zr(Tet),{drawerOpen:u,drawerClose:d,popoverOpen:f}=Jt(),p=zr(jet);let m;e[0]!==d||e[1]!==u||e[2]!==i||e[3]!==c||e[4]!==p?(m=()=>{u({width:600,title:`${i.length} Error${i.length!==1?"s":""}`,content:()=>a.jsx(zp,{children:i.map(T=>{const{id:j}=IZe(T),R=j?.split("."),D=R?.map((O,N)=>{const F=R?.slice(0,N+1).join(".");let U=!1;function z(W){const K=R?.slice(0,W+1).join("."),q=p[K];return q||(U=!0,z(W-1))}const H=z(N);return{text:O,trail:F,schemaField:H,parentSchemaField:U}})||[];return a.jsx(gt,{onClick:()=>{c({id:D[D.length-1].schemaField.id}),d()},sx:{cursor:"pointer"},children:a.jsx(Lr,{severity:"error",message:T.message,title:D.map(Pet).join(" / ")})},T.property)})})})},e[0]=d,e[1]=u,e[2]=i,e[3]=c,e[4]=p,e[5]=m):m=e[5];const h=m;let _;e[6]!==n||e[7]!==f?(_=T=>{f({anchorEl:T.currentTarget,anchorOrigin:{vertical:"top",horizontal:"right"},content:()=>a.jsx(a.Fragment,{children:n})})},e[6]=n,e[7]=f,e[8]=_):_=e[8];const g=_;let y;e[9]===Symbol.for("react.memo_cache_sentinel")?(y={px:2,py:1,borderTop:"1px solid",borderColor:"divider"},e[9]=y):y=e[9];let b;e[10]===Symbol.for("react.memo_cache_sentinel")?(b=a.jsx(Cet,{}),e[10]=b):b=e[10];let x;e[11]!==i.length||e[12]!==h||e[13]!==l?(x=l===nl.JSON_VIEW_MODE&&i.length>0&&a.jsx(gt,{onClick:h,sx:{cursor:"pointer"},children:a.jsx(Lr,{severity:"error",title:`${i.length} Error${i.length>1?"s":""}`})}),e[11]=i.length,e[12]=h,e[13]=l,e[14]=x):x=e[14];let w;e[15]!==o||e[16]!==l?(w=l===nl.EDITOR_VIEW_MODE&&o>0&&a.jsx(Lr,{severity:"error",title:`${o} Error${o>1?"s":""}`}),e[15]=o,e[16]=l,e[17]=w):w=e[17];let C;e[18]!==o||e[19]!==i.length||e[20]!==l?(C=(l===nl.EDITOR_VIEW_MODE&&o===0||l===nl.JSON_VIEW_MODE&&i.length===0)&&a.jsx(Lr,{severity:"success",title:"No Errors"}),e[18]=o,e[19]=i.length,e[20]=l,e[21]=C):C=e[21];let k;e[22]!==x||e[23]!==w||e[24]!==C?(k=a.jsxs(te,{direction:"row",children:[b,a.jsxs(te,{justify:"center",children:[x,w,C]})]}),e[22]=x,e[23]=w,e[24]=C,e[25]=k):k=e[25];let A;e[26]!==n||e[27]!==s||e[28]!==o||e[29]!==i.length||e[30]!==g||e[31]!==r?(A=r&&a.jsxs(te,{direction:"row",children:[r?.map(T=>{const{name:j,onClick:R,disabledOnErrors:D,variant:O,...N}=T;return a.jsx(Ze,{variant:O,text:j,onClick:()=>{R(s)},disabled:D?i.length>0||o>0:!1,...N},j)}),n&&a.jsx(gt,{onClick:g,sx:{cursor:"pointer"},children:a.jsx(Lr,{severity:"error",title:"Error"})})]}),e[26]=n,e[27]=s,e[28]=o,e[29]=i.length,e[30]=g,e[31]=r,e[32]=A):A=e[32];let P;return e[33]!==k||e[34]!==A?(P=a.jsx(gt,{sx:y,children:a.jsxs(te,{align:"center",justify:"space-between",fullWidth:!0,direction:"row",nowrap:!0,children:[k,A]})}),e[33]=k,e[34]=A,e[35]=P):P=e[35],P}function Pet(t){const{text:e,schemaField:r,parentSchemaField:n}=t;return Zl(n?e:r?.title||e)}function jet(t){return t.schemaFields}function Tet(t){return t.handleSelectNode}function Eet(t){return t.viewMode}function Ret(t){return t.editorErrors}function Iet(t){return t.errors}function Det(t){return t.data}function $et(t){const e=he.c(61),{title:r,type:n,id:s,itemsLength:i,deprecated:o}=t,l=ci(),c=zr(Uet),u=zr(Fet);let d;e[0]!==s?(d=Q=>Q.selectedId===s,e[0]=s,e[1]=d):d=e[1];const f=zr(d);let p;e[2]!==s?(p=Q=>Q.expandedIds.includes(s),e[2]=s,e[3]=p):p=e[3];const m=zr(p),h=s===wo,_=n===ol.DISCRIMINATOR,g=n===ol.LEAF,y=n===ol.ARRAY,b=n===ol.OBJECT,x=i===0;let w;e[4]!==s||e[5]!==h?(w=Q=>Q.expandedIds.includes(s.split(".").slice(0,-1).join("."))||h,e[4]=s,e[5]=h,e[6]=w):w=e[6];const C=zr(w);let k;e[7]!==s||e[8]!==n?(k=Q=>{const Y=Q.schemaFields[s];if(Y&&n!==Y.type&&Y.type===ol.DISCRIMINATOR)return Y},e[7]=s,e[8]=n,e[9]=k):k=e[9];const A=zr(k);let P;e[10]!==r?(P=Zl(r),e[10]=r,e[11]=P):P=e[11];const T=P;let j;e[12]!==s||e[13]!==h?(j=Q=>{const Y=Q.errors;if(h&&Y?.length)return!0;const Z=s.replace(wo,"");if(!Y||!Z)return!1;const re=Z.split(".");return Y.map(Net).map(Let).filter(Oet).some(fe=>re.every((de,se)=>fe[se]===de))},e[12]=s,e[13]=h,e[14]=j):j=e[14];const R=zr(j);if(!C||_||_)return null;let D;e[15]!==f||e[16]!==l?(D=f?Ic(l.palette.primary.main,.1):"transparent",e[15]=f,e[16]=l,e[17]=D):D=e[17];let O;e[18]===Symbol.for("react.memo_cache_sentinel")?(O={backgroundColor:"action.hover"},e[18]=O):O=e[18];let N;e[19]!==o?(N=o&&{"& p":{textDecoration:"line-through"}},e[19]=o,e[20]=N):N=e[20];let F;e[21]!==D||e[22]!==N?(F={backgroundColor:D,borderRadius:1,borderTopRightRadius:0,borderBottomRightRadius:0,mt:"1px",flex:"0 0 auto","&:hover":O,cursor:"pointer",...N},e[21]=D,e[22]=N,e[23]=F):F=e[23];let U;e[24]!==c||e[25]!==s||e[26]!==g?(U=()=>{let Q=s;g&&(Q=s.split(".").slice(0,-1).join(".")),c({id:Q})},e[24]=c,e[25]=s,e[26]=g,e[27]=U):U=e[27];let z;e[28]!==s||e[29]!==x||e[30]!==m||e[31]!==y||e[32]!==b||e[33]!==u?(z=(y||b)&&!x?a.jsx(te,{sx:{fontSize:"16px",p:1,cursor:"pointer"},onClick:Q=>{Q.stopPropagation(),u({id:s,expanded:!m})},children:m?a.jsx(ge.DownArrow,{}):a.jsx(ge.RightArrow,{})}):a.jsx(gt,{sx:{p:1},children:a.jsx(gt,{sx:{width:"16px",height:"16px"}})}),e[28]=s,e[29]=x,e[30]=m,e[31]=y,e[32]=b,e[33]=u,e[34]=z):z=e[34];let H;e[35]!==T||e[36]!==f||e[37]!==R||e[38]!==h||e[39]!==y||e[40]!==b||e[41]!==i?(H=(y||b)&&a.jsxs(te,{direction:"row",nowrap:!0,align:"center",children:[a.jsx(te,{sx:{flex:"0 0 auto",color:R?"error.main":f?"primary.main":"text.primary",fontSize:"24px"},align:"center",justify:"center",nowrap:!0,children:h?a.jsx(ge.Tree,{}):y?a.jsx(ge.Stack,{}):a.jsx(ge.List,{})}),a.jsx(_e,{type:"body1",sx:{textTransform:"none",overflow:"hidden",whiteSpace:"nowrap"},color:R?"error":f?"primary.main":"text.primary",fontWeight:R||f?"600":"400",children:T}),y&&a.jsx(_e,{type:"caption",sx:{fontWeight:"600",px:.5,backgroundColor:"divider",color:"text.primary",borderRadius:1,overflow:"hidden",whiteSpace:"nowrap",textAlign:"center"},children:i})]}),e[35]=T,e[36]=f,e[37]=R,e[38]=h,e[39]=y,e[40]=b,e[41]=i,e[42]=H):H=e[42];let W;e[43]!==A||e[44]!==T||e[45]!==f||e[46]!==R||e[47]!==g?(W=g&&a.jsxs(te,{direction:"row",nowrap:!0,align:"center",sx:{flex:"0 0 auto"},children:[a.jsx(te,{sx:{flex:"0 0 auto",color:R?"error.main":"text.secondary",fontSize:"12px",height:"24px",width:"24px"},align:"center",justify:"center",nowrap:!0,children:a.jsx(ge.Circle,{})}),a.jsx(_e,{type:"body1",sx:{flex:"0 0 auto"},color:R?"error":"text.primary",fontWeight:R||f?"600":"400",children:A?.discriminatorTitle?`${Zl(A.discriminatorTitle)}`:T})]}),e[43]=A,e[44]=T,e[45]=f,e[46]=R,e[47]=g,e[48]=W):W=e[48];let K;e[49]!==A?(K=!!A&&a.jsxs(te,{direction:"row",nowrap:!0,spacing:0,align:"center",sx:{ml:1,backgroundColor:"divider",color:"text.primary",borderRadius:1,overflow:"hidden",whiteSpace:"nowrap",flex:"0 0 auto"},children:[a.jsx(te,{sx:{width:"24px",height:"24px",flex:"0 0 auto"},align:"center",justify:"center",nowrap:!0,children:a.jsx(ge.Directions,{size:14})}),a.jsx(_e,{type:"caption",sx:{textTransform:"none",fontWeight:"600",flex:"0 0 auto",pr:.8},children:Zl(A.title)})]}),e[49]=A,e[50]=K):K=e[50];let q;e[51]!==o?(q=o&&a.jsxs(te,{align:"center",direction:"row",sx:{ml:1,px:.5,borderRadius:.5,color:"warning.contrastText",backgroundColor:"warning.main"},nowrap:!0,children:[a.jsx(ge.StatusWarningSmall,{size:16}),a.jsx(_e,{type:"caption",color:"warning",children:"Deprecated"})]}),e[51]=o,e[52]=q):q=e[52];let X;return e[53]!==F||e[54]!==U||e[55]!==z||e[56]!==H||e[57]!==W||e[58]!==K||e[59]!==q?(X=a.jsxs(te,{align:"center",direction:"row",justify:"flex-start",spacing:0,sx:F,onClick:U,nowrap:!0,children:[z,H,W,K,q]}),e[53]=F,e[54]=U,e[55]=z,e[56]=H,e[57]=W,e[58]=K,e[59]=q,e[60]=X):X=e[60],X}function Oet(t){return!!t}function Let(t){return t?t.split("."):""}function Net(t){return t.property}function Fet(t){return t.setExpandedId}function Uet(t){return t.handleSelectNode}function Bet(t){const e=he.c(7),{children:r,type:n,id:s}=t;let i;e[0]!==s?(i=u=>u.expandedIds.includes(s),e[0]=s,e[1]=i):i=e[1];const o=zr(i);if(n===ol.DISCRIMINATOR){let u;return e[2]!==r?(u=a.jsx(a.Fragment,{children:r}),e[2]=r,e[3]=u):u=e[3],u}if(!o)return null;let l;e[4]===Symbol.for("react.memo_cache_sentinel")?(l={pl:1.5},e[4]=l):l=e[4];let c;return e[5]!==r?(c=a.jsx(gt,{sx:l,children:r}),e[5]=r,e[6]=c):c=e[6],c}function ck(t){const e=he.c(10),{title:r,type:n,id:s,schema:i,discriminatorTitle:o}=t,l=zr(zet);let c,u;e[0]!==o||e[1]!==s||e[2]!==i||e[3]!==l||e[4]!==r||e[5]!==n?(c=()=>{n!==ol.LEAF&&l({id:s,schema:i,title:r,type:n,discriminatorTitle:o})},u=[o,s,i,l,r,n],e[0]=o,e[1]=s,e[2]=i,e[3]=l,e[4]=r,e[5]=n,e[6]=c,e[7]=u):(c=e[6],u=e[7]),I.useEffect(c,u);let d;return e[8]!==t?(d=a.jsxs(a.Fragment,{children:[a.jsx($et,{...t}),a.jsx(Bet,{...t})]}),e[8]=t,e[9]=d):d=e[9],d}function zet(t){return t.setSchemaFields}function gX(t){const e=he.c(25),{registry:r,formData:n,options:s,baseType:i,schema:o,idSchema:l,name:c}=t,{schemaUtils:u}=r,d=l.$id===wo,f=t.registry.fields.SchemaField;let p;e[0]!==o?(p=qu(o),e[0]=o,e[1]=p):p=e[1];const m=p;let h;if(e[2]!==n||e[3]!==s||e[4]!==u){let j;e[6]!==n||e[7]!==u?(j=R=>u.retrieveSchema(R,n),e[6]=n,e[7]=u,e[8]=j):j=e[8],h=s.map(j),e[2]=n,e[3]=s,e[4]=u,e[5]=h}else h=e[5];const _=h,g=u.getClosestMatchingOption(n,s,0,m),y=g>=0&&_[g]||null;let b;e:{if(y){let j;e[9]!==i||e[10]!==y?(j=y.type?y:{...y,type:i},e[9]=i,e[10]=y,e[11]=j):j=e[11],b=j;break e}b=null}const x=b;let w;const{title:C}=_[g];C?w=C:w=`Option ${g+1}`;const k=w,A=!!o.deprecated;let P;e[12]!==f||e[13]!==k||e[14]!==l.$id||e[15]!==A||e[16]!==d||e[17]!==c||e[18]!==y||e[19]!==x||e[20]!==t||e[21]!==o?(P=y&&x&&a.jsx(a.Fragment,{children:a.jsx(ck,{id:l.$id,title:k||"root",schema:o,type:ol.DISCRIMINATOR,discriminatorTitle:o.title||c,isRoot:d,deprecated:A,children:a.jsx(f,{...t,schema:x})},l.$id)}),e[12]=f,e[13]=k,e[14]=l.$id,e[15]=A,e[16]=d,e[17]=c,e[18]=y,e[19]=x,e[20]=t,e[21]=o,e[22]=P):P=e[22];let T;return e[23]!==P?(T=a.jsx(a.Fragment,{children:P}),e[23]=P,e[24]=T):T=e[24],T}function qet(){const t=he.c(5),e=zr(Wet),r=zr(Get),n=zr(Het),s=zr(Vet);let i;return t[0]!==s||t[1]!==r||t[2]!==n||t[3]!==e?(i=[...e].length>1?a.jsxs(te,{sx:{flex:"0 0 auto",borderTop:"1px solid",borderColor:"divider",px:2,py:1.5},direction:"column",align:"flex-start",justify:"space-between",spacing:.3,children:[a.jsx(_e,{type:"caption",fontWeight:"600",children:"View Level"}),a.jsx(lk,{color:"primary",value:r,onChange:o=>{n(o)},exclusive:!0,sx:{height:"32px"},children:[...e].map(o=>a.jsx(kh,{value:o,disabled:r===o||s,children:o},o))})]}):null,t[0]=s,t[1]=r,t[2]=n,t[3]=e,t[4]=i):i=t[4],i}function Vet(t){return!!t.errors.length}function Het(t){return t.setSelectedViewLevel}function Get(t){return t.selectedViewLevel}function Wet(t){return t.viewLevels}function Yet(t){const e=he.c(16),{items:r,idSchema:n,title:s,schema:i,registry:o}=t,c=n.$id===wo;let u;e[0]!==r||e[1]!==o||e[2]!==i?(u=VN({items:r.map(Qet),schema:i,registry:o}),e[0]=r,e[1]=o,e[2]=i,e[3]=u):u=e[3];const d=u,f=!!i.deprecated,p=n.$id,m=n.$id,h=d.length;let _;e[4]!==r?(_=r.map(Ket),e[4]=r,e[5]=_):_=e[5];let g;e[6]!==_?(g=a.jsx(a.Fragment,{children:_}),e[6]=_,e[7]=g):g=e[7];let y;return e[8]!==n.$id||e[9]!==f||e[10]!==c||e[11]!==d.length||e[12]!==i||e[13]!==g||e[14]!==s?(y=a.jsx(ck,{id:p,title:s,type:ol.ARRAY,schema:i,isRoot:c,itemsLength:h,deprecated:f,children:g},m),e[8]=n.$id,e[9]=f,e[10]=c,e[11]=d.length,e[12]=i,e[13]=g,e[14]=s,e[15]=y):y=e[15],y}function Ket(t,e){return a.jsx(I.Fragment,{children:t.children},e)}function Qet(t){return t.children.props.formData}function Zet(t){const e=he.c(14),{children:r,id:n,schema:s,label:i,hidden:o}=t,l=mce(s);let c;e[0]!==s?(c=s.type!=="array"&&s.type!=="object"&&s.type!==void 0||!s.type&&s.enum||s.items&&s.type==="array"&&!Array.isArray(s.items)&&s.items!==!0&&s.items.enum||i0(s)||Fce(s),e[0]=s,e[1]=c):c=e[1];const u=c,d=!!s.deprecated;if(o||l||Bce(s)){let m;e[2]===Symbol.for("react.memo_cache_sentinel")?(m={display:"none"},e[2]=m):m=e[2];let h;return e[3]!==r?(h=a.jsx(gt,{sx:m,children:r}),e[3]=r,e[4]=h):h=e[4],h}let f;e[5]!==r||e[6]!==n||e[7]!==d||e[8]!==u||e[9]!==i||e[10]!==s?(f=u?a.jsx(ck,{id:n,type:ol.LEAF,schema:s,title:i,isRoot:!1,deprecated:d}):r,e[5]=r,e[6]=n,e[7]=d,e[8]=u,e[9]=i,e[10]=s,e[11]=f):f=e[11];let p;return e[12]!==f?(p=a.jsx(a.Fragment,{children:f}),e[12]=f,e[13]=p):p=e[13],p}function Xet(t){const e=he.c(16),{title:r,properties:n,idSchema:s,schema:i,formData:o}=t,l=s.$id,c=l===wo;let u;e[0]!==l?(u=g=>g.expandedIds.includes(l),e[0]=l,e[1]=u):u=e[1];const d=zr(u);let f;e[2]!==o||e[3]!==i||e[4]!==r?(f=zce(i,o)||r||"root",e[2]=o,e[3]=i,e[4]=r,e[5]=f):f=e[5];const p=f,m=!!i.deprecated;let h;e[6]!==d||e[7]!==n?(h=d?a.jsx(te,{spacing:0,direction:"column",justify:"flex-start",children:n.map(ett)}):n.map(Jet),e[6]=d,e[7]=n,e[8]=h):h=e[8];let _;return e[9]!==s.$id||e[10]!==m||e[11]!==c||e[12]!==p||e[13]!==i||e[14]!==h?(_=a.jsx(ck,{id:s.$id,title:p,isRoot:c,schema:i,type:ol.OBJECT,deprecated:m,children:h},s.$id),e[9]=s.$id,e[10]=m,e[11]=c,e[12]=p,e[13]=i,e[14]=h,e[15]=_):_=e[15],_}function Jet(t,e){const{content:r}=t;return a.jsx(I.Fragment,{children:r},e)}function ett(t,e){const{content:r}=t;return a.jsx(I.Fragment,{children:r},e)}function ttt(){return null}const rtt=I.memo(function(e){const r=he.c(18),{data:n}=e,s=zr(ott),i=zr(att),o=zr(ltt),l=zr(ctt),c=I.useRef(null),u=I.useRef(!1);let d;r[0]===Symbol.for("react.memo_cache_sentinel")?(d={AnyOfField:gX,OneOfField:gX},r[0]=d):d=r[0];const f=d;let p;r[1]===Symbol.for("react.memo_cache_sentinel")?(p={FieldTemplate:Zet,ObjectFieldTemplate:Xet,ArrayFieldTemplate:Yet,ButtonTemplates:{SubmitButton:ttt}},r[1]=p):p=r[1];const m=p;let h;r[2]!==l?(h=k=>{u.current||(l(k.formData),u.current=!0)},r[2]=l,r[3]=h):h=r[3];const _=h;let g,y;r[4]!==n||r[5]!==s||r[6]!==o?(g=()=>{if(c.current?.validate&&s){const{errors:k}=c.current.validate(n,s);o(k)}},y=[n,c,s,o],r[4]=n,r[5]=s,r[6]=o,r[7]=g,r[8]=y):(g=r[7],y=r[8]),I.useEffect(g,y);let b,x;if(r[9]!==o?(b=()=>()=>{o([])},x=[o],r[9]=o,r[10]=b,r[11]=x):(b=r[10],x=r[11]),I.useEffect(b,x),!s)return null;let w;r[12]===Symbol.for("react.memo_cache_sentinel")?(w={arrayMinItems:{populate:"requiredOnly"},emptyObjectFields:"populateRequiredDefaults"},r[12]=w):w=r[12];let C;return r[13]!==n||r[14]!==_||r[15]!==s||r[16]!==i?(C=a.jsx(kce,{schema:s,validator:Nce,formData:n,liveValidate:!1,noHtml5Validate:!1,noValidate:!0,showErrorList:"top",onChange:_,ref:c,idSeparator:".",fields:f,templates:m,transformErrors:jce,experimental_defaultFormStateBehavior:w,uiSchema:i}),r[13]=n,r[14]=_,r[15]=s,r[16]=i,r[17]=C):C=r[17],C});function ntt(){const t=he.c(12),e=zr(itt),r=I.useDeferredValue(e),n=zr(stt);let s;t[0]===Symbol.for("react.memo_cache_sentinel")?(s={position:"relative"},t[0]=s):s=t[0];let i;t[1]!==n?(i=!n[wo]&&a.jsx(pr,{sx:{position:"absolute",left:0,bottom:0,top:0,right:0,zIndex:999,p:2},children:a.jsxs(te,{spacing:1,children:[a.jsx(Dt,{variant:"rounded",height:"24px"}),a.jsxs(te,{sx:{pl:2},spacing:1,children:[a.jsx(Dt,{variant:"rounded",height:"24px"}),a.jsxs(te,{sx:{pl:2},spacing:1,children:[a.jsx(Dt,{variant:"rounded",height:"24px"}),a.jsxs(te,{sx:{pl:2},spacing:1,children:[a.jsx(Dt,{variant:"rounded",height:"24px"}),a.jsx(Dt,{variant:"rounded",height:"24px"})]}),a.jsx(Dt,{variant:"rounded",height:"24px"})]}),a.jsx(Dt,{variant:"rounded",height:"24px"}),a.jsx(Dt,{variant:"rounded",height:"24px"}),a.jsxs(te,{sx:{pl:2},spacing:1,children:[a.jsx(Dt,{variant:"rounded",height:"24px"}),a.jsx(Dt,{variant:"rounded",height:"24px"})]})]})]})}),t[1]=n,t[2]=i):i=t[2];let o;t[3]===Symbol.for("react.memo_cache_sentinel")?(o={flex:"1 1 auto",overflow:"auto",p:2,pr:0},t[3]=o):o=t[3];let l;t[4]!==r?(l=r&&a.jsx(rtt,{data:r}),t[4]=r,t[5]=l):l=t[5];let c;t[6]!==l?(c=a.jsx(gt,{sx:o,children:l}),t[6]=l,t[7]=c):c=t[7];let u;t[8]===Symbol.for("react.memo_cache_sentinel")?(u=a.jsx(qet,{}),t[8]=u):u=t[8];let d;return t[9]!==i||t[10]!==c?(d=a.jsxs(te,{spacing:0,fullHeight:!0,fullWidth:!0,nowrap:!0,sx:s,children:[i,c,u]}),t[9]=i,t[10]=c,t[11]=d):d=t[11],d}function stt(t){return t.schemaFields}function itt(t){return t.data}function ott(t){return t.schema}function att(t){return t.uiSchema||void 0}function ltt(t){return t.setErrors}function ctt(t){return t.setData}function utt(t){const e=he.c(37),{$ref:r,schema:n,data:s,toolbarActions:i,uiSchema:o,actionError:l}=t,c=zr(htt),u=zr(mtt),d=zr(ptt),f=zr(ftt),p=zr(dtt),m=ci();let h;e[0]!==r||e[1]!==s||e[2]!==c||e[3]!==n||e[4]!==o?(h=()=>{c({$ref:r,schema:n,data:s,uiSchema:o||{}})},e[0]=r,e[1]=s,e[2]=c,e[3]=n,e[4]=o,e[5]=h):h=e[5];let _;e[6]!==r||e[7]!==s||e[8]!==c||e[9]!==u||e[10]!==n||e[11]!==o?(_=[r,s,c,u,n,o],e[6]=r,e[7]=s,e[8]=c,e[9]=u,e[10]=n,e[11]=o,e[12]=_):_=e[12],I.useEffect(h,_);let g,y;e[13]!==u?(g=()=>()=>{u()},y=[u],e[13]=u,e[14]=g,e[15]=y):(g=e[14],y=e[15]),I.useEffect(g,y);let b;e[16]!==m.palette.divider||e[17]!==m.palette.primary.main?(b={overflow:"hidden","--separator-border":m.palette.divider,"--focus-border":m.palette.primary.main},e[16]=m.palette.divider,e[17]=m.palette.primary.main,e[18]=b):b=e[18];let x;e[19]===Symbol.for("react.memo_cache_sentinel")?(x={flex:"1 1 auto"},e[19]=x):x=e[19];let w;e[20]!==d||e[21]!==f||e[22]!==p?(w=p===nl.JSON_VIEW_MODE&&a.jsxs($R,{children:[a.jsx($R.Pane,{preferredSize:300,minSize:200,maxSize:400,children:a.jsx(ntt,{},f)}),a.jsx($R.Pane,{children:a.jsx(_et,{},`${d??"no-selection"}-${f}`)})]}),e[20]=d,e[21]=f,e[22]=p,e[23]=w):w=e[23];let C;e[24]!==p?(C=p===nl.EDITOR_VIEW_MODE&&a.jsx(AYe,{}),e[24]=p,e[25]=C):C=e[25];let k;e[26]!==w||e[27]!==C?(k=a.jsxs(gt,{sx:x,children:[w,C]}),e[26]=w,e[27]=C,e[28]=k):k=e[28];let A;e[29]===Symbol.for("react.memo_cache_sentinel")?(A={flex:"0 0 auto"},e[29]=A):A=e[29];let P;e[30]!==l||e[31]!==i?(P=a.jsx(gt,{sx:A,children:a.jsx(Met,{toolbarActions:i,actionError:l})}),e[30]=l,e[31]=i,e[32]=P):P=e[32];let T;return e[33]!==P||e[34]!==b||e[35]!==k?(T=a.jsxs(te,{fullHeight:!0,fullWidth:!0,nowrap:!0,sx:b,spacing:0,children:[k,P]}),e[33]=P,e[34]=b,e[35]=k,e[36]=T):T=e[36],T}function dtt(t){return t.viewMode}function ftt(t){return t.selectedViewLevel}function ptt(t){return t.selectedId}function mtt(t){return t.reset}function htt(t){return t.initialize}const nue=I.memo(utt),gtt={[ue.AAA]:"#/components/schemas/AAAConfig",[ue.AMF]:"#/components/schemas/AMFConfig",[ue.AUSF]:"#/components/schemas/AusfConfig",[ue.BMSC]:"#/components/schemas/BmscConfig",[ue.CHF]:"#/components/schemas/CHFConfig",[ue.DRA]:"#/components/schemas/DRAConfiguration",[ue.DSM]:"#/components/schemas/DsmConfig",[ue.EIR]:"#/components/schemas/EirConfig",[ue.MME]:"#/components/schemas/MMEConfiguration",[ue.NCM]:"#/components/schemas/NCMConfig",[ue.NRF]:"#/components/schemas/NRFConfig",[ue.PCF]:"#/components/schemas/PCFConfig",[ue.SGWC]:"#/components/schemas/SGWConfiguration",[ue.SMF]:"#/components/schemas/SMFConfig",[ue.SMSF]:"#/components/schemas/SmsfConfig",[ue.UDM]:"#/components/schemas/UdmConfig",[ue.UDR]:"#/components/schemas/UdrConfig",[ue.UPF]:"#/components/schemas/UPFConfiguration"};function _tt(t){const e=he.c(56),{nf:r}=t,n=zn(),{submit:s,state:i,data:o}=gr(),{submit:l,state:c,data:u}=gr();let d;e[0]===Symbol.for("react.memo_cache_sentinel")?(d={key:"fetcher-factory-reset"},e[0]=d):d=e[0];const{submit:f,state:p,data:m}=gr(d);let h;e[1]===Symbol.for("react.memo_cache_sentinel")?(h={key:"fetcher-reload"},e[1]=h):h=e[1];const{submit:_,state:g,data:y}=gr(h),b=ys(),x=gtt[r]||null;let w;e[2]!==s?(w=async ee=>{ee&&s(ee,{method:"POST",encType:"application/json",action:"apply"})},e[2]=s,e[3]=w):w=e[3];const C=w;let k;e[4]!==l?(k=async()=>{l(null,{method:"POST",encType:"application/json",action:"persist"})},e[4]=l,e[5]=k):k=e[5];const A=k;let P;e[6]!==f||e[7]!==b?(P=async()=>{f(null,{method:"POST",encType:"application/json",action:"factory-reset"}),b(".")},e[6]=f,e[7]=b,e[8]=P):P=e[8];const T=P;let j;e[9]!==_?(j=async()=>{_(null,{method:"POST",encType:"application/json",action:"reload"})},e[9]=_,e[10]=j):j=e[10];const R=j,D=g==="submitting"||g==="loading";let O;e[11]!==R||e[12]!==D?(O={name:"Reload",variant:"outlined",onClick:R,loading:D},e[11]=R,e[12]=D,e[13]=O):O=e[13];const N=p==="submitting"||p==="loading";let F;e[14]!==T||e[15]!==N?(F={name:"Factory Reset",variant:"outlined",onClick:T,loading:N},e[14]=T,e[15]=N,e[16]=F):F=e[16];const U=c==="submitting"||c==="loading";let z;e[17]!==A||e[18]!==U?(z={name:"Persist",variant:"outlined",onClick:A,loading:U},e[17]=A,e[18]=U,e[19]=z):z=e[19];const H=i==="submitting"||i==="loading";let W;e[20]!==C||e[21]!==H?(W={name:"Apply",onClick:C,loading:H,disabledOnErrors:!0},e[20]=C,e[21]=H,e[22]=W):W=e[22];let K;e[23]!==F||e[24]!==z||e[25]!==W||e[26]!==O?(K=[O,F,z,W],e[23]=F,e[24]=z,e[25]=W,e[26]=O,e[27]=K):K=e[27];const q=K;let X;e[28]===Symbol.for("react.memo_cache_sentinel")?(X={api_version:{"ui:widget":"hidden"},commit_timestamp:{"ui:widget":"hidden"}},e[28]=X):X=e[28];const Q=X;let Y;e:{if(xt(o)||xt(u)||xt(m)||xt(y)){let ee;e[29]===Symbol.for("react.memo_cache_sentinel")?(ee={maxWidth:"1000px"},e[29]=ee):ee=e[29];let J;e[30]!==o?(J=a.jsx(Xr,{data:o}),e[30]=o,e[31]=J):J=e[31];let me;e[32]!==u?(me=a.jsx(Xr,{data:u}),e[32]=u,e[33]=me):me=e[33];let pe;e[34]!==m?(pe=a.jsx(Xr,{data:m}),e[34]=m,e[35]=pe):pe=e[35];let Se;e[36]!==y?(Se=a.jsx(Xr,{data:y}),e[36]=y,e[37]=Se):Se=e[37];let ve;e[38]!==J||e[39]!==me||e[40]!==pe||e[41]!==Se?(ve=a.jsxs(te,{nowrap:!0,sx:ee,children:[J,me,pe,Se]}),e[38]=J,e[39]=me,e[40]=pe,e[41]=Se,e[42]=ve):ve=e[42],Y=ve;break e}Y=null}const Z=Y;if(!x)throw new Error(`NF "${r}" not supported`);let re;e[43]===Symbol.for("react.memo_cache_sentinel")?(re=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),e[43]=re):re=e[43];let fe;e[44]===Symbol.for("react.memo_cache_sentinel")?(fe=a.jsx(Tr,{}),e[44]=fe):fe=e[44];let de;e[45]!==Z||e[46]!==r||e[47]!==x||e[48]!==q?(de=ee=>{const[J,me]=ee;return a.jsx(te,{fullHeight:!0,nowrap:!0,spacing:0,children:a.jsx(nue,{$ref:x,data:me,schema:J,toolbarActions:q,uiSchema:Q,actionError:Z},r)})},e[45]=Z,e[46]=r,e[47]=x,e[48]=q,e[49]=de):de=e[49];let se;e[50]!==n.configuration||e[51]!==de?(se=a.jsx(Qt,{resolve:n.configuration,errorElement:fe,children:de}),e[50]=n.configuration,e[51]=de,e[52]=se):se=e[52];let le;return e[53]!==r||e[54]!==se?(le=a.jsx(I.Suspense,{fallback:re,children:se},r),e[53]=r,e[54]=se,e[55]=le):le=e[55],le}async function vtt(t){const e=$.apis.nfOAS.replace("{nf}",t);return De({options:{url:e,method:"GET"}})}async function ytt(t){const e=$.apis.nfConfig.replace("{nf}",t);return De({options:{url:e,method:"GET"}})}async function btt({nf:t,values:e}){const r=$.apis.nfConfig.replace("{nf}",t);return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}async function xtt({nf:t}){const e=$.apis.nfConfigPersist.replace("{nf}",t);return De({options:{url:e,method:"POST"}})}async function Stt({nf:t}){const e=$.apis.nfConfigFactoryReset.replace("{nf}",t);return De({options:{url:e,method:"POST"}})}async function wtt({nf:t}){const e=$.apis.nfRestart.replace("{nf}",t);return De({options:{url:e,method:"POST"}})}function Ctt(t){return async({request:e})=>{const r=await e.json(),n=await btt({nf:t,values:r});return xt(n)?Ar():Nt(),Ft(n)}}function Att(t){return async()=>{const e=await xtt({nf:t});return xt(e)?Ar():Nt(),Ft(e)}}function ktt(t){return async()=>{const e=await Stt({nf:t});return xt(e)?Ar():Nt(),Ft(e)}}function Mtt(t){return async()=>{const e=await wtt({nf:t});return xt(e)?Ar():Nt(),Ft(e)}}async function Ptt(t){return Foe({configuration:Promise.all([vtt(t),ytt(t)])})}function io(t){return{path:"configuration",handle:vr({to:`/${t}/configuration`,labelIntl:`route.${t}.configuration`}),loader:async()=>Ptt(t),shouldRevalidate:({actionResult:e})=>!xt(e),element:a.jsx(_tt,{nf:t},t),children:[{path:"apply",action:Ctt(t),loader:()=>rt("..")},{path:"persist",action:Att(t),loader:()=>rt("..")},{path:"factory-reset",action:ktt(t),loader:()=>rt("..")},{path:"reload",action:Mtt(t),loader:()=>rt("..")}]}}const jtt=Pr(),Ttt={path:"aaa",handle:vr({labelIntl:"route.aaa",icon:a.jsx(ge.AAA,{})}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.AAA)]},{element:a.jsx(Or,{fullHeight:!0}),children:[io(ue.AAA),{path:"status",handle:vr({labelIntl:"route.aaa.status",to:$.urls.aaaStatus}),element:a.jsx(Ao,{tabs:[{url:"radius",label:jtt.formatMessage({id:"route.aaa.status.radius"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"radius",replace:!0})},{path:"radius",element:a.jsx(Fqe,{}),loader:Bqe,errorElement:a.jsx(en,{})}]}]}]};function s7(t){const e=he.c(17);let r,n,s,i;e[0]!==t?({children:r,listItemActions:s,divided:n,...i}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i):(r=e[1],n=e[2],s=e[3],i=e[4]);const{menuOpen:o,menuClose:l}=Jt();let c;e[5]!==s||e[6]!==l||e[7]!==o?(c=(p,m,h)=>{s&&o({anchorEl:p.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:s.map(_=>{const{label:g,onClick:y,disabled:b,icon:x}=_;return{label:g,value:g,disabled:typeof b=="function"?b(m):b,icon:x,onClick:()=>{l(),y(m,h)}}})})},e[5]=s,e[6]=l,e[7]=o,e[8]=c):c=e[8];const u=c;let d;e[9]!==r||e[10]!==n||e[11]!==u||e[12]!==s?(d=I.Children.map(r,(p,m)=>{const h={divided:!!(n&&m<I.Children.toArray(r).length-1),...s&&{handleOpenListItemActions:u}};return I.cloneElement(p,h)}),e[9]=r,e[10]=n,e[11]=u,e[12]=s,e[13]=d):d=e[13];let f;return e[14]!==i||e[15]!==d?(f=a.jsx(_h,{...i,children:d}),e[14]=i,e[15]=d,e[16]=f):f=e[16],f}function i7(t){const e=he.c(35),{index:r,item:n,listKey:s,selected:i,onClick:o,primaryText:l,secondaryText:c,divided:u,handleOpenListItemActions:d,endIcon:f,decorator:p,sx:m}=t;let h;e[0]!==o?(h=!o&&{":hover":{background:"transparent",cursor:"auto"}},e[0]=o,e[1]=h):h=e[1];let _;e[2]!==i?(_=i&&{backgroundColor:Ett},e[2]=i,e[3]=_):_=e[3];let g;e[4]!==m||e[5]!==h||e[6]!==_?(g={display:"flex",transition:"background-color 0.35s",...h,..._,...m},e[4]=m,e[5]=h,e[6]=_,e[7]=g):g=e[7];const y=!o;let b;e[8]===Symbol.for("react.memo_cache_sentinel")?(b={my:"2px"},e[8]=b):b=e[8];let x;e[9]!==i?(x=i&&{fontWeight:600},e[9]=i,e[10]=x):x=e[10];let w;e[11]!==x?(w={primary:{sx:{typography:"body1",...x}}},e[11]=x,e[12]=w):w=e[12];let C;e[13]!==l||e[14]!==c||e[15]!==w?(C=a.jsx(dA,{primary:l,secondary:c,sx:b,slotProps:w}),e[13]=l,e[14]=c,e[15]=w,e[16]=C):C=e[16];let k;e[17]!==d||e[18]!==r||e[19]!==n||e[20]!==s||e[21]!==t?(k=d&&a.jsx(gt,{sx:{width:{xs:"64px",md:"32px"}},children:a.jsx(Zr,{onClick:T=>{T.stopPropagation(),d(T,t,r||0)},"data-testid":`list-dropdown-tools-${s&&n?n[s]:r}`,size:"small",children:a.jsx(ge.More,{})})}),e[17]=d,e[18]=r,e[19]=n,e[20]=s,e[21]=t,e[22]=k):k=e[22];let A;e[23]!==f?(A=f&&a.jsx(gt,{sx:{width:{xs:"64px",md:"32px",display:"flex",alignItems:"center",justifyContent:"flex-end"}},children:f}),e[23]=f,e[24]=A):A=e[24];let P;return e[25]!==p||e[26]!==u||e[27]!==o||e[28]!==i||e[29]!==g||e[30]!==y||e[31]!==C||e[32]!==k||e[33]!==A?(P=a.jsxs(Vne,{selected:i,onClick:o,sx:g,divider:u,disableRipple:y,children:[p,C,k,A]}),e[25]=p,e[26]=u,e[27]=o,e[28]=i,e[29]=g,e[30]=y,e[31]=C,e[32]=k,e[33]=A,e[34]=P):P=e[34],P}function Ett(t){return`${t.palette.action.hover} !important`}const la=t=>{const e=he.c(39),{navs:r}=t,n=Lp("."),s=ys(),i=WL();let o;e[0]!==s?(o=N=>{s(N,{replace:!0})},e[0]=s,e[1]=o):o=e[1];const l=o;let c;if(e[2]!==r||e[3]!==n){let N;e[5]!==n?(N=F=>({...F,url:`${n.pathname}/${F.url}`}),e[5]=n,e[6]=N):N=e[6],c=r.map(N),e[2]=r,e[3]=n,e[4]=c}else c=e[4];const u=c;let d;e[7]!==i?(d=N=>!!i.find(F=>F.pathname===N),e[7]=i,e[8]=d):d=e[8];const f=d;let p;if(e[9]!==f||e[10]!==u){let N;e[12]!==f?(N=F=>f(F.url),e[12]=f,e[13]=N):N=e[13],p=u.find(N),e[9]=f,e[10]=u,e[11]=p}else p=e[11];const m=p;let h;e[14]===Symbol.for("react.memo_cache_sentinel")?(h={height:"100%",overflow:"hidden"},e[14]=h):h=e[14];let _;e[15]!==f||e[16]!==l||e[17]!==u?(_=u?.length>1&&a.jsx(Is,{size:{xs:3,lg:2},sx:{height:"100%",overflow:"hidden"},children:a.jsx(gt,{sx:{borderRight:"1px solid",borderColor:"divider",height:"100%",overflow:"auto"},children:a.jsx(s7,{disablePadding:!0,children:u.map(N=>{const{url:F,label:U,status:z}=N,H=z?a.jsx(gt,{sx:{pr:1},children:a.jsx(bi,{status:z})}):null;return a.jsx(i7,{primaryText:U,selected:f(F),onClick:()=>l(F),endIcon:a.jsx(ge.RightArrow,{}),decorator:a.jsx(gt,{sx:{pr:1},children:H})},F)})})})}),e[15]=f,e[16]=l,e[17]=u,e[18]=_):_=e[18];const g=r?.length>1?9:12,y=r?.length>1?10:12;let b;e[19]!==g||e[20]!==y?(b={xs:g,lg:y},e[19]=g,e[20]=y,e[21]=b):b=e[21];let x;e[22]===Symbol.for("react.memo_cache_sentinel")?(x={height:"100%",overflow:"hidden"},e[22]=x):x=e[22];let w;e[23]===Symbol.for("react.memo_cache_sentinel")?(w={overflow:"hidden"},e[23]=w):w=e[23];let C;e[24]===Symbol.for("react.memo_cache_sentinel")?(C={flex:"0 0 auto",px:2,py:.5,borderBottom:"1px solid",borderColor:"divider",height:"48px"},e[24]=C):C=e[24];const k=m?.title?m?.title:m?.label;let A;e[25]!==k?(A=a.jsx(_e,{type:"h6",fontWeight:600,children:k}),e[25]=k,e[26]=A):A=e[26];let P;e[27]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx("div",{id:sue}),e[27]=P):P=e[27];let T;e[28]!==A?(T=a.jsxs(te,{direction:"row",justify:"space-between",align:"center",fullWidth:!0,sx:C,children:[A,P]}),e[28]=A,e[29]=T):T=e[29];let j;e[30]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(gt,{sx:{flex:"1 1 auto",maxHeight:"100%",overflow:"hidden"},children:a.jsx(Bd,{})}),e[30]=j):j=e[30];let R;e[31]!==T?(R=a.jsxs(te,{fullHeight:!0,sx:w,spacing:0,nowrap:!0,fullWidth:!0,children:[T,j]}),e[31]=T,e[32]=R):R=e[32];let D;e[33]!==R||e[34]!==b?(D=a.jsx(Is,{size:b,sx:x,children:R}),e[33]=R,e[34]=b,e[35]=D):D=e[35];let O;return e[36]!==D||e[37]!==_?(O=a.jsxs(al,{spacing:0,sx:h,children:[_,D]}),e[36]=D,e[37]=_,e[38]=O):O=e[38],O},sue="master-detail-header-actions";function o7(t){const e=he.c(2),{children:r}=t;let n;if(e[0]!==r){const s=document.querySelector(`#${sue}`);n=s&&aA.createPortal(a.jsx(a.Fragment,{children:r}),s),e[0]=r,e[1]=n}else n=e[1];return n}function Rtt({sst:t,sd:e}){if(!t&&!e)return"";let r="";return t&&(r+=t),e&&(r+=`-${e}`),r}const Itt=t=>{const e=he.c(24),{row:r}=t,n=Ye();let s;e[0]!==r.supported_ta_list?(s=r.supported_ta_list?.reduce(Ltt,[])??[],e[0]=r.supported_ta_list,e[1]=s):s=e[1];const o=s;let l;e[2]!==n?(l=n.formatMessage({id:"ngap.status.connections.row_detail.tac"}),e[2]=n,e[3]=l):l=e[3];let c;e[4]!==l?(c={key:"tac",label:l},e[4]=l,e[5]=c):c=e[5];let u;e[6]!==n?(u=n.formatMessage({id:"ngap.status.connections.row_detail.broadcast_plmns"}),e[6]=n,e[7]=u):u=e[7];let d;e[8]!==n?(d=y=>{const{broadcast_plmns:b}=y;return b?a.jsx(te,{direction:"column",divided:!0,children:b.map(x=>{const{plmn:w,nssai:C}=x;return a.jsxs(te,{direction:"row",align:"baseline",spacing:4,children:[a.jsxs(te,{direction:"row",align:"baseline",children:[a.jsx(_e,{fontWeight:"600",type:"body2",children:n.formatMessage({id:"ngap.status.connections.row_detail.broadcast_plmns.plmn"})}),a.jsx(_e,{type:"body2",children:w})]}),C?.length?a.jsxs(te,{direction:"row",align:"baseline",nowrap:!0,children:[a.jsx(_e,{fontWeight:"600",type:"body2",children:n.formatMessage({id:"ngap.status.connections.row_detail.broadcast_plmns.nssais"})}),a.jsx(ks,{size:"small",items:C?.map(Ntt)||[]})]}):a.jsx(a.Fragment,{})]},w)})}):a.jsx(a.Fragment,{})},e[8]=n,e[9]=d):d=e[9];let f;e[10]!==u||e[11]!==d?(f={key:"broadcast_plmns",label:u,cellRender:d},e[10]=u,e[11]=d,e[12]=f):f=e[12];let p;e[13]!==c||e[14]!==f?(p=[c,f],e[13]=c,e[14]=f,e[15]=p):p=e[15];const m=p;let h;e[16]!==n?(h=n.formatMessage({id:"ngap.status.connections.supported_ta_list"}),e[16]=n,e[17]=h):h=e[17];let _;e[18]!==m||e[19]!==o?(_=a.jsx(Br,{data:o,orderBy:"tac",page:0,rowsCount:o.length,rowsPerPage:o.length,rowKey:"tac",columns:m,hidePagination:!0,hideRowsCount:!0}),e[18]=m,e[19]=o,e[20]=_):_=e[20];let g;return e[21]!==h||e[22]!==_?(g=a.jsx(pr,{dense:!0,folder:!0,title:h,children:_}),e[21]=h,e[22]=_,e[23]=g):g=e[23],g};function Dtt(t){return Rtt(t)}function $tt(t){return!!t}function Ott(t,e){return[...t,{plmn:e.plmn,nssai:e.nssai?.map(Dtt).filter($tt)||[]}]}function Ltt(t,e){return[...t,{tac:e.tac,broadcast_plmns:e.broadcast_plmns.reduce(Ott,[])}]}function Ntt(t){return{label:`${t}`,id:`${t}`}}function Ftt(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var eC={exports:{}},Utt=eC.exports,_X;function Btt(){return _X||(_X=1,(function(t,e){(function(r,n){t.exports=n()})(Utt,(function(){var r;function n(){return r.apply(null,arguments)}function s(L){r=L}function i(L){return L instanceof Array||Object.prototype.toString.call(L)==="[object Array]"}function o(L){return L!=null&&Object.prototype.toString.call(L)==="[object Object]"}function l(L,G){return Object.prototype.hasOwnProperty.call(L,G)}function c(L){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(L).length===0;var G;for(G in L)if(l(L,G))return!1;return!0}function u(L){return L===void 0}function d(L){return typeof L=="number"||Object.prototype.toString.call(L)==="[object Number]"}function f(L){return L instanceof Date||Object.prototype.toString.call(L)==="[object Date]"}function p(L,G){var ne=[],ae,ye=L.length;for(ae=0;ae<ye;++ae)ne.push(G(L[ae],ae));return ne}function m(L,G){for(var ne in G)l(G,ne)&&(L[ne]=G[ne]);return l(G,"toString")&&(L.toString=G.toString),l(G,"valueOf")&&(L.valueOf=G.valueOf),L}function h(L,G,ne,ae){return Ix(L,G,ne,ae,!0).utc()}function _(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(L){return L._pf==null&&(L._pf=_()),L._pf}var y;Array.prototype.some?y=Array.prototype.some:y=function(L){var G=Object(this),ne=G.length>>>0,ae;for(ae=0;ae<ne;ae++)if(ae in G&&L.call(this,G[ae],ae,G))return!0;return!1};function b(L){var G=null,ne=!1,ae=L._d&&!isNaN(L._d.getTime());if(ae&&(G=g(L),ne=y.call(G.parsedDateParts,function(ye){return ye!=null}),ae=G.overflow<0&&!G.empty&&!G.invalidEra&&!G.invalidMonth&&!G.invalidWeekday&&!G.weekdayMismatch&&!G.nullInput&&!G.invalidFormat&&!G.userInvalidated&&(!G.meridiem||G.meridiem&&ne),L._strict&&(ae=ae&&G.charsLeftOver===0&&G.unusedTokens.length===0&&G.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(L))L._isValid=ae;else return ae;return L._isValid}function x(L){var G=h(NaN);return L!=null?m(g(G),L):g(G).userInvalidated=!0,G}var w=n.momentProperties=[],C=!1;function k(L,G){var ne,ae,ye,Ie=w.length;if(u(G._isAMomentObject)||(L._isAMomentObject=G._isAMomentObject),u(G._i)||(L._i=G._i),u(G._f)||(L._f=G._f),u(G._l)||(L._l=G._l),u(G._strict)||(L._strict=G._strict),u(G._tzm)||(L._tzm=G._tzm),u(G._isUTC)||(L._isUTC=G._isUTC),u(G._offset)||(L._offset=G._offset),u(G._pf)||(L._pf=g(G)),u(G._locale)||(L._locale=G._locale),Ie>0)for(ne=0;ne<Ie;ne++)ae=w[ne],ye=G[ae],u(ye)||(L[ae]=ye);return L}function A(L){k(this,L),this._d=new Date(L._d!=null?L._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),C===!1&&(C=!0,n.updateOffset(this),C=!1)}function P(L){return L instanceof A||L!=null&&L._isAMomentObject!=null}function T(L){n.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+L)}function j(L,G){var ne=!0;return m(function(){if(n.deprecationHandler!=null&&n.deprecationHandler(null,L),ne){var ae=[],ye,Ie,St,Sr=arguments.length;for(Ie=0;Ie<Sr;Ie++){if(ye="",typeof arguments[Ie]=="object"){ye+=`
/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js:328:In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gue(t,e){if(t){if(typeof t=="string")return _$(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _$(t,e)}}function _$(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Tst(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],s=!0,i=!1,o,l;try{for(r=r.call(t);!(s=(o=r.next()).done)&&(n.push(o.value),!(e&&n.length===e));s=!0);}catch(c){i=!0,l=c}finally{try{!s&&r.return!=null&&r.return()}finally{if(i)throw l}}return n}}function Est(t){if(Array.isArray(t))return t}function DX(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),r.push.apply(r,n)}return r}function si(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?DX(Object(r),!0).forEach(function(n){v$(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):DX(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function v$(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function y3(t,e){if(t==null)return{};var r=Rst(t,e),n,s;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(s=0;s<i.length;s++)n=i[s],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function Rst(t,e){if(t==null)return{};var r={},n=Object.keys(t),s,i;for(i=0;i<n.length;i++)s=n[i],!(e.indexOf(s)>=0)&&(r[s]=t[s]);return r}var l7=I.forwardRef(function(t,e){var r=t.children,n=y3(t,xst),s=vue(n),i=s.open,o=y3(s,Sst);return I.useImperativeHandle(e,function(){return{open:i}},[i]),Yn.createElement(I.Fragment,null,r(si(si({},o),{},{open:i})))});l7.displayName="Dropzone";var _ue={disabled:!1,getFilesFromEvent:znt,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};l7.defaultProps=_ue;l7.propTypes={children:Je.func,accept:Je.objectOf(Je.arrayOf(Je.string)),multiple:Je.bool,preventDropOnDocument:Je.bool,noClick:Je.bool,noKeyboard:Je.bool,noDrag:Je.bool,noDragEventsBubbling:Je.bool,minSize:Je.number,maxSize:Je.number,maxFiles:Je.number,disabled:Je.bool,getFilesFromEvent:Je.func,onFileDialogCancel:Je.func,onFileDialogOpen:Je.func,useFsAccessApi:Je.bool,autoFocus:Je.bool,onDragEnter:Je.func,onDragLeave:Je.func,onDragOver:Je.func,onDrop:Je.func,onDropAccepted:Je.func,onDropRejected:Je.func,onError:Je.func,validator:Je.func};var y$={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function vue(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=si(si({},_ue),t),r=e.accept,n=e.disabled,s=e.getFilesFromEvent,i=e.maxSize,o=e.minSize,l=e.multiple,c=e.maxFiles,u=e.onDragEnter,d=e.onDragLeave,f=e.onDragOver,p=e.onDrop,m=e.onDropAccepted,h=e.onDropRejected,_=e.onFileDialogCancel,g=e.onFileDialogOpen,y=e.useFsAccessApi,b=e.autoFocus,x=e.preventDropOnDocument,w=e.noClick,C=e.noKeyboard,k=e.noDrag,A=e.noDragEventsBubbling,P=e.onError,T=e.validator,j=I.useMemo(function(){return vst(r)},[r]),R=I.useMemo(function(){return _st(r)},[r]),D=I.useMemo(function(){return typeof g=="function"?g:$X},[g]),O=I.useMemo(function(){return typeof _=="function"?_:$X},[_]),N=I.useRef(null),F=I.useRef(null),U=I.useReducer(Ist,y$),z=UI(U,2),H=z[0],W=z[1],K=H.isFocused,q=H.isFileDialogActive,X=I.useRef(typeof window<"u"&&window.isSecureContext&&y&&gst()),Q=function(){!X.current&&q&&setTimeout(function(){if(F.current){var we=F.current.files;we.length||(W({type:"closeDialog"}),O())}},300)};I.useEffect(function(){return window.addEventListener("focus",Q,!1),function(){window.removeEventListener("focus",Q,!1)}},[F,q,O,X]);var Y=I.useRef([]),Z=function(we){N.current&&N.current.contains(we.target)||(we.preventDefault(),Y.current=[])};I.useEffect(function(){return x&&(document.addEventListener("dragover",IX,!1),document.addEventListener("drop",Z,!1)),function(){x&&(document.removeEventListener("dragover",IX),document.removeEventListener("drop",Z))}},[N,x]),I.useEffect(function(){return!n&&b&&N.current&&N.current.focus(),function(){}},[N,b,n]);var re=I.useCallback(function(Re){P?P(Re):console.error(Re)},[P]),fe=I.useCallback(function(Re){Re.preventDefault(),Re.persist(),Te(Re),Y.current=[].concat(Ast(Y.current),[Re.target]),_w(Re)&&Promise.resolve(s(Re)).then(function(we){if(!(v3(Re)&&!A)){var Me=we.length,$e=Me>0&&fst({files:we,accept:j,minSize:o,maxSize:i,multiple:l,maxFiles:c,validator:T}),Ve=Me>0&&!$e;W({isDragAccept:$e,isDragReject:Ve,isDragActive:!0,type:"setDraggedFiles"}),u&&u(Re)}}).catch(function(we){return re(we)})},[s,u,re,A,j,o,i,l,c,T]),de=I.useCallback(function(Re){Re.preventDefault(),Re.persist(),Te(Re);var we=_w(Re);if(we&&Re.dataTransfer)try{Re.dataTransfer.dropEffect="copy"}catch{}return we&&f&&f(Re),!1},[f,A]),se=I.useCallback(function(Re){Re.preventDefault(),Re.persist(),Te(Re);var we=Y.current.filter(function($e){return N.current&&N.current.contains($e)}),Me=we.indexOf(Re.target);Me!==-1&&we.splice(Me,1),Y.current=we,!(we.length>0)&&(W({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),_w(Re)&&d&&d(Re))},[N,d,A]),le=I.useCallback(function(Re,we){var Me=[],$e=[];Re.forEach(function(Ve){var Ne=fue(Ve,j),Oe=UI(Ne,2),ft=Oe[0],Ct=Oe[1],Et=pue(Ve,o,i),at=UI(Et,2),$t=at[0],Ee=at[1],Be=T?T(Ve):null;if(ft&&$t&&!Be)Me.push(Ve);else{var qt=[Ct,Ee];Be&&(qt=qt.concat(Be)),$e.push({file:Ve,errors:qt.filter(function(ar){return ar})})}}),(!l&&Me.length>1||l&&c>=1&&Me.length>c)&&(Me.forEach(function(Ve){$e.push({file:Ve,errors:[dst]})}),Me.splice(0)),W({acceptedFiles:Me,fileRejections:$e,isDragReject:$e.length>0,type:"setFiles"}),p&&p(Me,$e,we),$e.length>0&&h&&h($e,we),Me.length>0&&m&&m(Me,we)},[W,l,j,o,i,c,p,m,h,T]),ee=I.useCallback(function(Re){Re.preventDefault(),Re.persist(),Te(Re),Y.current=[],_w(Re)&&Promise.resolve(s(Re)).then(function(we){v3(Re)&&!A||le(we,Re)}).catch(function(we){return re(we)}),W({type:"reset"})},[s,le,re,A]),J=I.useCallback(function(){if(X.current){W({type:"openDialog"}),D();var Re={multiple:l,types:R};window.showOpenFilePicker(Re).then(function(we){return s(we)}).then(function(we){le(we,null),W({type:"closeDialog"})}).catch(function(we){yst(we)?(O(we),W({type:"closeDialog"})):bst(we)?(X.current=!1,F.current?(F.current.value=null,F.current.click()):re(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):re(we)});return}F.current&&(W({type:"openDialog"}),D(),F.current.value=null,F.current.click())},[W,D,O,y,le,re,R,l]),me=I.useCallback(function(Re){!N.current||!N.current.isEqualNode(Re.target)||(Re.key===" "||Re.key==="Enter"||Re.keyCode===32||Re.keyCode===13)&&(Re.preventDefault(),J())},[N,J]),pe=I.useCallback(function(){W({type:"focus"})},[]),Se=I.useCallback(function(){W({type:"blur"})},[]),ve=I.useCallback(function(){w||(hst()?setTimeout(J,0):J())},[w,J]),xe=function(we){return n?null:we},qe=function(we){return C?null:xe(we)},Le=function(we){return k?null:xe(we)},Te=function(we){A&&we.stopPropagation()},je=I.useMemo(function(){return function(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},we=Re.refKey,Me=we===void 0?"ref":we,$e=Re.role,Ve=Re.onKeyDown,Ne=Re.onFocus,Oe=Re.onBlur,ft=Re.onClick,Ct=Re.onDragEnter,Et=Re.onDragOver,at=Re.onDragLeave,$t=Re.onDrop,Ee=y3(Re,wst);return si(si(v$({onKeyDown:qe(gu(Ve,me)),onFocus:qe(gu(Ne,pe)),onBlur:qe(gu(Oe,Se)),onClick:xe(gu(ft,ve)),onDragEnter:Le(gu(Ct,fe)),onDragOver:Le(gu(Et,de)),onDragLeave:Le(gu(at,se)),onDrop:Le(gu($t,ee)),role:typeof $e=="string"&&$e!==""?$e:"presentation"},Me,N),!n&&!C?{tabIndex:0}:{}),Ee)}},[N,me,pe,Se,ve,fe,de,se,ee,C,k,n]),Ge=I.useCallback(function(Re){Re.stopPropagation()},[]),nt=I.useMemo(function(){return function(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},we=Re.refKey,Me=we===void 0?"ref":we,$e=Re.onChange,Ve=Re.onClick,Ne=y3(Re,Cst),Oe=v$({accept:j,multiple:l,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:xe(gu($e,ee)),onClick:xe(gu(Ve,Ge)),tabIndex:-1},Me,F);return si(si({},Oe),Ne)}},[F,r,l,ee,n]);return si(si({},H),{},{isFocused:K&&!n,getRootProps:je,getInputProps:nt,rootRef:N,inputRef:F,open:xe(J)})}function Ist(t,e){switch(e.type){case"focus":return si(si({},t),{},{isFocused:!0});case"blur":return si(si({},t),{},{isFocused:!1});case"openDialog":return si(si({},y$),{},{isFileDialogActive:!0});case"closeDialog":return si(si({},t),{},{isFileDialogActive:!1});case"setDraggedFiles":return si(si({},t),{},{isDragActive:e.isDragActive,isDragAccept:e.isDragAccept,isDragReject:e.isDragReject});case"setFiles":return si(si({},t),{},{acceptedFiles:e.acceptedFiles,fileRejections:e.fileRejections,isDragReject:e.isDragReject});case"reset":return si({},y$);default:return t}}function $X(){}const Z_=t=>{const e=he.c(81),{name:r,label:n,onChange:s,accept:i,maxFiles:o,multiple:l,onDropAccepted:c,onDropRejected:u,minSize:d,maxSize:f,noDrag:p,disabled:m,onError:h,validator:_,value:g,size:y,sx:b,formError:x}=t,w=n===void 0?"Drag and drop or click to upload your file":n;let C;e[0]!==g?(C=g||[],e[0]=g,e[1]=C):C=e[1];const[k,A]=I.useState(C);let P,T;e[2]!==g?(P=()=>{g&&A(g)},T=[g],e[2]=g,e[3]=P,e[4]=T):(P=e[3],T=e[4]),I.useEffect(P,T);let j;e[5]!==l||e[6]!==s?(j=Re=>{A(we=>{const Me=l?[...we,...Re]:[...Re];return s&&s(Me),Me})},e[5]=l,e[6]=s,e[7]=j):j=e[7];const R=j;let D;e[8]!==i||e[9]!==m||e[10]!==R||e[11]!==o||e[12]!==f||e[13]!==d||e[14]!==l||e[15]!==p||e[16]!==c||e[17]!==u||e[18]!==h||e[19]!==_?(D={onDrop:R,accept:i,maxFiles:o,multiple:l,onDropAccepted:c,onDropRejected:u,minSize:d,maxSize:f,noDrag:p,disabled:m,onError:h,validator:_},e[8]=i,e[9]=m,e[10]=R,e[11]=o,e[12]=f,e[13]=d,e[14]=l,e[15]=p,e[16]=c,e[17]=u,e[18]=h,e[19]=_,e[20]=D):D=e[20];const{getRootProps:O,getInputProps:N,isDragActive:F,fileRejections:U}=vue(D);let z;e[21]!==s?(z=Re=>{A(we=>{const Me=we?.filter($e=>$e.name!==Re);return s&&s(Me),Me})},e[21]=s,e[22]=z):z=e[22];const H=z;let W;e[23]!==k?(W=k.map(Dst),e[23]=k,e[24]=W):W=e[24];const K=W;let q;e[25]!==U?(q=new Map,U.forEach(Re=>{const{errors:we}=Re,Me=we[0];q.set(Me.code,Me.message)}),e[25]=U,e[26]=q):q=e[26];let X;e[27]!==q?(X=Array.from(q),e[27]=q,e[28]=X):X=e[28];const Q=X;let Y;y==="small"?Y=K.length?"3px":"6px":Y=K.length?"11px":"14px";const Z=Y;let re;e[29]===Symbol.for("react.memo_cache_sentinel")?(re={position:"relative"},e[29]=re):re=e[29];const fe=`field-${r}`;let de;e[30]!==m?(de=!m&&{cursor:"pointer","&:hover":{borderColor:"text.primary"}},e[30]=m,e[31]=de):de=e[31];let se;e[32]!==F?(se=F&&{borderColor:"primary.main",backgroundColor:"primary.light"},e[32]=F,e[33]=se):se=e[33];let le;e[34]!==U.length||e[35]!==x?(le=(U.length||x)&&{borderColor:"error.main"},e[34]=U.length,e[35]=x,e[36]=le):le=e[36];let ee;e[37]!==Z||e[38]!==b||e[39]!==de||e[40]!==se||e[41]!==le?(ee={py:Z,px:1.75,borderWidth:"2px",borderRadius:"4px",borderColor:"divider",borderStyle:"dashed",outline:"none",...de,...se,...le,...b},e[37]=Z,e[38]=b,e[39]=de,e[40]=se,e[41]=le,e[42]=ee):ee=e[42];let J;e[43]!==O?(J=O(),e[43]=O,e[44]=J):J=e[44];let me;e[45]!==N?(me=N(),e[45]=N,e[46]=me):me=e[46];let pe;e[47]!==r?(pe=r&&{"data-testid":`field-${r}`},e[47]=r,e[48]=pe):pe=e[48];let Se;e[49]!==me||e[50]!==pe?(Se=a.jsx("input",{...me,...pe}),e[49]=me,e[50]=pe,e[51]=Se):Se=e[51];let ve;e[52]!==m||e[53]!==K||e[54]!==H||e[55]!==w||e[56]!==o||e[57]!==l?(ve=K.length?a.jsx(gt,{sx:{position:"relative",top:w?"2px":"1px"},children:a.jsx(ks,{onDelete:H,items:K,size:"small",disabled:m})}):a.jsxs(_e,{children:[w,l&&` (${o?`max ${o}`:"multiple"} files can be uploaded)`]}),e[52]=m,e[53]=K,e[54]=H,e[55]=w,e[56]=o,e[57]=l,e[58]=ve):ve=e[58];let xe;e[59]!==ee||e[60]!==J||e[61]!==Se||e[62]!==ve?(xe=a.jsxs(gt,{sx:ee,...J,children:[Se,ve]}),e[59]=ee,e[60]=J,e[61]=Se,e[62]=ve,e[63]=xe):xe=e[63];let qe;e[64]===Symbol.for("react.memo_cache_sentinel")?(qe={ml:1.75},e[64]=qe):qe=e[64];let Le;e[65]!==i||e[66]!==Q.length||e[67]!==x?(Le=i&&!Q.length&&!x&&a.jsxs(_e,{type:"caption",color:"text.secondary",children:["Only ",Object.keys(i).join(",")," files are accepted"]}),e[65]=i,e[66]=Q.length,e[67]=x,e[68]=Le):Le=e[68];let Te;e[69]!==Q?(Te=Q.map($st),e[69]=Q,e[70]=Te):Te=e[70];let je;e[71]!==x?(je=x&&a.jsx(_e,{color:"error.main",type:"caption",children:x}),e[71]=x,e[72]=je):je=e[72];let Ge;e[73]!==Le||e[74]!==Te||e[75]!==je?(Ge=a.jsxs(gt,{sx:qe,children:[Le,Te,je]}),e[73]=Le,e[74]=Te,e[75]=je,e[76]=Ge):Ge=e[76];let nt;return e[77]!==fe||e[78]!==xe||e[79]!==Ge?(nt=a.jsxs("section",{style:re,"data-testid":fe,children:[xe,Ge]}),e[77]=fe,e[78]=xe,e[79]=Ge,e[80]=nt):nt=e[80],nt};function Dst(t){return{id:t.name,label:t.name+" - "+a7(t.size)}}function $st(t,e){const[,r]=t;return a.jsx(_e,{color:"error.main",type:"caption",children:r},e)}function ti(t){const e=he.c(11),{color:r,disabled:n,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checked:f}=t,p=r===void 0?"primary":r;let m;return e[0]!==f||e[1]!==p||e[2]!==o||e[3]!==c||e[4]!==n||e[5]!==u||e[6]!==i||e[7]!==l||e[8]!==s||e[9]!==d?(m=a.jsx(W9e,{color:p,disabled:n,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checked:f}),e[0]=f,e[1]=p,e[2]=o,e[3]=c,e[4]=n,e[5]=u,e[6]=i,e[7]=l,e[8]=s,e[9]=d,e[10]=m):m=e[10],m}const Ost=()=>{const t=he.c(11),e=Ye(),{dialogClose:r}=Jt(),{upsertFetcher:n}=Ys(),{submit:s,data:i,state:o}=n;let l;t[0]!==s?(l=m=>{const{files:h,server:_,name:g,fileUpload:y,fileContent:b}=m;let x;y?x=h[0]:x=new File([b],g);const w=new FormData;w.set("server",_),w.set("file",x),s(w,{method:"POST",encType:"multipart/form-data",action:`${$.urls.dsmZones}/create`})},t[0]=s,t[1]=l):l=t[1];const c=l;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u={files:[],server:"",fileUpload:!0,name:"",fileContent:""},t[2]=u):u=t[2];const d=u;let f;t[3]!==i||t[4]!==r||t[5]!==e||t[6]!==o?(f=m=>{const{dirty:h}=m;return a.jsxs(Kd,{style:{display:"flex",flexDirection:"column",flexGrow:"1",maxHeight:"100%",overflow:"auto"},children:[a.jsx(_s,{children:a.jsxs(te,{spacing:2,fullHeight:!0,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"server",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"dsm_zones.upload.form.server"}),size:"medium",error:!!y.error,helperText:y.error})}}),a.jsx(Ke,{name:"fileUpload",children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:g.value,onChange:(x,w)=>{b(g.name,w)}}),a.jsx(_e,{children:e.formatMessage({id:"dsm_zones.upload.form.file.upload"})})]})}}),a.jsx(Ke,{name:"name",children:_=>{const{field:g,meta:y,form:b}=_,{values:x}=b;return x.fileUpload?null:a.jsx(dt,{...g,label:e.formatMessage({id:"dsm_zones.upload.form.name"}),size:"medium",error:!!y.error,helperText:y.error})}}),a.jsx(Ke,{name:"fileContent",children:_=>{const{field:g,meta:y,form:b}=_,{values:x,setFieldValue:w}=b;return x.fileUpload?null:a.jsx(Fv,{value:g.value,label:e.formatMessage({id:"dsm_zones.upload.form.file.content"}),error:y.error,language:"plaintext",onChange:C=>{w(g.name,C)}})}}),a.jsx(Ke,{name:"files",children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x,values:w}=b;return w.fileUpload?a.jsxs(a.Fragment,{children:[a.jsx(Lr,{severity:"info",message:e.formatMessage({id:"dsm_zones.upload.form.description"})}),a.jsx(Z_,{...g,label:e.formatMessage({id:"dsm_zones.upload.form.file"}),size:"medium",maxFiles:1,multiple:!1,disabled:o!=="idle",onChange:C=>{setTimeout(()=>{if(!C.length){x(g.name,[]);return}x(g.name,C)},0)},formError:y.error})]}):null}}),a.jsx(Xr,{data:i})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:e.formatMessage({id:"dialog_with_form.buttons.cancel"}),variant:"outlined",disabled:o!=="idle",onClick:()=>r()}),a.jsx(Ze,{text:e.formatMessage({id:"dialog_with_form.buttons.submit"}),type:"submit",disabled:!h,loading:o!=="idle"})]})})]})},t[3]=i,t[4]=r,t[5]=e,t[6]=o,t[7]=f):f=t[7];let p;return t[8]!==c||t[9]!==f?(p=a.jsx(Wr,{initialValues:d,validationSchema:ynt,onSubmit:c,children:f}),t[8]=c,t[9]=f,t[10]=p):p=t[10],p},OX=Pr(),_l=t=>Ue(t)?{label:OX.formatMessage({id:"common.edit"}),icon:a.jsx(ge.Edit,{})}:{label:OX.formatMessage({id:"common.view"}),icon:a.jsx(ge.Info,{})},Lst=()=>{const t=he.c(57),e=Ye(),{dialogOpen:r}=Jt(),{openConfirmDialog:n}=di(),s=zn(),i=gr();let o;t[0]!==r||t[1]!==e?(o=()=>{r({title:e.formatMessage({id:"dsm_zones.upload.form.title"}),fullScreen:!0,content:Nst})},t[0]=r,t[1]=e,t[2]=o):o=t[2];const l=o;let c;t[3]!==r||t[4]!==e?(c=q=>{r({title:e.formatMessage({id:"dsm_zones.upload.form.edit.title"}),fullScreen:!0,content:()=>a.jsx(bnt,{dsmZone:q})})},t[3]=r,t[4]=e,t[5]=c):c=t[5];const u=c;let d;t[6]!==i||t[7]!==e||t[8]!==n?(d=q=>{const{name:X,server:Q}=q;n({text:e.formatMessage({id:"dsm_zones.delete.dialog.confirm"}),onConfirm:()=>{i.submit({name:X,server:Q},{method:"DELETE",encType:"application/json",action:`${$.urls.dsmZones}/delete`})}})},t[6]=i,t[7]=e,t[8]=n,t[9]=d):d=t[9];const f=d;let p;t[10]!==i?(p=q=>{const{name:X,server:Q}=q;i.submit({name:X,server:Q},{method:"POST",encType:"application/json",action:`${$.urls.dsmZones}/download`})},t[10]=i,t[11]=p):p=t[11];const m=p;let h;t[12]!==e?(h=e.formatMessage({id:"dsm_zones.table.id"}),t[12]=e,t[13]=h):h=t[13];let _;t[14]!==h?(_={key:"server",label:h},t[14]=h,t[15]=_):_=t[15];let g;t[16]!==e?(g=e.formatMessage({id:"dsm_zones.table.name"}),t[16]=e,t[17]=g):g=t[17];let y;t[18]!==g?(y={key:"name",label:g},t[18]=g,t[19]=y):y=t[19];let b;t[20]!==_||t[21]!==y?(b=[_,y],t[20]=_,t[21]=y,t[22]=b):b=t[22];const x=b;let w;t[23]===Symbol.for("react.memo_cache_sentinel")?(w=_l(ie.management),t[23]=w):w=t[23];let C;t[24]!==u?(C={...w,onClick:q=>void u(q)},t[24]=u,t[25]=C):C=t[25];let k;t[26]!==e?(k=e.formatMessage({id:"dsm_zones.table.actions.download"}),t[26]=e,t[27]=k):k=t[27];let A;t[28]===Symbol.for("react.memo_cache_sentinel")?(A=a.jsx(ge.Download,{}),t[28]=A):A=t[28];let P;t[29]!==m?(P=q=>void m(q),t[29]=m,t[30]=P):P=t[30];let T;t[31]!==k||t[32]!==P?(T={label:k,icon:A,onClick:P,wrapped:!0},t[31]=k,t[32]=P,t[33]=T):T=t[33];let j;t[34]!==e?(j=e.formatMessage({id:"dsm_zones.table.actions.delete"}),t[34]=e,t[35]=j):j=t[35];let R,D;t[36]===Symbol.for("react.memo_cache_sentinel")?(R=a.jsx(ge.Trash,{}),D=Ue(ie.management),t[36]=R,t[37]=D):(R=t[36],D=t[37]);let O;t[38]!==f?(O=q=>void f(q),t[38]=f,t[39]=O):O=t[39];let N;t[40]!==j||t[41]!==O?(N={label:j,icon:R,disabled:!D,onClick:O,wrapped:!0},t[40]=j,t[41]=O,t[42]=N):N=t[42];let F;t[43]!==C||t[44]!==T||t[45]!==N?(F=[C,T,N],t[43]=C,t[44]=T,t[45]=N,t[46]=F):F=t[46];const U=F;let z;t[47]===Symbol.for("react.memo_cache_sentinel")?(z=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[47]=z):z=t[47];let H;t[48]===Symbol.for("react.memo_cache_sentinel")?(H=a.jsx(Tr,{}),t[48]=H):H=t[48];let W;t[49]!==x||t[50]!==l||t[51]!==e||t[52]!==U?(W=q=>a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{startIcon:a.jsx(ge.Add,{}),disabled:!Ue(ie.management),text:e.formatMessage({id:"dsm_zones.upload.buttons.new"}),onClick:l})}),a.jsx(Br,{autoScale:!0,data:q,orderBy:"server",columns:x,rowActions:U,stickyRowActions:!0,page:0,labelDisplayedRows:Fst,rowsCount:q.length,rowsPerPage:q.length,rowKey:"server"})]}),t[49]=x,t[50]=l,t[51]=e,t[52]=U,t[53]=W):W=t[53];let K;return t[54]!==s.zones||t[55]!==W?(K=a.jsx(I.Suspense,{fallback:z,children:a.jsx(Qt,{resolve:s.zones,errorElement:H,children:W})}),t[54]=s.zones,t[55]=W,t[56]=K):K=t[56],K};function Nst(){return a.jsx(Ost,{})}function Fst(){return""}function c7(t,e=""){const r=document.createElement("a");r.href=t,r.download=e,document.body.appendChild(r),r.click(),document.body.removeChild(r)}function yue(t,e,r="text/plain"){const n=window.URL.createObjectURL(new Blob([t],{type:r}));c7(n,e)}function Ust(){const t=$.apis.dsm.zones;return De({options:{url:t,method:"GET"}})}function Bst(t,e){const r=`${$.apis.dsm.zones}/${t}`,n=new FormData;return n.append("file",e),De({options:{url:r,method:"POST",data:n,headers:{"content-type":"multipart/form-data"}}})}function zst(t,e){const r=`${$.apis.dsm.zones}/${t}/${e}`;return De({options:{url:r,method:"DELETE"}})}async function bue(t,e){const r=`${$.apis.dsm.zones}/${t}/${e}`;return{content:await De({options:{url:r,method:"GET"}})}}const xue=Pr();async function qst({request:t}){const e=await t.formData(),r=e.get("server"),n=e.get("file"),s=await Bst(r,n);return xt(s)||Nt(),Ft(s)}async function Vst({request:t}){const{server:e,name:r}=await t.json(),n=await zst(e,r);return xt(n)?Ar(n.error.detail||xue.formatMessage({id:"dsm_zones.delete.result.message_ko"})):Nt(),Ft(n)}async function Hst({request:t}){const{server:e,name:r}=await t.json(),n=await bue(e,r);return xt(n)?Ar(n.error.detail||xue.formatMessage({id:"dsm_zones.download.result.message_ko"})):yue(n.content,r),Ft(n)}function Gst(t){return Wt({loaderArgs:t,deferred:!0,data:{zones:Ust()}})}function Wst(t){const{server:e,name:r}=t.params;return!e||!r?null:Wt({loaderArgs:t,deferred:!0,data:{zone:bue(e,r)}})}const Yst={path:"dsm",handle:vr({labelIntl:"route.dsm",icon:a.jsx(ge.DSM,{})}),children:[{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.DSM,{dbCluster:!0})]},{element:a.jsx(Or,{fullHeight:!0}),children:[io(ue.DSM),{path:"zones",handle:vr({labelIntl:"route.dsm.zones",to:"/dms/zones"}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:Gst,element:a.jsx(Lst,{})},{path:":server/:name",loader:Wst,element:a.jsx(ur,{to:$.urls.dsmZones,replace:!0})},{path:"create",action:qst,loader:()=>rt("..")},{path:"delete",action:Vst,loader:()=>rt("..")},{path:"download",action:Hst,loader:()=>rt("..")}]}]}]},Kst=t=>{const e=he.c(17),{onCancel:r,onSubmit:n,validationSchema:s,renderComponentForm:i,initialValues:o,submitButtonText:l,cancelButtonText:c,validateOnChange:u,validateOnBlur:d,isReadonly:f,isLoading:p}=t,m=Ye();let h;e[0]!==n?(h=async y=>n(y),e[0]=n,e[1]=h):h=e[1];let _;e[2]!==c||e[3]!==m||e[4]!==p||e[5]!==f||e[6]!==i||e[7]!==l?(_=y=>{const{isSubmitting:b,dirty:x}=y;return a.jsxs(Kd,{style:{display:"flex",flexDirection:"column",flexGrow:"1",maxHeight:"100%",overflow:"auto"},children:[a.jsx(_s,{children:i()}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:c||m.formatMessage({id:"dialog_with_form.buttons.cancel"}),type:"reset",variant:"outlined",disabled:b}),!f&&a.jsx(Ze,{text:l||m.formatMessage({id:"dialog_with_form.buttons.submit"}),type:"submit",disabled:b||!x||p,loading:b||p})]})})]})},e[2]=c,e[3]=m,e[4]=p,e[5]=f,e[6]=i,e[7]=l,e[8]=_):_=e[8];let g;return e[9]!==o||e[10]!==r||e[11]!==h||e[12]!==_||e[13]!==d||e[14]!==u||e[15]!==s?(g=a.jsx(Wr,{initialValues:o,validationSchema:s,onSubmit:h,onReset:r,validateOnChange:u,validateOnBlur:d,children:_}),e[9]=o,e[10]=r,e[11]=h,e[12]=_,e[13]=d,e[14]=u,e[15]=s,e[16]=g):g=e[16],g},Sue=t=>{const e=he.c(24),{description:r,exampleFileUrl:n,filesLabel:s,max:i,accept:o,acceptEncrypted:l,alert:c}=t,u=Ye();let d;e[0]!==r||e[1]!==n||e[2]!==u?(d=r||(n?u.formatMessage({id:"form_import_files.description"}):void 0),e[0]=r,e[1]=n,e[2]=u,e[3]=d):d=e[3];let f;e[4]!==n?(f=n&&a.jsx("a",{href:n,target:"_blank",rel:"noreferrer",children:"example"}),e[4]=n,e[5]=f):f=e[5];let p;e[6]!==d||e[7]!==f?(p=a.jsxs(_e,{children:[d,f]}),e[6]=d,e[7]=f,e[8]=p):p=e[8];let m;e[9]!==c?(m=c&&a.jsx(Lr,{...c}),e[9]=c,e[10]=m):m=e[10];let h;e[11]!==o||e[12]!==s||e[13]!==u||e[14]!==i?(h=a.jsx(Ke,{name:"files",children:y=>{const{field:b,meta:x,form:w}=y,{setFieldValue:C,isSubmitting:k}=w;return a.jsx(Z_,{...b,label:s||u.formatMessage({id:"form_import_files.file"}),size:"medium",accept:o,maxFiles:i,multiple:i>1,disabled:k,onChange:A=>{setTimeout(()=>{if(!A.length){C(b.name,[]);return}C(b.name,A)},0)},formError:x.error})}}),e[11]=o,e[12]=s,e[13]=u,e[14]=i,e[15]=h):h=e[15];let _;e[16]!==l||e[17]!==u?(_=l&&a.jsx(Ke,{name:"encrypted",children:y=>{const{field:b,form:x}=y,{setFieldValue:w,isSubmitting:C}=x;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:b.value,onChange:(k,A)=>{w(b.name,A)},disabled:C}),a.jsx(_e,{children:u.formatMessage({id:"form_import_files.encrypted"})})]})}}),e[16]=l,e[17]=u,e[18]=_):_=e[18];let g;return e[19]!==p||e[20]!==m||e[21]!==h||e[22]!==_?(g=a.jsxs(te,{spacing:2,children:[p,m,h,_]}),e[19]=p,e[20]=m,e[21]=h,e[22]=_,e[23]=g):g=e[23],g},wue=t=>{const e=he.c(20),{onSubmit:r,onCancel:n,...s}=t,i=Ye(),o=Kst,l=()=>a.jsx(Sue,{...s});let c;e[0]!==i?(c=i.formatMessage({id:"form_import_files.save"}),e[0]=i,e[1]=c):c=e[1];let u;e[2]!==i?(u=i.formatMessage({id:"form_import_files.cancel"}),e[2]=i,e[3]=u):u=e[3];let d;e[4]!==r?(d=async g=>r(g),e[4]=r,e[5]=d):d=e[5];const f=dr().shape({files:yr().min(s.min,i.formatMessage({id:"form_import_files.min"},{num:s.min})).max(s.max,i.formatMessage({id:"form_import_files.max"},{num:s.max})).required(s.requiredMessage?s.requiredMessage:i.formatMessage({id:"form_import_files.required"})),...s.acceptEncrypted&&{encrypted:li()}});let p;e[6]===Symbol.for("react.memo_cache_sentinel")?(p=[],e[6]=p):p=e[6];let m;e[7]!==s.acceptEncrypted?(m=s.acceptEncrypted&&{encrypted:!1},e[7]=s.acceptEncrypted,e[8]=m):m=e[8];let h;e[9]!==m?(h={files:p,...m},e[9]=m,e[10]=h):h=e[10];let _;return e[11]!==o||e[12]!==n||e[13]!==l||e[14]!==c||e[15]!==u||e[16]!==d||e[17]!==f||e[18]!==h?(_=a.jsx(o,{renderComponentForm:l,submitButtonText:c,cancelButtonText:u,onSubmit:d,onCancel:n,validationSchema:f,initialValues:h}),e[11]=o,e[12]=n,e[13]=l,e[14]=c,e[15]=u,e[16]=d,e[17]=f,e[18]=h,e[19]=_):_=e[19],_},x_=Pr();var Cue=(t=>(t.WHITELISTED="WHITELISTED",t.GREYLISTED="GREYLISTED",t.BLACKLISTED="BLACKLISTED",t))(Cue||{});const J0=Object.keys(Cue),Qst=dr().shape({supi:We().strict(!0).matches(new RegExp($.regex.supi)).required(x_.formatMessage({id:"eir_autorules.new_rule.form_errors.required"}))}),Zst=dr().shape({pei:We().required(x_.formatMessage({id:"eir_rules.new_rule.form_errors.required"})).strict(!0).matches(/^(imei-[0-9]{8}|imei-[0-9]{14,15}|mac((-[0-9a-fA-F]{2}){6})(-untrusted)?|eui((-[0-9a-fA-F]{2}){8}))$/),supi:We().strict(!0).matches(new RegExp($.regex.supi)),status:We().required(x_.formatMessage({id:"eir_rules.new_rule.form_errors.required"})),enabled:li().required(x_.formatMessage({id:"eir_rules.new_rule.form_errors.required"}))}),Xst=dr().shape({status:We().required(x_.formatMessage({id:"eir_rules.edit_rule.form_errors.required"})),enabled:li().required(x_.formatMessage({id:"eir_rules.edit_rule.form_errors.required"}))}),Jst=()=>{const t=he.c(13),e=Ye(),{dialogClose:r}=Jt(),{upsertFetcher:n}=Ys(),{data:s,state:i,submit:o}=n;let l;t[0]!==o?(l=m=>{const{supi:h}=m;h&&o({supi:h},{action:`${$.urls.eirAutoRules}/create`,method:"POST",encType:"application/json"})},t[0]=o,t[1]=l):l=t[1];const c=l;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u={supi:""},t[2]=u):u=t[2];let d;t[3]!==r?(d=()=>r(),t[3]=r,t[4]=d):d=t[4];let f;t[5]!==s||t[6]!==e||t[7]!==i?(f=()=>a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"supi",children:m=>{const{field:h,meta:_}=m;return a.jsx(dt,{...h,label:e.formatMessage({id:"eir_autorules.new_rule.supi"}),size:"small",error:!!_.error,helperText:_.error,disabled:i!=="idle"})}}),a.jsx(Xr,{data:s})]}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{"data-testid":"new-autorule-button-cancel",text:e.formatMessage({id:"eir_autorules.new_rule.cancel"}),type:"reset",variant:"outlined",disabled:i!=="idle"||!Ue(ie.provisioning)}),a.jsx(Ze,{"data-testid":"new-autorule-button-save",text:e.formatMessage({id:"eir_autorules.new_rule.save"}),type:"submit",disabled:i!=="idle"||!Ue(ie.provisioning)})]})]})}),t[5]=s,t[6]=e,t[7]=i,t[8]=f):f=t[8];let p;return t[9]!==c||t[10]!==d||t[11]!==f?(p=a.jsx(te,{padding:2,children:a.jsx(Wr,{initialValues:u,validationSchema:Qst,onSubmit:c,onReset:d,children:f})}),t[9]=c,t[10]=d,t[11]=f,t[12]=p):p=t[12],p},eit=()=>{const t=he.c(31),e=Ye(),{dialogOpen:r,dialogClose:n}=Jt(),{upsertFetcher:s}=Ys(),{state:i,submit:o}=s;let l;t[0]!==o?(l=k=>{const A=new FormData;A.append("file",k),o(A,{action:$.urls.eirAutorulesCreateBulk_Action,method:"POST",encType:"multipart/form-data"})},t[0]=o,t[1]=l):l=t[1];const c=l;let u;t[2]!==r||t[3]!==e?(u=()=>{r({title:e.formatMessage({id:"eir_autorules.toolbar.new_autorule"}),content:tit,closeOnBackdropClick:!1})},t[2]=r,t[3]=e,t[4]=u):u=t[4];const d=u;let f;t[5]!==n||t[6]!==r||t[7]!==c||t[8]!==e?(f=()=>{r({title:e.formatMessage({id:"eir_autorules.toolbar.import_rules"}),content:()=>a.jsx(wue,{onSubmit:k=>c(k.files[0]),onCancel:()=>n(),min:1,max:1,filesLabel:e.formatMessage({id:"eir_autorules.import.file"}),accept:{"text/csv":[".csv"]},requiredMessage:e.formatMessage({id:"eir_autorules.import.form_errors.required"}),description:e.formatMessage({id:"eir_autorules.import.description"}),exampleFileUrl:"/files/eir_autorules_provisioning_example.csv"}),closeOnBackdropClick:!1})},t[5]=n,t[6]=r,t[7]=c,t[8]=e,t[9]=f):f=t[9];const p=f;let m;t[10]!==e?(m=e.formatMessage({id:"eir_autorules.toolbar.import_rules"}),t[10]=e,t[11]=m):m=t[11];let h;t[12]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(ge.Upload,{}),t[12]=h):h=t[12];let _;t[13]!==i?(_=i!=="idle"||!Ue(ie.provisioning),t[13]=i,t[14]=_):_=t[14];let g;t[15]!==p||t[16]!==m||t[17]!==_?(g=a.jsx(Ze,{"data-testid":"toolbar-button-import-rules",variant:"outlined",text:m,startIcon:h,onClick:p,disabled:_}),t[15]=p,t[16]=m,t[17]=_,t[18]=g):g=t[18];let y;t[19]!==e?(y=e.formatMessage({id:"eir_autorules.toolbar.new_autorule"}),t[19]=e,t[20]=y):y=t[20];let b;t[21]===Symbol.for("react.memo_cache_sentinel")?(b=a.jsx(ge.Add,{}),t[21]=b):b=t[21];let x;t[22]!==i?(x=i!=="idle"||!Ue(ie.provisioning),t[22]=i,t[23]=x):x=t[23];let w;t[24]!==d||t[25]!==x||t[26]!==y?(w=a.jsx(Ze,{"data-testid":"toolbar-button-new-autorule",text:y,startIcon:b,onClick:d,disabled:x}),t[24]=d,t[25]=x,t[26]=y,t[27]=w):w=t[27];let C;return t[28]!==w||t[29]!==g?(C=a.jsxs(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:[g,w]}),t[28]=w,t[29]=g,t[30]=C):C=t[30],C};function tit(){return a.jsx(Jst,{})}const rit=()=>{const t=he.c(47),e=Ye(),{openConfirmDialog:r}=di(),n=Gr(),s=On(),{submit:i,state:o}=gr(),{pageSize:l,pageSizeOptions:c,changePageSize:u,changePage:d,getRowsCount:f,getPage:p}=Na();let m;t[0]!==i||t[1]!==e||t[2]!==r?(m=async z=>{const{supi:H}=z;H&&r({text:e.formatMessage({id:"eir_autorules.actions.confirm_delete"}),onConfirm:()=>{i({supi:H},{action:$.urls.eirAutorulesDelete_Action,method:"POST",encType:"application/json"})}})},t[0]=i,t[1]=e,t[2]=r,t[3]=m):m=t[3];const h=m;let _;t[4]!==e?(_=e.formatMessage({id:"eir_autorules.table.header.supi"}),t[4]=e,t[5]=_):_=t[5];let g;t[6]!==_?(g={key:"supi",label:_,cellRender:nit},t[6]=_,t[7]=g):g=t[7];let y;t[8]!==e?(y=e.formatMessage({id:"eir_autorules.table.header.created_at"}),t[8]=e,t[9]=y):y=t[9];let b;t[10]!==y?(b={key:"created_at",label:y,cellRender:sit},t[10]=y,t[11]=b):b=t[11];let x;t[12]!==e?(x=e.formatMessage({id:"eir_autorules.table.header.modified_at"}),t[12]=e,t[13]=x):x=t[13];let w;t[14]!==x?(w={key:"modified_at",label:x,cellRender:iit},t[14]=x,t[15]=w):w=t[15];let C;t[16]!==g||t[17]!==b||t[18]!==w?(C=[g,b,w],t[16]=g,t[17]=b,t[18]=w,t[19]=C):C=t[19];const k=C;let A;t[20]!==e?(A=e.formatMessage({id:"eir_autorules.actions.delete"}),t[20]=e,t[21]=A):A=t[21];let P;t[22]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(ge.Trash,{}),t[22]=P):P=t[22];let T;t[23]!==h?(T=z=>void h(z),t[23]=h,t[24]=T):T=t[24];let j;t[25]!==o||t[26]!==s.state?(j=s.state!=="idle"||o!=="idle"||!Ue(ie.provisioning),t[25]=o,t[26]=s.state,t[27]=j):j=t[27];let R;t[28]!==T||t[29]!==j||t[30]!==A?(R=[{label:A,icon:P,onClick:T,disabled:j}],t[28]=T,t[29]=j,t[30]=A,t[31]=R):R=t[31];const D=R;let O;t[32]===Symbol.for("react.memo_cache_sentinel")?(O=a.jsx(te,{sx:{height:"100%"},children:a.jsx(Dt,{variant:"rounded",height:"100%"})}),t[32]=O):O=t[32];let N;t[33]===Symbol.for("react.memo_cache_sentinel")?(N=a.jsx(Tr,{}),t[33]=N):N=t[33];let F;t[34]!==d||t[35]!==u||t[36]!==k||t[37]!==o||t[38]!==p||t[39]!==f||t[40]!==l||t[41]!==c||t[42]!==D?(F=z=>{const{data:H,metadata:W}=z;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(eit,{})}),a.jsx(Br,{autoScale:!0,loading:o!=="idle",orderBy:"supi",columns:k,data:H,page:p(W),labelDisplayedRows:oit,rowsCount:f(W),rowsPerPage:l,onRowsPerPageChange:u,rowsPerPageOptions:c,rowKey:"supi",rowActions:D,stickyRowActions:!0,onPageChange:d(W)})]})},t[34]=d,t[35]=u,t[36]=k,t[37]=o,t[38]=p,t[39]=f,t[40]=l,t[41]=c,t[42]=D,t[43]=F):F=t[43];let U;return t[44]!==n.autorules||t[45]!==F?(U=a.jsx(I.Suspense,{fallback:O,children:a.jsx(Qt,{resolve:n.autorules,errorElement:N,children:F})}),t[44]=n.autorules,t[45]=F,t[46]=U):U=t[46],U};function nit(t){const{supi:e}=t;return e?a.jsx(_e,{fontSize:"body2",children:e}):a.jsx(_e,{fontSize:"body2",children:"*"})}function sit(t){const{created_at:e}=t;return a.jsx(_e,{fontSize:"body2",children:Mr(e)})}function iit(t){const{modified_at:e}=t;return a.jsx(_e,{fontSize:"body2",children:Mr(e)})}function oit(){return""}const ait=t=>{const e=he.c(30),{ruleId:r}=t,n=Ye(),{dialogClose:s}=Jt(),i=`${$.urls.eirRules}/${r}`;let o;e[0]!==i?(o={editLoadTo:i},e[0]=i,e[1]=o):o=e[1];const{dataFetcher:l,upsertFetcher:c,isLoading:u}=Ys(o),{data:d,state:f}=l,{data:p,state:m,submit:h}=c;let _;e[2]!==r||e[3]!==h?(_=async C=>{const{status:k,enabled:A}=C;!C||!r||!k||!A||h({id:r,enabled:A,status:k},{action:`${$.urls.eirRules}/update`,method:"POST",encType:"application/json"})},e[2]=r,e[3]=h,e[4]=_):_=e[4];const g=_;let y;e:{if(!d){let O;e[5]===Symbol.for("react.memo_cache_sentinel")?(O={status:"GREYLISTED",enabled:!0,pei:"",autorule:!1,created_at:"",modified_at:"",supi:""},e[5]=O):O=e[5],y=O;break e}const C=d.eirRule?.status??"WHITELISTED",k=d.eirRule.enabled??!0,A=d.eirRule?.pei??"",P=d.eirRule?.autorule??!1,T=d.eirRule?.created_at??"",j=d.eirRule?.modified_at??"",R=d.eirRule?.supi??"";let D;e[6]!==P||e[7]!==T||e[8]!==j||e[9]!==R||e[10]!==C||e[11]!==k||e[12]!==A?(D={status:C,enabled:k,pei:A,autorule:P,created_at:T,modified_at:j,supi:R},e[6]=P,e[7]=T,e[8]=j,e[9]=R,e[10]=C,e[11]=k,e[12]=A,e[13]=D):D=e[13],y=D}const b=y;let x;e[14]!==p||e[15]!==s||e[16]!==m||e[17]!==b.autorule||e[18]!==b.created_at||e[19]!==b.modified_at||e[20]!==b.pei||e[21]!==b.supi||e[22]!==n||e[23]!==u||e[24]!==f?(x=()=>a.jsxs(dn,{canWrite:Ue(ie.provisioning),children:[a.jsx(_s,{loading:u,children:a.jsxs(te,{spacing:2,children:[a.jsx(dt,{disabled:!0,label:n.formatMessage({id:"eir_rules.edit_rule.created_at"}),size:"small",value:Mr(b.created_at),name:"created_at"}),a.jsx(dt,{disabled:!0,label:n.formatMessage({id:"eir_rules.edit_rule.modified_at"}),size:"small",value:Mr(b.modified_at),name:"modified_at"}),a.jsx(dt,{disabled:!0,label:n.formatMessage({id:"eir_rules.edit_rule.autorule"}),size:"small",value:b.autorule,name:"autorule"}),a.jsx(dt,{disabled:!0,label:n.formatMessage({id:"eir_rules.edit_rule.pei"}),size:"small",value:b.pei,name:"pei"}),a.jsx(dt,{disabled:!0,label:n.formatMessage({id:"eir_rules.edit_rule.supi"}),size:"small",value:b.supi,name:"supi"}),a.jsx(Ke,{name:"status",children:C=>{const{field:k,meta:A}=C;return a.jsx(qs,{...k,label:n.formatMessage({id:"eir_rules.edit_rule.status"}),size:"small",error:!!A.error,helperText:A.error,disabled:m!=="idle"||f!=="idle",children:J0.map(P=>a.jsx(En,{value:P,children:n.formatMessage({id:`eir_rules.edit_rule.status.${P}`})},P))})}}),a.jsx(Ke,{name:"enabled",children:C=>{const{field:k,meta:A}=C;return a.jsxs(qs,{...k,label:n.formatMessage({id:"eir_rules.edit_rule.enabled"}),size:"small",error:!!A.error,helperText:A.error,disabled:m!=="idle"||f!=="idle",children:[a.jsx(En,{value:"true",children:n.formatMessage({id:"eir_rules.edit_rule.enabled.true"})}),a.jsx(En,{value:"false",children:n.formatMessage({id:"eir_rules.edit_rule.enabled.false"})})]})}}),a.jsx(Xr,{data:p})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{"data-testid":"edit-rule-button-cancel",text:n.formatMessage({id:"eir_rules.edit_rule.cancel"}),variant:"outlined",disabled:m!=="idle"||f!=="idle"||!Ue(ie.provisioning),onClick:()=>s()}),a.jsx(Ze,{"data-testid":"edit-rule-button-save",text:n.formatMessage({id:"eir_rules.edit_rule.save"}),type:"submit",disabled:m!=="idle"||f!=="idle"||!Ue(ie.provisioning)})]})})]}),e[14]=p,e[15]=s,e[16]=m,e[17]=b.autorule,e[18]=b.created_at,e[19]=b.modified_at,e[20]=b.pei,e[21]=b.supi,e[22]=n,e[23]=u,e[24]=f,e[25]=x):x=e[25];let w;return e[26]!==g||e[27]!==b||e[28]!==x?(w=a.jsx(Wr,{initialValues:b,validationSchema:Xst,enableReinitialize:!0,onSubmit:g,children:x}),e[26]=g,e[27]=b,e[28]=x,e[29]=w):w=e[29],w},u7=()=>{const t=he.c(2),[e]=hl();let r;return t[0]!==e?(r=Object.fromEntries(Object.entries(Object.fromEntries(e)).filter(lit)),t[0]=e,t[1]=r):r=t[1],r};function lit(t){const[,e]=t;return!!e}const cit=()=>{const t=he.c(13),e=Ye(),{dialogClose:r}=Jt(),{upsertFetcher:n}=Ys(),{data:s,state:i,submit:o}=n;let l;t[0]!==o?(l=m=>{const{supi:h,..._}=m;o({..._,...h&&{supi:h}},{action:`${$.urls.eirRules}/create`,method:"POST",encType:"application/json"})},t[0]=o,t[1]=l):l=t[1];const c=l;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u={pei:"",supi:"",status:"WHITELISTED",enabled:!0},t[2]=u):u=t[2];let d;t[3]!==r?(d=()=>r(),t[3]=r,t[4]=d):d=t[4];let f;t[5]!==s||t[6]!==e||t[7]!==i?(f=()=>a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"pei",children:m=>{const{field:h,meta:_}=m;return a.jsx(dt,{...h,label:e.formatMessage({id:"eir_rules.new_rule.pei"}),size:"small",error:!!_.error,helperText:_.error,disabled:i!=="idle"})}}),a.jsx(Ke,{name:"supi",children:m=>{const{field:h,meta:_}=m;return a.jsx(dt,{...h,label:e.formatMessage({id:"eir_rules.new_rule.supi"}),size:"small",error:!!_.error,helperText:_.error,disabled:i!=="idle"})}}),a.jsx(Ke,{name:"status",children:m=>{const{field:h,meta:_}=m;return a.jsx(qs,{...h,label:e.formatMessage({id:"eir_rules.new_rule.status"}),size:"small",error:!!_.error,helperText:_.error,disabled:i!=="idle",children:J0.map(g=>a.jsx(En,{value:g,children:e.formatMessage({id:`eir_rules.new_rule.status.${g}`})},g))})}}),a.jsx(Ke,{name:"enabled",children:m=>{const{field:h,meta:_}=m;return a.jsxs(qs,{...h,label:e.formatMessage({id:"eir_rules.new_rule.enabled"}),size:"small",error:!!_.error,helperText:_.error,disabled:i!=="idle",children:[a.jsx(En,{value:"true",children:e.formatMessage({id:"eir_rules.new_rule.enabled.true"})}),a.jsx(En,{value:"false",children:e.formatMessage({id:"eir_rules.new_rule.enabled.false"})})]})}}),a.jsx(Xr,{data:s})]}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{"data-testid":"new-rule-button-cancel",text:e.formatMessage({id:"eir_rules.new_rule.cancel"}),type:"reset",variant:"outlined",disabled:i!=="idle"||!Ue(ie.provisioning)}),a.jsx(Ze,{"data-testid":"new-rule-button-save",text:e.formatMessage({id:"eir_rules.new_rule.save"}),type:"submit",disabled:i!=="idle"||!Ue(ie.provisioning)})]})]})}),t[5]=s,t[6]=e,t[7]=i,t[8]=f):f=t[8];let p;return t[9]!==c||t[10]!==d||t[11]!==f?(p=a.jsx(te,{padding:2,children:a.jsx(Wr,{initialValues:u,validationSchema:Zst,onSubmit:c,onReset:d,children:f})}),t[9]=c,t[10]=d,t[11]=f,t[12]=p):p=t[12],p};function d7({filter:t,keysToExclude:e=[$.searchParams.pageSize,$.searchParams.paginationToken]}){const r=Object.keys(t??{}).filter(n=>!e?.includes(n));return Object.keys(r).length}const f7=t=>{const e=he.c(3),{children:r}=t;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={px:2,pb:2},e[0]=n):n=e[0];let s;return e[1]!==r?(s=a.jsx(te,{direction:"row",justify:"flex-end",spacing:2,nowrap:!0,sx:n,children:r}),e[1]=r,e[2]=s):s=e[2],s},uit=()=>{const t=he.c(33),e=Ye(),[r,n]=hl();let s;t[0]!==r?(s=r.get("supi"),t[0]=r,t[1]=s):s=t[1];const[i,o]=I.useState(s==="*"),{drawerClose:l}=Jt();let c;t[2]!==l||t[3]!==n||t[4]!==i?(c=w=>{n(C=>{const k=new URLSearchParams;k.set($.searchParams.pageSize,C.get($.searchParams.pageSize)||$.pageSize.toString()),w.pei&&k.set("pei",w.pei);const A=i?"*":w.supi;return A&&k.set("supi",A),w.status&&k.set("status",w.status),w.enabled&&k.set("enabled",w.enabled),w.autorule&&k.set("autorule",w.autorule),k},{replace:!0}),l()},t[2]=l,t[3]=n,t[4]=i,t[5]=c):c=t[5];const u=c;let d;t[6]!==l||t[7]!==n?(d=()=>{n(dit,{replace:!0}),l()},t[6]=l,t[7]=n,t[8]=d):d=t[8];const f=d;let p;t[9]!==r?(p=r.get("pei")??"",t[9]=r,t[10]=p):p=t[10];let m;t[11]!==r?(m=r.get("pei")??"",t[11]=r,t[12]=m):m=t[12];let h;t[13]!==r?(h=r.get("status")??"",t[13]=r,t[14]=h):h=t[14];let _;t[15]!==r?(_=r.get("enabled")??"",t[15]=r,t[16]=_):_=t[16];let g;t[17]!==r?(g=r.get("autorule")??"",t[17]=r,t[18]=g):g=t[18];let y;t[19]!==p||t[20]!==m||t[21]!==h||t[22]!==_||t[23]!==g?(y={pei:p,supi:m,status:h,enabled:_,autorule:g},t[19]=p,t[20]=m,t[21]=h,t[22]=_,t[23]=g,t[24]=y):y=t[24];let b;t[25]!==e||t[26]!==i?(b=()=>a.jsxs(dn,{canWrite:as(ie.provisioning),fullHeight:!0,children:[a.jsx(zp,{children:a.jsx(te,{spacing:2,children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"pei",children:w=>{const{field:C}=w;return a.jsx(dt,{...C,value:C.value||"",label:e.formatMessage({id:"eir_rules.filters.pei"}),size:"small"})}}),a.jsx(Ke,{name:"supi",children:w=>{const{field:C,form:k}=w,{setFieldValue:A}=k,P=()=>{i?A("supi",""):A("supi","*"),o(fit)};return a.jsxs(te,{direction:"row",justify:"stretch",nowrap:!0,align:"center",children:[a.jsx(dt,{...C,value:C.value||"",label:e.formatMessage({id:"eir_rules.filters.supi"}),size:"small",disabled:i,sx:{flexGrow:1}}),a.jsxs(te,{direction:"row",align:"center",sx:{marginLeft:"0px !important",mt:"4px"},nowrap:!0,children:[a.jsx(ti,{onChange:P,value:i,checked:i,size:"small"}),a.jsx(Mn,{title:e.formatMessage({id:"eir_rules.filters.supi.all_tooltip"}),arrow:!0,placement:"top",children:a.jsx(gt,{children:a.jsx(te,{align:"center",children:a.jsx(ge.QuestionMark,{fontSize:"16px"})})})})]})]})}}),a.jsx(Ke,{name:"status",children:w=>{const{field:C,form:k}=w,{setFieldValue:A}=k;return a.jsx(rn,{value:C.value,name:C.name,label:e.formatMessage({id:"eir_rules.filters.status"}),multiple:!1,size:"small",freeSolo:!1,options:["",...J0],onChange:(P,T)=>{A(C.name,T||"")},fullWidth:!0})}}),a.jsx(Ke,{name:"enabled",children:w=>{const{field:C,form:k}=w,{setFieldValue:A}=k;return a.jsx(rn,{value:C.value,name:C.name,label:e.formatMessage({id:"eir_rules.filters.enabled"}),multiple:!1,size:"small",freeSolo:!1,options:["","true","false"],onChange:(P,T)=>{A(C.name,T||"")},fullWidth:!0})}}),a.jsx(Ke,{name:"autorule",children:w=>{const{field:C,form:k}=w,{setFieldValue:A}=k;return a.jsx(rn,{value:C.value,name:C.name,label:e.formatMessage({id:"eir_rules.filters.autorule"}),multiple:!1,size:"small",freeSolo:!1,options:["","true","false"],onChange:(P,T)=>{A(C.name,T||"")},fullWidth:!0})}})]})})}),a.jsxs(f7,{children:[a.jsx(Ze,{"data-testid":"filter-rule-button-reset",text:e.formatMessage({id:"eir_rules.filters.buttons.reset"}),variant:"outlined",disabled:!as(ie.provisioning),type:"reset"}),a.jsx(Ze,{"data-testid":"filter-rule-button-apply",text:e.formatMessage({id:"eir_rules.filters.buttons.apply"}),type:"submit",disabled:!as(ie.provisioning)})]})]}),t[25]=e,t[26]=i,t[27]=b):b=t[27];let x;return t[28]!==f||t[29]!==u||t[30]!==y||t[31]!==b?(x=a.jsx(Wr,{initialValues:y,onSubmit:u,onReset:f,children:b}),t[28]=f,t[29]=u,t[30]=y,t[31]=b,t[32]=x):x=t[32],x};function dit(t){const e=new URLSearchParams;return e.set($.searchParams.pageSize,t.get($.searchParams.pageSize)||$.pageSize.toString()),e}function fit(t){return!t}const pit=t=>{const e=he.c(66),{configuration:r,isDisabled:n}=t,s=n===void 0?!1:n,i=Ye(),o=On(),{dialogOpen:l,dialogClose:c,drawerOpen:u}=Jt(),{upsertFetcher:d}=Ys(),{state:f,submit:p}=d,{upsertFetcher:m}=Ys(),{state:h,submit:_}=m,g=u7();let y;e[0]!==p?(y=se=>{const le=new FormData;le.append("file",se),p(le,{action:$.urls.eirRulesCreateBulk_Action,method:"POST",encType:"multipart/form-data"})},e[0]=p,e[1]=y):y=e[1];const b=y;let x;e[2]!==l||e[3]!==i?(x=()=>{l({title:i.formatMessage({id:"eir_rules.toolbar.new_rule"}),content:mit,closeOnBackdropClick:!1})},e[2]=l,e[3]=i,e[4]=x):x=e[4];const w=x;let C;e[5]!==c||e[6]!==l||e[7]!==b||e[8]!==i?(C=()=>{l({title:i.formatMessage({id:"eir_rules.toolbar.import_rules"}),content:()=>a.jsx(wue,{onSubmit:se=>b(se.files[0]),onCancel:()=>c(),min:1,max:1,filesLabel:i.formatMessage({id:"eir_rules.import.file"}),accept:{"text/csv":[".csv"]},requiredMessage:i.formatMessage({id:"eir_rules.import.form_errors.required"}),description:i.formatMessage({id:"eir_rules.import.description"}),exampleFileUrl:"/files/eir_rules_provisioning_example.csv"}),closeOnBackdropClick:!1})},e[5]=c,e[6]=l,e[7]=b,e[8]=i,e[9]=C):C=e[9];const k=C;let A;e[10]!==u||e[11]!==i?(A=()=>{u({title:i.formatMessage({id:"eir_rules.toolbar.filters"}),content:hit})},e[10]=u,e[11]=i,e[12]=A):A=e[12];const P=A;let T;e[13]!==r.single_rule_per_pei||e[14]!==_?(T=async()=>{_({single_rule_per_pei:!r.single_rule_per_pei},{action:$.urls.eirRulesEquipmentConfigurationSet,method:"POST",encType:"application/json"})},e[13]=r.single_rule_per_pei,e[14]=_,e[15]=T):T=e[15];const j=T;let R;e[16]!==r||e[17]!==j||e[18]!==i||e[19]!==s||e[20]!==o||e[21]!==f||e[22]!==h?(R=r?a.jsxs(te,{direction:"row",align:"center",sx:{mr:1},spacing:0,justify:"flex-start",children:[a.jsx(ti,{checked:r?.single_rule_per_pei,"data-testid":"toolbar-switch-single-rule-per-pei",onChange:()=>void j(),size:"small",disabled:s||o.state!=="idle"||f!=="idle"||h!=="idle"||!Ue(ie.provisioning)}),a.jsx(_e,{type:"body2",children:i.formatMessage({id:"eir_rules.toolbar.configuration"})})]}):null,e[16]=r,e[17]=j,e[18]=i,e[19]=s,e[20]=o,e[21]=f,e[22]=h,e[23]=R):R=e[23];let D;e[24]!==g?(D=d7({filter:g}),e[24]=g,e[25]=D):D=e[25];const O=!D;let N;e[26]!==i?(N=i.formatMessage({id:"eir_rules.toolbar.filters"}),e[26]=i,e[27]=N):N=e[27];let F;e[28]===Symbol.for("react.memo_cache_sentinel")?(F=a.jsx(ge.Filter,{}),e[28]=F):F=e[28];let U;e[29]===Symbol.for("react.memo_cache_sentinel")?(U={width:"100%"},e[29]=U):U=e[29];const z=s||o.state!=="idle"||f!=="idle"||h!=="idle";let H;e[30]!==P||e[31]!==N||e[32]!==z?(H=a.jsx(Ze,{"data-testid":"toolbar-button-filters",variant:"outlined",text:N,startIcon:F,onClick:P,sx:U,disabled:z}),e[30]=P,e[31]=N,e[32]=z,e[33]=H):H=e[33];let W;e[34]!==O||e[35]!==H?(W=a.jsx(Iv,{variant:"dot",invisible:O,children:H}),e[34]=O,e[35]=H,e[36]=W):W=e[36];let K;e[37]!==i?(K=i.formatMessage({id:"eir_rules.toolbar.import_rules"}),e[37]=i,e[38]=K):K=e[38];let q;e[39]===Symbol.for("react.memo_cache_sentinel")?(q=a.jsx(ge.Upload,{}),e[39]=q):q=e[39];let X;e[40]!==s||e[41]!==o||e[42]!==f||e[43]!==h?(X=s||o.state!=="idle"||f!=="idle"||h!=="idle"||!Ue(ie.provisioning),e[40]=s,e[41]=o,e[42]=f,e[43]=h,e[44]=X):X=e[44];let Q;e[45]!==k||e[46]!==K||e[47]!==X?(Q=a.jsx(Ze,{"data-testid":"toolbar-button-import-rules",variant:"outlined",text:K,startIcon:q,onClick:k,disabled:X}),e[45]=k,e[46]=K,e[47]=X,e[48]=Q):Q=e[48];let Y;e[49]!==i?(Y=i.formatMessage({id:"eir_rules.toolbar.new_rule"}),e[49]=i,e[50]=Y):Y=e[50];let Z;e[51]===Symbol.for("react.memo_cache_sentinel")?(Z=a.jsx(ge.Add,{}),e[51]=Z):Z=e[51];let re;e[52]!==s||e[53]!==o||e[54]!==f||e[55]!==h?(re=s||o.state!=="idle"||f!=="idle"||h!=="idle"||!Ue(ie.provisioning),e[52]=s,e[53]=o,e[54]=f,e[55]=h,e[56]=re):re=e[56];let fe;e[57]!==w||e[58]!==Y||e[59]!==re?(fe=a.jsx(Ze,{"data-testid":"toolbar-button-new-rule",text:Y,startIcon:Z,onClick:w,disabled:re}),e[57]=w,e[58]=Y,e[59]=re,e[60]=fe):fe=e[60];let de;return e[61]!==W||e[62]!==Q||e[63]!==fe||e[64]!==R?(de=a.jsxs(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:[R,W,Q,fe]}),e[61]=W,e[62]=Q,e[63]=fe,e[64]=R,e[65]=de):de=e[65],de};function mit(){return a.jsx(cit,{})}function hit(){return a.jsx(uit,{})}const git=()=>{const t=he.c(78),e=Ye(),{openConfirmDialog:r}=di(),n=Gr(),s=On(),i=gr(),{pageSize:o,pageSizeOptions:l,changePageSize:c,changePage:u,getRowsCount:d,getPage:f}=Na(),{dialogOpen:p}=Jt();let m;t[0]!==i||t[1]!==e||t[2]!==r?(m=async le=>{const{id:ee}=le;ee&&r({text:e.formatMessage({id:"eir_rules.actions.confirm_delete"}),onConfirm:()=>{i.submit({id:ee},{action:$.urls.eirRulesDelete_Action,method:"POST",encType:"application/json"})}})},t[0]=i,t[1]=e,t[2]=r,t[3]=m):m=t[3];const h=m;let _;t[4]!==e?(_=e.formatMessage({id:"eir_rules.table.header.pei"}),t[4]=e,t[5]=_):_=t[5];let g;t[6]!==_?(g={key:"pei",label:_},t[6]=_,t[7]=g):g=t[7];let y;t[8]!==e?(y=e.formatMessage({id:"eir_rules.table.header.supi"}),t[8]=e,t[9]=y):y=t[9];let b;t[10]!==y?(b={key:"supi",label:y,cellRender:_it},t[10]=y,t[11]=b):b=t[11];let x;t[12]!==e?(x=e.formatMessage({id:"eir_rules.table.header.status"}),t[12]=e,t[13]=x):x=t[13];let w;t[14]!==x?(w={key:"status",label:x},t[14]=x,t[15]=w):w=t[15];let C;t[16]!==e?(C=e.formatMessage({id:"eir_rules.table.header.enabled"}),t[16]=e,t[17]=C):C=t[17];let k;t[18]!==C?(k={key:"enabled",label:C},t[18]=C,t[19]=k):k=t[19];let A;t[20]!==e?(A=e.formatMessage({id:"eir_rules.table.header.created_at"}),t[20]=e,t[21]=A):A=t[21];let P;t[22]!==A?(P={key:"created_at",label:A},t[22]=A,t[23]=P):P=t[23];let T;t[24]!==e?(T=e.formatMessage({id:"eir_rules.table.header.modified_at"}),t[24]=e,t[25]=T):T=t[25];let j;t[26]!==T?(j={key:"modified_at",label:T},t[26]=T,t[27]=j):j=t[27];let R;t[28]!==e?(R=e.formatMessage({id:"eir_rules.table.header.autorule"}),t[28]=e,t[29]=R):R=t[29];let D;t[30]!==R?(D={key:"autorule",label:R,cellRender:vit,width:"80"},t[30]=R,t[31]=D):D=t[31];let O;t[32]!==P||t[33]!==j||t[34]!==D||t[35]!==g||t[36]!==b||t[37]!==w||t[38]!==k?(O=[g,b,w,k,P,j,D],t[32]=P,t[33]=j,t[34]=D,t[35]=g,t[36]=b,t[37]=w,t[38]=k,t[39]=O):O=t[39];const N=O;let F;t[40]===Symbol.for("react.memo_cache_sentinel")?(F=_l(ie.provisioning),t[40]=F):F=t[40];const U=s.state!=="idle"||i.state!=="idle";let z;t[41]!==p||t[42]!==e?(z=le=>{p({title:e.formatMessage({id:"eir_rules.edit_rule.title"}),content:()=>a.jsx(ait,{ruleId:le.id}),closeOnBackdropClick:!1})},t[41]=p,t[42]=e,t[43]=z):z=t[43];let H;t[44]!==U||t[45]!==z?(H={...F,disabled:U,onClick:z},t[44]=U,t[45]=z,t[46]=H):H=t[46];let W;t[47]!==e?(W=e.formatMessage({id:"eir_rules.actions.delete"}),t[47]=e,t[48]=W):W=t[48];let K;t[49]===Symbol.for("react.memo_cache_sentinel")?(K=a.jsx(ge.Trash,{}),t[49]=K):K=t[49];let q;t[50]!==i.state||t[51]!==s.state?(q=s.state!=="idle"||i.state!=="idle"||!Ue(ie.provisioning),t[50]=i.state,t[51]=s.state,t[52]=q):q=t[52];let X;t[53]!==h?(X=le=>void h(le),t[53]=h,t[54]=X):X=t[54];let Q;t[55]!==W||t[56]!==q||t[57]!==X?(Q={label:W,icon:K,disabled:q,onClick:X},t[55]=W,t[56]=q,t[57]=X,t[58]=Q):Q=t[58];let Y;t[59]!==H||t[60]!==Q?(Y=[H,Q],t[59]=H,t[60]=Q,t[61]=Y):Y=t[61];const Z=Y;let re;t[62]===Symbol.for("react.memo_cache_sentinel")?(re=a.jsx(te,{sx:{height:"100%"},children:a.jsx(Dt,{variant:"rounded",height:"100%"})}),t[62]=re):re=t[62];let fe;t[63]===Symbol.for("react.memo_cache_sentinel")?(fe=a.jsx(Tr,{}),t[63]=fe):fe=t[63];let de;t[64]!==u||t[65]!==c||t[66]!==N||t[67]!==n.equipmentConfiguration||t[68]!==i.state||t[69]!==f||t[70]!==d||t[71]!==o||t[72]!==l||t[73]!==Z?(de=le=>{const{data:ee,metadata:J}=le;return a.jsxs(a.Fragment,{children:[a.jsx(I.Suspense,{fallback:a.jsx(Dt,{variant:"rounded",height:"38px"}),children:a.jsx(Qt,{resolve:n.equipmentConfiguration,errorElement:a.jsx(Tr,{}),children:me=>a.jsx(hs,{children:a.jsx(pit,{configuration:me,isDisabled:i.state!=="idle"})})})}),a.jsx(Br,{autoScale:!0,loading:i.state!=="idle",orderBy:"pei",columns:N,data:ee,page:f(J),labelDisplayedRows:yit,rowsCount:d(J),rowsPerPage:o,onRowsPerPageChange:c,rowsPerPageOptions:l,rowKey:"id",rowActions:Z,stickyRowActions:!0,onPageChange:u(J)})]})},t[64]=u,t[65]=c,t[66]=N,t[67]=n.equipmentConfiguration,t[68]=i.state,t[69]=f,t[70]=d,t[71]=o,t[72]=l,t[73]=Z,t[74]=de):de=t[74];let se;return t[75]!==n.rules||t[76]!==de?(se=a.jsx(I.Suspense,{fallback:re,children:a.jsx(Qt,{resolve:n.rules,errorElement:fe,children:de})}),t[75]=n.rules,t[76]=de,t[77]=se):se=t[77],se};function _it(t){const{supi:e}=t;return e?a.jsx(_e,{type:"body2",children:e}):a.jsx(_e,{children:"*"})}function vit(t){const{autorule:e}=t;return e?a.jsx(_e,{align:"center",children:a.jsx(ge.Magic,{})}):a.jsx(a.Fragment,{})}function yit(){return""}const bit=async({status:t,enabled:e,autorule:r,supi:n,pei:s,pageSize:i,paginationToken:o})=>{const l=new URLSearchParams({...i&&{max_results:i},...s&&{pei_icont:s},...n&&n!=="*"&&{supi_icont:n},...t&&J0.includes(t)&&{status_eq:t},...e==="true"&&{enabled_true:"true"},...e==="false"&&{enabled_false:"false"},...r==="true"&&{autorule_true:"true"},...r==="false"&&{autorule_false:"false"},...o&&{pagination_token:o}}),c=`${$.apis.eir.rules}?${l}`;return De({options:{url:c,method:"GET",cache:!1}})};async function xit({id:t}){const e=`${$.apis.eir.rules}/${encodeURIComponent(t)}`;return De({options:{url:e,method:"GET"}})}const Sit=async t=>{const e=$.apis.eir.rules;return De({options:{url:e,method:"POST",data:JSON.stringify(t),cache:!1}})},wit=async({id:t,...e})=>{const r=`${$.apis.eir.rules}/${t}`;return De({options:{url:r,method:"PATCH",data:JSON.stringify(e),cache:!1}})},Cit=async t=>{const e=`${$.apis.eir.rules}/${t}`;return De({options:{url:e,method:"DELETE",cache:!1}})},Ait=async t=>{const e=$.apis.eir.rules;return De({options:{url:e,method:"PATCH",headers:{"content-type":"multipart/form-data"},data:t,cache:!1}})},kit=async()=>{const t=`${$.apis.eir.equipmentRuleConfiguration}`;return De({options:{url:t,method:"GET",cache:!1}})},Mit=async t=>{const e=`${$.apis.eir.equipmentRuleConfiguration}`;return De({options:{url:e,method:"PUT",data:JSON.stringify(t)}})},Pit=async({pageSize:t=$.pageSize,paginationToken:e}={pageSize:$.pageSize})=>{let r=`${$.apis.eir.autorules}?max_results=${t}`;return e&&(r+=`&pagination_token=${e}`),De({options:{url:r,method:"GET",cache:!1}})},jit=async t=>{const e=$.apis.eir.autorules;return De({options:{url:e,method:"POST",data:JSON.stringify(t),cache:!1}})},Tit=async t=>{const e=`${$.apis.eir.autorules}/${t}`;return De({options:{url:e,method:"DELETE",cache:!1}})},Eit=async t=>{const e=$.apis.eir.autorules;return De({options:{url:e,method:"PATCH",headers:{"content-type":"multipart/form-data"},data:t,cache:!1}})};async function Rit({request:t}){const e=await t.json(),r=await Sit(e);return xt(r)?Ar():Nt(),Ft(r)}async function Iit({request:t}){const e=await t.json(),r=await wit(e);return xt(r)?Ar():Nt(),Ft(r)}async function Dit({request:t}){const{id:e}=await t.json(),r=await Cit(e);return xt(r)?Ar():Nt(),Ft(r)}async function $it({request:t}){const e=await t.formData(),r=await Ait(e);return xt(r)?Ar():Nt(),Ft(r)}async function Oit({request:t}){const e=await t.json(),r=await Mit(e);return xt(r)?Ar():Nt(),Ft(r)}async function Lit({request:t}){const e=await t.json(),r=await jit(e);return xt(r)?Ar():Nt(),Ft(r)}async function Nit({request:t}){const{supi:e}=await t.json(),r=await Tit(e);return xt(r)?Ar():Nt(),Ft(r)}async function Fit({request:t}){const e=await t.formData(),r=await Eit(e);return xt(r)?Ar():Nt(),Ft(r)}async function Uit(t){const e=new URL(t.request.url),r=e.searchParams.get("pei"),n=e.searchParams.get("supi"),s=e.searchParams.get("status"),i=e.searchParams.get("enabled"),o=e.searchParams.get("autorule"),{pageSize:l,paginationToken:c}=Fa(t);return s&&!J0.includes(s)?(e.searchParams.delete("status"),rt(e.href)):i&&!["true","false"].includes(i)?(e.searchParams.delete("enabled"),rt(e.href)):o&&!["true","false"].includes(o)?(e.searchParams.delete("autorule"),rt(e.href)):Wt({loaderArgs:t,deferred:!0,data:{rules:bit({pageSize:l,paginationToken:c,pei:r,supi:n,status:s,enabled:i,autorule:o}),equipmentConfiguration:kit()}})}async function Bit(t){const{id:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{eirRule:xit({id:e})}}):null}async function zit(t){const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{autorules:Pit({pageSize:e,paginationToken:r})}})}const qit=Pr(),Vit={path:"eir",handle:vr({labelIntl:"route.eir",icon:a.jsx(ge.EIR,{})}),children:[{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.EIR,{dbCluster:!0})]},{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{path:"status",handle:vr({labelIntl:"route.eir.status",to:"/eir/status"}),element:a.jsx(Ao,{tabs:[{url:"diameter",label:qit.formatMessage({id:"route.diameter"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"diameter",replace:!0})},qp({path:"diameter",nf:ue.EIR})]},io(ue.EIR),{path:"rules",handle:vr({labelIntl:"route.eir.rules",to:"/eir/rules"}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:Uit,element:a.jsx(git,{})},{path:":id",loader:Bit,element:a.jsx(ur,{to:"/eir/rules",replace:!0})},{action:Rit,path:"create",loader:()=>rt("..")},{action:Iit,path:"update",loader:()=>rt("..")},{action:Dit,path:"delete",loader:()=>rt("..")},{action:$it,path:"create-bulk",loader:()=>rt("..")},{action:Oit,path:"equipment-configuration-set",loader:()=>rt("..")}]},{path:"auto-rules",handle:vr({labelIntl:"route.eir.auto-rules",to:"/eir/auto-rules"}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:zit,element:a.jsx(rit,{})},{action:Lit,path:"create",loader:()=>rt("..")},{action:Nit,path:"delete",loader:()=>rt("..")},{action:Fit,path:"create-bulk",loader:()=>rt("..")}]}]}]};function Aue(t){const e=he.c(6),{value:r,language:n}=t,s=ci();let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i={p:1,flex:"1 1 auto",width:"100%",border:"1px solid",borderColor:"grey.400",borderRadius:1},e[0]=i):i=e[0];const o=s.palette.mode==="light"?"light":"vs-dark";let l;e[1]===Symbol.for("react.memo_cache_sentinel")?(l={automaticLayout:!0,autoClosingBrackets:"always",autoClosingQuotes:"always",autoIndent:"full",formatOnPaste:!0,formatOnType:!0,detectIndentation:!0,readOnly:!0},e[1]=l):l=e[1];let c;return e[2]!==n||e[3]!==o||e[4]!==r?(c=a.jsx(te,{fullHeight:!0,fullWidth:!0,nowrap:!0,spacing:.5,children:a.jsx(gt,{sx:i,children:a.jsx(SL,{value:r,language:n,theme:o,options:l})})}),e[2]=n,e[3]=o,e[4]=r,e[5]=c):c=e[5],c}function Hit(t){const e=he.c(22),{domain:r}=t,n=Ye(),{dialogClose:s}=Jt();let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i={to:"mme/status/dns/cache"},e[0]=i):i=e[0];const{data:o}=Dv(i);o?.cache;let l;e[1]!==o?.cache||e[2]!==r?(l=o?.cache.find(g=>g.query?.domain===r),e[1]=o?.cache,e[2]=r,e[3]=l):l=e[3];const c=l;let u;e[4]!==c?(u=c&&a.jsx(Aue,{value:JSON.stringify(c??null,null,2),language:"json"}),e[4]=c,e[5]=u):u=e[5];let d;e[6]!==c||e[7]!==n?(d=!c&&a.jsx(Lr,{severity:"warning",message:n.formatMessage({id:"mme.dns.status.cache.no_data"})}),e[6]=c,e[7]=n,e[8]=d):d=e[8];let f;e[9]!==u||e[10]!==d?(f=a.jsx(_s,{children:a.jsxs(te,{fullHeight:!0,align:"center",justify:"center",children:[u,d]})}),e[9]=u,e[10]=d,e[11]=f):f=e[11];let p;e[12]!==n?(p=n.formatMessage({id:"info_dialog.close"}),e[12]=n,e[13]=p):p=e[13];let m;e[14]!==s?(m=()=>{s()},e[14]=s,e[15]=m):m=e[15];let h;e[16]!==p||e[17]!==m?(h=a.jsx(Ti,{children:a.jsx(Ze,{text:p,onClick:m})}),e[16]=p,e[17]=m,e[18]=h):h=e[18];let _;return e[19]!==f||e[20]!==h?(_=a.jsxs(a.Fragment,{children:[f,h]}),e[19]=f,e[20]=h,e[21]=_):_=e[21],_}function Git(){const t=he.c(35),e=Ye(),{dialogOpen:r}=Jt(),n=Gr(),s=On(),i=gl();let o;t[0]!==i?(o=async()=>{i({},{method:"POST",encType:"application/json",action:"flush"})},t[0]=i,t[1]=o):o=t[1];const l=o;let c;t[2]!==e?(c=e.formatMessage({id:"mme.dns.status.cache.query.domain"}),t[2]=e,t[3]=c):c=t[3];let u;t[4]!==c?(u={key:"query.domain",label:c,cellRender:Kit},t[4]=c,t[5]=u):u=t[5];let d;t[6]!==e?(d=e.formatMessage({id:"mme.dns.status.cache.query.type"}),t[6]=e,t[7]=d):d=t[7];let f;t[8]!==d?(f={key:"query.type",label:d,cellRender:Yit},t[8]=d,t[9]=f):f=t[9];let p;t[10]!==e?(p=e.formatMessage({id:"mme.dns.status.cache.expiration"}),t[10]=e,t[11]=p):p=t[11];let m;t[12]!==e?(m=A=>{const{expired:P,expires_s:T}=A;return a.jsx(a.Fragment,{children:P?a.jsx(bi,{label:e.formatMessage({id:"mme.dns.status.cache.expired"}),status:nn.ERROR}):T&&a.jsx(_e,{type:"body2",children:Mr(T)})})},t[12]=e,t[13]=m):m=t[13];let h;t[14]!==p||t[15]!==m?(h={key:"expires",label:p,cellRender:m},t[14]=p,t[15]=m,t[16]=h):h=t[16];let _;t[17]!==u||t[18]!==f||t[19]!==h?(_=[u,f,h],t[17]=u,t[18]=f,t[19]=h,t[20]=_):_=t[20];const g=_;let y;t[21]!==r||t[22]!==e?(y=A=>[{label:e.formatMessage({id:"mme.dns.status.cache.details"}),icon:a.jsx(ge.Details,{}),disabled:Wit,onClick:P=>{const{query:T}=P,j=A.find(R=>R.query?.domain===T?.domain);r({fullScreen:!0,title:`${j?j.query?.domain:""}`,content:()=>a.jsx(Hit,{domain:T?.domain})})}}],t[21]=r,t[22]=e,t[23]=y):y=t[23];const b=y;let x;t[24]===Symbol.for("react.memo_cache_sentinel")?(x=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[24]=x):x=t[24];let w;t[25]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(en,{}),t[25]=w):w=t[25];let C;t[26]!==g||t[27]!==l||t[28]!==e||t[29]!==s.state||t[30]!==b?(C=A=>a.jsx(a.Fragment,{children:a.jsx(Br,{autoScale:!0,data:A||[],orderBy:"query",page:0,loading:s.state!=="idle",rowsCount:A?.length,rowsPerPage:A?.length,rowKey:"query",columns:g,hidePagination:!0,rowActions:b(A),stickyRowActions:!0,customFooterComponent:a.jsx(gt,{sx:{px:1},children:a.jsx(Ze,{startIcon:a.jsx(ge.Clear,{}),disabled:s.state==="loading"||!Ue(ie.monitoring),loading:s.state==="submitting",variant:"outlined",onClick:()=>void l(),text:e.formatMessage({id:"mme.dns.status.cache.actions.flush_cache"})})})})}),t[26]=g,t[27]=l,t[28]=e,t[29]=s.state,t[30]=b,t[31]=C):C=t[31];let k;return t[32]!==n.dnsCache||t[33]!==C?(k=a.jsx(I.Suspense,{fallback:x,children:a.jsx(Qt,{resolve:n.dnsCache,errorElement:w,children:C})}),t[32]=n.dnsCache,t[33]=C,t[34]=k):k=t[34],k}function Wit(){return!Ue(ie.monitoring)}function Yit(t){const{query:e}=t;return a.jsx(_e,{type:"body2",children:e?.type&&e.type.toUpperCase()})}function Kit(t){const{query:e}=t;return a.jsx(_e,{type:"body2",children:e?.domain})}const Qit=WIe("table",{shouldForwardProp:t=>t!=="showBorder"})(({theme:t})=>({borderSpacing:0,borderCollapse:"collapse","td, th":{borderBottom:`1px solid ${t.palette.divider}`},"tr:last-child td":{borderBottom:"none"}}));function Zit(t){const e=he.c(27),{columns:r,data:n,title:s}=t;let i;e[0]!==r.length?(i=_=>_===0?"left":_===r.length-1?"right":"center",e[0]=r.length,e[1]=i):i=e[1];const o=i;let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l={width:"max-content"},e[2]=l):l=e[2];let c;e[3]!==s?(c=s&&a.jsx(_e,{align:"center",fontSize:"small",fontWeight:"600",children:s}),e[3]=s,e[4]=c):c=e[4];let u;if(e[5]!==r||e[6]!==o){let _;e[8]!==o?(_=(g,y)=>{const{label:b}=g;return a.jsx("th",{children:a.jsx(_e,{align:o(y),fontSize:"small",fontWeight:600,children:b})},y)},e[8]=o,e[9]=_):_=e[9],u=r.map(_),e[5]=r,e[6]=o,e[7]=u}else u=e[7];let d;e[10]!==u?(d=a.jsx("thead",{children:a.jsx("tr",{children:u})}),e[10]=u,e[11]=d):d=e[11];let f;if(e[12]!==r||e[13]!==n||e[14]!==o){let _;e[16]!==r||e[17]!==o?(_=(g,y)=>a.jsx("tr",{children:r.map((b,x)=>{const{key:w}=b;return a.jsx("td",{children:a.jsx(_e,{align:o(x),fontSize:"small",children:`${g[w]}`})},x)})},y),e[16]=r,e[17]=o,e[18]=_):_=e[18],f=n.map(_),e[12]=r,e[13]=n,e[14]=o,e[15]=f}else f=e[15];let p;e[19]!==f?(p=a.jsx("tbody",{children:f}),e[19]=f,e[20]=p):p=e[20];let m;e[21]!==d||e[22]!==p?(m=a.jsxs(Qit,{children:[d,p]}),e[21]=d,e[22]=p,e[23]=m):m=e[23];let h;return e[24]!==c||e[25]!==m?(h=a.jsxs(te,{spacing:0,sx:l,children:[c,m]}),e[24]=c,e[25]=m,e[26]=h):h=e[26],h}function Xit(t){const e=he.c(17),{data:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"mme.m3.status.connections.m3_sessions.cl.id"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==s?(i={key:"mce_id",label:s},e[2]=s,e[3]=i):i=e[3];let o;e[4]!==n?(o=n.formatMessage({id:"mme.m3.status.connections.m3_sessions.cl.plmn"}),e[4]=n,e[5]=o):o=e[5];let l;e[6]!==o?(l={key:"plmn",label:o},e[6]=o,e[7]=l):l=e[7];let c;e[8]!==i||e[9]!==l?(c=[i,l],e[8]=i,e[9]=l,e[10]=c):c=e[10];const u=c;let d;e[11]!==n?(d=n.formatMessage({id:"mme.m3.status.connections.m3_sessions.cl"}),e[11]=n,e[12]=d):d=e[12];let f;return e[13]!==u||e[14]!==r||e[15]!==d?(f=a.jsx(Zit,{columns:u,data:r,title:d}),e[13]=u,e[14]=r,e[15]=d,e[16]=f):f=e[16],f}function Jit(t){const e=he.c(40),{row:r}=t,n=Ye();let s;e[0]!==n||e[1]!==r.id?(s=r.id&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.id"})}),a.jsx(_e,{fontSize:"small",children:r.id})]}),e[0]=n,e[1]=r.id,e[2]=s):s=e[2];let i;e[3]!==n||e[4]!==r.mce_name?(i=r.mce_name&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.mce_name"})}),a.jsx(_e,{fontSize:"small",children:r.mce_name})]}),e[3]=n,e[4]=r.mce_name,e[5]=i):i=e[5];let o;e[6]!==n||e[7]!==r.service_areas?(o=r.service_areas&&r.service_areas.length&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.service_areas"})}),r.service_areas.map(tot)]}),e[6]=n,e[7]=r.service_areas,e[8]=o):o=e[8];let l;e[9]!==n||e[10]!==r.global_mce_id?(l=r.global_mce_id?.mce_id&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.global_mce_id.id"})}),a.jsx(_e,{fontSize:"small",children:r.global_mce_id.mce_id})]}),e[9]=n,e[10]=r.global_mce_id,e[11]=l):l=e[11];let c;e[12]!==n||e[13]!==r.global_mce_id?(c=r.global_mce_id?.plmn&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.global_mce_id.plmn"})}),a.jsx(_e,{fontSize:"small",children:r.global_mce_id.plmn})]}),e[12]=n,e[13]=r.global_mce_id,e[14]=c):c=e[14];let u;e[15]!==n||e[16]!==r.m3_sessions?(u=r.m3_sessions?.tmgi&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.m3_sessions.tmgi"})}),a.jsx(_e,{fontSize:"small",children:r.m3_sessions.tmgi})]}),e[15]=n,e[16]=r.m3_sessions,e[17]=u):u=e[17];let d;e[18]!==n||e[19]!==r.m3_sessions?(d=r.m3_sessions?.flow!==void 0&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.m3_sessions.flow"})}),a.jsx(_e,{fontSize:"small",children:r.m3_sessions.flow})]}),e[18]=n,e[19]=r.m3_sessions,e[20]=d):d=e[20];let f;e[21]!==n||e[22]!==r.m3_sessions?(f=r.m3_sessions?.sas&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.m3_sessions.sas"})}),r.m3_sessions.sas.map(eot)]}),e[21]=n,e[22]=r.m3_sessions,e[23]=f):f=e[23];let p;e[24]!==r.m3_sessions?(p=r.m3_sessions?.cl&&a.jsx(Is,{size:{xs:6,sm:4,md:3,lg:2},children:a.jsx(Xit,{data:r.m3_sessions.cl})}),e[24]=r.m3_sessions,e[25]=p):p=e[25];let m;e[26]!==n||e[27]!==r.m3_sessions_count?(m=r.m3_sessions_count&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.m3_sessions_count"})}),a.jsx(_e,{fontSize:"small",children:r.m3_sessions_count})]}),e[26]=n,e[27]=r.m3_sessions_count,e[28]=m):m=e[28];let h;return e[29]!==s||e[30]!==m||e[31]!==i||e[32]!==o||e[33]!==l||e[34]!==c||e[35]!==u||e[36]!==d||e[37]!==f||e[38]!==p?(h=a.jsxs(al,{children:[s,i,o,l,c,u,d,f,p,m]}),e[29]=s,e[30]=m,e[31]=i,e[32]=o,e[33]=l,e[34]=c,e[35]=u,e[36]=d,e[37]=f,e[38]=p,e[39]=h):h=e[39],h}function eot(t,e){return a.jsx(_e,{fontSize:"small",children:t},e)}function tot(t,e){return a.jsx(_e,{fontSize:"small",children:t},e)}function rot(){const t=he.c(42),e=Ye(),r=Gr();let n;t[0]!==e?(n=e.formatMessage({id:"mme.m3.status.connections.connection_id"}),t[0]=e,t[1]=n):n=t[1];let s;t[2]!==n?(s={key:"connection_id",label:n},t[2]=n,t[3]=s):s=t[3];let i;t[4]!==e?(i=e.formatMessage({id:"mme.m3.status.connections.local_addrs"}),t[4]=e,t[5]=i):i=t[5];let o;t[6]!==i?(o={key:"local_addrs",label:i,cellRender:oot},t[6]=i,t[7]=o):o=t[7];let l;t[8]!==e?(l=e.formatMessage({id:"mme.m3.status.connections.local_port"}),t[8]=e,t[9]=l):l=t[9];let c;t[10]!==l?(c={key:"local_port",label:l},t[10]=l,t[11]=c):c=t[11];let u;t[12]!==e?(u=e.formatMessage({id:"mme.m3.status.connections.remote_addrs"}),t[12]=e,t[13]=u):u=t[13];let d;t[14]!==u?(d={key:"remote_addrs",label:u,cellRender:sot},t[14]=u,t[15]=d):d=t[15];let f;t[16]!==e?(f=e.formatMessage({id:"mme.m3.status.connections.remote_port"}),t[16]=e,t[17]=f):f=t[17];let p;t[18]!==f?(p={key:"remote_port",label:f},t[18]=f,t[19]=p):p=t[19];let m;t[20]!==e?(m=e.formatMessage({id:"mme.m3.status.connections.transport_name"}),t[20]=e,t[21]=m):m=t[21];let h;t[22]!==m?(h={key:"transport_name",label:m},t[22]=m,t[23]=h):h=t[23];let _;t[24]!==e?(_=e.formatMessage({id:"mme.m3.status.connections.connection_ts"}),t[24]=e,t[25]=_):_=t[25];let g;t[26]!==_?(g={key:"connection_ts",label:_},t[26]=_,t[27]=g):g=t[27];let y;t[28]!==s||t[29]!==h||t[30]!==g||t[31]!==o||t[32]!==c||t[33]!==d||t[34]!==p?(y=[s,o,c,d,p,h,g],t[28]=s,t[29]=h,t[30]=g,t[31]=o,t[32]=c,t[33]=d,t[34]=p,t[35]=y):y=t[35];const b=y;let x;t[36]===Symbol.for("react.memo_cache_sentinel")?(x=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[36]=x):x=t[36];let w;t[37]!==b?(w=k=>a.jsx(Br,{autoScale:!0,data:k||[],orderBy:"connection_id",page:0,rowsCount:k?.length,rowsPerPage:k?.length,rowKey:"connection_id",columns:b,hidePagination:!0,rowDetail:{content:not}}),t[37]=b,t[38]=w):w=t[38];let C;return t[39]!==r.connections||t[40]!==w?(C=a.jsx(I.Suspense,{fallback:x,children:a.jsx(Qt,{resolve:r.connections,children:w})}),t[39]=r.connections,t[40]=w,t[41]=C):C=t[41],C}function not(t){return a.jsx(Jit,{row:t})}function sot(t){const{remote_addrs:e}=t,r=e.map(iot);return a.jsx(ks,{size:"small",items:r})}function iot(t){return{label:`${t}`,id:`${t}`}}function oot(t){const{local_addrs:e}=t,r=e.map(aot);return a.jsx(ks,{size:"small",items:r})}function aot(t){return{label:`${t}`,id:`${t}`}}function lot(){const t=he.c(88),e=Ye(),r=Gr(),n=gl(),s=On();let i;t[0]!==n?(i=async ee=>{n({enbId:ee},{method:"POST",encType:"application/json",action:"disconnect"})},t[0]=n,t[1]=i):i=t[1];const o=i;let l;t[2]!==n?(l=async ee=>{n({enbId:ee},{method:"POST",encType:"application/json",action:"reset"})},t[2]=n,t[3]=l):l=t[3];const c=l;let u;t[4]!==e?(u=e.formatMessage({id:"mme.s1ap.status.connections.local_addrs"}),t[4]=e,t[5]=u):u=t[5];let d;t[6]!==u?(d={key:"local_addrs",label:u,cellRender:_ot},t[6]=u,t[7]=d):d=t[7];let f;t[8]!==e?(f=e.formatMessage({id:"mme.s1ap.status.connections.local_port"}),t[8]=e,t[9]=f):f=t[9];let p;t[10]!==f?(p={key:"local_port",label:f},t[10]=f,t[11]=p):p=t[11];let m;t[12]!==e?(m=e.formatMessage({id:"mme.s1ap.status.connections.remote_addrs"}),t[12]=e,t[13]=m):m=t[13];let h;t[14]!==m?(h={key:"remote_addrs",label:m,cellRender:hot},t[14]=m,t[15]=h):h=t[15];let _;t[16]!==e?(_=e.formatMessage({id:"mme.s1ap.status.connections.remote_port"}),t[16]=e,t[17]=_):_=t[17];let g;t[18]!==_?(g={key:"remote_port",label:_},t[18]=_,t[19]=g):g=t[19];let y;t[20]!==e?(y=e.formatMessage({id:"mme.s1ap.status.connections.enb_name"}),t[20]=e,t[21]=y):y=t[21];let b;t[22]!==y?(b={key:"enb_name",label:y},t[22]=y,t[23]=b):b=t[23];let x;t[24]!==e?(x=e.formatMessage({id:"mme.s1ap.status.connections.transport_name"}),t[24]=e,t[25]=x):x=t[25];let w;t[26]!==x?(w={key:"transport_name",label:x},t[26]=x,t[27]=w):w=t[27];let C;t[28]!==e?(C=e.formatMessage({id:"mme.s1ap.status.connections.srb_count"}),t[28]=e,t[29]=C):C=t[29];let k;t[30]!==C?(k={key:"srb_count",label:C},t[30]=C,t[31]=k):k=t[31];let A;t[32]!==e?(A=e.formatMessage({id:"mme.s1ap.status.connections.connection_ts"}),t[32]=e,t[33]=A):A=t[33];let P;t[34]!==A?(P={key:"connection_ts",label:A,cellRender:mot},t[34]=A,t[35]=P):P=t[35];let T;t[36]!==e?(T=e.formatMessage({id:"mme.s1ap.status.connections.connection_id"}),t[36]=e,t[37]=T):T=t[37];let j;t[38]!==T?(j={key:"connection_id",label:T},t[38]=T,t[39]=j):j=t[39];let R;t[40]!==e?(R=e.formatMessage({id:"mme.s1ap.status.connections.global_enb_id"}),t[40]=e,t[41]=R):R=t[41];let D;t[42]!==R?(D={key:"global_enb_id",label:R,cellRender:pot},t[42]=R,t[43]=D):D=t[43];let O;t[44]!==e?(O=e.formatMessage({id:"mme.s1ap.status.connections.tai"}),t[44]=e,t[45]=O):O=t[45];let N;t[46]!==O?(N={key:"tai",label:O,cellRender:dot},t[46]=O,t[47]=N):N=t[47];let F;t[48]!==b||t[49]!==w||t[50]!==k||t[51]!==P||t[52]!==j||t[53]!==D||t[54]!==N||t[55]!==d||t[56]!==p||t[57]!==h||t[58]!==g?(F=[d,p,h,g,b,w,k,P,j,D,N],t[48]=b,t[49]=w,t[50]=k,t[51]=P,t[52]=j,t[53]=D,t[54]=N,t[55]=d,t[56]=p,t[57]=h,t[58]=g,t[59]=F):F=t[59];const U=F;let z;t[60]!==e?(z=e.formatMessage({id:"mme.s1ap.status.connections.actions.disconnect"}),t[60]=e,t[61]=z):z=t[61];let H;t[62]===Symbol.for("react.memo_cache_sentinel")?(H=a.jsx(ge.Disconnect,{}),t[62]=H):H=t[62];let W;t[63]!==o?(W=async ee=>{const{id:J}=ee;J&&o(J)},t[63]=o,t[64]=W):W=t[64];let K;t[65]!==z||t[66]!==W?(K={label:z,icon:H,disabled:uot,onClick:W},t[65]=z,t[66]=W,t[67]=K):K=t[67];let q;t[68]!==e?(q=e.formatMessage({id:"mme.s1ap.status.connections.actions.reset"}),t[68]=e,t[69]=q):q=t[69];let X;t[70]===Symbol.for("react.memo_cache_sentinel")?(X=a.jsx(ge.Refresh,{}),t[70]=X):X=t[70];let Q;t[71]!==c?(Q=async ee=>{const{id:J}=ee;J&&c(J)},t[71]=c,t[72]=Q):Q=t[72];let Y;t[73]!==q||t[74]!==Q?(Y={label:q,icon:X,disabled:cot,onClick:Q},t[73]=q,t[74]=Q,t[75]=Y):Y=t[75];let Z;t[76]!==K||t[77]!==Y?(Z=[K,Y],t[76]=K,t[77]=Y,t[78]=Z):Z=t[78];const re=Z;let fe;t[79]===Symbol.for("react.memo_cache_sentinel")?(fe=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[79]=fe):fe=t[79];let de;t[80]===Symbol.for("react.memo_cache_sentinel")?(de=a.jsx(en,{}),t[80]=de):de=t[80];let se;t[81]!==U||t[82]!==s.state||t[83]!==re?(se=ee=>a.jsx(Br,{autoScale:!0,data:ee||[],orderBy:"id",page:0,loading:s.state!=="idle",rowsCount:ee?.length,rowsPerPage:ee?.length,rowKey:"id",columns:U,hidePagination:!0,rowActions:re,stickyRowActions:!0}),t[81]=U,t[82]=s.state,t[83]=re,t[84]=se):se=t[84];let le;return t[85]!==r.connections||t[86]!==se?(le=a.jsx(I.Suspense,{fallback:fe,children:a.jsx(Qt,{resolve:r.connections,errorElement:de,children:se})}),t[85]=r.connections,t[86]=se,t[87]=le):le=t[87],le}function cot(){return!Ue(ie.monitoring)}function uot(){return!Ue(ie.monitoring)}function dot(t){const{tai:e}=t;return a.jsx(ks,{size:"small",items:e?.map(fot)||[]})}function fot(t){return{label:`${t.tac} | ${t.plmn} (${t.rat})`,id:`${t.tac}-${t.plmn}-${t.rat}`}}function pot(t){const{global_enb_id:e}=t;return e?a.jsx(_e,{type:"body2",children:`${e.id} | ${e.plmn} (${e.type})`}):a.jsx(a.Fragment,{})}function mot(t){const{connection_ts:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function hot(t){const{remote_addrs:e}=t;return a.jsx(ks,{size:"small",items:e?.map(got)||[]})}function got(t){return{label:`${t}`,id:`${t}`}}function _ot(t){const{local_addrs:e}=t;return a.jsx(ks,{size:"small",items:e?.map(vot)||[]})}function vot(t){return{label:`${t}`,id:`${t}`}}function yot(){const t=he.c(29),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"mme.s1ap.status.listeners.transport_name"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"transport_name",label:s},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"mme.s1ap.status.listeners.local_addrs"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"local_addrs",label:o,cellRender:bot},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==e?(c=e.formatMessage({id:"mme.s1ap.status.listeners.local_port"}),t[8]=e,t[9]=c):c=t[9];let u;t[10]!==c?(u={key:"local_port",label:c},t[10]=c,t[11]=u):u=t[11];let d;t[12]!==e?(d=e.formatMessage({id:"mme.s1ap.status.listeners.dev"}),t[12]=e,t[13]=d):d=t[13];let f;t[14]!==d?(f={key:"dev",label:d},t[14]=d,t[15]=f):f=t[15];let p;t[16]!==i||t[17]!==l||t[18]!==u||t[19]!==f?(p=[i,l,u,f],t[16]=i,t[17]=l,t[18]=u,t[19]=f,t[20]=p):p=t[20];const m=p;let h;t[21]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[21]=h):h=t[21];let _;t[22]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(en,{}),t[22]=_):_=t[22];let g;t[23]!==m||t[24]!==n.state?(g=b=>a.jsx(Br,{autoScale:!0,data:b||[],orderBy:"transport_name",page:0,loading:n.state!=="idle",rowsCount:b?.length,rowsPerPage:b?.length,rowKey:"transport_name",columns:m,hidePagination:!0}),t[23]=m,t[24]=n.state,t[25]=g):g=t[25];let y;return t[26]!==r.listeners||t[27]!==g?(y=a.jsx(I.Suspense,{fallback:h,children:a.jsx(Qt,{resolve:r.listeners,errorElement:_,children:g})}),t[26]=r.listeners,t[27]=g,t[28]=y):y=t[28],y}function bot(t){const{local_addrs:e}=t;return a.jsx(ks,{size:"small",items:e?.map(xot)||[]})}function xot(t){return{label:`${t}`,id:`${t}`}}function Sot(){const t=he.c(44),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"mme.sbcap.status.connections.local_addrs"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"local_addrs",label:s,cellRender:kot},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"mme.sbcap.status.connections.local_port"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"local_port",label:o},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==e?(c=e.formatMessage({id:"mme.sbcap.status.connections.remote_addrs"}),t[8]=e,t[9]=c):c=t[9];let u;t[10]!==c?(u={key:"remote_addrs",label:c,cellRender:Cot},t[10]=c,t[11]=u):u=t[11];let d;t[12]!==e?(d=e.formatMessage({id:"mme.sbcap.status.connections.remote_port"}),t[12]=e,t[13]=d):d=t[13];let f;t[14]!==d?(f={key:"remote_port",label:d},t[14]=d,t[15]=f):f=t[15];let p;t[16]!==e?(p=e.formatMessage({id:"mme.sbcap.status.connections.transport_name"}),t[16]=e,t[17]=p):p=t[17];let m;t[18]!==p?(m={key:"transport_name",label:p},t[18]=p,t[19]=m):m=t[19];let h;t[20]!==e?(h=e.formatMessage({id:"mme.sbcap.status.connections.connection_ts"}),t[20]=e,t[21]=h):h=t[21];let _;t[22]!==h?(_={key:"connection_ts",label:h,cellRender:wot},t[22]=h,t[23]=_):_=t[23];let g;t[24]!==e?(g=e.formatMessage({id:"mme.sbcap.status.connections.connection_id"}),t[24]=e,t[25]=g):g=t[25];let y;t[26]!==g?(y={key:"connection_id",label:g},t[26]=g,t[27]=y):y=t[27];let b;t[28]!==i||t[29]!==_||t[30]!==y||t[31]!==l||t[32]!==u||t[33]!==f||t[34]!==m?(b=[i,l,u,f,m,_,y],t[28]=i,t[29]=_,t[30]=y,t[31]=l,t[32]=u,t[33]=f,t[34]=m,t[35]=b):b=t[35];const x=b;let w;t[36]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[36]=w):w=t[36];let C;t[37]===Symbol.for("react.memo_cache_sentinel")?(C=a.jsx(en,{}),t[37]=C):C=t[37];let k;t[38]!==x||t[39]!==n.state?(k=P=>a.jsx(Br,{autoScale:!0,data:P||[],orderBy:"connection_id",page:0,loading:n.state!=="idle",rowsCount:P?.length,rowsPerPage:P?.length,rowKey:"connection_id",columns:x,hidePagination:!0,stickyRowActions:!0}),t[38]=x,t[39]=n.state,t[40]=k):k=t[40];let A;return t[41]!==r.connections||t[42]!==k?(A=a.jsx(I.Suspense,{fallback:w,children:a.jsx(Qt,{resolve:r.connections,errorElement:C,children:k})}),t[41]=r.connections,t[42]=k,t[43]=A):A=t[43],A}function wot(t){const{connection_ts:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function Cot(t){const{remote_addrs:e}=t;return a.jsx(ks,{size:"small",items:e?.map(Aot)||[]})}function Aot(t){return{label:`${t}`,id:`${t}`}}function kot(t){const{local_addrs:e}=t;return a.jsx(ks,{size:"small",items:e?.map(Mot)||[]})}function Mot(t){return{label:`${t}`,id:`${t}`}}function Pot(){const t=he.c(29),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"mme.sbcap.status.listeners.transport_name"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"transport_name",label:s},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"mme.sbcap.status.listeners.local_addrs"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"local_addrs",label:o,cellRender:jot},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==e?(c=e.formatMessage({id:"mme.sbcap.status.listeners.local_port"}),t[8]=e,t[9]=c):c=t[9];let u;t[10]!==c?(u={key:"local_port",label:c},t[10]=c,t[11]=u):u=t[11];let d;t[12]!==e?(d=e.formatMessage({id:"mme.sbcap.status.listeners.dev"}),t[12]=e,t[13]=d):d=t[13];let f;t[14]!==d?(f={key:"dev",label:d},t[14]=d,t[15]=f):f=t[15];let p;t[16]!==i||t[17]!==l||t[18]!==u||t[19]!==f?(p=[i,l,u,f],t[16]=i,t[17]=l,t[18]=u,t[19]=f,t[20]=p):p=t[20];const m=p;let h;t[21]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[21]=h):h=t[21];let _;t[22]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(en,{}),t[22]=_):_=t[22];let g;t[23]!==m||t[24]!==n.state?(g=b=>a.jsx(Br,{autoScale:!0,data:b||[],orderBy:"transport_name",page:0,loading:n.state!=="idle",rowsCount:b?.length,rowsPerPage:b?.length,rowKey:"transport_name",columns:m,hidePagination:!0}),t[23]=m,t[24]=n.state,t[25]=g):g=t[25];let y;return t[26]!==r.listeners||t[27]!==g?(y=a.jsx(I.Suspense,{fallback:h,children:a.jsx(Qt,{resolve:r.listeners,errorElement:_,children:g})}),t[26]=r.listeners,t[27]=g,t[28]=y):y=t[28],y}function jot(t){const{local_addrs:e}=t;return a.jsx(ks,{size:"small",items:e?.map(Tot)||[]})}function Tot(t){return{label:`${t}`,id:`${t}`}}function Eot(){const t=he.c(34),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"mme.sgs.status.connections.local_addrs"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"local_addrs",label:s,cellRender:Dot},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"mme.sgs.status.connections.local_port"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"local_port",label:o},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==e?(c=e.formatMessage({id:"mme.sgs.status.connections.remote_addrs"}),t[8]=e,t[9]=c):c=t[9];let u;t[10]!==c?(u={key:"remote_addrs",label:c,cellRender:Rot},t[10]=c,t[11]=u):u=t[11];let d;t[12]!==e?(d=e.formatMessage({id:"mme.sgs.status.connections.remote_port"}),t[12]=e,t[13]=d):d=t[13];let f;t[14]!==d?(f={key:"remote_port",label:d},t[14]=d,t[15]=f):f=t[15];let p;t[16]!==e?(p=e.formatMessage({id:"mme.sgs.status.connections.connection_id"}),t[16]=e,t[17]=p):p=t[17];let m;t[18]!==p?(m={key:"connection_id",label:p},t[18]=p,t[19]=m):m=t[19];let h;t[20]!==i||t[21]!==l||t[22]!==u||t[23]!==f||t[24]!==m?(h=[i,l,u,f,m],t[20]=i,t[21]=l,t[22]=u,t[23]=f,t[24]=m,t[25]=h):h=t[25];const _=h;let g;t[26]===Symbol.for("react.memo_cache_sentinel")?(g=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[26]=g):g=t[26];let y;t[27]===Symbol.for("react.memo_cache_sentinel")?(y=a.jsx(en,{}),t[27]=y):y=t[27];let b;t[28]!==_||t[29]!==n.state?(b=w=>a.jsx(Br,{autoScale:!0,data:w||[],orderBy:"connection_id",page:0,loading:n.state!=="idle",rowsCount:w?.length,rowsPerPage:w?.length,rowKey:"connection_id",columns:_,hidePagination:!0,stickyRowActions:!0}),t[28]=_,t[29]=n.state,t[30]=b):b=t[30];let x;return t[31]!==r.connections||t[32]!==b?(x=a.jsx(I.Suspense,{fallback:g,children:a.jsx(Qt,{resolve:r.connections,errorElement:y,children:b})}),t[31]=r.connections,t[32]=b,t[33]=x):x=t[33],x}function Rot(t){const{remote_addrs:e}=t;return a.jsx(ks,{size:"small",items:e?.map(Iot)||[]})}function Iot(t){return{label:`${t}`,id:`${t}`}}function Dot(t){const{local_addrs:e}=t;return a.jsx(ks,{size:"small",items:e?.map($ot)||[]})}function $ot(t){return{label:`${t}`,id:`${t}`}}async function Oot(){const t=$.apis.mme.s1ap.status.connections;return De({options:{url:t,method:"GET"}})}async function Lot({enbId:t}){const e=$.apis.mme.s1ap.status.disconnect(t);return De({options:{url:e,method:"POST"}})}async function Not({enbId:t}){const e=$.apis.mme.s1ap.status.reset(t);return De({options:{url:e,method:"POST"}})}async function Fot(){const t=$.apis.mme.s1ap.status.listeners;return De({options:{url:t,method:"GET"}})}async function Uot(){const t=$.apis.mme.sgs.status.connections;return De({options:{url:t,method:"GET"}})}async function Bot(){const t=$.apis.mme.sbcap.status.connections;return De({options:{url:t,method:"GET"}})}async function zot(){const t=$.apis.mme.sbcap.status.listeners;return De({options:{url:t,method:"GET"}})}async function qot(){const t=$.apis.mme.dns.status.cache;return De({options:{url:t,method:"GET"}})}async function Vot(){const t=$.apis.mme.dns.status.cacheFlush;return De({options:{url:t,method:"POST"}})}async function Hot(t){const e=$.apis.mme.imsi.status.ue(t);return De({options:{url:e,method:"GET"}})}async function Got(t){const e=$.apis.mme.imsi.status.disconnect(t);return De({options:{url:e,method:"POST"}})}async function Wot(t,e){const r=$.apis.mme.imsi.status.detach(t,e);return De({options:{url:r,method:"POST"}})}async function Yot(t,e){const r=$.apis.mme.imsi.status.purge(t,e);return De({options:{url:r,method:"POST"}})}async function Kot(){const t=$.apis.mme.m3.status.connections;return De({options:{url:t,method:"GET"}})}function Qot(){return async({request:t})=>{const e=await t.json(),{enbId:r}=e,n=await Lot({enbId:r});return xt(n)?Ar():Nt(),Ft(n)}}function Zot(){return async({request:t})=>{const e=await t.json(),{enbId:r}=e,n=await Not({enbId:r});return xt(n)?Ar():Nt(),Ft(n)}}async function Xot(){const t=await Vot();return xt(t)?Ar():Nt(),Ft(t)}async function Jot(t){return Wt({loaderArgs:t,deferred:!0,data:{connections:Oot()}})}async function eat(t){return Wt({loaderArgs:t,deferred:!0,data:{listeners:Fot()}})}async function tat(t){return Wt({loaderArgs:t,deferred:!0,data:{connections:Uot()}})}async function rat(t){return Wt({loaderArgs:t,deferred:!0,data:{connections:Bot()}})}async function nat(t){return Wt({loaderArgs:t,deferred:!0,data:{listeners:zot()}})}async function sat(t){return Wt({loaderArgs:t,deferred:!0,data:{dnsCache:qot()}})}async function iat(t){return Wt({loaderArgs:t,deferred:!0,data:{connections:Kot()}})}const oat=dr().shape({x1_ca:yr().of(oa()).min(1),x1_key:yr().of(oa()).min(1),x1_cert:yr().of(oa()).min(1),x2_ca:yr().of(oa()).min(1),x2_key:yr().of(oa()).min(1),x2_cert:yr().of(oa()).min(1),x1_uids:yr().of(We()).min(1)});function b$(t){return{[`${t}_ca`]:yr().of(oa()).when([`${t}_key`,`${t}_cert`],(e,r,n)=>e?.length>0||r?.length>0?n.min(1):n),[`${t}_key`]:yr().of(oa()).when([`${t}_ca`,`${t}_cert`],(e,r,n)=>e?.length>0||r?.length>0?n.min(1):n),[`${t}_cert`]:yr().of(oa()).when([`${t}_ca`,`${t}_key`],(e,r,n)=>e?.length>0||r?.length>0?n.min(1):n)}}function x$(t){return[[`${t}_ca`,`${t}_key`],[`${t}_ca`,`${t}_cert`],[`${t}_key`,`${t}_cert`]]}const aat=dr().shape({x1_ca:yr().of(oa()).min(1),x1_key:yr().of(oa()).min(1),x1_cert:yr().of(oa()).min(1),x2_ca:yr().of(oa()).min(1),x2_key:yr().of(oa()).min(1),x2_cert:yr().of(oa()).min(1),x1_uids:yr().of(We()).min(1),...b$("t3")},[...x$("t3")]),lat=dr().shape({...b$("x3"),...b$("t3")},[...x$("x3"),...x$("t3")]),kue=async t=>new Promise((e,r)=>{const n=new FileReader;n.onload=()=>n.result?e(n.result):r(n.error),n.onerror=()=>r(n.error),n.readAsText(t)}),vw=t=>{const e=he.c(7),{name:r,disabled:n}=t,s=n===void 0?!1:n,i=Ye();let o;e[0]!==s||e[1]!==i||e[2]!==r?(o=c=>{const{field:u,meta:d,form:f}=c,{setFieldValue:p}=f;return a.jsxs(te,{direction:"column",children:[a.jsx(_e,{children:i.formatMessage({id:`lawful_interception.form.${r}`})}),a.jsx(Z_,{...u,label:i.formatMessage({id:"form_import_files.file"}),size:"medium",accept:{"application/x-pem-file":[".pem"]},maxFiles:1,multiple:!1,disabled:s,onChange:m=>{setTimeout(()=>{if(!m.length){p(u.name,[]);return}p(u.name,m)},0)},formError:d.error})]})},e[0]=s,e[1]=i,e[2]=r,e[3]=o):o=e[3];let l;return e[4]!==r||e[5]!==o?(l=a.jsx(Ke,{name:r,children:o}),e[4]=r,e[5]=o,e[6]=l):l=e[6],l};function cat(t){const e=he.c(31),{nf:r}=t,n=Ye(),{openConfirmDialog:s}=di(),i=zn(),o=gr();let l;e:{switch(r){case ue.MME:{let A;e[0]===Symbol.for("react.memo_cache_sentinel")?(A=["x1_ca","x1_key","x1_cert","x2_ca","x2_key","x2_cert"],e[0]=A):A=e[0],l=A;break e}case ue.SMF:{let A;e[1]===Symbol.for("react.memo_cache_sentinel")?(A=["x1_ca","x1_key","x1_cert","x2_ca","x2_key","x2_cert","t3_ca","t3_key","t3_cert"],e[1]=A):A=e[1],l=A;break e}case ue.UPF:{let A;e[2]===Symbol.for("react.memo_cache_sentinel")?(A=["x3_ca","x3_key","x3_cert","t3_ca","t3_key","t3_cert"],e[2]=A):A=e[2],l=A;break e}}l=void 0}const c=l;let u;e[3]!==c?(u=A=>c.reduce(async(P,T)=>{try{const j=await P,R=await kue(A[T][0]),D=btoa(R);return{...j,[T]:D}}catch{return{...await P}}},{}),e[3]=c,e[4]=u):u=e[4];const d=u;let f;e[5]!==o||e[6]!==d||e[7]!==r?(f=async A=>{const P=await d(A);let T;e:switch(r){case ue.MME:{T={x1:{ca:P.x1_ca,key:P.x1_key,cert:P.x1_cert},x2:{ca:P.x2_ca,key:P.x2_key,cert:P.x2_cert},...A.x1_uids.length>0&&{x1_uids:A.x1_uids}};break e}case ue.SMF:{T={x1:{ca:P.x1_ca,key:P.x1_key,cert:P.x1_cert},x2:{ca:P.x2_ca,key:P.x2_key,cert:P.x2_cert},...P.t3_ca&&P.t3_ca&&P.t3_cert&&{t3:{ca:P.t3_ca,key:P.t3_key,cert:P.t3_cert}},...A.x1_uids.length>0&&{x1_uids:A.x1_uids}};break e}case ue.UPF:T={...P.t3_ca&&P.t3_ca&&P.t3_cert&&{t3:{ca:P.t3_ca,key:P.t3_key,cert:P.t3_cert}},...P.x3_ca&&P.x3_key&&P.x3_cert&&{x3:{ca:P.x3_ca,key:P.x3_key,cert:P.x3_cert}}}}o.submit(T,{method:"POST",encType:"application/json",action:"create"})},e[5]=o,e[6]=d,e[7]=r,e[8]=f):f=e[8];const p=f;let m;e[9]!==o||e[10]!==n||e[11]!==s?(m=()=>{s({text:n.formatMessage({id:"lawful_interception.actions.confirm_delete"}),onConfirm:()=>{o.submit(null,{method:"DELETE",encType:"application/json",action:"delete"})}})},e[9]=o,e[10]=n,e[11]=s,e[12]=m):m=e[12];const h=m;let _;e:{switch(r){case ue.MME:{let A;e[13]===Symbol.for("react.memo_cache_sentinel")?(A={x1_ca:[],x1_key:[],x1_cert:[],x2_ca:[],x2_key:[],x2_cert:[],x1_uids:[]},e[13]=A):A=e[13],_=A;break e}case ue.SMF:{let A;e[14]===Symbol.for("react.memo_cache_sentinel")?(A={x1_ca:[],x1_key:[],x1_cert:[],x2_ca:[],x2_key:[],x2_cert:[],x1_uids:[],t3_ca:[],t3_key:[],t3_cert:[]},e[14]=A):A=e[14],_=A;break e}case ue.UPF:{let A;e[15]===Symbol.for("react.memo_cache_sentinel")?(A={x3_ca:[],x3_key:[],x3_cert:[],t3_ca:[],t3_key:[],t3_cert:[]},e[15]=A):A=e[15],_=A;break e}}_=void 0}const g=_;let y;e:{switch(r){case ue.MME:{y=oat;break e}case ue.SMF:{y=aat;break e}case ue.UPF:{y=lat;break e}}y=void 0}const b=y;let x;e[16]===Symbol.for("react.memo_cache_sentinel")?(x=a.jsx(Dt,{variant:"rounded",height:"1226px"}),e[16]=x):x=e[16];let w;e[17]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(Tr,{}),e[17]=w):w=e[17];let C;e[18]!==o.data||e[19]!==o.state||e[20]!==c||e[21]!==h||e[22]!==p||e[23]!==g||e[24]!==n||e[25]!==r||e[26]!==b?(C=A=>a.jsx(Wr,{initialValues:g,validationSchema:b,enableReinitialize:!0,onSubmit:p,children:P=>{const{dirty:T}=P;return a.jsxs(dn,{canWrite:Ue(ie.lawful_interception),children:[a.jsx(hs,{children:a.jsx(te,{direction:"row",spacing:2,align:"center",children:!!A&&a.jsxs(a.Fragment,{children:[A.provisioned?a.jsx(bi,{status:nn.SUCCESS,asChip:!0,label:n.formatMessage({id:"lawful_interception.provisioned"})}):a.jsx(bi,{status:nn.ERROR,asChip:!0,label:n.formatMessage({id:"lawful_interception.not_provisioned"})}),a.jsx(Ze,{variant:"outlined",text:n.formatMessage({id:"lawful_interception.actions.delete"}),startIcon:a.jsx(ge.Trash,{}),disabled:!A?.provisioned||o.state!=="idle"||!Ue(ie.lawful_interception),onClick:h})]})})}),(r===ue.MME||r===ue.SMF)&&a.jsx(Kt,{title:n.formatMessage({id:"lawful_interception.form.title.x1"}),children:a.jsxs(te,{spacing:2,fullWidth:!0,align:"stretch",children:[c.filter(pat).map(j=>a.jsx(vw,{name:j,disabled:o.state!=="idle"},j)),a.jsx(_e,{children:n.formatMessage({id:"lawful_interception.form.title.x1_uids"})}),a.jsx(Ke,{name:"x1_uids",children:j=>{const{field:R,meta:D,form:O}=j,{setFieldValue:N}=O;return a.jsx(rn,{name:R.name,value:R.value,label:n.formatMessage({id:"lawful_interception.form.x1_uids"}),multiple:!0,size:"small",freeSolo:!0,options:[],onChange:(F,U)=>{N(R.name,U)},error:!!D.error,helperText:D.error,disabled:o.state!=="idle",fullWidth:!0})}})]})}),(r===ue.MME||r===ue.SMF)&&a.jsx(Kt,{title:n.formatMessage({id:"lawful_interception.form.title.x2"}),children:a.jsx(te,{spacing:2,fullWidth:!0,align:"stretch",children:c.filter(fat).map(j=>a.jsx(vw,{name:j,disabled:o.state!=="idle"},j))})}),(r===ue.SMF||r===ue.UPF)&&a.jsx(Kt,{title:n.formatMessage({id:"lawful_interception.form.title.t3"}),children:a.jsx(te,{spacing:2,fullWidth:!0,align:"stretch",children:c.filter(dat).map(j=>a.jsx(vw,{name:j,disabled:o.state!=="idle"},j))})}),r===ue.UPF&&a.jsx(Kt,{title:n.formatMessage({id:"lawful_interception.form.title.x3"}),children:a.jsx(te,{spacing:2,fullWidth:!0,align:"stretch",children:c.filter(uat).map(j=>a.jsx(vw,{name:j,disabled:o.state!=="idle"},j))})}),a.jsxs(Kt,{children:[a.jsx(Xr,{data:o.data}),a.jsx(Ze,{type:"submit",text:n.formatMessage({id:"lawful_interception.buttons.save"}),disabled:!T||!Ue(ie.lawful_interception),loading:o.state!=="idle",sx:{alignSelf:"flex-start"}})]})]})}}),e[18]=o.data,e[19]=o.state,e[20]=c,e[21]=h,e[22]=p,e[23]=g,e[24]=n,e[25]=r,e[26]=b,e[27]=C):C=e[27];let k;return e[28]!==i.status||e[29]!==C?(k=a.jsx(I.Suspense,{fallback:x,children:a.jsx(Qt,{resolve:i.status,errorElement:w,children:C})}),e[28]=i.status,e[29]=C,e[30]=k):k=e[30],k}function uat(t){return t.includes("x3")}function dat(t){return t.includes("t3")}function fat(t){return t.includes("x2")}function pat(t){return t.includes("x1")}async function mat(t){const e=$.apis.lawful_interception.keyMaterial(t);return De({options:{url:e,method:"GET",cache:!1}})}async function hat(t,e){const r=$.apis.lawful_interception.keyMaterial(t);return De({options:{url:r,method:"POST",data:JSON.stringify(e)}})}async function gat(t){const e=$.apis.lawful_interception.keyMaterial(t);return De({options:{url:e,method:"DELETE"}})}const _at=t=>async({request:e})=>{const r=await e.json(),n=await hat(t,r);return xt(n)||Nt(),Ft(n)},vat=t=>async()=>{const e=await gat(t);return xt(e)?Ar(e.error.detail||Pr().formatMessage({id:"lawful_interception.remove_ko"})):Nt(),Ft(e)},yat=t=>async e=>Wt({loaderArgs:e,deferred:!0,data:{status:mat(t)}});function p7(t){return{path:"lawful-interception",loader:yat(t),element:a.jsx(cat,{nf:t}),handle:vr({labelIntl:`route.${t}.lawful-interception`,to:"lawful-interception"}),children:[{path:"create",action:_at(t),loader:()=>rt("..")},{path:"delete",action:vat(t),loader:()=>rt("..")}]}}const bat=t=>{const e=he.c(5),{row:r}=t,n=Ye();let s;e[0]!==n||e[1]!==r.counters?(s=r.counters?Object.entries(r.counters).map(l=>{const[c,u]=l;return a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:`gtpu.status.sockets.counters.${c}`})}),a.jsx(_e,{fontSize:"small",children:u})]},c)}):a.jsx(a.Fragment,{}),e[0]=n,e[1]=r.counters,e[2]=s):s=e[2];const i=s;let o;return e[3]!==i?(o=a.jsx(al,{children:i}),e[3]=i,e[4]=o):o=e[4],o};function xat(){const t=he.c(34),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"gtpu.status.sockets.transport_name"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"transport_name",label:s},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"gtpu.status.sockets.local_addr"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"local_addr",label:o},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==e?(c=e.formatMessage({id:"gtpu.status.sockets.local_port"}),t[8]=e,t[9]=c):c=t[9];let u;t[10]!==c?(u={key:"local_port",label:c},t[10]=c,t[11]=u):u=t[11];let d;t[12]!==e?(d=e.formatMessage({id:"gtpu.status.sockets.created"}),t[12]=e,t[13]=d):d=t[13];let f;t[14]!==d?(f={key:"created",label:d,cellRender:Cat},t[14]=d,t[15]=f):f=t[15];let p;t[16]!==e?(p=e.formatMessage({id:"gtpu.status.sockets.counters"}),t[16]=e,t[17]=p):p=t[17];let m;t[18]!==p?(m={key:"counters",label:p,cellRender:wat},t[18]=p,t[19]=m):m=t[19];let h;t[20]!==i||t[21]!==l||t[22]!==u||t[23]!==f||t[24]!==m?(h=[i,l,u,f,m],t[20]=i,t[21]=l,t[22]=u,t[23]=f,t[24]=m,t[25]=h):h=t[25];const _=h;let g;t[26]===Symbol.for("react.memo_cache_sentinel")?(g=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[26]=g):g=t[26];let y;t[27]===Symbol.for("react.memo_cache_sentinel")?(y=a.jsx(en,{}),t[27]=y):y=t[27];let b;t[28]!==_||t[29]!==n.state?(b=w=>a.jsx(Br,{autoScale:!0,data:w||[],orderBy:"transport_name",page:0,loading:n.state!=="idle",rowsCount:w?.length,rowsPerPage:w?.length,rowKey:"transport_name",rowDetail:{content:Sat},columns:_,hidePagination:!0}),t[28]=_,t[29]=n.state,t[30]=b):b=t[30];let x;return t[31]!==r.sockets||t[32]!==b?(x=a.jsx(I.Suspense,{fallback:g,children:a.jsx(Qt,{resolve:r.sockets,errorElement:y,children:b})}),t[31]=r.sockets,t[32]=b,t[33]=x):x=t[33],x}function Sat(t){return a.jsx(bat,{row:t})}function wat(t){const{counters:e}=t;return e?a.jsx(_e,{type:"body2",children:Object.keys(e).length}):a.jsx(a.Fragment,{})}function Cat(t){const{created:e}=t;if(!e)return a.jsx(a.Fragment,{});const r=new Date(e*1e3);return a.jsx(_e,{type:"body2",children:Mr(r)})}async function Aat({nf:t}){const e=$.apis.gtpu.status.sockets(t);return De({options:{url:e,method:"GET"}})}function kat({nf:t}){return async e=>Wt({loaderArgs:e,deferred:!0,data:{sockets:Aat({nf:t})}})}function m7({path:t,nf:e}){const r=Pr();return{path:t,element:a.jsx(la,{navs:[{url:"sockets",label:r.formatMessage({id:"route.gtpu.sockets"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"sockets",replace:!0})},{path:"sockets",loader:kat({nf:e}),errorElement:a.jsx(en,{}),element:a.jsx(xat,{})}]}}const Xo=Pr(),Mat={path:"mme",handle:vr({labelIntl:"route.mme",icon:a.jsx(ge.MME,{})}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{element:a.jsx(Or,{fullHeight:!0}),children:[{path:"status",handle:vr({labelIntl:"route.mme.status",to:$.urls.mmeStatus}),element:a.jsx(Ao,{tabs:[{url:"diameter",label:Xo.formatMessage({id:"route.diameter"})},{url:"s1ap",label:Xo.formatMessage({id:"route.mme.status.s1ap"})},{url:"gtpc",label:Xo.formatMessage({id:"route.mme.status.gtpc"})},{url:"gtpu",label:Xo.formatMessage({id:"route.mme.status.gtpu"})},{url:"sgs",label:Xo.formatMessage({id:"route.mme.status.sgs"})},{url:"sbcap",label:Xo.formatMessage({id:"route.mme.status.sbcap"})},{url:"dns",label:Xo.formatMessage({id:"route.mme.status.dns"})},{url:"m3",label:Xo.formatMessage({id:"route.mme.status.m3"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"diameter",replace:!0})},qp({path:"diameter",nf:ue.MME}),{path:"s1ap",element:a.jsx(la,{navs:[{url:"connections",label:Xo.formatMessage({id:"route.mme.status.s1ap.connections"})},{url:"listeners",label:Xo.formatMessage({id:"route.mme.status.s1ap.listeners"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"connections",replace:!0})},{path:"connections",loader:Jot,errorElement:a.jsx(en,{}),element:a.jsx(lot,{}),children:[{action:Qot(),path:"disconnect",loader:()=>rt("..")},{action:Zot(),path:"reset",loader:()=>rt("..")}]},{path:"listeners",loader:eat,errorElement:a.jsx(en,{}),element:a.jsx(yot,{})}]},uk({path:"gtpc",nf:ue.MME,showBlockedPeers:!0}),m7({path:"gtpu",nf:ue.MME}),{path:"sgs",element:a.jsx(la,{navs:[{url:"connections",label:Xo.formatMessage({id:"route.mme.status.sgs.connections"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"connections",replace:!0})},{path:"connections",loader:tat,errorElement:a.jsx(en,{}),element:a.jsx(Eot,{})}]},{path:"sbcap",element:a.jsx(la,{navs:[{url:"connections",label:Xo.formatMessage({id:"route.mme.status.sbcap.connections"})},{url:"listeners",label:Xo.formatMessage({id:"route.mme.status.sbcap.listeners"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"connections",replace:!0})},{path:"connections",loader:rat,errorElement:a.jsx(en,{}),element:a.jsx(Sot,{})},{path:"listeners",loader:nat,errorElement:a.jsx(en,{}),element:a.jsx(Pot,{})}]},{path:"dns",element:a.jsx(la,{navs:[{url:"cache",label:Xo.formatMessage({id:"route.mme.status.dns.cache"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"cache",replace:!0})},{path:"cache",loader:sat,errorElement:a.jsx(en,{}),element:a.jsx(Git,{}),children:[{action:Xot,path:"flush",loader:()=>rt("..")}]}]},{path:"m3",element:a.jsx(la,{navs:[{url:"connections",label:Xo.formatMessage({id:"route.mme.status.m3.connections"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"connections",replace:!0})},{path:"connections",loader:iat,errorElement:a.jsx(en,{}),element:a.jsx(rot,{})}]}]},io(ue.MME)]},{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.MME)]},{element:a.jsx(Or,{center:!0}),children:[p7(ue.MME)]}]},LX=Pr(),S$=new RegExp($.regex.supi),Pat=t=>S$.test(t),jat=dr().shape({id:We().strict(!0).matches(S$,LX.formatMessage({id:"device_status.form.errors.format"},{value:`${S$.toString()}`})).required(LX.formatMessage({id:"device_status.form.errors.required"}))}),Tat=()=>{const t=he.c(39),e=ys(),r=Ye(),n=On(),{id:s}=ko(),{submit:i,state:o}=gr(),l=zn();let c;t[0]!==s||t[1]!==i?(c=()=>{s&&i({supi:s},{method:"POST",encType:"application/json",action:`${s}/udm-re-attach`})},t[0]=s,t[1]=i,t[2]=c):c=t[2];const u=c;let d;t[3]!==e?(d=j=>{e(j.id)},t[3]=e,t[4]=d):d=t[4];const f=d;let p;t[5]===Symbol.for("react.memo_cache_sentinel")?(p={overflow:"hidden"},t[5]=p):p=t[5];let m;t[6]===Symbol.for("react.memo_cache_sentinel")?(m={borderBottom:"1px solid",borderColor:"divider",px:2,py:1.5},t[6]=m):m=t[6];let h;t[7]===Symbol.for("react.memo_cache_sentinel")?(h={flex:"1 1 auto"},t[7]=h):h=t[7];const _=s||"";let g;t[8]!==_?(g={id:_},t[8]=_,t[9]=g):g=t[9];let y;t[10]===Symbol.for("react.memo_cache_sentinel")?(y=as(ie.monitoring),t[10]=y):y=t[10];let b;t[11]!==r||t[12]!==n.state?(b=a.jsx(dn,{canWrite:y,children:a.jsx(Ke,{name:"id",children:j=>{const{field:R,meta:D}=j;return a.jsxs(te,{direction:"row",spacing:0,fullWidth:!0,nowrap:!0,children:[a.jsx(dt,{...R,label:r.formatMessage({id:"device_status.form.id"}),size:"small",error:!!D.error,helperText:D.error,sx:{flex:"1 1 auto",fieldset:{borderRightColor:"rgba(51, 51, 51, 0.5)",borderTopRightRadius:"0px",borderBottomRightRadius:"0px"}}}),a.jsx(Ze,{type:"submit",text:"search",startIcon:a.jsx(ge.Search,{}),disabled:n.state!=="idle"||!as(ie.monitoring),sx:{mt:"4px",height:"40px",borderTopLeftRadius:"0px",borderBottomLeftRadius:"0px"}})]})}})}),t[11]=r,t[12]=n.state,t[13]=b):b=t[13];let x;t[14]!==f||t[15]!==g||t[16]!==b?(x=a.jsx(gt,{sx:h,children:a.jsx(Wr,{initialValues:g,enableReinitialize:!0,validationSchema:jat,onSubmit:f,children:b})}),t[14]=f,t[15]=g,t[16]=b,t[17]=x):x=t[17];let w;t[18]!==u||t[19]!==s||t[20]!==r||t[21]!==o?(w=j=>a.jsx(a.Fragment,{children:s&&j.includes(ue.UDM)&&a.jsx(Ze,{text:r.formatMessage({id:"device_status.reAttach"}),variant:"outlined",onClick:u,loading:o!=="idle",sx:{mt:"4px",height:"40px"}})}),t[18]=u,t[19]=s,t[20]=r,t[21]=o,t[22]=w):w=t[22];let C;t[23]!==l.services||t[24]!==w?(C=a.jsx(I.Suspense,{children:a.jsx(Qt,{resolve:l.services,children:w})}),t[23]=l.services,t[24]=w,t[25]=C):C=t[25];let k;t[26]!==C||t[27]!==x?(k=a.jsx(gt,{sx:m,children:a.jsxs(te,{spacing:2,align:"flex-start",justify:"space-between",fullWidth:!0,direction:"row",nowrap:!0,children:[x,C]})}),t[26]=C,t[27]=x,t[28]=k):k=t[28];let A;t[29]!==s||t[30]!==r||t[31]!==n.state?(A=!s&&n.state==="idle"&&a.jsx(gt,{sx:{p:2},children:a.jsx(Lr,{severity:"info",message:r.formatMessage({id:"device_status.noDataHint"})})}),t[29]=s,t[30]=r,t[31]=n.state,t[32]=A):A=t[32];let P;t[33]!==n.state?(P=n.state==="idle"?a.jsx(gt,{sx:{flex:"1 1 auto",overflow:"hidden"},children:a.jsx(Bd,{})}):a.jsx(Dt,{variant:"rectangular",width:"100%",sx:{flex:"1 1 auto"}}),t[33]=n.state,t[34]=P):P=t[34];let T;return t[35]!==k||t[36]!==A||t[37]!==P?(T=a.jsxs(te,{nowrap:!0,fullHeight:!0,sx:p,spacing:0,children:[k,A,P]}),t[35]=k,t[36]=A,t[37]=P,t[38]=T):T=t[38],T};var rb=(t=>(t.REQUESTED="REQUESTED",t.NOT_REQUESTED="NOT_REQUESTED",t))(rb||{});function zh(){const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(Kt,{children:a.jsx(Lr,{severity:"error",message:Pr().formatMessage({id:"device_status.not_found"})})}),t[0]=e):e=t[0],e}function Qe(t){const e=he.c(7),{label:r,value:n}=t;if(n===void 0)return null;let s;e[0]!==r?(s=a.jsx(_e,{color:"text.secondary",type:"body2",fontWeight:600,children:r}),e[0]=r,e[1]=s):s=e[1];let i;e[2]!==n?(i=Array.isArray(n)&&n.length>0?n.map(Eat):a.jsx(_e,{type:"body2",children:`${n}`}),e[2]=n,e[3]=i):i=e[3];let o;return e[4]!==s||e[5]!==i?(o=a.jsxs(te,{spacing:0,children:[s,i]}),e[4]=s,e[5]=i,e[6]=o):o=e[6],o}function Eat(t,e){return a.jsx(_e,{type:"body2",children:`${t}`},e)}function Rat(){const t=he.c(16),e=Gr(),r=gl(),n=gr(),s=Ye(),{menuOpen:i,menuClose:o}=Jt();let l;t[0]!==r?(l=(_,g)=>{r({id:_,reregister:g},{method:"POST",encType:"application/json",action:"amf-remove"})},t[0]=r,t[1]=l):l=t[1];const c=l;let u;t[2]!==c||t[3]!==s||t[4]!==o||t[5]!==i?(u=(_,g)=>{i({anchorEl:_?.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:[{label:s.formatMessage({id:"device_status.amf.remove.reregister_requested"}),value:rb.REQUESTED,onClick:()=>{o(),c(g,rb.REQUESTED)}},{label:s.formatMessage({id:"device_status.amf.remove.reregister_not_requested"}),value:rb.NOT_REQUESTED,onClick:()=>{o(),c(g,rb.NOT_REQUESTED)}}]})},t[2]=c,t[3]=s,t[4]=o,t[5]=i,t[6]=u):u=t[6];const d=u;let f;t[7]===Symbol.for("react.memo_cache_sentinel")?(f=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[7]=f):f=t[7];let p;t[8]===Symbol.for("react.memo_cache_sentinel")?(p=a.jsx(zh,{}),t[8]=p):p=t[8];let m;t[9]!==n||t[10]!==d||t[11]!==s?(m=_=>a.jsxs(a.Fragment,{children:[a.jsx(o7,{children:_.supi&&a.jsx(Ze,{text:s.formatMessage({id:"device_status.amf.remove"}),size:"small",onClick:g=>{_.supi&&d(g,_.supi)},loading:n.state!=="idle",variant:"outlined",endIcon:a.jsx(ge.DownArrow,{size:14})})}),a.jsx(Kt,{sx:{overflow:"auto",height:"100%"},children:a.jsxs(te,{children:[a.jsxs(te,{children:[a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.5gGuti"}),value:_["5gGuti"]}),a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.supi"}),value:_.supi}),a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.amfUeNgapID"}),value:_.amfUeNgapID}),a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.ranUeNgapID"}),value:_.ranUeNgapID}),a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.cmState"}),value:_.cmState}),a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.mmState"}),value:_.mmState})]}),_.ueLocation&&a.jsxs(a.Fragment,{children:[a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,sx:{borderRadius:1},title:s.formatMessage({id:"device_status.amf.ueLocation.nrLocation.ncgi"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.ueLocation.ncgi.nrCellId"}),value:_.ueLocation.nrLocation?.ncgi?.nrCellId}),a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.ueLocation.ncgi.plmn"}),value:`${_.ueLocation.nrLocation?.ncgi?.plmnId.mcc}${_.ueLocation.nrLocation?.ncgi?.plmnId.mnc}`})]})}),a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,sx:{borderRadius:1},title:s.formatMessage({id:"device_status.amf.ueLocation.nrLocation.tai"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.ueLocation.tai.plmn"}),value:`${_.ueLocation.nrLocation?.tai?.plmnId.mcc}${_.ueLocation.nrLocation?.tai?.plmnId.mnc}`}),a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.ueLocation.tai.tac"}),value:_.ueLocation.nrLocation?.tai?.tac})]})})]}),_.smContexts&&_.smContexts.length>0&&a.jsxs(te,{children:[a.jsx(_e,{type:"body1",color:"grey.600",children:s.formatMessage({id:"device_status.amf.smContexts"})}),a.jsx(Jn,{exclusive:!1,spacing:1,children:_.smContexts.map(g=>a.jsx(xr,{elevation:2,title:`${s.formatMessage({id:"device_status.amf.smContext"})} - ${g.pduSessionId}`,content:a.jsxs(te,{children:[a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.smContexts.pduSessionId"}),value:g.pduSessionId}),a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.smContexts.dnn"}),value:g.dnn}),g.sNssai&&a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.smContexts.sNssai"}),value:g.sNssai.sd?`${g.sNssai.sst}-${g.sNssai.sd}`:g.sNssai.sst})]})},g.pduSessionId))})]})]})})]}),t[9]=n,t[10]=d,t[11]=s,t[12]=m):m=t[12];let h;return t[13]!==e.amfStatus||t[14]!==m?(h=a.jsx(I.Suspense,{fallback:f,children:a.jsx(Qt,{resolve:e.amfStatus,errorElement:p,children:m})}),t[13]=e.amfStatus,t[14]=m,t[15]=h):h=t[15],h}function Iat(){const t=he.c(8),e=Gr(),r=to(),n=ys(),{id:s}=ko();let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx(Tr,{}),t[0]=i):i=t[0];let o;t[1]!==s||t[2]!==r.pathname||t[3]!==n?(o=c=>{const{activeTabs:u,startLocation:d}=c,f=r.pathname.split("/").at(-1);return s===f?(n(d,{replace:!0}),null):a.jsx(la,{navs:u})},t[1]=s,t[2]=r.pathname,t[3]=n,t[4]=o):o=t[4];let l;return t[5]!==e.tabs||t[6]!==o?(l=a.jsx(I.Suspense,{children:a.jsx(Qt,{resolve:e.tabs,errorElement:i,children:o})}),t[5]=e.tabs,t[6]=o,t[7]=l):l=t[7],l}var nb=(t=>(t.REQUIRED="required",t.NOT_REQUIRED="not_required",t))(nb||{}),sb=(t=>(t.REQUIRED="required",t.NOT_REQUIRED="not_required",t))(sb||{});function Dat(t){const e=he.c(24),{decor:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.mme.decor"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==n?(i=n.formatMessage({id:"device_status.mme.decor.computed_usage_type"}),e[2]=n,e[3]=i):i=e[3];const o=r?.computed_usage_type;let l;e[4]!==i||e[5]!==o?(l=a.jsx(Qe,{label:i,value:o}),e[4]=i,e[5]=o,e[6]=l):l=e[6];let c;e[7]!==n?(c=n.formatMessage({id:"device_status.mme.decor.rerouted"}),e[7]=n,e[8]=c):c=e[8];const u=r?.rerouted;let d;e[9]!==c||e[10]!==u?(d=a.jsx(Qe,{label:c,value:u}),e[9]=c,e[10]=u,e[11]=d):d=e[11];let f;e[12]!==l||e[13]!==d?(f=a.jsxs(te,{children:[l,d]}),e[12]=l,e[13]=d,e[14]=f):f=e[14];let p;e[15]!==r||e[16]!==n?(p=r?.state&&a.jsx(xr,{elevation:3,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.decor.state"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.decor.state.static"}),value:r.state.static}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.decor.state.hss"}),value:r.state.hss}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.decor.state.ue"}),value:r.state.ue}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.decor.state.mme"}),value:r.state.mme})]})}),e[15]=r,e[16]=n,e[17]=p):p=e[17];let m;e[18]!==f||e[19]!==p?(m=a.jsxs(te,{spacing:2,children:[f,p]}),e[18]=f,e[19]=p,e[20]=m):m=e[20];let h;return e[21]!==s||e[22]!==m?(h=a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,title:s,content:m}),e[21]=s,e[22]=m,e[23]=h):h=e[23],h}function $at(t){const e=he.c(20),{esm:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.mme.esm"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==n?(i=n.formatMessage({id:"device_status.mme.esm.sgw_fqdn"}),e[2]=n,e[3]=i):i=e[3];const o=r?.sgw_fqdn;let l;e[4]!==i||e[5]!==o?(l=a.jsx(Qe,{label:i,value:o}),e[4]=i,e[5]=o,e[6]=l):l=e[6];let c;e[7]!==r||e[8]!==n?(c=r?.ue_ambr&&a.jsx(xr,{elevation:3,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.esm.ue_ambr"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.ue_ambr.ul"}),value:r.ue_ambr.ul}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.ue_ambr.dl"}),value:r.ue_ambr.dl})]})}),e[7]=r,e[8]=n,e[9]=c):c=e[9];let u;e[10]!==r||e[11]!==n?(u=r?.bearers&&r?.bearers.length>0&&a.jsxs(te,{children:[a.jsx(_e,{type:"body1",color:"grey.600",children:n.formatMessage({id:"device_status.mme.esm.bearers"})}),a.jsx(Jn,{exclusive:!1,spacing:1,children:r.bearers.map(p=>a.jsx(xr,{elevation:3,title:`${n.formatMessage({id:"device_status.mme.esm.bearer"})} - ${p.ebi}`,content:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.bearer.ebi"}),value:p.ebi}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.bearer.apn"}),value:p.apn}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.bearer.context_id"}),value:p.context_id}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.bearer.pdn_addr"}),value:p.pdn_addr})]}),p.apn_ambr&&a.jsx(xr,{elevation:4,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.esm.bearer.apn_ambr"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.bearer.apn_ambr.ul"}),value:p.apn_ambr.ul}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.bearer.apn_ambr.dl"}),value:p.apn_ambr.ul})]})}),p.rabs&&p.rabs.length>0&&a.jsxs(te,{children:[a.jsx(_e,{type:"body1",color:"grey.600",children:n.formatMessage({id:"device_status.mme.esm.bearer.rabs"})}),a.jsx(Jn,{exclusive:!1,spacing:1,children:p.rabs.map(m=>a.jsx(xr,{elevation:5,disableGutters:!0,expanded:!0,title:`${n.formatMessage({id:"device_status.mme.esm.bearer.rab"})} #${m.ebi}`,content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.bearer.rab.ebi"}),value:m.ebi}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.bearer.rab.qos.qci"}),value:m.qos?.qci})]})}))})]})]})},p.ebi))})]}),e[10]=r,e[11]=n,e[12]=u):u=e[12];let d;e[13]!==l||e[14]!==c||e[15]!==u?(d=a.jsxs(te,{spacing:2,children:[l,c,u]}),e[13]=l,e[14]=c,e[15]=u,e[16]=d):d=e[16];let f;return e[17]!==s||e[18]!==d?(f=a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,title:s,content:d}),e[17]=s,e[18]=d,e[19]=f):f=e[19],f}function Oat(t){const e=he.c(24),{profile:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.mme.profile"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==n?(i=n.formatMessage({id:"device_status.mme.profile.hss_host"}),e[2]=n,e[3]=i):i=e[3];const o=r?.hss_host;let l;e[4]!==i||e[5]!==o?(l=a.jsx(Qe,{label:i,value:o}),e[4]=i,e[5]=o,e[6]=l):l=e[6];let c;e[7]!==n?(c=n.formatMessage({id:"device_status.mme.profile.hss_realm"}),e[7]=n,e[8]=c):c=e[8];const u=r?.hss_realm;let d;e[9]!==c||e[10]!==u?(d=a.jsx(Qe,{label:c,value:u}),e[9]=c,e[10]=u,e[11]=d):d=e[11];let f;e[12]!==l||e[13]!==d?(f=a.jsxs(te,{children:[l,d]}),e[12]=l,e[13]=d,e[14]=f):f=e[14];let p;e[15]!==n||e[16]!==r?(p=r?.subscription&&a.jsx(xr,{elevation:3,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.profile.subscription"}),content:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.status"}),value:r.subscription.status}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.status"}),value:r.subscription.status}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.mode"}),value:r.subscription.mode}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.usage_type"}),value:r.subscription.usage_type})]}),r.subscription.ue_ambr&&a.jsx(xr,{elevation:4,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.profile.subscription.ue_ambr"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.ue_ambr.dl"}),value:r.subscription.ue_ambr.dl}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.ue_ambr.ul"}),value:r.subscription.ue_ambr.ul})]})}),r.subscription.config&&a.jsx(xr,{elevation:4,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.profile.subscription.config"}),content:a.jsxs(te,{spacing:2,children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.default_context_id"}),value:r.subscription.config.default_context_id}),r.subscription.config.apns&&r.subscription.config.apns.length>0&&a.jsxs(te,{children:[a.jsx(_e,{type:"body1",color:"grey.600",children:n.formatMessage({id:"device_status.mme.profile.subscription.config.apns"})}),a.jsx(Jn,{exclusive:!1,spacing:1,children:r.subscription.config.apns.map(_=>a.jsx(xr,{elevation:5,title:`${_.apn} - ${_.pdn_type}`,content:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.apn"}),value:_.apn}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.context_id"}),value:_.context_id}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.pdn_type"}),value:_.pdn_type}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.data_mode"}),value:_.data_mode}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.non_ip"}),value:_.non_ip}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.non_ip_method"}),value:_.non_ip_method})]}),a.jsx(xr,{elevation:6,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.qos"}),content:a.jsxs(te,{spacing:2,children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.qos.qci"}),value:_.qos?.qci}),_.qos?.arp&&a.jsx(xr,{elevation:7,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.qos.arp"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.qos.arp.priority_level"}),value:_.qos.arp.priority_level}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.qos.arp.preemption_capability"}),value:_.qos.arp.preemption_capability}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.qos.arp.preemption_vulnerability"}),value:_.qos.arp.preemption_vulnerability})]})})]})}),_.apn_ambr&&a.jsx(xr,{elevation:6,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.apn_ambr"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.apn_ambr.ul"}),value:_.apn_ambr.ul}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.apn_ambr.dl"}),value:_.apn_ambr.ul})]})})]})},_.context_id))})]})]})})]})}),e[15]=n,e[16]=r,e[17]=p):p=e[17];let m;e[18]!==f||e[19]!==p?(m=a.jsxs(te,{spacing:2,children:[f,p]}),e[18]=f,e[19]=p,e[20]=m):m=e[20];let h;return e[21]!==s||e[22]!==m?(h=a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,title:s,content:m}),e[21]=s,e[22]=m,e[23]=h):h=e[23],h}function Lat(){const t=he.c(29),e=Gr(),r=gl(),n=gr(),s=gr(),i=gr(),{menuOpen:o,menuClose:l}=Jt(),c=Ye();let u;t[0]!==r?(u=A=>()=>{r({imsi:A},{method:"POST",encType:"application/json",action:"mme-disconnect"})},t[0]=r,t[1]=u):u=t[1];const d=u;let f;t[2]!==r?(f=(A,P)=>{r({imsi:A,reattach:P},{method:"POST",encType:"application/json",action:"mme-detach"})},t[2]=r,t[3]=f):f=t[3];const p=f;let m;t[4]!==p||t[5]!==c||t[6]!==l||t[7]!==o?(m=(A,P)=>{o({anchorEl:A?.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:[{label:c.formatMessage({id:"device_status.mme.detach.reattach_required"}),value:nb.REQUIRED,onClick:()=>{l(),p(P,nb.REQUIRED)}},{label:c.formatMessage({id:"device_status.mme.detach.reattach_not_required"}),value:nb.NOT_REQUIRED,onClick:()=>{l(),p(P,nb.NOT_REQUIRED)}}]})},t[4]=p,t[5]=c,t[6]=l,t[7]=o,t[8]=m):m=t[8];const h=m;let _;t[9]!==r?(_=(A,P)=>{r({imsi:A,reattach:P},{method:"POST",encType:"application/json",action:"mme-purge"})},t[9]=r,t[10]=_):_=t[10];const g=_;let y;t[11]!==g||t[12]!==c||t[13]!==l||t[14]!==o?(y=(A,P)=>{o({anchorEl:A?.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:[{label:c.formatMessage({id:"device_status.mme.purge.reattach_required"}),value:sb.REQUIRED,onClick:()=>{l(),g(P,sb.REQUIRED)}},{label:c.formatMessage({id:"device_status.mme.purge.reattach_not_required"}),value:sb.NOT_REQUIRED,onClick:()=>{l(),g(P,sb.NOT_REQUIRED)}}]})},t[11]=g,t[12]=c,t[13]=l,t[14]=o,t[15]=y):y=t[15];const b=y;let x;t[16]===Symbol.for("react.memo_cache_sentinel")?(x=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[16]=x):x=t[16];let w;t[17]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(zh,{}),t[17]=w):w=t[17];let C;t[18]!==s.state||t[19]!==n.state||t[20]!==i.state||t[21]!==h||t[22]!==d||t[23]!==b||t[24]!==c?(C=A=>a.jsxs(a.Fragment,{children:[a.jsx(o7,{children:a.jsxs(te,{direction:"row",children:[a.jsx(Ze,{text:c.formatMessage({id:"device_status.mme.disconnect"}),size:"small",onClick:d(A.imsi),loading:n.state!=="idle",variant:"outlined"}),a.jsx(Ze,{text:c.formatMessage({id:"device_status.mme.detach"}),size:"small",onClick:P=>{h(P,A.imsi)},loading:s.state!=="idle",variant:"outlined",endIcon:a.jsx(ge.DownArrow,{size:14})}),a.jsx(Ze,{text:c.formatMessage({id:"device_status.mme.purge"}),size:"small",onClick:P=>{b(P,A.imsi)},loading:i.state!=="idle",variant:"outlined",endIcon:a.jsx(ge.DownArrow,{size:14})})]})}),a.jsx(Kt,{sx:{overflow:"auto",height:"100%"},children:a.jsxs(te,{children:[a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.imsi"}),value:A.imsi}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.imeisv"}),value:A.imeisv}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.profile.subscription.msisdn"}),value:A.profile?.subscription?.msisdn}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.profile.subscription.mode"}),value:A.profile?.subscription?.mode}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.age_of_location_info"}),value:A.age_of_location_info}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.ecm_state"}),value:A.ecm_state}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.emm_state"}),value:A.emm_state}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.last_radio_contact"}),value:A.last_radio_contact}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.pending_procedure"}),value:A.pending_procedure}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.sgs_state"}),value:A.sgs_state}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.drx"}),value:A.drx}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.guti"}),value:A.guti}),A.uli&&A.uli.tai&&a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,sx:{borderRadius:1},title:c.formatMessage({id:"device_status.mme.uli.tai"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.uli.tai.plmn"}),value:A.uli.tai.plmn}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.uli.tai.tac"}),value:A.uli.tai.tac})]})}),A.uli&&A.uli.ecgi&&a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,sx:{borderRadius:1},title:c.formatMessage({id:"device_status.mme.uli.ecgi"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.uli.ecgi.plmn"}),value:A.uli.ecgi.plmn}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.uli.ecgi.eci"}),value:A.uli.ecgi.eci})]})}),A.profile&&a.jsx(Oat,{profile:A.profile}),A.decor&&a.jsx(Dat,{decor:A.decor}),A.esm&&a.jsx($at,{esm:A.esm}),A.psm&&a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,sx:{borderRadius:1},title:c.formatMessage({id:"device_status.mme.psm"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.psm.psm"}),value:A.psm.psm}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.psm.idle_since_ms"}),value:A.psm.idle_since_ms}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.psm.t3324"}),value:A.psm.t3324})]})}),A.edrx&&a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,sx:{borderRadius:1},title:c.formatMessage({id:"device_status.mme.edrx"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.edrx.mode"}),value:A.edrx.mode}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.edrx.window"}),value:A.edrx.window}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.edrx.window_s"}),value:A.edrx.window_s}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.edrx.cycle"}),value:A.edrx.cycle}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.edrx.cycle_s"}),value:A.edrx.cycle_s})]})})]})})]}),t[18]=s.state,t[19]=n.state,t[20]=i.state,t[21]=h,t[22]=d,t[23]=b,t[24]=c,t[25]=C):C=t[25];let k;return t[26]!==e.mmeStatus||t[27]!==C?(k=a.jsx(I.Suspense,{fallback:x,children:a.jsx(Qt,{resolve:e.mmeStatus,errorElement:w,children:C})}),t[26]=e.mmeStatus,t[27]=C,t[28]=k):k=t[28],k}function Nat(t){const e=he.c(14),{activeAppSessions:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.pcf.active_app_sessions"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==s?(i=a.jsx(_e,{type:"body1",color:"grey.600",children:s}),e[2]=s,e[3]=i):i=e[3];let o;if(e[4]!==r||e[5]!==n){let u;e[7]!==n?(u=d=>a.jsx(xr,{title:n.formatMessage({id:"device_status.pcf.active_app_session"},{id:d.id}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.interface_type"}),value:d.interface_type}),a.jsxs(te,{children:[a.jsx(_e,{type:"body1",color:"grey.600",children:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules"})}),d.rules&&d.rules.length>0&&a.jsx(Jn,{exclusive:!0,children:d.rules.map(f=>a.jsx(xr,{expanded:!0,disableGutters:!0,title:n.formatMessage({id:"device_status.pcf.active_app_sessions.rule"},{id:f.rule_id}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.rule_id"}),value:f.rule_id}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.qos_id"}),value:f.qos_id}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.qos_5qi"}),value:f.qos_5qi}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.qos_gbrDl"}),value:f.qos_gbrDl}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.qos_gbrUl"}),value:f.qos_gbrUl}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.qos_maxbrDl"}),value:f.qos_maxbrDl}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.qos_maxbrUl"}),value:f.qos_maxbrUl}),f.flow_infos&&f.flow_infos.length>0&&a.jsxs(te,{children:[a.jsx(_e,{type:"body1",color:"grey.600",children:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.flow_infos"})}),a.jsx(Jn,{exclusive:!0,children:f.flow_infos.map((p,m)=>a.jsx(xr,{title:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.flow_info"},{id:m}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.flow_infos.description"}),value:p.description}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.flow_infos.direction"}),value:p.direction})]})},m))})]})]})},f.rule_id))})]})]})},d.id),e[7]=n,e[8]=u):u=e[8],o=r.map(u),e[4]=r,e[5]=n,e[6]=o}else o=e[6];let l;e[9]!==o?(l=a.jsx(Jn,{exclusive:!0,spacing:1,children:o}),e[9]=o,e[10]=l):l=e[10];let c;return e[11]!==i||e[12]!==l?(c=a.jsxs(te,{children:[i,l]}),e[11]=i,e[12]=l,e[13]=c):c=e[13],c}function Fat(){const t=he.c(7),e=Ye(),r=Gr();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[0]=n):n=t[0];let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(zh,{}),t[1]=s):s=t[1];let i;t[2]!==e?(i=l=>a.jsx(gt,{sx:{overflow:"auto",height:"100%"},children:a.jsx(Jn,{exclusive:!0,children:l.map(c=>a.jsx(xr,{sx:{borderBottom:"1px solid",borderColor:"divider",boxShadow:0,borderRadius:0,"&:last-of-type":{borderRadius:0}},title:e.formatMessage({id:"device_status.pcf.pdu_session"},{id:c.pdu_session_id}),content:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{children:[a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.pdu_session_id"}),value:c.pdu_session_id}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.pdu_session_type"}),value:c.pdu_session_type}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.supi"}),value:c.supi}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.dnn"}),value:c.dnn}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.ipv4_addr"}),value:c.ipv4_addr}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.ipv6_addr"}),value:c.ipv6_addr}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.is_emergency"}),value:c.is_emergency}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.pei"}),value:c.pei}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.plmn"}),value:`${c.plmn?.mcc}${c.plmn?.mnc}`}),c.snssai&&a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.snssai"}),value:c.snssai.sd?`${c.snssai.sst}-${c.snssai.sd}`:c.snssai.sst})]}),c.active_app_sessions&&c.active_app_sessions.length>0&&a.jsx(Nat,{activeAppSessions:c.active_app_sessions})]})},c.pdu_session_id))})}),t[2]=e,t[3]=i):i=t[3];let o;return t[4]!==r.pcfStatus||t[5]!==i?(o=a.jsx(I.Suspense,{fallback:n,children:a.jsx(Qt,{resolve:r.pcfStatus,errorElement:s,children:i})}),t[4]=r.pcfStatus,t[5]=i,t[6]=o):o=t[6],o}function Uat(t){const e=he.c(10),{dedicatedBearers:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.sgwc.session.dedicated_bearers"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==s?(i=a.jsx(_e,{type:"body1",color:"grey.600",children:s}),e[2]=s,e[3]=i):i=e[3];let o;e[4]!==r||e[5]!==n?(o=r&&a.jsx(Jn,{exclusive:!1,spacing:1,children:r.map(c=>a.jsx(xr,{elevation:2,title:`${n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer"})} - ${c.ebi}`,content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.ebi"}),value:c.ebi}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.lebi"}),value:c.lebi}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.rat"}),value:c.rat}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.apn"}),value:c.apn}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.ambr.uplink"}),value:c?.ambr?.uplink}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.ambr.downlink"}),value:c?.ambr?.downlink}),a.jsx(xr,{elevation:3,disableGutters:!0,title:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.qos"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.qos.ambr.uplink"}),value:c?.qos?.ambr?.uplink}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.qos.ambr.downlink"}),value:c?.qos?.ambr?.downlink}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.qos.arp.preemption_capability"}),value:c?.qos?.arp?.preemption_capability}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.qos.arp.preemption_vulnerability"}),value:c?.qos?.arp?.preemption_vulnerability}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.qos.arp.priority"}),value:c?.qos?.arp?.priority}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.qos.qci"}),value:c?.qos?.qci})]})})]})},c.ebi))}),e[4]=r,e[5]=n,e[6]=o):o=e[6];let l;return e[7]!==i||e[8]!==o?(l=a.jsxs(te,{children:[i,o]}),e[7]=i,e[8]=o,e[9]=l):l=e[9],l}function Bat(t){const e=he.c(85),{defaultBearer:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.sgwc.session.default_bearer"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==n?(i=n.formatMessage({id:"device_status.sgwc.session.default_bearer.ebi"}),e[2]=n,e[3]=i):i=e[3];const o=r?.ebi;let l;e[4]!==i||e[5]!==o?(l=a.jsx(Qe,{label:i,value:o}),e[4]=i,e[5]=o,e[6]=l):l=e[6];let c;e[7]!==n?(c=n.formatMessage({id:"device_status.sgwc.session.default_bearer.lebi"}),e[7]=n,e[8]=c):c=e[8];const u=r?.lebi;let d;e[9]!==c||e[10]!==u?(d=a.jsx(Qe,{label:c,value:u}),e[9]=c,e[10]=u,e[11]=d):d=e[11];let f;e[12]!==n?(f=n.formatMessage({id:"device_status.sgwc.session.default_bearer.rat"}),e[12]=n,e[13]=f):f=e[13];const p=r?.rat;let m;e[14]!==f||e[15]!==p?(m=a.jsx(Qe,{label:f,value:p}),e[14]=f,e[15]=p,e[16]=m):m=e[16];let h;e[17]!==n?(h=n.formatMessage({id:"device_status.sgwc.session.default_bearer.apn"}),e[17]=n,e[18]=h):h=e[18];const _=r?.apn;let g;e[19]!==h||e[20]!==_?(g=a.jsx(Qe,{label:h,value:_}),e[19]=h,e[20]=_,e[21]=g):g=e[21];let y;e[22]!==n?(y=n.formatMessage({id:"device_status.sgwc.session.default_bearer.ambr.uplink"}),e[22]=n,e[23]=y):y=e[23];const b=r?.ambr?.uplink;let x;e[24]!==y||e[25]!==b?(x=a.jsx(Qe,{label:y,value:b}),e[24]=y,e[25]=b,e[26]=x):x=e[26];let w;e[27]!==n?(w=n.formatMessage({id:"device_status.sgwc.session.default_bearer.ambr.downlink"}),e[27]=n,e[28]=w):w=e[28];const C=r?.ambr?.downlink;let k;e[29]!==w||e[30]!==C?(k=a.jsx(Qe,{label:w,value:C}),e[29]=w,e[30]=C,e[31]=k):k=e[31];let A;e[32]!==n?(A=n.formatMessage({id:"device_status.sgwc.session.default_bearer.qos"}),e[32]=n,e[33]=A):A=e[33];let P;e[34]!==n?(P=n.formatMessage({id:"device_status.sgwc.session.default_bearer.qos.ambr.uplink"}),e[34]=n,e[35]=P):P=e[35];const T=r?.qos?.ambr?.uplink;let j;e[36]!==P||e[37]!==T?(j=a.jsx(Qe,{label:P,value:T}),e[36]=P,e[37]=T,e[38]=j):j=e[38];let R;e[39]!==n?(R=n.formatMessage({id:"device_status.sgwc.session.default_bearer.qos.ambr.downlink"}),e[39]=n,e[40]=R):R=e[40];const D=r?.qos?.ambr?.downlink;let O;e[41]!==R||e[42]!==D?(O=a.jsx(Qe,{label:R,value:D}),e[41]=R,e[42]=D,e[43]=O):O=e[43];let N;e[44]!==n?(N=n.formatMessage({id:"device_status.sgwc.session.default_bearer.qos.arp.preemption_capability"}),e[44]=n,e[45]=N):N=e[45];const F=r?.qos?.arp?.preemption_capability;let U;e[46]!==N||e[47]!==F?(U=a.jsx(Qe,{label:N,value:F}),e[46]=N,e[47]=F,e[48]=U):U=e[48];let z;e[49]!==n?(z=n.formatMessage({id:"device_status.sgwc.session.default_bearer.qos.arp.preemption_vulnerability"}),e[49]=n,e[50]=z):z=e[50];const H=r?.qos?.arp?.preemption_vulnerability;let W;e[51]!==z||e[52]!==H?(W=a.jsx(Qe,{label:z,value:H}),e[51]=z,e[52]=H,e[53]=W):W=e[53];let K;e[54]!==n?(K=n.formatMessage({id:"device_status.sgwc.session.default_bearer.qos.arp.priority"}),e[54]=n,e[55]=K):K=e[55];const q=r?.qos?.arp?.priority;let X;e[56]!==K||e[57]!==q?(X=a.jsx(Qe,{label:K,value:q}),e[56]=K,e[57]=q,e[58]=X):X=e[58];let Q;e[59]!==n?(Q=n.formatMessage({id:"device_status.sgwc.session.default_bearer.qos.qci"}),e[59]=n,e[60]=Q):Q=e[60];const Y=r?.qos?.qci;let Z;e[61]!==Q||e[62]!==Y?(Z=a.jsx(Qe,{label:Q,value:Y}),e[61]=Q,e[62]=Y,e[63]=Z):Z=e[63];let re;e[64]!==j||e[65]!==O||e[66]!==U||e[67]!==W||e[68]!==X||e[69]!==Z?(re=a.jsxs(te,{children:[j,O,U,W,X,Z]}),e[64]=j,e[65]=O,e[66]=U,e[67]=W,e[68]=X,e[69]=Z,e[70]=re):re=e[70];let fe;e[71]!==A||e[72]!==re?(fe=a.jsx(xr,{elevation:3,disableGutters:!0,title:A,content:re}),e[71]=A,e[72]=re,e[73]=fe):fe=e[73];let de;e[74]!==m||e[75]!==g||e[76]!==x||e[77]!==k||e[78]!==l||e[79]!==fe||e[80]!==d?(de=a.jsxs(te,{children:[l,d,m,g,x,k,fe]}),e[74]=m,e[75]=g,e[76]=x,e[77]=k,e[78]=l,e[79]=fe,e[80]=d,e[81]=de):de=e[81];let se;return e[82]!==s||e[83]!==de?(se=a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,title:s,content:de}),e[82]=s,e[83]=de,e[84]=se):se=e[84],se}function zat(){const t=he.c(7),e=Gr(),r=Ye();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[0]=n):n=t[0];let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(zh,{}),t[1]=s):s=t[1];let i;t[2]!==r?(i=l=>a.jsx(gt,{sx:{overflow:"auto",height:"100%"},children:a.jsx(Jn,{exclusive:!0,children:l.map(c=>a.jsx(xr,{sx:{borderBottom:"1px solid",borderColor:"divider",boxShadow:0,borderRadius:0,"&:last-of-type":{borderRadius:0}},title:`${r.formatMessage({id:"device_status.sgwc.session"})} - ${c.id}`,content:a.jsxs(te,{children:[a.jsxs(te,{children:[a.jsx(Qe,{label:r.formatMessage({id:"device_status.sgwc.session.id"}),value:c.id}),a.jsx(Qe,{label:r.formatMessage({id:"device_status.sgwc.session.id_type"}),value:c.id_type}),a.jsx(Qe,{label:r.formatMessage({id:"device_status.sgwc.session.upf_ip"}),value:c.upf_ip}),a.jsx(Qe,{label:r.formatMessage({id:"device_status.sgwc.session.mme_ip"}),value:c.mme_ip}),a.jsx(Qe,{label:r.formatMessage({id:"device_status.sgwc.session.pgw_ip"}),value:c.pgw_ip})]}),c.default_bearer&&a.jsx(Bat,{defaultBearer:c.default_bearer}),c.dedicated_bearers&&c.dedicated_bearers.length>0&&a.jsx(Uat,{dedicatedBearers:c.dedicated_bearers})]})},c.id))})}),t[2]=r,t[3]=i):i=t[3];let o;return t[4]!==e.sgwcStatus||t[5]!==i?(o=a.jsx(I.Suspense,{fallback:n,children:a.jsx(Qt,{resolve:e.sgwcStatus,errorElement:s,children:i})}),t[4]=e.sgwcStatus,t[5]=i,t[6]=o):o=t[6],o}function qat(){const t=he.c(7),e=Ye(),r=Gr();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[0]=n):n=t[0];let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(zh,{}),t[1]=s):s=t[1];let i;t[2]!==e?(i=l=>a.jsx(gt,{sx:{overflow:"auto",height:"100%"},children:a.jsx(Jn,{exclusive:!0,children:l.map(c=>a.jsx(xr,{sx:{borderBottom:"1px solid",borderColor:"divider",boxShadow:0,borderRadius:0,"&:last-of-type":{borderRadius:0}},title:`${e.formatMessage({id:"device_status.smf.pduSession"})} - ${c.pduSessionId}`,content:a.jsxs(te,{children:[a.jsxs(te,{children:[a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.pduSessionId"}),value:c.pduSessionId}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.pduSessionType"}),value:c.pduSessionType}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.supi"}),value:c.supi}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.dnn"}),value:c.dnn}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.ue_ipv6_prefix"}),value:c.ue_ipv6_prefix}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.ue_ipv4_address"}),value:c.ue_ipv4_address}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.detectedMacAddresses"}),value:c.detected_mac_addresses}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.sNssai"}),value:c.sNssai.sd?`${c.sNssai.sst}-${c.sNssai.sd}`:c.sNssai.sst})]}),c.n4c&&c.n4c.local_fseid&&a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,title:e.formatMessage({id:"device_status.smf.n4c.localFseid"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.n4c.localFseid.ipv4"}),value:c.n4c.local_fseid.ipv4}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.n4c.localFseid.ipv6"}),value:c.n4c.local_fseid.ipv6}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.n4c.localFseid.seid"}),value:c.n4c.local_fseid.seid})]})}),c.n4c&&c.n4c.remote_fseid&&a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,title:e.formatMessage({id:"device_status.smf.n4c.remoteFseid"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.n4c.remoteFseid.ipv4"}),value:c.n4c.remote_fseid.ipv4}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.n4c.remoteFseid.ipv6"}),value:c.n4c.remote_fseid.ipv6}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.n4c.remoteFseid.seid"}),value:c.n4c.remote_fseid.seid})]})}),c.charging&&a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,title:e.formatMessage({id:"device_status.smf.charging"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.charging.chargingChar"}),value:c.charging.charging_char}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.charging.chargingDataRef"}),value:c.charging.charging_data_ref}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.charging.sequenceNum"}),value:c.charging.sequence_num})]})})]})},c.pduSessionId))})}),t[2]=e,t[3]=i):i=t[3];let o;return t[4]!==r.smfStatus||t[5]!==i?(o=a.jsx(I.Suspense,{fallback:n,children:a.jsx(Qt,{resolve:r.smfStatus,errorElement:s,children:i})}),t[4]=r.smfStatus,t[5]=i,t[6]=o):o=t[6],o}function Vat(t){const e=he.c(44),{aaa:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.udrSupiStatus.aaa"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==n?(i=n.formatMessage({id:"device_status.udrSupiStatus.aaa.dataSubscriptionNotificationFailure"}),e[2]=n,e[3]=i):i=e[3];const o=r?.data_subscription_notification_failure;let l;e[4]!==i||e[5]!==o?(l=a.jsx(Qe,{label:i,value:o}),e[4]=i,e[5]=o,e[6]=l):l=e[6];let c;e[7]!==n?(c=n.formatMessage({id:"device_status.udrSupiStatus.aaa.host"}),e[7]=n,e[8]=c):c=e[8];const u=r?.host;let d;e[9]!==c||e[10]!==u?(d=a.jsx(Qe,{label:c,value:u}),e[9]=c,e[10]=u,e[11]=d):d=e[11];let f;e[12]!==n?(f=n.formatMessage({id:"device_status.udrSupiStatus.aaa.plmn"}),e[12]=n,e[13]=f):f=e[13];const p=`${r?.plmn.mcc}${r?.plmn.mnc}`;let m;e[14]!==f||e[15]!==p?(m=a.jsx(Qe,{label:f,value:p}),e[14]=f,e[15]=p,e[16]=m):m=e[16];let h;e[17]!==n?(h=n.formatMessage({id:"device_status.udrSupiStatus.aaa.ratType"}),e[17]=n,e[18]=h):h=e[18];const _=r?.rat_type;let g;e[19]!==h||e[20]!==_?(g=a.jsx(Qe,{label:h,value:_}),e[19]=h,e[20]=_,e[21]=g):g=e[21];let y;e[22]!==n?(y=n.formatMessage({id:"device_status.udrSupiStatus.aaa.realm"}),e[22]=n,e[23]=y):y=e[23];const b=r?.realm;let x;e[24]!==y||e[25]!==b?(x=a.jsx(Qe,{label:y,value:b}),e[24]=y,e[25]=b,e[26]=x):x=e[26];let w;e[27]!==n?(w=n.formatMessage({id:"device_status.udrSupiStatus.aaa.registeredAt"}),e[27]=n,e[28]=w):w=e[28];const C=r?.registered_at;let k;e[29]!==C?(k=Mr(C),e[29]=C,e[30]=k):k=e[30];let A;e[31]!==w||e[32]!==k?(A=a.jsx(Qe,{label:w,value:k}),e[31]=w,e[32]=k,e[33]=A):A=e[33];let P;e[34]!==m||e[35]!==g||e[36]!==x||e[37]!==A||e[38]!==l||e[39]!==d?(P=a.jsxs(te,{children:[l,d,m,g,x,A]}),e[34]=m,e[35]=g,e[36]=x,e[37]=A,e[38]=l,e[39]=d,e[40]=P):P=e[40];let T;return e[41]!==s||e[42]!==P?(T=a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,title:s,content:P}),e[41]=s,e[42]=P,e[43]=T):T=e[43],T}function Hat(t){const e=he.c(44),{amf:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.udrSupiStatus.amf"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==n?(i=n.formatMessage({id:"device_status.udrSupiStatus.amf.amfInstanceID"}),e[2]=n,e[3]=i):i=e[3];const o=r?.amf_instance_id;let l;e[4]!==i||e[5]!==o?(l=a.jsx(Qe,{label:i,value:o}),e[4]=i,e[5]=o,e[6]=l):l=e[6];let c;e[7]!==n?(c=n.formatMessage({id:"device_status.udrSupiStatus.amf.pei"}),e[7]=n,e[8]=c):c=e[8];const u=r?.pei;let d;e[9]!==c||e[10]!==u?(d=a.jsx(Qe,{label:c,value:u}),e[9]=c,e[10]=u,e[11]=d):d=e[11];let f;e[12]!==n?(f=n.formatMessage({id:"device_status.udrSupiStatus.amf.dataSubscriptionNotificationFailure"}),e[12]=n,e[13]=f):f=e[13];const p=r?.data_subscription_notification_failure;let m;e[14]!==f||e[15]!==p?(m=a.jsx(Qe,{label:f,value:p}),e[14]=f,e[15]=p,e[16]=m):m=e[16];let h;e[17]!==n?(h=n.formatMessage({id:"device_status.udrSupiStatus.amf.ratType"}),e[17]=n,e[18]=h):h=e[18];const _=r?.rat_type;let g;e[19]!==h||e[20]!==_?(g=a.jsx(Qe,{label:h,value:_}),e[19]=h,e[20]=_,e[21]=g):g=e[21];let y;e[22]!==n?(y=n.formatMessage({id:"device_status.udrSupiStatus.amf.registeredAt"}),e[22]=n,e[23]=y):y=e[23];const b=r?.registered_at;let x;e[24]!==b?(x=Mr(b),e[24]=b,e[25]=x):x=e[25];let w;e[26]!==y||e[27]!==x?(w=a.jsx(Qe,{label:y,value:x}),e[26]=y,e[27]=x,e[28]=w):w=e[28];let C;e[29]!==m||e[30]!==g||e[31]!==w||e[32]!==l||e[33]!==d?(C=a.jsxs(te,{children:[l,d,m,g,w]}),e[29]=m,e[30]=g,e[31]=w,e[32]=l,e[33]=d,e[34]=C):C=e[34];let k;e[35]!==r||e[36]!==n?(k=r?.guami&&a.jsx(xr,{elevation:3,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.udrSupiStatus.amf.guami"}),content:a.jsxs(te,{spacing:2,children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.amf.guami.amfID"}),value:r.guami.amf_id}),a.jsx(xr,{elevation:4,expanded:!0,disableGutters:!0,title:n.formatMessage({id:"device_status.udrSupiStatus.amf.guami.plmn"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.amf.guami.plmn.mcc"}),value:r.guami.plmn.mcc}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.amf.guami.plmn.mnc"}),value:r.guami.plmn.mnc}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.amf.guami.plmn.nid"}),value:r.guami.plmn.nid})]})})]})}),e[35]=r,e[36]=n,e[37]=k):k=e[37];let A;e[38]!==C||e[39]!==k?(A=a.jsxs(te,{spacing:2,children:[C,k]}),e[38]=C,e[39]=k,e[40]=A):A=e[40];let P;return e[41]!==s||e[42]!==A?(P=a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,title:s,content:A}),e[41]=s,e[42]=A,e[43]=P):P=e[43],P}function Gat(t){const e=he.c(56),{mme:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.udrSupiStatus.mme"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==n?(i=n.formatMessage({id:"device_status.udrSupiStatus.mme.host"}),e[2]=n,e[3]=i):i=e[3];const o=r?.host;let l;e[4]!==i||e[5]!==o?(l=a.jsx(Qe,{label:i,value:o}),e[4]=i,e[5]=o,e[6]=l):l=e[6];let c;e[7]!==n?(c=n.formatMessage({id:"device_status.udrSupiStatus.mme.realm"}),e[7]=n,e[8]=c):c=e[8];const u=r?.realm;let d;e[9]!==c||e[10]!==u?(d=a.jsx(Qe,{label:c,value:u}),e[9]=c,e[10]=u,e[11]=d):d=e[11];let f;e[12]!==n?(f=n.formatMessage({id:"device_status.udrSupiStatus.mme.pei"}),e[12]=n,e[13]=f):f=e[13];const p=r?.pei;let m;e[14]!==f||e[15]!==p?(m=a.jsx(Qe,{label:f,value:p}),e[14]=f,e[15]=p,e[16]=m):m=e[16];let h;e[17]!==n?(h=n.formatMessage({id:"device_status.udrSupiStatus.mme.registeredForSms"}),e[17]=n,e[18]=h):h=e[18];const _=r?.registered_for_sms;let g;e[19]!==h||e[20]!==_?(g=a.jsx(Qe,{label:h,value:_}),e[19]=h,e[20]=_,e[21]=g):g=e[21];let y;e[22]!==n?(y=n.formatMessage({id:"device_status.udrSupiStatus.mme.dataSubscriptionNotificationFailure"}),e[22]=n,e[23]=y):y=e[23];const b=r?.data_subscription_notification_failure;let x;e[24]!==y||e[25]!==b?(x=a.jsx(Qe,{label:y,value:b}),e[24]=y,e[25]=b,e[26]=x):x=e[26];let w;e[27]!==n?(w=n.formatMessage({id:"device_status.udrSupiStatus.mme.ratType"}),e[27]=n,e[28]=w):w=e[28];const C=r?.rat_type;let k;e[29]!==w||e[30]!==C?(k=a.jsx(Qe,{label:w,value:C}),e[29]=w,e[30]=C,e[31]=k):k=e[31];let A;e[32]!==n?(A=n.formatMessage({id:"device_status.udrSupiStatus.mme.plmn"}),e[32]=n,e[33]=A):A=e[33];const P=`${r?.plmn.mcc}${r?.plmn.mnc}`;let T;e[34]!==A||e[35]!==P?(T=a.jsx(Qe,{label:A,value:P}),e[34]=A,e[35]=P,e[36]=T):T=e[36];let j;e[37]!==n?(j=n.formatMessage({id:"device_status.udrSupiStatus.mme.registeredAt"}),e[37]=n,e[38]=j):j=e[38];const R=r?.registered_at;let D;e[39]!==R?(D=Mr(R),e[39]=R,e[40]=D):D=e[40];let O;e[41]!==j||e[42]!==D?(O=a.jsx(Qe,{label:j,value:D}),e[41]=j,e[42]=D,e[43]=O):O=e[43];let N;e[44]!==m||e[45]!==g||e[46]!==x||e[47]!==k||e[48]!==T||e[49]!==O||e[50]!==l||e[51]!==d?(N=a.jsxs(te,{children:[l,d,m,g,x,k,T,O]}),e[44]=m,e[45]=g,e[46]=x,e[47]=k,e[48]=T,e[49]=O,e[50]=l,e[51]=d,e[52]=N):N=e[52];let F;return e[53]!==s||e[54]!==N?(F=a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,title:s,content:N}),e[53]=s,e[54]=N,e[55]=F):F=e[55],F}function Wat(t){const e=he.c(13),{mwdStatus:r}=t,n=Ye();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={borderRadius:1},e[0]=s):s=e[0];let i;e[1]!==n?(i=n.formatMessage({id:"device_status.udrInfo.mwdStatus"}),e[1]=n,e[2]=i):i=e[2];let o;e[3]!==n?(o=n.formatMessage({id:"device_status.udrInfo.mwdStatus.host"}),e[3]=n,e[4]=o):o=e[4];let l;e[5]!==r?(l=r.map(Yat),e[5]=r,e[6]=l):l=e[6];let c;e[7]!==o||e[8]!==l?(c=a.jsx(Qe,{label:o,value:l}),e[7]=o,e[8]=l,e[9]=c):c=e[9];let u;return e[10]!==i||e[11]!==c?(u=a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,sx:s,title:i,content:c}),e[10]=i,e[11]=c,e[12]=u):u=e[12],u}function Yat(t){return t.host}function Kat(t){const e=he.c(53),{sgsn:r}=t,n=Ye();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={borderRadius:1},e[0]=s):s=e[0];let i;e[1]!==n?(i=n.formatMessage({id:"device_status.udrSupiStatus.sgsn"}),e[1]=n,e[2]=i):i=e[2];let o;e[3]!==n?(o=n.formatMessage({id:"device_status.udrSupiStatus.sgsn.dataSubscriptionNotificationFailure"}),e[3]=n,e[4]=o):o=e[4];const l=`${r?.data_subscription_notification_failure}`;let c;e[5]!==o||e[6]!==l?(c=a.jsx(Qe,{label:o,value:l}),e[5]=o,e[6]=l,e[7]=c):c=e[7];let u;e[8]!==n?(u=n.formatMessage({id:"device_status.udrSupiStatus.sgsn.plmn"}),e[8]=n,e[9]=u):u=e[9];const d=`${r?.plmn.mcc}${r?.plmn.mnc}`;let f;e[10]!==u||e[11]!==d?(f=a.jsx(Qe,{label:u,value:d}),e[10]=u,e[11]=d,e[12]=f):f=e[12];let p;e[13]!==n?(p=n.formatMessage({id:"device_status.udrSupiStatus.sgsn.ratType"}),e[13]=n,e[14]=p):p=e[14];const m=r?.rat_type;let h;e[15]!==m||e[16]!==p?(h=a.jsx(Qe,{label:p,value:m}),e[15]=m,e[16]=p,e[17]=h):h=e[17];let _;e[18]!==n?(_=n.formatMessage({id:"device_status.udrSupiStatus.sgsn.registeredAt"}),e[18]=n,e[19]=_):_=e[19];const g=r?.registered_at;let y;e[20]!==g?(y=Mr(g),e[20]=g,e[21]=y):y=e[21];let b;e[22]!==_||e[23]!==y?(b=a.jsx(Qe,{label:_,value:y}),e[22]=_,e[23]=y,e[24]=b):b=e[24];let x;e[25]!==n||e[26]!==r?(x=r&&"host"in r&&a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.sgsn.host"}),value:r.host}),e[25]=n,e[26]=r,e[27]=x):x=e[27];let w;e[28]!==n||e[29]!==r?(w=r&&"pei"in r&&a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.sgsn.pei"}),value:r.pei}),e[28]=n,e[29]=r,e[30]=w):w=e[30];let C;e[31]!==n||e[32]!==r?(C=r&&"realm"in r&&a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.sgsn.realm"}),value:r.realm}),e[31]=n,e[32]=r,e[33]=C):C=e[33];let k;e[34]!==n||e[35]!==r?(k=r&&"address"in r&&a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.sgsn.address"}),value:r.address}),e[34]=n,e[35]=r,e[36]=k):k=e[36];let A;e[37]!==n||e[38]!==r?(A=r&&"number"in r&&a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.sgsn.number"}),value:r.number}),e[37]=n,e[38]=r,e[39]=A):A=e[39];let P;e[40]!==h||e[41]!==b||e[42]!==x||e[43]!==w||e[44]!==C||e[45]!==k||e[46]!==A||e[47]!==c||e[48]!==f?(P=a.jsxs(te,{children:[c,f,h,b,x,w,C,k,A]}),e[40]=h,e[41]=b,e[42]=x,e[43]=w,e[44]=C,e[45]=k,e[46]=A,e[47]=c,e[48]=f,e[49]=P):P=e[49];let T;return e[50]!==i||e[51]!==P?(T=a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,sx:s,title:i,content:P}),e[50]=i,e[51]=P,e[52]=T):T=e[52],T}function Qat(t){const e=he.c(5),{smf:r}=t,n=Ye();let s;e[0]!==n||e[1]!==r?(s=r&&r.length>0&&a.jsx(Jn,{spacing:1,children:r.map(o=>{const{smf_instance_id:l,pdu_sessions:c}=o;return a.jsx(xr,{elevation:2,title:n.formatMessage({id:"device_status.udrSupiStatus.smf"},{id:l}),content:a.jsxs(te,{children:[a.jsx(_e,{type:"body1",color:"grey.600",children:n.formatMessage({id:"device_status.udrSupiStatus.smf.pdu_sessions"})}),a.jsx(Jn,{spacing:1,children:c.map(u=>{const{pdu_session_id:d,dnn:f,emergency_services:p,registered_at:m,single_nssai:h}=u;return a.jsx(xr,{elevation:3,title:n.formatMessage({id:"device_status.udrSupiStatus.smf.pdu_session"},{id:d}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.smf.pdu_session.dnn"}),value:f}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.smf.pdu_session.emergency_services"}),value:p}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.smf.pdu_session.registered_at"}),value:Mr(m)}),a.jsx(xr,{expanded:!0,elevation:4,title:n.formatMessage({id:"device_status.udrSupiStatus.smf.pdu_session.single_nssai"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.smf.pdu_session.single_nssai.sd"}),value:h.sd}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.smf.pdu_session.single_nssai.sst"}),value:h.sst})]})})]})},d)})})]})},l)})}),e[0]=n,e[1]=r,e[2]=s):s=e[2];let i;return e[3]!==s?(i=a.jsx(a.Fragment,{children:s}),e[3]=s,e[4]=i):i=e[4],i}function Zat(t){const e=he.c(38),{vlr:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.udrSupiStatus.vlr"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==n?(i=n.formatMessage({id:"device_status.udrSupiStatus.vlr.data_subscription_notification_failure"}),e[2]=n,e[3]=i):i=e[3];const o=r?.data_subscription_notification_failure;let l;e[4]!==i||e[5]!==o?(l=a.jsx(Qe,{label:i,value:o}),e[4]=i,e[5]=o,e[6]=l):l=e[6];let c;e[7]!==n?(c=n.formatMessage({id:"device_status.udrSupiStatus.vlr.msc_number"}),e[7]=n,e[8]=c):c=e[8];const u=r?.msc_number;let d;e[9]!==c||e[10]!==u?(d=a.jsx(Qe,{label:c,value:u}),e[9]=c,e[10]=u,e[11]=d):d=e[11];let f;e[12]!==n?(f=n.formatMessage({id:"device_status.udrSupiStatus.vlr.number"}),e[12]=n,e[13]=f):f=e[13];const p=r?.number;let m;e[14]!==f||e[15]!==p?(m=a.jsx(Qe,{label:f,value:p}),e[14]=f,e[15]=p,e[16]=m):m=e[16];let h;e[17]!==n?(h=n.formatMessage({id:"device_status.udrSupiStatus.vlr.plmn"}),e[17]=n,e[18]=h):h=e[18];const _=`${r?.plmn.mcc}${r?.plmn.mnc}`;let g;e[19]!==h||e[20]!==_?(g=a.jsx(Qe,{label:h,value:_}),e[19]=h,e[20]=_,e[21]=g):g=e[21];let y;e[22]!==n?(y=n.formatMessage({id:"device_status.udrSupiStatus.vlr.registered_at"}),e[22]=n,e[23]=y):y=e[23];const b=r?.registered_at;let x;e[24]!==b?(x=Mr(b),e[24]=b,e[25]=x):x=e[25];let w;e[26]!==y||e[27]!==x?(w=a.jsx(Qe,{label:y,value:x}),e[26]=y,e[27]=x,e[28]=w):w=e[28];let C;e[29]!==m||e[30]!==g||e[31]!==w||e[32]!==l||e[33]!==d?(C=a.jsx(te,{spacing:2,children:a.jsxs(te,{children:[l,d,m,g,w]})}),e[29]=m,e[30]=g,e[31]=w,e[32]=l,e[33]=d,e[34]=C):C=e[34];let k;return e[35]!==s||e[36]!==C?(k=a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,title:s,content:C}),e[35]=s,e[36]=C,e[37]=k):k=e[37],k}function Xat(){const t=he.c(4),e=Gr();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[0]=r):r=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(zh,{}),t[1]=n):n=t[1];let s;return t[2]!==e.udrStatus?(s=a.jsx(I.Suspense,{fallback:r,children:a.jsx(Qt,{resolve:e.udrStatus,errorElement:n,children:Jat})}),t[2]=e.udrStatus,t[3]=s):s=t[3],s}function Jat(t){const{udrSupiStatus:e,mwdStatus:r}=t;return a.jsx(Kt,{sx:{overflow:"auto",height:"100%"},children:a.jsxs(te,{children:[e.location.aaa&&a.jsx(Vat,{aaa:e.location.aaa}),e.location.amf&&a.jsx(Hat,{amf:e.location.amf}),e.location.mme&&a.jsx(Gat,{mme:e.location.mme}),e.location.vlr&&a.jsx(Zat,{vlr:e.location.vlr}),e.location.sgsn&&a.jsx(Kat,{sgsn:e.location.sgsn}),r.length>0&&a.jsx(Wat,{mwdStatus:r}),e.sessions.smf&&e.sessions.smf.length>0&&a.jsx(Qat,{smf:e.sessions.smf})]})})}function elt(t){const e=he.c(10),{farList:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.upfSession.far"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==s?(i=a.jsx(_e,{type:"body1",color:"grey.600",children:s}),e[2]=s,e[3]=i):i=e[3];let o;e[4]!==r||e[5]!==n?(o=r&&a.jsx(Jn,{exclusive:!1,spacing:1,children:r.map(c=>a.jsx(xr,{elevation:2,title:`${n.formatMessage({id:"device_status.upfSession.far.item_id"})} - ${c.id}`,content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.far.id"}),value:c.id}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.far.apply_actions"}),value:c.apply_actions}),c.forwarding_params&&a.jsx(xr,{elevation:3,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.upfSession.far.forwarding_params"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.far.forwarding_params.network_instance"}),value:c.forwarding_params.network_instance}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.far.forwarding_params.destination_iface"}),value:c.forwarding_params.destination_iface}),c.forwarding_params.ohc&&a.jsx(xr,{disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.upfSession.far.forwarding_params.ohc"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.far.forwarding_params.ohc.hdr"}),value:c.forwarding_params.ohc.hdr}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.far.forwarding_params.ohc.teid"}),value:c.forwarding_params.ohc.teid}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.far.forwarding_params.ohc.ipv4"}),value:c.forwarding_params.ohc.ipv4})]})})]})})]})},c.id))}),e[4]=r,e[5]=n,e[6]=o):o=e[6];let l;return e[7]!==i||e[8]!==o?(l=a.jsxs(te,{children:[i,o]}),e[7]=i,e[8]=o,e[9]=l):l=e[9],l}function tlt(t){const e=he.c(10),{pdrList:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.upfSession.pdr"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==s?(i=a.jsx(_e,{type:"body1",color:"grey.600",children:s}),e[2]=s,e[3]=i):i=e[3];let o;e[4]!==n||e[5]!==r?(o=r&&a.jsx(Jn,{exclusive:!1,spacing:1,children:r.map(c=>a.jsx(xr,{elevation:2,title:`${n.formatMessage({id:"device_status.upfSession.pdr.item_id"})} - ${c.id}`,content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.id"}),value:c.id}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.far_id"}),value:c.far_id}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.ohr"}),value:c.ohr}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.source_iface"}),value:c.source_iface}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.network_instance"}),value:c.network_instance}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.qfi"}),value:c.qfi}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.vrf_index"}),value:c.vrf_index}),c.pdi&&a.jsx(xr,{elevation:3,title:`${n.formatMessage({id:"device_status.upfSession.pdr.pdi"})}`,content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.pdi.pdi_type"}),value:c.pdi.pdi_type}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.pdi.ip"}),value:c.pdi.ip})," ",a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.pdi.teid"}),value:c.pdi.teid})," ",a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.pdi.vrf"}),value:c.pdi.vrf})]})}),c.ue_ip_addr&&a.jsx(xr,{elevation:3,title:`${n.formatMessage({id:"device_status.upfSession.pdr.ue_ip_addr"})}`,content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.ue_ip_addr.ipv4"}),value:c.ue_ip_addr.ipv4}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.ue_ip_addr.ipv6"}),value:c.ue_ip_addr.ipv6}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.ue_ip_addr.sd"}),value:c.ue_ip_addr.sd})]})})]})},c.id))}),e[4]=n,e[5]=r,e[6]=o):o=e[6];let l;return e[7]!==i||e[8]!==o?(l=a.jsxs(te,{spacing:1,children:[i,o]}),e[7]=i,e[8]=o,e[9]=l):l=e[9],l}function rlt(){const t=he.c(7),e=Ye(),r=Gr();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[0]=n):n=t[0];let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(zh,{}),t[1]=s):s=t[1];let i;t[2]!==e?(i=l=>a.jsx(gt,{sx:{overflow:"auto",height:"100%"},children:a.jsx(Jn,{exclusive:!1,children:l.map(c=>a.jsx(xr,{title:`${e.formatMessage({id:"device_status.upfSession.seid"})} - ${c.seid}`,sx:{borderBottom:"1px solid",borderColor:"divider",boxShadow:0,borderRadius:0,"&:last-of-type":{borderRadius:0}},content:a.jsxs(te,{children:[a.jsxs(te,{children:[a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.seid"}),value:c.seid}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.apn_dnn"}),value:c.apn_dnn}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.pdn_type"}),value:c.pdn_type}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.framed_routes"}),value:c.framed_routes}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.managed_routes"}),value:c.managed_routes}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.mac_addrs"}),value:c.mac_addrs})]}),a.jsx(xr,{elevation:2,title:`${e.formatMessage({id:"device_status.upfSessioon.user_id"})}`,content:a.jsxs(te,{children:[a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.user_id.imsi"}),value:c.user_id?.imsi}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.user_id.imei"}),value:c.user_id?.imei}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.user_id.msisdn"}),value:c.user_id?.msisdn}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.user_id.nai"}),value:c.user_id?.nai})]})}),c.pdr&&c.pdr.length>0&&a.jsx(tlt,{pdrList:c.pdr}),c.far&&c.far.length>0&&a.jsx(elt,{farList:c.far})]})},c.seid))})}),t[2]=e,t[3]=i):i=t[3];let o;return t[4]!==r.upfStatus||t[5]!==i?(o=a.jsx(I.Suspense,{fallback:n,children:a.jsx(Qt,{resolve:r.upfStatus,errorElement:s,children:i})}),t[4]=r.upfStatus,t[5]=i,t[6]=o):o=t[6],o}var BI,NX;function nlt(){if(NX)return BI;NX=1;var t=J$(),e=lv(),r="[object RegExp]";function n(s){return e(s)&&t(s)==r}return BI=n,BI}var zI,FX;function slt(){if(FX)return zI;FX=1;var t=nlt(),e=jh(),r=rO(),n=r&&r.isRegExp,s=n?e(n):t;return zI=s,zI}var qI,UX;function ilt(){if(UX)return qI;UX=1;var t=dge(),e=t("length");return qI=e,qI}var VI,BX;function olt(){if(BX)return VI;BX=1;var t="\\ud800-\\udfff",e="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",s=e+r+n,i="\\ufe0e\\ufe0f",o="["+t+"]",l="["+s+"]",c="\\ud83c[\\udffb-\\udfff]",u="(?:"+l+"|"+c+")",d="[^"+t+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",m="\\u200d",h=u+"?",_="["+i+"]?",g="(?:"+m+"(?:"+[d,f,p].join("|")+")"+_+h+")*",y=_+h+g,b="(?:"+[d+l+"?",l,f,p,o].join("|")+")",x=RegExp(c+"(?="+c+")|"+b+y,"g");function w(C){for(var k=x.lastIndex=0;x.test(C);)++k;return k}return VI=w,VI}var HI,zX;function alt(){if(zX)return HI;zX=1;var t=ilt(),e=yte(),r=olt();function n(s){return e(s)?r(s):t(s)}return HI=n,HI}var GI,qX;function llt(){if(qX)return GI;qX=1;var t=/\s/;function e(r){for(var n=r.length;n--&&t.test(r.charAt(n)););return n}return GI=e,GI}var WI,VX;function clt(){if(VX)return WI;VX=1;var t=llt(),e=/^\s+/;function r(n){return n&&n.slice(0,t(n)+1).replace(e,"")}return WI=r,WI}var YI,HX;function ult(){if(HX)return YI;HX=1;var t=clt(),e=Qd(),r=hte(),n=NaN,s=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,l=parseInt;function c(u){if(typeof u=="number")return u;if(r(u))return n;if(e(u)){var d=typeof u.valueOf=="function"?u.valueOf():u;u=e(d)?d+"":d}if(typeof u!="string")return u===0?u:+u;u=t(u);var f=i.test(u);return f||o.test(u)?l(u.slice(2),f?2:8):s.test(u)?n:+u}return YI=c,YI}var KI,GX;function dlt(){if(GX)return KI;GX=1;var t=ult(),e=1/0,r=17976931348623157e292;function n(s){if(!s)return s===0?s:0;if(s=t(s),s===e||s===-e){var i=s<0?-1:1;return i*r}return s===s?s:0}return KI=n,KI}var QI,WX;function flt(){if(WX)return QI;WX=1;var t=dlt();function e(r){var n=t(r),s=n%1;return n===n?s?n-s:n:0}return QI=e,QI}var ZI,YX;function plt(){if(YX)return ZI;YX=1;var t=fge(),e=pge(),r=yte(),n=Qd(),s=slt(),i=alt(),o=mge(),l=flt(),c=hge(),u=30,d="...",f=/\w*$/;function p(m,h){var _=u,g=d;if(n(h)){var y="separator"in h?h.separator:y;_="length"in h?l(h.length):_,g="omission"in h?t(h.omission):g}m=c(m);var b=m.length;if(r(m)){var x=o(m);b=x.length}if(_>=b)return m;var w=_-i(g);if(w<1)return g;var C=x?e(x,0,w).join(""):m.slice(0,w);if(y===void 0)return C+g;if(x&&(w+=C.length-w),s(y)){if(m.slice(w).search(y)){var k,A=C;for(y.global||(y=RegExp(y.source,c(f.exec(y))+"g")),y.lastIndex=0;k=y.exec(A);)var P=k.index;C=C.slice(0,P===void 0?w:P)}}else if(m.indexOf(t(y),w)!=w){var T=C.lastIndexOf(y);T>-1&&(C=C.slice(0,T))}return C+g}return ZI=p,ZI}var mlt=plt();const hlt=Pi(mlt),glt=()=>{const t=he.c(46),e=Ye(),r=Gr(),n=_lt;let s;t[0]!==e?(s=e.formatMessage({id:"landing.alerts.title.severity"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==e?(i=R=>a.jsx(Lr,{severity:n(R.labels.severity),message:e.formatMessage({id:`landing.alerts.severity.${R.labels.severity}`}),sx:{maxWidth:"160px",".MuiAlert-message":{wordBreak:"keep-all"}}}),t[2]=e,t[3]=i):i=t[3];let o;t[4]!==s||t[5]!==i?(o={key:"labels.severity",label:s,cellRender:i,wordBreak:"keep-all"},t[4]=s,t[5]=i,t[6]=o):o=t[6];let l;t[7]!==e?(l=e.formatMessage({id:"landing.alerts.title.name"}),t[7]=e,t[8]=l):l=t[8];let c;t[9]!==l?(c={key:"labels.alertname",label:l,cellRender:vlt},t[9]=l,t[10]=c):c=t[10];let u;t[11]!==e?(u=e.formatMessage({id:"landing.alerts.title.summary"}),t[11]=e,t[12]=u):u=t[12];let d;t[13]!==u?(d={key:"annotations.summary",label:u,cellRender:ylt},t[13]=u,t[14]=d):d=t[14];let f;t[15]!==e?(f=e.formatMessage({id:"landing.alerts.title.state"}),t[15]=e,t[16]=f):f=t[16];let p;t[17]!==f?(p={key:"status.state",label:f},t[17]=f,t[18]=p):p=t[18];let m;t[19]!==e?(m=e.formatMessage({id:"landing.alerts.title.firedAt"}),t[19]=e,t[20]=m):m=t[20];let h;t[21]!==m?(h={key:"startsAt",label:m,cellRender:blt},t[21]=m,t[22]=h):h=t[22];let _;t[23]!==e?(_=e.formatMessage({id:"landing.alerts.title.stillActiveAt"}),t[23]=e,t[24]=_):_=t[24];let g;t[25]!==_?(g={key:"updatedAt",label:_,cellRender:xlt},t[25]=_,t[26]=g):g=t[26];let y;t[27]!==h||t[28]!==g||t[29]!==o||t[30]!==c||t[31]!==d||t[32]!==p?(y=[o,c,d,p,h,g],t[27]=h,t[28]=g,t[29]=o,t[30]=c,t[31]=d,t[32]=p,t[33]=y):y=t[33];const b=y;let x;t[34]===Symbol.for("react.memo_cache_sentinel")?(x={flex:"1 1 auto"},t[34]=x):x=t[34];let w;t[35]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(Dt,{variant:"rounded",sx:{height:"52px"}}),t[35]=w):w=t[35];let C;t[36]===Symbol.for("react.memo_cache_sentinel")?(C=a.jsx(Dt,{variant:"rounded",sx:{height:"52px"}}),t[36]=C):C=t[36];let k;t[37]===Symbol.for("react.memo_cache_sentinel")?(k=a.jsx(Dt,{variant:"rounded",sx:{height:"52px"}}),t[37]=k):k=t[37];let A;t[38]===Symbol.for("react.memo_cache_sentinel")?(A=a.jsxs(te,{sx:x,spacing:2,children:[w,C,k,a.jsx(Dt,{variant:"rounded",sx:{height:"52px"}})]}),t[38]=A):A=t[38];let P;t[39]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(Tr,{}),t[39]=P):P=t[39];let T;t[40]!==b||t[41]!==e?(T=R=>a.jsxs(a.Fragment,{children:[R.length===0&&a.jsx(Lr,{severity:"info",title:e.formatMessage({id:"landing.alerts.no_alerts"})}),R.length>0&&a.jsx(Jn,{exclusive:!1,spacing:2,children:Object.entries(Kze(R)).map(D=>{const[O,N]=D,{items:F,counts:U}=N,{total:z,...H}=U;return a.jsx(xr,{title:a.jsxs(te,{direction:"row",align:"center",spacing:1.5,children:[a.jsxs(te,{direction:"row",align:"center",spacing:.5,children:[a.jsx(_e,{type:"subtitle1",fontWeight:"600",children:O}),a.jsx(ms,{label:z,size:"small"})]}),a.jsx(te,{direction:"row",spacing:1,children:Object.keys(Z6).map(W=>H[W]>0?a.jsx(Lr,{severity:n(W),message:`${e.formatMessage({id:`landing.alerts.severity.${W}`})} ${H[W]!==z?H[W]:""}`,sx:{padding:"2px 8px !important",".MuiAlert-icon":{mr:"4px"},".MuiAlert-message":{wordBreak:"keep-all"},".MuiAlert-message .MuiTypography-root":{fontSize:14}}},W):null)})]}),content:a.jsx(Br,{autoScale:!0,columns:b,data:F,noDataText:e.formatMessage({id:"landing.alerts.no_alerts"}),orderBy:"labels.alertname",hidePagination:!0,rowsCount:F?.length||0,rowsPerPage:F?.length||0,rowKey:"labels.alertname",page:0})},O)})})]}),t[40]=b,t[41]=e,t[42]=T):T=t[42];let j;return t[43]!==r.alerts||t[44]!==T?(j=a.jsx(I.Suspense,{fallback:A,children:a.jsx(Qt,{resolve:r.alerts,errorElement:P,children:T})}),t[43]=r.alerts,t[44]=T,t[45]=j):j=t[45],j};function _lt(t){return["emergency","alert","critical","error"].includes(t)?"error":["warning","notice"].includes(t)?"warning":["info","informational"].includes(t)?"info":"success"}function vlt(t){return a.jsxs(te,{direction:"row",nowrap:!0,align:"center",children:[a.jsx(_e,{type:"body2",children:t.labels.alertname}),t.annotations.description&&a.jsx(Mn,{arrow:!0,title:t.annotations.description,children:a.jsx("span",{children:a.jsx(te,{direction:"row",nowrap:!0,align:"center",justify:"center",children:a.jsx(ge.QuestionMark,{size:18})})})})]})}function ylt(t){return a.jsx(Mn,{arrow:!0,title:t.annotations.summary,children:a.jsx("div",{children:hlt(t.annotations.summary,{length:50})})})}function blt(t){return a.jsx(_e,{type:"body2",children:Mr(t.startsAt)})}function xlt(t){return a.jsx(_e,{type:"body2",children:Mr(t.updatedAt)})}const Mue=async t=>{const e=`${$.apis.amf.supis}/${t}`;return De({options:{url:e,method:"GET"}})},Slt=async(t,e)=>{const r=`${$.apis.amf.supis}/${t}/remove?reregister=${e}`;return De({options:{url:r,method:"POST"}})};async function wlt(t){const e=$.apis.udm.supiReAttach(t);return De({options:{url:e,method:"POST"}})}async function Clt({pageSize:t=$.pageSize,paginationToken:e}={pageSize:$.pageSize}){let r=`${$.apis.udm.homeNetworkKeys}?max_results=${t}`;return e&&(r+=`&pagination_token=${e}`),De({options:{url:r,method:"GET",cache:!1}})}async function Alt(t){const e=`${$.apis.udm.homeNetworkKeys}`;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function klt(t){const e=`${$.apis.udm.homeNetworkKeys}/upload`,r=new FormData;return r.append("file",t),De({options:{url:e,method:"POST",headers:{"content-type":"multipart/form-data"},data:r}})}async function Mlt(t){const e=`${$.apis.udm.homeNetworkKeys}/${t}`;return De({options:{url:e,method:"DELETE"}})}function Plt(t){const e=`${$.apis.udm.plmnPrefixes}/${t}`;return De({options:{url:e,method:"GET"}})}function jlt({paginationToken:t,pageSize:e}={}){const r=new URLSearchParams({...t&&{pagination_token:t},...e&&{max_results:`${e}`}}),n=`${$.apis.udm.plmnPrefixes}?${r.size?r.toString():""}`;return De({options:{url:n,method:"GET"}})}function Tlt(t){const e=$.apis.udm.plmnPrefixes;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}function Elt(t,e){const r=`${$.apis.udm.plmnPrefixes}/${t}`;return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}function Rlt(t){const e=`${$.apis.udm.plmnPrefixes}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function Ilt({request:t}){const{id:e,reregister:r}=await t.json(),n=await Slt(e,r);return xt(n)?Ar(n.error.detail):Nt(),Ft(n)}async function Dlt({request:t}){const{supi:e}=await t.json(),r=await wlt(e);return xt(r)?Ar(r.error.detail):Nt(),Ft(r)}async function $lt({request:t}){const{imsi:e}=await t.json(),r=await Got(e);return xt(r)?Ar(r.error.detail):Nt(),Ft(r)}async function Olt({request:t}){const{imsi:e,reattach:r}=await t.json(),n=await Wot(e,r);return xt(n)?Ar(n.error.detail):Nt(),Ft(n)}async function Llt({request:t}){const{imsi:e,reattach:r}=await t.json(),n=await Yot(e,r);return xt(n)?Ar(n.error.detail):Nt(),Ft(n)}async function Nlt(t){const e=$.apis.pcf.monitoring.supiInfo(t);return De({options:{url:e,method:"GET"}})}async function Flt(t){const e=$.apis.sgwc.status(t);return De({options:{url:e,method:"GET"}})}const Pue=async t=>{const e=`${$.apis.smf.status}/${t}`;return De({options:{url:e,method:"GET"}})};async function Ult({applicationServer:t,dataReferenceEq:e}={}){const r=new URLSearchParams;return t&&r.set("application_server_icont",t),e&&r.set("data_reference_eq",e),De({options:{url:`${$.apis.udr.imsApplicationServerAcl}${r.size?"?"+r.toString():""}`,method:"GET",cache:!1}})}async function Blt({id:t}){const e=`${$.apis.udr.imsApplicationServerAcl}/${t}`;return De({options:{url:e,method:"GET"}})}async function zlt(t){const e=$.apis.udr.imsApplicationServerAcl;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function qlt(t){const{id:e,...r}=t,n=`${$.apis.udr.imsApplicationServerAcl}/${e}`;return De({options:{url:n,method:"PUT",data:JSON.stringify(r)}})}async function Vlt(t){const e=`${$.apis.udr.imsApplicationServerAcl}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function Hlt({public_identity:t,...e}){const r=`${$.apis.udr.imsApplicationServerProfiles(t)}`;return De({options:{url:r,method:"POST",data:JSON.stringify(e)}})}async function Glt({public_identity:t,service_indication:e,service_data:r}){const n=`${$.apis.udr.imsApplicationServerProfiles(t)}/${e}`;return De({options:{url:n,method:"PUT",data:JSON.stringify({service_data:r})}})}async function Wlt({public_identity:t,service_indication:e}){const r=`${$.apis.udr.imsApplicationServerProfiles(t)}/${e}`;return De({options:{url:r,method:"DELETE"}})}async function Ylt({pageSize:t=$.pageSize,paginationToken:e}={pageSize:$.pageSize}){let r=`${$.apis.udr.imsInitialFilters}?max_results=${t}`;return e&&(r+=`&pagination_token=${e}`),De({options:{url:r,method:"GET",cache:!1}})}async function Klt({id:t}){const e=`${$.apis.udr.imsInitialFilters}/${t}`;return De({options:{url:e,method:"GET"}})}async function Qlt(t){const e=$.apis.udr.imsInitialFilters;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function Zlt(t){const{id:e,...r}=t,n=`${$.apis.udr.imsInitialFilters}/${e}`;return De({options:{url:n,method:"PUT",data:JSON.stringify(r)}})}async function Xlt(t){const e=`${$.apis.udr.imsInitialFilters}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function Jlt({pageSize:t=$.pageSize,paginationToken:e}={pageSize:$.pageSize}){let r=`${$.apis.udr.imsPrivateIdentities}?max_results=${t}`;return e&&(r+=`&pagination_token=${e}`),De({options:{url:r,method:"GET",cache:!1}})}async function jue({name:t}){const e=`${$.apis.udr.imsPrivateIdentities}/${t}`;return De({options:{url:e,method:"GET"}})}async function ect(t){const e=$.apis.udr.imsPrivateIdentities;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function tct(t){const e=$.apis.udr.imsBasicPrivateIdentities;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function rct(t){const{name:e,isOverridingKeys:r,...n}=t,s=`${$.apis.udr.imsPrivateIdentities}/${e}/?preserve_keys=${!r}`;return De({options:{url:s,method:"PUT",data:JSON.stringify(n)}})}async function nct(t){const e=`${$.apis.udr.imsPrivateIdentities}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function sct(t){const e=`${$.apis.udr.status.imsPrivateIdentities}/${t}`;return De({options:{url:e,method:"GET"}})}async function ict(t){const e=`${$.apis.udr.status.imsPublicIdentities}/${t}`;return De({options:{url:e,method:"GET"}})}async function oct({pageSize:t=$.pageSize,paginationToken:e}={pageSize:$.pageSize}){let r=`${$.apis.udr.imsServiceProfiles}?max_results=${t}`;return e&&(r+=`&pagination_token=${e}`),De({options:{url:r,method:"GET",cache:!1}})}async function act({id:t}){const e=`${$.apis.udr.imsServiceProfiles}/${t}`;return De({options:{url:e,method:"GET"}})}async function lct(t){const e=$.apis.udr.imsServiceProfiles;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function cct(t){const{id:e,...r}=t,n=`${$.apis.udr.imsServiceProfiles}/${e}`;return De({options:{url:n,method:"PUT",data:JSON.stringify(r)}})}async function uct(t){const e=`${$.apis.udr.imsServiceProfiles}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function dct(t){const e=$.apis.udr.mwdStatus;return De({options:{url:e,method:"POST",data:JSON.stringify({supi:t})}})}async function fct({pageSize:t,paginationToken:e}={}){const r=new URLSearchParams;return t&&r.set("max_results",t.toString()),e&&r.set("pagination_token",e),De({options:{url:`${$.apis.udr.plmns}${r.size?"?"+r.toString():""}`,method:"GET"}})}async function pct(t,e){const r=$.apis.udr.plmns;return De({options:{url:r,method:"POST",data:JSON.stringify({mcc:t,mnc:e})}})}async function mct(t,e){const r=`${$.apis.udr.plmns}/${t}-${e}`;return De({options:{url:r,method:"DELETE"}})}async function hct(t){const e=`${$.apis.udr.policyDataProfiles}/${t}`;return De({options:{url:e,method:"GET"}})}async function h7({paginationToken:t,pageSize:e}={}){const r=new URLSearchParams;return e&&r.set("max_results",e.toString()),t&&r.set("pagination_token",t),De({options:{url:`${$.apis.udr.policyDataProfiles}${r.size?"?"+r.toString():""}`,method:"GET"}})}async function gct(t){const e=$.apis.udr.policyDataProfiles;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function _ct(t){const{uuid:e,...r}=t,n=`${$.apis.udr.policyDataProfiles}/${e}`;return De({options:{url:n,method:"PUT",data:JSON.stringify(r)}})}async function vct(t){const e=`${$.apis.udr.policyDataProfiles}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function g7({pageSize:t,paginationToken:e}={}){const r=new URLSearchParams;return t&&r.set("max_results",t.toString()),e&&r.set("pagination_token",e),De({options:{url:`${$.apis.udr.provisionedDataProfiles}${r.size?"?"+r.toString():""}`,method:"GET"}})}async function yct(t){const e=`${$.apis.udr.provisionedDataProfiles}/${t}`;return De({options:{url:e,method:"GET"}})}async function bct(t){const e=$.apis.udr.provisionedDataProfiles;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function xct(t,e){const r=`${$.apis.udr.provisionedDataProfiles}/${t}`;return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}async function Sct(t){const e=`${$.apis.udr.provisionedDataProfiles}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function wct(t){const e=`${$.apis.udr.supiStatus}/${t}`;return De({options:{url:e,method:"GET"}})}async function Cct(t){const e=`${$.apis.udr.supis}/${t}`;return De({options:{url:e,method:"GET"}})}async function Act({pageSize:t,paginationToken:e,supi_icont:r,supi_noticont:n,supi_iend:s,gpsi_icont:i,gpsi_noticont:o,gpsi_iend:l,status_eq:c}={}){const u=new URLSearchParams;return t&&u.set("max_results",t.toString()),e&&u.set("pagination_token",e),r&&u.set("supi_icont",r),n&&u.set("supi_noticont",n),s&&u.set("supi_iend",s),i&&u.set("gpsi_icont",i),o&&u.set("gpsi_noticont",o),l&&u.set("gpsi_iend",l),c&&u.set("status_eq",c),De({options:{url:`${$.apis.udr.supis}${u.size?"?"+u.toString():""}`,method:"GET"}})}async function kct(t){const e=$.apis.udr.supis;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function Mct(t,e){const r=`${$.apis.udr.supis}/${t}`;return De({options:{url:r,method:"PATCH",data:JSON.stringify(e)}})}async function Pct(t){const e=`${$.apis.udr.supis}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function jct(t){const e=$.apis.udr.supisBulkImport,r=new FormData;return r.append("file",t),De({options:{url:e,method:"POST",headers:{"content-type":"multipart/form-data"},data:r}})}async function Tct(t){const e=$.apis.bulkImportSupisCheck(t);return De({options:{url:e,method:"GET"}})}async function Ect({pageSize:t,paginationToken:e,supi_icont:r,supi_noticont:n,supi_iend:s,gpsi_icont:i,gpsi_noticont:o,gpsi_iend:l,status_eq:c}){const[u,d,f]=await Promise.all([Act({pageSize:t,paginationToken:e,supi_icont:r,supi_noticont:n,supi_iend:s,gpsi_icont:i,gpsi_noticont:o,gpsi_iend:l,status_eq:c}),h7({pageSize:1e4}),g7({pageSize:1e4})]);return{supiList:u,policyDataProfileList:d,provisionedDataProfileList:f}}async function KX(t){const[e,r,n]=await Promise.all([t?Cct(t):void 0,h7({pageSize:1e4}),g7({pageSize:1e4})]);return{supi:e,policyDataProfileList:r,provisionedDataProfileList:n}}async function Rct({pageSize:t=$.pageSize,paginationToken:e}={pageSize:$.pageSize}){let r=`${$.apis.udr.transportKeys}?max_results=${t}`;return e&&(r+=`&pagination_token=${e}`),De({options:{url:r,method:"GET",cache:!1}})}async function Ict({id:t}){const e=`${$.apis.udr.transportKeys}/${encodeURIComponent(t)}`;return De({options:{url:e,method:"GET"}})}async function Dct(t){const e=$.apis.udr.transportKeys;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function $ct(t){const{id:e,...r}=t,n=`${$.apis.udr.transportKeys}/${encodeURIComponent(e)}`;return De({options:{url:n,method:"PUT",data:JSON.stringify(r)}})}async function Oct(t){const e=`${$.apis.udr.transportKeys}/${encodeURIComponent(t)}`;return De({options:{url:e,method:"DELETE"}})}async function Lct(){const t=$.apis.udr.milenageConstants;return De({options:{url:t,method:"GET"}})}async function Nct(t){const e=$.apis.udr.milenageConstants;return De({options:{url:e,method:"PUT",data:JSON.stringify(t)}})}async function Fct(){const t=$.apis.udr.milenageConstants;return De({options:{url:t,method:"DELETE"}})}function Uct({pageSize:t,paginationToken:e}={}){const r=new URLSearchParams;return t&&r.set("max_results",t.toString()),e&&r.set("pagination_token",e),De({options:{url:`${$.apis.udr.operatorKeys}${r.size?"?"+r.toString():""}`,method:"GET"}})}async function Bct(t){const e=$.apis.udr.operatorKeys;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function zct({id:t,...e}){const r=`${$.apis.udr.operatorKeys}/${t}`;return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}async function qct(t){const e=`${$.apis.udr.operatorKeys}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function Vct(t){const e=`${$.apis.upf.sessions}/supi/${t}`;return De({options:{url:e,method:"GET"}})}const Hct=[ue.AMF,ue.SMF,ue.UDR,ue.UDM,ue.UPF,ue.MME,ue.SGWC,ue.PCF];async function Tue(){const t=await ma(),e=[];return Hct.forEach(r=>{Ds({services:t,name:r})&&e.push(r)}),e}async function Tm(t,e){try{return await t(e),nn.SUCCESS}catch{return nn.ERROR}}async function Gct(t){const e=t.split("-")[1],[r,n,s,i,o,l,c]=await Promise.all([Tm(Mue,t),Tm(Pue,t),Tm(Eue,t),Tm(Rue,t),Tm(Iue,e),Tm(Due,e),Tm($ue,t)]);return{[ue.AMF]:r,[ue.SMF]:n,[ue.UDR]:i,[ue.UPF]:s,[ue.MME]:o,[ue.SGWC]:l,[ue.PCF]:c}}async function Wct(t){const e=await Tue(),r=await Gct(t),n=[];return e.filter(s=>s!==ue.UDM).forEach(s=>{n.push({url:s,label:Pr().formatMessage({id:`device_status.tabs.${s}`}),status:r[s]})}),{activeTabs:n,startLocation:n[0]?.url}}async function Eue(t){const e=await Vct(t);if(Ni.isEmpty(e))throw Li({type:mn.REMOTE_NOT_FOUND});return e}async function Rue(t){const[e,r]=await Promise.all([wct(t),dct(t)]);if(Ni.isEmpty(e.location))throw Li({type:mn.REMOTE_NOT_FOUND});return{udrSupiStatus:e,mwdStatus:r}}async function Iue(t){const e=await Hot(t);if(Ni.isEmpty(e))throw Li({type:mn.REMOTE_NOT_FOUND});return e}async function Due(t){const e=await Flt(t);if(Ni.isEmpty(e))throw Li({type:mn.REMOTE_NOT_FOUND});return e}async function $ue(t){const e=await Nlt(t);if(Ni.isEmpty(e))throw Li({type:mn.REMOTE_NOT_FOUND});return e}async function Yct(t){return Wt({loaderArgs:t,deferred:!0,data:{services:Tue()}})}async function Kct(t){const{id:e}=t.params;return e?Pat(e)?Wt({loaderArgs:t,deferred:!0,data:{tabs:Wct(e)}}):rt(".."):null}async function Qct(t){const{id:e}=t.params;if(!e)return null;const r=await ma();return Ds({services:r,name:ue.AMF})?Wt({loaderArgs:t,deferred:!0,data:{amfStatus:Mue(e)}}):rt("..")}async function Zct(t){const{id:e}=t.params;if(!e)return null;const r=await ma();return Ds({services:r,name:ue.SMF})?Wt({loaderArgs:t,deferred:!0,data:{smfStatus:Pue(e)}}):rt("..")}async function Xct(t){const{id:e}=t.params;if(!e)return null;const r=await ma();return Ds({services:r,name:ue.UPF})?Wt({loaderArgs:t,deferred:!0,data:{upfStatus:Eue(e)}}):rt("..")}async function Jct(t){const{id:e}=t.params;if(!e)return null;const r=await ma();return Ds({services:r,name:ue.UDR})?Wt({loaderArgs:t,deferred:!0,data:{udrStatus:Rue(e)}}):rt("..")}async function eut(t){const{id:e}=t.params;if(!e)return null;const r=await ma();if(!Ds({services:r,name:ue.MME}))return rt("..");const n=e.split("-")[1];return Wt({loaderArgs:t,deferred:!0,data:{mmeStatus:Iue(n)}})}async function tut(t){const{id:e}=t.params;if(!e)return null;const r=await ma();if(!Ds({services:r,name:ue.SGWC}))return rt("..");const n=e.split("-")[1];return Wt({loaderArgs:t,deferred:!0,data:{sgwcStatus:Due(n)}})}async function rut(t){const{id:e}=t.params;if(!e)return null;const r=await ma();return Ds({services:r,name:ue.PCF})?Wt({loaderArgs:t,deferred:!0,data:{pcfStatus:$ue(e)}}):rt("..")}async function _7(){const t=`${$.apis.ncm.status.vrfs}`;return De({options:{url:t,method:"GET"}})}async function nut({filter:t}={}){const e=`${$.apis.ncm.status.interfaces}${t?"?"+new URLSearchParams(t):""}`;return De({options:{url:e,method:"GET"}})}async function sut({filter:t}={}){const e=`${$.apis.ncm.status.neighbors}${t?"?"+new URLSearchParams(t):""}`;return De({options:{url:e,method:"GET"}})}async function iut({filter:t}={}){const e=`${$.apis.ncm.status.routes}${t?"?"+new URLSearchParams(t):""}`;return De({options:{url:e,method:"GET"}})}async function out({filter:t}={}){const e=`${$.apis.ncm.status.rules}${t?"?"+new URLSearchParams(t):""}`;return De({options:{url:e,method:"GET"}})}async function aut({filter:t}={}){const e=`${$.apis.ncm.status.sockets}${t?"?"+new URLSearchParams(t):""}`;return De({options:{url:e,method:"GET"}})}async function lut(){const t=`${$.apis.ncm.status.ntp}`;return De({options:{url:t,method:"GET"}})}async function cut(){const t=`${$.apis.ncm.status.bird}`;return De({options:{url:t,method:"GET"}})}async function uut({filter:t}={}){const[e,r]=await Promise.all([nut({filter:t}),_7()]);return{interfaces:e,vrfs:r}}async function dut({filter:t}={}){const[e,r]=await Promise.all([sut({filter:t}),_7()]);return{neighbors:e,vrfs:r}}async function fut({filter:t}={}){const[e,r]=await Promise.all([iut({filter:t}),_7()]);return{routes:e,vrfs:r}}async function put(){const t=$.apis.ncm.network.neighborsFlush;return await De({options:{url:t,method:"POST"}})}async function mut(t){const e=$.monitoring.clusters.reduce((r,n)=>({...r,[n]:Eze({nf:n})}),{});return Wt({loaderArgs:t,deferred:!0,data:{monitoring:nqe(),services:ma(),activeClusters:Rze(),ncmStatusNtp:lut(),...e}})}async function hut(t){return Wt({loaderArgs:t,deferred:!0,data:{alerts:Gae()}})}const gut={path:"monitoring",handle:vr({labelIntl:"route.monitoring",icon:a.jsx(ge.Monitoring,{})}),children:[{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,element:a.jsx(ur,{to:"alerts",replace:!0})},{path:"ue-status",handle:vr({labelIntl:"route.monitoring.ue-status",to:$.urls.monitoringUeStatus}),loader:Yct,element:a.jsx(Tat,{}),children:[{path:":id",loader:Kct,element:a.jsx(Iat,{}),children:[{path:"udm-re-attach",action:Dlt,loader:()=>rt("..")},{path:"amf",loader:Qct,element:a.jsx(Rat,{}),children:[{path:"amf-remove",action:Ilt,loader:()=>rt("..")}]},{path:"smf",loader:Zct,element:a.jsx(qat,{})},{path:"upf",loader:Xct,element:a.jsx(rlt,{})},{path:"udr",loader:Jct,element:a.jsx(Xat,{})},{path:"mme",loader:eut,element:a.jsx(Lat,{}),children:[{path:"mme-disconnect",action:$lt,loader:()=>rt("..")},{path:"mme-detach",action:Olt,loader:()=>rt("..")},{path:"mme-purge",action:Llt,loader:()=>rt("..")}]},{path:"sgwc",loader:tut,element:a.jsx(zat,{})},{path:"pcf",loader:rut,element:a.jsx(Fat,{})}]}]}]},{element:a.jsx(Or,{transparent:!0}),children:[{path:"alerts",handle:vr({labelIntl:"route.monitoring.alerts",to:$.urls.monitoringAlerts}),loader:hut,element:a.jsx(glt,{})}]}]},_ut=t=>{const e=he.c(39),{sessions:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"ncm_status.tabs.bird.bfd_sessions.sessions.ip_address"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==s?(i={key:"ip_address",label:s},e[2]=s,e[3]=i):i=e[3];let o;e[4]!==n?(o=n.formatMessage({id:"ncm_status.tabs.bird.bfd_sessions.sessions.interface"}),e[4]=n,e[5]=o):o=e[5];let l;e[6]!==o?(l={key:"interface",label:o},e[6]=o,e[7]=l):l=e[7];let c;e[8]!==n?(c=n.formatMessage({id:"ncm_status.tabs.bird.bfd_sessions.sessions.state"}),e[8]=n,e[9]=c):c=e[9];let u;e[10]!==c?(u={key:"state",label:c},e[10]=c,e[11]=u):u=e[11];let d;e[12]!==n?(d=n.formatMessage({id:"ncm_status.tabs.bird.bfd_sessions.sessions.since"}),e[12]=n,e[13]=d):d=e[13];let f;e[14]!==d?(f={key:"since",label:d},e[14]=d,e[15]=f):f=e[15];let p;e[16]!==n?(p=n.formatMessage({id:"ncm_status.tabs.bird.bfd_sessions.sessions.interval"}),e[16]=n,e[17]=p):p=e[17];let m;e[18]!==p?(m={key:"interval",label:p},e[18]=p,e[19]=m):m=e[19];let h;e[20]!==n?(h=n.formatMessage({id:"ncm_status.tabs.bird.bfd_sessions.sessions.timeout"}),e[20]=n,e[21]=h):h=e[21];let _;e[22]!==h?(_={key:"timeout",label:h},e[22]=h,e[23]=_):_=e[23];let g;e[24]!==m||e[25]!==_||e[26]!==i||e[27]!==l||e[28]!==u||e[29]!==f?(g=[i,l,u,f,m,_],e[24]=m,e[25]=_,e[26]=i,e[27]=l,e[28]=u,e[29]=f,e[30]=g):g=e[30];const y=g;let b;e[31]!==n?(b=n.formatMessage({id:"ncm_status.tabs.bird.bfd_sessions.sessions"}),e[31]=n,e[32]=b):b=e[32];let x;e[33]!==y||e[34]!==r?(x=a.jsx(Br,{data:r,orderBy:"ip_address",page:0,rowsCount:r.length,rowsPerPage:r.length,rowKey:"ip_address",columns:y,hidePagination:!0,hideRowsCount:!0}),e[33]=y,e[34]=r,e[35]=x):x=e[35];let w;return e[36]!==b||e[37]!==x?(w=a.jsx(pr,{title:b,folder:!0,dense:!0,elevation:2,children:x}),e[36]=b,e[37]=x,e[38]=w):w=e[38],w},Oue=()=>{const t=he.c(2);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={p:2},t[0]=e):e=t[0];let r;return t[1]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(te,{fullHeight:!0,sx:e,children:a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}})}),t[1]=r):r=t[1],r},vut=I.memo(function(){const e=he.c(11),r=Ye(),n=Gr();let s;e[0]!==r?(s=r.formatMessage({id:"ncm_status.tabs.bird.bfd_sessions.name"}),e[0]=r,e[1]=s):s=e[1];let i;e[2]!==s?(i=[{key:"name",label:s}],e[2]=s,e[3]=i):i=e[3];const o=i;let l;e[4]===Symbol.for("react.memo_cache_sentinel")?(l=a.jsx(Oue,{}),e[4]=l):l=e[4];let c;e[5]===Symbol.for("react.memo_cache_sentinel")?(c=a.jsx(en,{}),e[5]=c):c=e[5];let u;e[6]!==o?(u=f=>{const{bfd_sessions:p}=f;return a.jsx(Br,{autoScale:!0,data:p||[],orderBy:"name",page:0,rowsCount:p?.length,rowsPerPage:p?.length,rowKey:"name",columns:o,hidePagination:!0,rowDetail:{content:yut}})},e[6]=o,e[7]=u):u=e[7];let d;return e[8]!==n.bird||e[9]!==u?(d=a.jsx(I.Suspense,{fallback:l,children:a.jsx(Qt,{resolve:n.bird,errorElement:c,children:u})}),e[8]=n.bird,e[9]=u,e[10]=d):d=e[10],d});function yut(t){const{sessions:e}=t;return a.jsx(_ut,{sessions:e})}const but=I.memo(function(){const e=he.c(38),r=Ye(),n=Gr();let s;e[0]!==r?(s=r.formatMessage({id:"ncm_status.tabs.bird.protocols.name"}),e[0]=r,e[1]=s):s=e[1];let i;e[2]!==s?(i={key:"name",label:s},e[2]=s,e[3]=i):i=e[3];let o;e[4]!==r?(o=r.formatMessage({id:"ncm_status.tabs.bird.protocols.proto"}),e[4]=r,e[5]=o):o=e[5];let l;e[6]!==o?(l={key:"proto",label:o},e[6]=o,e[7]=l):l=e[7];let c;e[8]!==r?(c=r.formatMessage({id:"ncm_status.tabs.bird.protocols.table"}),e[8]=r,e[9]=c):c=e[9];let u;e[10]!==c?(u={key:"table",label:c},e[10]=c,e[11]=u):u=e[11];let d;e[12]!==r?(d=r.formatMessage({id:"ncm_status.tabs.bird.protocols.state"}),e[12]=r,e[13]=d):d=e[13];let f;e[14]!==d?(f={key:"state",label:d},e[14]=d,e[15]=f):f=e[15];let p;e[16]!==r?(p=r.formatMessage({id:"ncm_status.tabs.bird.protocols.since"}),e[16]=r,e[17]=p):p=e[17];let m;e[18]!==p?(m={key:"since",label:p},e[18]=p,e[19]=m):m=e[19];let h;e[20]!==r?(h=r.formatMessage({id:"ncm_status.tabs.bird.protocols.info"}),e[20]=r,e[21]=h):h=e[21];let _;e[22]!==h?(_={key:"info",label:h},e[22]=h,e[23]=_):_=e[23];let g;e[24]!==i||e[25]!==_||e[26]!==l||e[27]!==u||e[28]!==f||e[29]!==m?(g=[i,l,u,f,m,_],e[24]=i,e[25]=_,e[26]=l,e[27]=u,e[28]=f,e[29]=m,e[30]=g):g=e[30];const y=g;let b;e[31]===Symbol.for("react.memo_cache_sentinel")?(b=a.jsx(Oue,{}),e[31]=b):b=e[31];let x;e[32]===Symbol.for("react.memo_cache_sentinel")?(x=a.jsx(en,{}),e[32]=x):x=e[32];let w;e[33]!==y?(w=k=>{const{protocols:A}=k;return a.jsx(Br,{autoScale:!0,data:A||[],orderBy:"name",page:0,rowsCount:A?.length,rowsPerPage:A?.length,rowKey:"name",columns:y,hidePagination:!0})},e[33]=y,e[34]=w):w=e[34];let C;return e[35]!==n.bird||e[36]!==w?(C=a.jsx(I.Suspense,{fallback:b,children:a.jsx(Qt,{resolve:n.bird,errorElement:x,children:w})}),e[35]=n.bird,e[36]=w,e[37]=C):C=e[37],C}),ex=t=>{const e=he.c(14),{initialSortingState:r,getColumnValue:n,getColumnType:s}=t,[i,o]=I.useState(r);let l;e[0]!==n?(l=(g,y,b,x)=>x*n(g,b).localeCompare(n(y,b)),e[0]=n,e[1]=l):l=e[1];const c=l;let u;e[2]!==n?(u=(g,y,b,x)=>x*(n(g,b)>n(y,b)?1:-1),e[2]=n,e[3]=u):u=e[3];const d=u;let f;e[4]!==s||e[5]!==d||e[6]!==c?(f=(g,y)=>{const{column:b,direction:x}=y,w=s(b),C=x===Gl.ASC?1:-1;return[...g].sort((k,A)=>w==="string"?c(k,A,b,C):d(k,A,b,C))},e[4]=s,e[5]=d,e[6]=c,e[7]=f):f=e[7];const p=f;let m;e[8]===Symbol.for("react.memo_cache_sentinel")?(m=g=>{const{column:y,direction:b}=g;o(x=>({column:y,direction:x.column!==y?Gl.ASC:b}))},e[8]=m):m=e[8];const h=m;let _;return e[9]!==d||e[10]!==p||e[11]!==i||e[12]!==c?(_={stringSort:c,numberSort:d,sort:p,updateSorting:h,sorting:i,setSorting:o},e[9]=d,e[10]=p,e[11]=i,e[12]=c,e[13]=_):_=e[13],_};function Uv({urlOrSearchParams:t}){let e;try{e=new URL(t).searchParams}catch{e=new URLSearchParams(t)}return Object.fromEntries(e)}function Lue(t){return t==="true"}const tp="all",tx=t=>{const e=he.c(34),{vrfs:r,filterKeys:n}=t,s=Ye(),{search:i}=to();let o;e[0]!==i?(o=Uv({urlOrSearchParams:i}),e[0]=i,e[1]=o):o=e[1];const l=o,c=ys();let u;e[2]!==l.table||e[3]!==n?(u=!!n&&n.includes("table")&&l.table!==void 0,e[2]=l.table,e[3]=n,e[4]=u):u=e[4];const[d,f]=I.useState(u),[p,m]=I.useState(l.table);let h;e[5]!==l||e[6]!==c?(h=R=>{const D=Object.fromEntries(Object.entries({...l,...R}).filter(xut)),O=new URLSearchParams(D),N=`${D?`?${O}`:""}`;c(N)},e[5]=l,e[6]=c,e[7]=h):h=e[7];const _=h;let g;e[8]!==_?(g=R=>{_({vrf:R!==tp?R:void 0})},e[8]=_,e[9]=g):g=e[9];const y=g;let b;e[10]!==_?(b=R=>{f(R==="table"),R!=="table"&&m(void 0),_(R==="table"?{vrf:void 0}:{vrf:void 0,table:void 0})},e[10]=_,e[11]=b):b=e[11];const x=b;let w;e[12]!==_?(w=R=>{m(R),_({table:R})},e[12]=_,e[13]=w):w=e[13];const C=w,k=n&&n.includes("vrf")?"space-between":"flex-end";let A;e[14]===Symbol.for("react.memo_cache_sentinel")?(A={flex:"0 0 auto"},e[14]=A):A=e[14];let P;e[15]!==l.vrf||e[16]!==n||e[17]!==x||e[18]!==C||e[19]!==y||e[20]!==s||e[21]!==d||e[22]!==p||e[23]!==r?(P=(!n||n&&n.includes("vrf"))&&a.jsxs(te,{direction:"row",nowrap:!0,children:[n&&n.includes("table")&&a.jsxs(a.Fragment,{children:[a.jsx(gt,{sx:{width:"150px"},children:a.jsxs(qs,{label:s.formatMessage({id:"ncm_status.filter.type"}),size:"small",value:d?"table":"vrf",onChange:R=>x(R.target.value),children:[a.jsx(En,{value:"vrf",children:s.formatMessage({id:"ncm_status.filter.vrf"})},"vrf"),a.jsx(En,{value:"table",children:s.formatMessage({id:"ncm_status.filter.table"})},"table")]})}),d&&a.jsx(gt,{sx:{width:"150px"},children:a.jsx(dt,{size:"small",placeholder:s.formatMessage({id:"ncm_status.filter.table"}),value:p,onChange:R=>C(R.target.value)})})]}),!d&&r&&a.jsx(gt,{sx:{width:"150px"},children:a.jsxs(qs,{label:s.formatMessage({id:"ncm_status.filter.vrf"}),size:"small",value:l.vrf||tp,onChange:R=>y(R.target.value),children:[a.jsx(En,{value:tp,children:tp},tp),r.map(Sut)]})})]}),e[15]=l.vrf,e[16]=n,e[17]=x,e[18]=C,e[19]=y,e[20]=s,e[21]=d,e[22]=p,e[23]=r,e[24]=P):P=e[24];let T;e[25]!==l.family||e[26]!==n||e[27]!==_||e[28]!==s?(T=(!n||n?.includes("family"))&&a.jsxs(lk,{value:l.family,onChange:R=>_({family:R}),exclusive:!0,color:"primary",children:[a.jsx(kh,{value:"inet",children:s.formatMessage({id:"ncm_status.filter.family.inet"})}),a.jsx(kh,{value:"inet6",children:s.formatMessage({id:"ncm_status.filter.family.inet6"})})]}),e[25]=l.family,e[26]=n,e[27]=_,e[28]=s,e[29]=T):T=e[29];let j;return e[30]!==T||e[31]!==k||e[32]!==P?(j=a.jsxs(te,{direction:"row",justify:k,sx:A,children:[P,T]}),e[30]=T,e[31]=k,e[32]=P,e[33]=j):j=e[33],j};function xut(t){const[,e]=t;return!!e}function Sut(t){return a.jsx(En,{value:t.name??tp,children:`${t.name??tp}${t.table?" ("+t.table+")":""}`},t.name??tp)}const rx=()=>{const t=he.c(4);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={flex:"0 0 auto",borderBottom:"1px solid",borderColor:"divider",p:2},t[0]=e):e=t[0];let r;t[1]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(gt,{sx:e,children:a.jsx(Dt,{variant:"rounded",sx:{height:"44px"}})}),t[1]=r):r=t[1];let n;t[2]===Symbol.for("react.memo_cache_sentinel")?(n={flex:"1 1 auto",p:2},t[2]=n):n=t[2];let s;return t[3]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsxs(te,{nowrap:!0,fullHeight:!0,children:[r,a.jsx(gt,{sx:n,children:a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}})})]}),t[3]=s):s=t[3],s},wut=t=>{const e=he.c(14),{linkInfo:r}=t,n=Ye();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={maxHeight:"400px",overflow:"auto",p:1},e[0]=s):s=e[0];let i;e[1]!==n||e[2]!==r.info_data?(i=!!r.info_data&&a.jsxs(te,{align:"normal",nowrap:!0,spacing:.5,children:[a.jsx(_e,{fontWeight:"800",fontSize:"medium",sx:{textTransform:"uppercase"},children:n.formatMessage({id:"ncm_status.tabs.network_interfaces.linkinfo.info_data"})}),Object.entries(r.info_data).filter(Cut).map(Aut)]}),e[1]=n,e[2]=r.info_data,e[3]=i):i=e[3];let o;e[4]!==n||e[5]!==r.info_slave_kind?(o=!!r.info_slave_kind&&a.jsxs(te,{align:"normal",nowrap:!0,spacing:.5,children:[a.jsx(_e,{fontWeight:"800",fontSize:"medium",sx:{textTransform:"uppercase"},children:n.formatMessage({id:"ncm_status.tabs.network_interfaces.linkinfo.info_slave_kind"})}),a.jsx(_e,{fontWeight:"600",fontSize:"medium",children:r.info_slave_kind})]}),e[4]=n,e[5]=r.info_slave_kind,e[6]=o):o=e[6];let l;e[7]!==n||e[8]!==r.info_slave_data?(l=!!r.info_slave_data&&a.jsxs(te,{align:"normal",nowrap:!0,spacing:.5,children:[a.jsx(_e,{fontWeight:"800",fontSize:"medium",sx:{textTransform:"uppercase"},children:n.formatMessage({id:"ncm_status.tabs.network_interfaces.linkinfo.info_slave_data"})}),Object.entries(r.info_slave_data).filter(kut).map(Mut)]}),e[7]=n,e[8]=r.info_slave_data,e[9]=l):l=e[9];let c;return e[10]!==i||e[11]!==o||e[12]!==l?(c=a.jsxs(te,{justify:"stretch",align:"normal",nowrap:!0,sx:s,spacing:3,children:[i,o,l]}),e[10]=i,e[11]=o,e[12]=l,e[13]=c):c=e[13],c};function Cut(t){return t!==void 0}function Aut(t){const[e,r]=t;return a.jsxs(te,{align:"normal",nowrap:!0,spacing:1,direction:"row",children:[a.jsxs(_e,{fontWeight:"500",fontSize:"medium",children:[e,":"]}),a.jsx(_e,{fontWeight:"600",fontSize:"medium",children:r})]},e)}function kut(t){return t!==void 0}function Mut(t){const[e,r]=t;return a.jsxs(te,{align:"normal",nowrap:!0,spacing:1,direction:"row",children:[a.jsxs(_e,{fontWeight:"500",fontSize:"medium",children:[e,":"]}),a.jsx(_e,{fontWeight:"600",fontSize:"medium",children:r})]},e)}const Put=t=>{const e=he.c(7),{linkInfo:r}=t;let n;e[0]!==r.info_kind?(n=a.jsx(_e,{type:"body2",children:r.info_kind}),e[0]=r.info_kind,e[1]=n):n=e[1];let s;e[2]!==r?(s=r.info_data||r.info_slave_data||r.info_slave_kind?a.jsx(Mn,{title:a.jsx(wut,{linkInfo:r}),opaque:!0,children:a.jsx(Zr,{sx:{cursor:"default"},children:a.jsx(ge.Info,{size:18})})}):null,e[2]=r,e[3]=s):s=e[3];let i;return e[4]!==n||e[5]!==s?(i=a.jsxs(te,{direction:"row",spacing:.5,align:"center",nowrap:!0,children:[n,s]}),e[4]=n,e[5]=s,e[6]=i):i=e[6],i},jut=I.memo(function(){const e=he.c(55),r=Ye(),n=Gr(),s=On(),i=Eut,o=Rut;let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l={initialSortingState:{direction:Gl.ASC,column:"ifindex"},getColumnValue:i,getColumnType:o},e[0]=l):l=e[0];const{sort:c,updateSorting:u,sorting:d}=ex(l);let f;e[1]!==u?(f=(W,K)=>{u({column:K,direction:W})},e[1]=u,e[2]=f):f=e[2];const p=f;let m;e[3]!==r?(m=r.formatMessage({id:"ncm_status.tabs.network_interfaces.id"}),e[3]=r,e[4]=m):m=e[4];let h;e[5]!==m?(h={label:m,key:"ifindex",sortable:!0},e[5]=m,e[6]=h):h=e[6];let _;e[7]!==r?(_=r.formatMessage({id:"ncm_status.tabs.network_interfaces.interface"}),e[7]=r,e[8]=_):_=e[8];let g;e[9]!==_?(g={label:_,key:"ifname",sortable:!0},e[9]=_,e[10]=g):g=e[10];let y;e[11]!==r?(y=r.formatMessage({id:"ncm_status.tabs.network_interfaces.interface_type"}),e[11]=r,e[12]=y):y=e[12];let b;e[13]!==y?(b={label:y,key:"linkinfo.info_kind",sortable:!0,cellRender:Iut},e[13]=y,e[14]=b):b=e[14];let x;e[15]!==r?(x=r.formatMessage({id:"ncm_status.tabs.network_interfaces.mtu"}),e[15]=r,e[16]=x):x=e[16];let w;e[17]!==x?(w={label:x,key:"mtu",sortable:!0},e[17]=x,e[18]=w):w=e[18];let C;e[19]!==r?(C=r.formatMessage({id:"ncm_status.tabs.network_interfaces.status"}),e[19]=r,e[20]=C):C=e[20];let k;e[21]!==C?(k={label:C,key:"flags",sortable:!0,cellRender:Dut},e[21]=C,e[22]=k):k=e[22];let A;e[23]!==r?(A=r.formatMessage({id:"ncm_status.tabs.network_interfaces.address"}),e[23]=r,e[24]=A):A=e[24];let P;e[25]!==A?(P={label:A,key:"address",sortable:!0},e[25]=A,e[26]=P):P=e[26];let T;e[27]!==r?(T=r.formatMessage({id:"ncm_status.tabs.network_interfaces.ip_address"}),e[27]=r,e[28]=T):T=e[28];let j;e[29]!==T?(j={label:T,key:"addr_info",sortable:!0,cellRender:Out},e[29]=T,e[30]=j):j=e[30];let R;e[31]!==r?(R=r.formatMessage({id:"ncm_status.tabs.network_interfaces.master"}),e[31]=r,e[32]=R):R=e[32];let D;e[33]!==R?(D={label:R,key:"master",sortable:!0},e[33]=R,e[34]=D):D=e[34];let O;e[35]!==k||e[36]!==P||e[37]!==j||e[38]!==D||e[39]!==h||e[40]!==g||e[41]!==b||e[42]!==w?(O=[h,g,b,w,k,P,j,D],e[35]=k,e[36]=P,e[37]=j,e[38]=D,e[39]=h,e[40]=g,e[41]=b,e[42]=w,e[43]=O):O=e[43];const N=O;let F;e[44]===Symbol.for("react.memo_cache_sentinel")?(F=a.jsx(rx,{}),e[44]=F):F=e[44];let U;e[45]===Symbol.for("react.memo_cache_sentinel")?(U=a.jsx(en,{}),e[45]=U):U=e[45];let z;e[46]!==N||e[47]!==p||e[48]!==s.state||e[49]!==c||e[50]!==d?(z=W=>{const{interfaces:K,vrfs:q}=W;return a.jsxs(te,{nowrap:!0,fullHeight:!0,spacing:0,sx:{overflow:"auto",width:"100%"},children:[a.jsx(gt,{sx:{flex:"0 0 auto",borderBottom:"1px solid",borderColor:"divider",p:2},children:a.jsx(tx,{vrfs:q,filterKeys:["vrf","family"]})}),a.jsx(Br,{autoScale:!0,loading:s.state!=="idle",columns:N,rowKey:"ifindex",page:0,hidePagination:!0,data:c(K,d),rowsCount:K?.length||0,rowsPerPage:K?.length||0,orderBy:d.column,onSort:p,order:d.direction})]})},e[46]=N,e[47]=p,e[48]=s.state,e[49]=c,e[50]=d,e[51]=z):z=e[51];let H;return e[52]!==n.interfacesStatus||e[53]!==z?(H=a.jsx(I.Suspense,{fallback:F,children:a.jsx(Qt,{resolve:n.interfacesStatus,errorElement:U,children:z})}),e[52]=n.interfacesStatus,e[53]=z,e[54]=H):H=e[54],H});function Tut(t){return`${t.local}/${t.prefixlen}`}function Eut(t,e){switch(e){case"linkinfo":return t.linkinfo?.info_kind??"";case"addr_info":return t.addr_info?.map(Tut).sort().at(0)??"";case"flags":return t.flags?.join(", ")??"";case"address":case"master":return t[e]??"";default:return t[e]}}function Rut(t){switch(t){case"ifname":case"linkinfo":case"flags":case"address":case"addr_info":case"master":return"string";default:return"number"}}function Iut(t){return a.jsx(Put,{linkInfo:t.linkinfo})}function Dut(t){const{flags:e}=t;return a.jsx(_e,{type:"body2",children:e?.join(", ")})}function $ut(t){return a.jsx(_e,{type:"body2",children:`${t.local}/${t.prefixlen}`},`${t.local}/${t.prefixlen}`)}function Out(t){const{addr_info:e}=t;return a.jsx(a.Fragment,{children:e?.map($ut)})}const Lut=I.memo(function(){const e=he.c(39),r=Ye(),n=Gr(),s=On(),{submit:i}=gr();let o;e[0]!==i?(o=()=>{i({},{method:"POST",encType:"application/json",action:"flush"})},e[0]=i,e[1]=o):o=e[1];const l=o,c=Nut,u=Fut;let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d={initialSortingState:{direction:Gl.ASC,column:"dst"},getColumnValue:c,getColumnType:u},e[2]=d):d=e[2];const{sort:f,updateSorting:p,sorting:m}=ex(d);let h;e[3]!==p?(h=(N,F)=>{p({column:F,direction:N})},e[3]=p,e[4]=h):h=e[4];const _=h;let g;e[5]!==r?(g=r.formatMessage({id:"ncm_status.tabs.neighbors.dst"}),e[5]=r,e[6]=g):g=e[6];let y;e[7]!==g?(y={label:g,key:"dst",sortable:!0},e[7]=g,e[8]=y):y=e[8];let b;e[9]!==r?(b=r.formatMessage({id:"ncm_status.tabs.neighbors.lladdr"}),e[9]=r,e[10]=b):b=e[10];let x;e[11]!==b?(x={label:b,key:"lladdr",sortable:!0},e[11]=b,e[12]=x):x=e[12];let w;e[13]!==r?(w=r.formatMessage({id:"ncm_status.tabs.neighbors.dev"}),e[13]=r,e[14]=w):w=e[14];let C;e[15]!==w?(C={label:w,key:"dev",sortable:!0},e[15]=w,e[16]=C):C=e[16];let k;e[17]!==r?(k=r.formatMessage({id:"ncm_status.tabs.neighbors.state"}),e[17]=r,e[18]=k):k=e[18];let A;e[19]!==k?(A={label:k,key:"state",sortable:!0},e[19]=k,e[20]=A):A=e[20];let P;e[21]!==A||e[22]!==y||e[23]!==x||e[24]!==C?(P=[y,x,C,A],e[21]=A,e[22]=y,e[23]=x,e[24]=C,e[25]=P):P=e[25];const T=P;let j;e[26]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(rx,{}),e[26]=j):j=e[26];let R;e[27]===Symbol.for("react.memo_cache_sentinel")?(R=a.jsx(en,{}),e[27]=R):R=e[27];let D;e[28]!==T||e[29]!==l||e[30]!==_||e[31]!==r||e[32]!==s.state||e[33]!==f||e[34]!==m?(D=N=>{const{neighbors:F,vrfs:U}=N;return a.jsxs(te,{nowrap:!0,fullHeight:!0,spacing:0,children:[a.jsx(gt,{sx:{flex:"0 0 auto",borderBottom:"1px solid",borderColor:"divider",p:2},children:a.jsx(tx,{vrfs:U,filterKeys:["vrf","family"]})}),a.jsx(gt,{sx:{flex:"1 1 auto",height:"100%",overflow:"hidden"},children:a.jsx(Br,{autoScale:!0,loading:s.state!=="idle",columns:T,rowKey:"lladdr",page:0,hidePagination:!0,data:f(F,m),rowsCount:F?.length||0,rowsPerPage:F?.length||0,orderBy:m.column,onSort:_,order:m.direction,customFooterComponent:a.jsx(gt,{sx:{px:1},children:a.jsx(Ze,{startIcon:a.jsx(ge.Clear,{}),disabled:s.state==="loading"||!Ue(ie.monitoring),loading:s.state==="submitting",variant:"outlined",onClick:()=>l(),text:r.formatMessage({id:"ncm_status.tabs.neighbors.actions.flush"})})})})})]})},e[28]=T,e[29]=l,e[30]=_,e[31]=r,e[32]=s.state,e[33]=f,e[34]=m,e[35]=D):D=e[35];let O;return e[36]!==n.neighborsStatus||e[37]!==D?(O=a.jsx(I.Suspense,{fallback:j,children:a.jsx(Qt,{resolve:n.neighborsStatus,errorElement:R,children:D})}),e[36]=n.neighborsStatus,e[37]=D,e[38]=O):O=e[38],O});function Nut(t,e){switch(e){case"state":return t[e]?.sort()?.join(", ");default:return t[e]??""}}function Fut(){return"string"}const Uut=I.memo(function(){const e=he.c(39),r=Ye(),n=Gr(),s=On();let i;e[0]!==r?(i=r.formatMessage({id:"ncm_status.tabs.routes.dst"}),e[0]=r,e[1]=i):i=e[1];let o;e[2]!==i?(o={label:i,key:"dst"},e[2]=i,e[3]=o):o=e[3];let l;e[4]!==r?(l=r.formatMessage({id:"ncm_status.tabs.routes.gateway"}),e[4]=r,e[5]=l):l=e[5];let c;e[6]!==l?(c={label:l,key:"gateway"},e[6]=l,e[7]=c):c=e[7];let u;e[8]!==r?(u=r.formatMessage({id:"ncm_status.tabs.routes.dev"}),e[8]=r,e[9]=u):u=e[9];let d;e[10]!==u?(d={label:u,key:"dev"},e[10]=u,e[11]=d):d=e[11];let f;e[12]!==r?(f=r.formatMessage({id:"ncm_status.tabs.routes.prefsrc"}),e[12]=r,e[13]=f):f=e[13];let p;e[14]!==f?(p={label:f,key:"prefsrc"},e[14]=f,e[15]=p):p=e[15];let m;e[16]!==r?(m=r.formatMessage({id:"ncm_status.tabs.routes.metric"}),e[16]=r,e[17]=m):m=e[17];let h;e[18]!==m?(h={label:m,key:"metric"},e[18]=m,e[19]=h):h=e[19];let _;e[20]!==r?(_=r.formatMessage({id:"ncm_status.tabs.routes.protocol"}),e[20]=r,e[21]=_):_=e[21];let g;e[22]!==_?(g={label:_,key:"protocol"},e[22]=_,e[23]=g):g=e[23];let y;e[24]!==o||e[25]!==g||e[26]!==c||e[27]!==d||e[28]!==p||e[29]!==h?(y=[o,c,d,p,h,g],e[24]=o,e[25]=g,e[26]=c,e[27]=d,e[28]=p,e[29]=h,e[30]=y):y=e[30];const b=y;let x;e[31]===Symbol.for("react.memo_cache_sentinel")?(x=a.jsx(rx,{}),e[31]=x):x=e[31];let w;e[32]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(en,{}),e[32]=w):w=e[32];let C;e[33]!==b||e[34]!==s.state?(C=A=>{const{routes:P,vrfs:T}=A;return a.jsxs(te,{nowrap:!0,fullHeight:!0,spacing:0,children:[a.jsx(gt,{sx:{flex:"0 0 auto",borderBottom:"1px solid",borderColor:"divider",p:2},children:a.jsx(tx,{vrfs:T,filterKeys:["vrf","family","table"]})}),a.jsx(gt,{sx:{flex:"1 1 auto",height:"100%",overflow:"hidden"},children:a.jsx(Br,{autoScale:!0,loading:s.state!=="idle",columns:b,rowKey:"dst",page:0,hidePagination:!0,data:P,rowsCount:P?.length||0,rowsPerPage:P?.length||0,orderBy:"dst"})})]})},e[33]=b,e[34]=s.state,e[35]=C):C=e[35];let k;return e[36]!==n.routesStatus||e[37]!==C?(k=a.jsx(I.Suspense,{fallback:x,children:a.jsx(Qt,{resolve:n.routesStatus,errorElement:w,children:C})}),e[36]=n.routesStatus,e[37]=C,e[38]=k):k=e[38],k}),But=I.memo(function(){const e=he.c(30),r=Ye(),n=Gr(),s=On(),i=zut,o=qut;let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l={initialSortingState:{direction:Gl.ASC,column:"priority"},getColumnValue:i,getColumnType:o},e[0]=l):l=e[0];const{sort:c,updateSorting:u,sorting:d}=ex(l);let f;e[1]!==u?(f=(T,j)=>{u({column:j,direction:T})},e[1]=u,e[2]=f):f=e[2];const p=f;let m;e[3]!==r?(m=r.formatMessage({id:"ncm_status.tabs.rules.priority"}),e[3]=r,e[4]=m):m=e[4];let h;e[5]!==m?(h={label:m,key:"priority",sortable:!0},e[5]=m,e[6]=h):h=e[6];let _;e[7]!==r?(_=r.formatMessage({id:"ncm_status.tabs.rules.rule"}),e[7]=r,e[8]=_):_=e[8];let g;e[9]!==_?(g={label:_,key:"action",cellRender:Vut},e[9]=_,e[10]=g):g=e[10];let y;e[11]!==r?(y=r.formatMessage({id:"ncm_status.tabs.rules.family"}),e[11]=r,e[12]=y):y=e[12];let b;e[13]!==y?(b={label:y,key:"family",sortable:!0},e[13]=y,e[14]=b):b=e[14];let x;e[15]!==h||e[16]!==g||e[17]!==b?(x=[h,g,b],e[15]=h,e[16]=g,e[17]=b,e[18]=x):x=e[18];const w=x;let C;e[19]===Symbol.for("react.memo_cache_sentinel")?(C=a.jsx(rx,{}),e[19]=C):C=e[19];let k;e[20]===Symbol.for("react.memo_cache_sentinel")?(k=a.jsx(en,{}),e[20]=k):k=e[20];let A;e[21]!==w||e[22]!==p||e[23]!==s.state||e[24]!==c||e[25]!==d?(A=T=>a.jsxs(te,{nowrap:!0,fullHeight:!0,spacing:0,children:[a.jsx(gt,{sx:{flex:"0 0 auto",borderBottom:"1px solid",borderColor:"divider",p:2},children:a.jsx(tx,{filterKeys:["family"]})}),a.jsx(gt,{sx:{flex:"1 1 auto",height:"100%",overflow:"hidden"},children:a.jsx(Br,{autoScale:!0,loading:s.state!=="idle",columns:w,rowKey:"priority",page:0,hidePagination:!0,data:c(T,d),rowsCount:T?.length||0,rowsPerPage:T?.length||0,orderBy:d.column,onSort:p,order:d.direction})})]}),e[21]=w,e[22]=p,e[23]=s.state,e[24]=c,e[25]=d,e[26]=A):A=e[26];let P;return e[27]!==n.rules||e[28]!==A?(P=a.jsx(I.Suspense,{fallback:C,children:a.jsx(Qt,{resolve:n.rules,errorElement:k,children:A})}),e[27]=n.rules,e[28]=A,e[29]=P):P=e[29],P});function zut(t,e){return t[e]?.toString()??""}function qut(t){switch(t){case"priority":return"number";default:return"string"}}function Vut(t){const e=[];if(t.src){let r=`from ${t.src}`;t.srclen&&(r=r+`/${t.srclen}`),e.push(r)}if(t.dst){let r=`to ${t.dst}`;t.dstlen&&(r=r+`/${t.dstlen}`),e.push(r)}return t.iif&&e.push(`iif ${t.iif}`),t.oif&&e.push(`oif ${t.oif}`),t.l3mdev===null?e.push("lookup [l3mdev-table]"):e.push(`lookup ${t.table}`),t.action&&e.push(`${t.action}`),t.protocol&&e.push(`proto ${t.protocol}`),a.jsx(_e,{type:"body2",children:e.join(" ")})}const Hut=I.memo(function(){const e=he.c(40),r=Ye(),n=Gr(),s=On(),i=Gut,o=Wut;let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l={initialSortingState:{direction:Gl.ASC,column:"protocol"},getColumnValue:i,getColumnType:o},e[0]=l):l=e[0];const{sort:c,updateSorting:u,sorting:d}=ex(l);let f;e[1]!==u?(f=(O,N)=>{u({column:N,direction:O})},e[1]=u,e[2]=f):f=e[2];const p=f;let m;e[3]!==r?(m=r.formatMessage({id:"ncm_status.tabs.sockets.local_address"}),e[3]=r,e[4]=m):m=e[4];let h;e[5]!==m?(h={label:m,key:"local_address",sortable:!0,cellRender:Yut},e[5]=m,e[6]=h):h=e[6];let _;e[7]!==r?(_=r.formatMessage({id:"ncm_status.tabs.sockets.peer_address"}),e[7]=r,e[8]=_):_=e[8];let g;e[9]!==_?(g={label:_,key:"peer_address",sortable:!0,cellRender:Kut},e[9]=_,e[10]=g):g=e[10];let y;e[11]!==r?(y=r.formatMessage({id:"ncm_status.tabs.sockets.protocol"}),e[11]=r,e[12]=y):y=e[12];let b;e[13]!==y?(b={label:y,key:"protocol",sortable:!0},e[13]=y,e[14]=b):b=e[14];let x;e[15]!==r?(x=r.formatMessage({id:"ncm_status.tabs.sockets.state"}),e[15]=r,e[16]=x):x=e[16];let w;e[17]!==x?(w={label:x,key:"state",sortable:!0},e[17]=x,e[18]=w):w=e[18];let C;e[19]!==r?(C=r.formatMessage({id:"ncm_status.tabs.sockets.process"}),e[19]=r,e[20]=C):C=e[20];let k;e[21]!==C?(k={label:C,key:"process",sortable:!0,cellRender:Qut},e[21]=C,e[22]=k):k=e[22];let A;e[23]!==k||e[24]!==h||e[25]!==g||e[26]!==b||e[27]!==w?(A=[h,g,b,w,k],e[23]=k,e[24]=h,e[25]=g,e[26]=b,e[27]=w,e[28]=A):A=e[28];const P=A;let T;e[29]===Symbol.for("react.memo_cache_sentinel")?(T=a.jsx(rx,{}),e[29]=T):T=e[29];let j;e[30]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(en,{}),e[30]=j):j=e[30];let R;e[31]!==P||e[32]!==p||e[33]!==s.state||e[34]!==c||e[35]!==d?(R=O=>a.jsxs(te,{nowrap:!0,fullHeight:!0,spacing:0,children:[a.jsx(gt,{sx:{flex:"0 0 auto",borderBottom:"1px solid",borderColor:"divider",p:2},children:a.jsx(tx,{filterKeys:["family"]})}),a.jsx(gt,{sx:{flex:"1 1 auto",height:"100%",overflow:"hidden"},children:a.jsx(Br,{autoScale:!0,loading:s.state!=="idle",columns:P,rowKey:"local_address",page:0,hidePagination:!0,data:c(O,d),rowsCount:O?.length||0,rowsPerPage:O?.length||0,orderBy:d.column,onSort:p,order:d.direction})})]}),e[31]=P,e[32]=p,e[33]=s.state,e[34]=c,e[35]=d,e[36]=R):R=e[36];let D;return e[37]!==n.sockets||e[38]!==R?(D=a.jsx(I.Suspense,{fallback:T,children:a.jsx(Qt,{resolve:n.sockets,errorElement:j,children:R})}),e[37]=n.sockets,e[38]=R,e[39]=D):D=e[39],D});function Gut(t,e){switch(e){case"process":return t[e]?.join(", ")??"";default:return t[e]??""}}function Wut(){return"string"}function Yut(t){const{local_address:e,local_port:r,interface:n}=t;return a.jsxs(_e,{type:"body2",children:[e,":",r,n?`%${n}`:""]})}function Kut(t){const{peer_address:e,peer_port:r}=t;return a.jsxs(_e,{type:"body2",children:[e,":",r]})}function Qut(t){const{process:e}=t;return e?.[0]&&a.jsxs(_e,{type:"body2",children:[e?.[0]?.name," (",e?.[0]?.pid,")"]})}async function Zut(){const t=await put();return xt(t)?Ar():Nt(),Ft(t)}async function Xut(t){const{kind:e,vrf:r,master:n,parent:s,family:i}=Uv({urlOrSearchParams:t.request.url}),o={...e&&{kind:e},...r&&{vrf:r},...n&&{master:n},...s&&{parent:s},...i&&{family:i}};return Wt({loaderArgs:t,deferred:!0,data:{interfacesStatus:uut({filter:o})}})}async function Jut(t){const{vrf:e,family:r}=Uv({urlOrSearchParams:t.request.url}),n={...e&&{vrf:e},...r&&{family:r}};return Wt({loaderArgs:t,deferred:!0,data:{neighborsStatus:dut({filter:n})}})}async function edt(t){const{vrf:e,family:r,table:n}=Uv({urlOrSearchParams:t.request.url}),s={...r&&{family:r},...n&&{table:n},...e&&!n&&{vrf:e}};return Wt({loaderArgs:t,deferred:!0,data:{routesStatus:fut({filter:s})}})}async function tdt(t){const{family:e}=Uv({urlOrSearchParams:t.request.url}),r={...e&&{family:e}};return Wt({loaderArgs:t,deferred:!0,data:{rules:out({filter:r})}})}async function rdt(t){const{family:e,proto:r}=Uv({urlOrSearchParams:t.request.url}),n={...e&&{family:e},...r&&{proto:r}};return Wt({loaderArgs:t,deferred:!0,data:{sockets:aut({filter:n})}})}async function QX(t){return Wt({loaderArgs:t,deferred:!0,data:{bird:cut()}})}const Gf=Pr(),ndt={path:"network",handle:vr({labelIntl:"route.ncm",icon:a.jsx(ge.NCM,{})}),children:[{element:a.jsx(Or,{fullHeight:!0}),children:[io(ue.NCM),{path:"status",handle:vr({to:"status",labelIntl:"route.ncm.status"}),errorElement:a.jsx(Tr,{}),element:a.jsx(Ao,{keepQueryParams:!0,tabs:[{url:"interfaces",label:Gf.formatMessage({id:"route.ncm.status.interfaces"})},{url:"neighbors",label:Gf.formatMessage({id:"route.ncm.status.neighbors"})},{url:"routes",label:Gf.formatMessage({id:"route.ncm.status.routes"})},{url:"rules",label:Gf.formatMessage({id:"route.ncm.status.rules"})},{url:"sockets",label:Gf.formatMessage({id:"route.ncm.status.sockets"})},{url:"bird",label:Gf.formatMessage({id:"route.ncm.status.bird"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"interfaces",replace:!0})},{path:"interfaces",errorElement:a.jsx(Tr,{}),element:a.jsx(jut,{}),loader:Xut},{path:"neighbors",errorElement:a.jsx(Tr,{}),element:a.jsx(Lut,{}),loader:Jut,children:[{action:Zut,path:"flush",loader:()=>rt("..")}]},{path:"routes",errorElement:a.jsx(Tr,{}),element:a.jsx(Uut,{}),loader:edt},{path:"rules",errorElement:a.jsx(Tr,{}),element:a.jsx(But,{}),loader:tdt},{path:"sockets",errorElement:a.jsx(Tr,{}),element:a.jsx(Hut,{}),loader:rdt},{path:"bird",errorElement:a.jsx(Tr,{}),element:a.jsx(la,{navs:[{url:"protocols",label:Gf.formatMessage({id:"route.ncm.status.bird.protocols"})},{url:"bfd-sessions",label:Gf.formatMessage({id:"route.ncm.status.bird.bfd_sessions"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"protocols",replace:!0})},{path:"protocols",element:a.jsx(but,{}),loader:QX},{path:"bfd-sessions",element:a.jsx(vut,{}),loader:QX}]}]}]}]},Si=Pr();var Nue=(t=>(t.IPV4="IPV4",t.IPV6="IPV6",t.IPV4V6="IPV4V6",t.UNSTRUCTURED="UNSTRUCTURED",t.ETHERNET="ETHERNET",t))(Nue||{});const sdt=Object.keys(Nue);var v7=(t=>(t["5G_EIR"]="5G_EIR",t.AF="AF",t.AMF="AMF",t.AUSF="AUSF",t.BSF="BSF",t.CBCF="CBCF",t.CHF="CHF",t.DRA="DRA",t.GMLC="GMLC",t.HSS="HSS",t.ICSCF="ICSCF",t.IMS_AS="IMS_AS",t.LMF="LMF",t.MME="MME",t.N3IWF="N3IWF",t.NEF="NEF",t.NRF="NRF",t.NSSAAF="NSSAAF",t.NSSF="NSSF",t.NWDAF="NWDAF",t.PCF="PCF",t.PCSCF="PCSCF",t.SCSAS="SCSAS",t.SCSCF="SCSCF",t.SEPP="SEPP",t.SMF="SMF",t.SMSF="SMSF",t.SOR_AF="SOR_AF",t.SPAF="SPAF",t.SCEF="SCEF",t.SCP="SCP",t.UCMF="UCMF",t.UDM="UDM",t.UDR="UDR",t.UDSF="UDSF",t.UPF="UPF",t))(v7||{});const idt=Object.keys(v7);var Eb=(t=>(t.REGISTERED="REGISTERED",t.SUSPENDED="SUSPENDED",t.UNDISCOVERABLE="UNDISCOVERABLE",t))(Eb||{});const odt=Object.keys(Eb);var b3=(t=>(t.N3="N3",t.N6="N6",t.N9="N9",t.DATA_FORWARDING="DATA_FORWARDING",t))(b3||{});function adt({sst:t,sd:e,sdRanges:r}){if(!t&&!e&&!r?.length)return;let n="";return t&&(n+=t),e&&(n+=`-${e}`),r?.length&&(n+=`-(${r.map(s=>{let i="";return s.start&&(i+=`${s.start}`),s.end&&(i+=`-${s.end}`),i}).join(", ")})`),n}function ldt({sst:t,sd:e}){if(!t&&!e)return;let r="";return t&&(r+=t),e&&(r+=`-${e}`),r}function ZX({start:t,end:e}){return{_uuid:gn(),start:t??"",end:e??""}}function XX({start:t,end:e}){return{...t&&{start:t},...e&&{end:e}}}function cdt({nid:t,tac:e,plmnId:r}){return{_uuid:gn(),nid:t,tac:e,plmnId:{mcc:r.mcc??"",mnc:r.mnc??""}}}function udt({nid:t,tac:e,plmnId:r}){return{...t&&{nid:t},tac:e,plmnId:r}}function ddt({dnnUpfInfoList:t,redundantTransport:e,sNssai:r}){return{_uuid:gn(),sNssai:{sst:r.sst,...r.sd&&{sd:r.sd}},dnnUpfInfoList:t?.map(n=>({_uuid:gn(),dnn:n.dnn,pduSessionTypes:n.pduSessionTypes||[],ipv4AddressRanges:n.ipv4AddressRanges?.map(ZX)||[],ipv6PrefixRanges:n.ipv6PrefixRanges?.map(ZX)||[]})),redundantTransport:e||!1}}function fdt({sNssai:t,dnnUpfInfoList:e,redundantTransport:r}){return{sNssai:{sst:t.sst,...t.sd&&{sd:t.sd}},...r&&{redundantTransport:r},dnnUpfInfoList:e?.map(({dnn:n,pduSessionTypes:s,ipv6PrefixRanges:i,ipv4AddressRanges:o})=>{const l=o?.filter(u=>!!u.start||!!u.end)||[],c=i?.filter(u=>!!u.start||!!u.end)||[];return{dnn:n,...!!s?.length&&{pduSessionTypes:s}||[],...!!l?.length&&{ipv4AddressRanges:l?.map(XX)}||[],...!!c?.length&&{ipv6PrefixRanges:c?.map(XX)}||[]}})}}function pdt({interfaceType:t,networkInstance:e}){return{_uuid:gn(),interfaceType:t,networkInstance:e}}function mdt({interfaceType:t,networkInstance:e}){return{...t&&{interfaceType:t},networkInstance:e}}function hdt(t){return{nfType:t?.nfType||"",fqdn:t?.fqdn||"",ipv4Addresses:t?.ipv4Addresses||[],ipv6Addresses:t?.ipv6Addresses||[],nfInstanceId:t?.nfInstanceId||"",nfInstanceName:t?.nfInstanceName||"",nfStatus:t?.nfStatus||"",priority:t?.priority||"",capacity:t?.capacity||"",locality:t?.locality||"",sNssais:t?.sNssais?.map(e=>({sst:e.sst,sd:e.sd||"",sdRanges:e.sdRanges?.map(r=>({_uuid:gn(),start:r.start||"",end:r.end||""}))||[],isRangesActive:!!e.sdRanges?.length,_uuid:gn()}))||[],plmnList:t?.plmnList?.map(e=>({_uuid:gn(),mnc:e.mnc||"",mcc:e.mcc||""})),...t?.upfInfoList&&{upfInfoList:Object.entries(t?.upfInfoList)?.map(([e,r])=>({_uuid:e,taiList:r.taiList?.map(cdt)||[],sNssaiUpfInfoList:r.sNssaiUpfInfoList.map(ddt),ueIpAddrInd:r.ueIpAddrInd,interfaceUpfInfoList:r.interfaceUpfInfoList?.map(pdt)||[]}))}}}function JX(t){return{nfType:t.nfType,nfStatus:t.nfStatus,...t.nfInstanceId&&{nfInstanceId:t.nfInstanceId},...t.nfInstanceName&&{nfInstanceName:t.nfInstanceName},...t.fqdn&&{fqdn:t.fqdn},...t.ipv4Addresses&&!!t.ipv4Addresses.length&&{ipv4Addresses:t.ipv4Addresses},...t.ipv6Addresses&&!!t.ipv6Addresses.length&&{ipv6Addresses:t.ipv6Addresses},...t.priority&&{priority:t.priority},...t.capacity&&{capacity:t.capacity},...t.locality&&{locality:t.locality},...t.sNssais&&!!t.sNssais?.length&&{sNssais:t.sNssais?.map(r=>({sst:r.sst,...r.sd&&!r.isRangesActive&&{sd:r.sd},...!!r.sdRanges?.length&&r.isRangesActive&&{sdRanges:r.sdRanges.map(({start:n,end:s})=>({start:n,end:s}))}}))},...t.plmnList&&!!t.plmnList?.length&&{plmnList:t.plmnList?.map(r=>({mnc:r.mnc,mcc:r.mcc}))},...t.upfInfoList&&!!t.upfInfoList?.length&&{upfInfoList:t.upfInfoList.reduce((r,{_uuid:n,taiList:s,sNssaiUpfInfoList:i,ueIpAddrInd:o,interfaceUpfInfoList:l})=>({...r,[n]:{...!!s?.length&&{taiList:s.map(udt)},ueIpAddrInd:o??!1,...i&&{sNssaiUpfInfoList:i.map(fdt)},...!!l?.length&&{interfaceUpfInfoList:l.map(mdt)}}}),{})}}}const gdt=dr().shape({nfInstanceId:We().matches(new RegExp($.regex.uuid)),nfType:We().required(Si.formatMessage({id:"validation.required"})),nfStatus:We().required(Si.formatMessage({id:"validation.required"})),fqdn:We().test("oneOfFqdnIpsRequired",Si.formatMessage({id:"nrf_static_profile.form.errors.fqdn_ips_at_least_one"}),(t,e)=>!!e.parent.fqdn||!!e.parent.ipv4Addresses?.length||!!e.parent.ipv6Addresses?.length),ipv4Addresses:yr().of(We().matches(new RegExp($.regex.ipv4Addr))).test("oneOfFqdnIpsRequired",Si.formatMessage({id:"nrf_static_profile.form.errors.fqdn_ips_at_least_one"}),(t,e)=>!!e.parent.fqdn||!!e.parent.ipv4Addresses?.length||!!e.parent.ipv6Addresses?.length),ipv6Addresses:yr().of(We().matches(new RegExp($.regex.ipv6Addr))).test("oneOfFqdnIpsRequired",Si.formatMessage({id:"nrf_static_profile.form.errors.fqdn_ips_at_least_one"}),(t,e)=>!!e.parent.fqdn||!!e.parent.ipv4Addresses?.length||!!e.parent.ipv6Addresses?.length),nfInstanceName:We(),priority:kn().min(0).max(65535),capacity:kn().min(0).max(65535),locality:We(),sNssais:yr().of(dr().shape({sst:kn().required(Si.formatMessage({id:"validation.required"})).min(0).max(255),isRangesActive:li(),sd:We().matches(new RegExp($.regex.sd)),sdRanges:yr().of(dr().shape({start:We().matches(new RegExp($.regex.sd)).required(Si.formatMessage({id:"validation.required"})),end:We().matches(new RegExp($.regex.sd)).required(Si.formatMessage({id:"validation.required"}))}))})),plmnList:yr().of(dr().shape({mcc:We().matches(new RegExp($.regex.mcc)).required(Si.formatMessage({id:"validation.required"})),mnc:We().matches(new RegExp($.regex.mnc)).required(Si.formatMessage({id:"validation.required"}))})),upfInfoList:yr().of(dr().shape({ueIpAddrInd:li(),interfaceUpfInfoList:yr().of(dr().shape({networkInstance:We(),interfaceType:We().required(Si.formatMessage({id:"validation.required"}))})),taiList:yr().of(dr().shape({plmnId:dr().shape({mcc:We().required(Si.formatMessage({id:"validation.required"})).matches(new RegExp($.regex.mcc)),mnc:We().required(Si.formatMessage({id:"validation.required"})).matches(new RegExp($.regex.mnc))}),tac:We().required(Si.formatMessage({id:"validation.required"})).matches(new RegExp($.regex.tac))})),sNssaiUpfInfoList:yr().of(dr().shape({sNssai:dr().shape({sd:We().matches(new RegExp($.regex.sd)),sst:kn().required(Si.formatMessage({id:"validation.required"})).min(0).max(255)}),dnnUpfInfoList:yr().of(dr().shape({dnn:We().required(Si.formatMessage({id:"validation.required"})),pduSessionTypes:yr().of(We()),ipv4AddressRanges:yr().of(dr().shape({start:We().required(Si.formatMessage({id:"validation.required"})).matches(new RegExp($.regex.ipv4Addr)),end:We().required(Si.formatMessage({id:"validation.required"})).matches(new RegExp($.regex.ipv4Addr))})),ipv6PrefixRanges:yr().of(dr().shape({start:We().required(Si.formatMessage({id:"validation.required"})).matches(new RegExp($.regex.ipv6Prefix)),end:We().required(Si.formatMessage({id:"validation.required"})).matches(new RegExp($.regex.ipv6Prefix))}))})).min(1),redundantTransport:li()})).required().min(1)})).when("$nfType",(t,e)=>t==="UPF"?e.required(Si.formatMessage({id:"validation.required"})):e)}),_dt=t=>{const e=he.c(13),{i:r}=t,n=Ye(),s=`plmnList[${r}].mcc`;let i;e[0]!==n?(i=f=>{const{field:p,meta:m,form:h}=f,{isSubmitting:_}=h;return a.jsx(dt,{...p,required:!0,label:n.formatMessage({id:"nrf_static_profile.form.plmnList.mcc"}),size:"small",error:!!m.error,helperText:m.error,disabled:_,sx:{width:"50%"}})},e[0]=n,e[1]=i):i=e[1];let o;e[2]!==s||e[3]!==i?(o=a.jsx(Ke,{name:s,children:i}),e[2]=s,e[3]=i,e[4]=o):o=e[4];const l=`plmnList[${r}].mnc`;let c;e[5]!==n?(c=f=>{const{field:p,meta:m,form:h}=f,{isSubmitting:_}=h;return a.jsx(dt,{...p,required:!0,label:n.formatMessage({id:"nrf_static_profile.form.plmnList.mnc"}),size:"small",error:!!m.error,helperText:m.error,disabled:_,sx:{width:"50%"}})},e[5]=n,e[6]=c):c=e[6];let u;e[7]!==l||e[8]!==c?(u=a.jsx(Ke,{name:l,children:c}),e[7]=l,e[8]=c,e[9]=u):u=e[9];let d;return e[10]!==o||e[11]!==u?(d=a.jsxs(te,{direction:"row",nowrap:!0,fullWidth:!0,children:[o,u]}),e[10]=o,e[11]=u,e[12]=d):d=e[12],d},vdt=t=>{const e=he.c(28),{i:r}=t,n=Ye(),{values:s,isSubmitting:i}=_0(),o=ydt,l=bdt,c=`sNssais[${r}].sst`;let u;e[0]!==n||e[1]!==i?(u=y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,required:!0,label:n.formatMessage({id:"nrf_static_profile.form.sNssais.sst"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})},e[0]=n,e[1]=i,e[2]=u):u=e[2];let d;e[3]!==c||e[4]!==u?(d=a.jsx(Ke,{name:c,children:u}),e[3]=c,e[4]=u,e[5]=d):d=e[5];const f=`sNssais[${r}].isRangesActive`;let p;e[6]!==r||e[7]!==n||e[8]!==i?(p=y=>{const{field:b,form:x}=y,{setFieldValue:w}=x;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(_e,{children:n.formatMessage({id:"nrf_static_profile.form.sNssais.isRangesActiveFalse"})}),a.jsx(ti,{checked:!!b.value,onChange:(C,k)=>{w(b.name,k),k?(w(`sNssais[${r}].sd`,""),w(`sNssais[${r}].sdRanges`,[{_uuid:gn(),start:"",end:""}])):(w(`sNssais[${r}].sdRanges`,[]),w(`sNssais[${r}].sd`,""))},disabled:i||!Ue(ie.provisioning)}),a.jsx(_e,{children:n.formatMessage({id:"nrf_static_profile.form.sNssais.isRangesActiveTrue"})})]})},e[6]=r,e[7]=n,e[8]=i,e[9]=p):p=e[9];let m;e[10]!==f||e[11]!==p?(m=a.jsx(Ke,{name:f,children:p}),e[10]=f,e[11]=p,e[12]=m):m=e[12];let h;e[13]!==r||e[14]!==n||e[15]!==i||e[16]!==s.sNssais?(h=!s.sNssais?.[r].isRangesActive&&a.jsx(Ke,{name:`sNssais[${r}].sd`,children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,label:n.formatMessage({id:"nrf_static_profile.form.sNssais.sd"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}}),e[13]=r,e[14]=n,e[15]=i,e[16]=s.sNssais,e[17]=h):h=e[17];let _;e[18]!==r||e[19]!==n||e[20]!==i||e[21]!==s.sNssais?(_=!!s.sNssais?.[r].isRangesActive&&a.jsx(oi,{name:`sNssais[${r}].sdRanges`,children:y=>{const{remove:b,push:x,form:w}=y,{getFieldMeta:C,errors:k}=w,A=P=>!C(P)?.error;return a.jsx(pr,{title:n.formatMessage({id:"nrf_static_profile.section.sNssais.sdRanges.title"}),headerActionsComponent:a.jsx(Ze,{text:n.formatMessage({id:"nrf_static_profile.section.sNssais.sdRanges.range_add"}),type:"button",variant:"outlined",onClick:()=>o(x),disabled:i}),children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:1,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[a.jsx(te,{children:!A(`sNssais[${r}].sdRanges`)&&a.jsxs(a.Fragment,{children:[a.jsx(_e,{color:"error",children:n.formatMessage({id:"nrf_static_profile.form.sNssais.form_errors.has_errors"})}),typeof k[`sNssais[${r}].sdRanges`]=="string"&&a.jsx(_e,{color:"error",paragraph:!1,children:a.jsx("ul",{children:a.jsx("li",{children:k[`sNssais[${r}].sdRanges`]})})})]})}),!!s.sNssais?.length&&s.sNssais[r].sdRanges?.map((P,T)=>a.jsxs(te,{direction:"row",align:"flex-start",nowrap:!0,children:[a.jsx(Ke,{name:`sNssais[${r}].sdRanges[${T}].start`,children:j=>{const{field:R,meta:D}=j;return a.jsx(dt,{...R,required:!0,label:n.formatMessage({id:"nrf_static_profile.form.sNssais.sdRanges.start"}),size:"small",error:!!D.error,helperText:D.error,disabled:i||!Ue(ie.provisioning),sx:{width:"50%"}})}}),a.jsx(Ke,{name:`sNssais[${r}].sdRanges[${T}].end`,children:j=>{const{field:R,meta:D}=j;return a.jsx(dt,{required:!0,...R,label:n.formatMessage({id:"nrf_static_profile.form.sNssais.sdRanges.end"}),size:"small",error:!!D.error,helperText:D.error,disabled:i||!Ue(ie.provisioning),sx:{width:"50%"}})}}),a.jsx(Zr,{onClick:()=>l(b,T),disabled:i,children:a.jsx(ge.Trash,{})})]},P._uuid)),!s.sNssais?.length&&a.jsx(_e,{children:n.formatMessage({id:"nrf_static_profile.section.sNssais.sdRanges.no_ranges"})})]})})})})}}),e[18]=r,e[19]=n,e[20]=i,e[21]=s.sNssais,e[22]=_):_=e[22];let g;return e[23]!==d||e[24]!==m||e[25]!==h||e[26]!==_?(g=a.jsxs(te,{children:[d,m,h,_]}),e[23]=d,e[24]=m,e[25]=h,e[26]=_,e[27]=g):g=e[27],g};function ydt(t){const e={_uuid:gn(),start:"",end:""};t(e)}function bdt(t,e){t(e)}function xdt(t){const e=he.c(17),{children:r,index:n,parentFieldName:s,interfaceTypeOptions:i}=t,o=Ye(),l=`${s}[${n}].interfaceType`;let c;e[0]!==i||e[1]!==o?(c=_=>{const{field:g,meta:y,form:b}=_,{isSubmitting:x}=b;return a.jsx(qs,{...g,label:o.formatMessage({id:"nrf_static_profile.form.upfInfoList.interfaceUpfInfoList.interface_type"}),size:"small",error:!!y.error,helperText:y.error,disabled:x||!Ue(ie.provisioning),required:!0,children:i.map(Sdt)})},e[0]=i,e[1]=o,e[2]=c):c=e[2];let u;e[3]!==l||e[4]!==c?(u=a.jsx(Ke,{name:l,children:c}),e[3]=l,e[4]=c,e[5]=u):u=e[5];const d=`${s}[${n}].networkInstance`;let f;e[6]!==o?(f=_=>{const{field:g,meta:y,form:b}=_,{isSubmitting:x}=b;return a.jsx(dt,{...g,label:o.formatMessage({id:"nrf_static_profile.form.upfInfoList.interfaceUpfInfoList.network_instance"}),size:"small",error:!!y.error,helperText:y.error,fullWidth:!0,disabled:x||!Ue(ie.provisioning)})},e[6]=o,e[7]=f):f=e[7];let p;e[8]!==d||e[9]!==f?(p=a.jsx(Ke,{name:d,children:f}),e[8]=d,e[9]=f,e[10]=p):p=e[10];let m;e[11]!==u||e[12]!==p?(m=a.jsxs(te,{fullWidth:!0,children:[u,p]}),e[11]=u,e[12]=p,e[13]=m):m=e[13];let h;return e[14]!==r||e[15]!==m?(h=a.jsxs(te,{direction:"row",align:"flex-start",divided:!0,nowrap:!0,fullWidth:!0,children:[m,r]}),e[14]=r,e[15]=m,e[16]=h):h=e[16],h}function Sdt(t){return a.jsx(En,{value:t,children:t},t)}function wdt(t){const e=he.c(12),{upfIndex:r}=t,n=Ye();let s;e[0]!==r?(s=(f,p)=>{const m=Object.values(b3).filter(h=>!f?.upfInfoList?.[r].interfaceUpfInfoList.find(_=>_.interfaceType===h));return p?.interfaceType&&m.push(p.interfaceType),Array.from(new Set(m)).sort(Adt).filter(Cdt)},e[0]=r,e[1]=s):s=e[1];const i=s;let o;e[2]!==i?(o=(f,p)=>{const m={_uuid:gn(),interfaceType:i(p)[0],networkInstance:""};f(m)},e[2]=i,e[3]=o):o=e[3];const l=o,c=`upfInfoList[${r}].interfaceUpfInfoList`;let u;e[4]!==i||e[5]!==l||e[6]!==n||e[7]!==r?(u=f=>{const{remove:p,push:m,form:h}=f,{getFieldMeta:_,isSubmitting:g,errors:y,values:b}=h,x=b,w=C=>!_(C)?.error;return a.jsx(pr,{title:n.formatMessage({id:"nrf_static_profile.section.upf.interfaceUpfInfoList.title"}),headerActionsComponent:a.jsx(Ze,{text:n.formatMessage({id:"nrf_static_profile.section.upf.interfaceUpfInfoList.interface_add"}),type:"button",variant:"outlined",onClick:()=>l(m,x),disabled:g||!i(x).length||!Ue(ie.provisioning)}),children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:2,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[a.jsx(te,{children:!w(`upfInfoList[${r}].interfaceUpfInfoList`)&&a.jsxs(a.Fragment,{children:[a.jsx(_e,{color:"error",children:n.formatMessage({id:"nrf_static_profile.form.upfInfoList.form_errors.has_errors"})}),typeof y[`upfInfoList[${r}].interfaceUpfInfoList`]=="string"&&a.jsx(_e,{color:"error",children:a.jsx("ul",{children:a.jsx("li",{children:y[`upfInfoList[${r}].interfaceUpfInfoList`]})})})]})}),a.jsx(te,{divided:!0,spacing:3,children:!!x?.upfInfoList?.[r].interfaceUpfInfoList?.length&&x.upfInfoList[r].interfaceUpfInfoList?.map((C,k)=>a.jsx(xdt,{parentFieldName:`upfInfoList[${r}].interfaceUpfInfoList`,index:k,interfaceTypeOptions:i(x,C),children:a.jsx(Zr,{onClick:()=>p(k),disabled:g||!Ue(ie.provisioning),children:a.jsx(ge.Trash,{})})},C._uuid))}),!x?.upfInfoList?.[r].interfaceUpfInfoList?.length&&a.jsx(_e,{children:n.formatMessage({id:"nrf_static_profile.section.upf.interfaceUpfInfoList.no_interfaces"})})]})})})})},e[4]=i,e[5]=l,e[6]=n,e[7]=r,e[8]=u):u=e[8];let d;return e[9]!==c||e[10]!==u?(d=a.jsx(oi,{name:c,children:u}),e[9]=c,e[10]=u,e[11]=d):d=e[11],d}function Cdt(t){return!!t}function Adt(t,e){return t===b3.DATA_FORWARDING?1:e===b3.DATA_FORWARDING?-1:t>e?1:-1}const kdt=t=>{const e=he.c(16),{parentFieldName:r,startLabel:n,endLabel:s,index:i,children:o}=t,l=`${r}[${i}].start`;let c;e[0]!==n?(c=_=>{const{field:g,meta:y,form:b}=_,{isSubmitting:x}=b;return a.jsx(dt,{...g,required:!0,label:n,size:"small",error:!!y.error,helperText:y.error,fullWidth:!0,disabled:x||!Ue(ie.provisioning)})},e[0]=n,e[1]=c):c=e[1];let u;e[2]!==l||e[3]!==c?(u=a.jsx(Ke,{name:l,children:c}),e[2]=l,e[3]=c,e[4]=u):u=e[4];const d=`${r}[${i}].end`;let f;e[5]!==s?(f=_=>{const{field:g,meta:y,form:b}=_,{isSubmitting:x}=b;return a.jsx(dt,{...g,required:!0,size:"small",label:s,error:!!y.error,helperText:y.error,fullWidth:!0,disabled:x||!Ue(ie.provisioning)})},e[5]=s,e[6]=f):f=e[6];let p;e[7]!==d||e[8]!==f?(p=a.jsx(Ke,{name:d,children:f}),e[7]=d,e[8]=f,e[9]=p):p=e[9];let m;e[10]!==u||e[11]!==p?(m=a.jsxs(te,{fullWidth:!0,children:[u,p]}),e[10]=u,e[11]=p,e[12]=m):m=e[12];let h;return e[13]!==o||e[14]!==m?(h=a.jsxs(te,{direction:"row",align:"flex-start",divided:!0,nowrap:!0,fullWidth:!0,children:[m,o]}),e[13]=o,e[14]=m,e[15]=h):h=e[15],h},eJ=t=>{const e=he.c(15),{fieldName:r,startLabel:n,endLabel:s,addLabel:i,noItemsLabel:o,titleLabel:l,listValue:c}=t,{getFieldMeta:u}=_0(),d=Mdt,f=Pdt;let p;e[0]!==r||e[1]!==u?(p=()=>!u(r)?.error,e[0]=r,e[1]=u,e[2]=p):p=e[2];const m=p;let h;e[3]!==i||e[4]!==s||e[5]!==r||e[6]!==m||e[7]!==c||e[8]!==o||e[9]!==n||e[10]!==l?(h=g=>{const{remove:y,push:b,form:x}=g,{isSubmitting:w}=x;return a.jsx(pr,{title:l,headerActionsComponent:a.jsx(Ze,{text:i,type:"button",variant:"outlined",onClick:()=>d(b),disabled:w||!Ue(ie.provisioning)}),error:!m(),children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:2,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[a.jsx(te,{divided:!0,spacing:3,children:!!c.length&&c?.map((C,k)=>a.jsx(kdt,{parentFieldName:r,startLabel:n,endLabel:s,index:k,children:a.jsx(Zr,{onClick:()=>f(y,k),disabled:w||!Ue(ie.provisioning),children:a.jsx(ge.Trash,{})})},C._uuid))}),!c?.length&&a.jsx(_e,{children:o})]})})})})},e[3]=i,e[4]=s,e[5]=r,e[6]=m,e[7]=c,e[8]=o,e[9]=n,e[10]=l,e[11]=h):h=e[11];let _;return e[12]!==r||e[13]!==h?(_=a.jsx(oi,{name:r,children:h}),e[12]=r,e[13]=h,e[14]=_):_=e[14],_};function Mdt(t){const e={_uuid:gn(),start:"",end:""};t(e)}function Pdt(t,e){t(e)}const jdt=t=>{const e=he.c(61),{upfIndex:r,sliceIndex:n,dnnIndex:s}=t,i=Ye(),{values:o}=_0(),l=`upfInfoList[${r}].sNssaiUpfInfoList[${n}].dnnUpfInfoList[${s}].dnn`;let c;e[0]!==i?(c=N=>{const{field:F,meta:U,form:z}=N,{isSubmitting:H}=z;return a.jsx(dt,{...F,required:!0,label:i.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.dnn"}),size:"small",error:!!U.error,helperText:U.error,disabled:H||!Ue(ie.provisioning)})},e[0]=i,e[1]=c):c=e[1];let u;e[2]!==l||e[3]!==c?(u=a.jsx(Ke,{name:l,children:c}),e[2]=l,e[3]=c,e[4]=u):u=e[4];const d=`upfInfoList[${r}].sNssaiUpfInfoList[${n}].dnnUpfInfoList[${s}].pduSessionTypes`;let f;e[5]!==i?(f=N=>{const{field:F,meta:U,form:z}=N,{setFieldValue:H,isSubmitting:W}=z;return a.jsx(rn,{name:F.name,value:F.value||[],label:i.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.pduSessionTypes"}),multiple:!0,size:"small",options:sdt,onChange:(K,q)=>{H(F.name,[...new Set(q.map(Tdt))])},error:!!U.error,helperText:U.error,disabled:W||!Ue(ie.provisioning),fullWidth:!0})},e[5]=i,e[6]=f):f=e[6];let p;e[7]!==d||e[8]!==f?(p=a.jsx(Ke,{name:d,children:f}),e[7]=d,e[8]=f,e[9]=p):p=e[9];const m=`upfInfoList[${r}].sNssaiUpfInfoList[${n}].dnnUpfInfoList[${s}].ipv4AddressRanges`;let h;e[10]!==i?(h=i.formatMessage({id:"nrf_static_profile.section.upf.ipv4Ranges.range_add"}),e[10]=i,e[11]=h):h=e[11];let _;e[12]!==i?(_=i.formatMessage({id:"nrf_static_profile.section.upf.ipv4Ranges.no_ranges"}),e[12]=i,e[13]=_):_=e[13];let g;e[14]!==i?(g=i.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges.start"}),e[14]=i,e[15]=g):g=e[15];let y;e[16]!==i?(y=i.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges.end"}),e[16]=i,e[17]=y):y=e[17];let b;e[18]!==i?(b=i.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges"}),e[18]=i,e[19]=b):b=e[19];let x;e[20]!==s||e[21]!==n||e[22]!==r||e[23]!==o.upfInfoList?(x=o.upfInfoList?.[r]?.sNssaiUpfInfoList?.[n]?.dnnUpfInfoList?.[s]?.ipv4AddressRanges||[],e[20]=s,e[21]=n,e[22]=r,e[23]=o.upfInfoList,e[24]=x):x=e[24];let w;e[25]!==g||e[26]!==y||e[27]!==b||e[28]!==x||e[29]!==m||e[30]!==h||e[31]!==_?(w=a.jsx(eJ,{fieldName:m,addLabel:h,noItemsLabel:_,startLabel:g,endLabel:y,titleLabel:b,listValue:x}),e[25]=g,e[26]=y,e[27]=b,e[28]=x,e[29]=m,e[30]=h,e[31]=_,e[32]=w):w=e[32];const C=`upfInfoList[${r}].sNssaiUpfInfoList[${n}].dnnUpfInfoList[${s}].ipv6PrefixRanges`;let k;e[33]!==i?(k=i.formatMessage({id:"nrf_static_profile.section.upf.ipv6Ranges.range_add"}),e[33]=i,e[34]=k):k=e[34];let A;e[35]!==i?(A=i.formatMessage({id:"nrf_static_profile.section.upf.ipv6Ranges.no_ranges"}),e[35]=i,e[36]=A):A=e[36];let P;e[37]!==i?(P=i.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges.start"}),e[37]=i,e[38]=P):P=e[38];let T;e[39]!==i?(T=i.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges.end"}),e[39]=i,e[40]=T):T=e[40];let j;e[41]!==i?(j=i.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges"}),e[41]=i,e[42]=j):j=e[42];let R;e[43]!==s||e[44]!==n||e[45]!==r||e[46]!==o.upfInfoList?(R=o.upfInfoList?.[r]?.sNssaiUpfInfoList?.[n]?.dnnUpfInfoList?.[s]?.ipv6PrefixRanges||[],e[43]=s,e[44]=n,e[45]=r,e[46]=o.upfInfoList,e[47]=R):R=e[47];let D;e[48]!==C||e[49]!==k||e[50]!==A||e[51]!==P||e[52]!==T||e[53]!==j||e[54]!==R?(D=a.jsx(eJ,{fieldName:C,addLabel:k,noItemsLabel:A,startLabel:P,endLabel:T,titleLabel:j,listValue:R}),e[48]=C,e[49]=k,e[50]=A,e[51]=P,e[52]=T,e[53]=j,e[54]=R,e[55]=D):D=e[55];let O;return e[56]!==w||e[57]!==D||e[58]!==u||e[59]!==p?(O=a.jsxs(te,{spacing:2,children:[u,p,w,D]}),e[56]=w,e[57]=D,e[58]=u,e[59]=p,e[60]=O):O=e[60],O};function Tdt(t){return t.trim()}const Edt=t=>{const e=he.c(7),{upfIndex:r,sliceIndex:n}=t,s=Ye(),i=Rdt,o=Idt,l=Ddt,c=`upfInfoList[${r}].sNssaiUpfInfoList[${n}].dnnUpfInfoList`;let u;e[0]!==s||e[1]!==n||e[2]!==r?(u=f=>{const{remove:p,push:m,form:h}=f,{getFieldMeta:_,isSubmitting:g,values:y,errors:b}=h,x=w=>!_(w)?.error;return a.jsx(pr,{title:s.formatMessage({id:"nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.title"}),headerActionsComponent:a.jsx(Ze,{text:s.formatMessage({id:"nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.dnn_add"}),type:"button",variant:"outlined",onClick:()=>o(m),disabled:g||!Ue(ie.provisioning)}),children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:2,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[a.jsx(te,{children:!x(`upfInfoList[${r}].sNssaiUpfInfoList[${n}].dnnUpfInfoList`)&&a.jsxs(a.Fragment,{children:[a.jsx(_e,{color:"error",children:s.formatMessage({id:"nrf_static_profile.form.upfInfoList.form_errors.has_errors"})}),typeof b[`upfInfoList[${r}].sNssaiUpfInfoList`]=="string"&&a.jsx(_e,{color:"error",children:a.jsx("ul",{children:a.jsx("li",{children:b[`upfInfoList[${r}].sNssaiUpfInfoList`]})})})]})}),a.jsx(Jn,{exclusive:!0,spacing:2,children:y.upfInfoList[r]?.sNssaiUpfInfoList[n]?.dnnUpfInfoList?.map((w,C)=>a.jsx(xr,{title:`${i({dnn:w.dnn,i:C})}`,error:!x(`upfInfoList[${r}].sNssaiUpfInfoList[${n}].dnnUpfInfoList[${C}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>l(p,C),label:s.formatMessage({id:"nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.dnn_delete"}),disabled:g||!Ue(ie.provisioning)}],content:a.jsx(jdt,{upfIndex:r,sliceIndex:n,dnnIndex:C})},`${w._uuid}`))||null}),!y.upfInfoList[r]?.sNssaiUpfInfoList[n]?.dnnUpfInfoList?.length&&a.jsx(_e,{children:s.formatMessage({id:"nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.no_dnns"})})]})})})})},e[0]=s,e[1]=n,e[2]=r,e[3]=u):u=e[3];let d;return e[4]!==c||e[5]!==u?(d=a.jsx(oi,{name:c,children:u}),e[4]=c,e[5]=u,e[6]=d):d=e[6],d};function Rdt(t){const{dnn:e,i:r}=t;return e||`DNN #${r+1}`}function Idt(t){const e={_uuid:gn(),dnn:"",pduSessionTypes:[],ipv4AddressRanges:[],ipv6PrefixRanges:[]};t(e)}function Ddt(t,e){t(e)}const $dt=t=>{const e=he.c(17),{upfIndex:r,sliceIndex:n}=t,s=Ye(),i=`upfInfoList[${r}].sNssaiUpfInfoList[${n}].sNssai.sst`;let o;e[0]!==s?(o=m=>{const{field:h,meta:_,form:g}=m,{isSubmitting:y}=g;return a.jsx(dt,{...h,required:!0,label:s.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.sNssai.sst"}),size:"small",error:!!_.error,helperText:_.error,disabled:y||!Ue(ie.provisioning)})},e[0]=s,e[1]=o):o=e[1];let l;e[2]!==i||e[3]!==o?(l=a.jsx(Ke,{name:i,children:o}),e[2]=i,e[3]=o,e[4]=l):l=e[4];const c=`upfInfoList[${r}].sNssaiUpfInfoList[${n}].sNssai.sd`;let u;e[5]!==s?(u=m=>{const{field:h,meta:_,form:g}=m,{isSubmitting:y}=g;return a.jsx(dt,{...h,label:s.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.sNssai.sd"}),size:"small",error:!!_.error,helperText:_.error,disabled:y||!Ue(ie.provisioning)})},e[5]=s,e[6]=u):u=e[6];let d;e[7]!==c||e[8]!==u?(d=a.jsx(Ke,{name:c,children:u}),e[7]=c,e[8]=u,e[9]=d):d=e[9];let f;e[10]!==n||e[11]!==r?(f=a.jsx(Edt,{upfIndex:r,sliceIndex:n}),e[10]=n,e[11]=r,e[12]=f):f=e[12];let p;return e[13]!==l||e[14]!==d||e[15]!==f?(p=a.jsxs(te,{spacing:2,children:[l,d,f]}),e[13]=l,e[14]=d,e[15]=f,e[16]=p):p=e[16],p},Odt=t=>{const e=he.c(6),{upfIndex:r}=t,n=Ye(),s=Ldt,i=Ndt,o=Fdt,l=`upfInfoList[${r}].sNssaiUpfInfoList`;let c;e[0]!==n||e[1]!==r?(c=d=>{const{remove:f,push:p,form:m}=d,{getFieldMeta:h,isSubmitting:_,values:g,errors:y}=m,b=x=>!h(x)?.error;return a.jsx(pr,{title:`${n.formatMessage({id:"nrf_static_profile.section.upf.sNssaiUpfInfoList.title"})}*`,headerActionsComponent:a.jsx(Ze,{text:n.formatMessage({id:"nrf_static_profile.section.upf.sNssaiUpfInfoList.slice_add"}),type:"button",variant:"outlined",onClick:()=>i(p),disabled:_||!Ue(ie.provisioning)}),children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:2,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[a.jsx(te,{children:!b(`upfInfoList[${r}].sNssaiUpfInfoList`)&&a.jsxs(a.Fragment,{children:[a.jsx(_e,{color:"error",children:n.formatMessage({id:"nrf_static_profile.form.upfInfoList.form_errors.has_errors"})}),typeof y[`upfInfoList[${r}].sNssaiUpfInfoList`]=="string"&&a.jsx(_e,{color:"error",children:a.jsx("ul",{children:a.jsx("li",{children:y[`upfInfoList[${r}].sNssaiUpfInfoList`]})})})]})}),a.jsx(Jn,{exclusive:!0,spacing:2,children:g.upfInfoList[r]?.sNssaiUpfInfoList?.map((x,w)=>a.jsx(xr,{title:`${s({sst:x.sNssai.sst,sd:x.sNssai.sd,i:w})}`,error:!b(`upfInfoList[${r}].sNssaiUpfInfoList[${w}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>o(f,w),label:n.formatMessage({id:"nrf_static_profile.section.upf.sNssaiUpfInfoList.slice_delete"}),disabled:_||!Ue(ie.provisioning)}],content:a.jsx($dt,{upfIndex:r,sliceIndex:w})},`${x._uuid}`))||null}),!g.upfInfoList[r]?.sNssaiUpfInfoList?.length&&a.jsx(_e,{children:n.formatMessage({id:"nrf_static_profile.section.upf.sNssaiUpfInfoList.no_slices"})})]})})})})},e[0]=n,e[1]=r,e[2]=c):c=e[2];let u;return e[3]!==l||e[4]!==c?(u=a.jsx(oi,{name:l,children:c}),e[3]=l,e[4]=c,e[5]=u):u=e[5],u};function Ldt(t){const{sst:e,sd:r,i:n}=t,s=ldt({sst:e,sd:r});return s||`Slice #${n+1}`}function Ndt(t){const e={_uuid:gn(),dnnUpfInfoList:[],sNssai:{sd:"",sst:""},redundantTransport:!1};t(e)}function Fdt(t,e){t(e)}function Udt(t){const e=he.c(18),{children:r,label:n,helperText:s,spacing:i,required:o,direction:l,sx:c}=t,u=i===void 0?2:i,d=o===void 0?!1:o,f=l===void 0?"row":l,p=As(),m=Nd(p.breakpoints.up("sm"))?f:"column";let h;e[0]===Symbol.for("react.memo_cache_sentinel")?(h={py:0,px:0,mr:.75,transform:"translateX(-2px)"},e[0]=h):h=e[0];let _;e[1]!==u||e[2]!==c?(_={".MuiCheckbox-root":h,mb:u,...c},e[1]=u,e[2]=c,e[3]=_):_=e[3];let g;e[4]!==n||e[5]!==d?(g=n&&a.jsx(mv,{color:"primary",required:d,sx:{mb:.75},children:n}),e[4]=n,e[5]=d,e[6]=g):g=e[6];let y;e[7]!==r||e[8]!==m||e[9]!==u?(y=a.jsx(te,{direction:m,fullWidth:!0,spacing:u,children:r}),e[7]=r,e[8]=m,e[9]=u,e[10]=y):y=e[10];let b;e[11]!==s?(b=s&&a.jsx(gv,{sx:{mx:0},children:s}),e[11]=s,e[12]=b):b=e[12];let x;return e[13]!==_||e[14]!==g||e[15]!==y||e[16]!==b?(x=a.jsxs(hv,{component:"fieldset",fullWidth:!0,sx:_,children:[g,y,b]}),e[13]=_,e[14]=g,e[15]=y,e[16]=b,e[17]=x):x=e[17],x}const Bdt=t=>{const e=he.c(24),{upfIndex:r,taiIndex:n}=t,s=Ye(),i=`upfInfoList[${r}].taiList[${n}].tac`;let o;e[0]!==s?(o=y=>{const{field:b,meta:x,form:w}=y,{isSubmitting:C}=w;return a.jsx(dt,{...b,required:!0,label:s.formatMessage({id:"nrf_static_profile.form.upfInfoList.taiList.tac"}),size:"small",error:!!x.error,helperText:x.error,disabled:C||!Ue(ie.provisioning)})},e[0]=s,e[1]=o):o=e[1];let l;e[2]!==i||e[3]!==o?(l=a.jsx(Ke,{name:i,children:o}),e[2]=i,e[3]=o,e[4]=l):l=e[4];let c;e[5]!==s?(c=s.formatMessage({id:"nrf_static_profile.form.upfInfoList.taiList.plmnId"}),e[5]=s,e[6]=c):c=e[6];const u=`upfInfoList[${r}].taiList[${n}].plmnId.mcc`;let d;e[7]!==s?(d=y=>{const{field:b,meta:x,form:w}=y,{isSubmitting:C}=w;return a.jsx(dt,{...b,required:!0,label:s.formatMessage({id:"nrf_static_profile.form.upfInfoList.taiList.plmnId.mcc"}),size:"small",error:!!x.error,helperText:x.error,disabled:C||!Ue(ie.provisioning)})},e[7]=s,e[8]=d):d=e[8];let f;e[9]!==u||e[10]!==d?(f=a.jsx(Ke,{name:u,children:d}),e[9]=u,e[10]=d,e[11]=f):f=e[11];const p=`upfInfoList[${r}].taiList[${n}].plmnId.mnc`;let m;e[12]!==s?(m=y=>{const{field:b,meta:x,form:w}=y,{isSubmitting:C}=w;return a.jsx(dt,{...b,required:!0,label:s.formatMessage({id:"nrf_static_profile.form.upfInfoList.taiList.plmnId.mnc"}),size:"small",error:!!x.error,helperText:x.error,disabled:C||!Ue(ie.provisioning)})},e[12]=s,e[13]=m):m=e[13];let h;e[14]!==p||e[15]!==m?(h=a.jsx(Ke,{name:p,children:m}),e[14]=p,e[15]=m,e[16]=h):h=e[16];let _;e[17]!==h||e[18]!==c||e[19]!==f?(_=a.jsxs(Udt,{label:c,children:[f,h]}),e[17]=h,e[18]=c,e[19]=f,e[20]=_):_=e[20];let g;return e[21]!==_||e[22]!==l?(g=a.jsxs(te,{spacing:2,children:[l,_]}),e[21]=_,e[22]=l,e[23]=g):g=e[23],g},zdt=t=>{const e=he.c(6),{upfIndex:r}=t,n=Ye(),s=qdt,i=Vdt,o=Hdt,l=`upfInfoList[${r}].taiList`;let c;e[0]!==n||e[1]!==r?(c=d=>{const{remove:f,push:p,form:m}=d,{getFieldMeta:h,isSubmitting:_,values:g,errors:y}=m,b=x=>!h(x)?.error;return a.jsx(pr,{title:n.formatMessage({id:"nrf_static_profile.section.upf.taiList.title"}),headerActionsComponent:a.jsx(Ze,{text:n.formatMessage({id:"nrf_static_profile.section.upf.taiList.tai_add"}),type:"button",variant:"outlined",onClick:()=>i(p),disabled:_||!Ue(ie.provisioning)}),children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:2,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[a.jsx(te,{children:!b(`upfInfoList[${r}].taiList`)&&a.jsxs(a.Fragment,{children:[a.jsx(_e,{color:"error",children:n.formatMessage({id:"nrf_static_profile.form.upfInfoList.form_errors.has_errors"})}),typeof y[`upfInfoList[${r}].taiList`]=="string"&&a.jsx(_e,{color:"error",children:a.jsx("ul",{children:a.jsx("li",{children:y[`upfInfoList[${r}].taiList`]})})})]})}),a.jsx(Jn,{exclusive:!0,spacing:2,children:g.upfInfoList[r]?.taiList?.map((x,w)=>a.jsx(xr,{title:`${s({...x,i:w})}`,error:!b(`upfInfoList[${r}].taiList[${w}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>o(f,w),label:n.formatMessage({id:"nrf_static_profile.section.upf.taiList.tai_delete"}),disabled:_||!Ue(ie.provisioning)}],content:a.jsx(Bdt,{upfIndex:r,taiIndex:w})},`${x._uuid}`))||null}),!g.upfInfoList[r]?.taiList?.length&&a.jsx(_e,{children:n.formatMessage({id:"nrf_static_profile.section.upf.taiList.no_tais"})})]})})})})},e[0]=n,e[1]=r,e[2]=c):c=e[2];let u;return e[3]!==l||e[4]!==c?(u=a.jsx(oi,{name:l,children:c}),e[3]=l,e[4]=c,e[5]=u):u=e[5],u};function qdt(t){const{tac:e,plmnId:r,i:n}=t,{mcc:s,mnc:i}=r;let o="";return e&&(o=`${e}`),(s||i)&&(o=o+" (",s&&(o=o+s),i&&(o=o+`-${i}`),o=o+")"),o||`TAI #${n+1}`}function Vdt(t){const e={_uuid:gn(),plmnId:{mnc:"",mcc:""},tac:"",nid:""};t(e)}function Hdt(t,e){t(e)}const Gdt=t=>{const e=he.c(14),{upfIndex:r}=t,n=Ye(),s=`upfInfoList[${r}].ueIpAddrInd`;let i;e[0]!==n?(i=f=>{const{field:p,form:m}=f,{setFieldValue:h,isSubmitting:_}=m;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:!!p.value,onChange:(g,y)=>{h(p.name,y)},disabled:_||!Ue(ie.provisioning)}),a.jsx(_e,{children:n.formatMessage({id:"nrf_static_profile.form.upfInfoList.ueIpAddrInd"})})]})},e[0]=n,e[1]=i):i=e[1];let o;e[2]!==s||e[3]!==i?(o=a.jsx(Ke,{name:s,children:i}),e[2]=s,e[3]=i,e[4]=o):o=e[4];let l,c,u;e[5]!==r?(l=a.jsx(wdt,{upfIndex:r}),c=a.jsx(zdt,{upfIndex:r}),u=a.jsx(Odt,{upfIndex:r}),e[5]=r,e[6]=l,e[7]=c,e[8]=u):(l=e[6],c=e[7],u=e[8]);let d;return e[9]!==o||e[10]!==l||e[11]!==c||e[12]!==u?(d=a.jsxs(te,{spacing:2,children:[o,l,c,u]}),e[9]=o,e[10]=l,e[11]=c,e[12]=u,e[13]=d):d=e[13],d},Wdt=t=>{const e=he.c(3),{isLoading:r}=t,n=Ye(),s=Ydt,i=Kdt,o=Qdt;let l;return e[0]!==n||e[1]!==r?(l=a.jsx(oi,{name:"upfInfoList",children:c=>{const{remove:u,push:d,form:f}=c,{getFieldMeta:p,values:m,errors:h}=f,_=g=>!p(g)?.error;return a.jsx(pr,{title:n.formatMessage({id:"nrf_static_profile.section.upf.title"}),headerActionsComponent:a.jsx(Ze,{text:n.formatMessage({id:"nrf_static_profile.section.upf.upf_instance_add"}),type:"button",variant:"outlined",onClick:()=>{i(d)},disabled:r||!Ue(ie.provisioning)}),children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:2,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[a.jsx(te,{children:!_("upfInfoList")&&a.jsxs(a.Fragment,{children:[a.jsx(_e,{color:"error",children:n.formatMessage({id:"nrf_static_profile.form.upfInfoList.form_errors.has_errors"})}),typeof h.upfInfoList=="string"&&a.jsx(_e,{color:"error",children:a.jsx("ul",{children:a.jsx("li",{children:h.upfInfoList})})})]})}),a.jsx(Jn,{exclusive:!0,spacing:2,children:m.upfInfoList?.map((g,y)=>a.jsx(xr,{title:`${s(y)}`,subtitle:g._uuid,error:!_(`upfInfoList[${y}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>o(u,y),label:n.formatMessage({id:"nrf_static_profile.section.upf.upf_instance_delete"}),disabled:r||!Ue(ie.provisioning)}],content:a.jsx(Gdt,{upfIndex:y})},`${g._uuid}`))||null}),!m.upfInfoList?.length&&a.jsx(_e,{children:n.formatMessage({id:"nrf_static_profile.section.upf.no_upf_instances"})})]})})})})}}),e[0]=n,e[1]=r,e[2]=l):l=e[2],l};function Ydt(t){return`UPF Instance #${t+1}`}function Kdt(t){const e={_uuid:gn(),sNssaiUpfInfoList:[],taiList:[],ueIpAddrInd:!1,interfaceUpfInfoList:[]};t(e)}function Qdt(t,e){t(e)}const Zdt=t=>{const e=he.c(66),{isEditing:r,isLoading:n,errorData:s}=t,i=Ye(),{values:o}=_0(),l=Xdt,c=Jdt,u=eft,d=tft,f=rft;let p;e[0]!==i?(p=i.formatMessage({id:"nrf_static_profile.section.general.title"}),e[0]=i,e[1]=p):p=e[1];let m;e[2]!==p?(m=a.jsx(_e,{type:"h6",fontWeight:600,children:p}),e[2]=p,e[3]=m):m=e[3];let h;e[4]!==i||e[5]!==r||e[6]!==n?(h=a.jsx(Ke,{name:"nfInstanceId",children:N=>{const{field:F,meta:U}=N;return a.jsx(dt,{...F,label:i.formatMessage({id:"nrf_static_profile.form.nfInstanceId"}),size:"small",error:!!U.error,helperText:U.error,disabled:r||n})}}),e[4]=i,e[5]=r,e[6]=n,e[7]=h):h=e[7];let _;e[8]!==i||e[9]!==n?(_=a.jsx(Ke,{name:"nfType",children:N=>{const{field:F,meta:U}=N;return a.jsx(qs,{...F,required:!0,label:i.formatMessage({id:"nrf_static_profile.form.nfType"}),size:"small",error:!!U.error,helperText:U.error,disabled:n,children:idt.map(nft)})}}),e[8]=i,e[9]=n,e[10]=_):_=e[10];let g;e[11]!==i||e[12]!==n?(g=a.jsx(Ke,{name:"nfStatus",children:N=>{const{field:F,meta:U}=N;return a.jsx(qs,{...F,required:!0,label:i.formatMessage({id:"nrf_static_profile.form.nfStatus"}),size:"small",error:!!U.error,helperText:U.error,disabled:n,children:odt.map(sft)})}}),e[11]=i,e[12]=n,e[13]=g):g=e[13];let y;e[14]!==i||e[15]!==n?(y=a.jsx(Ke,{name:"fqdn",children:N=>{const{field:F,meta:U}=N;return a.jsx(dt,{...F,label:i.formatMessage({id:"nrf_static_profile.form.fqdn"}),size:"small",error:!!U.error,helperText:U.error,disabled:n})}}),e[14]=i,e[15]=n,e[16]=y):y=e[16];let b;e[17]!==i||e[18]!==n?(b=a.jsx(Ke,{name:"ipv4Addresses",children:N=>{const{field:F,meta:U,form:z}=N,{setFieldValue:H}=z;return a.jsx(rn,{name:F.name,value:F.value||[],label:i.formatMessage({id:"nrf_static_profile.form.ipv4Addresses"}),multiple:!0,size:"small",freeSolo:!0,options:[],onChange:(W,K)=>{H(F.name,[...new Set(K.map(ift))])},error:!!U.error,helperText:U.error,disabled:n})}}),e[17]=i,e[18]=n,e[19]=b):b=e[19];let x;e[20]!==i||e[21]!==n?(x=a.jsx(Ke,{name:"ipv6Addresses",children:N=>{const{field:F,meta:U,form:z}=N,{setFieldValue:H}=z;return a.jsx(rn,{name:F.name,value:F.value||[],label:i.formatMessage({id:"nrf_static_profile.form.ipv6Addresses"}),multiple:!0,size:"small",freeSolo:!0,options:[],onChange:(W,K)=>{H(F.name,[...new Set(K.map(oft))])},error:!!U.error,helperText:U.error,disabled:n})}}),e[20]=i,e[21]=n,e[22]=x):x=e[22];let w;e[23]!==i||e[24]!==n?(w=a.jsx(Ke,{name:"nfInstanceName",children:N=>{const{field:F,meta:U}=N;return a.jsx(dt,{...F,label:i.formatMessage({id:"nrf_static_profile.form.nfInstanceName"}),size:"small",error:!!U.error,helperText:U.error,disabled:n})}}),e[23]=i,e[24]=n,e[25]=w):w=e[25];let C;e[26]!==i||e[27]!==n?(C=a.jsx(Ke,{name:"priority",children:N=>{const{field:F,meta:U}=N;return a.jsx(dt,{...F,label:i.formatMessage({id:"nrf_static_profile.form.priority"}),size:"small",type:"number",error:!!U.error,helperText:U.error,disabled:n})}}),e[26]=i,e[27]=n,e[28]=C):C=e[28];let k;e[29]!==i||e[30]!==n?(k=a.jsx(Ke,{name:"capacity",children:N=>{const{field:F,meta:U}=N;return a.jsx(dt,{...F,label:i.formatMessage({id:"nrf_static_profile.form.capacity"}),size:"small",type:"number",error:!!U.error,helperText:U.error,disabled:n})}}),e[29]=i,e[30]=n,e[31]=k):k=e[31];let A;e[32]!==i||e[33]!==n?(A=a.jsx(Ke,{name:"locality",children:N=>{const{field:F,meta:U}=N;return a.jsx(dt,{...F,label:i.formatMessage({id:"nrf_static_profile.form.locality"}),size:"small",error:!!U.error,helperText:U.error,disabled:n})}}),e[32]=i,e[33]=n,e[34]=A):A=e[34];let P;e[35]!==i||e[36]!==n||e[37]!==o.sNssais?(P=a.jsx(oi,{name:"sNssais",children:N=>{const{remove:F,push:U,form:z}=N,{getFieldMeta:H,errors:W}=z,K=q=>!H(q)?.error;return a.jsx(pr,{title:i.formatMessage({id:"nrf_static_profile.section.slices.title"}),headerActionsComponent:a.jsx(Ze,{text:i.formatMessage({id:"nrf_static_profile.section.slices.slice_add"}),type:"button",variant:"outlined",onClick:()=>c(U),disabled:n||!Ue(ie.provisioning)}),elevation:2,children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:1,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[a.jsx(te,{children:!K("sNssais")&&a.jsxs(a.Fragment,{children:[a.jsx(_e,{color:"error",children:i.formatMessage({id:"nrf_static_profile.form.sNssais.form_errors.has_errors"})}),typeof W.sNssais=="string"&&a.jsx(_e,{color:"error",children:a.jsx("ul",{children:a.jsx("li",{children:W.sNssais})})})]})}),a.jsx(Jn,{exclusive:!0,spacing:2,children:o.sNssais?.map((q,X)=>{const Q=q;return a.jsx(xr,{title:`${l(Q,X)}`,error:!K(`sNssais[${X}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>u(F,X),label:i.formatMessage({id:"nrf_static_profile.section.slices.slice_delete"}),disabled:n||!Ue(ie.provisioning)}],content:a.jsx(vdt,{i:X}),elevation:3},`${Q._uuid}`)})||[]}),!o.sNssais?.length&&a.jsx(_e,{children:i.formatMessage({id:"nrf_static_profile.section.slices.no_slices"})})]})})})})}}),e[35]=i,e[36]=n,e[37]=o.sNssais,e[38]=P):P=e[38];let T;e[39]!==i||e[40]!==n||e[41]!==o.plmnList?(T=a.jsx(oi,{name:"plmnList",children:N=>{const{remove:F,push:U}=N;return a.jsx(pr,{title:i.formatMessage({id:"nrf_static_profile.section.plmnList.title"}),headerActionsComponent:a.jsx(Ze,{text:i.formatMessage({id:"nrf_static_profile.section.plmnList.plmn_add"}),type:"button",variant:"outlined",onClick:()=>d(U),disabled:n||!Ue(ie.provisioning)}),elevation:2,children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:1,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[!!o.plmnList?.length&&o.plmnList.map((z,H)=>{const W=z;return a.jsxs(te,{direction:"row",align:"flex-start",nowrap:!0,children:[a.jsx(_dt,{i:H}),a.jsx(Zr,{onClick:()=>f(F,H),disabled:n||!Ue(ie.provisioning),sx:{mt:"4px"},children:a.jsx(ge.Trash,{size:"24px"})})]},W._uuid)}),!o.plmnList?.length&&a.jsx(_e,{children:i.formatMessage({id:"nrf_static_profile.section.plmnList.no_plmns"})})]})})})})}}),e[39]=i,e[40]=n,e[41]=o.plmnList,e[42]=T):T=e[42];let j;e[43]!==s?(j=a.jsx(Xr,{data:s}),e[43]=s,e[44]=j):j=e[44];let R;e[45]!==C||e[46]!==k||e[47]!==A||e[48]!==P||e[49]!==T||e[50]!==j||e[51]!==h||e[52]!==_||e[53]!==g||e[54]!==y||e[55]!==b||e[56]!==x||e[57]!==w?(R=a.jsxs(te,{spacing:2,children:[h,_,g,y,b,x,w,C,k,A,P,T,j]}),e[45]=C,e[46]=k,e[47]=A,e[48]=P,e[49]=T,e[50]=j,e[51]=h,e[52]=_,e[53]=g,e[54]=y,e[55]=b,e[56]=x,e[57]=w,e[58]=R):R=e[58];let D;e[59]!==n||e[60]!==o.nfType?(D=o?.nfType===v7.UPF&&a.jsx(Wdt,{isLoading:n}),e[59]=n,e[60]=o.nfType,e[61]=D):D=e[61];let O;return e[62]!==R||e[63]!==D||e[64]!==m?(O=a.jsxs(te,{spacing:2,children:[m,R,D]}),e[62]=R,e[63]=D,e[64]=m,e[65]=O):O=e[65],O};function Xdt(t,e){const{sst:r,sd:n,sdRanges:s}=t,i=adt({sst:r,sd:n,sdRanges:s});return i||`Slice #${e+1}`}function Jdt(t){const e={_uuid:gn(),sst:"",sd:"",isRangesActive:!1,sdRanges:[]};t(e)}function eft(t,e){t(e)}function tft(t){const e={_uuid:gn(),mcc:"",mnc:""};t(e)}function rft(t,e){t(e)}function nft(t){return a.jsx(En,{value:t,children:t},t)}function sft(t){return a.jsx(En,{value:t,children:t},t)}function ift(t){return t.trim()}function oft(t){return t.trim()}const aft=t=>{const e=he.c(24),{staticProfile:r}=t,n=Ye(),{confirmationSimpleDialogOpen:s}=Jt(),{id:i}=ko(),{data:o,state:l,submit:c}=gr(),u=i!=="new";let d;e[0]!==r?(d=hdt(r),e[0]=r,e[1]=d):d=e[1];const f=d;let p;e[2]!==u||e[3]!==c?(p=b=>{u?c(JX(b),{method:"PUT",encType:"application/json",action:"update"}):c(JX(b),{method:"POST",encType:"application/json",action:"create"})},e[2]=u,e[3]=c,e[4]=p):p=e[4];const m=p;let h;e[5]!==s||e[6]!==l||e[7]!==i||e[8]!==n||e[9]!==u||e[10]!==c?(h=u&&a.jsx(hs,{children:a.jsx(Ze,{startIcon:a.jsx(ge.Trash,{}),variant:"outlined",disabled:l!=="idle"||!Ue(ie.provisioning),text:n.formatMessage({id:"nrf_static_profiles.actions.delete"}),onClick:()=>{i&&s({title:n.formatMessage({id:"nrf_static_profiles.actions.confirm_dialog.title"}),description:n.formatMessage({id:"nrf_static_profiles.actions.confirm_dialog.description"},{nfInstanceId:i}),onConfirm:()=>{c({id:i},{method:"DELETE",encType:"application/json",action:"delete"})},cancelText:n.formatMessage({id:"confirm_dialog.cancel"}),confirmText:n.formatMessage({id:"confirm_dialog.ok"})})}})}),e[5]=s,e[6]=l,e[7]=i,e[8]=n,e[9]=u,e[10]=c,e[11]=h):h=e[11];let _;e[12]!==o||e[13]!==l||e[14]!==n||e[15]!==u?(_=b=>{const{dirty:x}=b;return a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsxs(te,{spacing:2,children:[a.jsx(Zdt,{isEditing:u,isLoading:l!=="idle",errorData:o}),Ue(ie.provisioning)&&a.jsx(Ze,{type:"submit",text:n.formatMessage({id:"udr_supi.form.buttons.submit"}),disabled:!x,loading:l!=="idle",sx:{alignSelf:"flex-start"}})]})})},e[12]=o,e[13]=l,e[14]=n,e[15]=u,e[16]=_):_=e[16];let g;e[17]!==m||e[18]!==f||e[19]!==_?(g=a.jsx(Kt,{children:a.jsx(Wr,{initialValues:f,enableReinitialize:!0,validationSchema:gdt,onSubmit:m,children:_})}),e[17]=m,e[18]=f,e[19]=_,e[20]=g):g=e[20];let y;return e[21]!==h||e[22]!==g?(y=a.jsxs(a.Fragment,{children:[h,g]}),e[21]=h,e[22]=g,e[23]=y):y=e[23],y},lft=()=>{const t=he.c(4),e=zn();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(Dt,{variant:"rounded",height:"600px"}),t[0]=r):r=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Tr,{}),t[1]=n):n=t[1];let s;return t[2]!==e.staticProfile?(s=a.jsx(I.Suspense,{fallback:r,children:a.jsx(Qt,{resolve:e.staticProfile,errorElement:n,children:cft})}),t[2]=e.staticProfile,t[3]=s):s=t[3],s};function cft(t){return a.jsx(aft,{staticProfile:t})}const Ap=t=>{const e=he.c(25),{text:r,max:n,fontWeight:s}=t,i=n===void 0?10:n,o=s===void 0?"400":s,{snackbarOpen:l}=Jt(),c=Ye();let u;e[0]!==c||e[1]!==l||e[2]!==r?(u=()=>{navigator.clipboard.writeText(r),l({message:c.formatMessage({id:"long_string_displayer.message.copy_ok"}),severity:"success"})},e[0]=c,e[1]=l,e[2]=r,e[3]=u):u=e[3];const d=u;if(!r)return null;let f;e[4]===Symbol.for("react.memo_cache_sentinel")?(f={wordBreak:"break-all"},e[4]=f):f=e[4];let p;e[5]!==i||e[6]!==r?(p=r.length>i?`${r.substring(0,i)}...`:r,e[5]=i,e[6]=r,e[7]=p):p=e[7];let m;e[8]!==o||e[9]!==p?(m=a.jsx("span",{children:a.jsx(te,{direction:"row",spacing:0,align:"center",children:a.jsx(_e,{type:"body2",fontWeight:o,sx:f,noWrap:!0,children:p})})}),e[8]=o,e[9]=p,e[10]=m):m=e[10];let h;e[11]!==m||e[12]!==r?(h=a.jsx(Mn,{title:r,children:m}),e[11]=m,e[12]=r,e[13]=h):h=e[13];let _;e[14]!==c?(_=c.formatMessage({id:"long_string_displayer.message.copy"}),e[14]=c,e[15]=_):_=e[15];let g;e[16]===Symbol.for("react.memo_cache_sentinel")?(g=a.jsx(ge.Copy,{}),e[16]=g):g=e[16];let y;e[17]!==d?(y=a.jsx("span",{children:a.jsx(Zr,{onClick:d,size:"small",children:g})}),e[17]=d,e[18]=y):y=e[18];let b;e[19]!==y||e[20]!==_?(b=a.jsx(Mn,{title:_,children:y}),e[19]=y,e[20]=_,e[21]=b):b=e[21];let x;return e[22]!==b||e[23]!==h?(x=a.jsxs(te,{direction:"row",spacing:.5,align:"center",nowrap:!0,children:[h,b]}),e[22]=b,e[23]=h,e[24]=x):x=e[24],x},uft=()=>{const t=he.c(83),e=Ye(),{confirmationSimpleDialogOpen:r}=Jt(),n=ys(),s=zn(),{submit:i}=gr();let o;t[0]!==e?(o=e.formatMessage({id:"nrf_static_profiles.table.nfType"}),t[0]=e,t[1]=o):o=t[1];let l;t[2]!==o?(l={key:"nfType",label:o,cellRender:dft},t[2]=o,t[3]=l):l=t[3];let c;t[4]!==e?(c=e.formatMessage({id:"nrf_static_profiles.table.nfStatus"}),t[4]=e,t[5]=c):c=t[5];let u;t[6]!==c?(u={key:"nfStatus",label:c,cellRender:fft},t[6]=c,t[7]=u):u=t[7];let d;t[8]!==e?(d=e.formatMessage({id:"nrf_static_profiles.table.fqdn"}),t[8]=e,t[9]=d):d=t[9];let f;t[10]!==d?(f={key:"fqdn",label:d},t[10]=d,t[11]=f):f=t[11];let p;t[12]!==e?(p=e.formatMessage({id:"nrf_static_profiles.table.ipv4Addresses"}),t[12]=e,t[13]=p):p=t[13];let m;t[14]!==p?(m={key:"ipv4Addresses",label:p,cellRender:mft},t[14]=p,t[15]=m):m=t[15];let h;t[16]!==e?(h=e.formatMessage({id:"nrf_static_profiles.table.ipv6Addresses"}),t[16]=e,t[17]=h):h=t[17];let _;t[18]!==h?(_={key:"ipv6Addresses",label:h,cellRender:gft},t[18]=h,t[19]=_):_=t[19];let g;t[20]!==e?(g=e.formatMessage({id:"nrf_static_profiles.table.priority"}),t[20]=e,t[21]=g):g=t[21];let y;t[22]!==g?(y={key:"priority",label:g},t[22]=g,t[23]=y):y=t[23];let b;t[24]!==e?(b=e.formatMessage({id:"nrf_static_profiles.table.locality"}),t[24]=e,t[25]=b):b=t[25];let x;t[26]!==b?(x={key:"locality",label:b},t[26]=b,t[27]=x):x=t[27];let w;t[28]!==e?(w=e.formatMessage({id:"nrf_static_profiles.table.capacity"}),t[28]=e,t[29]=w):w=t[29];let C;t[30]!==w?(C={key:"capacity",label:w},t[30]=w,t[31]=C):C=t[31];let k;t[32]!==e?(k=e.formatMessage({id:"nrf_static_profiles.table.sNssais"}),t[32]=e,t[33]=k):k=t[33];let A;t[34]!==k?(A={key:"sNssais",label:k,cellRender:_ft},t[34]=k,t[35]=A):A=t[35];let P;t[36]!==e?(P=e.formatMessage({id:"nrf_static_profiles.table.plmnList"}),t[36]=e,t[37]=P):P=t[37];let T;t[38]!==P?(T={key:"plmnList",label:P,cellRender:vft},t[38]=P,t[39]=T):T=t[39];let j;t[40]!==e?(j=e.formatMessage({id:"nrf_static_profiles.table.nfInstanceId"}),t[40]=e,t[41]=j):j=t[41];let R;t[42]!==j?(R={key:"nfInstanceId",label:j,cellRender:yft},t[42]=j,t[43]=R):R=t[43];let D;t[44]!==l||t[45]!==y||t[46]!==x||t[47]!==C||t[48]!==A||t[49]!==T||t[50]!==R||t[51]!==u||t[52]!==f||t[53]!==m||t[54]!==_?(D=[l,u,f,m,_,y,x,C,A,T,R],t[44]=l,t[45]=y,t[46]=x,t[47]=C,t[48]=A,t[49]=T,t[50]=R,t[51]=u,t[52]=f,t[53]=m,t[54]=_,t[55]=D):D=t[55];const O=D;let N;t[56]===Symbol.for("react.memo_cache_sentinel")?(N=_l(ie.configuration),t[56]=N):N=t[56];let F;t[57]!==n?(F={...N,onClick:fe=>{const{nfInstanceId:de}=fe;return n(`${$.urls.nrfStaticProfiles}/${de}`)}},t[57]=n,t[58]=F):F=t[58];let U;t[59]!==e?(U=e.formatMessage({id:"nrf_static_profiles.actions.delete"}),t[59]=e,t[60]=U):U=t[60];let z;t[61]===Symbol.for("react.memo_cache_sentinel")?(z=Ue(ie.configuration),t[61]=z):z=t[61];let H;t[62]===Symbol.for("react.memo_cache_sentinel")?(H=a.jsx(ge.Trash,{}),t[62]=H):H=t[62];let W;t[63]!==r||t[64]!==e||t[65]!==i?(W=fe=>{const{nfInstanceId:de}=fe;de&&r({title:e.formatMessage({id:"nrf_static_profiles.actions.confirm_dialog.title"}),description:e.formatMessage({id:"nrf_static_profiles.actions.confirm_dialog.description"},{nfInstanceId:de}),onConfirm:()=>{i({id:de},{method:"DELETE",encType:"application/json",action:`${de}/delete`})},cancelText:e.formatMessage({id:"confirm_dialog.cancel"}),confirmText:e.formatMessage({id:"confirm_dialog.ok"})})},t[63]=r,t[64]=e,t[65]=i,t[66]=W):W=t[66];let K;t[67]!==U||t[68]!==W?(K={label:U,disabled:!z,icon:H,onClick:W},t[67]=U,t[68]=W,t[69]=K):K=t[69];let q;t[70]!==F||t[71]!==K?(q=[F,K],t[70]=F,t[71]=K,t[72]=q):q=t[72];const X=q;let Q;t[73]===Symbol.for("react.memo_cache_sentinel")?(Q=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[73]=Q):Q=t[73];let Y;t[74]===Symbol.for("react.memo_cache_sentinel")?(Y=a.jsx(Tr,{}),t[74]=Y):Y=t[74];let Z;t[75]!==O||t[76]!==e||t[77]!==n||t[78]!==X?(Z=fe=>a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{"data-testid":"nfr-profile-btn-add",text:e.formatMessage({id:"nrf_static_profiles.toolbar.new"}),startIcon:a.jsx(ge.Add,{}),onClick:()=>n(`${$.urls.nrfStaticProfiles}/new`),disabled:!Ue(ie.configuration)})}),a.jsx(Br,{autoScale:!0,orderBy:"nfInstanceId",columns:O,data:fe,page:1,rowsCount:fe.length,rowsPerPage:fe.length,rowsPerPageOptions:$.pageSizeOptions,hidePagination:!0,rowKey:"nfInstanceId",rowActions:X,stickyRowActions:!0})]}),t[75]=O,t[76]=e,t[77]=n,t[78]=X,t[79]=Z):Z=t[79];let re;return t[80]!==s.staticProfiles||t[81]!==Z?(re=a.jsx(I.Suspense,{fallback:Q,children:a.jsx(Qt,{resolve:s.staticProfiles,errorElement:Y,children:Z})}),t[80]=s.staticProfiles,t[81]=Z,t[82]=re):re=t[82],re};function dft(t){return a.jsx(ms,{size:"small",id:t.nfType,label:t.nfType})}function fft(t){const{nfStatus:e}=t;return a.jsx(ms,{size:"small",label:e,color:e===Eb.REGISTERED?"success":e===Eb.SUSPENDED?"error":e===Eb.UNDISCOVERABLE?"warning":"info"})}function pft(t){return{label:t,id:t}}function mft(t){const{ipv4Addresses:e}=t;return a.jsx(ks,{size:"small",items:e?.map(pft)||[]})}function hft(t){return{label:t,id:t}}function gft(t){const{ipv6Addresses:e}=t;return a.jsx(ks,{size:"small",items:e?.map(hft)||[]})}function _ft(t){const{sNssais:e}=t;return a.jsx(_e,{type:"body2",children:e?.length?e.length:""})}function vft(t){const{plmnList:e}=t;return a.jsx(_e,{type:"body2",children:e?.length?e.length:""})}function yft(t){const{nfInstanceId:e}=t;return a.jsx(Ap,{text:e||""})}function bft(t){const e=he.c(25),{nfInstanceId:r}=t,n=Ye(),{dialogClose:s}=Jt();let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i={to:"nrf/status"},e[0]=i):i=e[0];const{data:o}=Dv(i);o?.profiles;let l;e[1]!==o?.profiles||e[2]!==r?(l=o?.profiles.find(b=>b.nf_profile.nfInstanceId===r),e[1]=o?.profiles,e[2]=r,e[3]=l):l=e[3];const c=l,u=!o;let d;e[4]!==c?(d=c&&a.jsx(Aue,{value:JSON.stringify(c??null,null,2),language:"json"}),e[4]=c,e[5]=d):d=e[5];let f;e[6]!==n||e[7]!==c?(f=!c&&a.jsx(Lr,{severity:"warning",message:n.formatMessage({id:"nrf.status.details.no_profile"})}),e[6]=n,e[7]=c,e[8]=f):f=e[8];let p;e[9]!==d||e[10]!==f?(p=a.jsxs(te,{fullHeight:!0,align:"center",justify:"center",children:[d,f]}),e[9]=d,e[10]=f,e[11]=p):p=e[11];let m;e[12]!==u||e[13]!==p?(m=a.jsx(_s,{loading:u,children:p}),e[12]=u,e[13]=p,e[14]=m):m=e[14];let h;e[15]!==n?(h=n.formatMessage({id:"info_dialog.close"}),e[15]=n,e[16]=h):h=e[16];let _;e[17]!==s?(_=()=>s(),e[17]=s,e[18]=_):_=e[18];let g;e[19]!==h||e[20]!==_?(g=a.jsx(Ti,{children:a.jsx(Ze,{text:h,onClick:_})}),e[19]=h,e[20]=_,e[21]=g):g=e[21];let y;return e[22]!==g||e[23]!==m?(y=a.jsxs(a.Fragment,{children:[m,g]}),e[22]=g,e[23]=m,e[24]=y):y=e[24],y}function xft(){const t=he.c(57),e=Ye(),{dialogOpen:r}=Jt(),n=Gr(),s=ys(),i=On();let o;t[0]!==e?(o=(q,X)=>{switch(X){case"nf_profile.nfType":return q.nf_profile.nfType;case"md.static":return q.md.static?e.formatMessage({id:"nrf.status.profile_type.static"}):e.formatMessage({id:"nrf.status.profile_type.dynamic"});case"nf_profile.nfStatus":return q.nf_profile.nfStatus;case"nf_profile.nfInstanceId":return q.nf_profile.nfInstanceId;case"md.registration_ts_epoch_s":return q.md.registration_ts_epoch_s;case"md.expiration_ts_epoch_s":return q.md.expiration_ts_epoch_s??0;default:return""}},t[0]=e,t[1]=o):o=t[1];const l=o,c=Pft;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u={direction:Gl.ASC,column:"nf_profile.nfType"},t[2]=u):u=t[2];let d;t[3]!==l?(d={initialSortingState:u,getColumnValue:l,getColumnType:c},t[3]=l,t[4]=d):d=t[4];const{sort:f,updateSorting:p,sorting:m}=ex(d);let h;t[5]!==p?(h=(q,X)=>{p({column:X,direction:q})},t[5]=p,t[6]=h):h=t[6];const _=h;let g;t[7]!==e?(g=e.formatMessage({id:"nrf.status.nf_type"}),t[7]=e,t[8]=g):g=t[8];let y;t[9]!==g?(y={key:"nf_profile.nfType",label:g,sortable:!0,cellRender:Mft},t[9]=g,t[10]=y):y=t[10];let b;t[11]!==e?(b=e.formatMessage({id:"nrf.status.profile_type"}),t[11]=e,t[12]=b):b=t[12];let x;t[13]!==e?(x=q=>a.jsx(ms,{color:q.md.static?"info":"default",size:"small",id:q.nf_profile.nfInstanceId,label:q.md.static?e.formatMessage({id:"nrf.status.profile_type.static"}):e.formatMessage({id:"nrf.status.profile_type.dynamic"})}),t[13]=e,t[14]=x):x=t[14];let w;t[15]!==b||t[16]!==x?(w={key:"md.static",label:b,sortable:!0,cellRender:x},t[15]=b,t[16]=x,t[17]=w):w=t[17];let C;t[18]!==e?(C=e.formatMessage({id:"nrf.status.nf_status"}),t[18]=e,t[19]=C):C=t[19];let k;t[20]!==C?(k={key:"nf_profile.nfStatus",label:C,sortable:!0,cellRender:kft},t[20]=C,t[21]=k):k=t[21];let A;t[22]!==e?(A=e.formatMessage({id:"nrf.status.registration"}),t[22]=e,t[23]=A):A=t[23];let P;t[24]!==A?(P={key:"md.registration_ts_epoch_s",label:A,sortable:!0,cellRender:Aft},t[24]=A,t[25]=P):P=t[25];let T;t[26]!==e?(T=e.formatMessage({id:"nrf.status.expiration"}),t[26]=e,t[27]=T):T=t[27];let j;t[28]!==T?(j={key:"md.expiration_ts_epoch_s",label:T,sortable:!0,cellRender:Cft},t[28]=T,t[29]=j):j=t[29];let R;t[30]!==e?(R=e.formatMessage({id:"nrf.status.nf_instance_id"}),t[30]=e,t[31]=R):R=t[31];let D;t[32]!==R?(D={key:"nf_profile.nfInstanceId",label:R,sortable:!0,cellRender:wft},t[32]=R,t[33]=D):D=t[33];let O;t[34]!==k||t[35]!==P||t[36]!==j||t[37]!==D||t[38]!==y||t[39]!==w?(O=[y,w,k,P,j,D],t[34]=k,t[35]=P,t[36]=j,t[37]=D,t[38]=y,t[39]=w,t[40]=O):O=t[40];const N=O;let F;t[41]!==r||t[42]!==e||t[43]!==s?(F=q=>[{label:e.formatMessage({id:"nrf.status.actions.edit"}),icon:a.jsx(ge.Edit,{}),disabled:Sft,onClick:X=>{s($.urls.nrfStaticProfilesDetails.replace(":id",X.nf_profile.nfInstanceId))}},{label:e.formatMessage({id:"nrf.status.actions.details"}),icon:a.jsx(ge.Details,{}),onClick:X=>{const Q=q.find(Y=>Y.nf_profile.nfInstanceId===X.nf_profile.nfInstanceId);r({fullScreen:!0,title:`${Q?Q?.nf_profile?.nfType+" - ":""}${e.formatMessage({id:"nrf.status.profile_details"})}`,content:()=>a.jsx(bft,{nfInstanceId:X.nf_profile.nfInstanceId})})}}],t[41]=r,t[42]=e,t[43]=s,t[44]=F):F=t[44];const U=F;let z;t[45]===Symbol.for("react.memo_cache_sentinel")?(z=a.jsx(Dt,{variant:"rectangular",height:"100%"}),t[45]=z):z=t[45];let H;t[46]===Symbol.for("react.memo_cache_sentinel")?(H=a.jsx(Tr,{}),t[46]=H):H=t[46];let W;t[47]!==N||t[48]!==_||t[49]!==i.state||t[50]!==U||t[51]!==f||t[52]!==m?(W=q=>a.jsx(Br,{autoScale:!0,loading:i.state!=="idle",columns:N,rowKey:"nf_profile.nfInstanceId",page:0,hidePagination:!0,data:f(q,m),rowsCount:q?.length,rowsPerPage:q?.length,orderBy:m.column,onSort:_,order:m.direction,rowActions:U(q)}),t[47]=N,t[48]=_,t[49]=i.state,t[50]=U,t[51]=f,t[52]=m,t[53]=W):W=t[53];let K;return t[54]!==n.profiles||t[55]!==W?(K=a.jsx(I.Suspense,{fallback:z,children:a.jsx(Qt,{resolve:n.profiles,errorElement:H,children:W})}),t[54]=n.profiles,t[55]=W,t[56]=K):K=t[56],K}function Sft(t){return!t.md.static||!Ue(ie.management)}function wft(t){return a.jsx(Ap,{text:t.nf_profile.nfInstanceId})}function Cft(t){return t.md.static?a.jsx(a.Fragment,{}):a.jsx(_e,{type:"body2",children:ai.unix(t.md.expiration_ts_epoch_s).fromNow()})}function Aft(t){return a.jsx(_e,{type:"body2",children:ai.unix(t.md.registration_ts_epoch_s).fromNow()})}function kft(t){let e;e:switch(t.nf_profile.nfStatus){case b_.REGISTERED:{e="success";break e}case b_.SUSPENDED:{e="error";break e}default:e="warning"}return a.jsx(ms,{color:e,size:"small",id:t.nf_profile.nfStatus,label:t.nf_profile.nfStatus})}function Mft(t){return a.jsx(ms,{size:"small",id:t.nf_profile.nfType,label:t.nf_profile.nfType})}function Pft(t){switch(t){case"nf_profile.nfType":case"md.static":case"nf_profile.nfStatus":case"nf_profile.nfInstanceId":return"string";case"md.registration_ts_epoch_s":case"md.expiration_ts_epoch_s":return"number";default:return"string"}}async function jft({request:t}){const e=await t.json(),r=await Zze(e);return xt(r)?Ft(r):(Nt(),rt($.urls.nrfStaticProfiles))}async function Tft({request:t}){const e=await t.json(),r=await Xze(e);return xt(r)?Ft(r):(Nt(),rt($.urls.nrfStaticProfiles))}async function Eft({request:t}){const{id:e}=await t.json(),r=await Jze(e);if(xt(r))Ar();else if(Nt(),location.href!==$.urls.nrfStaticProfiles)return rt($.urls.nrfStaticProfiles);return Ft(r)}async function Rft(t){return Wt({loaderArgs:t,deferred:!0,data:{profiles:Vae()}})}async function Ift(t){return Wt({loaderArgs:t,deferred:!0,data:{staticProfiles:Hae()}})}async function Dft(t){if(t==="new")return null;const r=(await Hae()).find(n=>n.nfInstanceId===t);if(!r)throw Li({type:mn.NOT_FOUND});return r}async function $ft(t){const{id:e}=t.params;if(!e)throw Li({type:mn.NOT_FOUND});return Wt({loaderArgs:t,deferred:!0,data:{staticProfile:Dft(e)}})}const Oft={path:"nrf",handle:vr({labelIntl:"route.nrf",icon:a.jsx(ge.NRF,{})}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{element:a.jsx(Or,{fullHeight:!0}),children:[{path:"status",loader:Rft,handle:vr({labelIntl:"route.nrf.status",to:$.urls.nrfStatus}),element:a.jsx(xft,{})},io(ue.NRF)]},{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.NRF,{dbCluster:!0})]},{path:"static-profiles",handle:vr({labelIntl:"route.nrf.static-profiles",to:$.urls.nrfStaticProfiles}),children:[{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,loader:Ift,element:a.jsx(uft,{})}]},{element:a.jsx(Or,{center:!0}),children:[{path:":id",loader:$ft,handle:t=>{const e=t.params.id;return vr({labelIntl:e==="new"?"route.nrf.static-profiles.new":"route.nrf.static-profiles.id",...e!=="new"&&{captionIntl:"route.nrf.static-profiles.id.caption",captionIntlParams:{id:e}},to:`${$.urls.nrfStaticProfiles}/${e}`})},element:a.jsx(lft,{}),children:[{path:"create",action:jft,loader:()=>rt("..")},{path:"update",action:Tft,loader:()=>rt("..")},{path:"delete",action:Eft,loader:()=>rt("..")}]}]}]}]},Lft=Pr(),Nft={path:"pcf",handle:vr({labelIntl:"route.pcf",icon:a.jsx(ge.PCF,{})}),children:[{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.PCF)]},{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{path:"status",handle:vr({labelIntl:"route.pcf.status",to:"/pcf/status"}),element:a.jsx(Ao,{tabs:[{url:"diameter",label:Lft.formatMessage({id:"route.diameter"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"diameter",replace:!0})},qp({path:"diameter",nf:ue.PCF})]},io(ue.PCF)]}]};function Fft(){const t=he.c(7),e=Ye(),r=zn();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Dt,{variant:"rounded",height:"1200px"}),t[0]=n):n=t[0];let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(Tr,{}),t[1]=s):s=t[1];let i;t[2]!==e?(i=l=>{const{authConfiguration:c}=l;return a.jsx(Ao,{tabs:[{url:"strategies",label:e.formatMessage({id:"route.auth.strategies"})},...c?[{url:"auth-config",label:e.formatMessage({id:"route.auth.auth_config"})}]:[],{url:"terms",label:e.formatMessage({id:"route.auth.terms"})}]})},t[2]=e,t[3]=i):i=t[3];let o;return t[4]!==r.config||t[5]!==i?(o=a.jsx(I.Suspense,{fallback:n,children:a.jsx(Qt,{resolve:r.config,errorElement:s,children:i})}),t[4]=r.config,t[5]=i,t[6]=o):o=t[6],o}const ln=Pr();function Uft(t){return{access_token_ttl_s:t.access_token_ttl_s,refresh_token_ttl_s:t.refresh_token_ttl_s,login_throttle_period_s:t.login_throttle_period_s,audit_retention_s:t.audit_retention_s,ui_inactivity_s:t.isUiInactivityTimerInSeconds?t.ui_inactivity_s:null,login_max_attempts:t.isLoginMaxAttempts?t.login_max_attempts:null,password_rule_max_account_name_characters:t.password_rule_max_account_name_characters?t.password_rule_max_account_name_characters:null,password_rule_min_length:t.password_rule_min_length,password_rule_min_lowercase_characters:t.password_rule_min_lowercase_characters?t.password_rule_min_lowercase_characters:null,password_rule_min_number_characters:t.password_rule_min_number_characters?t.password_rule_min_number_characters:null,password_rule_min_special_characters:t.password_rule_min_special_characters?t.password_rule_min_special_characters:null,password_rule_min_uppercase_characters:t.password_rule_min_uppercase_characters?t.password_rule_min_uppercase_characters:null,password_rule_special_characters:t.password_rule_min_special_characters&&t.password_rule_special_characters?t.password_rule_special_characters:null}}function Bft(t){return{...t,isUiInactivityTimerInSeconds:t.ui_inactivity_s!==null,isLoginMaxAttempts:t.login_max_attempts!==null}}const zft=dr().shape({access_token_ttl_s:kn().typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.access_token_ttl_s.validation.type"})).min(60,ln.formatMessage({id:"authentication_strategies.auth_config.form.access_token_ttl_s.validation.min"})).required(ln.formatMessage({id:"authentication_strategies.auth_config.form.access_token_ttl_s.validation.required"})),refresh_token_ttl_s:kn().typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.type"})).min(120,ln.formatMessage({id:"authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.min"})).required(ln.formatMessage({id:"authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.required"})),ui_inactivity_s:kn().when("isUiInactivityTimerInSeconds",(t,e)=>t?e.required(ln.formatMessage({id:"authentication_strategies.auth_config.form.ui_inactivity_s.validation.required"})).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.ui_inactivity_s.validation.type"})).min(60,ln.formatMessage({id:"authentication_strategies.auth_config.form.ui_inactivity_s.validation.min"})):e.nullable()),audit_retention_s:kn().typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.audit_retention_s.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.audit_retention_s.validation.min"})).required(ln.formatMessage({id:"authentication_strategies.auth_config.form.audit_retention_s.validation.required"})),login_max_attempts:kn().when("isLoginMaxAttempts",(t,e)=>t?e.required(ln.formatMessage({id:"authentication_strategies.auth_config.form.login_max_attempts.validation.required"})).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.login_max_attempts.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.login_max_attempts.validation.min"})):e.nullable()),login_throttle_period_s:kn().typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.login_throttle_period_s.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.login_throttle_period_s.validation.min"})).required(ln.formatMessage({id:"authentication_strategies.auth_config.form.login_throttle_period_s.validation.required"})),password_rule_max_account_name_characters:kn().integer(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.integer"})).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.min"})).nullable(),password_rule_min_length:kn().integer(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_length.validation.integer"})).required(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_length.validation.required"})).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_length.validation.type"})).min(12,ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_length.validation.min"})),password_rule_min_lowercase_characters:kn().integer(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.integer"})).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.min"})).nullable(),password_rule_min_number_characters:kn().integer(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.integer"})).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.min"})).nullable(),password_rule_min_special_characters:kn().integer(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.integer"})).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.min"})).nullable(),password_rule_min_uppercase_characters:kn().integer(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.integer"})).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.min"})).nullable(),password_rule_special_characters:We().matches(new RegExp($.regex.specialCharacters)).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_special_characters.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_special_characters.validation.min"})).nullable().when("password_rule_min_special_characters",(t,e)=>{if(t)return e.required(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.required"}))})}),qft=dr().shape({address:We().matches(new RegExp($.regex.ipv4v6Addr)).required(ln.formatMessage({id:"authentication_strategies.local.address.required"})),dev:We(),port:kn().required(ln.formatMessage({id:"authentication_strategies.local.port.required"})).min(0,ln.formatMessage({id:"authentication_strategies.local.port.min"})).max(65535,ln.formatMessage({id:"authentication_strategies.local.port.max"}))});function Vft(t){return{address:t.address,...t.dev&&{dev:t.dev},port:Number(t.port)}}function Hft(){const t=he.c(12),e=Ye(),{authConfiguration:r}=Np(),{submit:n,data:s,state:i}=gr();let o;t[0]!==n?(o=f=>{n(Uft(f),{method:"POST",encType:"application/json",action:$.urls.platformAuthenticationAuthConfigUpdate_Action})},t[0]=n,t[1]=o):o=t[1];const l=o;let c;t[2]!==r?(c=Bft(r),t[2]=r,t[3]=c):c=t[3];let u;t[4]!==s||t[5]!==e||t[6]!==i?(u=f=>{const{dirty:p,isValid:m,values:h}=f;return a.jsx(dn,{canWrite:Ue([[ie.management,ie.configuration]]),children:a.jsxs(te,{spacing:2,children:[a.jsx(pr,{title:e.formatMessage({id:"authentication_strategies.auth_config.form.password_rules"}),elevation:2,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"password_rule_min_length",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_length"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,fullWidth:!0})}}),a.jsx(Ke,{name:"password_rule_min_lowercase_characters",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_lowercase_characters"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,fullWidth:!0})}}),a.jsx(Ke,{name:"password_rule_min_uppercase_characters",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_uppercase_characters"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,fullWidth:!0})}}),a.jsx(Ke,{name:"password_rule_min_number_characters",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_number_characters"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,fullWidth:!0})}}),a.jsx(Ke,{name:"password_rule_min_special_characters",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_special_characters"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,fullWidth:!0})}}),a.jsx(Ke,{name:"password_rule_special_characters",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_special_characters"}),size:"small",helperText:y.error,disabled:!h.password_rule_min_special_characters||i!=="idle",error:!!y.error,fullWidth:!0})}}),a.jsx(Ke,{name:"password_rule_max_account_name_characters",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_max_account_name_characters"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,fullWidth:!0})}})]})})}),a.jsx(pr,{title:e.formatMessage({id:"authentication_strategies.auth_config.form.session_timers"}),elevation:2,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{direction:"row",justify:"stretch",align:"center",spacing:2,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"access_token_ttl_s",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.access_token_ttl_s"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,type:"number",fullWidth:!0,min:60})}}),a.jsx(Mn,{arrow:!0,title:e.formatMessage({id:"authentication_strategies.auth_config.tooltip.access_token_ttl_s"}),children:a.jsx("span",{children:a.jsx(te,{direction:"row",nowrap:!0,align:"center",justify:"center",children:a.jsx(ge.QuestionMark,{size:24})})})})]}),a.jsxs(te,{direction:"row",justify:"stretch",align:"center",spacing:2,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"refresh_token_ttl_s",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.refresh_token_ttl_s"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,type:"number",fullWidth:!0,min:120})}}),a.jsx(Mn,{arrow:!0,title:e.formatMessage({id:"authentication_strategies.auth_config.tooltip.refresh_token_ttl_s"}),children:a.jsx("span",{children:a.jsx(te,{direction:"row",nowrap:!0,align:"center",justify:"center",children:a.jsx(ge.QuestionMark,{size:24})})})})]}),a.jsxs(te,{direction:"row",justify:"stretch",align:"center",spacing:2,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"audit_retention_s",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.audit_retention_s"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,type:"number",fullWidth:!0,min:1})}}),a.jsx(Mn,{arrow:!0,title:e.formatMessage({id:"authentication_strategies.auth_config.tooltip.audit_retention_s"}),children:a.jsx("span",{children:a.jsx(te,{direction:"row",nowrap:!0,align:"center",justify:"center",children:a.jsx(ge.QuestionMark,{size:24})})})})]}),a.jsx(Ke,{name:"isUiInactivityTimerInSeconds",children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:g.value,size:"medium",onChange:()=>{b(g.name,!g.value),g.value||b("ui_inactivity_s","")}}),a.jsx(_e,{color:g.value?"primary":"",children:e.formatMessage({id:"authentication_strategies.auth_config.form.ui_inactivity_s.seconds"})}),a.jsx(Mn,{arrow:!0,title:e.formatMessage({id:"authentication_strategies.auth_config.tooltip.ui_inactivity_s"}),children:a.jsx("span",{children:a.jsx(te,{direction:"row",nowrap:!0,align:"center",justify:"center",children:a.jsx(ge.QuestionMark,{size:18})})})})]})}}),!!h.isUiInactivityTimerInSeconds&&a.jsx(Ke,{name:"ui_inactivity_s",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.ui_inactivity_s"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,type:"number",fullWidth:!0,min:60})}}),a.jsx(Ke,{name:"isLoginMaxAttempts",children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:g.value,size:"small",onChange:()=>{b(g.name,!g.value),g.value||b("login_max_attempts","")}}),a.jsx(_e,{type:"body2",children:e.formatMessage({id:"authentication_strategies.auth_config.form.login_max_attempts"})}),a.jsx(Mn,{arrow:!0,title:e.formatMessage({id:"authentication_strategies.auth_config.tooltip.login_max_attempts"}),children:a.jsx("span",{children:a.jsx(te,{direction:"row",nowrap:!0,align:"center",justify:"center",children:a.jsx(ge.QuestionMark,{size:18})})})})]})}}),!!h.isLoginMaxAttempts&&a.jsx(Ke,{name:"login_max_attempts",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.login_max_attempts"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,type:"number",fullWidth:!0,min:1})}}),!!h.isLoginMaxAttempts&&a.jsx(Ke,{name:"login_throttle_period_s",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.login_throttle_period_s"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,type:"number",fullWidth:!0,min:1})}}),a.jsx(Xr,{data:s})]})})}),a.jsx(Ze,{type:"submit",text:e.formatMessage({id:"authentication_strategies.form.buttons.save"}),disabled:i!=="idle"||!Ue([[ie.management,ie.configuration]])||!p||!m,loading:i!=="idle",sx:{alignSelf:"flex-start"}})]})})},t[4]=s,t[5]=e,t[6]=i,t[7]=u):u=t[7];let d;return t[8]!==l||t[9]!==c||t[10]!==u?(d=a.jsx(pr,{children:a.jsx(Kt,{children:a.jsx(Wr,{initialValues:c,enableReinitialize:!0,validationSchema:zft,onSubmit:l,children:u})})}),t[8]=l,t[9]=c,t[10]=u,t[11]=d):d=t[11],d}const Gft=Pr(),Wft=dr().shape({backends:yr().test("backends",Gft.formatMessage({id:"authentication_strategies.form.errors.backends"}),t=>t?t?.includes(_i.local):!1)}),nx=t=>{const e=he.c(11),{fieldName:r,fieldLabel:n,dense:s,basePermissions:i,disabled:o,modalElevation:l}=t,c=s===void 0?!0:s,u=As(),d=Ye();let f;e[0]!==i||e[1]!==c||e[2]!==o||e[3]!==n||e[4]!==d||e[5]!==l||e[6]!==u?(f=m=>{const{field:h,form:_}=m,{setFieldValue:g}=_,y=(b,x)=>{g(h.name,{...h.value,[b]:x})};return a.jsx(pr,{title:n??d.formatMessage({id:"user_permissions.title"}),elevation:2,dense:c,modalElevation:l,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:3,children:[!!i&&a.jsx(Lr,{message:d.formatMessage({id:"user_permissions.permissions_may_be_overridden"}),severity:"info"}),a.jsx(te,{direction:"column",spacing:2,children:E4e.map(b=>a.jsxs(te,{direction:"row",justify:"space-between",align:"center",children:[a.jsxs(te,{direction:"row",align:"center",spacing:1,children:[a.jsxs(lk,{color:"primary",onChange:x=>y(b,x),exclusive:!0,value:h.value?.[b],children:[a.jsx(kh,{value:op.ro,disabled:o,sx:{...i?.[b]==="ro"&&{backgroundColor:u.palette.action.selected}},children:op.ro}),a.jsx(kh,{value:op.rw,disabled:o,sx:{...i?.[b]==="rw"&&{backgroundColor:u.palette.action.selected}},children:op.rw})]}),a.jsx(_e,{children:b})]}),!!i&&a.jsxs(a.Fragment,{children:[!!h.value?.[b]&&a.jsx(ms,{label:d.formatMessage({id:"user_permissions.overridden"}),color:"primary",variant:"outlined"}),!!i[b]&&!h.value?.[b]&&a.jsx(ms,{label:d.formatMessage({id:"user_permissions.from_roles"}),variant:"outlined"})]})]},b))})]})})})},e[0]=i,e[1]=c,e[2]=o,e[3]=n,e[4]=d,e[5]=l,e[6]=u,e[7]=f):f=e[7];let p;return e[8]!==r||e[9]!==f?(p=a.jsx(Ke,{name:r,children:f}),e[8]=r,e[9]=f,e[10]=p):p=e[10],p},Fue=t=>{const e=he.c(7),{rolesList:r,rolesMappings:n,disabled:s}=t,i=Ye(),o=Yft,l=Kft;let c;e[0]!==r?(c=r.map(Qft),e[0]=r,e[1]=c):c=e[1];const u=c;let d;return e[2]!==s||e[3]!==i||e[4]!==u||e[5]!==n?(d=a.jsx(oi,{name:"roles_mappings",children:f=>{const{remove:p,push:m,form:h}=f,{errors:_}=h;return a.jsx(pr,{title:i.formatMessage({id:"authentication_strategies.roles_mappings"}),headerActionsComponent:a.jsx(Ze,{text:i.formatMessage({id:"common.add"}),type:"button",startIcon:a.jsx(ge.Add,{}),size:"small",onClick:()=>o(m),disabled:s||!Ue(ie.management)}),elevation:2,children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsxs(te,{direction:"column",spacing:1,nowrap:!0,fullWidth:!0,children:[n&&!!n.length&&n.map((g,y)=>{const{application_role:b,external_role:x}=g;return a.jsxs(te,{direction:"row",align:"flex-start",nowrap:!0,justify:"space-between",children:[a.jsxs(te,{direction:"row",nowrap:!0,fullWidth:!0,children:[a.jsx(Ke,{name:`roles_mappings.${y}.external_role`,children:w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,value:C.value||x,required:!0,label:i.formatMessage({id:"authentication_strategies.roles_mappings.external_role"}),size:"small",error:!!k.error,helperText:k.error,fullWidth:!0,disabled:s||!Ue(ie.management)})}}),a.jsx(Ke,{name:`roles_mappings.${y}.application_role`,children:w=>{const{field:C,meta:k,form:A}=w,{setFieldValue:P}=A;return a.jsx(rn,{name:C.name,label:i.formatMessage({id:"authentication_strategies.roles_mappings.application_role"}),multiple:!1,size:"small",value:C.value||b,freeSolo:!1,options:u,onChange:(T,j)=>{P(C.name,j||"")},fullWidth:!0,error:!!k.error,helperText:k.error,required:!0,disabled:s||!Ue(ie.management)})}})]}),a.jsx(Mn,{title:i.formatMessage({id:"common.remove"}),children:a.jsx(Zr,{onClick:()=>l(p,y),size:"small",disabled:s||!Ue(ie.management),sx:{mt:"10px"},children:a.jsx(ge.Trash,{})})})]},y)}),!!_.roles_mappings&&typeof _.roles_mappings=="string"&&a.jsx(Lr,{severity:"error",message:_.roles_mappings,sx:{mt:1}}),!n?.length&&a.jsx(Lr,{severity:"info",message:i.formatMessage({id:"common.no-data"}),sx:{backgroundColor:"divider"}})]})})})}}),e[2]=s,e[3]=i,e[4]=u,e[5]=n,e[6]=d):d=e[6],d};function Yft(t){t({application_role:"",external_role:""})}function Kft(t,e){t(e)}function Qft(t){return t.id}const Sc=Pr(),XI={base_dn:"",bind_dn:"",bind_password:"",username_attribute:"",transport_remote_addresses:[],transport_remote_port:"",transport_ssl:!1,transport_ssl_verify:!1,transport_timeout_s:"",roles_mappings:[],permission_template:{backup:null,configuration:null,management:null,monitoring:null,provisioning:null,transport_keys:null,operator_codes:null,lawful_interception:null,milenage_constants:null},isPermissionTemplateActive:!1};function Zft(t){return{...!!t.base_dn&&{base_dn:t.base_dn},...!!t.bind_dn&&{bind_dn:t.bind_dn},...!!t.bind_password&&{bind_password:t.bind_password},...!!t.username_attribute&&{username_attribute:t.username_attribute},...!!t.permission_template&&t.isPermissionTemplateActive&&{permission_template:t.permission_template},...!!t.roles_mappings&&!t.isPermissionTemplateActive&&{roles_mappings:t.roles_mappings.reduce((e,r)=>({...e,[r.external_role]:r.application_role}),{})},transport:{remote_addresses:t.transport_remote_addresses,remote_port:t.transport_remote_port,ssl:t.transport_ssl,ssl_verify:t.transport_ssl_verify,timeout_s:t.transport_timeout_s}}}function Xft(t){return!t||Kae(t)?XI:{...XI,base_dn:t.base_dn??"",bind_dn:t.bind_dn??"",bind_password:t.bind_password??"",username_attribute:t.username_attribute??"",...!!t.transport&&{transport_remote_addresses:t.transport.remote_addresses,transport_remote_port:t.transport.remote_port,transport_ssl:t.transport.ssl,transport_ssl_verify:t.transport.ssl_verify??!1,transport_timeout_s:t.transport.timeout_s},...!!t.roles_mappings&&{roles_mappings:Object.entries(t.roles_mappings).map(([e,r])=>({external_role:e,application_role:r}))},...!t.roles_mappings&&{isPermissionTemplateActive:!0},...!!t.permission_template&&{permission_template:{...XI.permission_template,...t.permission_template}}}}const Jft=dr().shape({base_dn:We(),bind_dn:We().when("bind_password",(t,e)=>t?e.required(Sc.formatMessage({id:"authentication_strategies.ldap.form_errors.bind_dn_required_if_bind_password"})):e),bind_password:We().when("bind_dn",(t,e)=>t?e.required(Sc.formatMessage({id:"authentication_strategies.ldap.form_errors.bind_password_required_if_bind_dn"})):e),username_attribute:We(),permission_template:dr().shape({backup:We().nullable(),configuration:We().nullable(),management:We().nullable(),monitoring:We().nullable(),provisioning:We().nullable(),transport_keys:We().nullable(),operator_codes:We().nullable(),lawful_interception:We().nullable()}),isPermissionTemplateActive:li(),roles_mappings:yr().when("isPermissionTemplateActive",(t,e)=>t?e:yr().of(dr().shape({external_role:We().required(Sc.formatMessage({id:"authentication_strategies.external_role.required"})),application_role:We().required(Sc.formatMessage({id:"authentication_strategies.application_role.required"}))})).test({name:"unique-external-role",message:Sc.formatMessage({id:"authentication_strategies.unique_external_role"}),test:r=>r?.length===0||r&&r.length===[...new Set(r.map(n=>`${n.external_role}`))].length})),transport_remote_addresses:yr().of(We().matches(new RegExp($.regex.ipv4v6Addr))).min(1,Sc.formatMessage({id:"authentication_strategies.ldap.form_errors.transport.remote_addresses"})).required(),transport_remote_port:kn().min(0,Sc.formatMessage({id:"authentication_strategies.ldap.form_errors.transport.remote_port.min"})).max(65535,Sc.formatMessage({id:"authentication_strategies.ldap.form_errors.transport.remote_port.max"})).required(Sc.formatMessage({id:"authentication_strategies.ldap.form_errors.transport.remote_port"})),transport_timeout_s:kn().min(1,Sc.formatMessage({id:"authentication_strategies.ldap.form_errors.transport.timeout_s.min"})).required(Sc.formatMessage({id:"authentication_strategies.ldap.form_errors.transport.timeout_s"})),transport_ssl_verify:li(),transport_ssl:li().required()},[["bind_dn","bind_password"]]);function Uue(t){const e=he.c(22),{backend:r,config:n}=t,{submit:s,state:i,data:o}=gr(),{submit:l,state:c,data:u}=gr(),d=Ye(),f=n?.address??"",p=n?.port??"",m=n?.dev??"";let h;e[0]!==f||e[1]!==p||e[2]!==m?(h={address:f,port:p,dev:m},e[0]=f,e[1]=p,e[2]=m,e[3]=h):h=e[3];const _=h;let g;e[4]!==r||e[5]!==s?(g=k=>{s(Vft(k),{method:"POST",encType:"application/json",action:`${r}-local-config-update`})},e[4]=r,e[5]=s,e[6]=g):g=e[6];const y=g;let b;e[7]!==r||e[8]!==l?(b=()=>{l(null,{method:"DELETE",encType:"application/json",action:`${r}-local-config-reset`})},e[7]=r,e[8]=l,e[9]=b):b=e[9];const x=b;let w;e[10]!==r||e[11]!==u||e[12]!==o||e[13]!==x||e[14]!==d||e[15]!==c||e[16]!==i?(w=()=>a.jsx(dn,{canWrite:Ue(ie.management),children:a.jsx(pr,{title:d.formatMessage({id:"authentication_strategies.local.title"},r===_i.radius?{backend:"Radius"}:{backend:"Ldap"}),elevation:3,sx:{m:2},children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{children:[a.jsx(Ke,{name:"address",children:k=>{const{field:A,meta:P}=k;return a.jsx(dt,{...A,label:d.formatMessage({id:"authentication_strategies.local.address"}),size:"small",helperText:P.error,error:!!P.error,disabled:i!=="idle"||c!=="idle",required:!0})}}),a.jsx(Ke,{name:"dev",children:k=>{const{field:A,meta:P}=k;return a.jsx(dt,{...A,label:d.formatMessage({id:"authentication_strategies.local.dev"}),size:"small",helperText:P.error,error:!!P.error,disabled:i!=="idle"||c!=="idle"})}}),a.jsx(Ke,{name:"port",children:k=>{const{field:A,meta:P}=k;return a.jsx(dt,{...A,label:d.formatMessage({id:"authentication_strategies.local.port"}),size:"small",type:"number",helperText:P.error,error:!!P.error,disabled:i!=="idle"||c!=="idle",required:!0})}})]}),a.jsx(Xr,{data:o}),a.jsx(Xr,{data:u}),a.jsxs(te,{direction:"row",children:[a.jsx(Ze,{type:"submit",text:d.formatMessage({id:"authentication_strategies.local.save"}),disabled:i!=="idle"||c!=="idle"}),a.jsx(Ze,{text:d.formatMessage({id:"authentication_strategies.local.reset"}),disabled:i!=="idle"||c!=="idle",variant:"outlined",onClick:x})]})]})})})}),e[10]=r,e[11]=u,e[12]=o,e[13]=x,e[14]=d,e[15]=c,e[16]=i,e[17]=w):w=e[17];let C;return e[18]!==y||e[19]!==_||e[20]!==w?(C=a.jsx(Wr,{initialValues:_,onSubmit:y,enableReinitialize:!0,validationSchema:qft,children:w}),e[18]=y,e[19]=_,e[20]=w,e[21]=C):C=e[21],C}const ept=()=>{const t=he.c(16),e=Ye();let r;t[0]!==e?(r=a.jsx(Ke,{name:"transport_ssl",children:c=>{const{field:u,form:d}=c,{isSubmitting:f,setFieldValue:p}=d;return a.jsx(da,{onChange:(m,h)=>{p(u.name,h)},checked:u.value,label:e.formatMessage({id:"authentication_strategies.ldap.transport.form.ssl"}),disabled:f})}}),t[0]=e,t[1]=r):r=t[1];let n;t[2]!==e?(n=a.jsx(Ke,{name:"transport_ssl_verify",children:c=>{const{field:u,form:d}=c,{isSubmitting:f,setFieldValue:p}=d;return a.jsx(da,{onChange:(m,h)=>{p(u.name,h)},checked:!!u.value,label:e.formatMessage({id:"authentication_strategies.ldap.transport.form.ssl_verify"}),disabled:f})}}),t[2]=e,t[3]=n):n=t[3];let s;t[4]!==e?(s=a.jsx(Ke,{name:"transport_remote_addresses",children:c=>{const{field:u,meta:d,form:f}=c,{setFieldValue:p}=f;return a.jsx(rn,{name:u.name,label:e.formatMessage({id:"authentication_strategies.ldap.transport.form.remote_addresses"}),value:u.value,multiple:!0,size:"small",freeSolo:!0,options:[""],onChange:(m,h)=>{p(u.name,h||"")},error:!!d.error,helperText:d.error,fullWidth:!0})}}),t[4]=e,t[5]=s):s=t[5];let i;t[6]!==e?(i=a.jsx(Ke,{name:"transport_remote_port",children:c=>{const{field:u,meta:d,form:f}=c,{isSubmitting:p}=f;return a.jsx(dt,{...u,label:e.formatMessage({id:"authentication_strategies.ldap.transport.form.remote_port"}),size:"small",helperText:d.error,error:!!d.error,disabled:p,type:"number",required:!0})}}),t[6]=e,t[7]=i):i=t[7];let o;t[8]!==e?(o=a.jsx(Ke,{name:"transport_timeout_s",children:c=>{const{field:u,meta:d,form:f}=c,{isSubmitting:p}=f;return a.jsx(dt,{...u,label:e.formatMessage({id:"authentication_strategies.ldap.transport.form.timeout_s"}),size:"small",helperText:d.error,error:!!d.error,disabled:p,type:"number",required:!0})}}),t[8]=e,t[9]=o):o=t[9];let l;return t[10]!==r||t[11]!==n||t[12]!==s||t[13]!==i||t[14]!==o?(l=a.jsxs(te,{spacing:2,children:[r,n,s,i,o]}),t[10]=r,t[11]=n,t[12]=s,t[13]=i,t[14]=o,t[15]=l):l=t[15],l},tpt=t=>{const e=he.c(26),{backendList:r,ldapConfig:n,rolesList:s,ldapLocalConfig:i}=t,o=Ye(),{data:l,state:c,submit:u}=gr();let d;e[0]!==r?(d=r.includes(_i.ldap),e[0]=r,e[1]=d):d=e[1];const f=d;let p;e[2]!==n?(p=Xft(n),e[2]=n,e[3]=p):p=e[3];const m=p;let h;e[4]!==u?(h=async k=>{u(Zft(k),{method:"POST",encType:"application/json",action:"ldap-config-update"})},e[4]=u,e[5]=h):h=e[5];const _=h;let g;e[6]!==o||e[7]!==f?(g=!f&&a.jsx(Lr,{severity:"warning",message:o.formatMessage({id:"authentication_strategies.ldap.not_active"})}),e[6]=o,e[7]=f,e[8]=g):g=e[8];let y;e[9]!==l||e[10]!==o||e[11]!==s||e[12]!==c?(y=k=>{const{values:A}=k;return a.jsx(pr,{title:o.formatMessage({id:"authentication_strategies.ldap.card.title"}),elevation:2,children:a.jsx(Kt,{children:a.jsx(dn,{canWrite:Ue(ie.management),children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"base_dn",children:P=>{const{field:T,meta:j}=P;return a.jsx(dt,{...T,label:o.formatMessage({id:"authentication_strategies.ldap.form.base_dn"}),size:"small",helperText:j.error,disabled:c!=="idle",error:!!j.error})}}),a.jsx(Ke,{name:"bind_dn",children:P=>{const{field:T,meta:j}=P;return a.jsx(dt,{...T,label:o.formatMessage({id:"authentication_strategies.ldap.form.bind_dn"}),size:"small",helperText:j.error,disabled:c!=="idle",error:!!j.error})}}),a.jsx(Ke,{name:"bind_password",children:P=>{const{field:T,meta:j}=P;return a.jsx(dt,{...T,label:o.formatMessage({id:"authentication_strategies.ldap.form.bind_password"}),size:"small",helperText:j.error,disabled:c!=="idle",error:!!j.error})}}),a.jsx(Ke,{name:"username_attribute",children:P=>{const{field:T,meta:j}=P;return a.jsx(dt,{...T,label:o.formatMessage({id:"authentication_strategies.ldap.form.username_attribute"}),size:"small",helperText:j.error,disabled:c!=="idle",error:!!j.error})}}),a.jsx(Ke,{name:"isPermissionTemplateActive",children:P=>{const{field:T,form:j}=P,{setFieldValue:R}=j;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(_e,{color:T.value?"":"primary",children:o.formatMessage({id:"authentication_strategies.roles_mappings"})}),a.jsx(ti,{checked:T.value,onChange:()=>{R(T.name,!T.value)}}),a.jsx(_e,{children:o.formatMessage({id:"authentication_strategies.permission_template"})})]})}}),A.isPermissionTemplateActive?a.jsx(nx,{fieldName:"permission_template",fieldLabel:o.formatMessage({id:"authentication_strategies.ldap.form.permission_template"}),disabled:c!=="idle"}):a.jsx(Fue,{rolesList:s,rolesMappings:A.roles_mappings,disabled:c!=="idle"}),a.jsx(pr,{title:o.formatMessage({id:"authentication_strategies.ldap.transport.title"}),elevation:3,children:a.jsx(Kt,{children:a.jsx(ept,{})})}),a.jsx(Xr,{data:l}),a.jsx(Ze,{type:"submit",text:o.formatMessage({id:"authentication_strategies.ldap.form.buttons.save"}),disabled:c!=="idle"||!Ue(ie.management),loading:c!=="idle",sx:{alignSelf:"flex-start"}})]})})})})},e[9]=l,e[10]=o,e[11]=s,e[12]=c,e[13]=y):y=e[13];let b;e[14]!==_||e[15]!==m||e[16]!==y?(b=a.jsx(Wr,{initialValues:m,onSubmit:_,enableReinitialize:!0,validationSchema:Jft,children:y}),e[14]=_,e[15]=m,e[16]=y,e[17]=b):b=e[17];let x;e[18]!==g||e[19]!==b?(x=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[g,b]})}),e[18]=g,e[19]=b,e[20]=x):x=e[20];let w;e[21]!==i?(w=a.jsx(Uue,{backend:_i.ldap,config:i}),e[21]=i,e[22]=w):w=e[22];let C;return e[23]!==x||e[24]!==w?(C=a.jsxs(te,{children:[x,w]}),e[23]=x,e[24]=w,e[25]=C):C=e[25],C},yw=Pr();function rpt(t){const{allow_unsafe_http:e,configuration_overrides:r,permission_template:n,roles_mappings:s,username_attribute:i,is_permission_template_active:o,client_id:l,client_secret:c,issuer:u}=t;return{client_id:l,client_secret:c,issuer:u,...e&&{allow_unsafe_http:e},...i&&{username_attribute:i},...!Ni.isEmpty(r)&&{username_attribute:i},...o&&!Ni.isEmpty(n)&&{permission_template:n},...!o&&s&&s.length&&{roles_mappings:s.reduce((d,{application_role:f,external_role:p})=>({...d,[p]:f}),{})},...r&&{configuration_overrides:JSON.parse(r)}}}function npt({permission_template:t,roles_mappings:e,configuration_overrides:r,...n}){return{...n,client_secret:"",is_permission_template_active:!Ni.isEmpty(t)&&!0,...t&&{permission_template:t},...e&&{roles_mappings:Object.entries(e).map(([s,i])=>({external_role:s,application_role:i}))},...r&&{configuration_overrides:JSON.stringify(r,null,2)}}}const spt=dr().shape({allow_unsafe_http:li(),client_id:We().required(),client_secret:We().required(),issuer:We().matches(new RegExp($.regex.url)),username_attribute:We(),provider_label:We(),is_permission_template_active:li(),permission_template:dr().when("is_permission_template_active",{is:!0,then:t=>t.shape({backup:We().nullable(),configuration:We().nullable(),management:We().nullable(),monitoring:We().nullable(),provisioning:We().nullable(),transport_keys:We().nullable(),operator_codes:We().nullable(),lawful_interception:We().nullable()})}),roles_mappings:yr().when("is_permission_template_active",{is:!1,then:t=>t.of(dr().shape({external_role:We().required(yw.formatMessage({id:"authentication_strategies.external_role.required"})),application_role:We().required(yw.formatMessage({id:"authentication_strategies.application_role.required"}))}))}).test({name:"unique-external-role",message:yw.formatMessage({id:"authentication_strategies.unique_external_role"}),test:t=>t?t.length===0||t.length===[...new Set(t.map(e=>`${e.external_role}`))].length:!0}),configuration_overrides:We().test("valid-json-configuration-overrides",yw.formatMessage({id:"authentication_strategies.invalid_configuration_overrides"}),t=>{if(!t)return!0;try{return JSON.parse(t),!0}catch{return!1}})}),ipt=t=>{const e=he.c(21),{backendList:r,openIdConfig:n,rolesList:s}=t,i=Ye(),{data:o,state:l,submit:c}=gr();let u;e[0]!==r?(u=r.includes(_i.openid),e[0]=r,e[1]=u):u=e[1];const d=u;let f;e[2]!==n?(f=npt(n),e[2]=n,e[3]=f):f=e[3];const p=f;let m;e[4]!==c?(m=x=>{c(rpt(x),{method:"POST",encType:"application/json",action:"openid-config-update"})},e[4]=c,e[5]=m):m=e[5];const h=m;let _;e[6]!==i||e[7]!==d?(_=!d&&a.jsx(Lr,{severity:"warning",message:i.formatMessage({id:"authentication_strategies.openid.not_active"})}),e[6]=i,e[7]=d,e[8]=_):_=e[8];let g;e[9]!==o||e[10]!==i||e[11]!==s||e[12]!==l?(g=x=>{const{values:w}=x;return a.jsx(Kd,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"allow_unsafe_http",children:C=>{const{field:k,form:A}=C,{setFieldValue:P}=A;return a.jsx(da,{onChange:(T,j)=>{P(k.name,j)},checked:k.value,label:i.formatMessage({id:"authentication_strategies.openid.allow_unsafe_http"}),disabled:l!=="idle"||!Ue(ie.management)})}}),a.jsx(Ke,{name:"client_id",children:C=>{const{field:k,meta:A}=C;return a.jsx(dt,{...k,label:i.formatMessage({id:"authentication_strategies.openid.client_id"}),size:"small",helperText:A.error,disabled:l!=="idle"||!Ue(ie.management),error:!!A.error,required:!0})}}),a.jsx(Ke,{name:"client_secret",children:C=>{const{field:k,meta:A}=C;return a.jsx(dt,{...k,label:i.formatMessage({id:"authentication_strategies.openid.client_secret"}),size:"small",helperText:A.error,disabled:l!=="idle"||!Ue(ie.management),error:!!A.error,required:!0,showPasswordVisibility:!0,type:"password",autoComplete:"new-password"})}}),a.jsx(Ke,{name:"issuer",children:C=>{const{field:k,meta:A}=C;return a.jsx(dt,{...k,label:i.formatMessage({id:"authentication_strategies.openid.issuer"}),size:"small",helperText:A.error,disabled:l!=="idle"||!Ue(ie.management),error:!!A.error,required:!0})}}),a.jsx(Ke,{name:"username_attribute",children:C=>{const{field:k,meta:A}=C;return a.jsx(dt,{...k,label:i.formatMessage({id:"authentication_strategies.openid.username_attribute"}),size:"small",helperText:A.error,disabled:l!=="idle"||!Ue(ie.management),error:!!A.error,autoComplete:"new-text"})}}),a.jsx(xr,{elevation:2,title:i.formatMessage({id:"authentication_strategies.openid.configuration_overrides"}),content:a.jsx(Ke,{name:"configuration_overrides",children:opt})}),a.jsx(Ke,{name:"is_permission_template_active",children:C=>{const{field:k,form:A}=C,{setFieldValue:P}=A;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(_e,{color:k.value?"":"primary",children:i.formatMessage({id:"authentication_strategies.roles_mappings"})}),a.jsx(ti,{checked:k.value,onChange:()=>{P(k.name,!k.value)}}),a.jsx(_e,{children:i.formatMessage({id:"authentication_strategies.permission_template"})})]})}}),w.is_permission_template_active?a.jsx(nx,{fieldName:"permission_template",fieldLabel:i.formatMessage({id:"authentication_strategies.permission_template"}),disabled:l!=="idle"}):a.jsx(Fue,{rolesList:s,rolesMappings:w.roles_mappings,disabled:l!=="idle"}),a.jsx(Xr,{data:o}),a.jsx(Ze,{type:"submit",text:i.formatMessage({id:"common.save"}),disabled:l!=="idle"||!Ue(ie.management),loading:l!=="idle",sx:{alignSelf:"flex-start"}})]})})},e[9]=o,e[10]=i,e[11]=s,e[12]=l,e[13]=g):g=e[13];let y;e[14]!==h||e[15]!==p||e[16]!==g?(y=a.jsx(Wr,{initialValues:p,onSubmit:h,validationSchema:spt,children:g}),e[14]=h,e[15]=p,e[16]=g,e[17]=y):y=e[17];let b;return e[18]!==_||e[19]!==y?(b=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[_,y]})}),e[18]=_,e[19]=y,e[20]=b):b=e[20],b};function opt(t){const{field:e,meta:r,form:n}=t,{setFieldValue:s}=n;return a.jsx(Fv,{...e,onChange:i=>{s(e.name,i)},value:e.value?e.value:"",language:"json",error:r.error,sx:{height:"300px"}})}const _u=Pr(),JI={secret:"",transport_remote_addresses:[],transport_remote_port:"",transport_timeout_s:"",isPermissionTemplateActive:!1,roles:[],permission_template:{backup:null,configuration:null,management:null,monitoring:null,provisioning:null,transport_keys:null,operator_codes:null,lawful_interception:null,milenage_constants:null}};function apt(t){return{secret:t.secret,...t.roles&&!t.isPermissionTemplateActive&&{roles:t.roles},...t.permission_template&&t.isPermissionTemplateActive&&{permission_template:Yae(t.permission_template)},transport:{remote_addresses:t.transport_remote_addresses,remote_port:t.transport_remote_port,timeout_s:t.transport_timeout_s}}}function lpt(t){return!t||Kae(t)?JI:{...JI,secret:t.secret,...!!t.transport&&{transport_remote_addresses:t.transport.remote_addresses,transport_remote_port:t.transport.remote_port,transport_timeout_s:t.transport.timeout_s},...!!t.roles&&{roles:t.roles},...!t.roles?.length&&{isPermissionTemplateActive:!0},...!!t.permission_template&&{permission_template:{...JI.permission_template,...t.permission_template}}}}const cpt=dr().shape({secret:We().required(_u.formatMessage({id:"authentication_strategies.radius.form_errors.transport.secret"})),permission_template:dr().shape({backup:We().nullable(),configuration:We().nullable(),management:We().nullable(),monitoring:We().nullable(),provisioning:We().nullable(),transport_keys:We().nullable(),operator_codes:We().nullable(),lawful_interception:We().nullable()}).required(),isPermissionTemplateActive:li(),roles:yr().when("isPermissionTemplateActive",(t,e)=>t?e:yr().of(We().required(_u.formatMessage({id:"authentication_strategies.radius.form_errors.roles_required"}))).min(1,_u.formatMessage({id:"authentication_strategies.radius.form_errors.roles_min"})).test({name:"unique-role",message:_u.formatMessage({id:"authentication_strategies.radius.form_errors.unique_role"}),test:r=>r?.length===0||r&&r.length===[...new Set(r.map(n=>`${n}`))].length})),transport_remote_addresses:yr().of(We().matches(new RegExp($.regex.ipv4v6Addr))).min(1,_u.formatMessage({id:"authentication_strategies.radius.form_errors.transport.remote_addresses"})).required(),transport_remote_port:kn().min(0,_u.formatMessage({id:"authentication_strategies.radius.form_errors.transport.remote_port.min"})).max(65535,_u.formatMessage({id:"authentication_strategies.radius.form_errors.transport.remote_port.max"})).required(_u.formatMessage({id:"authentication_strategies.radius.form_errors.transport.remote_port"})),transport_timeout_s:kn().min(1,_u.formatMessage({id:"authentication_strategies.radius.form_errors.transport.timeout_s.min"})).required(_u.formatMessage({id:"authentication_strategies.radius.form_errors.transport.timeout_s"}))}),upt=()=>{const t=he.c(10),e=Ye();let r;t[0]!==e?(r=a.jsx(Ke,{name:"transport_remote_addresses",children:o=>{const{field:l,meta:c,form:u}=o,{setFieldValue:d}=u;return a.jsx(rn,{name:l.name,label:e.formatMessage({id:"authentication_strategies.radius.transport.form.remote_addresses"}),value:l.value,multiple:!0,size:"small",freeSolo:!0,options:[""],onChange:(f,p)=>{d(l.name,p||"")},error:!!c.error,helperText:c.error,fullWidth:!0})}}),t[0]=e,t[1]=r):r=t[1];let n;t[2]!==e?(n=a.jsx(Ke,{name:"transport_remote_port",children:o=>{const{field:l,meta:c,form:u}=o,{isSubmitting:d}=u;return a.jsx(dt,{...l,label:e.formatMessage({id:"authentication_strategies.radius.transport.form.remote_port"}),size:"small",helperText:c.error,error:!!c.error,disabled:d,type:"number",required:!0})}}),t[2]=e,t[3]=n):n=t[3];let s;t[4]!==e?(s=a.jsx(Ke,{name:"transport_timeout_s",children:o=>{const{field:l,meta:c,form:u}=o,{isSubmitting:d}=u;return a.jsx(dt,{...l,label:e.formatMessage({id:"authentication_strategies.radius.transport.form.timeout_s"}),size:"small",helperText:c.error,error:!!c.error,disabled:d,type:"number",required:!0})}}),t[4]=e,t[5]=s):s=t[5];let i;return t[6]!==r||t[7]!==n||t[8]!==s?(i=a.jsxs(te,{spacing:2,children:[r,n,s]}),t[6]=r,t[7]=n,t[8]=s,t[9]=i):i=t[9],i},dpt=t=>{const e=he.c(26),{backendList:r,radiusConfig:n,rolesList:s,radiusLocalConfig:i}=t,o=Ye(),{data:l,state:c,submit:u}=gr();let d;e[0]!==r?(d=r.includes(_i.radius),e[0]=r,e[1]=d):d=e[1];const f=d;let p;e[2]!==n?(p=lpt(n),e[2]=n,e[3]=p):p=e[3];const m=p;let h;e[4]!==u?(h=async k=>{u(apt(k),{method:"POST",encType:"application/json",action:"radius-config-update"})},e[4]=u,e[5]=h):h=e[5];const _=h;let g;e[6]!==o||e[7]!==f?(g=!f&&a.jsx(Lr,{severity:"warning",message:o.formatMessage({id:"authentication_strategies.radius.not_active"})}),e[6]=o,e[7]=f,e[8]=g):g=e[8];let y;e[9]!==l||e[10]!==o||e[11]!==s||e[12]!==c?(y=k=>{const{values:A}=k;return a.jsx(pr,{title:o.formatMessage({id:"authentication_strategies.radius.panel.title"}),elevation:3,children:a.jsx(Kt,{children:a.jsx(dn,{canWrite:Ue(ie.management),children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"secret",children:P=>{const{field:T,meta:j}=P;return a.jsx(dt,{...T,label:o.formatMessage({id:"authentication_strategies.radius.form.secret"}),size:"small",helperText:j.error,disabled:c!=="idle",error:!!j.error,required:!0})}}),a.jsx(Ke,{name:"isPermissionTemplateActive",children:P=>{const{field:T,form:j}=P,{setFieldValue:R}=j;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(_e,{children:o.formatMessage({id:"authentication_strategies.radius.transport.form.roles"})}),a.jsx(ti,{checked:T.value,onChange:()=>{R(T.name,!T.value)}}),a.jsx(_e,{children:o.formatMessage({id:"authentication_strategies.radius.form.permission_template"})})]})}}),A.isPermissionTemplateActive?a.jsx(nx,{fieldName:"permission_template",fieldLabel:o.formatMessage({id:"authentication_strategies.radius.form.permission_template"})}):a.jsx(Ke,{name:"roles",children:P=>{const{field:T,meta:j,form:R}=P,{setFieldValue:D}=R;return a.jsx(rn,{name:T.name,label:o.formatMessage({id:"authentication_strategies.radius.form.roles"}),value:T.value,multiple:!0,size:"small",freeSolo:!1,options:s.map(fpt),onChange:(O,N)=>{D(T.name,[...new Set(N.map(ppt))])},fullWidth:!0,error:!!j.error,helperText:j.error})}}),a.jsx(pr,{title:o.formatMessage({id:"authentication_strategies.radius.transport.title"}),elevation:4,children:a.jsx(Kt,{children:a.jsx(upt,{})})}),a.jsx(Xr,{data:l}),a.jsx(Ze,{type:"submit",text:o.formatMessage({id:"authentication_strategies.radius.form.buttons.save"}),disabled:c!=="idle"||!Ue(ie.management),loading:c!=="idle",sx:{alignSelf:"flex-start"}})]})})})})},e[9]=l,e[10]=o,e[11]=s,e[12]=c,e[13]=y):y=e[13];let b;e[14]!==_||e[15]!==m||e[16]!==y?(b=a.jsx(Wr,{initialValues:m,onSubmit:_,enableReinitialize:!0,validationSchema:cpt,children:y}),e[14]=_,e[15]=m,e[16]=y,e[17]=b):b=e[17];let x;e[18]!==g||e[19]!==b?(x=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[g,b]})}),e[18]=g,e[19]=b,e[20]=x):x=e[20];let w;e[21]!==i?(w=a.jsx(Uue,{backend:_i.radius,config:i}),e[21]=i,e[22]=w):w=e[22];let C;return e[23]!==x||e[24]!==w?(C=a.jsxs(te,{children:[x,w]}),e[23]=x,e[24]=w,e[25]=C):C=e[25],C};function fpt(t){return t.id}function ppt(t){return t.trim()}function mpt(){const t=he.c(53),e=Ye(),{backendList:r,ldapConfig:n,ldapLocalConfig:s,radiusLocalConfig:i,radiusConfig:o,rolesList:l,openIdConfig:c}=Np(),{data:u,state:d,submit:f}=gr();let p;t[0]!==f?(p=N=>{const{backends:F}=N;f(F,{method:"POST",encType:"application/json",action:"backends-update"})},t[0]=f,t[1]=p):p=t[1];const m=p;let h;t[2]!==e?(h=e.formatMessage({id:"authentication_strategies.title"}),t[2]=e,t[3]=h):h=t[3];let _;t[4]!==r?(_={backends:r},t[4]=r,t[5]=_):_=t[5];let g;t[6]!==u||t[7]!==e||t[8]!==d?(g=N=>{const{dirty:F,isValid:U}=N;return a.jsx(dn,{canWrite:Ue(ie.management),children:a.jsxs(te,{spacing:2,children:[a.jsx(Lr,{severity:"info",message:e.formatMessage({id:"authentication_strategies.form.backends.info"})}),a.jsx(Ke,{name:"backends",children:z=>{const{field:H,meta:W,form:K}=z,{setFieldValue:q}=K;return a.jsx(rn,{value:H.value,name:H.name,label:e.formatMessage({id:"authentication_strategies.form.backends"}),multiple:!0,size:"small",freeSolo:!1,options:WTe,onChange:(X,Q)=>{q(H.name,[...new Set(Q.map(hpt))])},error:!!W.error,helperText:W.error,disabled:d!=="idle",fullWidth:!0})}}),a.jsx(Xr,{data:u}),a.jsx(Ze,{type:"submit",text:e.formatMessage({id:"authentication_strategies.form.buttons.save"}),disabled:d!=="idle"||!Ue(ie.management)||!F||!U,loading:d!=="idle",sx:{alignSelf:"flex-start"}})]})})},t[6]=u,t[7]=e,t[8]=d,t[9]=g):g=t[9];let y;t[10]!==m||t[11]!==_||t[12]!==g?(y=a.jsx(Kt,{children:a.jsx(Wr,{initialValues:_,enableReinitialize:!0,validationSchema:Wft,onSubmit:m,children:g})}),t[10]=m,t[11]=_,t[12]=g,t[13]=y):y=t[13];let b;t[14]!==h||t[15]!==y?(b=a.jsx(pr,{elevation:2,title:h,children:y}),t[14]=h,t[15]=y,t[16]=b):b=t[16];let x;t[17]!==e?(x=e.formatMessage({id:`authentication_strategies.tabs.item.${_i.radius}`}),t[17]=e,t[18]=x):x=t[18];let w;t[19]!==r||t[20]!==o||t[21]!==i||t[22]!==l?(w=a.jsx(dpt,{backendList:r,radiusConfig:o,rolesList:l,radiusLocalConfig:i}),t[19]=r,t[20]=o,t[21]=i,t[22]=l,t[23]=w):w=t[23];let C;t[24]!==x||t[25]!==w?(C={label:x,value:_i.radius,content:w},t[24]=x,t[25]=w,t[26]=C):C=t[26];let k;t[27]!==e?(k=e.formatMessage({id:`authentication_strategies.tabs.item.${_i.ldap}`}),t[27]=e,t[28]=k):k=t[28];let A;t[29]!==r||t[30]!==n||t[31]!==s||t[32]!==l?(A=a.jsx(tpt,{backendList:r,ldapConfig:n,rolesList:l,ldapLocalConfig:s}),t[29]=r,t[30]=n,t[31]=s,t[32]=l,t[33]=A):A=t[33];let P;t[34]!==A||t[35]!==k?(P={label:k,value:_i.ldap,content:A},t[34]=A,t[35]=k,t[36]=P):P=t[36];let T;t[37]!==e?(T=e.formatMessage({id:`authentication_strategies.tabs.item.${_i.openid}`}),t[37]=e,t[38]=T):T=t[38];let j;t[39]!==r||t[40]!==c||t[41]!==l?(j=a.jsx(ipt,{backendList:r,openIdConfig:c,rolesList:l}),t[39]=r,t[40]=c,t[41]=l,t[42]=j):j=t[42];let R;t[43]!==T||t[44]!==j?(R={label:T,value:_i.openid,content:j},t[43]=T,t[44]=j,t[45]=R):R=t[45];let D;t[46]!==P||t[47]!==R||t[48]!==C?(D=a.jsx(pr,{elevation:2,children:a.jsx(VA,{value:_i.radius,tabs:[C,P,R]})}),t[46]=P,t[47]=R,t[48]=C,t[49]=D):D=t[49];let O;return t[50]!==D||t[51]!==b?(O=a.jsx(pr,{children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[b,D]})})}),t[50]=D,t[51]=b,t[52]=O):O=t[52],O}function hpt(t){return t.trim()}const gpt=Pr();function _pt(t){const{enabled:e,terms:r,forbidden_notice:n}=t;return{enabled:e,terms:r,...n&&{forbidden_notice:n}}}function vpt({enabled:t,terms:e,forbidden_notice:r}){return{enabled:t,terms:e,forbidden_notice:r||""}}const ypt=dr().shape({enabled:li().required(),terms:We().required(gpt.formatMessage({id:"system_usage_terms.form.errors.required"})),forbidden_notice:We()});function bpt(){const t=he.c(11),e=Ye(),{systemUsageTerms:r}=Np(),{submit:n,state:s}=gr();let i;t[0]!==n?(i=d=>{n(_pt(d),{method:"PUT",action:"system-usage-terms-update",encType:"application/json"})},t[0]=n,t[1]=i):i=t[1];const o=i;let l;t[2]!==r?(l=vpt(r),t[2]=r,t[3]=l):l=t[3];let c;t[4]!==e||t[5]!==s?(c=d=>{const{dirty:f,values:p}=d;return a.jsx(dn,{canWrite:Ue([[ie.management]]),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{direction:"row",children:[a.jsx(Ke,{name:"enabled",children:m=>{const{field:h,form:_}=m,{setFieldValue:g}=_;return a.jsx(Rv,{control:a.jsx(ti,{onChange:(y,b)=>{g(h.name,b)},checked:h.value}),label:e.formatMessage({id:"common.enabled"}),sx:{m:0}})}}),a.jsx(Mn,{placement:"right",arrow:!0,title:e.formatMessage({id:"system_usage_terms.form.checkbox.hint"}),children:a.jsx(gt,{display:"flex",justifyContent:"center",alignItems:"center",children:a.jsx(ge.QuestionMark,{size:18})})})]}),a.jsx(Ke,{name:"terms",children:m=>{const{field:h,meta:_}=m;return a.jsx(dt,{...h,fullWidth:!0,required:!0,multiline:10,label:e.formatMessage({id:"system_usage_terms.form.terms"}),error:!!_.error,helperText:_.error,disabled:!p.enabled})}}),a.jsx(Ke,{name:"forbidden_notice",children:m=>{const{field:h,meta:_}=m;return a.jsx(dt,{...h,fullWidth:!0,multiline:3,label:e.formatMessage({id:"system_usage_terms.form.forbidden_notice"}),error:!!_.error,helperText:_.error,disabled:!p.enabled})}}),a.jsx(Lr,{message:e.formatMessage({id:"system_usage_terms.form.forbidden_notice.alert"})}),a.jsx(Ze,{type:"submit",text:e.formatMessage({id:"common.save"}),disabled:!Ue([ie.management])||!f,loading:s!=="idle",sx:{alignSelf:"flex-start"}})]})})},t[4]=e,t[5]=s,t[6]=c):c=t[6];let u;return t[7]!==o||t[8]!==l||t[9]!==c?(u=a.jsx(pr,{children:a.jsx(Kt,{children:a.jsx(Wr,{validationSchema:ypt,initialValues:l,onSubmit:o,enableReinitialize:!0,children:c})})}),t[7]=o,t[8]=l,t[9]=c,t[10]=u):u=t[10],u}const dk=t=>{const e=he.c(2),{permissions:r}=t;let n;return e[0]!==r?(n=a.jsx(a.Fragment,{children:Object.entries(r??{}).map(xpt)}),e[0]=r,e[1]=n):n=e[1],n};function xpt(t){const[e,r]=t;return a.jsxs(te,{justify:"stretch",direction:"row",align:"center",nowrap:!0,children:[a.jsxs(te,{direction:"row",divided:!0,align:"center",nowrap:!0,spacing:.5,children:[a.jsx(_e,{fontWeight:"600",type:"body2",color:r===op.ro?"primary":"grey.500",sx:{textTransform:"uppercase"},children:op.ro}),a.jsx(_e,{fontWeight:"600",type:"body2",color:r===op.rw?"primary":"grey.500",sx:{textTransform:"uppercase"},children:op.rw})]}),a.jsx(_e,{type:"body2",sx:{textTransform:"lowercase"},children:e})]},e)}const Spt=Pr(),wpt=dr().shape({id:We().required(Spt.formatMessage({id:"roles.new_role.form_errors.required"})),permissions:dr()});function Bue(t){const e=he.c(24),{id:r}=t,n=Ye(),{upsertFetcher:s,dataFetcher:i,isLoading:o}=Ys(),{submit:l,state:c,data:u}=s,{load:d,data:f}=i,p=!!r,{dialogClose:m}=Jt();let h,_;e[0]!==r||e[1]!==p||e[2]!==d?(h=()=>{p&&d($.urls.platformRolesDetails.replace(":id",r))},_=[r,p,d],e[0]=r,e[1]=p,e[2]=d,e[3]=h,e[4]=_):(h=e[3],_=e[4]),I.useEffect(h,_),f?.role;const g=f?.role,y=g?.id??"";let b;e[5]!==g?.permissions?(b=g?.permissions?{...g?.permissions}:{},e[5]=g?.permissions,e[6]=b):b=e[6];let x;e[7]!==y||e[8]!==b?(x={id:y,permissions:b},e[7]=y,e[8]=b,e[9]=x):x=e[9];const w=x;let C;e[10]!==f?.role||e[11]!==l?(C=T=>{const{id:j,permissions:R}=T,D=f?.role;l({id:j,...R&&{permissions:R},permissions:Yae(R)},{method:D?"PATCH":"POST",encType:"application/json",action:D?$.urls.platformRolesUpdate_Action:$.urls.platformRolesCreate_Action})},e[10]=f?.role,e[11]=l,e[12]=C):C=e[12],f?.role;const k=C;let A;e[13]!==m||e[14]!==u||e[15]!==c||e[16]!==n||e[17]!==p||e[18]!==o?(A=T=>{const{dirty:j}=T;return a.jsxs(dn,{canWrite:Ue(ie.management),children:[a.jsx(_s,{loading:o,children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"id",children:R=>{const{field:D,meta:O}=R;return a.jsx(dt,{...D,label:n.formatMessage({id:"roles.new_role.form.id"}),size:"medium",error:!!O.error,helperText:O.error,disabled:p||c!=="idle"})}}),a.jsx(nx,{fieldName:"permissions",modalElevation:!0}),a.jsx(Xr,{data:u})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:n.formatMessage({id:"dialog_with_form.buttons.cancel"}),type:"reset",variant:"outlined",disabled:c!=="idle",onClick:()=>m()}),a.jsx(Ze,{text:n.formatMessage({id:"dialog_with_form.buttons.submit"}),type:"submit",disabled:c!=="idle"||!j||!Ue(ie.management),loading:c!=="idle"})]})})]})},e[13]=m,e[14]=u,e[15]=c,e[16]=n,e[17]=p,e[18]=o,e[19]=A):A=e[19];let P;return e[20]!==k||e[21]!==w||e[22]!==A?(P=a.jsx(Wr,{enableReinitialize:!0,initialValues:w,validationSchema:wpt,onSubmit:k,children:A}),e[20]=k,e[21]=w,e[22]=A,e[23]=P):P=e[23],P}const Cpt=()=>{const t=he.c(60),e=Ye(),r=zn(),{dialogOpen:n,confirmationSimpleDialogOpen:s}=Jt(),i=gr();let o;t[0]!==n||t[1]!==e?(o=()=>{n({title:e.formatMessage({id:"roles.new_role.form.title"}),content:Apt})},t[0]=n,t[1]=e,t[2]=o):o=t[2];const l=o;let c;t[3]!==e?(c=e.formatMessage({id:"roles.table.id"}),t[3]=e,t[4]=c):c=t[4];let u;t[5]!==c?(u={key:"id",label:c},t[5]=c,t[6]=u):u=t[6];let d;t[7]!==e?(d=e.formatMessage({id:"roles.table.permissions"}),t[7]=e,t[8]=d):d=t[8];let f;t[9]!==d?(f={key:"permissions",label:d,cellRender:kpt},t[9]=d,t[10]=f):f=t[10];let p;t[11]!==e?(p=e.formatMessage({id:"roles.table.created_at"}),t[11]=e,t[12]=p):p=t[12];let m;t[13]!==p?(m={key:"created_at",label:p,cellRender:Mpt},t[13]=p,t[14]=m):m=t[14];let h;t[15]!==e?(h=e.formatMessage({id:"roles.table.modified_at"}),t[15]=e,t[16]=h):h=t[16];let _;t[17]!==h?(_={key:"modified_at",label:h,cellRender:Ppt},t[17]=h,t[18]=_):_=t[18];let g;t[19]!==u||t[20]!==f||t[21]!==m||t[22]!==_?(g=[u,f,m,_],t[19]=u,t[20]=f,t[21]=m,t[22]=_,t[23]=g):g=t[23];const y=g;let b;t[24]!==i?(b=K=>{i.submit({id:K},{method:"DELETE",encType:"application/json",action:$.urls.platformRolesDelete_Action})},t[24]=i,t[25]=b):b=t[25];const x=b;let w;t[26]!==e?(w=e.formatMessage({id:"roles.table.actions.update"}),t[26]=e,t[27]=w):w=t[27];let C,k;t[28]===Symbol.for("react.memo_cache_sentinel")?(C=a.jsx(ge.Edit,{}),k=Ue(ie.management),t[28]=C,t[29]=k):(C=t[28],k=t[29]);let A;t[30]!==n||t[31]!==e?(A=K=>{const{id:q}=K;n({title:e.formatMessage({id:"roles.edit_role.form.title"}),content:()=>a.jsx(Bue,{id:q})})},t[30]=n,t[31]=e,t[32]=A):A=t[32];let P;t[33]!==w||t[34]!==A?(P={label:w,icon:C,disabled:!k,onClick:A},t[33]=w,t[34]=A,t[35]=P):P=t[35];let T;t[36]!==e?(T=e.formatMessage({id:"roles.table.actions.delete"}),t[36]=e,t[37]=T):T=t[37];let j,R;t[38]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(ge.Trash,{}),R=Ue(ie.management),t[38]=j,t[39]=R):(j=t[38],R=t[39]);let D;t[40]!==s||t[41]!==x||t[42]!==e?(D=K=>{const{id:q}=K;s({title:e.formatMessage({id:"roles.dialog.confirm_delete.title"}),description:e.formatMessage({id:"roles.dialog.confirm_delete.description"},{role:q}),onConfirm:()=>{x(q)},cancelText:e.formatMessage({id:"confirm_dialog.cancel"}),confirmText:e.formatMessage({id:"confirm_dialog.ok"})})},t[40]=s,t[41]=x,t[42]=e,t[43]=D):D=t[43];let O;t[44]!==T||t[45]!==D?(O={label:T,icon:j,disabled:!R,onClick:D},t[44]=T,t[45]=D,t[46]=O):O=t[46];let N;t[47]!==P||t[48]!==O?(N=[P,O],t[47]=P,t[48]=O,t[49]=N):N=t[49];const F=N;let U;t[50]===Symbol.for("react.memo_cache_sentinel")?(U=a.jsx(Dt,{height:"100%",variant:"rounded"}),t[50]=U):U=t[50];let z;t[51]===Symbol.for("react.memo_cache_sentinel")?(z=a.jsx(Tr,{}),t[51]=z):z=t[51];let H;t[52]!==y||t[53]!==l||t[54]!==e||t[55]!==F?(H=K=>a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{"data-testid":"toolbar-button-new-role",text:e.formatMessage({id:"roles.toolbar.new_role"}),startIcon:a.jsx(ge.Add,{}),onClick:l})}),a.jsx(Br,{autoScale:!0,orderBy:"id",columns:y,data:K,page:0,labelDisplayedRows:jpt,rowsCount:K.length,rowsPerPage:K.length,rowsPerPageOptions:void 0,rowKey:"id",rowActions:F,stickyRowActions:!0})]}),t[52]=y,t[53]=l,t[54]=e,t[55]=F,t[56]=H):H=t[56];let W;return t[57]!==r.roles||t[58]!==H?(W=a.jsx(I.Suspense,{fallback:U,children:a.jsx(Qt,{resolve:r.roles,errorElement:z,children:H})}),t[57]=r.roles,t[58]=H,t[59]=W):W=t[59],W};function Apt(){return a.jsx(Bue,{})}function kpt(t){const{permissions:e}=t;return e?a.jsx(dk,{permissions:e}):a.jsx(a.Fragment,{})}function Mpt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function Ppt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function jpt(){return""}function tJ(t){const e=he.c(24),{type:r}=t,n=Ye(),s=gl(),i=`fetcher-${r}-certificate`;let o;e[0]!==i?(o={key:i},e[0]=i,e[1]=o):o=e[1];const l=gr(o);let c;e[2]===Symbol.for("react.memo_cache_sentinel")?(c=[],e[2]=c):c=e[2];let u;e[3]!==r?(u=r===ip.SERVER&&{key_file:[]},e[3]=r,e[4]=u):u=e[4];let d;e[5]!==u?(d={cert_file:c,...u},e[5]=u,e[6]=d):d=e[6];const f=d;let p;e:{switch(r){case ip.CLIENT:{let b;e[7]!==n?(b=dr().shape({cert_file:yr().min(1,n.formatMessage({id:"pls.tls.certificates.form.error.file_required"})).max(1,n.formatMessage({id:"pls.tls.certificates.form.error.file_required"})).required(n.formatMessage({id:"pls.tls.certificates.form.error.file_required"}))}),e[7]=n,e[8]=b):b=e[8],p=b;break e}case ip.SERVER:{let b;e[9]!==n?(b=dr().shape({cert_file:yr().min(1,n.formatMessage({id:"pls.tls.certificates.form.error.file_required"})).max(1,n.formatMessage({id:"pls.tls.certificates.form.error.file_required"})).required(n.formatMessage({id:"pls.tls.certificates.form.error.file_required"})),key_file:yr().min(1,n.formatMessage({id:"pls.tls.certificates.form.error.file_required"})).max(1,n.formatMessage({id:"pls.tls.certificates.form.error.file_required"})).required(n.formatMessage({id:"pls.tls.certificates.form.error.file_required"}))}),e[9]=n,e[10]=b):b=e[10],p=b;break e}}p=void 0}const m=p;let h;e[11]!==s||e[12]!==r?(h=b=>{const x=new FormData;for(const w in b){const C=b[w];if(!C)return;x.append(w,C[0])}s(x,{method:"POST",encType:"multipart/form-data",action:`${r}-certificate-update`,navigate:!1,fetcherKey:`fetcher-${r}-certificate`})},e[11]=s,e[12]=r,e[13]=h):h=e[13];const _=h;let g;e[14]!==l.data||e[15]!==l.state||e[16]!==n||e[17]!==r?(g=b=>{const{dirty:x,isValid:w}=b;return a.jsx(dn,{canWrite:Ue(ie.management),children:a.jsx(pr,{title:n.formatMessage({id:`pls.tls.certificates.${r}.title`}),children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"cert_file",children:C=>{const{field:k,meta:A,form:P}=C,{setFieldValue:T}=P;return a.jsxs(te,{children:[a.jsx(_e,{children:n.formatMessage({id:"pls.tls.certificates.form.cert_file"})}),a.jsx(Z_,{...k,label:n.formatMessage({id:"pls.tls.certificates.form.file"}),disabled:l.state!=="idle",maxFiles:1,multiple:!1,onChange:j=>{setTimeout(()=>{T(k.name,j)},0)},formError:A.error})]})}}),r===ip.SERVER&&a.jsx(Ke,{name:"key_file",children:C=>{const{field:k,meta:A,form:P}=C,{setFieldValue:T}=P;return a.jsxs(te,{children:[a.jsx(_e,{children:n.formatMessage({id:"pls.tls.certificates.form.key_file"})}),a.jsx(Z_,{...k,label:n.formatMessage({id:"pls.tls.certificates.form.file"}),disabled:l.state!=="idle",maxFiles:1,multiple:!1,onChange:j=>{setTimeout(()=>{T(k.name,j)},0)},formError:A.error})]})}}),a.jsx(Xr,{data:l.data}),a.jsx(Ze,{type:"submit",disabled:l.state!=="idle"||!x||!w||!Ue(ie.management),loading:l.state!=="idle",text:n.formatMessage({id:`pls.tls.certificates.${r}.form.update`}),sx:{alignSelf:"flex-start"}})]})})})})},e[14]=l.data,e[15]=l.state,e[16]=n,e[17]=r,e[18]=g):g=e[18];let y;return e[19]!==_||e[20]!==f||e[21]!==g||e[22]!==m?(y=a.jsx(Wr,{initialValues:f,enableReinitialize:!0,onSubmit:_,validationSchema:m,children:g}),e[19]=_,e[20]=f,e[21]=g,e[22]=m,e[23]=y):y=e[23],y}function Tpt(t){const e=he.c(11),{configuration:r}=t,n=Ye(),s=gl();let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i={key:"fetcher-configuration-update"},e[0]=i):i=e[0];const o=gr(i);let l;e[1]!==s?(l=f=>{s(f,{method:"PUT",encType:"application/json",action:"configuration-update",navigate:!1,fetcherKey:"fetcher-configuration-update"})},e[1]=s,e[2]=l):l=e[2];const c=l;let u;e[3]!==o.data||e[4]!==o.state||e[5]!==n?(u=f=>{const{dirty:p}=f;return a.jsx(dn,{canWrite:Ue(ie.management),children:a.jsx(pr,{title:n.formatMessage({id:"pls.tls.configuration.title"}),children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsxs("div",{children:[a.jsx(Ke,{name:"client_auth",children:m=>{const{field:h,form:_}=m,{setFieldValue:g}=_;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:h.value,onChange:(y,b)=>{g(h.name,b)},disabled:o.state!=="idle"}),a.jsx(_e,{children:n.formatMessage({id:"pls.tls.configuration.form.client_auth"})})]})}}),a.jsx(Ke,{name:"enabled",children:m=>{const{field:h,form:_}=m,{setFieldValue:g}=_;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:h.value,onChange:(y,b)=>{g(h.name,b)},disabled:o.state!=="idle"}),a.jsx(_e,{children:n.formatMessage({id:"pls.tls.configuration.form.enabled"})})]})}})]}),a.jsx(Xr,{data:o.data,sx:{mt:1}}),a.jsx(Ze,{type:"submit",disabled:o.state!=="idle"||!p||!Ue(ie.management),loading:o.state!=="idle",text:n.formatMessage({id:"pls.tls.configuration.form.apply"}),sx:{alignSelf:"flex-start"}})]})})})})},e[3]=o.data,e[4]=o.state,e[5]=n,e[6]=u):u=e[6];let d;return e[7]!==r||e[8]!==c||e[9]!==u?(d=a.jsx(Wr,{initialValues:r,enableReinitialize:!0,onSubmit:c,children:u}),e[7]=r,e[8]=c,e[9]=u,e[10]=d):d=e[10],d}function Ept(){const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsxs(te,{spacing:2,children:[a.jsx(Dt,{variant:"rounded",height:"232px"}),a.jsx(Dt,{variant:"rounded",height:"251px"}),a.jsx(Dt,{variant:"rounded",height:"362px"})]}),t[0]=e):e=t[0],e}function Rpt(){const t=he.c(4),e=zn();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(Ept,{}),t[0]=r):r=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Tr,{}),t[1]=n):n=t[1];let s;return t[2]!==e.configuration?(s=a.jsx(I.Suspense,{fallback:r,children:a.jsx(Qt,{resolve:e.configuration,errorElement:n,children:Ipt})}),t[2]=e.configuration,t[3]=s):s=t[3],s}function Ipt(t){return a.jsxs(te,{spacing:1.5,children:[a.jsx(Tpt,{configuration:t}),a.jsx(tJ,{type:ip.CLIENT}),a.jsx(tJ,{type:ip.SERVER})]})}function zue(t){const e=he.c(32),{username:r}=t,n=Ye(),{upsertFetcher:s,dataFetcher:i,isLoading:o}=Ys(),{submit:l,state:c,data:u}=s,{load:d,data:f}=i,{load:p,data:m,state:h}=gr(),_=!!r,{dialogClose:g}=Jt();let y,b;e[0]!==_||e[1]!==d||e[2]!==p||e[3]!==r?(y=()=>{p($.urls.platformRolesEntries),_&&d($.urls.platformUsersDetails.replace(":username",r))},b=[_,d,p,r],e[0]=_,e[1]=d,e[2]=p,e[3]=r,e[4]=y,e[5]=b):(y=e[4],b=e[5]),I.useEffect(y,b),m?.roles;const x=m?.roles;let w;e[6]!==f?.user?(w=()=>{const N=f?.user;return{username:N?.username??"",password:"",fullname:N?.fullname??"",permissions:N?.permissions?{...Uz,...N?.permissions}:Uz,roles:N?.roles||[]}},e[6]=f?.user,e[7]=w):w=e[7],f?.user;let C;e[8]!==w?(C=w(),e[8]=w,e[9]=C):C=e[9];const k=C;f?.user;const A=f?.user;let P;e[10]!==n||e[11]!==A?(P=dr().shape({username:We().required(n.formatMessage({id:"users.new_user.form_errors.required"})),password:A?We():We().required(n.formatMessage({id:"users.new_user.form_errors.required"})),fullname:We(),permissions:dr(),roles:yr().of(We())}),e[10]=n,e[11]=A,e[12]=P):P=e[12];const T=P;let j;e[13]!==f?.user||e[14]!==l?(j=N=>{const{username:F,fullname:U,password:z,permissions:H,roles:W}=N;l(F==="admin"?{username:F,...U&&{fullname:U},...z&&{password:z}}:{username:F,...U&&{fullname:U},...z&&{password:z},...H&&{permissions:H},roles:W},{method:f?.user?"PATCH":"POST",encType:"application/json",action:f?.user?$.urls.platformUsersUpdate_Action:$.urls.platformUsersCreate_Action})},e[13]=f?.user,e[14]=l,e[15]=j):j=e[15],f?.user;const R=j;let D;e[16]!==g||e[17]!==u||e[18]!==c||e[19]!==n||e[20]!==_||e[21]!==o||e[22]!==m?.roles||e[23]!==x||e[24]!==h||e[25]!==r?(D=N=>{const{dirty:F,values:U}=N,z=m?.roles?I4e(m?.roles.filter(H=>U?.roles?.includes(H.id))?.map(Dpt)):void 0;return a.jsxs(dn,{canWrite:Ue(ie.management),fullHeight:!0,children:[a.jsx(_s,{loading:o,children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"username",children:H=>{const{field:W,meta:K}=H;return a.jsx(dt,{...W,label:n.formatMessage({id:"users.new_user.form.username"}),size:"medium",error:!!K.error,helperText:K.error,disabled:_||c!=="idle"})}}),!_&&a.jsx(Ke,{name:"password",children:H=>{const{field:W,meta:K}=H;return a.jsx(dt,{...W,type:"password",showPasswordVisibility:!0,label:n.formatMessage({id:"users.new_user.form.password"}),size:"medium",error:!!K.error,helperText:K.error,disabled:c!=="idle"})}}),a.jsx(Ke,{name:"fullname",children:H=>{const{field:W,meta:K}=H;return a.jsx(dt,{...W,label:n.formatMessage({id:"users.new_user.form.fullname"}),size:"medium",error:!!K.error,helperText:K.error,disabled:c!=="idle"})}}),a.jsx(pr,{title:n.formatMessage({id:"users.new_user.roles.title"}),dense:!0,modalElevation:!0,children:a.jsxs(Kt,{children:[h==="loading"&&a.jsx(gt,{sx:{display:"flex",justifyContent:"center",p:5},children:a.jsx(Nc,{type:"circular",color:"primary"})}),h!=="loading"&&x&&a.jsxs(a.Fragment,{children:[!x.length&&a.jsx(Lr,{message:n.formatMessage({id:"users.new_user.no_roles"}),severity:"warning"}),!!x.length&&a.jsx(te,{spacing:2,children:a.jsx(Ke,{name:"roles",children:H=>{const{field:W,form:K}=H,{setFieldValue:q}=K;return a.jsx(te,{direction:"row",spacing:1,children:x.map(X=>a.jsx(Mn,{opaque:!0,title:a.jsx(gt,{sx:{py:1,px:1.5},children:a.jsx(dk,{permissions:X.permissions})}),children:a.jsx("div",{children:a.jsx(Ze,{text:X.id,endIcon:a.jsx(ge.Info,{size:15}),variant:W.value?.includes(X.id)?"contained":"outlined",disabled:r==="admin",sx:{textTransform:"none"},onClick:()=>{if(!W.value){q(W.name,[X.id]);return}if(W.value.includes(X.id)){const Q=W.value.filter(Y=>Y!==X.id);q(W.name,Q);return}q(W.name,[...W.value,X.id])}})})},X.id))})}})})]})]})}),a.jsx(nx,{fieldName:"permissions",fieldLabel:n.formatMessage({id:"users.new_user.permissions_override.title"}),basePermissions:z,disabled:r==="admin",modalElevation:!0}),a.jsx(Xr,{data:u})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:n.formatMessage({id:"dialog_with_form.buttons.cancel"}),type:"reset",variant:"outlined",disabled:c!=="idle",onClick:()=>g()}),a.jsx(Ze,{text:n.formatMessage({id:"dialog_with_form.buttons.submit"}),type:"submit",disabled:c!=="idle"||!F||!Ue(ie.management),loading:c!=="idle"})]})})]})},e[16]=g,e[17]=u,e[18]=c,e[19]=n,e[20]=_,e[21]=o,e[22]=m?.roles,e[23]=x,e[24]=h,e[25]=r,e[26]=D):D=e[26];let O;return e[27]!==R||e[28]!==k||e[29]!==D||e[30]!==T?(O=a.jsx(Wr,{enableReinitialize:!0,initialValues:k,validationSchema:T,onSubmit:R,children:D}),e[27]=R,e[28]=k,e[29]=D,e[30]=T,e[31]=O):O=e[31],O}function Dpt(t){return t.permissions}function que(t){const e=he.c(18),{isCurrentUser:r,username:n}=t,s=Ye(),{dialogClose:i}=Jt(),{upsertFetcher:o}=Ys(),{submit:l,state:c,data:u}=o;let d;e[0]!==r||e[1]!==l||e[2]!==n?(d=b=>{const{password:x,current_password:w}=b;r?l({password:x,current_password:w},{method:"POST",encType:"application/json",action:$.urls.platformUsersCurrentUserPasswordChange_Action}):l({username:n,password:x},{method:"POST",encType:"application/json",action:$.urls.platformUsersPasswordChange_Action})},e[0]=r,e[1]=l,e[2]=n,e[3]=d):d=e[3];const f=d;let p;e[4]===Symbol.for("react.memo_cache_sentinel")?(p={current_password:"",password:"",passwordConfirmation:""},e[4]=p):p=e[4];const m=p;let h;e[5]!==s||e[6]!==r?(h=dr().shape({current_password:r?We().required(s.formatMessage({id:"users.change_password.form_errors.required"})):We(),password:We().required(s.formatMessage({id:"users.change_password.form_errors.required"})),passwordConfirmation:We().oneOf([gge("password"),null],s.formatMessage({id:"users.change_password.form_errors.password_must_match"})).required(s.formatMessage({id:"users.change_password.form_errors.required"}))}),e[5]=s,e[6]=r,e[7]=h):h=e[7];const _=h;let g;e[8]!==u||e[9]!==i||e[10]!==s||e[11]!==r||e[12]!==c?(g=b=>{const{dirty:x}=b;return a.jsxs(Kd,{children:[a.jsx(_s,{children:a.jsxs(te,{spacing:2,children:[r&&a.jsx(Ke,{name:"current_password",children:w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,type:"password",showPasswordVisibility:!0,label:s.formatMessage({id:"users.change_password.form.current_password"}),size:"medium",error:!!k.error,helperText:k.error,disabled:c!=="idle"})}}),a.jsx(Ke,{name:"password",children:w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,type:"password",showPasswordVisibility:!0,label:s.formatMessage({id:"users.change_password.form.password"}),size:"medium",error:!!k.error,helperText:k.error,disabled:c!=="idle"})}}),a.jsx(Ke,{name:"passwordConfirmation",children:w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,type:"password",showPasswordVisibility:!0,label:s.formatMessage({id:"users.change_password.form.passwordConfirmation"}),size:"medium",error:!!k.error,helperText:k.error,disabled:c!=="idle"})}}),a.jsx(Xr,{data:u})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:s.formatMessage({id:"dialog_with_form.buttons.cancel"}),variant:"outlined",disabled:c!=="idle",onClick:()=>i()}),a.jsx(Ze,{text:s.formatMessage({id:"dialog_with_form.buttons.submit"}),type:"submit",disabled:c!=="idle"||!x,loading:c!=="idle"})]})})]})},e[8]=u,e[9]=i,e[10]=s,e[11]=r,e[12]=c,e[13]=g):g=e[13];let y;return e[14]!==f||e[15]!==g||e[16]!==_?(y=a.jsx(Wr,{initialValues:m,validationSchema:_,onSubmit:f,children:g}),e[14]=f,e[15]=g,e[16]=_,e[17]=y):y=e[17],y}const $pt=()=>{const t=he.c(114),e=Ye(),r=zn(),{dialogOpen:n,confirmationSimpleDialogOpen:s}=Jt(),i=gr(),o=ys();let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=Ih(),t[0]=l):l=t[0];const c=l;let u;t[1]!==n||t[2]!==e?(u=()=>{n({title:e.formatMessage({id:"users.new_user.form.title"}),content:Opt})},t[1]=n,t[2]=e,t[3]=u):u=t[3];const d=u;let f;t[4]!==i?(f=$e=>{i.submit({username:$e},{method:"DELETE",encType:"application/json",action:$.urls.platformUsersDelete_Action})},t[4]=i,t[5]=f):f=t[5];const p=f;let m;t[6]!==i?(m=$e=>{const Ve=localStorage.getItem(U_);Ve&&i.submit({username:$e,refreshToken:Ve},{method:"POST",encType:"application/json",action:$.urls.platformUsersRevokeTokens_Action})},t[6]=i,t[7]=m):m=t[7];const h=m;let _;t[8]!==e?(_=e.formatMessage({id:"users.table.username"}),t[8]=e,t[9]=_):_=t[9];let g;t[10]!==e?(g=$e=>{const{username:Ve}=$e;return a.jsxs(te,{nowrap:!0,direction:"row",children:[a.jsx(_e,{type:"body2",children:Ve}),c?.sub===Ve&&a.jsx(ms,{label:e.formatMessage({id:"users.table.current_user"}),size:"small"})]})},t[10]=e,t[11]=g):g=t[11];let y;t[12]!==_||t[13]!==g?(y={key:"username",label:_,cellRender:g},t[12]=_,t[13]=g,t[14]=y):y=t[14];let b;t[15]!==e?(b=e.formatMessage({id:"users.table.fullname"}),t[15]=e,t[16]=b):b=t[16];let x;t[17]!==b?(x={key:"fullname",label:b},t[17]=b,t[18]=x):x=t[18];let w;t[19]!==e?(w=e.formatMessage({id:"users.table.backend"}),t[19]=e,t[20]=w):w=t[20];let C;t[21]!==w?(C={key:"backend",label:w,cellRender:Lpt},t[21]=w,t[22]=C):C=t[22];let k;t[23]!==e?(k=e.formatMessage({id:"users.table.roles"}),t[23]=e,t[24]=k):k=t[24];let A;t[25]!==k?(A={key:"roles",label:k,cellRender:Fpt},t[25]=k,t[26]=A):A=t[26];let P;t[27]!==e?(P=e.formatMessage({id:"users.table.permissions_override"}),t[27]=e,t[28]=P):P=t[28];let T;t[29]!==P?(T={key:"permissions",label:P,cellRender:Upt},t[29]=P,t[30]=T):T=t[30];let j;t[31]!==e?(j=e.formatMessage({id:"users.table.created_at"}),t[31]=e,t[32]=j):j=t[32];let R;t[33]!==j?(R={key:"created_at",label:j,cellRender:Bpt},t[33]=j,t[34]=R):R=t[34];let D;t[35]!==e?(D=e.formatMessage({id:"users.table.modified_at"}),t[35]=e,t[36]=D):D=t[36];let O;t[37]!==D?(O={key:"modified_at",label:D,cellRender:zpt},t[37]=D,t[38]=O):O=t[38];let N;t[39]!==C||t[40]!==A||t[41]!==T||t[42]!==R||t[43]!==O||t[44]!==y||t[45]!==x?(N=[y,x,C,A,T,R,O],t[39]=C,t[40]=A,t[41]=T,t[42]=R,t[43]=O,t[44]=y,t[45]=x,t[46]=N):N=t[46];const F=N;let U;t[47]!==e?(U=e.formatMessage({id:"users.table.actions.update"}),t[47]=e,t[48]=U):U=t[48];let z,H;t[49]===Symbol.for("react.memo_cache_sentinel")?(z=a.jsx(ge.Edit,{}),H=$e=>c?.sub===$e.username||!Ue(ie.management),t[49]=z,t[50]=H):(z=t[49],H=t[50]);let W;t[51]!==n||t[52]!==e?(W=$e=>{const{username:Ve}=$e;n({title:e.formatMessage({id:"users.edit_user.form.title"}),content:()=>a.jsx(zue,{username:Ve})})},t[51]=n,t[52]=e,t[53]=W):W=t[53];let K;t[54]!==U||t[55]!==W?(K={label:U,icon:z,disabled:H,onClick:W},t[54]=U,t[55]=W,t[56]=K):K=t[56];let q;t[57]!==e?(q=e.formatMessage({id:"users.table.actions.delete"}),t[57]=e,t[58]=q):q=t[58];let X,Q;t[59]===Symbol.for("react.memo_cache_sentinel")?(X=a.jsx(ge.Trash,{}),Q=$e=>$e.username===GTe||c?.sub===$e.username||!Ue(ie.management),t[59]=X,t[60]=Q):(X=t[59],Q=t[60]);let Y;t[61]!==s||t[62]!==p||t[63]!==e?(Y=$e=>{const{username:Ve}=$e;s({title:e.formatMessage({id:"users.dialog.confirm_delete.title"}),description:e.formatMessage({id:"users.dialog.confirm_delete.description"},{username:Ve}),onConfirm:()=>{p(Ve)},cancelText:e.formatMessage({id:"confirm_dialog.cancel"}),confirmText:e.formatMessage({id:"confirm_dialog.ok"})})},t[61]=s,t[62]=p,t[63]=e,t[64]=Y):Y=t[64];let Z;t[65]!==q||t[66]!==Y?(Z={label:q,icon:X,disabled:Q,onClick:Y},t[65]=q,t[66]=Y,t[67]=Z):Z=t[67];let re;t[68]!==e?(re=e.formatMessage({id:"users.table.actions.change_password"}),t[68]=e,t[69]=re):re=t[69];let fe,de;t[70]===Symbol.for("react.memo_cache_sentinel")?(fe=a.jsx(ge.Password,{}),de=$e=>$e.backend!==_i.local||c?.sub!==$e.username&&!Ue(ie.management),t[70]=fe,t[71]=de):(fe=t[70],de=t[71]);let se;t[72]!==n||t[73]!==e?(se=$e=>{const{username:Ve}=$e;n({title:e.formatMessage({id:"user_profile.actions.change_password"}),content:()=>a.jsx(que,{username:Ve,isCurrentUser:Ve===c?.sub})})},t[72]=n,t[73]=e,t[74]=se):se=t[74];let le;t[75]!==re||t[76]!==se?(le={label:re,icon:fe,disabled:de,onClick:se,wrapped:!0},t[75]=re,t[76]=se,t[77]=le):le=t[77];let ee;t[78]!==e?(ee=e.formatMessage({id:"users.table.actions.audit"}),t[78]=e,t[79]=ee):ee=t[79];let J,me;t[80]===Symbol.for("react.memo_cache_sentinel")?(J=a.jsx(ge.Sort,{}),me=as(ie.management),t[80]=J,t[81]=me):(J=t[80],me=t[81]);let pe;t[82]!==o?(pe=$e=>{const{username:Ve}=$e;o(`/platform/users/audits/${Ve}`)},t[82]=o,t[83]=pe):pe=t[83];let Se;t[84]!==ee||t[85]!==pe?(Se={label:ee,icon:J,disabled:!me,onClick:pe,wrapped:!0},t[84]=ee,t[85]=pe,t[86]=Se):Se=t[86];let ve;t[87]!==e?(ve=e.formatMessage({id:"users.table.actions.revoke_tokens"}),t[87]=e,t[88]=ve):ve=t[88];let xe,qe;t[89]===Symbol.for("react.memo_cache_sentinel")?(xe=a.jsx(ge.Reset,{}),qe=as(ie.management),t[89]=xe,t[90]=qe):(xe=t[89],qe=t[90]);let Le;t[91]!==s||t[92]!==h||t[93]!==e?(Le=$e=>{const{username:Ve}=$e;s({title:e.formatMessage({id:"users.dialog.confirm_revoke_tokens.title"}),description:e.formatMessage({id:"users.dialog.confirm_revoke_tokens.description"},{username:Ve}),onConfirm:()=>{h(Ve)},cancelText:e.formatMessage({id:"confirm_dialog.cancel"}),confirmText:e.formatMessage({id:"confirm_dialog.ok"})})},t[91]=s,t[92]=h,t[93]=e,t[94]=Le):Le=t[94];let Te;t[95]!==ve||t[96]!==Le?(Te={label:ve,icon:xe,disabled:!qe,onClick:Le,wrapped:!0},t[95]=ve,t[96]=Le,t[97]=Te):Te=t[97];let je;t[98]!==K||t[99]!==Z||t[100]!==le||t[101]!==Se||t[102]!==Te?(je=[K,Z,le,Se,Te],t[98]=K,t[99]=Z,t[100]=le,t[101]=Se,t[102]=Te,t[103]=je):je=t[103];const Ge=je;let nt;t[104]===Symbol.for("react.memo_cache_sentinel")?(nt=a.jsx(Dt,{height:"100%",variant:"rounded"}),t[104]=nt):nt=t[104];let Re;t[105]===Symbol.for("react.memo_cache_sentinel")?(Re=a.jsx(Tr,{}),t[105]=Re):Re=t[105];let we;t[106]!==F||t[107]!==d||t[108]!==e||t[109]!==Ge?(we=$e=>a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{"data-testid":"toolbar-button-new-rule",text:e.formatMessage({id:"users.toolbar.new_user"}),startIcon:a.jsx(ge.Add,{}),onClick:d})}),a.jsx(Br,{autoScale:!0,orderBy:"username",columns:F,data:$e,page:0,labelDisplayedRows:qpt,rowsCount:$e.length,rowsPerPage:$e.length,rowsPerPageOptions:void 0,rowKey:"username",rowActions:Ge,stickyRowActions:!0})]}),t[106]=F,t[107]=d,t[108]=e,t[109]=Ge,t[110]=we):we=t[110];let Me;return t[111]!==r.users||t[112]!==we?(Me=a.jsx(I.Suspense,{fallback:nt,children:a.jsx(Qt,{resolve:r.users,errorElement:Re,children:we})}),t[111]=r.users,t[112]=we,t[113]=Me):Me=t[113],Me};function Opt(){return a.jsx(zue,{})}function Lpt(t){const{backend:e}=t;return a.jsx(ms,{label:e||"",size:"small",color:e!==_i.local?"primary":"default"})}function Npt(t){return{id:t,label:t}}function Fpt(t){const{roles:e}=t;return a.jsx(ks,{items:e?.map(Npt)??[],size:"small"})}function Upt(t){const{permissions:e}=t;return e?a.jsx(dk,{permissions:e}):a.jsx(a.Fragment,{})}function Bpt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function zpt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function qpt(){return""}function Vpt(){const t=he.c(37),e=Ye(),r=zn(),{pageSize:n,pageSizeOptions:s,changePageSize:i,changePage:o,getRowsCount:l,getPage:c}=Na();let u;t[0]!==e?(u=e.formatMessage({id:"audits.created_at"}),t[0]=e,t[1]=u):u=t[1];let d;t[2]!==u?(d={key:"created_at",label:u,cellRender:Gpt},t[2]=u,t[3]=d):d=t[3];let f;t[4]!==e?(f=e.formatMessage({id:"audits.action"}),t[4]=e,t[5]=f):f=t[5];let p;t[6]!==f?(p={key:"action",label:f},t[6]=f,t[7]=p):p=t[7];let m;t[8]!==e?(m=e.formatMessage({id:"audits.auth"}),t[8]=e,t[9]=m):m=t[9];let h;t[10]!==e?(h=P=>{const{auth:T}=P;return T==="allowed"?a.jsx(ms,{variant:"outlined",size:"small",color:"success",label:e.formatMessage({id:"audits.auth.allowed"})}):a.jsx(ms,{variant:"outlined",size:"small",color:"error",label:e.formatMessage({id:"audits.auth.denied"})})},t[10]=e,t[11]=h):h=t[11];let _;t[12]!==m||t[13]!==h?(_={key:"auth",label:m,cellRender:h},t[12]=m,t[13]=h,t[14]=_):_=t[14];let g;t[15]!==e?(g=e.formatMessage({id:"audits.source_ip"}),t[15]=e,t[16]=g):g=t[16];let y;t[17]!==g?(y={key:"source_ip",label:g},t[17]=g,t[18]=y):y=t[18];let b;t[19]!==d||t[20]!==p||t[21]!==_||t[22]!==y?(b=[d,p,_,y],t[19]=d,t[20]=p,t[21]=_,t[22]=y,t[23]=b):b=t[23];const x=b;let w;t[24]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(Dt,{height:"100%",variant:"rounded"}),t[24]=w):w=t[24];let C;t[25]===Symbol.for("react.memo_cache_sentinel")?(C=a.jsx(Tr,{}),t[25]=C):C=t[25];let k;t[26]!==o||t[27]!==i||t[28]!==x||t[29]!==c||t[30]!==l||t[31]!==n||t[32]!==s?(k=P=>{const{data:T,metadata:j}=P;return a.jsx(Br,{autoScale:!0,rowKey:"created_at",orderBy:"created_at",columns:x,data:T,page:c(j),labelDisplayedRows:Hpt,rowsCount:l(j),rowsPerPage:n,onRowsPerPageChange:i,rowsPerPageOptions:s,onPageChange:o(j)})},t[26]=o,t[27]=i,t[28]=x,t[29]=c,t[30]=l,t[31]=n,t[32]=s,t[33]=k):k=t[33];let A;return t[34]!==r.audits||t[35]!==k?(A=a.jsx(I.Suspense,{fallback:w,children:a.jsx(Qt,{resolve:r.audits,errorElement:C,children:k})}),t[34]=r.audits,t[35]=k,t[36]=A):A=t[36],A}function Hpt(){return""}function Gpt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}async function Wpt(){const t=$.apis.pls.tls.config;return De({options:{url:t,method:"GET"}})}async function Ypt(t){const e=$.apis.pls.tls.certificates.client,r=new FormData;return r.append("cert_file",t.cert_file[0]),De({options:{url:e,method:"POST",headers:{"content-type":"multipart/form-data"},data:r}})}async function Kpt(t){const e=$.apis.pls.tls.certificates.server,r=new FormData;return r.append("cert_file",t.cert_file[0]),r.append("key_file",t.key_file[0]),De({options:{url:e,method:"POST",headers:{"content-type":"multipart/form-data"},data:r}})}async function Qpt(t){const e=$.apis.pls.tls.config;return De({options:{url:e,method:"PUT",data:JSON.stringify(t)}})}async function Zpt(){const t=$.apis.authenticationStrategies.backendList;return De({options:{url:t,method:"GET"}})}async function Xpt(){const t=$.apis.authenticationStrategies.ldap;return De({options:{url:t,method:"GET"}})}async function Jpt(){const t=$.apis.authenticationStrategies.radius;return De({options:{url:t,method:"GET"}})}async function emt(){const t=$.apis.authenticationStrategies.openId;return De({options:{url:t,method:"GET"}})}async function tmt(){const t=as([ie.configuration]),[e,r,n,s,i,o,l,c,u]=await Promise.all([Zpt(),Xpt(),Jpt(),emt(),Pie(),t?n4e():null,P4e(),smt(),amt()]);return{backendList:e,ldapConfig:r,radiusConfig:n,openIdConfig:s,authConfiguration:o,rolesList:i,systemUsageTerms:l,radiusLocalConfig:c,ldapLocalConfig:u}}async function rmt(){const t=$.apis.pls.bootPartitions;return De({options:{url:t,method:"GET"}})}async function nmt(t){const e=$.apis.pls.bootPartitions;return De({options:{url:e,method:"PUT",data:{default:t}}})}async function smt(){const t=$.apis.authenticationStrategies.localRadius;return De({options:{url:t,method:"GET"}})}async function imt(t){const e=$.apis.authenticationStrategies.localRadius;return De({options:{url:e,method:"PUT",data:t}})}async function omt(){const t=$.apis.authenticationStrategies.localRadius;return De({options:{url:t,method:"DELETE"}})}async function amt(){const t=$.apis.authenticationStrategies.localLdap;return De({options:{url:t,method:"GET"}})}async function lmt(t){const e=$.apis.authenticationStrategies.localLdap;return De({options:{url:e,method:"PUT",data:t}})}async function cmt(){const t=$.apis.authenticationStrategies.localLdap;return De({options:{url:t,method:"DELETE"}})}async function umt({request:t}){const e=await t.json(),r=await Qpt(e);return xt(r)||Nt(),Ft(r)}async function dmt({request:t}){const n={cert_file:[(await t.formData()).get("cert_file")]},s=await Ypt(n);return xt(s)||Nt(),Ft(s)}async function fmt({request:t}){const e=await t.formData(),r=e.get("cert_file"),n=e.get("key_file"),i=await Kpt({cert_file:[r],key_file:[n]});return xt(i)||Nt(),Ft(i)}async function pmt({request:t}){const e=await t.json(),r=await w4e(e);return xt(r)||Nt(),Ft(r)}async function mmt({request:t}){const e=await t.json(),r=await C4e(e);return xt(r)||Nt(),Ft(r)}async function hmt({request:t}){const e=await t.json(),r=await imt(e);return xt(r)||Nt(),r}async function gmt(){const t=await omt();return xt(t)||Nt(),t}async function _mt({request:t}){const e=await t.json(),r=await A4e(e);return xt(r)||Nt(),Ft(r)}async function vmt({request:t}){const e=await t.json(),r=await lmt(e);return xt(r)||Nt(),r}async function ymt(){const t=await cmt();return xt(t)||Nt(),t}async function bmt({request:t}){const e=await t.json(),r=await k4e(e);return xt(r)||Nt(),Ft(r)}async function xmt({request:t}){const e=await t.json(),r=await S4e(e);return xt(r)||Nt(),Ft(r)}async function Smt({request:t}){const e=await t.json(),r=await j4e(e);return xt(r)||Nt(),Ft(r)}async function wmt({request:t}){const{defaultPartition:e}=await t.json(),r=await nmt(e);return Ft(r)}async function Cmt(t){const e=`${$.apis.pls.roles}/${t}`;return De({options:{url:e,method:"GET"}})}async function Amt(t){const e=$.apis.pls.roles;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function kmt({id:t,...e}){const r=`${$.apis.pls.roles}/${t}`;return De({options:{url:r,method:"PUT",data:JSON.stringify(e.permissions)}})}async function Mmt(t){const e=`${$.apis.pls.roles}/${t}`;return De({options:{url:e,method:"DELETE"}})}const Pmt=Pr();async function jmt({request:t}){const e=await t.json(),r=await Amt(e);return xt(r)||Nt(),Ft(r)}async function Tmt({request:t}){const e=await t.json(),r=await kmt(e);return xt(r)||Nt(),Ft(r)}async function Emt({request:t}){const{id:e}=await t.json(),r=await Mmt(e);return xt(r)?Ar(r.error.detail||Pmt.formatMessage({id:"roles.delete.message_ko"})):Nt(),Ft(r)}async function Rmt({request:t}){const e=await t.json(),r=await t4e({values:e});if(!xt(r))throw Gb();return Ft(r)}async function Imt(){const t=$.apis.pls.users;return De({options:{url:t,method:"GET"}})}async function Dmt(t){const e=`${$.apis.pls.users}/${t}`;return De({options:{url:e,method:"GET"}})}async function $mt(t){const e=$.apis.pls.users;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function Vue({username:t,...e}){const r=`${$.apis.pls.users}/${t}`;return De({options:{url:r,method:"PATCH",data:JSON.stringify(e)}})}async function Omt(t){const e=`${$.apis.pls.users}/${t}`;return De({options:{url:e,method:"DELETE"}})}const Lmt=Pr();async function Nmt({request:t}){const e=await t.json(),r=await $mt(R4e(e));return xt(r)||Nt(),Ft(r)}async function Fmt({request:t}){const e=await t.json(),r=await Vue(e);return xt(r)||Nt(),Ft(r)}async function Umt({request:t}){const e=await t.json(),r=await Vue(e);return xt(r)||Nt(),Ft(r)}async function Bmt({request:t}){const{username:e}=await t.json(),r=await Omt(e);return xt(r)?Ar(r.error.detail||Lmt.formatMessage({id:"users.delete.message_ko"})):Nt(),Ft(r)}async function zmt(t){return Wt({loaderArgs:t,deferred:!0,data:{configuration:Wpt()}})}async function qmt(t){return Wt({loaderArgs:t,deferred:!0,data:{config:tmt()}})}async function Vmt(t){return Wt({loaderArgs:t,deferred:!0,data:{bootPartitions:rmt()}})}async function Hmt(t){return Wt({loaderArgs:t,deferred:!0,data:{roles:Pie()}})}async function Gmt(t){const{id:e}=t.params;if(!e)throw Li({type:mn.NOT_FOUND});return Wt({loaderArgs:t,deferred:!0,data:{role:Cmt(e)}})}async function Wmt(t){return Wt({loaderArgs:t,deferred:!0,data:{users:Imt()}})}async function Ymt(t){const{username:e}=t.params;if(!e)throw Li({type:mn.NOT_FOUND});return Wt({loaderArgs:t,deferred:!0,data:{user:Dmt(e)}})}function Kmt(t){const e=he.c(31),{path:r}=t,n=zn(),{data:s,submit:i,state:o}=gr(),{data:l,submit:c,state:u}=gr(),d=ys();let f;e[0]!==i?(f=async R=>{R&&i(R,{method:"POST",encType:"application/json",action:"apply"})},e[0]=i,e[1]=f):f=e[1];const p=f;let m;e[2]!==c||e[3]!==d||e[4]!==r?(m=async()=>{c(null,{method:"POST",encType:"application/json",action:"factory-reset"}),d(`${$.urls.platform}/${r}`)},e[2]=c,e[3]=d,e[4]=r,e[5]=m):m=e[5];const h=m;let _;e:{if(xt(s)||xt(l)){let R;e[6]===Symbol.for("react.memo_cache_sentinel")?(R={maxWidth:"1000px"},e[6]=R):R=e[6];let D;e[7]!==s?(D=a.jsx(Xr,{data:s}),e[7]=s,e[8]=D):D=e[8];let O;e[9]!==l?(O=a.jsx(Xr,{data:l}),e[9]=l,e[10]=O):O=e[10];let N;e[11]!==D||e[12]!==O?(N=a.jsxs(te,{nowrap:!0,sx:R,children:[D,O]}),e[11]=D,e[12]=O,e[13]=N):N=e[13],_=N;break e}_=null}const g=_,y=u!=="idle";let b;e[14]!==h||e[15]!==y?(b={name:"Factory Reset",onClick:h,variant:"outlined",loading:y},e[14]=h,e[15]=y,e[16]=b):b=e[16];const x=o!=="idle";let w;e[17]!==p||e[18]!==x?(w={name:"Apply and Persist",onClick:p,loading:x,disabledOnErrors:!0},e[17]=p,e[18]=x,e[19]=w):w=e[19];let C;e[20]!==b||e[21]!==w?(C=[b,w],e[20]=b,e[21]=w,e[22]=C):C=e[22];const k=C;let A;e[23]===Symbol.for("react.memo_cache_sentinel")?(A=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),e[23]=A):A=e[23];let P;e[24]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(Tr,{}),e[24]=P):P=e[24];let T;e[25]!==g||e[26]!==k?(T=R=>{const[D,O,N]=R;return a.jsx(nue,{$ref:N,data:O,schema:D,toolbarActions:k,uiSchema:null,actionError:g},N)},e[25]=g,e[26]=k,e[27]=T):T=e[27];let j;return e[28]!==n.configuration||e[29]!==T?(j=a.jsx(I.Suspense,{fallback:A,children:a.jsx(Qt,{resolve:n.configuration,errorElement:P,children:T})}),e[28]=n.configuration,e[29]=T,e[30]=j):j=e[30],j}async function Qmt({service:t}){const e=$.apis.shippingConfig(t);return De({options:{url:e,method:"GET"}})}async function Zmt({service:t,values:e}){const r=$.apis.shippingConfig(t);return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}async function Xmt({service:t}){const e=$.apis.shippingFactoryReset.replace("{service}",t);return De({options:{url:e,method:"POST"}})}function Jmt({service:t}){return async({request:e})=>{const r=await e.json(),n=await Zmt({service:t,values:r});return xt(n)?Ar():Nt(),Ft(n)}}function eht({service:t}){return async()=>{const e=await Xmt({service:t});return xt(e)?Ar():Nt(),Ft(e)}}function tht({service:t}){return async e=>Wt({loaderArgs:e,deferred:!0,data:{configuration:Promise.all([x4e(),Qmt({service:t}),M4e[t]])}})}function eD({service:t,path:e}){return{path:e,loader:tht({service:t}),element:a.jsx(Kmt,{path:e},e),shouldRevalidate:({actionResult:r})=>!xt(r),handle:vr({labelIntl:`route.platform.${e}`,to:`${$.urls.platform}/${e}`}),children:[{path:"apply",action:Jmt({service:t}),loader:()=>rt("..")},{path:"factory-reset",action:eht({service:t}),loader:()=>rt("..")}]}}const rht={path:"platform",handle:vr({labelIntl:"route.platform",icon:a.jsx(ge.Platform,{})}),children:[{element:a.jsx(Or,{center:!0}),children:[{path:"auth",handle:vr({labelIntl:"route.platform.auth",to:$.urls.platformAuthentication}),element:a.jsx(Fft,{}),loader:qmt,children:[{index:!0,element:a.jsx(ur,{to:"strategies",replace:!0})},{path:"strategies",element:a.jsx(mpt,{}),children:[{path:"backends-update",action:pmt,loader:()=>rt("..")},{path:"radius-config-update",action:mmt,loader:()=>rt("..")},{path:"radius-local-config-update",action:hmt,loader:()=>rt("..")},{path:"radius-local-config-reset",action:gmt,loader:()=>rt("..")},{path:"ldap-config-update",action:_mt,loader:()=>rt("..")},{path:"ldap-local-config-update",action:vmt,loader:()=>rt("..")},{path:"ldap-local-config-reset",action:ymt,loader:()=>rt("..")},{path:"openid-config-update",action:bmt,loader:()=>rt("..")}]},{path:"auth-config",element:a.jsx(Hft,{}),children:[{path:"auth-config-update",action:xmt,loader:()=>rt("..")}]},{path:"terms",element:a.jsx(bpt,{}),children:[{path:"system-usage-terms-update",action:Smt,loader:()=>rt("..")}]}]}]},{element:a.jsx(Or,{transparent:!0,center:!0}),children:[{path:"tls",handle:vr({labelIntl:"route.platform.tls",to:$.urls.platformTls}),loader:zmt,element:a.jsx(Rpt,{}),children:[{path:"configuration-update",action:umt,loader:()=>rt("..")},{path:"client-certificate-update",action:dmt,loader:()=>rt("..")},{path:"server-certificate-update",action:fmt,loader:()=>rt("..")}]},so(ue.PLS,{dbCluster:!0})]},{element:a.jsx(Or,{fullHeight:!0}),children:[{path:"users",handle:vr({labelIntl:"route.platform.users",to:$.urls.platformUsers}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:Wmt,element:a.jsx($pt,{})},{path:":username",loader:Ymt,element:a.jsx(ur,{to:$.urls.platformUsers,replace:!0})},{path:"audits/:username",loader:uqe,element:a.jsx(Vpt,{}),handle:t=>{const e=t.params.username;return vr({labelIntl:"route.platform.audit",to:$.urls.platformUsersAudits,captionIntl:"route.platform.audit.caption",captionIntlParams:{username:e}})}},{path:"create",action:Nmt,loader:()=>rt("..")},{path:"update",action:Fmt,loader:()=>rt("..")},{path:"password-change",action:Umt,loader:()=>rt("..")},{path:"current-user-password-change",action:Rmt,loader:()=>rt("..")},{path:"delete",action:Bmt,loader:()=>rt("..")},{path:"revoke-tokens",action:xrt,loader:()=>rt("..")}]},{path:"roles",handle:vr({labelIntl:"route.platform.roles",to:$.urls.platformRoles}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:Hmt,element:a.jsx(Cpt,{})},{path:":id",loader:Gmt,element:a.jsx(ur,{to:$.urls.platformRoles,replace:!0})},{path:"create",action:jmt,loader:()=>rt("..")},{path:"update",action:Tmt,loader:()=>rt("..")},{path:"delete",action:Emt,loader:()=>rt("..")}]},eD({service:ue.FLUENTBIT,path:"log-shipping"}),eD({service:ue.PROMETHEUS,path:"kpi-shipping"}),eD({service:ue.ALERTMANAGER,path:"alert-shipping"})]}]},nht=()=>{const t=he.c(43),e=Ye(),{menuOpen:r,menuClose:n,dialogOpen:s}=Jt();let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=Ih(),t[0]=i):i=t[0];const o=i;let l;t[1]!==s||t[2]!==e||t[3]!==n||t[4]!==r?(l=R=>{r({anchorEl:R.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:[{label:e.formatMessage({id:"user_profile.actions.change_password"}),value:"change-password",icon:a.jsx(ge.Password,{}),disabled:o?.backend!==_i.local,onClick:()=>{n(),o?.sub&&s({title:e.formatMessage({id:"user_profile.actions.change_password"}),content:()=>a.jsx(que,{username:o.sub,isCurrentUser:!0})})}}]})},t[1]=s,t[2]=e,t[3]=n,t[4]=r,t[5]=l):l=t[5];const c=l;let u;t[6]!==e?(u=e.formatMessage({id:"user_profile.title"}),t[6]=e,t[7]=u):u=t[7];let d;t[8]===Symbol.for("react.memo_cache_sentinel")?(d=a.jsx(ge.More,{}),t[8]=d):d=t[8];let f;t[9]!==c?(f=a.jsx(Zr,{onClick:c,"data-testid":"dropdown-user-actions",children:d}),t[9]=c,t[10]=f):f=t[10];let p;t[11]!==e?(p=e.formatMessage({id:"user_profile.username"}),t[11]=e,t[12]=p):p=t[12];let m;t[13]!==p?(m=a.jsx(_e,{fontWeight:"600",children:p}),t[13]=p,t[14]=m):m=t[14];let h;t[15]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(_e,{children:o?.sub}),t[15]=h):h=t[15];let _;t[16]!==m?(_=a.jsxs(te,{direction:"column",align:"flex-start",spacing:0,children:[m,h]}),t[16]=m,t[17]=_):_=t[17];let g;t[18]!==e?(g=e.formatMessage({id:"user_profile.fullname"}),t[18]=e,t[19]=g):g=t[19];let y;t[20]!==g?(y=a.jsx(_e,{fontWeight:"600",children:g}),t[20]=g,t[21]=y):y=t[21];let b;t[22]===Symbol.for("react.memo_cache_sentinel")?(b=a.jsx(_e,{children:o?.fullname}),t[22]=b):b=t[22];let x;t[23]!==y?(x=a.jsxs(te,{direction:"column",align:"flex-start",spacing:0,children:[y,b]}),t[23]=y,t[24]=x):x=t[24];let w;t[25]!==e?(w=e.formatMessage({id:"user_profile.backend"}),t[25]=e,t[26]=w):w=t[26];let C;t[27]!==w?(C=a.jsx(_e,{fontWeight:"600",children:w}),t[27]=w,t[28]=C):C=t[28];let k;t[29]===Symbol.for("react.memo_cache_sentinel")?(k=a.jsx(bi,{status:o?.backend===_i.radius?nn.WARNING:nn.DEFAULT,asChip:!0,label:o?.backend||""}),t[29]=k):k=t[29];let A;t[30]!==C?(A=a.jsxs(te,{direction:"column",align:"flex-start",spacing:0,children:[C,k]}),t[30]=C,t[31]=A):A=t[31];let P;t[32]!==e?(P=o?.permissions&&a.jsxs(te,{direction:"column",align:"flex-start",spacing:0,children:[a.jsx(_e,{fontWeight:"600",children:e.formatMessage({id:"user_profile.permissions"})}),a.jsx(dk,{permissions:o.permissions})]}),t[32]=e,t[33]=P):P=t[33];let T;t[34]!==x||t[35]!==A||t[36]!==P||t[37]!==_?(T=a.jsx(Kt,{children:a.jsxs(te,{direction:"column",spacing:2,children:[_,x,A,P]})}),t[34]=x,t[35]=A,t[36]=P,t[37]=_,t[38]=T):T=t[38];let j;return t[39]!==T||t[40]!==u||t[41]!==f?(j=a.jsx(a.Fragment,{children:a.jsx(pr,{title:u,headerActionsComponent:f,children:T})}),t[39]=T,t[40]=u,t[41]=f,t[42]=j):j=t[42],j},sht={element:a.jsx(Or,{center:!0}),children:[{path:"profile",element:a.jsx(nht,{}),handle:vr({labelIntl:"route.profile",icon:a.jsx(ge.Profile,{})})}]};function iht(){const t=he.c(11),e=Ye(),r=zn();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Nc,{variant:"indeterminate",type:"circular"}),t[0]=n):n=t[0];let s;t[1]!==e?(s=e.formatMessage({id:"restart.progress.title"}),t[1]=e,t[2]=s):s=t[2];let i;t[3]!==s?(i=a.jsx(G0,{fullWidth:!0,fullHeight:!0,children:a.jsxs(te,{direction:"row",justify:"center",align:"center",spacing:2,fullHeight:!0,children:[n,a.jsx(_e,{fontSize:"1.2em",children:s})]})}),t[3]=s,t[4]=i):i=t[4];let o;t[5]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(ur,{to:$.urls.home,replace:!0}),t[5]=o):o=t[5];let l;t[6]!==r.restarted?(l=a.jsx(Qt,{resolve:r.restarted,children:o}),t[6]=r.restarted,t[7]=l):l=t[7];let c;return t[8]!==i||t[9]!==l?(c=a.jsx(I.Suspense,{fallback:i,children:l}),t[8]=i,t[9]=l,t[10]=c):c=t[10],c}async function oht(t){const e=$.apis.swUpdate.upload,r=new FormData;return r.append("file",t),De({options:{url:e,method:"POST",headers:{"Content-Type":"multipart/form-data"},data:r}})}function aht(){const t=$.apis.pls.reboot;return De({options:{url:t,method:"POST"}})}async function lht(){const t=$.ws.swUpdate;return De({type:Od.WS,options:{url:t}})}async function cht(){const t=await aht();if(xt(t))Ar();else return Ji.setRestartStatus(),rt($.urls.restart);return Ft(t)}const uht=1e3*5;async function dht(){return new Promise(t=>{async function e(){try{return await Wae(),Ji.deleteRestartStatus(),t(!0)}catch{r()}}function r(){setTimeout(()=>{e()},uht)}r()})}async function fht(t){return Ji.getRestartStatus()?Wt({loaderArgs:t,deferred:!0,data:{restarted:dht()}}):rt($.urls.home)}const pht={path:"restart",element:a.jsx(iht,{}),loader:fht,action:cht},Bv="DEFAULT_X_AXIS_KEY",y7="DEFAULT_Y_AXIS_KEY",mht={top:20,bottom:20,left:20,right:20},hht=45,ght=25,Hue=20;class _ht{constructor(e){this.value=e,this.listeners=new Set}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.value;update=e=>{const r=e(this.value);r!==this.value&&(this.value=r,this.listeners.forEach(n=>n(r)))}}const fk=({params:t,store:e})=>{I.useEffect(()=>{e.update(n=>ce({},n,{animation:ce({},n.animation,{skip:t.skipAnimation})}))},[e,t.skipAnimation]);const r=I.useCallback(()=>{let n=!1;return e.update(s=>ce({},s,{animation:ce({},s.animation,{skipAnimationRequests:s.animation.skipAnimationRequests+1})})),()=>{n||(n=!0,e.update(s=>ce({},s,{animation:ce({},s.animation,{skipAnimationRequests:s.animation.skipAnimationRequests-1})})))}},[e]);return ei(()=>{if(typeof window>"u"||!window?.matchMedia)return;let s;const i=l=>{l.matches?s=r():s?.()},o=window.matchMedia("(prefers-reduced-motion)");return i(o),o.addEventListener("change",i),()=>{o.removeEventListener("change",i)}},[r,e]),{instance:{disableAnimation:r}}};fk.params={skipAnimation:!0};fk.getDefaultizedParams=({params:t})=>ce({},t,{skipAnimation:t.skipAnimation??!1});fk.getInitialState=({skipAnimation:t})=>({animation:{skip:t,skipAnimationRequests:0}});var x3=Symbol("NOT_FOUND");function vht(t,e=`expected a function, instead received ${typeof t}`){if(typeof t!="function")throw new TypeError(e)}function yht(t,e=`expected an object, instead received ${typeof t}`){if(typeof t!="object")throw new TypeError(e)}function bht(t,e="expected all items to be functions, instead received the following types: "){if(!t.every(r=>typeof r=="function")){const r=t.map(n=>typeof n=="function"?`function ${n.name||"unnamed"}()`:typeof n).join(", ");throw new TypeError(`${e}[${r}]`)}}var rJ=t=>Array.isArray(t)?t:[t];function xht(t){const e=Array.isArray(t[0])?t[0]:t;return bht(e,"createSelector expects all input-selectors to be functions, but received the following types: "),e}function Sht(t,e){const r=[],{length:n}=t;for(let s=0;s<n;s++)r.push(t[s].apply(null,e));return r}function wht(t){let e;return{get(r){return e&&t(e.key,r)?e.value:x3},put(r,n){e={key:r,value:n}},getEntries(){return e?[e]:[]},clear(){e=void 0}}}function Cht(t,e){let r=[];function n(l){const c=r.findIndex(u=>e(l,u.key));if(c>-1){const u=r[c];return c>0&&(r.splice(c,1),r.unshift(u)),u.value}return x3}function s(l,c){n(l)===x3&&(r.unshift({key:l,value:c}),r.length>t&&r.pop())}function i(){return r}function o(){r=[]}return{get:n,put:s,getEntries:i,clear:o}}var Aht=(t,e)=>t===e;function kht(t){return function(r,n){if(r===null||n===null||r.length!==n.length)return!1;const{length:s}=r;for(let i=0;i<s;i++)if(!t(r[i],n[i]))return!1;return!0}}function Mht(t,e){const r=typeof e=="object"?e:{equalityCheck:e},{equalityCheck:n=Aht,maxSize:s=1,resultEqualityCheck:i}=r,o=kht(n);let l=0;const c=s<=1?wht(o):Cht(s,o);function u(){let d=c.get(arguments);if(d===x3){if(d=t.apply(null,arguments),l++,i){const p=c.getEntries().find(m=>i(m.value,d));p&&(d=p.value,l!==0&&l--)}c.put(arguments,d)}return d}return u.clearCache=()=>{c.clear(),u.resetResultsCount()},u.resultsCount=()=>l,u.resetResultsCount=()=>{l=0},u}var Pht=class{constructor(t){this.value=t}deref(){return this.value}},jht=typeof WeakRef<"u"?WeakRef:Pht,Tht=0,nJ=1;function bw(){return{s:Tht,v:void 0,o:null,p:null}}function Gue(t,e={}){let r=bw();const{resultEqualityCheck:n}=e;let s,i=0;function o(){let l=r;const{length:c}=arguments;for(let f=0,p=c;f<p;f++){const m=arguments[f];if(typeof m=="function"||typeof m=="object"&&m!==null){let h=l.o;h===null&&(l.o=h=new WeakMap);const _=h.get(m);_===void 0?(l=bw(),h.set(m,l)):l=_}else{let h=l.p;h===null&&(l.p=h=new Map);const _=h.get(m);_===void 0?(l=bw(),h.set(m,l)):l=_}}const u=l;let d;if(l.s===nJ)d=l.v;else if(d=t.apply(null,arguments),i++,n){const f=s?.deref?.()??s;f!=null&&n(f,d)&&(d=f,i!==0&&i--),s=typeof d=="object"&&d!==null||typeof d=="function"?new jht(d):d}return u.s=nJ,u.v=d,d}return o.clearCache=()=>{r=bw(),o.resetResultsCount()},o.resultsCount=()=>i,o.resetResultsCount=()=>{i=0},o}function Wue(t,...e){const r=typeof t=="function"?{memoize:t,memoizeOptions:e}:t,n=(...s)=>{let i=0,o=0,l,c={},u=s.pop();typeof u=="object"&&(c=u,u=s.pop()),vht(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const d={...r,...c},{memoize:f,memoizeOptions:p=[],argsMemoize:m=Gue,argsMemoizeOptions:h=[]}=d,_=rJ(p),g=rJ(h),y=xht(s),b=f(function(){return i++,u.apply(null,arguments)},..._),x=m(function(){o++;const C=Sht(y,arguments);return l=b.apply(null,C),l},...g);return Object.assign(x,{resultFunc:u,memoizedResultFunc:b,dependencies:y,dependencyRecomputations:()=>o,resetDependencyRecomputations:()=>{o=0},lastResult:()=>l,recomputations:()=>i,resetRecomputations:()=>{i=0},memoize:f,argsMemoize:m})};return Object.assign(n,{withTypes:()=>n}),n}var Eht=Wue(Gue),Rht=Object.assign((t,e=Eht)=>{yht(t,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof t}`);const r=Object.keys(t),n=r.map(i=>t[i]);return e(n,(...i)=>i.reduce((o,l,c)=>(o[r[c]]=l,o),{}))},{withTypes:()=>Rht});const Iht=Wue({memoize:Mht,memoizeOptions:{maxSize:1,equalityCheck:Object.is}}),sJ=new WeakMap,Vt=(...t)=>(r,...n)=>{const s=r.cacheKey;let i=sJ.get(s);i||(i=new Map,sJ.set(s,i));const o=i.get(t);if(o)return o(r,...n);const l=Iht(...t);return i.set(t,l),l(r,...n)},Dht=t=>t.animation,$ht=Vt([Dht],t=>t.skip||t.skipAnimationRequests>0);function Oht(t){return h_(t).defaultView||window}var tD={exports:{}},rD={},nD={exports:{}},sD={};var iJ;function Lht(){if(iJ)return sD;iJ=1;var t=Ph();function e(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var r=typeof Object.is=="function"?Object.is:e,n=t.useState,s=t.useEffect,i=t.useLayoutEffect,o=t.useDebugValue;function l(f,p){var m=p(),h=n({inst:{value:m,getSnapshot:p}}),_=h[0].inst,g=h[1];return i(function(){_.value=m,_.getSnapshot=p,c(_)&&g({inst:_})},[f,m,p]),s(function(){return c(_)&&g({inst:_}),f(function(){c(_)&&g({inst:_})})},[f]),o(m),m}function c(f){var p=f.getSnapshot;f=f.value;try{var m=p();return!r(f,m)}catch{return!0}}function u(f,p){return p()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:l;return sD.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:d,sD}var oJ;function Nht(){return oJ||(oJ=1,nD.exports=Lht()),nD.exports}var aJ;function Fht(){if(aJ)return rD;aJ=1;var t=Ph(),e=Nht();function r(u,d){return u===d&&(u!==0||1/u===1/d)||u!==u&&d!==d}var n=typeof Object.is=="function"?Object.is:r,s=e.useSyncExternalStore,i=t.useRef,o=t.useEffect,l=t.useMemo,c=t.useDebugValue;return rD.useSyncExternalStoreWithSelector=function(u,d,f,p,m){var h=i(null);if(h.current===null){var _={hasValue:!1,value:null};h.current=_}else _=h.current;h=l(function(){function y(k){if(!b){if(b=!0,x=k,k=p(k),m!==void 0&&_.hasValue){var A=_.value;if(m(A,k))return w=A}return w=k}if(A=w,n(x,k))return A;var P=p(k);return m!==void 0&&m(A,P)?(x=k,A):(x=k,w=P)}var b=!1,x,w,C=f===void 0?null:f;return[function(){return y(d())},C===null?void 0:function(){return y(C())}]},[d,f,p,m]);var g=s(u,h[0],h[1]);return o(function(){_.hasValue=!0,_.value=g},[g]),c(g),g},rD}var lJ;function Uht(){return lJ||(lJ=1,tD.exports=Fht()),tD.exports}var Bht=Uht();const zht=Object.is,qr=(t,e,r=[],n=zht)=>{const s=i=>e(i,...r);return Bht.useSyncExternalStoreWithSelector(t.subscribe,t.getSnapshot,t.getSnapshot,s,n)},oc=t=>t.cartesianAxis?.x,Hc=t=>t.cartesianAxis?.y,qht=Vt([Hc],t=>(t??[]).reduce((e,r)=>r.position==="left"?e+(r.width||0)+(r.zoom?.slider.enabled?r.zoom.slider.size:0):e,0)),Vht=Vt([Hc],t=>(t??[]).reduce((e,r)=>r.position==="right"?e+(r.width||0)+(r.zoom?.slider.enabled?r.zoom.slider.size:0):e,0)),Hht=Vt([oc],t=>(t??[]).reduce((e,r)=>r.position==="top"?e+(r.height||0)+(r.zoom?.slider.enabled?r.zoom.slider.size:0):e,0)),Ght=Vt([oc],t=>(t??[]).reduce((e,r)=>r.position==="bottom"?e+(r.height||0)+(r.zoom?.slider.enabled?r.zoom.slider.size:0):e,0)),Wht=t=>t.dimensions,Yue=t=>t.dimensions.width,Kue=t=>t.dimensions.height,Yht=t=>t.dimensions.margin.top,Kht=t=>t.dimensions.margin.right,Qht=t=>t.dimensions.margin.bottom,Zht=t=>t.dimensions.margin.left,vl=Vt([Yue,Kue,Yht,Kht,Qht,Zht,Hht,Vht,Ght,qht],(t,e,r,n,s,i,o,l,c,u)=>({width:t-i-n-u-l,left:i+u,right:n+l,height:e-r-s-o-c,top:r+o,bottom:s+c})),Que=Vt([Wht],t=>({width:t.propsWidth,height:t.propsHeight})),Xht=Vt([Yue,Kue],(t,e)=>({width:t,height:e}));function Zue(t,e){return typeof t=="number"?{top:t,bottom:t,left:t,right:t}:e?ce({},e,t):t}const Jht=10,pk=({params:t,store:e,svgRef:r})=>{const n=t.width!==void 0&&t.height!==void 0,s=I.useRef({displayError:!1,initialCompute:!0,computeRun:0}),[i,o]=I.useState(0),[l,c]=I.useState(0),u=I.useCallback(()=>{const h=r?.current;if(!h)return{};const g=Oht(h).getComputedStyle(h),y=Math.floor(parseFloat(g.height))||0,b=Math.floor(parseFloat(g.width))||0;return e.update(x=>x.dimensions.width===b&&x.dimensions.height===y?x:ce({},x,{dimensions:{margin:{top:t.margin.top,right:t.margin.right,bottom:t.margin.bottom,left:t.margin.left},width:t.width??b,height:t.height??y,propsWidth:t.width,propsHeight:t.height}})),{height:y,width:b}},[e,r,t.height,t.width,t.margin.left,t.margin.right,t.margin.top,t.margin.bottom]);I.useEffect(()=>{e.update(h=>{const _=t.width??h.dimensions.width,g=t.height??h.dimensions.height;return ce({},h,{dimensions:{margin:{top:t.margin.top,right:t.margin.right,bottom:t.margin.bottom,left:t.margin.left},width:_,height:g,propsHeight:t.height,propsWidth:t.width}})})},[e,t.height,t.width,t.margin.left,t.margin.right,t.margin.top,t.margin.bottom]),I.useEffect(()=>{s.current.displayError=!0},[]),ei(()=>{if(n||!s.current.initialCompute||s.current.computeRun>Jht)return;const h=u();h.width!==i||h.height!==l?(s.current.computeRun+=1,h.width!==void 0&&o(h.width),h.height!==void 0&&c(h.height)):s.current.initialCompute&&(s.current.initialCompute=!1)},[l,i,u,n]),ei(()=>{if(n)return()=>{};u();const h=r.current;if(typeof ResizeObserver>"u")return()=>{};let _;const g=new ResizeObserver(()=>{_=requestAnimationFrame(()=>{u()})});return h&&g.observe(h),()=>{_&&cancelAnimationFrame(_),h&&g.unobserve(h)}},[u,n,r]);const d=qr(e,vl),f=I.useCallback(h=>h>=d.left-1&&h<=d.left+d.width,[d.left,d.width]),p=I.useCallback(h=>h>=d.top-1&&h<=d.top+d.height,[d.height,d.top]);return{instance:{isPointInside:I.useCallback((h,_,g)=>g&&"closest"in g&&g.closest("[data-drawing-container]")?!0:f(h)&&p(_),[f,p]),isXInside:f,isYInside:p}}};pk.params={width:!0,height:!0,margin:!0};pk.getDefaultizedParams=({params:t})=>ce({},t,{margin:Zue(t.margin,mht)});pk.getInitialState=({width:t,height:e,margin:r})=>({dimensions:{margin:r,width:t??0,height:e??0,propsWidth:t,propsHeight:e}});const b7=({params:t,store:e})=>(ei(()=>{e.update(r=>ce({},r,{experimentalFeatures:t.experimentalFeatures}))},[e,t.experimentalFeatures]),{});b7.params={experimentalFeatures:!0};b7.getInitialState=({experimentalFeatures:t})=>({experimentalFeatures:t});const egt=t=>t.experimentalFeatures,mk=Vt([egt],t=>!!t?.preferStrictDomainInLineCharts);let cJ=0;const tgt=()=>(cJ+=1,`mui-chart-${cJ}`),x7=({params:t,store:e})=>(I.useEffect(()=>{e.update(r=>t.id===void 0||t.id===r.id.providedChartId&&r.id.chartId!==void 0?r:ce({},r,{id:ce({},r.id,{chartId:t.id??tgt()})}))},[e,t.id]),{});x7.params={id:!0};x7.getInitialState=({id:t})=>({id:{chartId:t,providedChartId:t}});const rgt=t=>t.id,ngt=Vt([rgt],t=>t.chartId),sgt=["#4254FB","#FFB422","#FA4F58","#0DBEFF","#22BF75","#FA83B4","#FF7511"],igt=["#495AFB","#FFC758","#F35865","#30C8FF","#44CE8D","#F286B3","#FF8C39"],Xue=t=>t==="dark"?igt:sgt,Jue=({series:t,colors:e,seriesConfig:r,dataset:n})=>{const s={};t.forEach((o,l)=>{const c=r[o.type].getSeriesWithDefaultValues(o,l,e),u=c.id;if(s[o.type]===void 0&&(s[o.type]={series:{},seriesOrder:[]}),s[o.type]?.series[u]!==void 0)throw new Error(`MUI X Charts: series' id "${u}" is not unique.`);s[o.type].series[u]=c,s[o.type].seriesOrder.push(u)});const i={};return Object.keys(r).forEach(o=>{const l=s[o];l!==void 0&&(i[o]=r[o]?.seriesProcessor?.(l,n)??s[o])}),i},hk=({params:t,store:e,seriesConfig:r})=>{const{series:n,dataset:s,theme:i,colors:o}=t,l=I.useRef(!0);return I.useEffect(()=>{if(l.current){l.current=!1;return}e.update(c=>ce({},c,{series:ce({},c.series,{processedSeries:Jue({series:n,colors:typeof o=="function"?o(i):o,seriesConfig:r,dataset:s})})}))},[o,s,n,i,r,e]),{}};hk.params={dataset:!0,series:!0,colors:!0,theme:!0};const ogt=[];hk.getDefaultizedParams=({params:t})=>ce({},t,{series:t.series?.length?t.series:ogt,colors:t.colors??Xue,theme:t.theme??"light"});hk.getInitialState=({series:t=[],colors:e,theme:r,dataset:n},s,i)=>({series:{seriesConfig:i,processedSeries:Jue({series:t,colors:typeof e=="function"?e(r):e,seriesConfig:i,dataset:n})}});const ede=t=>t.series,Mo=Vt([ede],t=>t.processedSeries),Gc=Vt([ede],t=>t.seriesConfig),agt={abort:!0,animationcancel:!0,animationend:!0,animationiteration:!0,animationstart:!0,auxclick:!0,beforeinput:!0,beforetoggle:!0,blur:!0,cancel:!0,canplay:!0,canplaythrough:!0,change:!0,click:!0,close:!0,compositionend:!0,compositionstart:!0,compositionupdate:!0,contextlost:!0,contextmenu:!0,contextrestored:!0,copy:!0,cuechange:!0,cut:!0,dblclick:!0,drag:!0,dragend:!0,dragenter:!0,dragleave:!0,dragover:!0,dragstart:!0,drop:!0,durationchange:!0,emptied:!0,ended:!0,error:!0,focus:!0,focusin:!0,focusout:!0,formdata:!0,gotpointercapture:!0,input:!0,invalid:!0,keydown:!0,keypress:!0,keyup:!0,load:!0,loadeddata:!0,loadedmetadata:!0,loadstart:!0,lostpointercapture:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,paste:!0,pause:!0,play:!0,playing:!0,pointercancel:!0,pointerdown:!0,pointerenter:!0,pointerleave:!0,pointermove:!0,pointerout:!0,pointerover:!0,pointerup:!0,progress:!0,ratechange:!0,reset:!0,resize:!0,scroll:!0,scrollend:!0,securitypolicyviolation:!0,seeked:!0,seeking:!0,select:!0,selectionchange:!0,selectstart:!0,slotchange:!0,stalled:!0,submit:!0,suspend:!0,timeupdate:!0,toggle:!0,touchcancel:!0,touchend:!0,touchmove:!0,touchstart:!0,transitioncancel:!0,transitionend:!0,transitionrun:!0,transitionstart:!0,volumechange:!0,waiting:!0,webkitanimationend:!0,webkitanimationiteration:!0,webkitanimationstart:!0,webkittransitionend:!0,wheel:!0,beforematch:!0,pointerrawupdate:!0};class tde{customData={};constructor(e){if(!e||!e.name)throw new Error("Gesture must be initialized with a valid name.");if(e.name in agt)throw new Error(`Gesture can't be created with a native event name. Tried to use "${e.name}". Please use a custom name instead.`);this.name=e.name,this.preventDefault=e.preventDefault??!1,this.stopPropagation=e.stopPropagation??!1,this.preventIf=e.preventIf??[],this.requiredKeys=e.requiredKeys??[],this.pointerMode=e.pointerMode??[],this.pointerOptions=e.pointerOptions??{}}init(e,r,n,s){this.element=e,this.pointerManager=r,this.gesturesRegistry=n,this.keyboardManager=s;const i=`${this.name}ChangeOptions`;this.element.addEventListener(i,this.handleOptionsChange);const o=`${this.name}ChangeState`;this.element.addEventListener(o,this.handleStateChange)}handleOptionsChange=e=>{e&&e.detail&&this.updateOptions(e.detail)};updateOptions(e){this.preventDefault=e.preventDefault??this.preventDefault,this.stopPropagation=e.stopPropagation??this.stopPropagation,this.preventIf=e.preventIf??this.preventIf,this.requiredKeys=e.requiredKeys??this.requiredKeys,this.pointerMode=e.pointerMode??this.pointerMode,this.pointerOptions=e.pointerOptions??this.pointerOptions}getBaseConfig(){return{requiredKeys:this.requiredKeys}}getEffectiveConfig(e,r){if(e!=="mouse"&&e!=="touch"&&e!=="pen")return r;const n=this.pointerOptions[e];return n?ce({},r,n):r}handleStateChange=e=>{e&&e.detail&&this.updateState(e.detail)};updateState(e){Object.assign(this.state,e)}getTargetElement(e){return this.isActive||this.element===e.target||"contains"in this.element&&this.element.contains(e.target)||"getRootNode"in this.element&&this.element.getRootNode()instanceof ShadowRoot&&e.composedPath().includes(this.element)?this.element:null}set isActive(e){e?this.gesturesRegistry.registerActiveGesture(this.element,this):this.gesturesRegistry.unregisterActiveGesture(this.element,this)}get isActive(){return this.gesturesRegistry.isGestureActive(this.element,this)??!1}shouldPreventGesture(e,r){const n=this.getEffectiveConfig(r,this.getBaseConfig());if(!this.keyboardManager.areKeysPressed(n.requiredKeys))return!0;if(this.preventIf.length===0)return!1;const s=this.gesturesRegistry.getActiveGestures(e);return this.preventIf.some(i=>s[i])}isPointerTypeAllowed(e){return!this.pointerMode||this.pointerMode.length===0?!0:this.pointerMode.includes(e)}destroy(){const e=`${this.name}ChangeOptions`;this.element.removeEventListener(e,this.handleOptionsChange);const r=`${this.name}ChangeState`;this.element.removeEventListener(r,this.handleStateChange)}}class lgt{activeGestures=new Map;registerActiveGesture(e,r){this.activeGestures.has(e)||this.activeGestures.set(e,new Set);const n=this.activeGestures.get(e),s={gesture:r,element:e};n.add(s)}unregisterActiveGesture(e,r){const n=this.activeGestures.get(e);n&&(n.forEach(s=>{s.gesture===r&&n.delete(s)}),n.size===0&&this.activeGestures.delete(e))}getActiveGestures(e){const r=this.activeGestures.get(e);return r?Array.from(r).reduce((n,s)=>(n[s.gesture.name]=!0,n),{}):{}}isGestureActive(e,r){const n=this.activeGestures.get(e);return n?Array.from(n).some(s=>s.gesture===r):!1}destroy(){this.activeGestures.clear()}unregisterElement(e){this.activeGestures.delete(e)}}class cgt{pressedKeys=new Set;constructor(){this.initialize()}initialize(){typeof window>"u"||(window.addEventListener("keydown",this.handleKeyDown),window.addEventListener("keyup",this.handleKeyUp),window.addEventListener("blur",this.clearKeys))}handleKeyDown=e=>{this.pressedKeys.add(e.key)};handleKeyUp=e=>{this.pressedKeys.delete(e.key)};clearKeys=()=>{this.pressedKeys.clear()};areKeysPressed(e){return!e||e.length===0?!0:e.every(r=>r==="ControlOrMeta"?navigator.platform.includes("Mac")?this.pressedKeys.has("Meta"):this.pressedKeys.has("Control"):this.pressedKeys.has(r))}destroy(){typeof window<"u"&&(window.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("keyup",this.handleKeyUp),window.removeEventListener("blur",this.clearKeys)),this.clearKeys()}}class ugt{preventEventInterruption=!0;pointers=new Map;gestureHandlers=new Set;constructor(e){this.root=e.root??document.getRootNode({composed:!0})??document.body,this.touchAction=e.touchAction||"auto",this.passive=e.passive??!1,this.preventEventInterruption=e.preventEventInterruption??!0,this.setupEventListeners()}registerGestureHandler(e){return this.gestureHandlers.add(e),()=>{this.gestureHandlers.delete(e)}}getPointers(){return new Map(this.pointers)}setupEventListeners(){this.touchAction!=="auto"&&(this.root.style.touchAction=this.touchAction),this.root.addEventListener("pointerdown",this.handlePointerEvent,{passive:this.passive}),this.root.addEventListener("pointermove",this.handlePointerEvent,{passive:this.passive}),this.root.addEventListener("pointerup",this.handlePointerEvent,{passive:this.passive}),this.root.addEventListener("pointercancel",this.handlePointerEvent,{passive:this.passive}),this.root.addEventListener("forceCancel",this.handlePointerEvent,{passive:this.passive}),this.root.addEventListener("blur",this.handleInterruptEvents),this.root.addEventListener("contextmenu",this.handleInterruptEvents)}handleInterruptEvents=e=>{if(this.preventEventInterruption&&"pointerType"in e&&e.pointerType==="touch"){e.preventDefault();return}const r=new PointerEvent("forceCancel",{bubbles:!1,cancelable:!1}),n=this.pointers.values().next().value;if(this.pointers.size>0&&n){Object.defineProperties(r,{clientX:{value:n.clientX},clientY:{value:n.clientY},pointerId:{value:n.pointerId},pointerType:{value:n.pointerType}});for(const[s,i]of this.pointers.entries()){const o=ce({},i,{type:"forceCancel"});this.pointers.set(s,o)}}this.notifyHandlers(r),this.pointers.clear()};handlePointerEvent=e=>{const{type:r,pointerId:n}=e;if(r==="pointerdown"||r==="pointermove")this.pointers.set(n,this.createPointerData(e));else if(r==="pointerup"||r==="pointercancel"||r==="forceCancel"){this.pointers.set(n,this.createPointerData(e)),this.notifyHandlers(e),this.pointers.delete(n);return}this.notifyHandlers(e)};notifyHandlers(e){this.gestureHandlers.forEach(r=>r(this.pointers,e))}createPointerData(e){return{pointerId:e.pointerId,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY,target:e.target,timeStamp:e.timeStamp,type:e.type,isPrimary:e.isPrimary,pressure:e.pressure,width:e.width,height:e.height,pointerType:e.pointerType,srcEvent:e}}destroy(){this.root.removeEventListener("pointerdown",this.handlePointerEvent),this.root.removeEventListener("pointermove",this.handlePointerEvent),this.root.removeEventListener("pointerup",this.handlePointerEvent),this.root.removeEventListener("pointercancel",this.handlePointerEvent),this.root.removeEventListener("forceCancel",this.handlePointerEvent),this.root.removeEventListener("blur",this.handleInterruptEvents),this.root.removeEventListener("contextmenu",this.handleInterruptEvents),this.pointers.clear(),this.gestureHandlers.clear()}}class dgt{gestureTemplates=new Map;elementGestureMap=new Map;activeGesturesRegistry=new lgt;keyboardManager=new cgt;constructor(e){this.pointerManager=new ugt({root:e.root,touchAction:e.touchAction,passive:e.passive}),e.gestures&&e.gestures.length>0&&e.gestures.forEach(r=>{this.addGestureTemplate(r)})}addGestureTemplate(e){this.gestureTemplates.has(e.name)&&console.warn(`Gesture template with name "${e.name}" already exists. It will be overwritten.`),this.gestureTemplates.set(e.name,e)}setGestureOptions(e,r,n){const s=this.elementGestureMap.get(r);if(!s||!s.has(e)){console.error(`Gesture "${e}" not found on the provided element.`);return}const i=new CustomEvent(`${e}ChangeOptions`,{detail:n,bubbles:!1,cancelable:!1,composed:!1});r.dispatchEvent(i)}setGestureState(e,r,n){const s=this.elementGestureMap.get(r);if(!s||!s.has(e)){console.error(`Gesture "${e}" not found on the provided element.`);return}const i=new CustomEvent(`${e}ChangeState`,{detail:n,bubbles:!1,cancelable:!1,composed:!1});r.dispatchEvent(i)}registerElement(e,r,n){return Array.isArray(e)||(e=[e]),e.forEach(s=>{const i=n?.[s];this.registerSingleGesture(s,r,i)}),r}registerSingleGesture(e,r,n){const s=this.gestureTemplates.get(e);if(!s)return console.error(`Gesture template "${e}" not found.`),!1;this.elementGestureMap.has(r)||this.elementGestureMap.set(r,new Map);const i=this.elementGestureMap.get(r);i.has(e)&&(console.warn(`Element already has gesture "${e}" registered. It will be replaced.`),this.unregisterElement(e,r));const o=s.clone(n);return o.init(r,this.pointerManager,this.activeGesturesRegistry,this.keyboardManager),i.set(e,o),!0}unregisterElement(e,r){const n=this.elementGestureMap.get(r);return!n||!n.has(e)?!1:(n.get(e).destroy(),n.delete(e),this.activeGesturesRegistry.unregisterElement(r),n.size===0&&this.elementGestureMap.delete(r),!0)}unregisterAllGestures(e){const r=this.elementGestureMap.get(e);if(r){for(const[,n]of r)n.destroy(),this.activeGesturesRegistry.unregisterElement(e);this.elementGestureMap.delete(e)}}destroy(){for(const[e]of this.elementGestureMap)this.unregisterAllGestures(e);this.gestureTemplates.clear(),this.elementGestureMap.clear(),this.activeGesturesRegistry.destroy(),this.keyboardManager.destroy(),this.pointerManager.destroy()}}class qh extends tde{unregisterHandler=null;originalTarget=null;constructor(e){super(e),this.minPointers=e.minPointers??1,this.maxPointers=e.maxPointers??1/0}init(e,r,n,s){super.init(e,r,n,s),this.unregisterHandler=this.pointerManager.registerGestureHandler(this.handlePointerEvent)}updateOptions(e){super.updateOptions(e),this.minPointers=e.minPointers??this.minPointers,this.maxPointers=e.maxPointers??this.maxPointers}getBaseConfig(){return{requiredKeys:this.requiredKeys,minPointers:this.minPointers,maxPointers:this.maxPointers}}isWithinPointerCount(e,r){const n=this.getEffectiveConfig(r,this.getBaseConfig());return e.length>=n.minPointers&&e.length<=n.maxPointers}getRelevantPointers(e,r){return e.filter(n=>this.isPointerTypeAllowed(n.pointerType)&&(r===n.target||n.target===this.originalTarget||r===this.originalTarget||"contains"in r&&r.contains(n.target))||"getRootNode"in r&&r.getRootNode()instanceof ShadowRoot&&n.srcEvent.composedPath().includes(r))}destroy(){this.unregisterHandler&&(this.unregisterHandler(),this.unregisterHandler=null),super.destroy()}}function fgt(t,e){const r=e.x-t.x,n=e.y-t.y;return Math.sqrt(r*r+n*n)}function iD(t){if(t.length<2)return 0;let e=0,r=0;for(let n=0;n<t.length;n+=1)for(let s=n+1;s<t.length;s+=1)e+=fgt({x:t[n].clientX,y:t[n].clientY},{x:t[s].clientX,y:t[s].clientY}),r+=1;return r>0?e/r:0}function Vd(t){if(t.length===0)return{x:0,y:0};const e=t.reduce((r,n)=>(r.x+=n.clientX,r.y+=n.clientY,r),{x:0,y:0});return{x:e.x/t.length,y:e.y/t.length}}function Xl(t,e){return`${t}${e==="ongoing"?"":e.charAt(0).toUpperCase()+e.slice(1)}`}const xw=1e-5,Wf=1e-5,uJ=.15;function pgt(t,e){const r=e.x-t.x,n=e.y-t.y,s={vertical:null,horizontal:null,mainAxis:null},i=mgt(e,t),o=Math.abs(r)>Math.abs(n)?"horizontal":"vertical",l=i||o==="horizontal"?xw:uJ,c=i?xw:o==="horizontal"?uJ:xw;return Math.abs(r)>l&&(s.horizontal=r>0?"right":"left"),Math.abs(n)>c&&(s.vertical=n>0?"down":"up"),s.mainAxis=i?"diagonal":o,s}function mgt(t,e){const r=e.x-t.x,n=e.y-t.y,s=Math.atan2(n,r)*180/Math.PI;return s>=-45+Wf&&s<=-22.5+Wf||s>=22.5+Wf&&s<=45+Wf||s>=135+Wf&&s<=157.5+Wf||s>=-157.5+Wf&&s<=-135+Wf}function hgt(t,e){if(!t.vertical&&!t.horizontal)return!1;if(e.length===0)return!0;const r=t.vertical===null||e.includes(t.vertical),n=t.horizontal===null||e.includes(t.horizontal);return r&&n}const dJ=0,ggt=t=>t>dJ?1:t<-dJ?-1:0,Zf=t=>{t.cancelable&&t.preventDefault()};class S7 extends qh{state={lastPosition:null};constructor(e){super(e),this.threshold=e.threshold||0}clone(e){return new S7(ce({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,threshold:this.threshold,minPointers:this.minPointers,maxPointers:this.maxPointers,requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}init(e,r,n,s){super.init(e,r,n,s),this.element.addEventListener("pointerenter",this.handleElementEnter),this.element.addEventListener("pointerleave",this.handleElementLeave)}destroy(){this.element.removeEventListener("pointerenter",this.handleElementEnter),this.element.removeEventListener("pointerleave",this.handleElementLeave),this.resetState(),super.destroy()}updateOptions(e){super.updateOptions(e)}resetState(){this.isActive=!1,this.state={lastPosition:null}}handleElementEnter=e=>{if(e.pointerType!=="mouse"&&e.pointerType!=="pen")return;const r=this.pointerManager.getPointers()||new Map,n=Array.from(r.values());if(this.isWithinPointerCount(n,e.pointerType)){this.isActive=!0;const s={x:e.clientX,y:e.clientY};this.state.lastPosition=s,this.emitMoveEvent(this.element,"start",n,e),this.emitMoveEvent(this.element,"ongoing",n,e)}};handleElementLeave=e=>{if(e.pointerType!=="mouse"&&e.pointerType!=="pen"||!this.isActive)return;const r=this.pointerManager.getPointers()||new Map,n=Array.from(r.values());this.emitMoveEvent(this.element,"end",n,e),this.resetState()};handlePointerEvent=(e,r)=>{if(r.type!=="pointermove"||r.pointerType!=="mouse"&&r.pointerType!=="pen")return;this.preventDefault&&r.preventDefault(),this.stopPropagation&&r.stopPropagation();const n=Array.from(e.values()),s=this.getTargetElement(r);if(!s||!this.isWithinPointerCount(n,r.pointerType))return;if(this.shouldPreventGesture(s,r.pointerType)){if(!this.isActive)return;this.resetState(),this.emitMoveEvent(s,"end",n,r);return}const i={x:r.clientX,y:r.clientY};this.state.lastPosition=i,this.isActive||(this.isActive=!0,this.emitMoveEvent(s,"start",n,r)),this.emitMoveEvent(s,"ongoing",n,r)};emitMoveEvent(e,r,n,s){const i=this.state.lastPosition||Vd(n),o=this.gesturesRegistry.getActiveGestures(e),l={gestureName:this.name,centroid:i,target:s.target,srcEvent:s,phase:r,pointers:n,timeStamp:s.timeStamp,activeGestures:o,customData:this.customData},c=Xl(this.name,r),u=new CustomEvent(c,{bubbles:!0,cancelable:!0,composed:!0,detail:l});e.dispatchEvent(u)}}class ch extends qh{state={startPointers:new Map,startCentroid:null,lastCentroid:null,movementThresholdReached:!1,totalDeltaX:0,totalDeltaY:0,activeDeltaX:0,activeDeltaY:0,lastDirection:{vertical:null,horizontal:null,mainAxis:null},lastDeltas:null};constructor(e){super(e),this.direction=e.direction||["up","down","left","right"],this.threshold=e.threshold||0}clone(e){return new ch(ce({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,threshold:this.threshold,minPointers:this.minPointers,maxPointers:this.maxPointers,direction:[...this.direction],requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}destroy(){this.resetState(),super.destroy()}updateOptions(e){super.updateOptions(e),this.direction=e.direction||this.direction,this.threshold=e.threshold??this.threshold}resetState(){this.isActive=!1,this.state=ce({},this.state,{startPointers:new Map,startCentroid:null,lastCentroid:null,lastDeltas:null,activeDeltaX:0,activeDeltaY:0,movementThresholdReached:!1,lastDirection:{vertical:null,horizontal:null,mainAxis:null}})}handlePointerEvent=(e,r)=>{const n=Array.from(e.values());if(r.type==="forceCancel"){this.cancel(r.target,n,r);return}const s=this.getTargetElement(r);if(!s)return;if(this.shouldPreventGesture(s,r.pointerType)){this.cancel(s,n,r);return}const i=this.getRelevantPointers(n,s);if(!this.isWithinPointerCount(i,r.pointerType)){this.cancel(s,i,r);return}switch(r.type){case"pointerdown":!this.isActive&&!this.state.startCentroid&&(i.forEach(o=>{this.state.startPointers.set(o.pointerId,o)}),this.originalTarget=s,this.state.startCentroid=Vd(i),this.state.lastCentroid=ce({},this.state.startCentroid));break;case"pointermove":if(this.state.startCentroid&&this.isWithinPointerCount(n,r.pointerType)){const o=Vd(i),l=o.x-this.state.startCentroid.x,c=o.y-this.state.startCentroid.y,u=Math.sqrt(l*l+c*c),d=pgt(this.state.lastCentroid??this.state.startCentroid,o),f=this.state.lastCentroid?o.x-this.state.lastCentroid.x:0,p=this.state.lastCentroid?o.y-this.state.lastCentroid.y:0;!this.state.movementThresholdReached&&u>=this.threshold&&hgt(d,this.direction)?(this.state.movementThresholdReached=!0,this.isActive=!0,this.state.lastDeltas={x:f,y:p},this.state.totalDeltaX+=f,this.state.totalDeltaY+=p,this.state.activeDeltaX+=f,this.state.activeDeltaY+=p,this.emitPanEvent(s,"start",i,r,o),this.emitPanEvent(s,"ongoing",i,r,o)):this.state.movementThresholdReached&&this.isActive&&(this.state.lastDeltas={x:f,y:p},this.state.totalDeltaX+=f,this.state.totalDeltaY+=p,this.state.activeDeltaX+=f,this.state.activeDeltaY+=p,this.emitPanEvent(s,"ongoing",i,r,o)),this.state.lastCentroid=o,this.state.lastDirection=d}break;case"pointerup":case"pointercancel":case"forceCancel":if(this.isActive&&this.state.movementThresholdReached){const o=i.filter(l=>l.type!=="pointerup"&&l.type!=="pointercancel");if(!this.isWithinPointerCount(o,r.pointerType)){const l=this.state.lastCentroid||this.state.startCentroid;r.type==="pointercancel"&&this.emitPanEvent(s,"cancel",i,r,l),this.emitPanEvent(s,"end",i,r,l),this.resetState()}}else this.resetState();break}};emitPanEvent(e,r,n,s,i){if(!this.state.startCentroid)return;const o=this.state.lastDeltas?.x??0,l=this.state.lastDeltas?.y??0,c=this.state.startPointers.values().next().value,u=c?(s.timeStamp-c.timeStamp)/1e3:0,d=u>0?o/u:0,f=u>0?l/u:0,p=Math.sqrt(d*d+f*f),m=this.gesturesRegistry.getActiveGestures(e),h={gestureName:this.name,initialCentroid:this.state.startCentroid,centroid:i,target:s.target,srcEvent:s,phase:r,pointers:n,timeStamp:s.timeStamp,deltaX:o,deltaY:l,direction:this.state.lastDirection,velocityX:d,velocityY:f,velocity:p,totalDeltaX:this.state.totalDeltaX,totalDeltaY:this.state.totalDeltaY,activeDeltaX:this.state.activeDeltaX,activeDeltaY:this.state.activeDeltaY,activeGestures:m,customData:this.customData},_=Xl(this.name,r),g=new CustomEvent(_,{bubbles:!0,cancelable:!0,composed:!0,detail:h});e.dispatchEvent(g),this.preventDefault&&s.preventDefault(),this.stopPropagation&&s.stopPropagation()}cancel(e,r,n){if(this.isActive){const s=e??this.element;this.emitPanEvent(s,"cancel",r,n,this.state.lastCentroid),this.emitPanEvent(s,"end",r,n,this.state.lastCentroid)}this.resetState()}}class w7 extends qh{state={startDistance:0,lastDistance:0,lastScale:1,lastTime:0,velocity:0,totalScale:1,deltaScale:0};constructor(e){super(ce({},e,{minPointers:e.minPointers??2})),this.threshold=e.threshold??0}clone(e){return new w7(ce({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,threshold:this.threshold,minPointers:this.minPointers,maxPointers:this.maxPointers,requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}destroy(){this.resetState(),super.destroy()}updateOptions(e){super.updateOptions(e)}resetState(){this.isActive=!1,this.state=ce({},this.state,{startDistance:0,lastDistance:0,lastScale:1,lastTime:0,velocity:0,deltaScale:0})}handlePointerEvent=(e,r)=>{const n=Array.from(e.values()),s=this.getTargetElement(r);if(!s)return;if(this.shouldPreventGesture(s,r.pointerType)){this.isActive&&(this.emitPinchEvent(s,"cancel",n,r),this.resetState());return}const i=this.getRelevantPointers(n,s);switch(r.type){case"pointerdown":if(i.length>=2&&!this.isActive){const o=iD(i);this.state.startDistance=o,this.state.lastDistance=o,this.state.lastTime=r.timeStamp,this.originalTarget=s}break;case"pointermove":if(this.state.startDistance&&this.isWithinPointerCount(i,r.pointerType)){const o=iD(i),l=Math.abs(o-this.state.lastDistance);if(l!==0&&l>=this.threshold){const c=this.state.startDistance?o/this.state.startDistance:1,u=c/this.state.lastScale;this.state.totalScale*=u;const d=(r.timeStamp-this.state.lastTime)/1e3;if(this.state.lastDistance){const p=(o-this.state.lastDistance)/d;this.state.velocity=Number.isNaN(p)?0:p}this.state.lastDistance=o,this.state.deltaScale=c-this.state.lastScale,this.state.lastScale=c,this.state.lastTime=r.timeStamp,this.isActive?this.emitPinchEvent(s,"ongoing",i,r):(this.isActive=!0,this.emitPinchEvent(s,"start",i,r),this.emitPinchEvent(s,"ongoing",i,r))}}break;case"pointerup":case"pointercancel":case"forceCancel":if(this.isActive){const o=i.filter(l=>l.type!=="pointerup"&&l.type!=="pointercancel");if(!this.isWithinPointerCount(o,r.pointerType))r.type==="pointercancel"&&this.emitPinchEvent(s,"cancel",i,r),this.emitPinchEvent(s,"end",i,r),this.resetState();else if(o.length>=2){const l=iD(o);this.state.startDistance=l/this.state.lastScale}}break}};emitPinchEvent(e,r,n,s){const i=Vd(n),o=this.state.lastDistance,l=this.state.lastScale,c=this.gesturesRegistry.getActiveGestures(e),u={gestureName:this.name,centroid:i,target:s.target,srcEvent:s,phase:r,pointers:n,timeStamp:s.timeStamp,scale:l,deltaScale:this.state.deltaScale,totalScale:this.state.totalScale,distance:o,velocity:this.state.velocity,activeGestures:c,direction:ggt(this.state.velocity),customData:this.customData};this.preventDefault&&s.preventDefault(),this.stopPropagation&&s.stopPropagation();const d=Xl(this.name,r),f=new CustomEvent(d,{bubbles:!0,cancelable:!0,composed:!0,detail:u});e.dispatchEvent(f)}}class gk extends qh{state={startCentroid:null,lastPosition:null,timerId:null,startTime:0,pressThresholdReached:!1};constructor(e){super(e),this.duration=e.duration??500,this.maxDistance=e.maxDistance??10}clone(e){return new gk(ce({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,minPointers:this.minPointers,maxPointers:this.maxPointers,duration:this.duration,maxDistance:this.maxDistance,requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}destroy(){this.clearPressTimer(),this.resetState(),super.destroy()}updateOptions(e){super.updateOptions(e),this.duration=e.duration??this.duration,this.maxDistance=e.maxDistance??this.maxDistance}resetState(){this.clearPressTimer(),this.isActive=!1,this.state=ce({},this.state,{startCentroid:null,lastPosition:null,timerId:null,startTime:0,pressThresholdReached:!1})}clearPressTimer(){this.state.timerId!==null&&(clearTimeout(this.state.timerId),this.state.timerId=null)}handlePointerEvent=(e,r)=>{const n=Array.from(e.values());if(r.type==="forceCancel"){this.cancelPress(r.target,n,r);return}const s=this.getTargetElement(r);if(!s)return;if(this.shouldPreventGesture(s,r.pointerType)){this.isActive&&this.cancelPress(s,n,r);return}const i=this.getRelevantPointers(n,s);if(!this.isWithinPointerCount(i,r.pointerType)){this.isActive&&this.cancelPress(s,i,r);return}switch(r.type){case"pointerdown":!this.isActive&&!this.state.startCentroid&&(this.state.startCentroid=Vd(i),this.state.lastPosition=ce({},this.state.startCentroid),this.state.startTime=r.timeStamp,this.isActive=!0,this.originalTarget=s,this.clearPressTimer(),this.state.timerId=setTimeout(()=>{if(this.isActive&&this.state.startCentroid){this.state.pressThresholdReached=!0;const o=this.state.lastPosition;this.emitPressEvent(s,"start",i,r,o),this.emitPressEvent(s,"ongoing",i,r,o)}},this.duration));break;case"pointermove":if(this.isActive&&this.state.startCentroid){const o=Vd(i);this.state.lastPosition=o;const l=o.x-this.state.startCentroid.x,c=o.y-this.state.startCentroid.y;Math.sqrt(l*l+c*c)>this.maxDistance&&this.cancelPress(s,i,r)}break;case"pointerup":if(this.isActive){if(this.state.pressThresholdReached){const o=this.state.lastPosition||this.state.startCentroid;this.emitPressEvent(s,"end",i,r,o)}this.resetState()}break;case"pointercancel":case"forceCancel":this.cancelPress(s,i,r);break}};emitPressEvent(e,r,n,s,i){const o=this.gesturesRegistry.getActiveGestures(e),l=s.timeStamp-this.state.startTime,c={gestureName:this.name,centroid:i,target:s.target,srcEvent:s,phase:r,pointers:n,timeStamp:s.timeStamp,x:i.x,y:i.y,duration:l,activeGestures:o,customData:this.customData},u=Xl(this.name,r),d=new CustomEvent(u,{bubbles:!0,cancelable:!0,composed:!0,detail:c});e.dispatchEvent(d),this.preventDefault&&s.preventDefault(),this.stopPropagation&&s.stopPropagation()}cancelPress(e,r,n){if(this.isActive&&this.state.pressThresholdReached){const s=this.state.lastPosition||this.state.startCentroid;this.emitPressEvent(e??this.element,"cancel",r,n,s),this.emitPressEvent(e??this.element,"end",r,n,s)}this.resetState()}}class C7 extends qh{state={phase:"waitingForPress",dragTimeoutId:null};constructor(e){super(e),this.pressDuration=e.pressDuration??500,this.pressMaxDistance=e.pressMaxDistance??10,this.dragTimeout=e.dragTimeout??1e3,this.dragThreshold=e.dragThreshold??0,this.dragDirection=e.dragDirection||["up","down","left","right"],this.pressGesture=new gk({name:`${this.name}-press`,duration:this.pressDuration,maxDistance:this.pressMaxDistance,maxPointers:this.maxPointers,pointerMode:this.pointerMode,requiredKeys:this.requiredKeys,preventIf:this.preventIf,pointerOptions:structuredClone(this.pointerOptions)}),this.panGesture=new ch({name:`${this.name}-pan`,minPointers:this.minPointers,maxPointers:this.maxPointers,threshold:this.dragThreshold,direction:this.dragDirection,pointerMode:this.pointerMode,requiredKeys:this.requiredKeys,preventIf:this.preventIf,pointerOptions:structuredClone(this.pointerOptions)})}clone(e){return new C7(ce({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,minPointers:this.minPointers,maxPointers:this.maxPointers,pressDuration:this.pressDuration,pressMaxDistance:this.pressMaxDistance,dragTimeout:this.dragTimeout,dragThreshold:this.dragThreshold,dragDirection:[...this.dragDirection],requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}init(e,r,n,s){super.init(e,r,n,s),this.pressGesture.init(e,r,n,s),this.panGesture.init(e,r,n,s),this.element.addEventListener(this.pressGesture.name,this.pressHandler),this.element.addEventListener(`${this.panGesture.name}Start`,this.dragStartHandler),this.element.addEventListener(this.panGesture.name,this.dragMoveHandler),this.element.addEventListener(`${this.panGesture.name}End`,this.dragEndHandler),this.element.addEventListener(`${this.panGesture.name}Cancel`,this.dragEndHandler)}destroy(){this.resetState(),this.pressGesture.destroy(),this.panGesture.destroy(),this.element.removeEventListener(this.pressGesture.name,this.pressHandler),this.element.removeEventListener(`${this.panGesture.name}Start`,this.dragStartHandler),this.element.removeEventListener(this.panGesture.name,this.dragMoveHandler),this.element.removeEventListener(`${this.panGesture.name}End`,this.dragEndHandler),this.element.removeEventListener(`${this.panGesture.name}Cancel`,this.dragEndHandler),super.destroy()}updateOptions(e){super.updateOptions(e),this.pressDuration=e.pressDuration??this.pressDuration,this.pressMaxDistance=e.pressMaxDistance??this.pressMaxDistance,this.dragTimeout=e.dragTimeout??this.dragTimeout,this.dragThreshold=e.dragThreshold??this.dragThreshold,this.dragDirection=e.dragDirection||this.dragDirection,this.element.dispatchEvent(new CustomEvent(`${this.panGesture.name}ChangeOptions`,{detail:{minPointers:this.minPointers,maxPointers:this.maxPointers,threshold:this.dragThreshold,direction:this.dragDirection,pointerMode:this.pointerMode,requiredKeys:this.requiredKeys,preventIf:this.preventIf,pointerOptions:structuredClone(this.pointerOptions)}})),this.element.dispatchEvent(new CustomEvent(`${this.pressGesture.name}ChangeOptions`,{detail:{duration:this.pressDuration,maxDistance:this.pressMaxDistance,maxPointers:this.maxPointers,pointerMode:this.pointerMode,requiredKeys:this.requiredKeys,preventIf:this.preventIf,pointerOptions:structuredClone(this.pointerOptions)}}))}resetState(){this.state.dragTimeoutId!==null&&clearTimeout(this.state.dragTimeoutId),this.restoreTouchAction(),this.isActive=!1,this.state={phase:"waitingForPress",dragTimeoutId:null}}handlePointerEvent(){}pressHandler=()=>{this.state.phase==="waitingForPress"&&(this.state.phase="pressDetected",this.setTouchAction(),this.state.dragTimeoutId=setTimeout(()=>{this.resetState()},this.dragTimeout))};dragStartHandler=e=>{this.state.phase==="pressDetected"&&(this.state.dragTimeoutId!==null&&(clearTimeout(this.state.dragTimeoutId),this.state.dragTimeoutId=null),this.restoreTouchAction(),this.state.phase="dragging",this.isActive=!0,this.element.dispatchEvent(new CustomEvent(Xl(this.name,e.detail.phase),e)))};dragMoveHandler=e=>{this.state.phase==="dragging"&&this.element.dispatchEvent(new CustomEvent(Xl(this.name,e.detail.phase),e))};dragEndHandler=e=>{this.state.phase==="dragging"&&(this.resetState(),this.element.dispatchEvent(new CustomEvent(Xl(this.name,e.detail.phase),e)))};setTouchAction(){this.element.addEventListener("touchstart",Zf,{passive:!1}),this.element.addEventListener("touchmove",Zf,{passive:!1}),this.element.addEventListener("touchend",Zf,{passive:!1})}restoreTouchAction(){this.element.removeEventListener("touchstart",Zf),this.element.removeEventListener("touchmove",Zf),this.element.removeEventListener("touchend",Zf)}}class _k extends qh{state={startCentroid:null,currentTapCount:0,lastTapTime:0,lastPosition:null};constructor(e){super(e),this.maxDistance=e.maxDistance??10,this.taps=e.taps??1}clone(e){return new _k(ce({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,minPointers:this.minPointers,maxPointers:this.maxPointers,maxDistance:this.maxDistance,taps:this.taps,requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}destroy(){this.resetState(),super.destroy()}updateOptions(e){super.updateOptions(e),this.maxDistance=e.maxDistance??this.maxDistance,this.taps=e.taps??this.taps}resetState(){this.isActive=!1,this.state={startCentroid:null,currentTapCount:0,lastTapTime:0,lastPosition:null}}handlePointerEvent=(e,r)=>{const n=Array.from(e.values()),s=this.getTargetElement(r);if(!s)return;const i=this.getRelevantPointers(n,s);if(this.shouldPreventGesture(s,r.pointerType)||!this.isWithinPointerCount(i,r.pointerType)){this.isActive&&this.cancelTap(s,i,r);return}switch(r.type){case"pointerdown":this.isActive||(this.state.startCentroid=Vd(i),this.state.lastPosition=ce({},this.state.startCentroid),this.isActive=!0,this.originalTarget=s);break;case"pointermove":if(this.isActive&&this.state.startCentroid){const o=Vd(i);this.state.lastPosition=o;const l=o.x-this.state.startCentroid.x,c=o.y-this.state.startCentroid.y;Math.sqrt(l*l+c*c)>this.maxDistance&&this.cancelTap(s,i,r)}break;case"pointerup":if(this.isActive){this.state.currentTapCount+=1;const o=this.state.lastPosition||this.state.startCentroid;if(!o){this.cancelTap(s,i,r);return}this.state.currentTapCount>=this.taps?(this.fireTapEvent(s,i,r,o),this.resetState()):(this.state.lastTapTime=r.timeStamp,this.isActive=!1,this.state.startCentroid=null,setTimeout(()=>{this.state&&this.state.currentTapCount>0&&this.state.currentTapCount<this.taps&&(this.state.currentTapCount=0)},300))}break;case"pointercancel":case"forceCancel":this.cancelTap(s,i,r);break}};fireTapEvent(e,r,n,s){const i=this.gesturesRegistry.getActiveGestures(e),o={gestureName:this.name,centroid:s,target:n.target,srcEvent:n,phase:"end",pointers:r,timeStamp:n.timeStamp,x:s.x,y:s.y,tapCount:this.state.currentTapCount,activeGestures:i,customData:this.customData},l=new CustomEvent(this.name,{bubbles:!0,cancelable:!0,composed:!0,detail:o});e.dispatchEvent(l),this.preventDefault&&n.preventDefault(),this.stopPropagation&&n.stopPropagation()}cancelTap(e,r,n){if(this.state.startCentroid||this.state.lastPosition){const s=this.state.lastPosition||this.state.startCentroid,i=this.gesturesRegistry.getActiveGestures(e),o={gestureName:this.name,centroid:s,target:n.target,srcEvent:n,phase:"cancel",pointers:r,timeStamp:n.timeStamp,x:s.x,y:s.y,tapCount:this.state.currentTapCount,activeGestures:i,customData:this.customData},l=Xl(this.name,"cancel"),c=new CustomEvent(l,{bubbles:!0,cancelable:!0,composed:!0,detail:o});e.dispatchEvent(c)}this.resetState()}}class A7 extends qh{state={phase:"waitingForTap",dragTimeoutId:null};constructor(e){super(e),this.tapMaxDistance=e.tapMaxDistance??10,this.dragTimeout=e.dragTimeout??1e3,this.dragThreshold=e.dragThreshold??0,this.dragDirection=e.dragDirection||["up","down","left","right"],this.tapGesture=new _k({name:`${this.name}-tap`,maxDistance:this.tapMaxDistance,maxPointers:this.maxPointers,pointerMode:this.pointerMode,requiredKeys:this.requiredKeys,preventIf:this.preventIf,pointerOptions:structuredClone(this.pointerOptions)}),this.panGesture=new ch({name:`${this.name}-pan`,minPointers:this.minPointers,maxPointers:this.maxPointers,threshold:this.dragThreshold,direction:this.dragDirection,pointerMode:this.pointerMode,requiredKeys:this.requiredKeys,preventIf:this.preventIf,pointerOptions:structuredClone(this.pointerOptions)})}clone(e){return new A7(ce({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,minPointers:this.minPointers,maxPointers:this.maxPointers,tapMaxDistance:this.tapMaxDistance,dragTimeout:this.dragTimeout,dragThreshold:this.dragThreshold,dragDirection:[...this.dragDirection],requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}init(e,r,n,s){super.init(e,r,n,s),this.tapGesture.init(e,r,n,s),this.panGesture.init(e,r,n,s),this.element.addEventListener(this.tapGesture.name,this.tapHandler),this.element.addEventListener(`${this.panGesture.name}Start`,this.dragStartHandler),this.element.addEventListener(this.panGesture.name,this.dragMoveHandler),this.element.addEventListener(`${this.panGesture.name}End`,this.dragEndHandler),this.element.addEventListener(`${this.panGesture.name}Cancel`,this.dragEndHandler)}destroy(){this.resetState(),this.tapGesture.destroy(),this.panGesture.destroy(),this.element.removeEventListener(this.tapGesture.name,this.tapHandler),this.element.removeEventListener(`${this.panGesture.name}Start`,this.dragStartHandler),this.element.removeEventListener(this.panGesture.name,this.dragMoveHandler),this.element.removeEventListener(`${this.panGesture.name}End`,this.dragEndHandler),this.element.removeEventListener(`${this.panGesture.name}Cancel`,this.dragEndHandler),super.destroy()}updateOptions(e){super.updateOptions(e),this.tapMaxDistance=e.tapMaxDistance??this.tapMaxDistance,this.dragTimeout=e.dragTimeout??this.dragTimeout,this.dragThreshold=e.dragThreshold??this.dragThreshold,this.dragDirection=e.dragDirection||this.dragDirection,this.element.dispatchEvent(new CustomEvent(`${this.panGesture.name}ChangeOptions`,{detail:{minPointers:this.minPointers,maxPointers:this.maxPointers,threshold:this.dragThreshold,direction:this.dragDirection,pointerMode:this.pointerMode,requiredKeys:this.requiredKeys,preventIf:this.preventIf,pointerOptions:structuredClone(this.pointerOptions)}})),this.element.dispatchEvent(new CustomEvent(`${this.tapGesture.name}ChangeOptions`,{detail:{maxDistance:this.tapMaxDistance,maxPointers:this.maxPointers,pointerMode:this.pointerMode,requiredKeys:this.requiredKeys,preventIf:this.preventIf,pointerOptions:structuredClone(this.pointerOptions)}}))}resetState(){this.state.dragTimeoutId!==null&&clearTimeout(this.state.dragTimeoutId),this.restoreTouchAction(),this.isActive=!1,this.state={phase:"waitingForTap",dragTimeoutId:null}}handlePointerEvent(){}tapHandler=()=>{this.state.phase==="waitingForTap"&&(this.state.phase="tapDetected",this.setTouchAction(),this.state.dragTimeoutId=setTimeout(()=>{this.resetState()},this.dragTimeout))};dragStartHandler=e=>{this.state.phase==="tapDetected"&&(this.state.dragTimeoutId!==null&&(clearTimeout(this.state.dragTimeoutId),this.state.dragTimeoutId=null),this.restoreTouchAction(),this.state.phase="dragging",this.isActive=!0,this.element.dispatchEvent(new CustomEvent(Xl(this.name,e.detail.phase),e)))};dragMoveHandler=e=>{this.state.phase==="dragging"&&this.element.dispatchEvent(new CustomEvent(Xl(this.name,e.detail.phase),e))};dragEndHandler=e=>{this.state.phase==="dragging"&&(this.resetState(),this.element.dispatchEvent(new CustomEvent(Xl(this.name,e.detail.phase),e)))};setTouchAction(){this.element.addEventListener("touchstart",Zf,{passive:!1})}restoreTouchAction(){this.element.removeEventListener("touchstart",Zf)}}class k7 extends tde{state={totalDeltaX:0,totalDeltaY:0,totalDeltaZ:0};constructor(e){super(e),this.sensitivity=e.sensitivity??1,this.max=e.max??Number.MAX_SAFE_INTEGER,this.min=e.min??Number.MIN_SAFE_INTEGER,this.initialDelta=e.initialDelta??0,this.invert=e.invert??!1,this.state.totalDeltaX=this.initialDelta,this.state.totalDeltaY=this.initialDelta,this.state.totalDeltaZ=this.initialDelta}clone(e){return new k7(ce({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,sensitivity:this.sensitivity,max:this.max,min:this.min,initialDelta:this.initialDelta,invert:this.invert,requiredKeys:[...this.requiredKeys],preventIf:[...this.preventIf]},e))}init(e,r,n,s){super.init(e,r,n,s),this.element.addEventListener("wheel",this.handleWheelEvent)}destroy(){this.element.removeEventListener("wheel",this.handleWheelEvent),this.resetState(),super.destroy()}resetState(){this.isActive=!1,this.state={totalDeltaX:0,totalDeltaY:0,totalDeltaZ:0}}updateOptions(e){super.updateOptions(e),this.sensitivity=e.sensitivity??this.sensitivity,this.max=e.max??this.max,this.min=e.min??this.min,this.initialDelta=e.initialDelta??this.initialDelta,this.invert=e.invert??this.invert}handleWheelEvent=e=>{if(this.shouldPreventGesture(this.element,"mouse"))return;const r=this.pointerManager.getPointers()||new Map,n=Array.from(r.values());this.state.totalDeltaX+=e.deltaX*this.sensitivity*(this.invert?-1:1),this.state.totalDeltaY+=e.deltaY*this.sensitivity*(this.invert?-1:1),this.state.totalDeltaZ+=e.deltaZ*this.sensitivity*(this.invert?-1:1),["totalDeltaX","totalDeltaY","totalDeltaZ"].forEach(s=>{this.state[s]<this.min&&(this.state[s]=this.min),this.state[s]>this.max&&(this.state[s]=this.max)}),this.emitWheelEvent(n,e)};emitWheelEvent(e,r){const n=e.length>0?Vd(e):{x:r.clientX,y:r.clientY},s=this.gesturesRegistry.getActiveGestures(this.element),i={gestureName:this.name,centroid:n,target:r.target,srcEvent:r,phase:"ongoing",pointers:e,timeStamp:r.timeStamp,deltaX:r.deltaX*this.sensitivity*(this.invert?-1:1),deltaY:r.deltaY*this.sensitivity*(this.invert?-1:1),deltaZ:r.deltaZ*this.sensitivity*(this.invert?-1:1),deltaMode:r.deltaMode,totalDeltaX:this.state.totalDeltaX,totalDeltaY:this.state.totalDeltaY,totalDeltaZ:this.state.totalDeltaZ,activeGestures:s,customData:this.customData};this.preventDefault&&r.preventDefault(),this.stopPropagation&&r.stopPropagation();const o=Xl(this.name,"ongoing"),l=new CustomEvent(o,{bubbles:!0,cancelable:!0,composed:!0,detail:i});this.element.dispatchEvent(l)}}const Kg=t=>t.preventDefault(),M7=({svgRef:t})=>{const e=I.useRef(null);I.useEffect(()=>{const s=t.current;e.current||(e.current=new dgt({gestures:[new ch({name:"pan",threshold:0,maxPointers:1}),new S7({name:"move",preventIf:["pan","zoomPinch","zoomPan"]}),new _k({name:"tap",preventIf:["pan","zoomPinch","zoomPan"]}),new gk({name:"quickPress",duration:50}),new ch({name:"brush",threshold:0,maxPointers:1}),new ch({name:"zoomPan",threshold:0,maxPointers:1,preventIf:["zoomTapAndDrag","zoomPressAndDrag"]}),new w7({name:"zoomPinch",threshold:5,preventIf:["pan","zoomPan"]}),new k7({name:"zoomTurnWheel",sensitivity:.01,initialDelta:1}),new A7({name:"zoomTapAndDrag",dragThreshold:10}),new C7({name:"zoomPressAndDrag",dragThreshold:10,preventIf:["zoomPinch"]})]}));const i=e.current;if(!(!s||!i))return i.registerElement(["pan","move","zoomPinch","zoomPan","zoomTurnWheel","tap","quickPress","zoomTapAndDrag","zoomPressAndDrag","brush"],s),()=>{i.unregisterAllGestures(s)}},[t,e]);const r=I.useCallback((s,i,o)=>{const l=t.current;return l?.addEventListener(s,i,o),{cleanup:()=>l?.removeEventListener(s,i)}},[t]),n=I.useCallback((s,i)=>{const o=t.current,l=e.current;!l||!o||l.setGestureOptions(s,o,i??{})},[t,e]);return I.useEffect(()=>{const s=t.current;return s?.addEventListener("gesturestart",Kg),s?.addEventListener("gesturechange",Kg),s?.addEventListener("gestureend",Kg),()=>{s?.removeEventListener("gesturestart",Kg),s?.removeEventListener("gesturechange",Kg),s?.removeEventListener("gestureend",Kg)}},[t]),{instance:{addInteractionListener:r,updateZoomInteractionListeners:n}}};M7.params={};M7.getInitialState=()=>({});const _gt=[x7,b7,pk,hk,M7,fk],vgt=["apiRef"],ygt=t=>{let{plugins:e}=t,r=Ht(t.props,vgt);const n={};e.forEach(o=>{Object.assign(n,o.params)});const s={};return Object.keys(r).forEach(o=>{const l=r[o];n[o]&&(s[o]=l)}),e.reduce((o,l)=>l.getDefaultizedParams?l.getDefaultizedParams({params:o}):o,s)};let fJ=0;function bgt(t,e,r){const n=dv(),s=I.useMemo(()=>[..._gt,...t],[t]),i=ygt({plugins:s,props:e});i.id=i.id??n;const l=I.useRef({}).current,c=Sgt(e.apiRef),u=I.useRef(null),d=I.useRef(null),f=I.useRef(null);if(f.current==null){fJ+=1;const h={cacheKey:{id:fJ}};s.forEach(_=>{_.getInitialState&&Object.assign(h,_.getInitialState(i,h,r))}),f.current=new _ht(h)}const p=h=>{const _=h({instance:l,params:i,plugins:s,store:f.current,svgRef:d,chartRootRef:u,seriesConfig:r});_.publicAPI&&Object.assign(c.current,_.publicAPI),_.instance&&Object.assign(l,_.instance)};return s.forEach(p),{contextValue:I.useMemo(()=>({store:f.current,publicAPI:c.current,instance:l,svgRef:d,chartRootRef:u}),[l,c])}}function xgt(t){return t.current==null&&(t.current={}),t}function Sgt(t){const e=I.useRef({});return t?xgt(t):e}const rde=I.createContext(null),nde=()=>{},sde=4,ide=20+2*sde,wgt=40+2*sde,Cgt="hover",Sw={minStart:0,maxEnd:100,step:5,minSpan:10,maxSpan:100,panning:!0,filterMode:"keep",reverse:!1,slider:{enabled:!1,preview:!1,size:ide,showTooltip:Cgt}},P7=(t,e,r,n)=>{if(t)return t===!0?ce({axisId:e,axisDirection:r},Sw,{reverse:n??!1}):ce({axisId:e,axisDirection:r},Sw,{reverse:n??!1},t,{slider:ce({},Sw.slider,{size:t.slider?.preview??Sw.slider.preview?wgt:ide},t.slider)})};function ode(t,e){const r={top:0,bottom:0,none:0};return(t&&t.length>0?t:[{id:Bv,scaleType:"linear"}]).map((i,o)=>{const l=i.dataKey,c=o===0?"bottom":"none",u=i.position??c,d=ght+(i.label?Hue:0),f=i.id??`defaultized-x-axis-${o}`,p=ce({offset:r[u]},i,{id:f,position:u,height:i.height??d,zoom:P7(i.zoom,f,"x",i.reverse)});if(u!=="none"&&(r[u]+=p.height,p.zoom?.slider.enabled&&(r[u]+=p.zoom.slider.size)),l===void 0||i.data!==void 0)return p;if(e===void 0)throw new Error("MUI X Charts: x-axis uses `dataKey` but no `dataset` is provided.");return ce({},p,{data:e.map(m=>m[l])})})}function ade(t,e){const r={right:0,left:0,none:0};return(t&&t.length>0?t:[{id:y7,scaleType:"linear"}]).map((i,o)=>{const l=i.dataKey,c=o===0?"left":"none",u=i.position??c,d=hht+(i.label?Hue:0),f=i.id??`defaultized-y-axis-${o}`,p=ce({offset:r[u]},i,{id:f,position:u,width:i.width??d,zoom:P7(i.zoom,f,"y",i.reverse)});if(u!=="none"&&(r[u]+=p.width,p.zoom?.slider.enabled&&(r[u]+=p.zoom.slider.size)),l===void 0||i.data!==void 0)return p;if(e===void 0)throw new Error("MUI X Charts: y-axis uses `dataKey` but no `dataset` is provided.");return ce({},p,{data:e.map(m=>m[l])})})}function vp(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;if(Array.isArray(t)){const s=t.length;if(s!==e.length)return!1;for(let i=0;i<s;i+=1)if(!vp(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;const s=Array.from(t.entries());for(let i=0;i<s.length;i+=1)if(!e.has(s[i][0]))return!1;for(let i=0;i<s.length;i+=1){const o=s[i];if(!vp(o[1],e.get(o[0])))return!1}return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;const s=Array.from(t.entries());for(let i=0;i<s.length;i+=1)if(!e.has(s[i][0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){const s=t.length;if(s!==e.length)return!1;for(let i=0;i<s;i+=1)if(t[i]!==e[i])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();const r=Object.keys(t),n=r.length;if(n!==Object.keys(e).length)return!1;for(let s=0;s<n;s+=1)if(!Object.prototype.hasOwnProperty.call(e,r[s]))return!1;for(let s=0;s<n;s+=1){const i=r[s];if(!vp(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Agt(t,e){return function(n,s){if(s.location==="tick"){const i=s.scale.domain();return i[0]===i[1]?s.scale.tickFormat(1)(n):s.scale.tickFormat(t)(n)}return s.location==="zoom-slider-tooltip"?e.tickFormat(2)(n):`${n}`}}function Hd(t){return t.scaleType==="band"}function Vp(t){return t.scaleType==="point"}function kgt(t){return t.scaleType!=="point"&&t.scaleType!=="band"}function Mgt(t){return t.scaleType==="symlog"}function tC(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Pgt(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function j7(t){let e,r,n;t.length!==2?(e=tC,r=(l,c)=>tC(t(l),c),n=(l,c)=>t(l)-c):(e=t===tC||t===Pgt?t:jgt,r=t,n=t);function s(l,c,u=0,d=l.length){if(u<d){if(e(c,c)!==0)return d;do{const f=u+d>>>1;r(l[f],c)<0?u=f+1:d=f}while(u<d)}return u}function i(l,c,u=0,d=l.length){if(u<d){if(e(c,c)!==0)return d;do{const f=u+d>>>1;r(l[f],c)<=0?u=f+1:d=f}while(u<d)}return u}function o(l,c,u=0,d=l.length){const f=s(l,c,u,d-1);return f>u&&n(l[f-1],c)>-n(l[f],c)?f-1:f}return{left:s,center:o,right:i}}function jgt(){return 0}function Tgt(t){return t===null?NaN:+t}const Egt=j7(tC),lde=Egt.right;j7(Tgt).center;class pJ extends Map{constructor(e,r=Dgt){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),e!=null)for(const[n,s]of e)this.set(n,s)}get(e){return super.get(mJ(this,e))}has(e){return super.has(mJ(this,e))}set(e,r){return super.set(Rgt(this,e),r)}delete(e){return super.delete(Igt(this,e))}}function mJ({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):r}function Rgt({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}function Igt({_intern:t,_key:e},r){const n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}function Dgt(t){return t!==null&&typeof t=="object"?t.valueOf():t}const $gt=Math.sqrt(50),Ogt=Math.sqrt(10),Lgt=Math.sqrt(2);function S3(t,e,r){const n=(e-t)/Math.max(0,r),s=Math.floor(Math.log10(n)),i=n/Math.pow(10,s),o=i>=$gt?10:i>=Ogt?5:i>=Lgt?2:1;let l,c,u;return s<0?(u=Math.pow(10,-s)/o,l=Math.round(t*u),c=Math.round(e*u),l/u<t&&++l,c/u>e&&--c,u=-u):(u=Math.pow(10,s)*o,l=Math.round(t/u),c=Math.round(e/u),l*u<t&&++l,c*u>e&&--c),c<l&&.5<=r&&r<2?S3(t,e,r*2):[l,c,u]}function w$(t,e,r){if(e=+e,t=+t,r=+r,!(r>0))return[];if(t===e)return[t];const n=e<t,[s,i,o]=n?S3(e,t,r):S3(t,e,r);if(!(i>=s))return[];const l=i-s+1,c=new Array(l);if(n)if(o<0)for(let u=0;u<l;++u)c[u]=(i-u)/-o;else for(let u=0;u<l;++u)c[u]=(i-u)*o;else if(o<0)for(let u=0;u<l;++u)c[u]=(s+u)/-o;else for(let u=0;u<l;++u)c[u]=(s+u)*o;return c}function C$(t,e,r){return e=+e,t=+t,r=+r,S3(t,e,r)[2]}function A$(t,e,r){e=+e,t=+t,r=+r;const n=e<t,s=n?C$(e,t,r):C$(t,e,r);return(n?-1:1)*(s<0?1/-s:s)}function Ngt(t,e,r){t=+t,e=+e,r=(s=arguments.length)<2?(e=t,t=0,1):s<3?1:+r;for(var n=-1,s=Math.max(0,Math.ceil((e-t)/r))|0,i=new Array(s);++n<s;)i[n]=t+n*r;return i}function rf(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}function Fgt(t,e){switch(arguments.length){case 0:break;case 1:{typeof t=="function"?this.interpolator(t):this.range(t);break}default:{this.domain(t),typeof e=="function"?this.interpolator(e):this.range(e);break}}return this}const hJ=Symbol("implicit");function w3(){var t=new pJ,e=[],r=[],n=hJ;function s(i){let o=t.get(i);if(o===void 0){if(n!==hJ)return n;t.set(i,o=e.push(i)-1)}return r[o%r.length]}return s.domain=function(i){if(!arguments.length)return e.slice();e=[],t=new pJ;for(const o of i)t.has(o)||t.set(o,e.push(o)-1);return s},s.range=function(i){return arguments.length?(r=Array.from(i),s):r.slice()},s.unknown=function(i){return arguments.length?(n=i,s):n},s.copy=function(){return w3(e,r).unknown(n)},rf.apply(s,arguments),s}function vk(){var t=w3().unknown(void 0),e=t.domain,r=t.range,n=0,s=1,i,o,l=!1,c=0,u=0,d=.5;delete t.unknown;function f(){var p=e().length,m=s<n,h=m?s:n,_=m?n:s;i=(_-h)/Math.max(1,p-c+u*2),l&&(i=Math.floor(i)),h+=(_-h-i*(p-c))*d,o=i*(1-c),l&&(h=Math.round(h),o=Math.round(o));var g=Ngt(p).map(function(y){return h+i*y});return r(m?g.reverse():g)}return t.domain=function(p){return arguments.length?(e(p),f()):e()},t.range=function(p){return arguments.length?([n,s]=p,n=+n,s=+s,f()):[n,s]},t.rangeRound=function(p){return[n,s]=p,n=+n,s=+s,l=!0,f()},t.bandwidth=function(){return o},t.step=function(){return i},t.round=function(p){return arguments.length?(l=!!p,f()):l},t.padding=function(p){return arguments.length?(c=Math.min(1,u=+p),f()):c},t.paddingInner=function(p){return arguments.length?(c=Math.min(1,p),f()):c},t.paddingOuter=function(p){return arguments.length?(u=+p,f()):u},t.align=function(p){return arguments.length?(d=Math.max(0,Math.min(1,p)),f()):d},t.copy=function(){return vk(e(),[n,s]).round(l).paddingInner(c).paddingOuter(u).align(d)},rf.apply(f(),arguments)}function cde(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return cde(e())},t}function ude(){return cde(vk.apply(null,arguments).paddingInner(1))}function T7(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function dde(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function sx(){}var c0=.7,C3=1/c0,S_="\\s*([+-]?\\d+)\\s*",u0="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Lu="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ugt=/^#([0-9a-f]{3,8})$/,Bgt=new RegExp(`^rgb\\(${S_},${S_},${S_}\\)$`),zgt=new RegExp(`^rgb\\(${Lu},${Lu},${Lu}\\)$`),qgt=new RegExp(`^rgba\\(${S_},${S_},${S_},${u0}\\)$`),Vgt=new RegExp(`^rgba\\(${Lu},${Lu},${Lu},${u0}\\)$`),Hgt=new RegExp(`^hsl\\(${u0},${Lu},${Lu}\\)$`),Ggt=new RegExp(`^hsla\\(${u0},${Lu},${Lu},${u0}\\)$`),gJ={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};T7(sx,d0,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:_J,formatHex:_J,formatHex8:Wgt,formatHsl:Ygt,formatRgb:vJ,toString:vJ});function _J(){return this.rgb().formatHex()}function Wgt(){return this.rgb().formatHex8()}function Ygt(){return fde(this).formatHsl()}function vJ(){return this.rgb().formatRgb()}function d0(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=Ugt.exec(t))?(r=e[1].length,e=parseInt(e[1],16),r===6?yJ(e):r===3?new ja(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):r===8?ww(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):r===4?ww(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=Bgt.exec(t))?new ja(e[1],e[2],e[3],1):(e=zgt.exec(t))?new ja(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=qgt.exec(t))?ww(e[1],e[2],e[3],e[4]):(e=Vgt.exec(t))?ww(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=Hgt.exec(t))?SJ(e[1],e[2]/100,e[3]/100,1):(e=Ggt.exec(t))?SJ(e[1],e[2]/100,e[3]/100,e[4]):gJ.hasOwnProperty(t)?yJ(gJ[t]):t==="transparent"?new ja(NaN,NaN,NaN,0):null}function yJ(t){return new ja(t>>16&255,t>>8&255,t&255,1)}function ww(t,e,r,n){return n<=0&&(t=e=r=NaN),new ja(t,e,r,n)}function Kgt(t){return t instanceof sx||(t=d0(t)),t?(t=t.rgb(),new ja(t.r,t.g,t.b,t.opacity)):new ja}function k$(t,e,r,n){return arguments.length===1?Kgt(t):new ja(t,e,r,n??1)}function ja(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}T7(ja,k$,dde(sx,{brighter(t){return t=t==null?C3:Math.pow(C3,t),new ja(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?c0:Math.pow(c0,t),new ja(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new ja(uh(this.r),uh(this.g),uh(this.b),A3(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:bJ,formatHex:bJ,formatHex8:Qgt,formatRgb:xJ,toString:xJ}));function bJ(){return`#${Jm(this.r)}${Jm(this.g)}${Jm(this.b)}`}function Qgt(){return`#${Jm(this.r)}${Jm(this.g)}${Jm(this.b)}${Jm((isNaN(this.opacity)?1:this.opacity)*255)}`}function xJ(){const t=A3(this.opacity);return`${t===1?"rgb(":"rgba("}${uh(this.r)}, ${uh(this.g)}, ${uh(this.b)}${t===1?")":`, ${t})`}`}function A3(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function uh(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Jm(t){return t=uh(t),(t<16?"0":"")+t.toString(16)}function SJ(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Pc(t,e,r,n)}function fde(t){if(t instanceof Pc)return new Pc(t.h,t.s,t.l,t.opacity);if(t instanceof sx||(t=d0(t)),!t)return new Pc;if(t instanceof Pc)return t;t=t.rgb();var e=t.r/255,r=t.g/255,n=t.b/255,s=Math.min(e,r,n),i=Math.max(e,r,n),o=NaN,l=i-s,c=(i+s)/2;return l?(e===i?o=(r-n)/l+(r<n)*6:r===i?o=(n-e)/l+2:o=(e-r)/l+4,l/=c<.5?i+s:2-i-s,o*=60):l=c>0&&c<1?0:o,new Pc(o,l,c,t.opacity)}function Zgt(t,e,r,n){return arguments.length===1?fde(t):new Pc(t,e,r,n??1)}function Pc(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}T7(Pc,Zgt,dde(sx,{brighter(t){return t=t==null?C3:Math.pow(C3,t),new Pc(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?c0:Math.pow(c0,t),new Pc(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,s=2*r-n;return new ja(oD(t>=240?t-240:t+120,s,n),oD(t,s,n),oD(t<120?t+240:t-120,s,n),this.opacity)},clamp(){return new Pc(wJ(this.h),Cw(this.s),Cw(this.l),A3(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=A3(this.opacity);return`${t===1?"hsl(":"hsla("}${wJ(this.h)}, ${Cw(this.s)*100}%, ${Cw(this.l)*100}%${t===1?")":`, ${t})`}`}}));function wJ(t){return t=(t||0)%360,t<0?t+360:t}function Cw(t){return Math.max(0,Math.min(1,t||0))}function oD(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}const E7=t=>()=>t;function Xgt(t,e){return function(r){return t+r*e}}function Jgt(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}function e_t(t){return(t=+t)==1?pde:function(e,r){return r-e?Jgt(e,r,t):E7(isNaN(e)?r:e)}}function pde(t,e){var r=e-t;return r?Xgt(t,r):E7(isNaN(t)?e:t)}const CJ=(function t(e){var r=e_t(e);function n(s,i){var o=r((s=k$(s)).r,(i=k$(i)).r),l=r(s.g,i.g),c=r(s.b,i.b),u=pde(s.opacity,i.opacity);return function(d){return s.r=o(d),s.g=l(d),s.b=c(d),s.opacity=u(d),s+""}}return n.gamma=t,n})(1);function t_t(t,e){e||(e=[]);var r=t?Math.min(e.length,t.length):0,n=e.slice(),s;return function(i){for(s=0;s<r;++s)n[s]=t[s]*(1-i)+e[s]*i;return n}}function r_t(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function n_t(t,e){var r=e?e.length:0,n=t?Math.min(r,t.length):0,s=new Array(n),i=new Array(r),o;for(o=0;o<n;++o)s[o]=yk(t[o],e[o]);for(;o<r;++o)i[o]=e[o];return function(l){for(o=0;o<n;++o)i[o]=s[o](l);return i}}function R7(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}function Js(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}function s_t(t,e){var r={},n={},s;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(s in e)s in t?r[s]=yk(t[s],e[s]):n[s]=e[s];return function(i){for(s in r)n[s]=r[s](i);return n}}var M$=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,aD=new RegExp(M$.source,"g");function i_t(t){return function(){return t}}function o_t(t){return function(e){return t(e)+""}}function I7(t,e){var r=M$.lastIndex=aD.lastIndex=0,n,s,i,o=-1,l=[],c=[];for(t=t+"",e=e+"";(n=M$.exec(t))&&(s=aD.exec(e));)(i=s.index)>r&&(i=e.slice(r,i),l[o]?l[o]+=i:l[++o]=i),(n=n[0])===(s=s[0])?l[o]?l[o]+=s:l[++o]=s:(l[++o]=null,c.push({i:o,x:Js(n,s)})),r=aD.lastIndex;return r<e.length&&(i=e.slice(r),l[o]?l[o]+=i:l[++o]=i),l.length<2?c[0]?o_t(c[0].x):i_t(e):(e=c.length,function(u){for(var d=0,f;d<e;++d)l[(f=c[d]).i]=f.x(u);return l.join("")})}function yk(t,e){var r=typeof e,n;return e==null||r==="boolean"?E7(e):(r==="number"?Js:r==="string"?(n=d0(e))?(e=n,CJ):I7:e instanceof d0?CJ:e instanceof Date?R7:r_t(e)?t_t:Array.isArray(e)?n_t:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?s_t:Js)(t,e)}function mde(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}function a_t(t){return function(){return t}}function l_t(t){return+t}var AJ=[0,1];function Wl(t){return t}function P$(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:a_t(isNaN(e)?NaN:.5)}function c_t(t,e){var r;return t>e&&(r=t,t=e,e=r),function(n){return Math.max(t,Math.min(e,n))}}function u_t(t,e,r){var n=t[0],s=t[1],i=e[0],o=e[1];return s<n?(n=P$(s,n),i=r(o,i)):(n=P$(n,s),i=r(i,o)),function(l){return i(n(l))}}function d_t(t,e,r){var n=Math.min(t.length,e.length)-1,s=new Array(n),i=new Array(n),o=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++o<n;)s[o]=P$(t[o],t[o+1]),i[o]=r(e[o],e[o+1]);return function(l){var c=lde(t,l,1,n)-1;return i[c](s[c](l))}}function ix(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function bk(){var t=AJ,e=AJ,r=yk,n,s,i,o=Wl,l,c,u;function d(){var p=Math.min(t.length,e.length);return o!==Wl&&(o=c_t(t[0],t[p-1])),l=p>2?d_t:u_t,c=u=null,f}function f(p){return p==null||isNaN(p=+p)?i:(c||(c=l(t.map(n),e,r)))(n(o(p)))}return f.invert=function(p){return o(s((u||(u=l(e,t.map(n),Js)))(p)))},f.domain=function(p){return arguments.length?(t=Array.from(p,l_t),d()):t.slice()},f.range=function(p){return arguments.length?(e=Array.from(p),d()):e.slice()},f.rangeRound=function(p){return e=Array.from(p),r=mde,d()},f.clamp=function(p){return arguments.length?(o=p?!0:Wl,d()):o!==Wl},f.interpolate=function(p){return arguments.length?(r=p,d()):r},f.unknown=function(p){return arguments.length?(i=p,f):i},function(p,m){return n=p,s=m,d()}}function hde(){return bk()(Wl,Wl)}function f_t(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function k3(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function X_(t){return t=k3(Math.abs(t)),t?t[1]:NaN}function p_t(t,e){return function(r,n){for(var s=r.length,i=[],o=0,l=t[0],c=0;s>0&&l>0&&(c+l+1>n&&(l=Math.max(1,n-c)),i.push(r.substring(s-=l,s+l)),!((c+=l+1)>n));)l=t[o=(o+1)%t.length];return i.reverse().join(e)}}function m_t(t){return function(e){return e.replace(/[0-9]/g,function(r){return t[+r]})}}var h_t=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function f0(t){if(!(e=h_t.exec(t)))throw new Error("invalid format: "+t);var e;return new D7({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}f0.prototype=D7.prototype;function D7(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}D7.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function g_t(t){e:for(var e=t.length,r=1,n=-1,s;r<e;++r)switch(t[r]){case".":n=s=r;break;case"0":n===0&&(n=r),s=r;break;default:if(!+t[r])break e;n>0&&(n=0);break}return n>0?t.slice(0,n)+t.slice(s+1):t}var gde;function __t(t,e){var r=k3(t,e);if(!r)return t+"";var n=r[0],s=r[1],i=s-(gde=Math.max(-8,Math.min(8,Math.floor(s/3)))*3)+1,o=n.length;return i===o?n:i>o?n+new Array(i-o+1).join("0"):i>0?n.slice(0,i)+"."+n.slice(i):"0."+new Array(1-i).join("0")+k3(t,Math.max(0,e+i-1))[0]}function kJ(t,e){var r=k3(t,e);if(!r)return t+"";var n=r[0],s=r[1];return s<0?"0."+new Array(-s).join("0")+n:n.length>s+1?n.slice(0,s+1)+"."+n.slice(s+1):n+new Array(s-n.length+2).join("0")}const MJ={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:f_t,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>kJ(t*100,e),r:kJ,s:__t,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function PJ(t){return t}var jJ=Array.prototype.map,TJ=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function v_t(t){var e=t.grouping===void 0||t.thousands===void 0?PJ:p_t(jJ.call(t.grouping,Number),t.thousands+""),r=t.currency===void 0?"":t.currency[0]+"",n=t.currency===void 0?"":t.currency[1]+"",s=t.decimal===void 0?".":t.decimal+"",i=t.numerals===void 0?PJ:m_t(jJ.call(t.numerals,String)),o=t.percent===void 0?"%":t.percent+"",l=t.minus===void 0?"−":t.minus+"",c=t.nan===void 0?"NaN":t.nan+"";function u(f){f=f0(f);var p=f.fill,m=f.align,h=f.sign,_=f.symbol,g=f.zero,y=f.width,b=f.comma,x=f.precision,w=f.trim,C=f.type;C==="n"?(b=!0,C="g"):MJ[C]||(x===void 0&&(x=12),w=!0,C="g"),(g||p==="0"&&m==="=")&&(g=!0,p="0",m="=");var k=_==="$"?r:_==="#"&&/[boxX]/.test(C)?"0"+C.toLowerCase():"",A=_==="$"?n:/[%p]/.test(C)?o:"",P=MJ[C],T=/[defgprs%]/.test(C);x=x===void 0?6:/[gprs]/.test(C)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x));function j(R){var D=k,O=A,N,F,U;if(C==="c")O=P(R)+O,R="";else{R=+R;var z=R<0||1/R<0;if(R=isNaN(R)?c:P(Math.abs(R),x),w&&(R=g_t(R)),z&&+R==0&&h!=="+"&&(z=!1),D=(z?h==="("?h:l:h==="-"||h==="("?"":h)+D,O=(C==="s"?TJ[8+gde/3]:"")+O+(z&&h==="("?")":""),T){for(N=-1,F=R.length;++N<F;)if(U=R.charCodeAt(N),48>U||U>57){O=(U===46?s+R.slice(N+1):R.slice(N))+O,R=R.slice(0,N);break}}}b&&!g&&(R=e(R,1/0));var H=D.length+R.length+O.length,W=H<y?new Array(y-H+1).join(p):"";switch(b&&g&&(R=e(W+R,W.length?y-O.length:1/0),W=""),m){case"<":R=D+R+O+W;break;case"=":R=D+W+R+O;break;case"^":R=W.slice(0,H=W.length>>1)+D+R+O+W.slice(H);break;default:R=W+D+R+O;break}return i(R)}return j.toString=function(){return f+""},j}function d(f,p){var m=u((f=f0(f),f.type="f",f)),h=Math.max(-8,Math.min(8,Math.floor(X_(p)/3)))*3,_=Math.pow(10,-h),g=TJ[8+h/3];return function(y){return m(_*y)+g}}return{format:u,formatPrefix:d}}var Aw,$7,_de;y_t({thousands:",",grouping:[3],currency:["$",""]});function y_t(t){return Aw=v_t(t),$7=Aw.format,_de=Aw.formatPrefix,Aw}function b_t(t){return Math.max(0,-X_(Math.abs(t)))}function x_t(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(X_(e)/3)))*3-X_(Math.abs(t)))}function S_t(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,X_(e)-X_(t))+1}function w_t(t,e,r,n){var s=A$(t,e,r),i;switch(n=f0(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(t),Math.abs(e));return n.precision==null&&!isNaN(i=x_t(s,o))&&(n.precision=i),_de(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(i=S_t(s,Math.max(Math.abs(t),Math.abs(e))))&&(n.precision=i-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(i=b_t(s))&&(n.precision=i-(n.type==="%")*2);break}}return $7(n)}function xk(t){var e=t.domain;return t.ticks=function(r){var n=e();return w$(n[0],n[n.length-1],r??10)},t.tickFormat=function(r,n){var s=e();return w_t(s[0],s[s.length-1],r??10,n)},t.nice=function(r){r==null&&(r=10);var n=e(),s=0,i=n.length-1,o=n[s],l=n[i],c,u,d=10;for(l<o&&(u=o,o=l,l=u,u=s,s=i,i=u);d-- >0;){if(u=C$(o,l,r),u===c)return n[s]=o,n[i]=l,e(n);if(u>0)o=Math.floor(o/u)*u,l=Math.ceil(l/u)*u;else if(u<0)o=Math.ceil(o*u)/u,l=Math.floor(l*u)/u;else break;c=u}return t},t}function O7(){var t=hde();return t.copy=function(){return ix(t,O7())},rf.apply(t,arguments),xk(t)}function vde(t,e){t=t.slice();var r=0,n=t.length-1,s=t[r],i=t[n],o;return i<s&&(o=r,r=n,n=o,o=s,s=i,i=o),t[r]=e.floor(s),t[n]=e.ceil(i),t}function EJ(t){return Math.log(t)}function RJ(t){return Math.exp(t)}function C_t(t){return-Math.log(-t)}function A_t(t){return-Math.exp(-t)}function k_t(t){return isFinite(t)?+("1e"+t):t<0?0:t}function M_t(t){return t===10?k_t:t===Math.E?Math.exp:e=>Math.pow(t,e)}function P_t(t){return t===Math.E?Math.log:t===10&&Math.log10||t===2&&Math.log2||(t=Math.log(t),e=>Math.log(e)/t)}function IJ(t){return(e,r)=>-t(-e,r)}function j_t(t){const e=t(EJ,RJ),r=e.domain;let n=10,s,i;function o(){return s=P_t(n),i=M_t(n),r()[0]<0?(s=IJ(s),i=IJ(i),t(C_t,A_t)):t(EJ,RJ),e}return e.base=function(l){return arguments.length?(n=+l,o()):n},e.domain=function(l){return arguments.length?(r(l),o()):r()},e.ticks=l=>{const c=r();let u=c[0],d=c[c.length-1];const f=d<u;f&&([u,d]=[d,u]);let p=s(u),m=s(d),h,_;const g=l==null?10:+l;let y=[];if(!(n%1)&&m-p<g){if(p=Math.floor(p),m=Math.ceil(m),u>0){for(;p<=m;++p)for(h=1;h<n;++h)if(_=p<0?h/i(-p):h*i(p),!(_<u)){if(_>d)break;y.push(_)}}else for(;p<=m;++p)for(h=n-1;h>=1;--h)if(_=p>0?h/i(-p):h*i(p),!(_<u)){if(_>d)break;y.push(_)}y.length*2<g&&(y=w$(u,d,g))}else y=w$(p,m,Math.min(m-p,g)).map(i);return f?y.reverse():y},e.tickFormat=(l,c)=>{if(l==null&&(l=10),c==null&&(c=n===10?"s":","),typeof c!="function"&&(!(n%1)&&(c=f0(c)).precision==null&&(c.trim=!0),c=$7(c)),l===1/0)return c;const u=Math.max(1,n*l/e.ticks().length);return d=>{let f=d/i(Math.round(s(d)));return f*n<n-.5&&(f*=n),f<=u?c(d):""}},e.nice=()=>r(vde(r(),{floor:l=>i(Math.floor(s(l))),ceil:l=>i(Math.ceil(s(l)))})),e}function M3(){const t=j_t(bk()).domain([1,10]);return t.copy=()=>ix(t,M3()).base(t.base()),rf.apply(t,arguments),t}function DJ(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function $J(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function T_t(t){var e=1,r=t(DJ(e),$J(e));return r.constant=function(n){return arguments.length?t(DJ(e=+n),$J(e)):e},xk(r)}function yde(){var t=T_t(bk());return t.copy=function(){return ix(t,yde()).constant(t.constant())},rf.apply(t,arguments)}function OJ(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function E_t(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function R_t(t){return t<0?-t*t:t*t}function I_t(t){var e=t(Wl,Wl),r=1;function n(){return r===1?t(Wl,Wl):r===.5?t(E_t,R_t):t(OJ(r),OJ(1/r))}return e.exponent=function(s){return arguments.length?(r=+s,n()):r},xk(e)}function L7(){var t=I_t(bk());return t.copy=function(){return ix(t,L7()).exponent(t.exponent())},rf.apply(t,arguments),t}function D_t(){return L7.apply(null,arguments).exponent(.5)}function bde(){var t=[.5],e=[0,1],r,n=1;function s(i){return i!=null&&i<=i?e[lde(t,i,0,n)]:r}return s.domain=function(i){return arguments.length?(t=Array.from(i),n=Math.min(t.length,e.length-1),s):t.slice()},s.range=function(i){return arguments.length?(e=Array.from(i),n=Math.min(t.length,e.length-1),s):e.slice()},s.invertExtent=function(i){var o=e.indexOf(i);return[t[o-1],t[o]]},s.unknown=function(i){return arguments.length?(r=i,s):r},s.copy=function(){return bde().domain(t).range(e).unknown(r)},rf.apply(s,arguments)}const lD=new Date,cD=new Date;function Yi(t,e,r,n){function s(i){return t(i=arguments.length===0?new Date:new Date(+i)),i}return s.floor=i=>(t(i=new Date(+i)),i),s.ceil=i=>(t(i=new Date(i-1)),e(i,1),t(i),i),s.round=i=>{const o=s(i),l=s.ceil(i);return i-o<l-i?o:l},s.offset=(i,o)=>(e(i=new Date(+i),o==null?1:Math.floor(o)),i),s.range=(i,o,l)=>{const c=[];if(i=s.ceil(i),l=l==null?1:Math.floor(l),!(i<o)||!(l>0))return c;let u;do c.push(u=new Date(+i)),e(i,l),t(i);while(u<i&&i<o);return c},s.filter=i=>Yi(o=>{if(o>=o)for(;t(o),!i(o);)o.setTime(o-1)},(o,l)=>{if(o>=o)if(l<0)for(;++l<=0;)for(;e(o,-1),!i(o););else for(;--l>=0;)for(;e(o,1),!i(o););}),r&&(s.count=(i,o)=>(lD.setTime(+i),cD.setTime(+o),t(lD),t(cD),Math.floor(r(lD,cD))),s.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?s.filter(n?o=>n(o)%i===0:o=>s.count(0,o)%i===0):s)),s}const P3=Yi(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);P3.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?Yi(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):P3);P3.range;const Id=1e3,Yl=Id*60,Dd=Yl*60,Gd=Dd*24,N7=Gd*7,LJ=Gd*30,uD=Gd*365,eh=Yi(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*Id)},(t,e)=>(e-t)/Id,t=>t.getUTCSeconds());eh.range;const F7=Yi(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Id)},(t,e)=>{t.setTime(+t+e*Yl)},(t,e)=>(e-t)/Yl,t=>t.getMinutes());F7.range;const U7=Yi(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*Yl)},(t,e)=>(e-t)/Yl,t=>t.getUTCMinutes());U7.range;const B7=Yi(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Id-t.getMinutes()*Yl)},(t,e)=>{t.setTime(+t+e*Dd)},(t,e)=>(e-t)/Dd,t=>t.getHours());B7.range;const z7=Yi(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*Dd)},(t,e)=>(e-t)/Dd,t=>t.getUTCHours());z7.range;const ox=Yi(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Yl)/Gd,t=>t.getDate()-1);ox.range;const Sk=Yi(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/Gd,t=>t.getUTCDate()-1);Sk.range;const xde=Yi(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/Gd,t=>Math.floor(t/Gd));xde.range;function Vh(t){return Yi(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,r)=>{e.setDate(e.getDate()+r*7)},(e,r)=>(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*Yl)/N7)}const wk=Vh(0),j3=Vh(1),$_t=Vh(2),O_t=Vh(3),J_=Vh(4),L_t=Vh(5),N_t=Vh(6);wk.range;j3.range;$_t.range;O_t.range;J_.range;L_t.range;N_t.range;function Hh(t){return Yi(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCDate(e.getUTCDate()+r*7)},(e,r)=>(r-e)/N7)}const Ck=Hh(0),T3=Hh(1),F_t=Hh(2),U_t=Hh(3),ev=Hh(4),B_t=Hh(5),z_t=Hh(6);Ck.range;T3.range;F_t.range;U_t.range;ev.range;B_t.range;z_t.range;const q7=Yi(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());q7.range;const V7=Yi(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());V7.range;const Wd=Yi(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());Wd.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:Yi(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)});Wd.range;const Yd=Yi(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());Yd.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:Yi(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)});Yd.range;function Sde(t,e,r,n,s,i){const o=[[eh,1,Id],[eh,5,5*Id],[eh,15,15*Id],[eh,30,30*Id],[i,1,Yl],[i,5,5*Yl],[i,15,15*Yl],[i,30,30*Yl],[s,1,Dd],[s,3,3*Dd],[s,6,6*Dd],[s,12,12*Dd],[n,1,Gd],[n,2,2*Gd],[r,1,N7],[e,1,LJ],[e,3,3*LJ],[t,1,uD]];function l(u,d,f){const p=d<u;p&&([u,d]=[d,u]);const m=f&&typeof f.range=="function"?f:c(u,d,f),h=m?m.range(u,+d+1):[];return p?h.reverse():h}function c(u,d,f){const p=Math.abs(d-u)/f,m=j7(([,,g])=>g).right(o,p);if(m===o.length)return t.every(A$(u/uD,d/uD,f));if(m===0)return P3.every(Math.max(A$(u,d,f),1));const[h,_]=o[p/o[m-1][2]<o[m][2]/p?m-1:m];return h.every(_)}return[l,c]}const[q_t,V_t]=Sde(Yd,V7,Ck,xde,z7,U7),[H_t,G_t]=Sde(Wd,q7,wk,ox,B7,F7);function dD(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function fD(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function $y(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}function W_t(t){var e=t.dateTime,r=t.date,n=t.time,s=t.periods,i=t.days,o=t.shortDays,l=t.months,c=t.shortMonths,u=Oy(s),d=Ly(s),f=Oy(i),p=Ly(i),m=Oy(o),h=Ly(o),_=Oy(l),g=Ly(l),y=Oy(c),b=Ly(c),x={a:z,A:H,b:W,B:K,c:null,d:qJ,e:qJ,f:gvt,g:kvt,G:Pvt,H:pvt,I:mvt,j:hvt,L:wde,m:_vt,M:vvt,p:q,q:X,Q:GJ,s:WJ,S:yvt,u:bvt,U:xvt,V:Svt,w:wvt,W:Cvt,x:null,X:null,y:Avt,Y:Mvt,Z:jvt,"%":HJ},w={a:Q,A:Y,b:Z,B:re,c:null,d:VJ,e:VJ,f:Ivt,g:qvt,G:Hvt,H:Tvt,I:Evt,j:Rvt,L:Ade,m:Dvt,M:$vt,p:fe,q:de,Q:GJ,s:WJ,S:Ovt,u:Lvt,U:Nvt,V:Fvt,w:Uvt,W:Bvt,x:null,X:null,y:zvt,Y:Vvt,Z:Gvt,"%":HJ},C={a:j,A:R,b:D,B:O,c:N,d:BJ,e:BJ,f:cvt,g:UJ,G:FJ,H:zJ,I:zJ,j:ivt,L:lvt,m:svt,M:ovt,p:T,q:nvt,Q:dvt,s:fvt,S:avt,u:X_t,U:J_t,V:evt,w:Z_t,W:tvt,x:F,X:U,y:UJ,Y:FJ,Z:rvt,"%":uvt};x.x=k(r,x),x.X=k(n,x),x.c=k(e,x),w.x=k(r,w),w.X=k(n,w),w.c=k(e,w);function k(se,le){return function(ee){var J=[],me=-1,pe=0,Se=se.length,ve,xe,qe;for(ee instanceof Date||(ee=new Date(+ee));++me<Se;)se.charCodeAt(me)===37&&(J.push(se.slice(pe,me)),(xe=NJ[ve=se.charAt(++me)])!=null?ve=se.charAt(++me):xe=ve==="e"?" ":"0",(qe=le[ve])&&(ve=qe(ee,xe)),J.push(ve),pe=me+1);return J.push(se.slice(pe,me)),J.join("")}}function A(se,le){return function(ee){var J=$y(1900,void 0,1),me=P(J,se,ee+="",0),pe,Se;if(me!=ee.length)return null;if("Q"in J)return new Date(J.Q);if("s"in J)return new Date(J.s*1e3+("L"in J?J.L:0));if(le&&!("Z"in J)&&(J.Z=0),"p"in J&&(J.H=J.H%12+J.p*12),J.m===void 0&&(J.m="q"in J?J.q:0),"V"in J){if(J.V<1||J.V>53)return null;"w"in J||(J.w=1),"Z"in J?(pe=fD($y(J.y,0,1)),Se=pe.getUTCDay(),pe=Se>4||Se===0?T3.ceil(pe):T3(pe),pe=Sk.offset(pe,(J.V-1)*7),J.y=pe.getUTCFullYear(),J.m=pe.getUTCMonth(),J.d=pe.getUTCDate()+(J.w+6)%7):(pe=dD($y(J.y,0,1)),Se=pe.getDay(),pe=Se>4||Se===0?j3.ceil(pe):j3(pe),pe=ox.offset(pe,(J.V-1)*7),J.y=pe.getFullYear(),J.m=pe.getMonth(),J.d=pe.getDate()+(J.w+6)%7)}else("W"in J||"U"in J)&&("w"in J||(J.w="u"in J?J.u%7:"W"in J?1:0),Se="Z"in J?fD($y(J.y,0,1)).getUTCDay():dD($y(J.y,0,1)).getDay(),J.m=0,J.d="W"in J?(J.w+6)%7+J.W*7-(Se+5)%7:J.w+J.U*7-(Se+6)%7);return"Z"in J?(J.H+=J.Z/100|0,J.M+=J.Z%100,fD(J)):dD(J)}}function P(se,le,ee,J){for(var me=0,pe=le.length,Se=ee.length,ve,xe;me<pe;){if(J>=Se)return-1;if(ve=le.charCodeAt(me++),ve===37){if(ve=le.charAt(me++),xe=C[ve in NJ?le.charAt(me++):ve],!xe||(J=xe(se,ee,J))<0)return-1}else if(ve!=ee.charCodeAt(J++))return-1}return J}function T(se,le,ee){var J=u.exec(le.slice(ee));return J?(se.p=d.get(J[0].toLowerCase()),ee+J[0].length):-1}function j(se,le,ee){var J=m.exec(le.slice(ee));return J?(se.w=h.get(J[0].toLowerCase()),ee+J[0].length):-1}function R(se,le,ee){var J=f.exec(le.slice(ee));return J?(se.w=p.get(J[0].toLowerCase()),ee+J[0].length):-1}function D(se,le,ee){var J=y.exec(le.slice(ee));return J?(se.m=b.get(J[0].toLowerCase()),ee+J[0].length):-1}function O(se,le,ee){var J=_.exec(le.slice(ee));return J?(se.m=g.get(J[0].toLowerCase()),ee+J[0].length):-1}function N(se,le,ee){return P(se,e,le,ee)}function F(se,le,ee){return P(se,r,le,ee)}function U(se,le,ee){return P(se,n,le,ee)}function z(se){return o[se.getDay()]}function H(se){return i[se.getDay()]}function W(se){return c[se.getMonth()]}function K(se){return l[se.getMonth()]}function q(se){return s[+(se.getHours()>=12)]}function X(se){return 1+~~(se.getMonth()/3)}function Q(se){return o[se.getUTCDay()]}function Y(se){return i[se.getUTCDay()]}function Z(se){return c[se.getUTCMonth()]}function re(se){return l[se.getUTCMonth()]}function fe(se){return s[+(se.getUTCHours()>=12)]}function de(se){return 1+~~(se.getUTCMonth()/3)}return{format:function(se){var le=k(se+="",x);return le.toString=function(){return se},le},parse:function(se){var le=A(se+="",!1);return le.toString=function(){return se},le},utcFormat:function(se){var le=k(se+="",w);return le.toString=function(){return se},le},utcParse:function(se){var le=A(se+="",!0);return le.toString=function(){return se},le}}}var NJ={"-":"",_:" ",0:"0"},oo=/^\s*\d+/,Y_t=/^%/,K_t=/[\\^$*+?|[\]().{}]/g;function cs(t,e,r){var n=t<0?"-":"",s=(n?-t:t)+"",i=s.length;return n+(i<r?new Array(r-i+1).join(e)+s:s)}function Q_t(t){return t.replace(K_t,"\\$&")}function Oy(t){return new RegExp("^(?:"+t.map(Q_t).join("|")+")","i")}function Ly(t){return new Map(t.map((e,r)=>[e.toLowerCase(),r]))}function Z_t(t,e,r){var n=oo.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function X_t(t,e,r){var n=oo.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function J_t(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function evt(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function tvt(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function FJ(t,e,r){var n=oo.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function UJ(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function rvt(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function nvt(t,e,r){var n=oo.exec(e.slice(r,r+1));return n?(t.q=n[0]*3-3,r+n[0].length):-1}function svt(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function BJ(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function ivt(t,e,r){var n=oo.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function zJ(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function ovt(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function avt(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function lvt(t,e,r){var n=oo.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function cvt(t,e,r){var n=oo.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function uvt(t,e,r){var n=Y_t.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function dvt(t,e,r){var n=oo.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function fvt(t,e,r){var n=oo.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function qJ(t,e){return cs(t.getDate(),e,2)}function pvt(t,e){return cs(t.getHours(),e,2)}function mvt(t,e){return cs(t.getHours()%12||12,e,2)}function hvt(t,e){return cs(1+ox.count(Wd(t),t),e,3)}function wde(t,e){return cs(t.getMilliseconds(),e,3)}function gvt(t,e){return wde(t,e)+"000"}function _vt(t,e){return cs(t.getMonth()+1,e,2)}function vvt(t,e){return cs(t.getMinutes(),e,2)}function yvt(t,e){return cs(t.getSeconds(),e,2)}function bvt(t){var e=t.getDay();return e===0?7:e}function xvt(t,e){return cs(wk.count(Wd(t)-1,t),e,2)}function Cde(t){var e=t.getDay();return e>=4||e===0?J_(t):J_.ceil(t)}function Svt(t,e){return t=Cde(t),cs(J_.count(Wd(t),t)+(Wd(t).getDay()===4),e,2)}function wvt(t){return t.getDay()}function Cvt(t,e){return cs(j3.count(Wd(t)-1,t),e,2)}function Avt(t,e){return cs(t.getFullYear()%100,e,2)}function kvt(t,e){return t=Cde(t),cs(t.getFullYear()%100,e,2)}function Mvt(t,e){return cs(t.getFullYear()%1e4,e,4)}function Pvt(t,e){var r=t.getDay();return t=r>=4||r===0?J_(t):J_.ceil(t),cs(t.getFullYear()%1e4,e,4)}function jvt(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+cs(e/60|0,"0",2)+cs(e%60,"0",2)}function VJ(t,e){return cs(t.getUTCDate(),e,2)}function Tvt(t,e){return cs(t.getUTCHours(),e,2)}function Evt(t,e){return cs(t.getUTCHours()%12||12,e,2)}function Rvt(t,e){return cs(1+Sk.count(Yd(t),t),e,3)}function Ade(t,e){return cs(t.getUTCMilliseconds(),e,3)}function Ivt(t,e){return Ade(t,e)+"000"}function Dvt(t,e){return cs(t.getUTCMonth()+1,e,2)}function $vt(t,e){return cs(t.getUTCMinutes(),e,2)}function Ovt(t,e){return cs(t.getUTCSeconds(),e,2)}function Lvt(t){var e=t.getUTCDay();return e===0?7:e}function Nvt(t,e){return cs(Ck.count(Yd(t)-1,t),e,2)}function kde(t){var e=t.getUTCDay();return e>=4||e===0?ev(t):ev.ceil(t)}function Fvt(t,e){return t=kde(t),cs(ev.count(Yd(t),t)+(Yd(t).getUTCDay()===4),e,2)}function Uvt(t){return t.getUTCDay()}function Bvt(t,e){return cs(T3.count(Yd(t)-1,t),e,2)}function zvt(t,e){return cs(t.getUTCFullYear()%100,e,2)}function qvt(t,e){return t=kde(t),cs(t.getUTCFullYear()%100,e,2)}function Vvt(t,e){return cs(t.getUTCFullYear()%1e4,e,4)}function Hvt(t,e){var r=t.getUTCDay();return t=r>=4||r===0?ev(t):ev.ceil(t),cs(t.getUTCFullYear()%1e4,e,4)}function Gvt(){return"+0000"}function HJ(){return"%"}function GJ(t){return+t}function WJ(t){return Math.floor(+t/1e3)}var Qg,Mde,Pde;Wvt({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Wvt(t){return Qg=W_t(t),Mde=Qg.format,Qg.parse,Pde=Qg.utcFormat,Qg.utcParse,Qg}function Yvt(t){return new Date(t)}function Kvt(t){return t instanceof Date?+t:+new Date(+t)}function H7(t,e,r,n,s,i,o,l,c,u){var d=hde(),f=d.invert,p=d.domain,m=u(".%L"),h=u(":%S"),_=u("%I:%M"),g=u("%I %p"),y=u("%a %d"),b=u("%b %d"),x=u("%B"),w=u("%Y");function C(k){return(c(k)<k?m:l(k)<k?h:o(k)<k?_:i(k)<k?g:n(k)<k?s(k)<k?y:b:r(k)<k?x:w)(k)}return d.invert=function(k){return new Date(f(k))},d.domain=function(k){return arguments.length?p(Array.from(k,Kvt)):p().map(Yvt)},d.ticks=function(k){var A=p();return t(A[0],A[A.length-1],k??10)},d.tickFormat=function(k,A){return A==null?C:u(A)},d.nice=function(k){var A=p();return(!k||typeof k.range!="function")&&(k=e(A[0],A[A.length-1],k??10)),k?p(vde(A,k)):d},d.copy=function(){return ix(d,H7(t,e,r,n,s,i,o,l,c,u))},d}function jde(){return rf.apply(H7(H_t,G_t,Wd,q7,wk,ox,B7,F7,eh,Mde).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Qvt(){return rf.apply(H7(q_t,V_t,Yd,V7,Ck,Sk,z7,U7,eh,Pde).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Zvt(){var t=0,e=1,r,n,s,i,o=Wl,l=!1,c;function u(f){return f==null||isNaN(f=+f)?c:o(s===0?.5:(f=(i(f)-r)*s,l?Math.max(0,Math.min(1,f)):f))}u.domain=function(f){return arguments.length?([t,e]=f,r=i(t=+t),n=i(e=+e),s=r===n?0:1/(n-r),u):[t,e]},u.clamp=function(f){return arguments.length?(l=!!f,u):l},u.interpolator=function(f){return arguments.length?(o=f,u):o};function d(f){return function(p){var m,h;return arguments.length?([m,h]=p,o=f(m,h),u):[o(0),o(1)]}}return u.range=d(yk),u.rangeRound=d(mde),u.unknown=function(f){return arguments.length?(c=f,u):c},function(f){return i=f,r=f(t),n=f(e),s=r===n?0:1/(n-r),u}}function Xvt(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Tde(){var t=xk(Zvt()(Wl));return t.copy=function(){return Xvt(t,Tde())},Fgt.apply(t,arguments)}function Ede(t){return t.type==="piecewise"?bde(t.thresholds,t.colors):Tde([t.min??0,t.max??100],t.color)}function tv(t){return t.values?w3(t.values,t.colors).unknown(t.unknownColor??null):w3(t.colors.map((e,r)=>r),t.colors).unknown(t.unknownColor??null)}function w_(t){return t.type==="ordinal"?tv(t):Ede(t)}function Rde(t,e,r){const{tickMaxStep:n,tickMinStep:s,tickNumber:i}=t,o=s===void 0?999:Math.floor(Math.abs(e[1]-e[0])/s),l=n===void 0?2:Math.ceil(Math.abs(e[1]-e[0])/n);return Math.min(o,Math.max(l,i??r))}function Ide(t,e){return e[1]-e[0]===0?1:t/((e[1]-e[0])/100)}function G7(t){return Math.floor(Math.abs(t)/50)}function Dde(t,e){const r=yde(t,e),n=r.ticks,{negativeScale:s,linearScale:i,positiveScale:o}=Jvt(r);return r.ticks=l=>{const c=n(l),u=r.constant();let d=0,f=0,p=0;c.forEach(h=>{h>-u&&h<u&&(f+=1),h<=-u&&(d+=1),h>=u&&(p+=1)});const m=[];if(d>0&&m.push(...s.ticks(d)),f>0){const h=i.ticks(f);m.at(-1)===h[0]?m.push(...h.slice(1)):m.push(...h)}if(p>0){const h=o.ticks(p);m.at(-1)===h[0]?m.push(...h.slice(1)):m.push(...h)}return m},r.tickFormat=(l=10,c)=>{const u=r.constant(),[d,f]=r.domain(),p=f-d,m=s.domain(),h=m[1]-m[0],g=(p===0?0:h/p)*l,y=i.domain(),b=y[1]-y[0],w=(p===0?0:b/p)*l,C=o.domain(),k=C[1]-C[0],P=(p===0?0:k/p)*l,T=s.tickFormat(g,c),j=i.tickFormat(w,c),R=o.tickFormat(P,c);return D=>(D.valueOf()<=-u?T:D.valueOf()>=u?R:j)(D)},r.copy=()=>Dde(r.domain(),r.range()).constant(r.constant()),r}function Jvt(t){const e=t.constant(),r=t.domain(),n=[r[0],Math.min(r[1],-e)],s=M3(n,t.range()),i=[Math.max(r[0],-e),Math.min(r[1],e)],o=O7(i,t.range()),l=[Math.max(r[0],e),r[1]],c=M3(l,t.range());return{negativeScale:s,linearScale:o,positiveScale:c}}function Ak(t,e,r){switch(t){case"log":return M3(e,r);case"pow":return L7(e,r);case"sqrt":return D_t(e,r);case"time":return jde(e,r);case"utc":return Qvt(e,r);case"symlog":return Dde(e,r);default:return O7(e,r)}}const j$=t=>t?.[0]instanceof Date;function T$(t,e,r){const n=jde(t,e);return(s,{location:i})=>i==="tick"?n.tickFormat(r)(s):`${s.toLocaleString()}`}let YJ,KJ;class e1t{types=new Set;constructor(){if(YJ)throw new Error("You can only create one instance!");YJ=this.types}addType(e){this.types.add(e)}getTypes(){return this.types}}class t1t{types=new Set;constructor(){if(KJ)throw new Error("You can only create one instance!");KJ=this.types}addType(e){this.types.add(e)}getTypes(){return this.types}}const kk=new e1t;kk.addType("bar");kk.addType("line");kk.addType("scatter");const $de=new t1t;$de.addType("radar");function W7(t){return kk.getTypes().has(t)}const r1t=(t,e,r,n)=>{const s=new Set;return Object.keys(e).filter(W7).forEach(o=>{const l=r[o]?.series??{},c=e[o].axisTooltipGetter?.(l);c!==void 0&&c.forEach(({axisId:u,direction:d})=>{d===t&&s.add(u??n)})}),s};function ao(t){return t.bandwidth!==void 0}function n1t(t){return ao(t)&&t.paddingOuter!==void 0}function s1t(t,e,r){const n=e==="x"?[t.left,t.left+t.width]:[t.top+t.height,t.top];return r?[n[1],n[0]]:n}const i1t=.2,o1t=.1;function Ode({scales:t,drawingArea:e,formattedSeries:r,axis:n,seriesConfig:s,axisDirection:i,zoomMap:o,domains:l}){if(n===void 0)return{axis:{},axisIds:[]};const c=r1t(i,s,r,n[0].id),u={};return n.forEach(d=>{const f=d,p=t[f.id],m=o?.get(f.id),h=m?[m.start,m.end]:[0,100],_=s1t(e,i,f.reverse??!1),g=!f.ignoreTooltip&&c.has(f.id),y=f.data??[];if(ao(p)){const k=i==="y"?[_[1],_[0]]:_;if(n1t(p)&&Hd(f)){const A=f.categoryGapRatio??i1t,P=f.barGapRatio??o1t;u[f.id]=ce({offset:0,height:0,categoryGapRatio:A,barGapRatio:P,triggerTooltip:g},f,{data:y,scale:p,tickNumber:f.data.length,colorScale:f.colorMap&&(f.colorMap.type==="ordinal"?tv(ce({values:f.data},f.colorMap)):w_(f.colorMap))})}if(Vp(f)&&(u[f.id]=ce({offset:0,height:0,triggerTooltip:g},f,{data:y,scale:p,tickNumber:f.data.length,colorScale:f.colorMap&&(f.colorMap.type==="ordinal"?tv(ce({values:f.data},f.colorMap)):w_(f.colorMap))})),j$(f.data)){const A=T$(f.data,k,f.tickNumber);u[f.id].valueFormatter=f.valueFormatter??A}return}if(f.scaleType==="band"||f.scaleType==="point")return;const b=l[f.id].tickNumber,x=f,w=x.scaleType??"linear",C=Ide(b,h);u[f.id]=ce({offset:0,height:0,triggerTooltip:g},x,{data:y,scaleType:w,scale:p,tickNumber:C,colorScale:x.colorMap&&Ede(x.colorMap),valueFormatter:f.valueFormatter??Agt(C,Ak(w,_.map(k=>p.invert(k)),_))})}),{axis:u,axisIds:n.map(({id:d})=>d)}}function a1t(t){return t!=null}function l1t(t,e,r,n){const s=t?.length??0,i=Math.floor(e*s/100),o=Math.ceil(r*s/100);return function(c,u){return(c[n]??t?.[u])==null?!0:u>=i&&u<o}}function c1t(t,e,r,n,s){const i=t[0].valueOf(),o=t[1].valueOf(),l=i+e*(o-i)/100,c=i+r*(o-i)/100;return function(d,f){const p=d[n]??s?.[f];return p==null?!0:p>=l&&p<=c}}const u1t=t=>({currentAxisId:e,seriesXAxisId:r,seriesYAxisId:n,isDefaultAxis:s})=>(i,o)=>!(e===r?n:r)||s?Object.values(t??{})[0]?.(i,o)??!0:[n,r].filter(u=>u!==e).map(u=>t[u??""]).filter(a1t).every(u=>u(i,o)),QJ=t=>(e=[])=>e.reduce((r,n)=>{const{zoom:s,id:i,reverse:o}=n,l=P7(s,i,t,o);return l&&(r[i]=l),r},{}),d1t=.2;function Lde(t,e,r){const n=e==="x"?[t.left,t.left+t.width]:[t.top+t.height,t.top];return r.reverse?[n[1],n[0]]:n}function Nde(t,e){const r=[0,1];if(Hd(t)){const i=t.categoryGapRatio??d1t;return vk(e,r).paddingInner(i).paddingOuter(i/2)}if(Vp(t))return ude(e,r);const n=t.scaleType??"linear",s=Ak(n,e,r);return Mgt(t)&&t.constant!=null&&s.constant(t.constant),s}const Fde=(t,e)=>{const r=t[1]-t[0],n=e[1]-e[0],s=t[0]-e[0]*r/n,i=t[1]+(100-e[1])*r/n;return[s,i]},f1t=(t,e,r,n,s,i,o)=>{const l=r==="x"?n[t].xExtremumGetter:n[t].yExtremumGetter,c=i[t]?.series??{};return l?.({series:c,axis:e,axisIndex:s,isDefaultAxis:s===0,getFilters:o})??[1/0,-1/0]};function Mk(t,e,r,n,s,i){const o=Object.keys(r).filter(W7);let l=[1/0,-1/0];for(const c of o){const[u,d]=f1t(c,t,e,r,n,s,i);l=[Math.min(l[0],u),Math.max(l[1],d)]}return Number.isNaN(l[0])||Number.isNaN(l[1])?[1/0,-1/0]:l}const p1t=(t,e,r,n)=>{if(t.domainLimit!==void 0)return t.domainLimit;if(e==="x")for(const s of n.line?.seriesOrder??[]){const i=n.line.series[s];if(i.xAxisId===t.id||i.xAxisId===void 0&&r===0)return"strict"}return"nice"};function Ude(t,e,r){return Ak(t??"linear",e,[0,1]).nice(r).domain()}function Bde(t,e,r,n,[s,i],o,l){const c=qde(t,e,r,n,l);let u=Vde(t,s,i);if(typeof c=="function"){const{min:f,max:p}=c(s.valueOf(),i.valueOf());u[0]=f,u[1]=p}const d=Rde(t,u,o);return c==="nice"&&(u=Ude(t.scaleType,u,d)),u=["min"in t?t.min??u[0]:u[0],"max"in t?t.max??u[1]:u[1]],{domain:u,tickNumber:d}}function zde(t,e,r,n,[s,i],o,l){const c=qde(t,e,r,n,l);let u=Vde(t,s,i);if(typeof c=="function"){const{min:d,max:f}=c(s.valueOf(),i.valueOf());u[0]=d,u[1]=f}return c==="nice"&&(u=Ude(t.scaleType,u,o)),[t.min??u[0],t.max??u[1]]}function qde(t,e,r,n,s){return s?p1t(t,e,r,n):t.domainLimit??"nice"}function Vde(t,e,r){let n=e,s=r;return"max"in t&&t.max!=null&&t.max<e&&(n=t.max),"min"in t&&t.min!=null&&t.min>e&&(s=t.min),!("min"in t)&&!("max"in t)?[n,s]:[t.min??n,t.max??s]}class m1t{constructor(){this.ids=[],this.values=[],this.length=0}clear(){this.length=0}push(e,r){let n=this.length++;for(;n>0;){const s=n-1>>1,i=this.values[s];if(r>=i)break;this.ids[n]=this.ids[s],this.values[n]=i,n=s}this.ids[n]=e,this.values[n]=r}pop(){if(this.length===0)return;const e=this.ids,r=this.values,n=e[0],s=--this.length;if(s>0){const i=e[s],o=r[s];let l=0;const c=s>>1;for(;l<c;){const u=(l<<1)+1,d=u+1,f=u+(+(d<s)&+(r[d]<r[u]));if(r[f]>=o)break;e[l]=e[f],r[l]=r[f],l=f}e[l]=i,r[l]=o}return n}peek(){return this.length>0?this.ids[0]:void 0}peekValue(){return this.length>0?this.values[0]:void 0}shrink(){this.ids.length=this.values.length=this.length}}const ZJ=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],pD=3;class Y7{static from(e,r=0){if(r%8!==0)throw new Error("byteOffset must be 8-byte aligned.");if(!e||e.byteLength===void 0||e.buffer)throw new Error("Data must be an instance of ArrayBuffer or SharedArrayBuffer.");const[n,s]=new Uint8Array(e,r+0,2);if(n!==251)throw new Error("Data does not appear to be in a Flatbush format.");const i=s>>4;if(i!==pD)throw new Error(`Got v${i} data when expected v${pD}.`);const o=ZJ[s&15];if(!o)throw new Error("Unrecognized array type.");const[l]=new Uint16Array(e,r+2,1),[c]=new Uint32Array(e,r+4,1);return new Y7(c,l,o,void 0,e,r)}constructor(e,r=16,n=Float64Array,s=ArrayBuffer,i,o=0){if(e===void 0)throw new Error("Missing required argument: numItems.");if(isNaN(e)||e<=0)throw new Error(`Unexpected numItems value: ${e}.`);this.numItems=+e,this.nodeSize=Math.min(Math.max(+r,2),65535),this.byteOffset=o;let l=e,c=l;this._levelBounds=[l*4];do l=Math.ceil(l/this.nodeSize),c+=l,this._levelBounds.push(c*4);while(l!==1);this.ArrayType=n,this.IndexArrayType=c<16384?Uint16Array:Uint32Array;const u=ZJ.indexOf(n),d=c*4*n.BYTES_PER_ELEMENT;if(u<0)throw new Error(`Unexpected typed array class: ${n}.`);if(i)this.data=i,this._boxes=new n(i,o+8,c*4),this._indices=new this.IndexArrayType(i,o+8+d,c),this._pos=c*4,this.minX=this._boxes[this._pos-4],this.minY=this._boxes[this._pos-3],this.maxX=this._boxes[this._pos-2],this.maxY=this._boxes[this._pos-1];else{const f=this.data=new s(8+d+c*this.IndexArrayType.BYTES_PER_ELEMENT);this._boxes=new n(f,8,c*4),this._indices=new this.IndexArrayType(f,8+d,c),this._pos=0,this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0,new Uint8Array(f,0,2).set([251,(pD<<4)+u]),new Uint16Array(f,2,1)[0]=r,new Uint32Array(f,4,1)[0]=e}this._queue=new m1t}add(e,r,n=e,s=r){const i=this._pos>>2,o=this._boxes;return this._indices[i]=i,o[this._pos++]=e,o[this._pos++]=r,o[this._pos++]=n,o[this._pos++]=s,e<this.minX&&(this.minX=e),r<this.minY&&(this.minY=r),n>this.maxX&&(this.maxX=n),s>this.maxY&&(this.maxY=s),i}finish(){if(this._pos>>2!==this.numItems)throw new Error(`Added ${this._pos>>2} items when expected ${this.numItems}.`);const e=this._boxes;if(this.numItems<=this.nodeSize){e[this._pos++]=this.minX,e[this._pos++]=this.minY,e[this._pos++]=this.maxX,e[this._pos++]=this.maxY;return}const r=this.maxX-this.minX||1,n=this.maxY-this.minY||1,s=new Uint32Array(this.numItems),i=65535;for(let o=0,l=0;o<this.numItems;o++){const c=e[l++],u=e[l++],d=e[l++],f=e[l++],p=Math.floor(i*((c+d)/2-this.minX)/r),m=Math.floor(i*((u+f)/2-this.minY)/n);s[o]=_1t(p,m)}E$(s,e,this._indices,0,this.numItems-1,this.nodeSize);for(let o=0,l=0;o<this._levelBounds.length-1;o++){const c=this._levelBounds[o];for(;l<c;){const u=l;let d=e[l++],f=e[l++],p=e[l++],m=e[l++];for(let h=1;h<this.nodeSize&&l<c;h++)d=Math.min(d,e[l++]),f=Math.min(f,e[l++]),p=Math.max(p,e[l++]),m=Math.max(m,e[l++]);this._indices[this._pos>>2]=u,e[this._pos++]=d,e[this._pos++]=f,e[this._pos++]=p,e[this._pos++]=m}}}search(e,r,n,s,i){if(this._pos!==this._boxes.length)throw new Error("Data not yet indexed - call index.finish().");let o=this._boxes.length-4;const l=[],c=[];for(;o!==void 0;){const u=Math.min(o+this.nodeSize*4,XJ(o,this._levelBounds));for(let d=o;d<u;d+=4){if(n<this._boxes[d]||s<this._boxes[d+1]||e>this._boxes[d+2]||r>this._boxes[d+3])continue;const f=this._indices[d>>2]|0;o>=this.numItems*4?l.push(f):(i===void 0||i(f))&&(c.push(f),c.push(this._boxes[d]),c.push(this._boxes[d+1]))}o=l.pop()}return c}neighbors(e,r,n=1/0,s=1/0,i,o=h1t){if(this._pos!==this._boxes.length)throw new Error("Data not yet indexed - call index.finish().");let l=this._boxes.length-4;const c=this._queue,u=[];e:for(;l!==void 0;){const d=Math.min(l+this.nodeSize*4,XJ(l,this._levelBounds));for(let f=l;f<d;f+=4){const p=this._indices[f>>2]|0,m=this._boxes[f],h=this._boxes[f+1],_=this._boxes[f+2],g=this._boxes[f+3],y=e<m?m-e:e>_?e-_:0,b=r<h?h-r:r>g?r-g:0,x=o(y,b);x>s||(l>=this.numItems*4?c.push(p<<1,x):(i===void 0||i(p))&&c.push((p<<1)+1,x))}for(;c.length&&c.peek()&1;)if(c.peekValue()>s||(u.push(c.pop()>>1),u.length===n))break e;l=c.length?c.pop()>>1:void 0}return c.clear(),u}}function h1t(t,e){return t*t+e*e}function XJ(t,e){let r=0,n=e.length-1;for(;r<n;){const s=r+n>>1;e[s]>t?n=s:r=s+1}return e[r]}function E$(t,e,r,n,s,i){if(Math.floor(n/i)>=Math.floor(s/i))return;const o=t[n],l=t[n+s>>1],c=t[s];let u=c;const d=Math.max(o,l);c>d?u=d:d===o?u=Math.max(l,c):d===l&&(u=Math.max(o,c));let f=n-1,p=s+1;for(;;){do f++;while(t[f]<u);do p--;while(t[p]>u);if(f>=p)break;g1t(t,e,r,f,p)}E$(t,e,r,n,p,i),E$(t,e,r,p+1,s,i)}function g1t(t,e,r,n,s){const i=t[n];t[n]=t[s],t[s]=i;const o=4*n,l=4*s,c=e[o],u=e[o+1],d=e[o+2],f=e[o+3];e[o]=e[l],e[o+1]=e[l+1],e[o+2]=e[l+2],e[o+3]=e[l+3],e[l]=c,e[l+1]=u,e[l+2]=d,e[l+3]=f;const p=r[n];r[n]=r[s],r[s]=p}function _1t(t,e){let r=t^e,n=65535^r,s=65535^(t|e),i=t&(e^65535),o=r|n>>1,l=r>>1^r,c=s>>1^n&i>>1^s,u=r&s>>1^i>>1^i;r=o,n=l,s=c,i=u,o=r&r>>2^n&n>>2,l=r&n>>2^n&(r^n)>>2,c^=r&s>>2^n&i>>2,u^=n&s>>2^(r^n)&i>>2,r=o,n=l,s=c,i=u,o=r&r>>4^n&n>>4,l=r&n>>4^n&(r^n)>>4,c^=r&s>>4^n&i>>4,u^=n&s>>4^(r^n)&i>>4,r=o,n=l,s=c,i=u,c^=r&s>>8^n&i>>8,u^=n&s>>8^(r^n)&i>>8,r=c^c>>1,n=u^u>>1;let d=t^e,f=n|65535^(d|r);return d=(d|d<<8)&16711935,d=(d|d<<4)&252645135,d=(d|d<<2)&858993459,d=(d|d<<1)&1431655765,f=(f|f<<8)&16711935,f=(f|f<<4)&252645135,f=(f|f<<2)&858993459,f=(f|f<<1)&1431655765,(f<<1|d)>>>0}const v1t=t=>{const e=new Map;return t.forEach(r=>{e.set(r.axisId,r)}),e},Hde=t=>t.zoom,Gde=Vt([Hde],t=>t?.isInteracting),Hp=Vt([Hde],t=>t?.zoomData&&v1t(t?.zoomData)),JJ=Vt([Hp,(t,e)=>e],(t,e)=>t?.get(e)),ax=Vt([oc,Hc],(t,e)=>ce({},QJ("x")(t),QJ("y")(e)));Vt([ax,(t,e)=>e],(t,e)=>t[e]);const y1t=Vt([vl],function(e){return G7(e.width)}),b1t=Vt([vl],function(e){return G7(e.height)}),K7=Vt([oc,Mo,Gc,mk,y1t],function(e,r,n,s,i){const l={};return e?.forEach((c,u)=>{const d=c;if(Hd(d)||Vp(d)){l[d.id]={domain:d.data};return}const f=Mk(d,"x",n,u,r);l[d.id]=Bde(d,"x",u,r,f,i,s)}),l}),Q7=Vt([Hc,Mo,Gc,mk,b1t],function(e,r,n,s,i){const l={};return e?.forEach((c,u)=>{const d=c;if(Hd(d)||Vp(d)){l[d.id]={domain:d.data};return}const f=Mk(d,"y",n,u,r);l[d.id]=Bde(d,"y",u,r,f,i,s)}),l}),Wde=Vt([Hp,ax,oc,Hc,K7,Q7],(t,e,r,n,s,i)=>{if(!t||!e)return;let o=!1;const l={},c=[...r??[],...n??[]];for(let u=0;u<c.length;u+=1){const d=c[u];if(!e[d.id]||e[d.id].filterMode!=="discard")continue;const f=t.get(d.id);if(f===void 0||f.start<=0&&f.end>=100)continue;const p=u<(r?.length??0)?"x":"y";if(d.scaleType==="band"||d.scaleType==="point")l[d.id]=l1t(d.data,f.start,f.end,p);else{const{domain:m}=p==="x"?s[d.id]:i[d.id];l[d.id]=c1t(m,f.start,f.end,p,d.data)}o=!0}if(o)return u1t(l)}),x1t=Vt([oc,Mo,Gc,Hp,ax,Wde,mk,K7],(t,e,r,n,s,i,o,l)=>{const c={};return t?.forEach((u,d)=>{const f=l[u.id].domain;if(Hd(u)||Vp(u)){c[u.id]=f;return}const p=n?.get(u.id),m=s?.[u.id],h=p===void 0&&!m?i:void 0;if(!h){c[u.id]=f;return}const _=l[u.id].tickNumber,g=Mk(u,"x",r,d,e,h);c[u.id]=zde(u,"x",d,e,g,_,o)}),c},{memoizeOptions:{resultEqualityCheck:(t,e)=>vp(t,e)}}),S1t=Vt([Hc,Mo,Gc,Hp,ax,Wde,mk,Q7],(t,e,r,n,s,i,o,l)=>{const c={};return t?.forEach((u,d)=>{const f=l[u.id].domain;if(Hd(u)||Vp(u)){c[u.id]=f;return}const p=n?.get(u.id),m=s?.[u.id],h=p===void 0&&!m?i:void 0;if(!h){c[u.id]=f;return}const _=l[u.id].tickNumber,g=Mk(u,"y",r,d,e,h);c[u.id]=zde(u,"y",d,e,g,_,o)}),c},{memoizeOptions:{resultEqualityCheck:(t,e)=>vp(t,e)}}),Yde=Vt([oc,x1t],function(e,r){const n={};return e?.forEach(s=>{const i=s,o=r[i.id];n[i.id]=Nde(i,o)}),n}),Kde=Vt([Hc,S1t],function(e,r){const n={};return e?.forEach(s=>{const i=s,o=r[i.id];n[i.id]=Nde(i,o)}),n}),w1t=Vt([oc,Yde,vl,Hp],function(e,r,n,s){const i={};return e?.forEach(o=>{const l=o,c=s?.get(l.id),u=c?[c.start,c.end]:[0,100],d=Lde(n,"x",l),f=r[l.id].copy(),p=Fde(d,u);f.range(p),i[l.id]=f}),i}),C1t=Vt([Hc,Kde,vl,Hp],function(e,r,n,s){const i={};return e?.forEach(o=>{const l=o,c=s?.get(l.id),u=c?[c.start,c.end]:[0,100],d=Lde(n,"y",l),f=r[l.id].copy(),p=ao(f)?d.reverse():d,m=Fde(p,u);f.range(m),i[l.id]=f}),i}),Ba=Vt([oc,vl,Mo,Gc,Hp,K7,w1t],(t,e,r,n,s,i,o)=>Ode({scales:o,drawingArea:e,formattedSeries:r,axis:t,seriesConfig:n,axisDirection:"x",zoomMap:s,domains:i})),za=Vt([Hc,vl,Mo,Gc,Hp,Q7,C1t],(t,e,r,n,s,i,o)=>Ode({scales:o,drawingArea:e,formattedSeries:r,axis:t,seriesConfig:n,axisDirection:"y",zoomMap:s,domains:i}));Vt([Ba,za,(t,e)=>e],(t,e,r)=>t?.axis[r]??e?.axis[r]);Vt([oc,Hc,(t,e)=>e],(t,e,r)=>{const n=t?.find(s=>s.id===r)??e?.find(s=>s.id===r)??null;if(n)return n});const A1t=Vt([oc],t=>t[0].id),k1t=Vt([Hc],t=>t[0].id),M1t=new Map,P1t=()=>M1t,j1t=Vt([Mo,Yde,Kde,A1t,k1t],function(e,r,n,s,i){const o=e.scatter,l=new Map;return o&&o.seriesOrder.forEach(c=>{const{data:u,xAxisId:d=s,yAxisId:f=i}=o.series[c],p=new Y7(u.length),m=r[d],h=n[f];for(const _ of u)p.add(m(_.x),h(_.y));p.finish(),l.set(c,p)}),l});function Zg(t){return t instanceof Date?t.getTime():t}function rv(t,e){const{scale:r,data:n,reverse:s}=t;if(!ao(r)){const o=r.invert(e);if(n===void 0)return-1;const l=Zg(o);return n?.findIndex((u,d)=>{const f=Zg(u);return f>l&&(d===0||Math.abs(l-f)<=Math.abs(l-Zg(n[d-1])))||f<=l&&(d===n.length-1||Math.abs(Zg(o)-f)<Math.abs(Zg(o)-Zg(n[d+1])))})}const i=r.bandwidth()===0?Math.floor((e-Math.min(...r.range())+r.step()/2)/r.step()):Math.floor((e-Math.min(...r.range()))/r.step());return i<0||i>=n.length?-1:s?n.length-1-i:i}function eee(t,e,r,n){if(!ao(t)){if(n===null){const s=t.invert(r);return Number.isNaN(s)?null:s}return e[n]}return n===null||n<0||n>=e.length?null:e[n]}function p0(t,e){const r=t.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,r.matrixTransform(t.getScreenCTM().inverse())}const T1t=Object.is;function Qde(t,e){if(t===e)return!0;if(!(t instanceof Object)||!(e instanceof Object))return!1;let r=0,n=0;for(const s in t)if(r+=1,!T1t(t[s],e[s])||!(s in e))return!1;for(const s in e)n+=1;return r===n}const lx=({store:t})=>{const e=lr(function(){t.update(o=>ce({},o,{interaction:ce({},o.interaction,{pointer:null,item:null})}))}),r=lr(function(o){t.update(l=>{const c=l.interaction.item;return o?c===null||Object.keys(o).some(u=>o[u]!==c[u])?l:ce({},l,{interaction:ce({},l.interaction,{item:null})}):c===null?l:ce({},l,{interaction:ce({},l.interaction,{item:null})})})}),n=lr(function(o){t.update(l=>Qde(l.interaction.item,o)?l:ce({},l,{interaction:ce({},l.interaction,{item:o})}))}),s=lr(function(o){t.update(l=>ce({},l,{interaction:ce({},l.interaction,{pointer:o,lastUpdate:o!==null?"pointer":l.interaction.lastUpdate})}))});return{instance:{cleanInteraction:e,setItemInteraction:n,removeItemInteraction:r,setPointerCoordinate:s}}};lx.getInitialState=()=>({interaction:{item:null,pointer:null,lastUpdate:"pointer"}});lx.params={};const Pk=t=>t.interaction,E1t=Vt([Pk],t=>t!==void 0),Zde=Vt([Pk],t=>t?.item??null),Xde=Vt([Pk],t=>t?.pointer??null),cx=Vt([Xde],t=>t&&t.x),ux=Vt([Xde],t=>t&&t.y),R1t=Vt([Zde],t=>t!==null),Jde=Vt([Pk],t=>t?.lastUpdate),jk=(t,e)=>e;function R$(t,e,r=e.axisIds[0]){return Array.isArray(r)?r.map(n=>rv(e.axis[n],t)):rv(e.axis[r],t)}const efe=(t,e,r)=>{if(t===null)return null;const n=R$(t,e,r);return n===-1?null:n},Z7=Vt([cx,Ba,jk],efe),X7=Vt([ux,za,jk],efe),I1t=Vt([cx,ux,Ba,za],(t,e,r,n)=>[...t===null?[]:r.axisIds.map(s=>({axisId:s,dataIndex:R$(t,r,s)})),...e===null?[]:n.axisIds.map(s=>({axisId:s,dataIndex:R$(e,n,s)}))].filter(s=>s.dataIndex!==null&&s.dataIndex>=0));function tfe(t,e,r,n=e.axisIds[0]){return Array.isArray(n)?n.map((s,i)=>{const o=e.axis[s];return eee(o.scale,o.data,t,r[i])}):eee(e.axis[n].scale,e.axis[n].data,t,r)}const D1t=Vt([cx,Ba,Z7,jk],(t,e,r,n)=>t===null||e.axisIds.length===0?null:tfe(t,e,r,n)),$1t=Vt([ux,za,X7,jk],(t,e,r,n)=>t===null||e.axisIds.length===0?null:tfe(t,e,r,n)),rfe=Vt([cx,Ba],(t,e)=>t===null?[]:e.axisIds.filter(r=>e.axis[r].triggerTooltip).map(r=>({axisId:r,dataIndex:rv(e.axis[r],t)})).filter(({dataIndex:r})=>r>=0),{memoizeOptions:{resultEqualityCheck:vp}}),nfe=Vt([ux,za],(t,e)=>t===null?[]:e.axisIds.filter(r=>e.axis[r].triggerTooltip).map(r=>({axisId:r,dataIndex:rv(e.axis[r],t)})).filter(({dataIndex:r})=>r>=0),{memoizeOptions:{resultEqualityCheck:vp}}),O1t=Vt([rfe,nfe],(t,e)=>t.length>0||e.length>0),L1t=()=>{};function N1t(t,e,r,n){const s=NO(F1t,{store:t,selector:e,skip:n}).current;s.effect=r,I.useEffect(s.onMount(n),[n])}function F1t(t){const{store:e,selector:r,skip:n}=t;let s=!1,i;const o=()=>{l.dispose??=e.subscribe(c=>{const u=r(c);l.effect(i,u),i=u})},l={effect:L1t,dispose:null,onMount:c=>()=>{if(!c)return s||(s=!0,i=r(e.value)),o(),()=>{l.dispose?.(),l.dispose=null}}};return n||(s=!0,i=r(e.value),o()),l}function U1t(t){return t.setPointerCoordinate!==void 0}const zv=({params:t,store:e,seriesConfig:r,svgRef:n,instance:s})=>{const{xAxis:i,yAxis:o,dataset:l,onHighlightedAxisChange:c}=t,u=qr(e,vl),d=qr(e,Mo),f=qr(e,E1t),{axis:p,axisIds:m}=qr(e,Ba),{axis:h,axisIds:_}=qr(e,za);nde({controlled:t.highlightedAxis}),ei(()=>{t.highlightedAxis!==void 0&&e.update(w=>w.controlledCartesianAxisHighlight===t.highlightedAxis?w:ce({},w,{controlledCartesianAxisHighlight:t.highlightedAxis}))},[e,t.highlightedAxis]);const g=I.useRef(!0);I.useEffect(()=>{if(g.current){g.current=!1;return}e.update(w=>ce({},w,{cartesianAxis:ce({},w.cartesianAxis,{x:ode(i,l),y:ade(o,l)})}))},[r,u,i,o,l,e]);const y=m[0],b=_[0];N1t(e,I1t,(w,C)=>{if(!Object.is(w,C)){if(w.length!==C.length){c(C);return}w?.some(({axisId:k,dataIndex:A},P)=>C[P].axisId!==k||C[P].dataIndex!==A)&&c(C)}},!c);const x=U1t(s);return I.useEffect(()=>{const w=n.current;if(!f||!x||!w||t.disableAxisListener)return()=>{};const C=s.addInteractionListener("moveEnd",D=>{D.detail.activeGestures.pan||s.cleanInteraction()}),k=s.addInteractionListener("panEnd",D=>{D.detail.activeGestures.move||s.cleanInteraction()}),A=s.addInteractionListener("quickPressEnd",D=>{!D.detail.activeGestures.move&&!D.detail.activeGestures.pan&&s.cleanInteraction()}),P=D=>{const O=D.detail.srcEvent,N=D.detail.target,F=p0(w,O);if(D.detail.srcEvent.buttons>=1&&N?.hasPointerCapture(D.detail.srcEvent.pointerId)&&!N?.closest("[data-charts-zoom-slider]")&&N?.releasePointerCapture(D.detail.srcEvent.pointerId),!s.isPointInside(F.x,F.y,N)){s.cleanInteraction?.();return}s.setPointerCoordinate(F)},T=s.addInteractionListener("move",P),j=s.addInteractionListener("pan",P),R=s.addInteractionListener("quickPress",P);return()=>{T.cleanup(),C.cleanup(),j.cleanup(),k.cleanup(),R.cleanup(),A.cleanup()}},[n,e,p,y,h,b,s,t.disableAxisListener,f,x]),I.useEffect(()=>{const w=n.current,C=t.onAxisClick;if(w===null||!C)return()=>{};const k=s.addInteractionListener("tap",A=>{let P=null,T=!1;const j=p0(w,A.detail.srcEvent),R=rv(p[y],j.x);T=R!==-1,P=T?R:rv(h[b],j.y);const D=T?m[0]:_[0];if(P==null||P===-1)return;const O=(T?p:h)[D].data[P],N={};Object.keys(d).filter(F=>["bar","line"].includes(F)).forEach(F=>{d[F]?.seriesOrder.forEach(U=>{const z=d[F].series[U],H=z.xAxisId,W=z.yAxisId,K=T?H:W;(K===void 0||K===D)&&(N[U]=z.data[P])})}),C(A.detail.srcEvent,{dataIndex:P,axisValue:O,seriesValues:N})});return()=>{k.cleanup()}},[t.onAxisClick,d,n,p,m,h,_,y,b,s]),{}};zv.params={xAxis:!0,yAxis:!0,dataset:!0,onAxisClick:!0,disableAxisListener:!0,onHighlightedAxisChange:!0,highlightedAxis:!0};zv.getDefaultizedParams=({params:t})=>ce({},t,{colors:t.colors??Xue,theme:t.theme??"light",defaultizedXAxis:ode(t.xAxis,t.dataset),defaultizedYAxis:ade(t.yAxis,t.dataset)});zv.getInitialState=t=>ce({cartesianAxis:{x:t.defaultizedXAxis,y:t.defaultizedYAxis}},t.highlightedAxis===void 0?{}:{controlledCartesianAxisHighlight:t.highlightedAxis});const dx=t=>t.keyboardNavigation,B1t=Vt([dx],t=>t?.item!=null),Tk=Vt([dx],t=>t?.item?.type),Ek=Vt([dx],t=>t?.item?.seriesId),Rk=Vt([dx],t=>t?.item?.dataIndex),z1t=Vt([dx],t=>!!t?.enableKeyboardNavigation),sfe=t=>(e,r,n,s,i)=>{if(e===void 0||r===void 0||n===void 0)return;const o=i[e]?.series[r];if(!o)return;let l=t==="x"?"xAxisId"in o&&o.xAxisId:"yAxisId"in o&&o.yAxisId;return(l===void 0||l===!1)&&(l=s.axisIds[0]),{axisId:l,dataIndex:n}},q1t=Vt([Tk,Ek,Rk,Ba,Mo],sfe("x")),V1t=Vt([Tk,Ek,Rk,za,Mo],sfe("y")),H1t=Vt([Tk,Ek,Rk],function(e,r,n){return r===void 0?null:{seriesId:r,dataIndex:e==="line"?void 0:n}}),fx=({store:t,svgRef:e,instance:r,params:n})=>{ei(()=>{t.update(o=>ce({},o,{brush:ce({},o.brush,{enabled:n.brushConfig.enabled,preventTooltip:n.brushConfig.preventTooltip,preventHighlight:n.brushConfig.preventHighlight})}))},[t,n.brushConfig.enabled,n.brushConfig.preventTooltip,n.brushConfig.preventHighlight]);const s=lr(function(l){t.update(c=>ce({},c,{brush:ce({},c.brush,{start:c.brush.start??l,current:l})}))}),i=lr(function(){t.update(l=>ce({},l,{brush:ce({},l.brush,{start:null,current:null})}))});return I.useEffect(()=>{const o=e.current;if(o===null||!t.getSnapshot().brush.enabled)return()=>{};const l=m=>{if(m.detail.target?.closest("[data-charts-zoom-slider]"))return;const h=p0(o,{clientX:m.detail.initialCentroid.x,clientY:m.detail.initialCentroid.y});s(h)},c=m=>{const h=p0(o,{clientX:m.detail.centroid.x,clientY:m.detail.centroid.y});s(h)},u=r.addInteractionListener("brushStart",l),d=r.addInteractionListener("brush",c),f=r.addInteractionListener("brushCancel",i),p=r.addInteractionListener("brushEnd",i);return()=>{u.cleanup(),d.cleanup(),p.cleanup(),f.cleanup()}},[e,r,t,i,s]),{instance:{setBrushCoordinates:s,clearBrush:i}}};fx.params={brushConfig:!0};fx.getDefaultizedParams=({params:t})=>ce({},t,{brushConfig:{enabled:t?.brushConfig?.enabled??!1,preventTooltip:t?.brushConfig?.preventTooltip??!0,preventHighlight:t?.brushConfig?.preventHighlight??!0}});fx.getInitialState=t=>({brush:{enabled:t.brushConfig.enabled,preventTooltip:t.brushConfig.preventTooltip,preventHighlight:t.brushConfig.preventHighlight,start:null,current:null}});const Gu=t=>t.brush;Vt([Gu],t=>t?.start);Vt([Gu],t=>t?.current);const G1t=Vt([Gu],t=>t?.start?.x??null),W1t=Vt([Gu],t=>t?.start?.y??null),Y1t=Vt([Gu],t=>t?.current?.x??null),K1t=Vt([Gu],t=>t?.current?.y??null);Vt([G1t,W1t,Y1t,K1t],(t,e,r,n)=>t===null||e===null||r===null||n===null?null:{start:{x:t,y:e},current:{x:r,y:n}});const Q1t=Vt([Mo],t=>{let e=!1,r=!1;return t&&Object.entries(t).forEach(([n,s])=>{Object.values(s.series).some(i=>i.layout==="horizontal")&&(e=!0),n==="scatter"&&s.seriesOrder.length>0&&(r=!0)}),r?"xy":e?"y":"x"}),Z1t=Vt([ax],t=>{let e=!1,r=!1;return Object.values(t).forEach(n=>{n.axisDirection==="y"&&(r=!0),n.axisDirection==="x"&&(e=!0)}),e&&r?"xy":r?"y":e?"x":null});Vt([Q1t,Z1t],(t,e)=>e??t);Vt([Gu],t=>t?.enabled);const ife=Vt([Gu],t=>t?.enabled&&t?.start!==null&&t?.current!==null),Ik=Vt([Gu,ife],(t,e)=>e&&t?.preventHighlight),X1t=Vt([Gu,ife],(t,e)=>e&&t?.preventTooltip),qv=t=>t.controlledCartesianAxisHighlight,ofe=(t,e,r,n)=>n?[]:r!==void 0?r.filter(s=>e.axis[s.axisId]!==void 0).map(s=>s):t===null?[]:[{axisId:e.axisIds[0],dataIndex:t}],afe=Vt([Z7,Ba,qv,Ik],ofe);Vt([X7,za,qv,Ik],ofe);const lfe=(t,e,r,n,s,i,o)=>{if(o)return[];if(n!==void 0)return n.map(d=>ce({},d,{value:r.axis[d.axisId]?.data?.[d.dataIndex]})).filter(({value:d})=>d!==void 0);const l=e!==null&&{axisId:r.axisIds[0],dataIndex:t,value:e},c=s&&r.axis[s.axisId]?.data?.[s.dataIndex],u=s&&c!=null&&ce({},s,{value:c});if(i==="pointer"){if(l)return[l];if(u)return[u]}if(i==="keyboard"){if(u)return[u];if(l)return[l]}return[]},J1t=Vt([Z7,D1t,Ba,qv,q1t,Jde,Ik],lfe),eyt=Vt([X7,$1t,za,qv,V1t,Jde,Ik],lfe),cfe=(t,e)=>t===void 0?[e.axis[e.axisIds[0]]]:t.map(n=>e.axis[n.axisId]??null).filter(n=>n!==null);Vt([qv,Ba],cfe);Vt([qv,za],cfe);function tee(t,e){return t.id!==void 0?t:ce({id:e},t)}function ree(t){return t.colorMap?ce({},t,{colorScale:t.colorMap.type==="ordinal"&&t.data?tv(ce({values:t.data},t.colorMap)):w_(t.colorMap.type==="continuous"?ce({min:t.min,max:t.max},t.colorMap):t.colorMap)}):t}function ufe(t,e){if(!t||t.length===0)return{axis:{},axisIds:[]};const r={},n=[];return t.forEach((s,i)=>{const o=s.dataKey,l=s.id??`defaultized-z-axis-${i}`;if(o===void 0||s.data!==void 0){r[l]=ree(tee(s,l)),n.push(l);return}if(e===void 0)throw new Error("MUI X Charts: z-axis uses `dataKey` but no `dataset` is provided.");r[l]=ree(tee(ce({},s,{data:e.map(c=>c[o])}),l)),n.push(l)}),{axis:r,axisIds:n}}const px=({params:t,store:e})=>{const{zAxis:r,dataset:n}=t,s=I.useRef(!0);return I.useEffect(()=>{if(s.current){s.current=!1;return}e.update(i=>ce({},i,{zAxis:ufe(r,n)}))},[r,n,e]),{}};px.params={zAxis:!0,dataset:!0};px.getInitialState=t=>({zAxis:ufe(t.zAxis,t.dataset)});const tyt=t=>t,ryt=Vt([tyt],t=>t.zAxis),Vv=({store:t,params:e})=>{nde({controlled:e.highlightedItem}),ei(()=>{t.update(s=>s.highlight.item===e.highlightedItem?s:ce({},s,{highlight:ce({},s.highlight,{item:e.highlightedItem})}))},[t,e.highlightedItem]);const r=lr(()=>{e.onHighlightChange?.(null),t.getSnapshot().highlight.item!==null&&t.update(i=>ce({},i,{highlight:{item:null,lastUpdate:"pointer"}}))}),n=lr(s=>{const i=t.getSnapshot().highlight.item;Qde(i,s)||(e.onHighlightChange?.(s),t.update(o=>ce({},o,{highlight:{item:s,lastUpdate:"pointer"}})))});return{instance:{clearHighlight:r,setHighlight:n}}};Vv.getDefaultizedParams=({params:t})=>ce({},t,{highlightedItem:t.highlightedItem??null});Vv.getInitialState=t=>({highlight:{item:t.highlightedItem,lastUpdate:"pointer"}});Vv.params={highlightedItem:!0,onHighlightChange:!0};function dfe(t){let e=1/0,r=-1/0;for(const n of t??[])n<e&&(e=n),n>r&&(r=n);return[e,r]}const nee=(t,e)=>e==="x"?{x:t,y:null}:{x:null,y:t},ffe=t=>{const{axis:e,getFilters:r,isDefaultAxis:n}=t,s=r?.({currentAxisId:e.id,isDefaultAxis:n}),i=s?e.data?.filter((o,l)=>s({x:null,y:null},l)):e.data;return dfe(i??[])},pfe=t=>e=>{const{series:r,axis:n,getFilters:s,isDefaultAxis:i}=e;return Object.keys(r).filter(o=>{const l=t==="x"?r[o].xAxisId:r[o].yAxisId;return l===n.id||i&&l===void 0}).reduce((o,l)=>{const{stackedData:c}=r[l],u=s?.({currentAxisId:n.id,isDefaultAxis:i,seriesXAxisId:r[l].xAxisId,seriesYAxisId:r[l].yAxisId}),[d,f]=c?.reduce((p,m,h)=>u&&(!u(nee(m[0],t),h)||!u(nee(m[1],t),h))?p:[Math.min(...m,p[0]),Math.max(...m,p[1])],[1/0,-1/0])??[1/0,-1/0];return[Math.min(d,o[0]),Math.max(f,o[1])]},[1/0,-1/0])},nyt=t=>Object.keys(t.series).some(r=>t.series[r].layout==="horizontal")?pfe("x")(t):ffe(t),syt=t=>Object.keys(t.series).some(r=>t.series[r].layout==="horizontal")?ffe(t):pfe("y")(t);function bn(t){return function(){return t}}const see=Math.abs,Do=Math.atan2,jd=Math.cos,iyt=Math.max,mD=Math.min,Pa=Math.sin,So=Math.sqrt,Lo=1e-12,kp=Math.PI,E3=kp/2,yp=2*kp;function oyt(t){return t>1?0:t<-1?kp:Math.acos(t)}function iee(t){return t>=1?E3:t<=-1?-E3:Math.asin(t)}const I$=Math.PI,D$=2*I$,Nm=1e-6,ayt=D$-Nm;function mfe(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}function lyt(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return mfe;const r=10**e;return function(n){this._+=n[0];for(let s=1,i=n.length;s<i;++s)this._+=Math.round(arguments[s]*r)/r+n[s]}}class cyt{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?mfe:lyt(e)}moveTo(e,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,r){this._append`L${this._x1=+e},${this._y1=+r}`}quadraticCurveTo(e,r,n,s){this._append`Q${+e},${+r},${this._x1=+n},${this._y1=+s}`}bezierCurveTo(e,r,n,s,i,o){this._append`C${+e},${+r},${+n},${+s},${this._x1=+i},${this._y1=+o}`}arcTo(e,r,n,s,i){if(e=+e,r=+r,n=+n,s=+s,i=+i,i<0)throw new Error(`negative radius: ${i}`);let o=this._x1,l=this._y1,c=n-e,u=s-r,d=o-e,f=l-r,p=d*d+f*f;if(this._x1===null)this._append`M${this._x1=e},${this._y1=r}`;else if(p>Nm)if(!(Math.abs(f*c-u*d)>Nm)||!i)this._append`L${this._x1=e},${this._y1=r}`;else{let m=n-o,h=s-l,_=c*c+u*u,g=m*m+h*h,y=Math.sqrt(_),b=Math.sqrt(p),x=i*Math.tan((I$-Math.acos((_+p-g)/(2*y*b)))/2),w=x/b,C=x/y;Math.abs(w-1)>Nm&&this._append`L${e+w*d},${r+w*f}`,this._append`A${i},${i},0,0,${+(f*m>d*h)},${this._x1=e+C*c},${this._y1=r+C*u}`}}arc(e,r,n,s,i,o){if(e=+e,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let l=n*Math.cos(s),c=n*Math.sin(s),u=e+l,d=r+c,f=1^o,p=o?s-i:i-s;this._x1===null?this._append`M${u},${d}`:(Math.abs(this._x1-u)>Nm||Math.abs(this._y1-d)>Nm)&&this._append`L${u},${d}`,n&&(p<0&&(p=p%D$+D$),p>ayt?this._append`A${n},${n},0,1,${f},${e-l},${r-c}A${n},${n},0,1,${f},${this._x1=u},${this._y1=d}`:p>Nm&&this._append`A${n},${n},0,${+(p>=I$)},${f},${this._x1=e+n*Math.cos(i)},${this._y1=r+n*Math.sin(i)}`)}rect(e,r,n,s){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+r}h${n=+n}v${+s}h${-n}Z`}toString(){return this._}}function Dk(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(r==null)e=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);e=n}return t},()=>new cyt(e)}function uyt(t){return t.innerRadius}function dyt(t){return t.outerRadius}function fyt(t){return t.startAngle}function pyt(t){return t.endAngle}function myt(t){return t&&t.padAngle}function hyt(t,e,r,n,s,i,o,l){var c=r-t,u=n-e,d=o-s,f=l-i,p=f*c-d*u;if(!(p*p<Lo))return p=(d*(e-i)-f*(t-s))/p,[t+p*c,e+p*u]}function kw(t,e,r,n,s,i,o){var l=t-r,c=e-n,u=(o?i:-i)/So(l*l+c*c),d=u*c,f=-u*l,p=t+d,m=e+f,h=r+d,_=n+f,g=(p+h)/2,y=(m+_)/2,b=h-p,x=_-m,w=b*b+x*x,C=s-i,k=p*_-h*m,A=(x<0?-1:1)*So(iyt(0,C*C*w-k*k)),P=(k*x-b*A)/w,T=(-k*b-x*A)/w,j=(k*x+b*A)/w,R=(-k*b+x*A)/w,D=P-g,O=T-y,N=j-g,F=R-y;return D*D+O*O>N*N+F*F&&(P=j,T=R),{cx:P,cy:T,x01:-d,y01:-f,x11:P*(s/C-1),y11:T*(s/C-1)}}function hfe(){var t=uyt,e=dyt,r=bn(0),n=null,s=fyt,i=pyt,o=myt,l=null,c=Dk(u);function u(){var d,f,p=+t.apply(this,arguments),m=+e.apply(this,arguments),h=s.apply(this,arguments)-E3,_=i.apply(this,arguments)-E3,g=see(_-h),y=_>h;if(l||(l=d=c()),m<p&&(f=m,m=p,p=f),!(m>Lo))l.moveTo(0,0);else if(g>yp-Lo)l.moveTo(m*jd(h),m*Pa(h)),l.arc(0,0,m,h,_,!y),p>Lo&&(l.moveTo(p*jd(_),p*Pa(_)),l.arc(0,0,p,_,h,y));else{var b=h,x=_,w=h,C=_,k=g,A=g,P=o.apply(this,arguments)/2,T=P>Lo&&(n?+n.apply(this,arguments):So(p*p+m*m)),j=mD(see(m-p)/2,+r.apply(this,arguments)),R=j,D=j,O,N;if(T>Lo){var F=iee(T/p*Pa(P)),U=iee(T/m*Pa(P));(k-=F*2)>Lo?(F*=y?1:-1,w+=F,C-=F):(k=0,w=C=(h+_)/2),(A-=U*2)>Lo?(U*=y?1:-1,b+=U,x-=U):(A=0,b=x=(h+_)/2)}var z=m*jd(b),H=m*Pa(b),W=p*jd(C),K=p*Pa(C);if(j>Lo){var q=m*jd(x),X=m*Pa(x),Q=p*jd(w),Y=p*Pa(w),Z;if(g<kp)if(Z=hyt(z,H,Q,Y,q,X,W,K)){var re=z-Z[0],fe=H-Z[1],de=q-Z[0],se=X-Z[1],le=1/Pa(oyt((re*de+fe*se)/(So(re*re+fe*fe)*So(de*de+se*se)))/2),ee=So(Z[0]*Z[0]+Z[1]*Z[1]);R=mD(j,(p-ee)/(le-1)),D=mD(j,(m-ee)/(le+1))}else R=D=0}A>Lo?D>Lo?(O=kw(Q,Y,z,H,m,D,y),N=kw(q,X,W,K,m,D,y),l.moveTo(O.cx+O.x01,O.cy+O.y01),D<j?l.arc(O.cx,O.cy,D,Do(O.y01,O.x01),Do(N.y01,N.x01),!y):(l.arc(O.cx,O.cy,D,Do(O.y01,O.x01),Do(O.y11,O.x11),!y),l.arc(0,0,m,Do(O.cy+O.y11,O.cx+O.x11),Do(N.cy+N.y11,N.cx+N.x11),!y),l.arc(N.cx,N.cy,D,Do(N.y11,N.x11),Do(N.y01,N.x01),!y))):(l.moveTo(z,H),l.arc(0,0,m,b,x,!y)):l.moveTo(z,H),!(p>Lo)||!(k>Lo)?l.lineTo(W,K):R>Lo?(O=kw(W,K,q,X,p,-R,y),N=kw(z,H,Q,Y,p,-R,y),l.lineTo(O.cx+O.x01,O.cy+O.y01),R<j?l.arc(O.cx,O.cy,R,Do(O.y01,O.x01),Do(N.y01,N.x01),!y):(l.arc(O.cx,O.cy,R,Do(O.y01,O.x01),Do(O.y11,O.x11),!y),l.arc(0,0,p,Do(O.cy+O.y11,O.cx+O.x11),Do(N.cy+N.y11,N.cx+N.x11),y),l.arc(N.cx,N.cy,R,Do(N.y11,N.x11),Do(N.y01,N.x01),!y))):l.arc(0,0,p,C,w,y)}if(l.closePath(),d)return l=null,d+""||null}return u.centroid=function(){var d=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,f=(+s.apply(this,arguments)+ +i.apply(this,arguments))/2-kp/2;return[jd(f)*d,Pa(f)*d]},u.innerRadius=function(d){return arguments.length?(t=typeof d=="function"?d:bn(+d),u):t},u.outerRadius=function(d){return arguments.length?(e=typeof d=="function"?d:bn(+d),u):e},u.cornerRadius=function(d){return arguments.length?(r=typeof d=="function"?d:bn(+d),u):r},u.padRadius=function(d){return arguments.length?(n=d==null?null:typeof d=="function"?d:bn(+d),u):n},u.startAngle=function(d){return arguments.length?(s=typeof d=="function"?d:bn(+d),u):s},u.endAngle=function(d){return arguments.length?(i=typeof d=="function"?d:bn(+d),u):i},u.padAngle=function(d){return arguments.length?(o=typeof d=="function"?d:bn(+d),u):o},u.context=function(d){return arguments.length?(l=d??null,u):l},u}function $k(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function gfe(t){this._context=t}gfe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function J7(t){return new gfe(t)}function _fe(t){return t[0]}function vfe(t){return t[1]}function yfe(t,e){var r=bn(!0),n=null,s=J7,i=null,o=Dk(l);t=typeof t=="function"?t:t===void 0?_fe:bn(t),e=typeof e=="function"?e:e===void 0?vfe:bn(e);function l(c){var u,d=(c=$k(c)).length,f,p=!1,m;for(n==null&&(i=s(m=o())),u=0;u<=d;++u)!(u<d&&r(f=c[u],u,c))===p&&((p=!p)?i.lineStart():i.lineEnd()),p&&i.point(+t(f,u,c),+e(f,u,c));if(m)return i=null,m+""||null}return l.x=function(c){return arguments.length?(t=typeof c=="function"?c:bn(+c),l):t},l.y=function(c){return arguments.length?(e=typeof c=="function"?c:bn(+c),l):e},l.defined=function(c){return arguments.length?(r=typeof c=="function"?c:bn(!!c),l):r},l.curve=function(c){return arguments.length?(s=c,n!=null&&(i=s(n)),l):s},l.context=function(c){return arguments.length?(c==null?n=i=null:i=s(n=c),l):n},l}function gyt(t,e,r){var n=null,s=bn(!0),i=null,o=J7,l=null,c=Dk(u);t=typeof t=="function"?t:t===void 0?_fe:bn(+t),e=typeof e=="function"?e:bn(e===void 0?0:+e),r=typeof r=="function"?r:r===void 0?vfe:bn(+r);function u(f){var p,m,h,_=(f=$k(f)).length,g,y=!1,b,x=new Array(_),w=new Array(_);for(i==null&&(l=o(b=c())),p=0;p<=_;++p){if(!(p<_&&s(g=f[p],p,f))===y)if(y=!y)m=p,l.areaStart(),l.lineStart();else{for(l.lineEnd(),l.lineStart(),h=p-1;h>=m;--h)l.point(x[h],w[h]);l.lineEnd(),l.areaEnd()}y&&(x[p]=+t(g,p,f),w[p]=+e(g,p,f),l.point(n?+n(g,p,f):x[p],r?+r(g,p,f):w[p]))}if(b)return l=null,b+""||null}function d(){return yfe().defined(s).curve(o).context(i)}return u.x=function(f){return arguments.length?(t=typeof f=="function"?f:bn(+f),n=null,u):t},u.x0=function(f){return arguments.length?(t=typeof f=="function"?f:bn(+f),u):t},u.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:bn(+f),u):n},u.y=function(f){return arguments.length?(e=typeof f=="function"?f:bn(+f),r=null,u):e},u.y0=function(f){return arguments.length?(e=typeof f=="function"?f:bn(+f),u):e},u.y1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:bn(+f),u):r},u.lineX0=u.lineY0=function(){return d().x(t).y(e)},u.lineY1=function(){return d().x(t).y(r)},u.lineX1=function(){return d().x(n).y(e)},u.defined=function(f){return arguments.length?(s=typeof f=="function"?f:bn(!!f),u):s},u.curve=function(f){return arguments.length?(o=f,i!=null&&(l=o(i)),u):o},u.context=function(f){return arguments.length?(f==null?i=l=null:l=o(i=f),u):i},u}function _yt(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function vyt(t){return t}function yyt(){var t=vyt,e=_yt,r=null,n=bn(0),s=bn(yp),i=bn(0);function o(l){var c,u=(l=$k(l)).length,d,f,p=0,m=new Array(u),h=new Array(u),_=+n.apply(this,arguments),g=Math.min(yp,Math.max(-yp,s.apply(this,arguments)-_)),y,b=Math.min(Math.abs(g)/u,i.apply(this,arguments)),x=b*(g<0?-1:1),w;for(c=0;c<u;++c)(w=h[m[c]=c]=+t(l[c],c,l))>0&&(p+=w);for(e!=null?m.sort(function(C,k){return e(h[C],h[k])}):r!=null&&m.sort(function(C,k){return r(l[C],l[k])}),c=0,f=p?(g-u*x)/p:0;c<u;++c,_=y)d=m[c],w=h[d],y=_+(w>0?w*f:0)+x,h[d]={data:l[d],index:c,value:w,startAngle:_,endAngle:y,padAngle:b};return h}return o.value=function(l){return arguments.length?(t=typeof l=="function"?l:bn(+l),o):t},o.sortValues=function(l){return arguments.length?(e=l,r=null,o):e},o.sort=function(l){return arguments.length?(r=l,e=null,o):r},o.startAngle=function(l){return arguments.length?(n=typeof l=="function"?l:bn(+l),o):n},o.endAngle=function(l){return arguments.length?(s=typeof l=="function"?l:bn(+l),o):s},o.padAngle=function(l){return arguments.length?(i=typeof l=="function"?l:bn(+l),o):i},o}class bfe{constructor(e,r){this._context=e,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,r){switch(e=+e,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,r,e,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,e,this._y0,e,r);break}}this._x0=e,this._y0=r}}function byt(t){return new bfe(t,!0)}function xyt(t){return new bfe(t,!1)}const xfe={draw(t,e){const r=So(e/kp);t.moveTo(r,0),t.arc(0,0,r,0,yp)}},Syt={draw(t,e){const r=So(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}},Sfe=So(1/3),wyt=Sfe*2,Cyt={draw(t,e){const r=So(e/wyt),n=r*Sfe;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},Ayt={draw(t,e){const r=So(e),n=-r/2;t.rect(n,n,r,r)}},kyt=.8908130915292852,wfe=Pa(kp/10)/Pa(7*kp/10),Myt=Pa(yp/10)*wfe,Pyt=-jd(yp/10)*wfe,jyt={draw(t,e){const r=So(e*kyt),n=Myt*r,s=Pyt*r;t.moveTo(0,-r),t.lineTo(n,s);for(let i=1;i<5;++i){const o=yp*i/5,l=jd(o),c=Pa(o);t.lineTo(c*r,-l*r),t.lineTo(l*n-c*s,c*n+l*s)}t.closePath()}},hD=So(3),Tyt={draw(t,e){const r=-So(e/(hD*3));t.moveTo(0,r*2),t.lineTo(-hD*r,-r),t.lineTo(hD*r,-r),t.closePath()}},$l=-.5,Ol=So(3)/2,$$=1/So(12),Eyt=($$/2+1)*3,Ryt={draw(t,e){const r=So(e/Eyt),n=r/2,s=r*$$,i=n,o=r*$$+r,l=-i,c=o;t.moveTo(n,s),t.lineTo(i,o),t.lineTo(l,c),t.lineTo($l*n-Ol*s,Ol*n+$l*s),t.lineTo($l*i-Ol*o,Ol*i+$l*o),t.lineTo($l*l-Ol*c,Ol*l+$l*c),t.lineTo($l*n+Ol*s,$l*s-Ol*n),t.lineTo($l*i+Ol*o,$l*o-Ol*i),t.lineTo($l*l+Ol*c,$l*c-Ol*l),t.closePath()}},Cfe=[xfe,Syt,Cyt,Ayt,jyt,Tyt,Ryt];function Afe(t,e){let r=null,n=Dk(s);t=typeof t=="function"?t:bn(t||xfe),e=typeof e=="function"?e:bn(e===void 0?64:+e);function s(){let i;if(r||(r=i=n()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),i)return r=null,i+""||null}return s.type=function(i){return arguments.length?(t=typeof i=="function"?i:bn(i),s):t},s.size=function(i){return arguments.length?(e=typeof i=="function"?i:bn(+i),s):e},s.context=function(i){return arguments.length?(r=i??null,s):r},s}function oee(t,e,r){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-r),t._x2,t._y2)}function e8(t,e){this._context=t,this._k=(1-e)/6}e8.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:oee(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:oee(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};(function t(e){function r(n){return new e8(n,e)}return r.tension=function(n){return t(+n)},r})(0);function Iyt(t,e,r){var n=t._x1,s=t._y1,i=t._x2,o=t._y2;if(t._l01_a>Lo){var l=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*l-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,s=(s*l-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>Lo){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,d=3*t._l23_a*(t._l23_a+t._l12_a);i=(i*u+t._x1*t._l23_2a-e*t._l12_2a)/d,o=(o*u+t._y1*t._l23_2a-r*t._l12_2a)/d}t._context.bezierCurveTo(n,s,i,o,t._x2,t._y2)}function kfe(t,e){this._context=t,this._alpha=e}kfe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Iyt(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Dyt=(function t(e){function r(n){return e?new kfe(n,e):new e8(n,0)}return r.alpha=function(n){return t(+n)},r})(.5);function aee(t){return t<0?-1:1}function lee(t,e,r){var n=t._x1-t._x0,s=e-t._x1,i=(t._y1-t._y0)/(n||s<0&&-0),o=(r-t._y1)/(s||n<0&&-0),l=(i*s+o*n)/(n+s);return(aee(i)+aee(o))*Math.min(Math.abs(i),Math.abs(o),.5*Math.abs(l))||0}function cee(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function gD(t,e,r){var n=t._x0,s=t._y0,i=t._x1,o=t._y1,l=(i-n)/3;t._context.bezierCurveTo(n+l,s+l*e,i-l,o-l*r,i,o)}function R3(t){this._context=t}R3.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:gD(this,this._t0,cee(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,gD(this,cee(this,r=lee(this,t,e)),r);break;default:gD(this,this._t0,r=lee(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}};function Mfe(t){this._context=new Pfe(t)}(Mfe.prototype=Object.create(R3.prototype)).point=function(t,e){R3.prototype.point.call(this,e,t)};function Pfe(t){this._context=t}Pfe.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,s,i){this._context.bezierCurveTo(e,t,n,r,i,s)}};function uee(t){return new R3(t)}function $yt(t){return new Mfe(t)}function jfe(t){this._context=t}jfe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),r===2)this._context.lineTo(t[1],e[1]);else for(var n=dee(t),s=dee(e),i=0,o=1;o<r;++i,++o)this._context.bezierCurveTo(n[0][i],s[0][i],n[1][i],s[1][i],t[o],e[o]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function dee(t){var e,r=t.length-1,n,s=new Array(r),i=new Array(r),o=new Array(r);for(s[0]=0,i[0]=2,o[0]=t[0]+2*t[1],e=1;e<r-1;++e)s[e]=1,i[e]=4,o[e]=4*t[e]+2*t[e+1];for(s[r-1]=2,i[r-1]=7,o[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=s[e]/i[e-1],i[e]-=n,o[e]-=n*o[e-1];for(s[r-1]=o[r-1]/i[r-1],e=r-2;e>=0;--e)s[e]=(o[e]-s[e+1])/i[e];for(i[r-1]=(t[r]+s[r-1])/2,e=0;e<r-1;++e)i[e]=2*t[e+1]-s[e+1];return[s,i]}function Oyt(t){return new jfe(t)}function Ok(t,e){this._context=t,this._t=e}Ok.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}break}}this._x=t,this._y=e}};function Lyt(t){return new Ok(t,.5)}function Nyt(t){return new Ok(t,0)}function Fyt(t){return new Ok(t,1)}function nv(t,e){if((o=t.length)>1)for(var r=1,n,s,i=t[e[0]],o,l=i.length;r<o;++r)for(s=i,i=t[e[r]],n=0;n<l;++n)i[n][1]+=i[n][0]=isNaN(s[n][1])?s[n][0]:s[n][1]}function sv(t){for(var e=t.length,r=new Array(e);--e>=0;)r[e]=e;return r}function Uyt(t,e){return t[e]}function Byt(t){const e=[];return e.key=t,e}function Tfe(){var t=bn([]),e=sv,r=nv,n=Uyt;function s(i){var o=Array.from(t.apply(this,arguments),Byt),l,c=o.length,u=-1,d;for(const f of i)for(l=0,++u;l<c;++l)(o[l][u]=[0,+n(f,o[l].key,u,i)]).data=f;for(l=0,d=$k(e(o));l<c;++l)o[d[l]].index=l;return r(o,d),o}return s.keys=function(i){return arguments.length?(t=typeof i=="function"?i:bn(Array.from(i)),s):t},s.value=function(i){return arguments.length?(n=typeof i=="function"?i:bn(+i),s):n},s.order=function(i){return arguments.length?(e=i==null?sv:typeof i=="function"?i:bn(Array.from(i)),s):e},s.offset=function(i){return arguments.length?(r=i??nv,s):r},s}function zyt(t,e){if((n=t.length)>0){for(var r,n,s=0,i=t[0].length,o;s<i;++s){for(o=r=0;r<n;++r)o+=t[r][s][1]||0;if(o)for(r=0;r<n;++r)t[r][s][1]/=o}nv(t,e)}}function qyt(t,e){if((c=t.length)>0)for(var r,n=0,s,i,o,l,c,u=t[e[0]].length;n<u;++n)for(o=l=0,r=0;r<c;++r)(i=(s=t[e[r]][n])[1]-s[0])>0?(s[0]=o,s[1]=o+=i):i<0?(s[1]=l,s[0]=l+=i):(s[0]=0,s[1]=i)}function Vyt(t,e){if((s=t.length)>0){for(var r=0,n=t[e[0]],s,i=n.length;r<i;++r){for(var o=0,l=0;o<s;++o)l+=t[o][r][1]||0;n[r][1]+=n[r][0]=-l/2}nv(t,e)}}function Hyt(t,e){if(!(!((o=t.length)>0)||!((i=(s=t[e[0]]).length)>0))){for(var r=0,n=1,s,i,o;n<i;++n){for(var l=0,c=0,u=0;l<o;++l){for(var d=t[e[l]],f=d[n][1]||0,p=d[n-1][1]||0,m=(f-p)/2,h=0;h<l;++h){var _=t[e[h]],g=_[n][1]||0,y=_[n-1][1]||0;m+=g-y}c+=f,u+=m*f}s[n-1][1]+=s[n-1][0]=r,c&&(r-=u/c)}s[n-1][1]+=s[n-1][0]=r,nv(t,e)}}function Efe(t){var e=t.map(Gyt);return sv(t).sort(function(r,n){return e[r]-e[n]})}function Gyt(t){for(var e=-1,r=0,n=t.length,s,i=-1/0;++e<n;)(s=+t[e][1])>i&&(i=s,r=e);return r}function Rfe(t){var e=t.map(Ife);return sv(t).sort(function(r,n){return e[r]-e[n]})}function Ife(t){for(var e=0,r=-1,n=t.length,s;++r<n;)(s=+t[r][1])&&(e+=s);return e}function Wyt(t){return Rfe(t).reverse()}function Yyt(t){var e=t.length,r,n,s=t.map(Ife),i=Efe(t),o=0,l=0,c=[],u=[];for(r=0;r<e;++r)n=i[r],o<l?(o+=s[n],c.push(n)):(l+=s[n],u.push(n));return u.reverse().concat(c)}function Kyt(t){return sv(t).reverse()}const _D={appearance:Efe,ascending:Rfe,descending:Wyt,insideOut:Yyt,none:sv,reverse:Kyt},vD={expand:zyt,diverging:qyt,none:nv,silhouette:Vyt,wiggle:Hyt},Dfe=t=>{const{series:e,seriesOrder:r,defaultStrategy:n}=t,s=[],i={};return r.forEach(o=>{const{stack:l,stackOrder:c,stackOffset:u}=e[o];l===void 0?s.push({ids:[o],stackingOrder:_D.none,stackingOffset:vD.none}):i[l]===void 0?(i[l]=s.length,s.push({ids:[o],stackingOrder:_D[c??n?.stackOrder??"none"],stackingOffset:vD[u??n?.stackOffset??"diverging"]})):(s[i[l]].ids.push(o),c!==void 0&&(s[i[l]].stackingOrder=_D[c]),u!==void 0&&(s[i[l]].stackingOffset=vD[u]))}),s},Qyt=t=>t==null?"":t.toLocaleString(),Zyt=(t,e)=>{const{seriesOrder:r,series:n}=t,s=Dfe(t),i=e??[];r.forEach(l=>{const c=n[l].data;if(c!==void 0)c.forEach((u,d)=>{i.length<=d?i.push({[l]:u}):i[d][l]=u});else if(e===void 0)throw new Error([`MUI X Charts: bar series with id='${l}' has no data.`,"Either provide a data property to the series or use the dataset prop."].join(`
/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js:341:        ${s}`},[`& .${kee.root}`]:{gridArea:"toolbar",justifySelf:"center"},justifyContent:"center",justifyItems:S2t(t.legendPosition),alignItems:w2t(t.legendPosition)}});function P2t(t){const{children:e,sx:r,extendVertically:n}=t,s=R0t(),i=Ms(),{width:o,height:l}=qr(i,Que);return a.jsx(M2t,{ref:s,ownerState:t,sx:r,extendVertically:n??l===void 0,width:o,children:e})}function $pe(t){return t.replace(" ","_")}const Ope=Sn("MuiAppearingMask",["animate"]),j2t=Ce("rect")({animationName:"animate-width",animationTimingFunction:a8,animationDuration:"0s",[`&.${Ope.animate}`]:{animationDuration:`${Bk}ms`},"@keyframes animate-width":{from:{width:0}}});function Lpe(t){const e=qa(),r=mx(),n=$pe(`${r}-${t.id}`);return a.jsxs(I.Fragment,{children:[a.jsx("clipPath",{id:n,children:a.jsx(j2t,{className:t.skipAnimation?"":Ope.animate,x:0,y:0,width:e.left+e.width+e.right,height:e.top+e.height+e.bottom})}),a.jsx("g",{clipPath:`url(#${n})`,children:t.children})]})}const T2t=["skipAnimation","ownerState"];function E2t(t){const{skipAnimation:e,ownerState:r}=t,n=Ht(t,T2t),s=k0t(t);return a.jsx(Lpe,{skipAnimation:e,id:`${r.id}-area-clip`,children:a.jsx("path",ce({fill:r.gradientId?`url(#${r.gradientId})`:r.color,filter:r.isHighlighted?"brightness(140%)":r.gradientId?void 0:"brightness(120%)",opacity:r.isFaded?.3:1,stroke:"none","data-series":r.id,"data-highlighted":r.isHighlighted||void 0,"data-faded":r.isFaded||void 0},n,s))})}const R2t=["id","classes","color","gradientId","slots","slotProps","onClick"];function I2t(t){return Pn("MuiAreaElement",t)}const D2t=Sn("MuiAreaElement",["root","highlighted","faded","series"]),$2t=t=>{const{classes:e,id:r,isFaded:n,isHighlighted:s}=t,i={root:["root",`series-${r}`,s&&"highlighted",n&&"faded"]};return un(i,I2t,e)};function O2t(t){const{id:e,classes:r,color:n,gradientId:s,slots:i,slotProps:o,onClick:l}=t,c=Ht(t,R2t),u=vx({type:"line",seriesId:e}),{isFaded:d,isHighlighted:f}=Uk({seriesId:e}),p={id:e,classes:r,color:n,gradientId:s,isFaded:d,isHighlighted:f},m=$2t(p),h=i?.area??E2t,_=xn({elementType:h,externalSlotProps:o?.area,additionalProps:ce({},u,{onClick:l,cursor:l?"pointer":"unset"}),className:m.root,ownerState:p});return a.jsx(h,ce({},c,_))}function Npe(t){switch(t){case"catmullRom":return Dyt.alpha(.5);case"linear":return J7;case"monotoneX":return uee;case"monotoneY":return $yt;case"natural":return Oyt;case"step":return Lyt;case"stepBefore":return Nyt;case"stepAfter":return Fyt;case"bumpY":return xyt;case"bumpX":return byt;default:return uee}}function L2t(t,e){const r=hx(),n=Uo().xAxisIds[0],s=Bo().yAxisIds[0],i=o8();return I.useMemo(()=>{if(r===void 0)return[];const{series:l,stackingGroups:c}=r,u=[];for(const d of c){const f=d.ids;for(let p=f.length-1;p>=0;p-=1){const m=f[p],{xAxisId:h=n,yAxisId:_=s,stackedData:g,data:y,connectNulls:b,baseline:x,curve:w,strictStepCurve:C,area:k}=l[m];if(!k||!(h in t)||!(_ in e))continue;const A=t[h].scale,P=Hv(A),T=e[_].scale,j=t[h].data,R=e[_].colorScale&&i(_)||t[h].colorScale&&i(h)||void 0,D=w?.includes("step")&&!C&&ao(A),O=j?.flatMap((z,H)=>{const W=y[H]==null;if(D){const K=[{x:z,y:g[H],nullData:W,isExtension:!1}];return!W&&(H===0||y[H-1]==null)&&K.unshift({x:(A(z)??0)-(A.step()-A.bandwidth())/2,y:g[H],nullData:W,isExtension:!0}),!W&&(H===y.length-1||y[H+1]==null)&&K.push({x:(A(z)??0)+(A.step()+A.bandwidth())/2,y:g[H],nullData:W,isExtension:!0}),K}return{x:z,y:g[H],nullData:W}})??[],N=b?O.filter(z=>!z.nullData):O,U=gyt().x(z=>z.isExtension?z.x:P(z.x)).defined(z=>b||!z.nullData||!!z.isExtension).y0(z=>{if(typeof x=="number")return T(x);if(x==="max")return T.range()[1];if(x==="min")return T.range()[0];const H=z.y&&T(z.y[0]);return Number.isNaN(H)?T.range()[0]:H}).y1(z=>z.y&&T(z.y[1])).curve(Npe(w))(N)||"";u.push({area:l[m].area,color:l[m].color,gradientId:R,d:U,seriesId:m})}}return u},[r,n,s,t,e,i])}const N2t=["slots","slotProps","onItemClick","skipAnimation"],F2t=Ce("g",{name:"MuiAreaPlot",slot:"Root"})({[`& .${D2t.root}`]:{transition:"opacity 0.2s ease-in, fill 0.2s ease-in"}}),U2t=()=>{const{xAxis:t}=Uo(),{yAxis:e}=Bo();return L2t(t,e)};function Fpe(t){const{slots:e,slotProps:r,onItemClick:n,skipAnimation:s}=t,i=Ht(t,N2t),o=Wk(),l=yx(o||s),c=U2t();return a.jsx(F2t,ce({},i,{children:c.map(({d:u,seriesId:d,color:f,area:p,gradientId:m})=>!!p&&a.jsx(O2t,{id:d,d:u,color:f,gradientId:m,slots:e,slotProps:r,onClick:n&&(h=>n(h,{type:"line",seriesId:d})),skipAnimation:l},d))}))}const B2t=["skipAnimation","ownerState"],z2t=I.forwardRef(function(e,r){const{skipAnimation:n,ownerState:s}=e,i=Ht(e,B2t),o=E0t(ce({},e,{ref:r}));return a.jsx(Lpe,{skipAnimation:n,id:`${s.id}-line-clip`,children:a.jsx("path",ce({stroke:s.gradientId?`url(#${s.gradientId})`:s.color,strokeWidth:2,strokeLinejoin:"round",fill:"none",filter:s.isHighlighted?"brightness(120%)":void 0,opacity:s.isFaded?.3:1,"data-series":s.id,"data-highlighted":s.isHighlighted||void 0,"data-faded":s.isFaded||void 0},i,o))})}),q2t=["id","classes","color","gradientId","slots","slotProps","onClick"];function V2t(t){return Pn("MuiLineElement",t)}const H2t=Sn("MuiLineElement",["root","highlighted","faded","series"]),G2t=t=>{const{classes:e,id:r,isFaded:n,isHighlighted:s}=t,i={root:["root",`series-${r}`,s&&"highlighted",n&&"faded"]};return un(i,V2t,e)};function W2t(t){const{id:e,classes:r,color:n,gradientId:s,slots:i,slotProps:o,onClick:l}=t,c=Ht(t,q2t),u=vx({type:"line",seriesId:e}),{isFaded:d,isHighlighted:f}=Uk({seriesId:e}),p={id:e,classes:r,color:n,gradientId:s,isFaded:d,isHighlighted:f},m=G2t(p),h=i?.line??z2t,_=xn({elementType:h,externalSlotProps:o?.line,additionalProps:ce({},u,{onClick:l,cursor:l?"pointer":"unset"}),className:m.root,ownerState:p});return a.jsx(h,ce({},c,_))}function Y2t(t,e){const r=hx(),n=Uo().xAxisIds[0],s=Bo().yAxisIds[0],i=o8();return I.useMemo(()=>{if(r===void 0)return[];const{series:l,stackingGroups:c}=r,u=[];for(const d of c){const f=d.ids;for(const p of f){const{xAxisId:m=n,yAxisId:h=s,stackedData:_,data:g,connectNulls:y,curve:b,strictStepCurve:x}=l[p];if(!(m in t)||!(h in e))continue;const w=t[m].scale,C=Hv(w),k=e[h].scale,A=t[m].data,P=e[h].colorScale&&i(h)||t[m].colorScale&&i(m)||void 0,T=b?.includes("step")&&!x&&ao(w),j=A?.flatMap((N,F)=>{const U=g[F]==null;if(T){const z=[{x:N,y:_[F],nullData:U,isExtension:!1}];return!U&&(F===0||g[F-1]==null)&&z.unshift({x:(w(N)??0)-(w.step()-w.bandwidth())/2,y:_[F],nullData:U,isExtension:!0}),!U&&(F===g.length-1||g[F+1]==null)&&z.push({x:(w(N)??0)+(w.step()+w.bandwidth())/2,y:_[F],nullData:U,isExtension:!0}),z}return{x:N,y:_[F],nullData:U}})??[],R=y?j.filter(N=>!N.nullData):j,O=yfe().x(N=>N.isExtension?N.x:C(N.x)).defined(N=>y||!N.nullData||!!N.isExtension).y(N=>k(N.y[1])).curve(Npe(b))(R)||"";u.push({color:l[p].color,gradientId:P,d:O,seriesId:p})}}return u},[r,n,s,t,e,i])}const K2t=["slots","slotProps","skipAnimation","onItemClick"],Q2t=Ce("g",{name:"MuiAreaPlot",slot:"Root"})({[`& .${H2t.root}`]:{transition:"opacity 0.2s ease-in, fill 0.2s ease-in"}}),Z2t=()=>{const{xAxis:t}=Uo(),{yAxis:e}=Bo();return Y2t(t,e)};function Upe(t){const{slots:e,slotProps:r,skipAnimation:n,onItemClick:s}=t,i=Ht(t,K2t),o=Wk(),l=yx(o||n),c=Z2t();return a.jsx(Q2t,ce({},i,{children:c.map(({d:u,seriesId:d,color:f,gradientId:p})=>a.jsx(W2t,{id:d,d:u,color:f,gradientId:p,skipAnimation:l,slots:e,slotProps:r,onClick:s&&(m=>s(m,{type:"line",seriesId:d}))},d))}))}function X2t(t){return Pn("MuiMarkElement",t)}const Bpe=Sn("MuiMarkElement",["root","highlighted","faded","animate","series"]),zpe=t=>{const{classes:e,id:r,isFaded:n,isHighlighted:s,skipAnimation:i}=t,o={root:["root",`series-${r}`,s&&"highlighted",n&&"faded",i?void 0:"animate"]};return un(o,X2t,e)},J2t=["x","y","id","classes","color","dataIndex","onClick","skipAnimation","isFaded","isHighlighted"],ewt=Ce("circle")({[`&.${Bpe.animate}`]:{transitionDuration:`${Bk}ms`,transitionProperty:"cx, cy",transitionTimingFunction:a8}});function twt(t){const{x:e,y:r,id:n,classes:s,color:i,dataIndex:o,onClick:l,skipAnimation:c,isFaded:u=!1,isHighlighted:d=!1}=t,f=Ht(t,J2t),p=As(),m=vx({type:"line",seriesId:n,dataIndex:o}),_=zpe({id:n,classes:s,isHighlighted:d,isFaded:u,skipAnimation:c});return a.jsx(ewt,ce({},f,{cx:e,cy:r,r:5,fill:(p.vars||p).palette.background.paper,stroke:i,strokeWidth:2,className:_.root,onClick:l,cursor:l?"pointer":"unset"},m,{"data-highlighted":d||void 0,"data-faded":u||void 0}))}function qpe(t){switch(t){case"circle":return 0;case"cross":return 1;case"diamond":return 2;case"square":return 3;case"star":return 4;case"triangle":return 5;case"wye":return 6;default:return 0}}const rwt=["x","y","id","classes","color","shape","dataIndex","onClick","skipAnimation","isFaded","isHighlighted"],nwt=Ce("path",{name:"MuiMarkElement",slot:"Root"})(({ownerState:t,theme:e})=>({fill:(e.vars||e).palette.background.paper,stroke:t.color,strokeWidth:2,[`&.${Bpe.animate}`]:{transitionDuration:`${Bk}ms`,transitionProperty:"transform, transform-origin",transitionTimingFunction:a8}}));function swt(t){const{x:e,y:r,id:n,classes:s,color:i,shape:o,dataIndex:l,onClick:c,skipAnimation:u,isFaded:d=!1,isHighlighted:f=!1}=t,p=Ht(t,rwt),m=vx({type:"line",seriesId:n,dataIndex:l}),h={id:n,classes:s,isHighlighted:f,isFaded:d,color:i,skipAnimation:u},_=zpe(h);return a.jsx(nwt,ce({},p,{style:{transform:`translate(${e}px, ${r}px)`,transformOrigin:`${e}px ${r}px`},ownerState:h,className:_.root,d:Afe(Cfe[qpe(o)])(),onClick:c,cursor:c?"pointer":"unset"},m,{"data-highlighted":f||void 0,"data-faded":d||void 0}))}const iwt=["slots","slotProps","skipAnimation","onItemClick"];function owt(t){const{slots:e,slotProps:r,skipAnimation:n,onItemClick:s}=t,i=Ht(t,iwt),o=Wk(),l=yx(o||n),c=hx(),{xAxis:u,xAxisIds:d}=Uo(),{yAxis:f,yAxisIds:p}=Bo(),m=mx(),{instance:h,store:_}=Wc(),{isFaded:g,isHighlighted:y}=u0t(),b=qr(_,afe),x=I.useMemo(()=>{const P={};for(const{dataIndex:T,axisId:j}of b)P[j]===void 0?P[j]=new Set([T]):P[j].add(T);return P},[b]);if(c===void 0)return null;const{series:w,stackingGroups:C}=c,k=d[0],A=p[0];return a.jsx("g",ce({},i,{children:C.flatMap(({ids:P})=>P.map(T=>{const{xAxisId:j=k,yAxisId:R=A,stackedData:D,data:O,showMark:N=!0,shape:F="circle"}=w[T];if(N===!1)return null;const U=Hv(u[j].scale),z=f[R].scale,H=u[j].data;if(H===void 0)throw new Error(`MUI X Charts: ${j===Bv?"The first `xAxis`":`The x-axis with id "${j}"`} should have data property to be able to display a line plot.`);const W=$pe(`${m}-${T}-line-clip`),K=t8(w[T],u[j],f[R]),q=e?.mark??(F==="circle"?twt:swt),X=y({seriesId:T}),Q=!X&&g({seriesId:T});return a.jsx("g",{clipPath:`url(#${W})`,"data-series":T,children:H?.map((Y,Z)=>{const re=O[Z]==null?null:D[Z][1];return{x:U(Y),y:re===null?null:z(re),position:Y,value:re,index:Z}}).filter(({x:Y,y:Z,index:re,position:fe,value:de})=>de===null||Z===null||!h.isPointInside(Y,Z)?!1:N===!0?!0:N({x:Y,y:Z,index:re,position:fe,value:de})).map(({x:Y,y:Z,index:re})=>a.jsx(q,ce({id:T,dataIndex:re,shape:F,color:K(re),x:Y,y:Z,skipAnimation:l,onClick:s&&(fe=>s(fe,{type:"line",seriesId:T,dataIndex:re})),isHighlighted:x[j]?.has(re)||X,isFaded:Q},r?.mark),`${T}-${re}`))},T)}))}))}const awt=parseInt(I.version,10),lwt=["x","y","id","classes","color","shape"];function cwt(t){return Pn("MuiHighlightElement",t)}Sn("MuiHighlightElement",["root"]);const uwt=t=>{const{classes:e,id:r}=t,n={root:["root",`series-${r}`]};return un(n,cwt,e)};function dwt(t){const{x:e,y:r,color:n,shape:s}=t,i=Ht(t,lwt),o=uwt(t),l=s==="circle"?"circle":"path",c=s==="circle"?{cx:0,cy:0,r:i.r===void 0?5:i.r}:{d:Afe(Cfe[qpe(s)])()},u=awt>18?{transformOrigin:`${e} ${r}`}:{"transform-origin":`${e} ${r}`};return a.jsx(l,ce({pointerEvents:"none",className:o.root,transform:`translate(${e} ${r})`,fill:n},u,c,i))}const fwt=["slots","slotProps"];function Vpe(t){const{slots:e,slotProps:r}=t,n=Ht(t,fwt),s=hx(),{xAxis:i,xAxisIds:o}=Uo(),{yAxis:l,yAxisIds:c}=Bo(),{instance:u}=Wc(),d=Ms(),f=qr(d,afe);if(f.length===0||s===void 0)return null;const{series:p,stackingGroups:m}=s,h=o[0],_=c[0],g=e?.lineHighlight??dwt;return a.jsx("g",ce({},n,{children:f.flatMap(({dataIndex:y,axisId:b})=>m.flatMap(({ids:x})=>x.flatMap(w=>{const{xAxisId:C=h,yAxisId:k=_,stackedData:A,data:P,disableHighlight:T,shape:j="circle"}=p[w];if(T||P[y]==null||b!==C)return null;const R=Hv(i[C].scale),D=l[k].scale,O=i[C].data;if(O===void 0)throw new Error(`MUI X Charts: ${C===Bv?"The first `xAxis`":`The x-axis with id "${C}"`} should have data property to be able to display a line plot.`);const N=R(O[y]),F=D(A[y][1]);if(!u.isPointInside(N,F))return null;const U=t8(p[w],i[C],l[k]);return a.jsx(g,ce({id:w,color:U(y),x:N,y:F,shape:j},r?.lineHighlight),`${w}`)})))}))}const pwt=[px,fx,zv,lx,Vv,Fk],mwt=["xAxis","yAxis","series","width","height","margin","colors","dataset","sx","onAreaClick","onLineClick","onMarkClick","axisHighlight","disableLineItemHighlight","hideLegend","grid","children","slots","slotProps","skipAnimation","loading","highlightedItem","onHighlightChange","className","showToolbar","brushConfig"],hwt=t=>{const{xAxis:e,yAxis:r,series:n,width:s,height:i,margin:o,colors:l,dataset:c,sx:u,onAreaClick:d,onLineClick:f,onMarkClick:p,axisHighlight:m,disableLineItemHighlight:h,grid:_,children:g,slots:y,slotProps:b,skipAnimation:x,loading:w,highlightedItem:C,onHighlightChange:k,className:A,brushConfig:P}=t,T=Ht(t,mwt),R=`${dv()}-clip-path`,D=I.useMemo(()=>n.map(re=>ce({disableHighlight:!!h,type:"line"},re)),[h,n]),O=ce({},T,{series:D,width:s,height:i,margin:o,colors:l,dataset:c,xAxis:e??[{id:Bv,scaleType:"point",data:Array.from({length:Math.max(...n.map(re=>(re.data??c??[]).length))},(re,fe)=>fe)}],yAxis:r,highlightedItem:C,onHighlightChange:k,disableAxisListener:b?.tooltip?.trigger!=="axis"&&m?.x==="none"&&m?.y==="none",className:A,skipAnimation:x,brushConfig:P,plugins:pwt}),N={vertical:_?.vertical,horizontal:_?.horizontal},F={clipPath:`url(#${R})`},U={id:R},z={slots:y,slotProps:b,onItemClick:d},H={slots:y,slotProps:b,onItemClick:f},W={slots:y,slotProps:b,onItemClick:p,skipAnimation:x},K={slots:y,slotProps:b,loading:w},q={slots:y,slotProps:b},X=ce({x:"line"},m),Q={slots:y,slotProps:b},Y={slots:y,slotProps:b};return{chartsWrapperProps:{sx:u,legendPosition:t.slotProps?.legend?.position,legendDirection:t.slotProps?.legend?.direction,hideLegend:t.hideLegend??!1},chartContainerProps:O,gridProps:N,clipPathProps:U,clipPathGroupProps:F,areaPlotProps:z,linePlotProps:H,markPlotProps:W,overlayProps:K,chartsAxisProps:q,axisHighlightProps:X,lineHighlightPlotProps:Q,legendProps:Y,children:g}},Pw=6;function Hpe(){const t=As(),e=Epe(),r=hx(),{xAxis:n,xAxisIds:s}=Uo(),{yAxis:i,yAxisIds:o}=Bo();if(e===null||e.seriesType!=="line"||!r)return null;const l=r?.series[e.seriesId],c=l.xAxisId??s[0],u=l.yAxisId??o[0];return a.jsx("rect",{fill:"none",stroke:(t.vars??t).palette.text.primary,strokeWidth:2,x:n[c].scale(n[c].data[e.dataIndex])-Pw,y:i[u].scale(l.stackedData[e.dataIndex][1])-Pw,width:2*Pw,height:2*Pw,rx:3,ry:3})}const Mee=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiLineChart"}),{chartsWrapperProps:s,chartContainerProps:i,gridProps:o,clipPathProps:l,clipPathGroupProps:c,areaPlotProps:u,linePlotProps:d,markPlotProps:f,overlayProps:p,chartsAxisProps:m,axisHighlightProps:h,lineHighlightPlotProps:_,legendProps:g,children:y}=hwt(n),{chartDataProviderProps:b,chartsSurfaceProps:x}=x2t(i,r),w=n.slots?.tooltip??jpe,C=n.slots?.toolbar;return a.jsx(Dpe,ce({},b,{children:a.jsxs(P2t,ce({},s,{children:[n.showToolbar&&C?a.jsx(C,ce({},n.slotProps?.toolbar)):null,!n.hideLegend&&a.jsx(gSt,ce({},g)),a.jsxs(p8,ce({},x,{children:[a.jsx(Dxt,ce({},o)),a.jsxs("g",ce({},c,{children:[a.jsx(Fpe,ce({},u)),a.jsx(Upe,ce({},d)),a.jsx(o2t,ce({},p)),a.jsx(Tpe,ce({},h))]})),a.jsx(Hpe,{}),a.jsx(Mxt,ce({},m)),a.jsx("g",{"data-drawing-container":!0,children:a.jsx(owt,ce({},f))}),a.jsx(Vpe,ce({},_)),a.jsx(epe,ce({},l)),y]})),!n.loading&&a.jsx(w,ce({},n.slotProps?.tooltip))]}))}))});function Uy(t,e){if(typeof t=="number")return t;if(t==="100%")return e;if(t.endsWith("%")){const r=Number.parseFloat(t.slice(0,t.length-1));if(!Number.isNaN(r))return r*e/100}if(t.endsWith("px")){const r=Number.parseFloat(t.slice(0,t.length-2));if(!Number.isNaN(r))return r}throw new Error(`MUI X Charts: Received an unknown value "${t}". It should be a number, or a string with a percentage value.`)}const gwt=["xAxis","yAxis","width","height","margin","color","baseline","sx","showTooltip","showHighlight","axisHighlight","children","slots","slotProps","data","plotType","valueFormatter","area","curve","className","disableClipping","clipAreaOffset","onHighlightChange","onHighlightedAxisChange","highlightedAxis","highlightedItem"],_wt=5,kD=I.forwardRef(function(e,r){const{xAxis:n,yAxis:s,width:i,height:o,margin:l=_wt,color:c,baseline:u,sx:d,showTooltip:f,showHighlight:p,axisHighlight:m,children:h,slots:_,slotProps:g,data:y,plotType:b="line",valueFormatter:x=Y=>Y===null?"":Y.toString(),area:w,curve:C="linear",className:k,disableClipping:A,clipAreaOffset:P,onHighlightChange:T,onHighlightedAxisChange:j,highlightedAxis:R,highlightedItem:D}=e,O=Ht(e,gwt),F=`${dv()}-clip-path`,U=I.useMemo(()=>({top:P?.top??1,right:P?.right??1,bottom:P?.bottom??1,left:P?.left??1}),[P?.bottom,P?.left,P?.right,P?.top]),z=I.useMemo(()=>p&&b==="bar"?{x:"band"}:{x:"none"},[b,p]),H=I.useMemo(()=>ce({},z,m),[z,m]),W=e.slots?.tooltip??jpe,K=I.useMemo(()=>{if(c!=null)return typeof c=="function"?Y=>[c(Y)]:[c]},[c]),q=I.useMemo(()=>[ce({type:b,data:y,valueFormatter:x},b==="bar"?{}:{area:w,curve:C,baseline:u,disableHighlight:!p})],[w,u,C,y,b,p,x]),X=I.useMemo(()=>[ce({id:Bv,scaleType:b==="bar"?"band":"point",hideTooltip:n===void 0},n,{data:n?.data??Array.from({length:y.length},(Y,Z)=>Z),position:"none"})],[y.length,b,n]),Q=I.useMemo(()=>[ce({id:y7},s,{position:"none"})],[s]);return a.jsxs(Dpe,{series:q,width:i,height:o,margin:l,xAxis:X,yAxis:Q,colors:K,disableAxisListener:j===void 0&&(!f||g?.tooltip?.trigger!=="axis")&&H?.x==="none"&&H?.y==="none",onHighlightChange:T,onHighlightedAxisChange:j,highlightedAxis:R,highlightedItem:D,children:[a.jsxs(p8,ce({className:k,ref:r,sx:d},O,{children:[a.jsxs("g",{clipPath:`url(#${F})`,children:[b==="bar"&&a.jsx(XSt,{skipAnimation:!0,slots:_,slotProps:g}),b==="line"&&a.jsxs(I.Fragment,{children:[a.jsx(Fpe,{skipAnimation:!0,slots:_,slotProps:g}),a.jsx(Upe,{skipAnimation:!0,slots:_,slotProps:g})]})]}),b==="line"&&a.jsxs(I.Fragment,{children:[a.jsx(Vpe,{slots:_,slotProps:g}),a.jsx(Hpe,{})]}),A?null:a.jsx(epe,{id:F,offset:U}),a.jsx(Tpe,ce({},H)),h]})),f&&a.jsx(W,ce({},e.slotProps?.tooltip))]})});function MD(t){const e=up(t);return[Math.sin(e),-Math.cos(e)]}function vwt(t,e){const r=[[0,0],MD(t),MD(e)],n=Math.min(t,e),s=Math.max(t,e),i=Math.floor(n/90)*90;for(let d=1;d<=4;d+=1){const f=i+d*90;f<s&&r.push(MD(f))}const o=Math.min(...r.map(([d])=>d)),l=Math.max(...r.map(([d])=>d)),c=Math.min(...r.map(([,d])=>d)),u=Math.max(...r.map(([,d])=>d));return{cx:-o/(l-o),cy:-c/(u-c),minX:o,maxX:l,minY:c,maxY:u}}function ywt(t,e,r,n,{minX:s,maxX:i,minY:o,maxY:l}){return Math.min(...[{ratio:Math.abs(s),space:t},{ratio:Math.abs(i),space:r-t},{ratio:Math.abs(o),space:e},{ratio:Math.abs(l),space:n-e}].map(({ratio:c,space:u})=>c<1e-5?1/0:u/c))}const Gpe=I.createContext({value:null,valueMin:0,valueMax:0,startAngle:0,endAngle:0,innerRadius:0,outerRadius:0,cornerRadius:0,cx:0,cy:0,maxRadius:0,valueAngle:null});function bwt(t){const{value:e=null,valueMin:r=0,valueMax:n=100,startAngle:s=0,endAngle:i=360,outerRadius:o,innerRadius:l,cornerRadius:c,cx:u,cy:d,children:f}=t,{left:p,top:m,width:h,height:_}=qa(),g=vwt(s,i),y=u?Uy(u,h):g.cx*h,b=d?Uy(d,_):g.cy*_;let x=p+y,w=m+b;const C=ywt(y,b,h,_,g);if(u===void 0){const j=C*(g.maxX-g.minX);x=p+(h-j)/2+g.cx*j}if(d===void 0){const j=C*(g.maxY-g.minY);w=m+(_-j)/2+g.cy*j}const k=Uy(o??C,C),A=Uy(l??"80%",C),P=Uy(c??0,k-A),T=I.useMemo(()=>{const j=up(s),R=up(i);return{value:e,valueMin:r,valueMax:n,startAngle:j,endAngle:R,outerRadius:k,innerRadius:A,cornerRadius:P,cx:x,cy:w,maxRadius:C,valueAngle:e===null?null:j+(R-j)*(e-r)/(n-r)}},[e,r,n,s,i,k,A,P,x,w,C]);return a.jsx(Gpe.Provider,{value:T,children:f})}function m8(){return I.useContext(Gpe)}const xwt=["width","height","margin","title","desc","value","valueMin","valueMax","startAngle","endAngle","outerRadius","innerRadius","cornerRadius","cx","cy","children"],Swt=Ce("g")(({theme:t})=>({"& text":{fill:(t.vars||t).palette.text.primary}})),wwt=I.forwardRef(function(e,r){const{width:n,height:s,margin:i,title:o,desc:l,value:c,valueMin:u=0,valueMax:d=100,startAngle:f,endAngle:p,outerRadius:m,innerRadius:h,cornerRadius:_,cx:g,cy:y,children:b}=e,x=Ht(e,xwt);return a.jsx(Ofe,{pluginParams:{width:n,height:s,margin:Zue(i,{left:10,right:10,top:10,bottom:10})},plugins:[],children:a.jsx(bwt,{value:c,valueMin:u,valueMax:d,startAngle:f,endAngle:p,outerRadius:m,innerRadius:h,cornerRadius:_,cx:g,cy:y,children:a.jsx(p8,ce({title:o,desc:l,role:"meter","aria-valuenow":c===null?void 0:c,"aria-valuemin":u,"aria-valuemax":d},x,{ref:r,children:a.jsx(Swt,{"aria-hidden":"true",children:b})}))})})});function Cwt(t,e){const r=Js(t.startAngle,e.startAngle),n=Js(t.endAngle,e.endAngle),s=Js(t.innerRadius,e.innerRadius),i=Js(t.outerRadius,e.outerRadius),o=Js(t.cornerRadius,e.cornerRadius);return l=>({startAngle:r(l),endAngle:n(l),innerRadius:s(l),outerRadius:i(l),cornerRadius:o(l)})}function Awt(t){return Gv({startAngle:t.startAngle,endAngle:t.endAngle,innerRadius:t.innerRadius,outerRadius:t.outerRadius,cornerRadius:t.cornerRadius},{createInterpolator:Cwt,transformProps:e=>({d:hfe().cornerRadius(e.cornerRadius)({innerRadius:e.innerRadius,outerRadius:e.outerRadius,startAngle:e.startAngle,endAngle:e.endAngle})}),applyProps(e,r){e.setAttribute("d",r.d)},initialProps:{startAngle:t.startAngle,endAngle:t.startAngle,innerRadius:t.innerRadius,outerRadius:t.outerRadius,cornerRadius:t.cornerRadius},skip:t.skipAnimation,ref:t.ref})}function kwt(t){return Pn("MuiGauge",t)}const th=Sn("MuiGauge",["root","valueArc","referenceArc","valueText"]),Mwt=["className"],Pwt=["cx","cy","startAngle","endAngle","cornerRadius","innerRadius","outerRadius","skipAnimation"],jwt=Ce("path",{name:"MuiGauge",slot:"ValueArc"})(({theme:t})=>({fill:(t.vars||t).palette.primary.main}));function Twt(t){let{className:e}=t,r=Ht(t,Mwt);const{value:n,valueMin:s,valueMax:i,startAngle:o,endAngle:l,outerRadius:c,innerRadius:u,cornerRadius:d,cx:f,cy:p}=m8();if(n===null)return null;const m=o+(n-s)/(i-s)*(l-o);return a.jsx(Ewt,ce({},r,{className:lt(th.valueArc,e),cx:f,cy:p,startAngle:o,endAngle:m,cornerRadius:d,innerRadius:u,outerRadius:c}))}function Ewt(t){let{cx:e,cy:r,startAngle:n,endAngle:s,cornerRadius:i,innerRadius:o,outerRadius:l,skipAnimation:c}=t,u=Ht(t,Pwt);const d=yx(c),f=Awt({startAngle:n,endAngle:s,cornerRadius:i,innerRadius:o,outerRadius:l,skipAnimation:d});return a.jsx(jwt,ce({},f,{transform:`translate(${e}, ${r})`},u))}const Rwt=["className"],Iwt=Ce("path",{name:"MuiGauge",slot:"ReferenceArc"})(({theme:t})=>({fill:(t.vars||t).palette.divider}));function Dwt(t){let{className:e}=t,r=Ht(t,Rwt);const{startAngle:n,endAngle:s,outerRadius:i,innerRadius:o,cornerRadius:l,cx:c,cy:u}=m8();return a.jsx(Iwt,ce({className:lt(th.referenceArc,e),transform:`translate(${c}, ${u})`,d:hfe().cornerRadius(l)({startAngle:n,endAngle:s,innerRadius:o,outerRadius:i})},r))}const $wt=["text","className"];function Owt({value:t}){return t===null?null:t.toLocaleString()}function Lwt(t){const{text:e=Owt,className:r}=t,n=Ht(t,$wt),{value:s,valueMin:i,valueMax:o,cx:l,cy:c}=m8(),u=typeof e=="function"?e({value:s,valueMin:i,valueMax:o}):e;return u===null?null:a.jsx("g",{className:lt(th.valueText,r),children:a.jsx(_x,ce({x:l,y:c,text:u,style:{textAnchor:"middle",dominantBaseline:"central"}},n))})}const Nwt=["text","children","classes","className","skipAnimation"],Fwt=t=>{const{classes:e}=t;return un({root:["root"]},kwt,e)},Pee=I.forwardRef(function(e,r){const{text:n,children:s,className:i,skipAnimation:o}=e,l=Ht(e,Nwt),c=Fwt(e);return a.jsxs(wwt,ce({},l,{className:lt(c.root,i),ref:r,children:[a.jsx(Dwt,{}),a.jsx(Twt,{skipAnimation:o}),a.jsx(Lwt,{text:n}),s]}))}),mi=t=>{const e=he.c(4),{show:r,size:n,children:s}=t,i=r===void 0?!1:r,o=n===void 0?"default":n;let l;return e[0]!==s||e[1]!==i||e[2]!==o?(l=i?a.jsx(Is,{size:o==="small"?{xs:6,lg:2,xl:2}:{xs:12,sm:6,lg:4,xl:3},zeroMinWidth:!0,children:a.jsx(pr,{fullHeight:!0,children:a.jsx(Kt,{children:a.jsx(te,{spacing:2,children:s})})})}):null,e[0]=s,e[1]=i,e[2]=o,e[3]=l):l=e[3],l},jw=t=>{const e=he.c(2),{isFirst:r}=t,s=(r===void 0?!1:r)?0:2;let i;return e[0]!==s?(i=a.jsx(Dt,{sx:{height:"32px",mb:2,mt:s},variant:"rectangular"}),e[0]=s,e[1]=i):i=e[1],i},Wpe=t=>{const e=he.c(5),{size:r}=t,n=r===void 0?"default":r,s=n==="small"?"74px":"250px";let i;e[0]!==s?(i=a.jsx(Dt,{variant:"rounded",sx:{height:s}}),e[0]=s,e[1]=i):i=e[1];let o;return e[2]!==n||e[3]!==i?(o=a.jsx(mi,{show:!0,size:n,children:i}),e[2]=n,e[3]=i,e[4]=o):o=e[4],o},Tw=t=>{const e=he.c(5),{size:r}=t,n=r===void 0?"default":r;let s;e[0]!==n?(s=Array.from({length:n==="small"?4:8}),e[0]=n,e[1]=s):s=e[1];let i;return e[2]!==n||e[3]!==s?(i=a.jsx(al,{children:s.map((o,l)=>a.jsx(Wpe,{size:n},l))}),e[2]=n,e[3]=s,e[4]=i):i=e[4],i};function Rs(t){const e=he.c(73);let r,n,s,i,o,l,c,u,d,f,p,m,h,_,g;e[0]!==t?({mainValue:n,mainValueUnit:i,totalValue:h,totalValueUnit:_,totalValueFontSizeRatio:u,valueDivider:g,title:p,subtitle:l,variant:d,titleColor:m,mainValueColor:s,subtitleColor:c,leftAlign:r,uppercaseTitle:f,...o}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d,e[10]=f,e[11]=p,e[12]=m,e[13]=h,e[14]=_,e[15]=g):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9],f=e[10],p=e[11],m=e[12],h=e[13],_=e[14],g=e[15]);const y=u===void 0?1:u,b=d===void 0?"medium":d,x=f===void 0?!0:f;let w;e:{switch(b){case"large":{let se;e[16]===Symbol.for("react.memo_cache_sentinel")?(se={valueFontSize:{value:40,unit:24},titleFontSize:16,subtitleFontSize:14},e[16]=se):se=e[16],w=se;break e}case"medium":{let se;e[17]===Symbol.for("react.memo_cache_sentinel")?(se={valueFontSize:{value:32,unit:20},titleFontSize:16,subtitleFontSize:14},e[17]=se):se=e[17],w=se;break e}case"small":{let se;e[18]===Symbol.for("react.memo_cache_sentinel")?(se={valueFontSize:{value:24,unit:14},titleFontSize:16,subtitleFontSize:14},e[18]=se):se=e[18],w=se;break e}case"xsmall":{let se;e[19]===Symbol.for("react.memo_cache_sentinel")?(se={valueFontSize:{value:18,unit:14},titleFontSize:16,subtitleFontSize:14},e[19]=se):se=e[19],w=se;break e}}w=void 0}const C=w,k=Uwt,{valueFontSize:A,titleFontSize:P,subtitleFontSize:T}=C,j=r?"left":"right";let R;e[20]!==j?(R={lineHeight:1,textAlign:j},e[20]=j,e[21]=R):R=e[21];const D=R;let O;e[22]!==D?(O={...D,wordBreak:"break-word"},e[22]=D,e[23]=O):O=e[23];let N;e[24]!==O||e[25]!==A.value?(N={component:"span",color:"text.primary",fontSize:A.value,fontWeight:"600",sx:O},e[24]=O,e[25]=A.value,e[26]=N):N=e[26];const F=N;let U;e[27]!==D?(U={...D,display:"inline-block"},e[27]=D,e[28]=U):U=e[28];let z;e[29]!==U||e[30]!==A.unit?(z={component:"span",color:"text.primary",fontSize:A.unit,sx:U},e[29]=U,e[30]=A.unit,e[31]=z):z=e[31];const H=z,W=r?"left":"right";let K;e[32]!==W?(K={textAlign:W,whiteSpace:""},e[32]=W,e[33]=K):K=e[33];const q=s?`${s}.main`:F.color;let X;e[34]!==n||e[35]!==q||e[36]!==F?(X=a.jsx(cn,{...F,color:q,children:n}),e[34]=n,e[35]=q,e[36]=F,e[37]=X):X=e[37];let Q;e[38]!==n||e[39]!==i||e[40]!==H?(Q=i&&!k(n)&&a.jsx(cn,{...H,children:i}),e[38]=n,e[39]=i,e[40]=H,e[41]=Q):Q=e[41];let Y;e[42]!==h||e[43]!==y||e[44]!==_||e[45]!==H||e[46]!==F||e[47]!==g||e[48]!==A.unit||e[49]!==A.value?(Y=!k(h)&&a.jsxs(a.Fragment,{children:[a.jsx(cn,{...F,fontSize:A?.value?A.value*y:void 0,paddingX:g?0:1,children:g}),a.jsx(cn,{...F,fontSize:A?.value?A.value*y:void 0,children:h}),_&&a.jsx(cn,{...H,fontSize:A?.unit?A.unit*y:void 0,children:_})]}),e[42]=h,e[43]=y,e[44]=_,e[45]=H,e[46]=F,e[47]=g,e[48]=A.unit,e[49]=A.value,e[50]=Y):Y=e[50];let Z;e[51]!==K||e[52]!==X||e[53]!==Q||e[54]!==Y?(Z=a.jsxs(cn,{component:"p",sx:K,children:[X,Q,Y]}),e[51]=K,e[52]=X,e[53]=Q,e[54]=Y,e[55]=Z):Z=e[55];let re;e[56]!==p||e[57]!==m||e[58]!==P||e[59]!==D||e[60]!==x?(re=p&&a.jsx(cn,{component:"p",fontSize:P,sx:D,className:"SquaredChildTile-title",color:m?`${m}.main`:"text.primary",children:x?p.toUpperCase():p}),e[56]=p,e[57]=m,e[58]=P,e[59]=D,e[60]=x,e[61]=re):re=e[61];let fe;e[62]!==l||e[63]!==c||e[64]!==T||e[65]!==D||e[66]!==x?(fe=l&&a.jsx(a.Fragment,{children:typeof l=="string"?a.jsx(cn,{component:"p",fontSize:T,color:c?`${c}.main`:"text.secondary",sx:D,children:x?l.toUpperCase():l}):a.jsx(te,{direction:"row",justify:"flex-end",spacing:2,sx:{flexWrap:"nowrap",mb:1,marginTop:"10px"},children:l.map((se,le)=>a.jsxs(te,{children:[a.jsx(cn,{component:"span",fontSize:T,sx:D,children:se.label?.toUpperCase()}),a.jsx(cn,{component:"span",fontWeight:"600",fontSize:T,sx:D,children:se.value?.toString().toUpperCase()})]},le))})}),e[62]=l,e[63]=c,e[64]=T,e[65]=D,e[66]=x,e[67]=fe):fe=e[67];let de;return e[68]!==o||e[69]!==Z||e[70]!==re||e[71]!==fe?(de=a.jsxs(gt,{...o,children:[Z,re,fe]}),e[68]=o,e[69]=Z,e[70]=re,e[71]=fe,e[72]=de):de=e[72],de}function Uwt(t){return t==null||t===""}function wi(t){const e=he.c(36);let r,n,s,i,o,l,c,u,d;e[0]!==t?({onClick:c,epigraph:n,epigraphColor:s,icon:o,iconLabel:l,children:r,horizontal:i,divided:d,...u}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9]);const f=d===void 0?!0:d;let p;e[10]!==c?(p=c&&{"&:hover":{cursor:"pointer","& .SquaredTile-title":{textDecoration:"underline"}}},e[10]=c,e[11]=p):p=e[11];let m;e[12]!==p?(m={...p},e[12]=p,e[13]=m):m=e[13];let h;e[14]!==n||e[15]!==s?(h=n&&a.jsx(cn,{color:s?`${s}.main`:"text.primary",fontSize:"14px",fontWeight:"600",sx:{lineHeight:1},children:n}),e[14]=n,e[15]=s,e[16]=h):h=e[16];const _=o||l?"space-between":"flex-end";let g;e[17]===Symbol.for("react.memo_cache_sentinel")?(g={gap:"10px"},e[17]=g):g=e[17];let y;e[18]!==n||e[19]!==o||e[20]!==l?(y=(o||l)&&a.jsxs(te,{direction:"column",align:"center",children:[o&&a.jsx(gt,{sx:{fontSize:"42px",marginTop:n?"10px":"0",color:"text.secondary"},children:o}),l&&a.jsx(cn,{color:"text.secondary",fontWeight:"400",component:"div",sx:{textAlign:"center",lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},children:l})]}),e[18]=n,e[19]=o,e[20]=l,e[21]=y):y=e[21];let b;e[22]!==r||e[23]!==f||e[24]!==i?(b=r&&a.jsx(te,{fullWidth:!0,divided:f,spacing:2,dividerSize:"50px",align:"flex-end",dividerAlign:"flex-end",...i&&{direction:"row",nowrap:!0,sx:{div:{flexGrow:1}}},children:r}),e[22]=r,e[23]=f,e[24]=i,e[25]=b):b=e[25];let x;e[26]!==_||e[27]!==y||e[28]!==b?(x=a.jsxs(te,{direction:"row",justify:_,align:"flex-start",spacing:0,sx:g,nowrap:!0,children:[y,b]}),e[26]=_,e[27]=y,e[28]=b,e[29]=x):x=e[29];let w;return e[30]!==c||e[31]!==u||e[32]!==m||e[33]!==h||e[34]!==x?(w=a.jsxs(gt,{sx:m,onClick:c,...u,children:[h,x]}),e[30]=c,e[31]=u,e[32]=m,e[33]=h,e[34]=x,e[35]=w):w=e[35],w}const Ew=I.forwardRef((t,e)=>{const r=he.c(10),{sx:n,text:s,align:i}=t,o=i===void 0?"left":i;let l;r[0]===Symbol.for("react.memo_cache_sentinel")?(l={mt:1},r[0]=l):l=r[0];let c;r[1]!==n?(c={mt:6,mb:2,"&:first-of-type":l,...n},r[1]=n,r[2]=c):c=r[2];let u;r[3]!==o||r[4]!==e||r[5]!==s?(u=a.jsx(_e,{type:"body1",align:o,ref:e,title:s,fontWeight:"500",children:s}),r[3]=o,r[4]=e,r[5]=s,r[6]=u):u=r[6];let d;return r[7]!==c||r[8]!==u?(d=a.jsx(gt,{sx:c,children:u}),r[7]=c,r[8]=u,r[9]=d):d=r[9],d});var Ype=(t=>(t.Bytes="Bytes",t.kB="kB",t.MB="MB",t.GB="GB",t.TB="TB",t.PB="PB",t.EB="EB",t.ZB="ZB",t.YB="YB",t))(Ype||{});const Bwt=Object.keys(Ype);var Kpe=(t=>(t.bps="bps",t.kbps="kbps",t.Mbps="Mbps",t.Gbps="Gbps",t.Tbps="Tbps",t.Pbps="Pbps",t.Ebps="Ebps",t.Zbps="Zbps",t.Ybps="Ybps",t))(Kpe||{});const zwt=Object.keys(Kpe);function Rw(t){return t==null?0:(typeof t=="string"&&(t=+t),t)}function Qpe({value:t,decimals:e=2,defaultSize:r,sizes:n,k:s=1e3}){if(t===0)return{value:"0",unit:r};e=e<0?0:e;const i=Math.floor(Math.log(t)/Math.log(s));return{value:parseFloat((t/Math.pow(s,i)).toFixed(e))?.toString(),unit:n[i]}}function qwt(t,e=2){return Qpe({value:t,decimals:e,defaultSize:"Bytes",sizes:Bwt})}function Vwt(t,e=2){return Qpe({value:t,decimals:e,defaultSize:"bps",sizes:zwt})}function jee(t){const e=ai.duration(t,"seconds");return Math.floor(e.asHours())+ai.utc(e.asMilliseconds()).format(":mm:ss")}const Jg={rate:function(t){return Vwt(Rw(t))},filesize:function(t){return qwt(Rw(t))},time:function(t){return jee(Rw(t))},hours:function(t){return jee(Rw(t))?.split(":")[0]}},Em=t=>{const e=he.c(3),{data:r,children:n}=t;let s;e:{if(Array.isArray(r)){s=r.length>0;break e}if(typeof r=="number"){s=!0;break e}if(r===$.errorKey){s=!1;break e}s=!!r}const i=s;let o;return e[0]!==n||e[1]!==i?(o=i?a.jsx(a.Fragment,{children:n}):null,e[0]=n,e[1]=i,e[2]=o):o=e[2],o},By=.75,Hwt="err",e_="-",Gwt=()=>{const t=Ye(),e=ys(),r=Gr(),n=I.useCallback(c=>c.some(u=>u===$.errorKey)?"error":void 0,[]),s=I.useCallback((c,u="string")=>c==null?"-":c===$.errorKey?Hwt:u==="rate"?Jg.rate(c)?.value??e_:u==="filesize"?Jg.filesize(c)?.value??e_:u==="time"?Jg.time(c)??e_:u==="hours"?Jg.hours(c)??e_:u==="count"?(typeof c=="string"&&(c=+c),c.toFixed(0)):u==="percentage"||u==="float"?(typeof c=="string"&&(c=+c),c.toFixed(2)):c.toString(),[]),i=I.useCallback((c,u)=>{if(c===$.errorKey)return"";switch(u){case"filesize":return Jg.filesize(c)?.unit??e_;case"rate":return Jg.rate(c)?.unit??e_}return"-"},[]),o=()=>{e($.urls.monitoringAlerts)},l=({nf:c})=>{e(`/${c}/cluster`)};return a.jsx(I.Suspense,{fallback:a.jsxs(a.Fragment,{children:[a.jsx(jw,{isFirst:!0}),a.jsx(Tw,{size:"small"}),a.jsx(jw,{}),a.jsx(Tw,{size:"default"})]}),children:a.jsx(Qt,{resolve:r.services,errorElement:a.jsx(Tr,{}),children:c=>a.jsxs(gt,{children:[a.jsx(I.Suspense,{fallback:a.jsxs(a.Fragment,{children:[a.jsx(jw,{isFirst:!0}),a.jsx(Tw,{size:"small"})]}),children:a.jsx(Qt,{resolve:r.activeClusters,errorElement:a.jsx(Tr,{}),children:u=>a.jsx(a.Fragment,{children:u.length>0&&a.jsxs(a.Fragment,{children:[a.jsx(Ew,{text:t.formatMessage({id:"monitoring.cluster.title"})}),a.jsx(al,{children:u.map(d=>{const f=ge[d.toUpperCase()];return a.jsx(I.Suspense,{fallback:a.jsx(Wpe,{size:"small"}),children:a.jsx(Qt,{resolve:r[d],errorElement:a.jsx(mi,{show:!0,size:"small",children:a.jsx(Mn,{title:t.formatMessage({id:"monitoring.cluster.error"}),children:a.jsx(wi,{icon:a.jsx(f,{}),iconLabel:t.formatMessage({id:`route.${d}`}),onClick:()=>l({nf:d}),children:a.jsx(gt,{sx:{color:"error.main"},children:a.jsx(ge.StatusError,{size:50})})})})}),children:p=>p?a.jsx(mi,{show:!0,size:"small",children:a.jsx(wi,{icon:a.jsx(f,{}),iconLabel:t.formatMessage({id:`route.${d}`}),onClick:()=>l({nf:d==="pls"?"platform":d}),children:a.jsx(Mn,{title:t.formatMessage({id:`monitoring.cluster.fully_established.${p.fully_established}`}),children:a.jsx(gt,{sx:{fontSize:"32px"},children:p.fully_established?a.jsx(gt,{sx:{color:"success.main"},children:a.jsx(ge.StatusSuccess,{size:50})}):a.jsx(gt,{sx:{color:"warning.main"},children:a.jsx(ge.StatusWarning,{size:50})})})})})}):null})},d)})})]})})})}),a.jsx(I.Suspense,{fallback:a.jsxs(a.Fragment,{children:[a.jsx(jw,{}),a.jsx(Tw,{size:"default"})]}),children:a.jsx(Qt,{resolve:r.monitoring,errorElement:a.jsx(Tr,{}),children:u=>a.jsxs(a.Fragment,{children:[u?.platform&&a.jsxs(a.Fragment,{children:[a.jsx(Ew,{text:t.formatMessage({id:"monitoring.platform.title"})}),a.jsxs(al,{children:[a.jsx(mi,{show:!!u.platform?.alerts,children:a.jsx(wi,{icon:a.jsx(ge.Alerts,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.alerts"}),onClick:o,children:a.jsx(Rs,{mainValue:s(u.platform?.alerts?.alerts_count,"count"),variant:"large",title:t.formatMessage({id:"monitoring.platform.alerts"}),titleColor:n([u.platform?.alerts?.alerts_count])})})}),a.jsxs(mi,{show:!!u.platform?.cpu,children:[a.jsxs(wi,{icon:a.jsx(ge.Cpu,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.cpu"}),children:[a.jsx(Rs,{mainValue:s(u.platform?.cpu?.cpu_count,"count"),variant:"small",title:t.formatMessage({id:"monitoring.platform.cpu.cpu_count"}),titleColor:n([u.platform?.cpu?.cpu_count])}),a.jsx(Rs,{mainValue:s(u.platform?.cpu?.cpu_busy_perc,"percentage"),mainValueUnit:u.platform?.cpu?.cpu_busy_perc===$.errorKey?"":"%",variant:"small",title:t.formatMessage({id:"monitoring.platform.cpu.cpu_busy_perc"}),titleColor:n([u.platform?.cpu?.cpu_busy_perc])})]}),a.jsx(Em,{data:u.platform?.cpu?.ts_cpu_busy_perc,children:a.jsx(kD,{data:u.platform?.cpu?.ts_cpu_busy_perc?.map(({value:d})=>parseFloat(d))??[],height:80,color:by})})]}),a.jsxs(mi,{show:!!u.platform?.disk,children:[a.jsxs(wi,{icon:a.jsx(ge.Drive,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.disk"}),children:[a.jsx(Rs,{mainValue:s(u.platform?.disk?.disk_available_bytes,"filesize"),mainValueUnit:i(u.platform?.disk?.disk_available_bytes,"filesize"),totalValue:s(u.platform?.disk?.disk_total_bytes,"filesize"),totalValueUnit:i(u.platform?.disk?.disk_total_bytes,"filesize"),valueDivider:"/",totalValueFontSizeRatio:By,variant:"small",title:t.formatMessage({id:"monitoring.platform.disk.availability"}),titleColor:n([u.platform?.disk?.disk_available_bytes,u.platform?.disk?.disk_total_bytes])}),a.jsx(Rs,{mainValue:s(u.platform?.disk?.disk_used_perc,"percentage"),mainValueUnit:u.platform?.disk?.disk_used_perc===$.errorKey?"":"%",variant:"small",title:t.formatMessage({id:"monitoring.platform.disk.occupation"}),titleColor:n([u.platform?.disk?.disk_used_perc])})]}),a.jsx(Em,{data:u.platform?.disk?.ts_disk_used_perc,children:a.jsx(kD,{data:u.platform?.disk?.ts_disk_used_perc?.map(({value:d})=>parseFloat(d))??[],height:80,color:by})})]}),a.jsxs(mi,{show:!!u.platform?.memory,children:[a.jsxs(wi,{icon:a.jsx(ge.Ram,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.ram"}),children:[a.jsx(Rs,{mainValue:s(u.platform?.memory?.memory_available_bytes,"filesize"),mainValueUnit:i(u.platform?.memory?.memory_available_bytes,"filesize"),totalValue:s(u.platform?.memory?.memory_total_bytes,"filesize"),totalValueUnit:i(u.platform?.memory?.memory_total_bytes,"filesize"),valueDivider:"/",totalValueFontSizeRatio:By,variant:"small",title:t.formatMessage({id:"monitoring.platform.memory.availability"}),titleColor:n([u.platform?.memory?.memory_available_bytes,u.platform?.memory?.memory_total_bytes])}),a.jsx(Rs,{mainValue:s(u.platform?.memory?.memory_used_perc,"percentage"),mainValueUnit:u.platform?.memory?.memory_used_perc===$.errorKey?"":"%",variant:"small",title:t.formatMessage({id:"monitoring.platform.memory.occupation"}),titleColor:n([u.platform?.memory?.memory_used_perc])})]}),a.jsx(Em,{data:u.platform?.memory?.ts_memory_used_perc,children:a.jsx(kD,{data:u.platform?.memory?.ts_memory_used_perc?.map(({value:d})=>parseFloat(d))??[],height:80,color:by})})]}),a.jsx(mi,{show:!!u.platform?.uptime,children:a.jsx(wi,{icon:a.jsx(ge.Clock,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.uptime"}),children:a.jsx(Rs,{mainValue:s(u.platform?.uptime?.uptime_seconds,"hours"),variant:"large",title:t.formatMessage({id:"monitoring.platform.uptime.title"}),subtitle:t.formatMessage({id:"monitoring.platform.uptime.subtitle"}),titleColor:n([u.platform?.uptime?.uptime_seconds])})})}),a.jsx(mi,{show:!!u.platform?.network_interfaces,children:a.jsxs(wi,{icon:a.jsx(ge.Cloud,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.network"}),children:[a.jsx(Rs,{mainValue:s(u.platform?.network_interfaces?.interfaces_active_count,"count"),totalValue:s(u.platform?.network_interfaces?.interfaces_total_count,"count"),variant:"large",valueDivider:"/",totalValueFontSizeRatio:By,title:t.formatMessage({id:"monitoring.platform.network_interfaces.title"}),subtitle:t.formatMessage({id:"monitoring.platform.network_interfaces.subtitle"}),titleColor:n([u.platform?.network_interfaces?.interfaces_active_count,u.platform?.network_interfaces?.interfaces_total_count])}),a.jsx(I.Suspense,{fallback:a.jsx(bi,{status:nn.DEFAULT,label:t.formatMessage({id:"monitoring.platform.network_ntp.loading"})}),children:a.jsx(Qt,{resolve:r.ncmStatusNtp,children:({ntp_synced:d})=>a.jsx(bi,{status:d?nn.SUCCESS:nn.ERROR,label:d?t.formatMessage({id:"monitoring.platform.network_ntp.synced"}):t.formatMessage({id:"monitoring.platform.network_ntp.not_synced"})})})})]})}),a.jsxs(mi,{show:!!u.platform?.network,children:[a.jsxs(wi,{icon:a.jsx(ge.Cloud,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.network"}),children:[a.jsx(Rs,{mainValue:s(u.platform?.network?.total_transmit_bytes,"filesize"),mainValueUnit:i(u.platform?.network?.total_transmit_bytes,"filesize"),totalValue:s(u.platform?.network?.total_receive_bytes,"filesize"),totalValueUnit:i(u.platform?.network?.total_receive_bytes,"filesize"),variant:"small",title:t.formatMessage({id:"monitoring.platform.network.load.title"}),titleColor:n([u.platform?.network?.total_transmit_bytes,u.platform?.network?.total_receive_bytes])}),a.jsx(Rs,{mainValue:s(u.platform?.network?.transmit_rate_bps,"rate"),mainValueUnit:i(u.platform?.network?.transmit_rate_bps,"rate"),totalValue:s(u.platform?.network?.receive_rate_bps,"rate"),totalValueUnit:i(u.platform?.network?.receive_rate_bps,"rate"),variant:"small",title:t.formatMessage({id:"monitoring.platform.network.rate.title"}),titleColor:n([u.platform?.network?.transmit_rate_bps,u.platform?.network?.receive_rate_bps])})]}),a.jsx(Em,{data:u.platform?.network?.ts_transmit_rate_bps,children:a.jsx(Mee,{axisHighlight:{x:"none",y:"none"},series:[{data:u.platform?.network?.ts_transmit_rate_bps?.map(({value:d})=>parseFloat(d))??[],showMark:!1},{data:u.platform?.network?.ts_receive_rate_bps?.map(({value:d})=>parseFloat(d))??[],showMark:!1}],xAxis:[{scaleType:"point",data:u.platform?.network?.ts_transmit_rate_bps?.map((d,f)=>f)??[],position:"none"}],yAxis:[{position:"none"}],height:80,disableAxisListener:!0,disableLineItemHighlight:!0,margin:{bottom:5,left:5,right:5,top:5},colors:O6})})]})]})]}),u?.control_plane&&a.jsxs(a.Fragment,{children:[a.jsx(Ew,{text:t.formatMessage({id:"monitoring.control_plane.title"})}),a.jsxs(al,{children:[Ds({services:c,name:ue.UDR})&&a.jsx(a.Fragment,{children:a.jsx(mi,{show:!!u.control_plane?.udr_sims?.provisioned_sims_count,children:a.jsx(wi,{icon:a.jsx(ge.UDR,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.udr"}),children:a.jsx(Rs,{mainValue:s(u.control_plane?.udr_sims?.provisioned_sims_count,"count"),variant:"large",title:t.formatMessage({id:"monitoring.control_plane.provisioned_sims.title"}),titleColor:n([u.control_plane?.udr_sims?.provisioned_sims_count])})})})}),Ds({services:c,name:ue.AMF})&&a.jsxs(a.Fragment,{children:[a.jsxs(mi,{show:!!u.control_plane?.amf_ue,children:[a.jsx(wi,{icon:a.jsx(ge.AMF,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.amf"}),children:a.jsx(Rs,{mainValue:s(u.control_plane?.amf_ue?.active_ue_count,"count"),totalValue:s(u.control_plane?.amf_ue?.registered_ue_count,"count"),valueDivider:"/",totalValueFontSizeRatio:By,variant:"medium",title:t.formatMessage({id:"monitoring.control_plane.amf_ue.title"}),subtitle:t.formatMessage({id:"monitoring.control_plane.amf_ue.subtitle"}),titleColor:n([u.control_plane?.amf_ue?.active_ue_count,u.control_plane?.amf_ue?.registered_ue_count])})}),a.jsx(Em,{data:u.control_plane?.amf_ue?.active_ue_count,children:a.jsx(Pee,{height:100,value:+(u.control_plane?.amf_ue?.active_ue_count??0),valueMin:0,valueMax:+(u.control_plane?.amf_ue?.registered_ue_count??0),startAngle:-90,endAngle:90,sx:{[`& .${th.valueText}`]:{fontSize:30,transform:"translate(0px, -10px)"},[`& .${th.valueArc}`]:{fill:d=>by(d.palette.mode)}}})})]}),a.jsx(mi,{show:!!u.control_plane?.amf_active_radios,children:a.jsx(wi,{icon:a.jsx(ge.AMF,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.amf"}),children:a.jsx(Rs,{mainValue:s(u.control_plane?.amf_active_radios?.active_radios_count,"count"),variant:"large",title:t.formatMessage({id:"monitoring.control_plane.amf_active_radios.title"}),titleColor:n([u.control_plane?.amf_active_radios?.active_radios_count])})})})]}),Ds({services:c,name:ue.MME})&&a.jsxs(a.Fragment,{children:[a.jsxs(mi,{show:!!u.control_plane?.mme_ue,children:[a.jsx(wi,{icon:a.jsx(ge.MME,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.mme"}),children:a.jsx(Rs,{mainValue:s(u.control_plane?.mme_ue?.active_ue_count,"count"),totalValue:s(u.control_plane?.mme_ue?.registered_ue_count,"count"),valueDivider:"/",totalValueFontSizeRatio:By,variant:"medium",title:t.formatMessage({id:"monitoring.control_plane.mme_ue.title"}),subtitle:t.formatMessage({id:"monitoring.control_plane.mme_ue.subtitle"}),titleColor:n([u.control_plane?.mme_ue?.active_ue_count,u.control_plane?.mme_ue?.registered_ue_count])})}),a.jsx(Em,{data:u.control_plane?.mme_ue?.active_ue_count,children:a.jsx(Pee,{height:100,value:+(u.control_plane?.mme_ue?.active_ue_count??0),valueMin:0,valueMax:+(u.control_plane?.mme_ue?.registered_ue_count??0),startAngle:-90,endAngle:90,sx:{[`& .${th.valueText}`]:{fontSize:30,transform:"translate(0px, -10px)"},[`& .${th.valueArc}`]:{fill:d=>by(d.palette.mode)}}})})]}),a.jsx(mi,{show:!!u.control_plane?.mme_active_radios,children:a.jsx(wi,{icon:a.jsx(ge.MME,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.mme"}),children:a.jsx(Rs,{mainValue:s(u.control_plane?.mme_active_radios?.active_radios_count,"count"),variant:"large",title:t.formatMessage({id:"monitoring.control_plane.mme_active_radios.title"}),titleColor:n([u.control_plane?.mme_active_radios?.active_radios_count])})})})]}),Ds({services:c,name:ue.SMF})&&a.jsxs(a.Fragment,{children:[a.jsx(mi,{show:!!u.control_plane?.smf_users,children:a.jsxs(wi,{icon:a.jsx(ge.SMF,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.smf"}),children:[a.jsx(Rs,{mainValue:s(u.control_plane?.smf_users?.users_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.smf_users.users_count.title"}),titleColor:n([u.control_plane?.smf_users?.users_count]),variant:"medium"}),a.jsx(Rs,{mainValue:s(u.control_plane?.smf_users?.sessions_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.smf_users.sessions_count.title"}),titleColor:n([u.control_plane?.smf_users?.sessions_count]),variant:"medium"})]})}),a.jsx(mi,{show:!!u.control_plane?.smf_connected_peers,children:a.jsx(wi,{icon:a.jsx(ge.SMF,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.smf"}),children:a.jsx(Rs,{mainValue:s(u.control_plane?.smf_connected_peers?.connected_peers_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.smf_connected_peers.title"}),titleColor:n([u.control_plane?.smf_connected_peers?.connected_peers_count]),variant:"large"})})})]}),Ds({services:c,name:ue.EIR})&&a.jsx(a.Fragment,{children:a.jsx(mi,{show:!!u?.control_plane?.eir_rules,children:a.jsx(wi,{icon:a.jsx(ge.EIR,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.eir"}),children:a.jsx(Rs,{mainValue:s(u?.control_plane?.eir_rules?.eir_rules_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.eir_rules.title"}),titleColor:n([u?.control_plane?.eir_rules?.eir_rules_count]),variant:"large"})})})}),Ds({services:c,name:ue.PCF})&&a.jsx(a.Fragment,{children:a.jsx(mi,{show:!!u?.control_plane?.pcf_sessions,children:a.jsxs(wi,{iconLabel:t.formatMessage({id:"monitoring.icon_label.pcf"}),icon:a.jsx(ge.PCF,{}),children:[a.jsx(Rs,{mainValue:s(u?.control_plane?.pcf_sessions?.n5_sessions_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.pcf_sessions.n5_sessions_count.title"}),variant:"medium",titleColor:n([u?.control_plane?.pcf_sessions?.n5_sessions_count])}),a.jsx(Rs,{mainValue:s(u?.control_plane?.pcf_sessions?.n7_sessions_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.pcf_sessions.n7_sessions_count.title"}),variant:"medium",titleColor:n([u?.control_plane?.pcf_sessions?.n7_sessions_count])})]})})}),Ds({services:c,name:ue.NRF})&&a.jsx(a.Fragment,{children:a.jsx(mi,{show:!!u?.control_plane?.nrf_profiles,children:a.jsxs(wi,{icon:a.jsx(ge.NRF,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.nrf"}),children:[a.jsx(Rs,{mainValue:s(u?.control_plane?.nrf_profiles?.registered_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.nrf_profiles.registered_count.title"}),variant:"medium",titleColor:n([u?.control_plane?.nrf_profiles?.registered_count])}),a.jsx(Rs,{mainValue:s(u?.control_plane?.nrf_profiles?.suspended_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.nrf_profiles.suspended_count.title"}),variant:"medium",titleColor:n([u?.control_plane?.nrf_profiles?.suspended_count])}),a.jsx(Rs,{mainValue:s(u?.control_plane?.nrf_profiles?.undiscoverable_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.nrf_profiles.undiscoverable_count.title"}),variant:"medium",titleColor:n([u?.control_plane?.nrf_profiles?.undiscoverable_count])})]})})})]})]}),u?.user_plane&&a.jsxs(a.Fragment,{children:[a.jsx(Ew,{text:t.formatMessage({id:"monitoring.user_plane.title"})}),a.jsx(al,{children:Ds({services:c,name:ue.UPF})&&a.jsxs(a.Fragment,{children:[a.jsxs(mi,{show:!!u.user_plane?.upf_throughput,children:[a.jsx(wi,{icon:a.jsx(ge.UPF,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.upf"}),children:a.jsx(Rs,{mainValue:s(u.user_plane?.upf_throughput?.total_load_uplink_bytes,"filesize"),mainValueUnit:i(u.user_plane?.upf_throughput?.total_load_uplink_bytes,"filesize"),totalValue:s(u.user_plane?.upf_throughput?.total_load_downlink_bytes,"filesize"),totalValueUnit:i(u.user_plane?.upf_throughput?.total_load_downlink_bytes,"filesize"),variant:"small",title:t.formatMessage({id:"monitoring.user_plane.upf_throughput.total.title"}),titleColor:n([u.user_plane?.upf_throughput?.total_load_uplink_bytes,u.user_plane?.upf_throughput?.total_load_downlink_bytes])})}),a.jsx(Rs,{mainValue:s(u.user_plane?.upf_throughput?.throughput_uplink_bps,"rate"),mainValueUnit:i(u.user_plane?.upf_throughput?.throughput_uplink_bps,"rate"),totalValue:s(u.user_plane?.upf_throughput?.throughput_downlink_bps,"rate"),totalValueUnit:i(u.user_plane?.upf_throughput?.throughput_downlink_bps,"rate"),variant:"small",title:t.formatMessage({id:"monitoring.user_plane.upf_throughput.throughput.title"}),titleColor:n([u.user_plane?.upf_throughput?.throughput_uplink_bps,u.user_plane?.upf_throughput?.throughput_downlink_bps])}),a.jsx(Em,{data:u.user_plane?.upf_throughput?.ts_throughput_uplink_bps,children:a.jsx(Mee,{axisHighlight:{x:"none",y:"none"},series:[{data:u.user_plane?.upf_throughput?.ts_throughput_uplink_bps?.map(({value:d})=>parseFloat(d))??[],showMark:!1},{data:u.user_plane?.upf_throughput?.ts_throughput_downlink_bps?.map(({value:d})=>parseFloat(d))??[],showMark:!1}],xAxis:[{scaleType:"point",data:u.user_plane?.upf_throughput?.ts_throughput_uplink_bps?.map((d,f)=>f)??[],position:"none"}],yAxis:[{position:"none"}],height:80,disableAxisListener:!0,disableLineItemHighlight:!0,margin:{bottom:5,left:5,right:5,top:5},colors:O6})})]}),a.jsx(mi,{show:!!u.user_plane?.upf_sessions,children:a.jsx(wi,{icon:a.jsx(ge.UPF,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.upf"}),children:a.jsx(Rs,{mainValue:s(u.user_plane?.upf_sessions?.active_sessions,"count"),variant:"large",title:t.formatMessage({id:"monitoring.user_plane.upf_sessions.title"}),titleColor:n([u.user_plane?.upf_sessions?.active_sessions])})})})]})})]})]})})})]})})})},Wwt={element:a.jsx(Or,{transparent:!0}),children:[{path:"home",loader:mut,element:a.jsx(Gwt,{}),handle:vr({labelIntl:"route.home",icon:a.jsx(ge.Home,{})})}]};function Ywt(){const t=he.c(54),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"pfcp.status.peers.remote_node_id"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"remote_node_id",label:s},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"pfcp.status.peers.transport_name"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"transport_name",label:o},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==e?(c=e.formatMessage({id:"pfcp.status.peers.local_addr"}),t[8]=e,t[9]=c):c=t[9];let u;t[10]!==c?(u={key:"local_addr",label:c},t[10]=c,t[11]=u):u=t[11];let d;t[12]!==e?(d=e.formatMessage({id:"pfcp.status.peers.remote_addr"}),t[12]=e,t[13]=d):d=t[13];let f;t[14]!==d?(f={key:"remote_addr",label:d},t[14]=d,t[15]=f):f=t[15];let p;t[16]!==e?(p=e.formatMessage({id:"pfcp.status.peers.version"}),t[16]=e,t[17]=p):p=t[17];let m;t[18]!==p?(m={key:"version",label:p},t[18]=p,t[19]=m):m=t[19];let h;t[20]!==e?(h=e.formatMessage({id:"pfcp.status.peers.uptime"}),t[20]=e,t[21]=h):h=t[21];let _;t[22]!==h?(_={key:"uptime_sec",label:h,cellRender:Zwt},t[22]=h,t[23]=_):_=t[23];let g;t[24]!==e?(g=e.formatMessage({id:"pfcp.status.peers.last_reset_at"}),t[24]=e,t[25]=g):g=t[25];let y;t[26]!==g?(y={key:"last_reset_at",label:g,cellRender:Qwt},t[26]=g,t[27]=y):y=t[27];let b;t[28]!==e?(b=e.formatMessage({id:"pfcp.status.peers.connected_at"}),t[28]=e,t[29]=b):b=t[29];let x;t[30]!==b?(x={key:"connected_at",label:b,cellRender:Kwt},t[30]=b,t[31]=x):x=t[31];let w;t[32]!==e?(w=e.formatMessage({id:"pfcp.status.peers.num_tuns"}),t[32]=e,t[33]=w):w=t[33];let C;t[34]!==w?(C={key:"num_tuns",label:w},t[34]=w,t[35]=C):C=t[35];let k;t[36]!==i||t[37]!==_||t[38]!==y||t[39]!==x||t[40]!==C||t[41]!==l||t[42]!==u||t[43]!==f||t[44]!==m?(k=[i,l,u,f,m,_,y,x,C],t[36]=i,t[37]=_,t[38]=y,t[39]=x,t[40]=C,t[41]=l,t[42]=u,t[43]=f,t[44]=m,t[45]=k):k=t[45];const A=k;let P;t[46]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[46]=P):P=t[46];let T;t[47]===Symbol.for("react.memo_cache_sentinel")?(T=a.jsx(en,{}),t[47]=T):T=t[47];let j;t[48]!==A||t[49]!==n.state?(j=D=>a.jsx(Br,{autoScale:!0,data:D||[],orderBy:"remote_node_id",page:0,loading:n.state!=="idle",rowsCount:D?.length,rowsPerPage:D?.length,rowKey:"remote_node_id",columns:A,hidePagination:!0}),t[48]=A,t[49]=n.state,t[50]=j):j=t[50];let R;return t[51]!==r.peers||t[52]!==j?(R=a.jsx(I.Suspense,{fallback:P,children:a.jsx(Qt,{resolve:r.peers,errorElement:T,children:j})}),t[51]=r.peers,t[52]=j,t[53]=R):R=t[53],R}function Kwt(t){const{connected_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function Qwt(t){const{last_reset_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function Zwt(t){const{uptime_sec:e}=t;return a.jsx(_e,{type:"body2",children:ai.utc(e*1e3).format("HH:mm:ss")})}function Xwt(){const t=he.c(24),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"pfcp.status.sockets.transport_name"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"transport_name",label:s},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"pfcp.status.sockets.local_addr"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"local_addr",label:o},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==e?(c=e.formatMessage({id:"pfcp.status.sockets.local_port"}),t[8]=e,t[9]=c):c=t[9];let u;t[10]!==c?(u={key:"local_port",label:c},t[10]=c,t[11]=u):u=t[11];let d;t[12]!==i||t[13]!==l||t[14]!==u?(d=[i,l,u],t[12]=i,t[13]=l,t[14]=u,t[15]=d):d=t[15];const f=d;let p;t[16]===Symbol.for("react.memo_cache_sentinel")?(p=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[16]=p):p=t[16];let m;t[17]===Symbol.for("react.memo_cache_sentinel")?(m=a.jsx(en,{}),t[17]=m):m=t[17];let h;t[18]!==f||t[19]!==n.state?(h=g=>a.jsx(Br,{autoScale:!0,data:g||[],orderBy:"transport_name",page:0,loading:n.state!=="idle",rowsCount:g?.length,rowsPerPage:g?.length,rowKey:"transport_name",columns:f,hidePagination:!0}),t[18]=f,t[19]=n.state,t[20]=h):h=t[20];let _;return t[21]!==r.sockets||t[22]!==h?(_=a.jsx(I.Suspense,{fallback:p,children:a.jsx(Qt,{resolve:r.sockets,errorElement:m,children:h})}),t[21]=r.sockets,t[22]=h,t[23]=_):_=t[23],_}async function Jwt({nf:t}){const e=$.apis.pfcp.status.sockets(t);return De({options:{url:e,method:"GET"}})}async function eCt({nf:t}){const e=$.apis.pfcp.status.peers(t);return De({options:{url:e,method:"GET"}})}function tCt({nf:t}){return async e=>Wt({loaderArgs:e,deferred:!0,data:{sockets:Jwt({nf:t})}})}function rCt({nf:t}){return async e=>Wt({loaderArgs:e,deferred:!0,data:{peers:eCt({nf:t})}})}function h8({path:t,nf:e}){const r=Pr();return{path:t,element:a.jsx(la,{navs:[{url:"sockets",label:r.formatMessage({id:"route.pfcp.sockets"})},{url:"peers",label:r.formatMessage({id:"route.pfcp.peers"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"sockets",replace:!0})},{path:"sockets",loader:tCt({nf:e}),errorElement:a.jsx(en,{}),element:a.jsx(Xwt,{})},{path:"peers",loader:rCt({nf:e}),errorElement:a.jsx(en,{}),element:a.jsx(Ywt,{})}]}}const Tee=Pr(),nCt={path:"sgwc",handle:vr({labelIntl:"route.sgwc",icon:a.jsx(ge.SGWC,{})}),children:[{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.SGWC)]},{element:a.jsx(Or,{fullHeight:!0}),children:[io(ue.SGWC),{path:"status",handle:vr({labelIntl:"route.sgwc.status",to:$.urls.sgwcStatus}),element:a.jsx(Ao,{tabs:[{url:"gtpc",label:Tee.formatMessage({id:"route.sgwc.status.gtpc"})},{url:"pfcp",label:Tee.formatMessage({id:"route.sgwc.status.pfcp"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"gtpc",replace:!0})},uk({path:"gtpc",nf:ue.SGWC,showBlockedPeers:!1}),h8({path:"pfcp",nf:ue.SGWC})]}]}]},PD=Pr(),sCt={path:"smf",handle:vr({labelIntl:"route.smf",icon:a.jsx(ge.SMF,{})}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.SMF)]},{element:a.jsx(Or,{center:!0}),children:[p7(ue.SMF)]},{element:a.jsx(Or,{fullHeight:!0}),children:[io(ue.SMF),{path:"status",handle:vr({labelIntl:"route.smf.status",to:$.urls.smfStatus}),element:a.jsx(Ao,{tabs:[{url:"gtpc",label:PD.formatMessage({id:"route.smf.status.gtpc"})},{url:"gtpu",label:PD.formatMessage({id:"route.smf.status.gtpu"})},{url:"pfcp",label:PD.formatMessage({id:"route.smf.status.pfcp"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"gtpc",replace:!0})},uk({path:"gtpc",nf:ue.SMF,showBlockedPeers:!1}),m7({path:"gtpu",nf:ue.SMF}),h8({path:"pfcp",nf:ue.SMF})]}]}]};function iCt(){const t=he.c(48),e=ci(),r=Ye(),n=Gr(),s=On(),i=aCt;let o;t[0]!==r?(o=r.formatMessage({id:"smsf.smpp.connections.name"}),t[0]=r,t[1]=o):o=t[1];let l;t[2]!==o?(l={key:"name",label:o},t[2]=o,t[3]=l):l=t[3];let c;t[4]!==r?(c=r.formatMessage({id:"smsf.smpp.connections.connection_type"}),t[4]=r,t[5]=c):c=t[5];let u;t[6]!==r||t[7]!==e?(u=D=>{const{connection_type:O}=D;return a.jsx(_e,{sx:{backgroundColor:O==="smpp_mc_peer"?e.palette.boy.light:e.palette.girl.light,color:O==="smpp_mc_peer"?e.palette.boy.contrastText:e.palette.girl.contrastText,fontWeight:"600",fontSize:"13px",borderRadius:5,px:1,display:"inline-block"},children:r.formatMessage({id:`smsf.smpp.connections.connection_type.${O}`})})},t[6]=r,t[7]=e,t[8]=u):u=t[8];let d;t[9]!==c||t[10]!==u?(d={key:"connection_type",label:c,cellRender:u},t[9]=c,t[10]=u,t[11]=d):d=t[11];let f;t[12]!==r?(f=r.formatMessage({id:"smsf.smpp.connections.bind_type"}),t[12]=r,t[13]=f):f=t[13];let p;t[14]!==r?(p=D=>{const{bind_type:O}=D;return a.jsxs(te,{direction:"row",spacing:1,justify:"flex-start",nowrap:!0,children:[O==="tx"?a.jsx(ge.UpArrow,{}):O==="rx"?a.jsx(ge.DownArrow,{}):a.jsxs(gt,{sx:{position:"relative"},children:[a.jsx(gt,{sx:{position:"relative",top:"-3px"},children:a.jsx(ge.UpArrow,{})}),a.jsx(gt,{sx:{position:"absolute",left:0,top:"3px"},children:a.jsx(ge.DownArrow,{})})]}),a.jsx(_e,{fontSize:"small",children:r.formatMessage({id:`smsf.smpp.connections.bind_type.${O}`})})]})},t[14]=r,t[15]=p):p=t[15];let m;t[16]!==f||t[17]!==p?(m={key:"bind_type",label:f,cellRender:p},t[16]=f,t[17]=p,t[18]=m):m=t[18];let h;t[19]!==r?(h=r.formatMessage({id:"smsf.smpp.connections.local_addr"}),t[19]=r,t[20]=h):h=t[20];let _;t[21]===Symbol.for("react.memo_cache_sentinel")?(_=D=>{const{local_addr:O,local_port:N}=D;return a.jsx(_e,{type:"body2",children:i({addr:O,port:N})})},t[21]=_):_=t[21];let g;t[22]!==h?(g={key:"local_addr",label:h,cellRender:_},t[22]=h,t[23]=g):g=t[23];let y;t[24]!==r?(y=r.formatMessage({id:"smsf.smpp.connections.remote_addr"}),t[24]=r,t[25]=y):y=t[25];let b;t[26]===Symbol.for("react.memo_cache_sentinel")?(b=D=>{const{remote_addr:O,remote_port:N}=D;return a.jsx(_e,{type:"body2",children:i({addr:O,port:N})})},t[26]=b):b=t[26];let x;t[27]!==y?(x={key:"remote_addr",label:y,cellRender:b},t[27]=y,t[28]=x):x=t[28];let w;t[29]!==r?(w=r.formatMessage({id:"smsf.smpp.connections.created_at"}),t[29]=r,t[30]=w):w=t[30];let C;t[31]!==w?(C={key:"created_at",label:w,cellRender:oCt},t[31]=w,t[32]=C):C=t[32];let k;t[33]!==l||t[34]!==g||t[35]!==x||t[36]!==C||t[37]!==d||t[38]!==m?(k=[l,d,m,g,x,C],t[33]=l,t[34]=g,t[35]=x,t[36]=C,t[37]=d,t[38]=m,t[39]=k):k=t[39];const A=k;let P;t[40]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[40]=P):P=t[40];let T;t[41]===Symbol.for("react.memo_cache_sentinel")?(T=a.jsx(en,{}),t[41]=T):T=t[41];let j;t[42]!==A||t[43]!==s.state?(j=D=>a.jsx(Br,{autoScale:!0,data:D||[],orderBy:"name",page:0,loading:s.state!=="idle",rowsCount:D?.length,rowsPerPage:D?.length,rowKey:"name",columns:A,hidePagination:!0}),t[42]=A,t[43]=s.state,t[44]=j):j=t[44];let R;return t[45]!==n.connections||t[46]!==j?(R=a.jsx(I.Suspense,{fallback:P,children:a.jsx(Qt,{resolve:n.connections,errorElement:T,children:j})}),t[45]=n.connections,t[46]=j,t[47]=R):R=t[47],R}function oCt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function aCt(t){const{addr:e,port:r}=t;return a.jsxs(a.Fragment,{children:[e||"-",r?":"+r:""]})}const jD=Pr(),lCt=dr().shape({msisdn:We().matches(new RegExp(`${$.regex.msisdnForSmsBox}`)).required(jD.formatMessage({id:"validation.required"})),to:We().matches(new RegExp(`${$.regex.msisdnForSmsBox}`)).required(jD.formatMessage({id:"validation.required"})),body:We().required(jD.formatMessage({id:"validation.required"})),validity_time_s:kn().min(0)}),cCt=t=>{const e=he.c(22),{msisdnList:r,onCancel:n}=t,s=Ye(),{data:i,state:o,submit:l}=gr(),[c,u]=I.useState(!1),{msisdn:d}=ko(),f=ys(),p=to();let m,h;e[0]!==p||e[1]!==f||e[2]!==n||e[3]!==i||e[4]!==o?(m=()=>{if(i&&o==="idle"){const{from:k}=i,A=`${$.urls.smsfSmsBox}/${k}/outbound`;xt(i)||(f(A,{replace:p.pathname===A}),n())}},h=[f,n,i,o,p],e[0]=p,e[1]=f,e[2]=n,e[3]=i,e[4]=o,e[5]=m,e[6]=h):(m=e[5],h=e[6]),I.useEffect(m,h);let _;e[7]!==l?(_=async k=>{const{body:A,to:P,validity_time_s:T,msisdn:j}=k,R={msisdn:j,to:P,body:A,...!!T&&{validity_time_s:+T}};l(R,{method:"POST",encType:"application/json",action:"smsf/sms-box/send"})},e[7]=l,e[8]=_):_=e[8];const g=_,y=d??"";let b;e[9]!==y?(b={msisdn:y,to:"",body:"",validity_time_s:""},e[9]=y,e[10]=b):b=e[10];const x=b;let w;e[11]!==s||e[12]!==c||e[13]!==r||e[14]!==n||e[15]!==i||e[16]!==o?(w=k=>{const{setFieldValue:A}=k,P=(T,j)=>{A(T,j??"")};return a.jsx(dn,{canWrite:Ue(ie.management),sx:{maxWidth:"100%"},children:a.jsx(_s,{children:a.jsxs(te,{spacing:4,sx:{pt:2},children:[a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"msisdn",children:T=>{const{field:j,meta:R}=T;return a.jsx(rn,{value:j.value,name:j.name,label:s.formatMessage({id:"smsf.sms_box.new_message.msisdn"}),options:r,freeSolo:!0,error:!!R.error,helperText:R.error,onChange:(D,O)=>P("msisdn",O),onInputChange:(D,O)=>P("msisdn",O),disabled:o!=="idle"})}}),a.jsx(Ke,{name:"to",children:T=>{const{field:j,meta:R}=T;return a.jsx(rn,{value:j.value,name:j.name,label:s.formatMessage({id:"smsf.sms_box.new_message.to"}),options:r,freeSolo:!0,error:!!R.error,helperText:R.error,onChange:(D,O)=>P("to",O),onInputChange:(D,O)=>P("to",O),disabled:o!=="idle"})}}),a.jsx(Ke,{name:"body",children:T=>{const{field:j,meta:R}=T;return a.jsx(dt,{...j,label:s.formatMessage({id:"smsf.sms_box.new_message.body"}),size:"small",multiline:5,error:!!R.error,helperText:R.error,disabled:o!=="idle"})}}),a.jsx(Ke,{name:"validity_time_s",children:T=>{const{field:j,meta:R}=T;return a.jsxs(te,{children:[a.jsxs(te,{direction:"row",justify:"stretch",align:"stretch",nowrap:!0,children:[c&&a.jsx(dt,{...j,label:s.formatMessage({id:"smsf.sms_box.new_message.validity_time_s"}),type:"number",error:!!R.error,helperText:R.error,disabled:o!=="idle",fullWidth:!0,sx:{width:"100%"},InputProps:{endAdornment:a.jsx(Zr,{onClick:()=>P("validity_time_s",""),children:a.jsx(ge.StatusError,{})})}}),!c&&a.jsx(uL,{label:s.formatMessage({id:"smsf.sms_box.new_message.validity_time_s"}),value:j.value?ai.unix(j.value):null,minDate:ai(),slotProps:{field:{clearable:!0}},onChange:D=>{D&&P("validity_time_s",D.unix())},sx:{width:"100%"}})]}),a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:c,onChange:(D,O)=>{u(O)}}),a.jsx(_e,{children:s.formatMessage({id:"smsf.sms_box.new_message.is_seconds_visible"})})]})]})}}),a.jsx(Xr,{data:i})]}),a.jsxs(te,{direction:"row",justify:"space-between",children:[a.jsx(Ze,{text:s.formatMessage({id:"smsf.sms_box.new_message.buttons.cancel"}),type:"button",disabled:o!=="idle"||!Ue(ie.management),onClick:n,variant:"outlined"}),a.jsx(Ze,{text:s.formatMessage({id:"smsf.sms_box.new_message.buttons.send"}),type:"submit",disabled:!Ue(ie.management),loading:o!=="idle"})]})]})})})},e[11]=s,e[12]=c,e[13]=r,e[14]=n,e[15]=i,e[16]=o,e[17]=w):w=e[17];let C;return e[18]!==g||e[19]!==x||e[20]!==w?(C=a.jsx(Wr,{initialValues:x,validationSchema:lCt,enableReinitialize:!0,onSubmit:g,children:w}),e[18]=g,e[19]=x,e[20]=w,e[21]=C):C=e[21],C};function uCt(){const t=he.c(19),{dialogOpen:e,dialogClose:r}=Jt(),n=Ye(),s=Gr(),i=On(),o=ys(),{msisdn:l,direction:c}=ko();let u;t[0]!==r||t[1]!==e||t[2]!==n?(u=b=>()=>{e({title:n.formatMessage({id:"smsf.sms_box.new_message.dialog.title"}),content:()=>a.jsx(cCt,{msisdnList:b,onCancel:()=>r()})})},t[0]=r,t[1]=e,t[2]=n,t[3]=u):u=t[3];const d=u;let f;t[4]===Symbol.for("react.memo_cache_sentinel")?(f={p:2,flex:"0 0 auto",borderColor:"divider"},t[4]=f):f=t[4];let p;t[5]===Symbol.for("react.memo_cache_sentinel")?(p=a.jsx(gt,{sx:f,children:a.jsx(Dt,{variant:"rounded",sx:{height:"40px",width:"100%",margin:"0 auto"}})}),t[5]=p):p=t[5];let m;t[6]===Symbol.for("react.memo_cache_sentinel")?(m={px:2,pb:2,flex:"1 1 auto"},t[6]=m):m=t[6];let h;t[7]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsxs(te,{fullHeight:!0,children:[p,a.jsx(gt,{sx:m,children:a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}})})]}),t[7]=h):h=t[7];let _;t[8]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(Tr,{}),t[8]=_):_=t[8];let g;t[9]!==c||t[10]!==d||t[11]!==n||t[12]!==l||t[13]!==o||t[14]!==i.state?(g=b=>a.jsx(a.Fragment,{children:a.jsxs(te,{spacing:0,nowrap:!0,fullHeight:!0,children:[a.jsx(gt,{sx:{borderBottom:"1px solid",flex:"0 0 auto",borderColor:"divider"},children:a.jsxs(te,{justify:"space-between",align:"center",direction:"row",sx:{p:2},children:[a.jsx(rn,{placeholder:n.formatMessage({id:"smsf.sms_box.search"}),options:b,sx:{minWidth:"250px"},size:"small",value:l??"",disabled:i.state==="loading",onChange:(x,w)=>o(w?`${$.urls.smsfSmsBox}/${w}/${c??"inbound"}`:$.urls.smsfSmsBox)}),a.jsx(Ze,{startIcon:a.jsx(ge.Send,{}),text:n.formatMessage({id:"smsf.sms_box.buttons.new_sms"}),onClick:d(b),disabled:i.state==="loading"})]})}),a.jsx(te,{sx:{flex:"1 1 auto"},fullHeight:!0,nowrap:!0,children:a.jsx(Bd,{})})]})}),t[9]=c,t[10]=d,t[11]=n,t[12]=l,t[13]=o,t[14]=i.state,t[15]=g):g=t[15];let y;return t[16]!==s.msisdnList||t[17]!==g?(y=a.jsx(I.Suspense,{fallback:h,children:a.jsx(Qt,{resolve:s.msisdnList,errorElement:_,children:g})}),t[16]=s.msisdnList,t[17]=g,t[18]=y):y=t[18],y}function dCt(){const t=he.c(9),e=Ye(),r=Gr(),n=ys();let s;t[0]===Symbol.for("react.memo_cache_sentinel")?(s={p:2,flex:"1 1 auto"},t[0]=s):s=t[0];let i;t[1]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx(gt,{sx:s,children:a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}})}),t[1]=i):i=t[1];let o;t[2]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(Tr,{}),t[2]=o):o=t[2];let l;t[3]!==e||t[4]!==n?(l=u=>a.jsxs(a.Fragment,{children:[u.length>0&&a.jsx(s7,{divided:!0,sx:{overflow:"auto",height:"100%",maxHeight:"100%",p:0},children:u.map(d=>a.jsx(i7,{primaryText:d,selected:!1,onClick:()=>n(`${$.urls.smsfSmsBox}/${d}`),endIcon:a.jsx(ge.RightArrow,{})},d))}),u.length===0&&a.jsx(Kt,{children:a.jsx(Lr,{severity:"info",message:e.formatMessage({id:"smsf.sms_box.no_msisdns"})})})]}),t[3]=e,t[4]=n,t[5]=l):l=t[5];let c;return t[6]!==r.msisdnList||t[7]!==l?(c=a.jsx(I.Suspense,{fallback:i,children:a.jsx(Qt,{resolve:r.msisdnList,errorElement:o,children:l})}),t[6]=r.msisdnList,t[7]=l,t[8]=c):c=t[8],c}function fCt(t){const e=he.c(65),{message:r}=t,{id:n,from:s,to:i,created_at:o,modified_at:l,validity_time_s:c,body:u}=r,d=Ye(),f=gl(),{openConfirmDialog:p}=di(),{direction:m,msisdn:h}=ko();let _;e[0]===Symbol.for("react.memo_cache_sentinel")?(_={key:"fetcher-smsf-sms-box-delete"},e[0]=_):_=e[0];const g=gr(_);let y;e[1]!==m||e[2]!==n||e[3]!==h||e[4]!==f?(y=async()=>{n&&h&&(m==="inbound"||m==="outbound")&&f({msisdn:h,message_id:n,direction:m},{method:"POST",encType:"application/json",navigate:!1,action:"delete",fetcherKey:"fetcher-smsf-sms-box-delete"})},e[1]=m,e[2]=n,e[3]=h,e[4]=f,e[5]=y):y=e[5];const b=y;let x;e[6]!==b||e[7]!==n||e[8]!==d||e[9]!==p?(x=()=>{p({id:"smsf-sms-box-delete-confir",onConfirm:()=>void b(),title:d.formatMessage({id:"smsf.sms_box.delete_message.dialog.confirm.title"}),text:d.formatMessage({id:"smsf.sms_box.delete_message.dialog.confirm.text"},{id:n}),closeOnBackdropClick:!0})},e[6]=b,e[7]=n,e[8]=d,e[9]=p,e[10]=x):x=e[10];const w=x;let C;e[11]===Symbol.for("react.memo_cache_sentinel")?(C={"&:hover":{".deleteIcon":{visibility:"visible"}},borderRadius:3,padding:2,position:"relative"},e[11]=C):C=e[11];let k;e[12]!==m||e[13]!==d?(k=d.formatMessage({id:`smsf.sms_box.message.message_${m==="outbound"?"to":"from"}`}),e[12]=m,e[13]=d,e[14]=k):k=e[14];let A;e[15]!==k?(A=a.jsx(_e,{children:k}),e[15]=k,e[16]=A):A=e[16];const P=m==="outbound"?i:s;let T;e[17]!==P?(T=a.jsx(_e,{fontSize:"large",fontWeight:"600",children:P}),e[17]=P,e[18]=T):T=e[18];let j;e[19]!==A||e[20]!==T?(j=a.jsxs(te,{direction:"row",align:"center",children:[A,T]}),e[19]=A,e[20]=T,e[21]=j):j=e[21];let R;e[22]!==d?(R=d.formatMessage({id:"smsf.sms_box.message.message_at"}),e[22]=d,e[23]=R):R=e[23];let D;e[24]!==R?(D=a.jsx(_e,{children:R}),e[24]=R,e[25]=D):D=e[25];let O;e[26]!==o?(O=Mr(o),e[26]=o,e[27]=O):O=e[27];let N;e[28]!==O?(N=a.jsx(_e,{fontWeight:"600",children:O}),e[28]=O,e[29]=N):N=e[29];let F;e[30]!==D||e[31]!==N?(F=a.jsxs(te,{direction:"row",align:"center",children:[D,N]}),e[30]=D,e[31]=N,e[32]=F):F=e[32];let U;e[33]!==j||e[34]!==F?(U=a.jsxs(te,{spacing:0,children:[j,F]}),e[33]=j,e[34]=F,e[35]=U):U=e[35];let z;e[36]===Symbol.for("react.memo_cache_sentinel")?(z={margin:"0",border:"1px solid",borderColor:"divider",borderRadius:"4px",paddingBlock:4,paddingInline:8,whiteSpace:"pre-wrap",wordBreak:"break-word"},e[36]=z):z=e[36];let H;e[37]!==u?(H=a.jsx("pre",{style:z,children:u}),e[37]=u,e[38]=H):H=e[38];let W;e[39]!==U||e[40]!==H?(W=a.jsxs(te,{spacing:1,children:[U,H]}),e[39]=U,e[40]=H,e[41]=W):W=e[41];let K;e[42]===Symbol.for("react.memo_cache_sentinel")?(K={color:"text.secondary"},e[42]=K):K=e[42];let q;e[43]!==n||e[44]!==d?(q=!!n&&a.jsxs(te,{direction:"row",children:[a.jsxs(_e,{fontSize:"small",children:[d.formatMessage({id:"smsf.sms_box.message.id"}),":"]}),a.jsx(_e,{fontSize:"small",fontWeight:"500",children:n})]}),e[43]=n,e[44]=d,e[45]=q):q=e[45];let X;e[46]!==d||e[47]!==c?(X=!!c&&a.jsxs(te,{direction:"row",children:[a.jsxs(_e,{fontSize:"small",children:[d.formatMessage({id:"smsf.sms_box.message.validity_time_s"}),":"]}),a.jsx(_e,{fontSize:"small",fontWeight:"500",children:qtt(c)})]}),e[46]=d,e[47]=c,e[48]=X):X=e[48];let Q;e[49]!==d||e[50]!==l?(Q=!!l&&a.jsxs(te,{direction:"row",children:[a.jsxs(_e,{fontSize:"small",children:[d.formatMessage({id:"smsf.sms_box.message.modified_at"}),":"]}),a.jsx(_e,{fontSize:"small",fontWeight:"500",children:Mr(l)})]}),e[49]=d,e[50]=l,e[51]=Q):Q=e[51];let Y;e[52]!==q||e[53]!==X||e[54]!==Q?(Y=a.jsxs(gt,{sx:K,children:[q,X,Q]}),e[52]=q,e[53]=X,e[54]=Q,e[55]=Y):Y=e[55];let Z;e[56]===Symbol.for("react.memo_cache_sentinel")?(Z={visibility:"hidden",position:"absolute",top:"10px",right:"10px"},e[56]=Z):Z=e[56];const re=g.state!=="idle";let fe;e[57]===Symbol.for("react.memo_cache_sentinel")?(fe=a.jsx(ge.Trash,{}),e[57]=fe):fe=e[57];let de;e[58]!==w||e[59]!==re?(de=a.jsx(gt,{className:"deleteIcon",sx:Z,children:a.jsx(Zr,{onClick:w,disabled:re,children:fe})}),e[58]=w,e[59]=re,e[60]=de):de=e[60];let se;return e[61]!==W||e[62]!==Y||e[63]!==de?(se=a.jsx(pr,{variant:"outlined",children:a.jsxs(te,{spacing:2,sx:C,children:[W,Y,de]})}),e[61]=W,e[62]=Y,e[63]=de,e[64]=se):se=e[64],se}function pCt(){const t=he.c(11),e=Ye(),r=Gr();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={p:2,flex:"1 1 auto"},t[0]=n):n=t[0];let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(Dt,{variant:"rounded",sx:{height:"200px"}}),t[1]=s):s=t[1];let i;t[2]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx(Dt,{variant:"rounded",sx:{height:"200px"}}),t[2]=i):i=t[2];let o;t[3]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(Dt,{variant:"rounded",sx:{height:"200px"}}),t[3]=o):o=t[3];let l;t[4]===Symbol.for("react.memo_cache_sentinel")?(l=a.jsxs(te,{sx:n,spacing:2,children:[s,i,o,a.jsx(Dt,{variant:"rounded",sx:{height:"200px"}})]}),t[4]=l):l=t[4];let c;t[5]===Symbol.for("react.memo_cache_sentinel")?(c=a.jsx(Tr,{}),t[5]=c):c=t[5];let u;t[6]!==e?(u=f=>a.jsxs(a.Fragment,{children:[!!f.length&&a.jsx(te,{spacing:2,sx:{overflow:"auto",p:2},nowrap:!0,fullWidth:!0,children:f.map(mCt)}),!f.length&&a.jsx(Kt,{children:a.jsx(Lr,{severity:"info",message:e.formatMessage({id:"smsf.sms_box.messages.no_messages"})})})]}),t[6]=e,t[7]=u):u=t[7];let d;return t[8]!==r.messages||t[9]!==u?(d=a.jsx(I.Suspense,{fallback:l,children:a.jsx(Qt,{resolve:r.messages,errorElement:c,children:u})}),t[8]=r.messages,t[9]=u,t[10]=d):d=t[10],d}function mCt(t){return a.jsx(fCt,{message:t},t.id)}async function hCt(){const t=$.apis.smsf.smpp.status.connections;return De({options:{url:t,method:"GET"}})}async function Zpe(){const t=$.apis.smsf.smsBox.msisdnList;return De({options:{url:t,method:"GET"}})}async function gCt({msisdn:t,direction:e}){const r=$.apis.smsf.smsBox.msisdnMessages({msisdn:t,direction:e});return De({options:{url:r,method:"GET",cache:!1}})}async function _Ct({msisdn:t,validity_time_s:e,to:r,body:n}){const s=$.apis.smsf.smsBox.messagesCreate({msisdn:t});return De({options:{url:s,method:"POST",data:{to:r,body:n,...e&&{validity_time_s:e}}}})}async function vCt({msisdn:t,direction:e,message_id:r}){const n=$.apis.smsf.smsBox.messagesDelete({msisdn:t,direction:e,message_id:r});return De({options:{url:n,method:"DELETE"}})}const q$=Pr();async function yCt({request:t}){const e=await t.json(),r=await _Ct(e);return xt(r)||Nt(q$.formatMessage({id:"smsf.sms_box.new_message.dialog.send_ok"})),Ft(r)}async function bCt({request:t}){const e=await t.json(),r=await vCt(e);return xt(r)?Ar(r.error?.detail||q$.formatMessage({id:"smsf.sms_box.delete_message.dialog.send_ko"})):Nt(q$.formatMessage({id:"smsf.sms_box.delete_message.dialog.send_ok"})),Ft(r)}async function xCt(t){return Wt({loaderArgs:t,deferred:!0,data:{connections:hCt()}})}async function Eee(t){return Wt({loaderArgs:t,deferred:!0,data:{msisdnList:Zpe()}})}async function SCt(t){const{msisdn:e,direction:r}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{messages:gCt({msisdn:e,direction:r&&["inbound","outbound"].includes(r)?r:"inbound"}),msisdnList:Zpe(),msisdn:e}}):null}const zy=Pr(),wCt={path:"smsf",handle:vr({labelIntl:"route.smsf",icon:a.jsx(ge.SMSF,{})}),children:[{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.SMSF,{dbCluster:!0})]},{element:a.jsx(Or,{center:!0,fullHeight:!0}),children:[{path:"sms-box",handle:vr({labelIntl:"route.smsf.sms-box",to:"/smsf/sms-box"}),element:a.jsx(uCt,{}),loader:Eee,children:[{index:!0,element:a.jsx(ur,{to:"list",replace:!0})},{path:"send",action:yCt,loader:()=>rt("..")},{path:"list",loader:Eee,element:a.jsx(dCt,{})},{path:":msisdn",element:a.jsx(Ao,{tabs:[{url:"inbound",label:zy.formatMessage({id:"smsf.sms_box.tabs.inbound"})},{url:"outbound",label:zy.formatMessage({id:"smsf.sms_box.tabs.outbound"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"inbound",replace:!0})},{path:":direction",element:a.jsx(pCt,{}),loader:SCt,children:[{path:"delete",action:bCt,loader:()=>rt("..")}]}]}]}]},{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{path:"status",handle:vr({labelIntl:"route.smsf.status",to:"/smsf/status"}),element:a.jsx(Ao,{tabs:[{url:"diameter",label:zy.formatMessage({id:"route.diameter"})},{url:"smpp",label:zy.formatMessage({id:"route.smsf.smpp"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"diameter",replace:!0})},qp({path:"diameter",nf:ue.SMSF}),{path:"smpp",element:a.jsx(la,{navs:[{url:"connections",label:zy.formatMessage({id:"route.smsf.smpp.connections"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"connections",replace:!0})},{path:"connections",loader:xCt,errorElement:a.jsx(en,{}),element:a.jsx(iCt,{})}]}]},io(ue.SMSF)]}]};function TD(t){return xt(t)?!0:Array.isArray(t)?t.some(e=>xt(e)):!1}function CCt(t){const e=he.c(6),{errorData:r}=t;if(Array.isArray(r)){let s;e[0]!==r?(s=r.map(ACt),e[0]=r,e[1]=s):s=e[1];let i;return e[2]!==s?(i=a.jsx(te,{children:s}),e[2]=s,e[3]=i):i=e[3],i}let n;return e[4]!==r.error.detail?(n=a.jsx(Lr,{severity:"error",message:r.error.detail}),e[4]=r.error.detail,e[5]=n):n=e[5],n}function ACt(t,e){return a.jsx(Lr,{severity:"error",message:t.error.detail},e)}const bx=t=>{const e=he.c(47);let r,n,s,i,o,l,c,u,d,f;e[0]!==t?({action:n,requiredMessage:f,onDialogSuccess:u,min:c,max:l,acceptEncrypted:r,extraData:o,customError:s,extraContent:i,...d}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d,e[10]=f):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9],f=e[10]);const p=Ye(),{data:m,state:h,submit:_}=gr(),{dialogClose:g}=Jt();let y,b;e[11]!==m||e[12]!==g||e[13]!==u||e[14]!==h?(y=()=>{m&&!TD(m)&&h==="idle"&&(g(),u&&u(m))},b=[m,g,u,h],e[11]=m,e[12]=g,e[13]=u,e[14]=h,e[15]=y,e[16]=b):(y=e[15],b=e[16]),I.useEffect(y,b);let x;e[17]!==n||e[18]!==o||e[19]!==_?(x=async O=>{const N=new FormData;for(const F in O){const U=O[F];if(Array.isArray(U))for(let z=0;z<U.length;z++)N.append(F,U[z]);else N.append(F,U)}for(const F in o)N.append(F,o[F]);_(N,{method:"POST",encType:"multipart/form-data",action:n})},e[17]=n,e[18]=o,e[19]=_,e[20]=x):x=e[20];const w=x;let C;e[21]!==r||e[22]!==p||e[23]!==l||e[24]!==c||e[25]!==f?(C=dr().shape({files:yr().min(c,p.formatMessage({id:"form_import_files.min"},{num:c})).max(l,p.formatMessage({id:"form_import_files.max"},{num:l})).required(f||p.formatMessage({id:"form_import_files.required"})),...r&&{encrypted:li()}}),e[21]=r,e[22]=p,e[23]=l,e[24]=c,e[25]=f,e[26]=C):C=e[26];const k=C;let A;e[27]===Symbol.for("react.memo_cache_sentinel")?(A=[],e[27]=A):A=e[27];let P;e[28]!==r?(P=r&&{encrypted:!1},e[28]=r,e[29]=P):P=e[29];let T;e[30]!==P?(T={files:A,...P},e[30]=P,e[31]=T):T=e[31];const j=T;let R;e[32]!==s||e[33]!==m||e[34]!==g||e[35]!==i||e[36]!==p||e[37]!==l||e[38]!==c||e[39]!==d||e[40]!==h?(R=O=>{const{dirty:N}=O;return a.jsxs(Kd,{style:{display:"flex",flexDirection:"column",flexGrow:"1",maxHeight:"100%",overflow:"auto"},children:[a.jsx(_s,{children:a.jsxs(te,{spacing:2,children:[i,a.jsx(Sue,{min:c,max:l,...d}),TD(m)&&!s&&a.jsx(CCt,{errorData:m}),TD(m)&&!!s&&s(m)]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:p.formatMessage({id:"dialog_with_form.buttons.cancel"}),variant:"outlined",disabled:h!=="idle",onClick:()=>g()}),a.jsx(Ze,{text:p.formatMessage({id:"dialog_with_form.buttons.submit"}),type:"submit",disabled:!N,loading:h!=="idle"})]})})]})},e[32]=s,e[33]=m,e[34]=g,e[35]=i,e[36]=p,e[37]=l,e[38]=c,e[39]=d,e[40]=h,e[41]=R):R=e[41];let D;return e[42]!==w||e[43]!==j||e[44]!==R||e[45]!==k?(D=a.jsx(Wr,{initialValues:j,validationSchema:k,onSubmit:w,children:R}),e[42]=w,e[43]=j,e[44]=R,e[45]=k,e[46]=D):D=e[46],D},kCt=Pr();function MCt(t){switch(t.status){case"CREATED":return nn.DEFAULT;case"RUNNING":return nn.INFO;case"TERMINATED":return t.info?.errors.length?nn.ERROR:t.info?.warnings.length?nn.WARNING:nn.SUCCESS}}const PCt=dr().shape({password:We().matches(/^[a-fA-F0-9]{32}$/)}),jCt=dr().shape({files:yr().min(1,kCt.formatMessage({id:"backup.detail.form.validation.error"}))});function TCt(){const t=he.c(16),e=Ye(),{dialogClose:r}=Jt(),{nf:n}=ko(),{upsertFetcher:s}=Ys(),{submit:i,data:o,state:l}=s;let c;t[0]===Symbol.for("react.memo_cache_sentinel")?(c={password:""},t[0]=c):c=t[0];const u=c;let d;t[1]!==n||t[2]!==i?(d=()=>{n&&i({nf:n,configuration:{password:null}},{action:"system/backup/update-configuration",method:"PUT",encType:"application/json"})},t[1]=n,t[2]=i,t[3]=d):d=t[3];const f=d;let p;t[4]!==n||t[5]!==i?(p=g=>{n&&i({nf:n,configuration:g},{action:"system/backup/update-configuration",method:"PUT",encType:"application/json"})},t[4]=n,t[5]=i,t[6]=p):p=t[6];const m=p;let h;t[7]!==o||t[8]!==r||t[9]!==f||t[10]!==e||t[11]!==l?(h=g=>{const{dirty:y,isSubmitting:b}=g;return a.jsxs(dn,{canWrite:Ue([[ie.provisioning,ie.backup]]),children:[a.jsx(yv,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"password",children:x=>{const{field:w,meta:C}=x;return a.jsx(dt,{...w,showPasswordVisibility:!0,fullWidth:!0,type:"password",label:e.formatMessage({id:"backup.encryption_password"}),helperText:C.error,error:!!C.error})}}),a.jsx(Xr,{data:o})]})}),a.jsx(vv,{children:a.jsxs(te,{direction:"row",children:[a.jsx(Ze,{variant:"outlined",text:e.formatMessage({id:"common.form.cancel"}),disabled:l!=="idle",onClick:()=>r()}),a.jsx(Ze,{variant:"outlined",text:e.formatMessage({id:"backup.encryption_password.reset_default"}),disabled:l!=="idle"||!Ue([[ie.provisioning,ie.backup]]),loading:l!=="idle"&&!b,onClick:f}),a.jsx(Ze,{type:"submit",text:e.formatMessage({id:"common.update"}),loading:l!=="idle"&&b,disabled:!y||l!=="idle"||!Ue([[ie.provisioning,ie.backup]])})]})})]})},t[7]=o,t[8]=r,t[9]=f,t[10]=e,t[11]=l,t[12]=h):h=t[12];let _;return t[13]!==m||t[14]!==h?(_=a.jsx(Wr,{initialValues:u,validationSchema:PCt,onSubmit:m,children:h}),t[13]=m,t[14]=h,t[15]=_):_=t[15],_}const h0=I.createContext({});function ECt(t){return tr("MuiTimeline",t)}rr("MuiTimeline",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]);function Wp(t){return t==="alternate-reverse"?"positionAlternateReverse":`position${tt(t)}`}const RCt=t=>{const{position:e,classes:r}=t,n={root:["root",e&&Wp(e)]};return nr(n,ECt,r)},ICt=Ce("ul",{name:"MuiTimeline",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.position&&e[Wp(r.position)]]}})({display:"flex",flexDirection:"column",padding:"6px 16px",flexGrow:1}),DCt=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTimeline"}),{position:s="right",className:i,...o}=n,l={...n,position:s},c=RCt(l),u=I.useMemo(()=>({position:s}),[s]);return a.jsx(h0.Provider,{value:u,children:a.jsx(ICt,{className:lt(c.root,i),ownerState:l,ref:r,...o})})});function $Ct(t){return tr("MuiTimelineConnector",t)}rr("MuiTimelineConnector",["root"]);const OCt=t=>{const{classes:e}=t;return nr({root:["root"]},$Ct,e)},LCt=Ce("span",{name:"MuiTimelineConnector",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({width:2,backgroundColor:(t.vars||t).palette.grey[400],flexGrow:1})),Ree=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTimelineConnector"}),{className:s,...i}=n,o=n,l=OCt(o);return a.jsx(LCt,{className:lt(l.root,s),ownerState:o,ref:r,...i})});function NCt(t){return tr("MuiTimelineContent",t)}const FCt=rr("MuiTimelineContent",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]),UCt=t=>{const{position:e,classes:r}=t,n={root:["root",Wp(e)]};return nr(n,NCt,r)},BCt=Ce(cn,{name:"MuiTimelineContent",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[Wp(r.position)]]}})(({ownerState:t})=>({flex:1,padding:"6px 16px",textAlign:"left",...t.position==="left"&&{textAlign:"right"}})),ED=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTimelineContent"}),{className:s,...i}=n,{position:o}=I.useContext(h0),l={...n,position:o||"right"},c=UCt(l);return a.jsx(BCt,{component:"div",className:lt(c.root,s),ownerState:l,ref:r,...i})});function zCt(t){return tr("MuiTimelineDot",t)}rr("MuiTimelineDot",["root","filled","outlined","filledGrey","outlinedGrey","filledPrimary","outlinedPrimary","filledSecondary","outlinedSecondary"]);const qCt=t=>{const{color:e,variant:r,classes:n}=t,s={root:["root",r,e!=="inherit"&&`${r}${tt(e)}`]};return nr(s,zCt,n)},VCt=Ce("span",{name:"MuiTimelineDot",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.color!=="inherit"&&`${r.variant}${tt(r.color)}`],e[r.variant]]}})(({ownerState:t,theme:e})=>({display:"flex",alignSelf:"baseline",borderStyle:"solid",borderWidth:2,padding:4,borderRadius:"50%",boxShadow:(e.vars||e).shadows[1],margin:"11.5px 0",...t.variant==="filled"&&{borderColor:"transparent",...t.color!=="inherit"&&{...t.color==="grey"?{color:(e.vars||e).palette.grey[50],backgroundColor:(e.vars||e).palette.grey[400]}:{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main}}},...t.variant==="outlined"&&{boxShadow:"none",backgroundColor:"transparent",...t.color!=="inherit"&&{...t.color==="grey"?{borderColor:(e.vars||e).palette.grey[400]}:{borderColor:(e.vars||e).palette[t.color].main}}}})),RD=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTimelineDot"}),{className:s,color:i="grey",variant:o="filled",...l}=n,c={...n,color:i,variant:o},u=qCt(c);return a.jsx(VCt,{className:lt(u.root,s),ownerState:c,ref:r,...l})});function HCt(t){return tr("MuiTimelineOppositeContent",t)}const GCt=rr("MuiTimelineOppositeContent",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]),WCt=t=>{const{position:e,classes:r}=t,n={root:["root",Wp(e)]};return nr(n,HCt,r)},YCt=Ce(cn,{name:"MuiTimelineOppositeContent",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[Wp(r.position)]]}})(({ownerState:t})=>({padding:"6px 16px",marginRight:"auto",textAlign:"right",flex:1,...t.position==="left"&&{textAlign:"left"}})),rC=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTimelineOppositeContent"}),{className:s,...i}=n,{position:o}=I.useContext(h0),l={...n,position:o||"left"},c=WCt(l);return a.jsx(YCt,{component:"div",className:lt(c.root,s),ownerState:l,ref:r,...i})});rC.muiName="TimelineOppositeContent";function KCt(t){return tr("MuiTimelineItem",t)}rr("MuiTimelineItem",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse","missingOppositeContent"]);const QCt=t=>{const{position:e,classes:r,hasOppositeContent:n}=t,s={root:["root",Wp(e),!n&&"missingOppositeContent"]};return nr(s,KCt,r)},ZCt=Ce("li",{name:"MuiTimelineItem",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[Wp(r.position)]]}})(({ownerState:t})=>({listStyle:"none",display:"flex",position:"relative",minHeight:70,...t.position==="left"&&{flexDirection:"row-reverse"},...(t.position==="alternate"||t.position==="alternate-reverse")&&{[`&:nth-of-type(${t.position==="alternate"?"even":"odd"})`]:{flexDirection:"row-reverse",[`& .${FCt.root}`]:{textAlign:"right"},[`& .${GCt.root}`]:{textAlign:"left"}}},...!t.hasOppositeContent&&{"&::before":{content:'""',flex:1,padding:"6px 16px"}}})),ID=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTimelineItem"}),{position:s,className:i,...o}=n,{position:l}=I.useContext(h0);let c=!1;I.Children.forEach(n.children,p=>{cb(p,["TimelineOppositeContent"])&&(c=!0)});const u={...n,position:s||l||"right",hasOppositeContent:c},d=QCt(u),f=I.useMemo(()=>({position:u.position}),[u.position]);return a.jsx(h0.Provider,{value:f,children:a.jsx(ZCt,{className:lt(d.root,i),ownerState:u,ref:r,...o})})});function XCt(t){return tr("MuiTimelineSeparator",t)}rr("MuiTimelineSeparator",["root"]);const JCt=t=>{const{classes:e}=t;return nr({root:["root"]},XCt,e)},e3t=Ce("div",{name:"MuiTimelineSeparator",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",flexDirection:"column",flex:0,alignItems:"center"}),DD=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTimelineSeparator"}),{className:s,...i}=n,o=n,l=JCt(o);return a.jsx(e3t,{className:lt(l.root,s),ownerState:o,ref:r,...i})});function t3t(t){const e=he.c(38),{scheduleStatus:r}=t,{created_at:n,info:s}=r;s?.warnings.length,s?.errors.length;let i;e:{if(s?.errors.length){i="error";break e}if(s?.warnings.length){i="warning";break e}i="success"}const o=i;let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l={p:0},e[0]=l):l=e[0];let c;e[1]===Symbol.for("react.memo_cache_sentinel")?(c={whiteSpace:"nowrap"},e[1]=c):c=e[1];const u=s?.terminated_at;let d;e[2]!==u?(d=Mr(u),e[2]=u,e[3]=d):d=e[3];let f;e[4]!==d?(f=a.jsx(rC,{color:"text.secondary",sx:c,children:d}),e[4]=d,e[5]=f):f=e[5];let p;e[6]!==o?(p=a.jsx(RD,{color:o}),e[6]=o,e[7]=p):p=e[7];let m;e[8]===Symbol.for("react.memo_cache_sentinel")?(m=a.jsx(Ree,{}),e[8]=m):m=e[8];let h;e[9]!==p?(h=a.jsxs(DD,{children:[p,m]}),e[9]=p,e[10]=h):h=e[10];let _;e[11]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(ED,{sx:{textAlign:"right"},children:"Terminated at"}),e[11]=_):_=e[11];let g;e[12]!==f||e[13]!==h?(g=a.jsxs(ID,{children:[f,h,_]}),e[12]=f,e[13]=h,e[14]=g):g=e[14];let y;e[15]===Symbol.for("react.memo_cache_sentinel")?(y={whiteSpace:"nowrap"},e[15]=y):y=e[15];const b=s?.started_at;let x;e[16]!==b?(x=Mr(b),e[16]=b,e[17]=x):x=e[17];let w;e[18]!==x?(w=a.jsx(rC,{color:"text.secondary",sx:y,children:x}),e[18]=x,e[19]=w):w=e[19];let C;e[20]===Symbol.for("react.memo_cache_sentinel")?(C=a.jsxs(DD,{children:[a.jsx(RD,{color:"info"}),a.jsx(Ree,{})]}),e[20]=C):C=e[20];let k;e[21]===Symbol.for("react.memo_cache_sentinel")?(k=a.jsx(ED,{sx:{textAlign:"right"},children:"Started at"}),e[21]=k):k=e[21];let A;e[22]!==w?(A=a.jsxs(ID,{children:[w,C,k]}),e[22]=w,e[23]=A):A=e[23];let P;e[24]===Symbol.for("react.memo_cache_sentinel")?(P={minHeight:"auto"},e[24]=P):P=e[24];let T;e[25]===Symbol.for("react.memo_cache_sentinel")?(T={whiteSpace:"nowrap"},e[25]=T):T=e[25];let j;e[26]!==n?(j=Mr(n),e[26]=n,e[27]=j):j=e[27];let R;e[28]!==j?(R=a.jsx(rC,{color:"text.secondary",sx:T,children:j}),e[28]=j,e[29]=R):R=e[29];let D;e[30]===Symbol.for("react.memo_cache_sentinel")?(D=a.jsx(DD,{children:a.jsx(RD,{color:"grey"})}),e[30]=D):D=e[30];let O;e[31]===Symbol.for("react.memo_cache_sentinel")?(O=a.jsx(ED,{sx:{textAlign:"right"},children:"Created at"}),e[31]=O):O=e[31];let N;e[32]!==R?(N=a.jsxs(ID,{sx:P,children:[R,D,O]}),e[32]=R,e[33]=N):N=e[33];let F;return e[34]!==g||e[35]!==A||e[36]!==N?(F=a.jsxs(DCt,{position:"left",sx:l,children:[g,A,N]}),e[34]=g,e[35]=A,e[36]=N,e[37]=F):F=e[37],F}var V$=(t=>(t.ERRORS="errors",t.WARNINGS="warnings",t))(V$||{});function Iee(t){const e=he.c(40),{scheduleStatus:r,type:n,nf:s}=t,i=Ye(),{dialogClose:o}=Jt(),{info:l,uuid:c}=r;let u;e:{if(!l){let D;e[0]===Symbol.for("react.memo_cache_sentinel")?(D=[],e[0]=D):D=e[0],u=D;break e}u=l[n]}const d=u;let f;e[1]!==d||e[2]!==l?.terminated_at||e[3]!==s||e[4]!==n||e[5]!==c?(f=()=>{const D=d.reduce(s3t,`param,reason
/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js:343:`}function i3t(t){const e=he.c(95),{scheduleStatus:r}=t,n=Ye(),{nf:s}=ko(),{popoverOpen:i}=Jt(),{dialogOpen:o}=Jt(),{status:l,uuid:c,created_at:u,info:d}=r;let f;e[0]===Symbol.for("react.memo_cache_sentinel")?(f=location.pathname.includes("backup-schedules"),e[0]=f):f=e[0];const p=f;let m;e[1]!==s||e[2]!==c?(m=()=>{s&&c7($.apis.backup.download(s,c))},e[1]=s,e[2]=c,e[3]=m):m=e[3];const h=m;let _;e[4]!==i||e[5]!==r?(_=q=>{i({anchorEl:q.currentTarget,anchorOrigin:{horizontal:"right",vertical:"bottom"},content:()=>a.jsx(t3t,{scheduleStatus:r})})},e[4]=i,e[5]=r,e[6]=_):_=e[6];const g=_;let y;e[7]!==o||e[8]!==n||e[9]!==s||e[10]!==r?(y=()=>{o({title:n.formatMessage({id:"backup.restore.warnings_dialog.title"}),closeOnBackdropClick:!0,fullScreen:!0,content:()=>a.jsx(Iee,{scheduleStatus:r,type:V$.WARNINGS,nf:s})})},e[7]=o,e[8]=n,e[9]=s,e[10]=r,e[11]=y):y=e[11];const b=y;let x;e[12]!==o||e[13]!==n||e[14]!==s||e[15]!==r?(x=()=>{o({title:n.formatMessage({id:"backup.restore.errors_dialog.title"}),closeOnBackdropClick:!0,fullScreen:!0,content:()=>a.jsx(Iee,{scheduleStatus:r,type:V$.ERRORS,nf:s})})},e[12]=o,e[13]=n,e[14]=s,e[15]=r,e[16]=x):x=e[16];const w=x;d?.started_at,d?.terminated_at;let C;e:{switch(l){case"CREATED":{let q;e[17]===Symbol.for("react.memo_cache_sentinel")?(q={ml:"20px"},e[17]=q):q=e[17];let X;e[18]!==n?(X=n.formatMessage({id:"backup.card.created_at"}),e[18]=n,e[19]=X):X=e[19];let Q;e[20]!==X?(Q=a.jsx(_e,{type:"body2",color:"text.secondary",children:X}),e[20]=X,e[21]=Q):Q=e[21];let Y;e[22]!==u?(Y=Mr(u),e[22]=u,e[23]=Y):Y=e[23];let Z;e[24]!==Y?(Z=a.jsx(_e,{type:"body2",children:Y}),e[24]=Y,e[25]=Z):Z=e[25];let re;e[26]!==Z||e[27]!==Q?(re=a.jsxs(te,{direction:"row",nowrap:!0,sx:q,children:[Q,Z]}),e[26]=Z,e[27]=Q,e[28]=re):re=e[28],C=re;break e}case"RUNNING":{let q;e[29]===Symbol.for("react.memo_cache_sentinel")?(q={ml:"20px"},e[29]=q):q=e[29];let X;e[30]!==n?(X=n.formatMessage({id:"backup.card.started_at"}),e[30]=n,e[31]=X):X=e[31];let Q;e[32]!==X?(Q=a.jsx(_e,{type:"body2",color:"text.secondary",children:X}),e[32]=X,e[33]=Q):Q=e[33];const Y=d?.started_at;let Z;e[34]!==Y?(Z=Mr(Y),e[34]=Y,e[35]=Z):Z=e[35];let re;e[36]!==Z?(re=a.jsx(_e,{type:"body2",children:Z}),e[36]=Z,e[37]=re):re=e[37];let fe;e[38]!==re||e[39]!==Q?(fe=a.jsxs(te,{direction:"row",nowrap:!0,sx:q,children:[Q,re]}),e[38]=re,e[39]=Q,e[40]=fe):fe=e[40],C=fe;break e}case"TERMINATED":{let q;e[41]===Symbol.for("react.memo_cache_sentinel")?(q={ml:"20px"},e[41]=q):q=e[41];let X;e[42]!==n?(X=n.formatMessage({id:"backup.card.terminated_at"}),e[42]=n,e[43]=X):X=e[43];let Q;e[44]!==X?(Q=a.jsx(_e,{type:"body2",color:"text.secondary",children:X}),e[44]=X,e[45]=Q):Q=e[45];const Y=d?.terminated_at;let Z;e[46]!==Y?(Z=Mr(Y),e[46]=Y,e[47]=Z):Z=e[47];let re;e[48]!==Z?(re=a.jsx(_e,{type:"body2",children:Z}),e[48]=Z,e[49]=re):re=e[49];let fe;e[50]!==re||e[51]!==Q?(fe=a.jsxs(te,{direction:"row",nowrap:!0,sx:q,children:[Q,re]}),e[50]=re,e[51]=Q,e[52]=fe):fe=e[52],C=fe;break e}}C=void 0}const k=C;let A;e[53]!==r?(A=MCt(r),e[53]=r,e[54]=A):A=e[54];let P;e[55]!==l||e[56]!==A?(P=a.jsx(bi,{label:l,status:A}),e[55]=l,e[56]=A,e[57]=P):P=e[57];let T,j;e[58]===Symbol.for("react.memo_cache_sentinel")?(j={ml:"20px"},T=a.jsx(_e,{type:"body2",color:"text.secondary",children:"ID:"}),e[58]=T,e[59]=j):(T=e[58],j=e[59]);let R;e[60]!==c?(R=a.jsxs(te,{direction:"row",nowrap:!0,sx:j,children:[T,a.jsx(_e,{type:"body2",fontWeight:600,children:c})]}),e[60]=c,e[61]=R):R=e[61];let D;e[62]!==k||e[63]!==R||e[64]!==P?(D=a.jsxs(te,{children:[P,R,k]}),e[62]=k,e[63]=R,e[64]=P,e[65]=D):D=e[65];let O;e[66]!==g||e[67]!==n||e[68]!==l?(O=l==="TERMINATED"&&a.jsx(Mn,{title:n.formatMessage({id:"backup.card.timeline"}),children:a.jsx(Zr,{onClick:g,children:a.jsx(ge.Clock,{})})}),e[66]=g,e[67]=n,e[68]=l,e[69]=O):O=e[69];let N;e[70]!==b||e[71]!==d||e[72]!==n?(N=d?.warnings&&d.warnings.length>0&&a.jsx(Mn,{title:n.formatMessage({id:"backup.card.warnings"}),children:a.jsx(Zr,{color:"warning",onClick:b,children:a.jsx(ge.StatusWarning,{})})}),e[70]=b,e[71]=d,e[72]=n,e[73]=N):N=e[73];let F;e[74]!==w||e[75]!==d?.errors||e[76]!==n?(F=d?.errors&&d?.errors.length>0&&a.jsx(Mn,{title:n.formatMessage({id:"backup.card.errors"}),children:a.jsx(Zr,{color:"error",onClick:w,children:a.jsx(ge.StatusError,{})})}),e[74]=w,e[75]=d?.errors,e[76]=n,e[77]=F):F=e[77];let U;e[78]!==O||e[79]!==N||e[80]!==F?(U=a.jsxs(te,{direction:"row",spacing:0,children:[O,N,F]}),e[78]=O,e[79]=N,e[80]=F,e[81]=U):U=e[81];let z;e[82]!==D||e[83]!==U?(z=a.jsxs(te,{direction:"row",justify:"space-between",align:"flex-start",children:[D,U]}),e[82]=D,e[83]=U,e[84]=z):z=e[84];let H;e[85]!==h||e[86]!==d?.errors||e[87]!==n||e[88]!==l?(H=p&&l==="TERMINATED"&&!d?.errors.length&&a.jsx(Ze,{text:n.formatMessage({id:"common.download"}),size:"small",variant:"outlined",startIcon:a.jsx(ge.Download,{}),onClick:h,sx:{mt:1}}),e[85]=h,e[86]=d?.errors,e[87]=n,e[88]=l,e[89]=H):H=e[89];let W;e[90]!==H?(W=a.jsx(gt,{alignSelf:"flex-end",children:H}),e[90]=H,e[91]=W):W=e[91];let K;return e[92]!==z||e[93]!==W?(K=a.jsx(pr,{elevation:2,children:a.jsx(Kt,{children:a.jsxs(te,{children:[z,W]})})}),e[92]=z,e[93]=W,e[94]=K):K=e[94],K}function Dee(t){const e=he.c(37),{isBackup:r}=t,n=Ye(),{nf:s}=ko(),{backupSchedules:i,restoreSchedules:o}=Np(),{submit:l}=gr(),{dialogOpen:c}=Jt();let u;e:{if(r&&s){u=i[s];break e}if(!r&&s){u=o[s];break e}u=void 0}const d=u;let f;e[0]!==c?(f=()=>{c({title:"Update encryption password",content:l3t})},e[0]=c,e[1]=f):f=e[1];const p=f;let m;e[2]!==s||e[3]!==l?(m=()=>{s&&l({nf:s},{action:$.urls.systemBackupScheduleBackup_Action,encType:"application/json",method:"POST"})},e[2]=s,e[3]=l,e[4]=m):m=e[4];const h=m;let _;e[5]!==c||e[6]!==n||e[7]!==s?(_=()=>{s&&c({title:n.formatMessage({id:"backup.form.title"}),content:()=>a.jsx(bx,{min:1,max:1,filesLabel:n.formatMessage({id:"backup.form.placeholder"}),description:n.formatMessage({id:"backup.form.description"}),requiredMessage:n.formatMessage({id:"backup.detail.form.validation.error"}),accept:{".bck":[".bck"],".enc":[".enc"]},action:$.urls.systemBackupScheduleRestore_Action,onDialogSuccess:a3t,extraData:{nf:s}})})},e[5]=c,e[6]=n,e[7]=s,e[8]=_):_=e[8];const g=_;let y;e[9]!==h||e[10]!==g||e[11]!==p||e[12]!==n||e[13]!==r?(y=a.jsx(o7,{children:a.jsx(te,{direction:"row",children:r?a.jsxs(a.Fragment,{children:[a.jsx(Ze,{text:n.formatMessage({id:"backup.encryption_password"}),size:"small",variant:"outlined",onClick:p,disabled:!as([[ie.provisioning,ie.backup]])}),a.jsx(Ze,{text:n.formatMessage({id:"backup.button.schedule.backup"}),size:"small",disabled:!as([[ie.provisioning,ie.backup]]),onClick:h})]}):a.jsxs(a.Fragment,{children:[a.jsx(Ze,{text:n.formatMessage({id:"backup.encryption_password"}),size:"small",variant:"outlined",onClick:p,disabled:!Ue([[ie.provisioning,ie.backup]])}),a.jsx(Ze,{text:n.formatMessage({id:"backup.button.schedule.restore"}),size:"small",disabled:!Ue([[ie.provisioning,ie.backup]]),onClick:g})]})})}),e[9]=h,e[10]=g,e[11]=p,e[12]=n,e[13]=r,e[14]=y):y=e[14];let b;e[15]===Symbol.for("react.memo_cache_sentinel")?(b={overflow:"auto",maxHeight:"100%",height:"100%"},e[15]=b):b=e[15];let x;e[16]!==n||e[17]!==s?(x=n.formatMessage({id:`backup.detail.${s}.alert`}),e[16]=n,e[17]=s,e[18]=x):x=e[18];let w;e[19]!==x?(w=a.jsx(Lr,{severity:"info",title:x}),e[19]=x,e[20]=w):w=e[20];let C;e[21]!==d?(C=a.jsx(Xr,{data:d}),e[21]=d,e[22]=C):C=e[22];let k;e[23]!==d||e[24]!==n?(k=d&&d.length>0?d.map(o3t):a.jsx(Lr,{message:n.formatMessage({id:"backup.noData"})}),e[23]=d,e[24]=n,e[25]=k):k=e[25];let A;e[26]!==k?(A=a.jsx(a.Fragment,{children:k}),e[26]=k,e[27]=A):A=e[27];let P;e[28]!==A||e[29]!==C?(P=a.jsxs(te,{spacing:1,direction:"column-reverse",children:[C,A]}),e[28]=A,e[29]=C,e[30]=P):P=e[30];let T;e[31]!==P||e[32]!==w?(T=a.jsx(Kt,{sx:b,children:a.jsxs(te,{spacing:2,children:[w,P]})}),e[31]=P,e[32]=w,e[33]=T):T=e[33];let j;return e[34]!==T||e[35]!==y?(j=a.jsxs(a.Fragment,{children:[y,T]}),e[34]=T,e[35]=y,e[36]=j):j=e[36],j}function o3t(t){return a.jsx(i3t,{scheduleStatus:t},t.uuid)}function a3t(){Nt()}function l3t(){return a.jsx(TCt,{})}function $ee(t){const e=he.c(21),{isBackup:r}=t,n=Ye(),{activeTabs:s,backupSchedules:i,restoreSchedules:o}=Np();let l;e:{if(r){l=i;break e}l=o}const c=l;let u;if(e[0]!==s||e[1]!==c||e[2]!==n||e[3]!==r){let p;e[5]!==c||e[6]!==n||e[7]!==r?(p=C=>{const{label:k,url:A}=C;return c[A]?.find(c3t)?{title:`${k}${` ${n.formatMessage({id:`common.${r?"backup":"restore"}`}).toLowerCase()}`}`,label:k,url:A,status:nn.INFO}:{title:`${k}${` ${n.formatMessage({id:`common.${r?"backup":"restore"}`}).toLowerCase()}`}`,label:k,url:A,status:nn.DEFAULT}},e[5]=c,e[6]=n,e[7]=r,e[8]=p):p=e[8];const m=s.map(p);let h;e[9]!==n?(h=n.formatMessage({id:"route.system.backup.configuration"}),e[9]=n,e[10]=h):h=e[10];let _;e[11]!==n||e[12]!==r?(_=n.formatMessage({id:`common.${r?"backup":"restore"}`}).toLowerCase(),e[11]=n,e[12]=r,e[13]=_):_=e[13];const g=`${h}${` ${_}`}`;let y;e[14]!==n?(y=n.formatMessage({id:"route.system.backup.configuration"}),e[14]=n,e[15]=y):y=e[15];const b=`${y}`;let x;e[16]!==g||e[17]!==b?(x={title:g,label:b,url:"configuration",status:nn.DEFAULT},e[16]=g,e[17]=b,e[18]=x):x=e[18];const w=x;u=as([[ie.backup,ie.configuration]])?[w,...m]:m,e[0]=s,e[1]=c,e[2]=n,e[3]=r,e[4]=u}else u=e[4];const d=u;let f;return e[19]!==d?(f=a.jsx(la,{navs:d}),e[19]=d,e[20]=f):f=e[20],f}function c3t(t){const{status:e}=t;return e==="RUNNING"}function u3t(){const t=he.c(7),e=Ye(),r=Gr();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[0]=n):n=t[0];let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(Tr,{}),t[1]=s):s=t[1];let i;t[2]!==e?(i=l=>{const{backupSchedules:c,restoreSchedules:u}=l;let d=!1,f=!1;for(const p in c)if(c[p].find(f3t)){d=!0;break}for(const p in u)if(u[p].find(d3t)){f=!0;break}return a.jsx(a.Fragment,{children:a.jsx(Ao,{tabs:[{url:"backup-schedules",label:e.formatMessage({id:"backup.tab.backup"}),...as([[ie.backup,ie.provisioning]])&&{status:d?nn.INFO:nn.DEFAULT}},{url:"restore-schedules",label:e.formatMessage({id:"backup.tab.restore"}),...as([[ie.backup,ie.provisioning]])&&{status:f?nn.INFO:nn.DEFAULT}}]})})},t[2]=e,t[3]=i):i=t[3];let o;return t[4]!==r.schedule||t[5]!==i?(o=a.jsx(I.Suspense,{fallback:n,children:a.jsx(Qt,{resolve:r.schedule,errorElement:s,children:i})}),t[4]=r.schedule,t[5]=i,t[6]=o):o=t[6],o}function d3t(t){const{status:e}=t;return e==="RUNNING"}function f3t(t){const{status:e}=t;return e==="RUNNING"}function p3t(){const t=he.c(17),e=Ye(),r=zn();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=[],t[0]=n):n=t[0];const[s,i]=I.useState(n),{submit:o}=gr();let l;t[1]===Symbol.for("react.memo_cache_sentinel")?(l=b=>(x,w)=>{i(C=>w?[...C,b]:C.filter(k=>k!==b))},t[1]=l):l=t[1];const c=l;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u=b=>()=>{i(b)},t[2]=u):u=t[2];const d=u;let f;t[3]!==s||t[4]!==o?(f=()=>{o({services:s},{method:"POST",encType:"application/json",action:"configuration-backup"})},t[3]=s,t[4]=o,t[5]=f):f=t[5];const p=f;let m;t[6]!==s?(m=b=>!!s.find(w=>w===b),t[6]=s,t[7]=m):m=t[7];const h=m;let _;t[8]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(en,{}),t[8]=_):_=t[8];let g;t[9]!==p||t[10]!==e||t[11]!==h||t[12]!==s.length?(g=b=>{const x=b.filter(h3t).map(m3t);return a.jsx(Kt,{sx:{overflow:"auto",maxHeight:"100%",height:"100%"},children:a.jsxs(te,{spacing:2,children:[a.jsx(Lr,{severity:"info",title:e.formatMessage({id:"backup.detail.configuration.backup.alert"})}),a.jsx(pr,{elevation:2,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(_e,{type:"body2",children:e.formatMessage({id:"backup.detail.configuration.backup.hint"})}),a.jsx(al,{spacing:0,children:x.map(w=>a.jsx(Is,{size:{xs:12,md:6,lg:3},children:a.jsx(da,{onChange:c(w),checked:h(w),label:w===ue.PLS?e.formatMessage({id:"route.system"}):w.toUpperCase()})},w))}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{size:"small",text:e.formatMessage({id:"common.select_all"}),variant:"outlined",disabled:!as([[ie.backup,ie.configuration]]),onClick:d(x)}),a.jsx(Ze,{size:"small",text:e.formatMessage({id:"common.download"}),startIcon:a.jsx(ge.Download,{}),disabled:!s.length||!as([[ie.backup,ie.configuration]]),onClick:p})]})]})})})]})})},t[9]=p,t[10]=e,t[11]=h,t[12]=s.length,t[13]=g):g=t[13];let y;return t[14]!==r.services||t[15]!==g?(y=a.jsx(I.Suspense,{children:a.jsx(Qt,{resolve:r.services,errorElement:_,children:g})}),t[14]=r.services,t[15]=g,t[16]=y):y=t[16],y}function m3t(t){const{name:e}=t;return e}function h3t(t){const{backup:e}=t;return e}function g3t(){const t=he.c(14),e=Ye(),{submit:r,state:n,data:s}=gr(),i=I.useRef(null);let o;t[0]!==r?(o=h=>{const{files:_}=h,g=new FormData;g.set("file",_[0]),r(g,{method:"POST",encType:"multipart/form-data",action:"configuration-restore"})},t[0]=r,t[1]=o):o=t[1];const l=o;let c,u;t[2]!==s||t[3]!==n?(c=()=>{s&&n==="idle"&&i.current&&i.current.resetForm()},u=[s,n],t[2]=s,t[3]=n,t[4]=c,t[5]=u):(c=t[4],u=t[5]),I.useEffect(c,u);let d;t[6]===Symbol.for("react.memo_cache_sentinel")?(d={overflow:"auto",maxHeight:"100%",height:"100%"},t[6]=d):d=t[6];let f;t[7]===Symbol.for("react.memo_cache_sentinel")?(f={files:[]},t[7]=f):f=t[7];let p;t[8]!==e||t[9]!==n?(p=h=>{const{dirty:_}=h;return a.jsx(dn,{canWrite:Ue([[ie.backup,ie.configuration]]),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{children:[a.jsx(_e,{type:"body2",children:e.formatMessage({id:"backup.detail.configuration.restore.hint"})}),a.jsx(Ke,{name:"files",children:g=>{const{field:y,meta:b,form:x}=g,{setFieldValue:w}=x;return a.jsx(Z_,{...y,label:e.formatMessage({id:"form_import_files.file"}),size:"medium",accept:{"application/gzip":[".gz"]},maxFiles:1,onChange:C=>{setTimeout(()=>{C.length?w(y.name,C):w(y.name,[])},0)},disabled:n!=="idle",formError:b.error})}})]}),a.jsx(te,{direction:"row",justify:"flex-end",children:a.jsx(Ze,{type:"submit",size:"small",startIcon:a.jsx(ge.Upload,{}),disabled:!_||!Ue([[ie.backup,ie.configuration]]),loading:n!=="idle",text:e.formatMessage({id:"common.upload"})})})]})})},t[8]=e,t[9]=n,t[10]=p):p=t[10];let m;return t[11]!==l||t[12]!==p?(m=a.jsx(Kt,{sx:d,children:a.jsx(pr,{elevation:2,children:a.jsx(Kt,{children:a.jsx(Wr,{validationSchema:jCt,initialValues:f,onSubmit:l,innerRef:i,children:p})})})}),t[11]=l,t[12]=p,t[13]=m):m=t[13],m}const Iw=Pr(),_3t={invalid_license:Iw.formatMessage({id:"licensing.upload.form.error.invalid_license"}),unspecified:Iw.formatMessage({id:"licensing.upload.form.error.unspecified"}),wrong_site_id:Iw.formatMessage({id:"licensing.upload.form.error.wrong_site_id"}),"Not Found":Iw.formatMessage({id:"licensing.upload.form.error.not_found"})},g8=t=>{const e=he.c(5),{action:r,actionError:n}=t,s=ci();let i;return e[0]!==r||e[1]!==n||e[2]!==s.palette.error||e[3]!==s.palette.success?(i=r?a.jsx(ge.StatusSuccessSmall,{color:s.palette.success.main}):a.jsx(Mn,{title:_3t[n]??n,children:a.jsx("span",{style:{cursor:"help"},children:a.jsx(ge.StatusError,{color:s.palette.error.main})})}),e[0]=r,e[1]=n,e[2]=s.palette.error,e[3]=s.palette.success,e[4]=i):i=e[4],i},v3t=()=>{const t=he.c(90),e=ci(),r=Ye(),{dialogOpen:n,popoverOpen:s}=Jt(),{openConfirmDialog:i}=di(),o=zn(),l=gr();let c;t[0]!==r?(c=r.formatMessage({id:"licensing.table.nf_type"}),t[0]=r,t[1]=c):c=t[1];let u;t[2]!==c?(u={key:"license_nf_type",label:c,cellRender:y3t},t[2]=c,t[3]=u):u=t[3];let d;t[4]!==r?(d=r.formatMessage({id:"licensing.table.id"}),t[4]=r,t[5]=d):d=t[5];let f;t[6]!==d?(f={key:"license_id",label:d,cellRender:b3t},t[6]=d,t[7]=f):f=t[7];let p;t[8]!==r?(p=r.formatMessage({id:"licensing.install"}),t[8]=r,t[9]=p):p=t[9];let m;t[10]!==p?(m={key:"install",label:p,maxWidth:"65",width:"65",cellRender:x3t},t[10]=p,t[11]=m):m=t[11];let h;t[12]!==r?(h=r.formatMessage({id:"licensing.set"}),t[12]=r,t[13]=h):h=t[13];let _;t[14]!==h?(_={key:"set",label:h,maxWidth:"65",width:"65",cellRender:S3t},t[14]=h,t[15]=_):_=t[15];let g;t[16]!==r?(g=r.formatMessage({id:"licensing.persist"}),t[16]=r,t[17]=g):g=t[17];let y;t[18]!==g?(y={key:"persist",label:g,maxWidth:"65",width:"65",cellRender:w3t},t[18]=g,t[19]=y):y=t[19];let b;t[20]!==u||t[21]!==f||t[22]!==m||t[23]!==_||t[24]!==y?(b=[u,f,m,_,y],t[20]=u,t[21]=f,t[22]=m,t[23]=_,t[24]=y,t[25]=b):b=t[25];const x=b;let w;t[26]!==x||t[27]!==n||t[28]!==r||t[29]!==e.palette.error.main||t[30]!==e.palette.success.main?(w=()=>{n({title:r.formatMessage({id:"licensing.upload.form.title"}),content:()=>a.jsx(bx,{min:1,max:1,filesLabel:r.formatMessage({id:"licensing.upload.form.file"}),accept:{"application/json":[".json"]},requiredMessage:r.formatMessage({id:"licensing.upload.form.file.required"}),description:r.formatMessage({id:"licensing.upload.form.description"}),action:"system/licensing/install",customError:pe=>{const Se=pe.error.errorList;Se.sort(C3t);const ve=Se.some(A3t);return a.jsxs(te,{spacing:2,children:[ve&&a.jsx(Lr,{sx:{width:"100%"},severity:"error",message:r.formatMessage({id:"licensing.upload.form.error"})}),a.jsx(pr,{elevation:1,sx:{borderColor:ve?e.palette.error.main:e.palette.success.main,borderWidth:"1px",borderStyle:"solid"},children:a.jsx(Kt,{children:a.jsx(Br,{data:Se,orderBy:"license_nf_type",columns:x,page:0,rowsCount:Se.length,rowsPerPage:Se.length,rowKey:"license_nf_type",dense:!0,hidePagination:!0,hideRowsCount:!0})})})]})}})})},t[26]=x,t[27]=n,t[28]=r,t[29]=e.palette.error.main,t[30]=e.palette.success.main,t[31]=w):w=t[31];const C=w;let k;t[32]!==l||t[33]!==r||t[34]!==i?(k=pe=>{const{license_id:Se,precedence:ve}=pe;i({text:r.formatMessage({id:"licensing.delete.dialog.confirm"}),onConfirm:()=>{l.submit({license_id:Se,precedence:ve},{method:"DELETE",encType:"application/json",action:"delete"})}})},t[32]=l,t[33]=r,t[34]=i,t[35]=k):k=t[35];const A=k;let P;t[36]!==r?(P=r.formatMessage({id:"licensing.table.id"}),t[36]=r,t[37]=P):P=t[37];let T;t[38]!==P?(T={key:"license_id",label:P},t[38]=P,t[39]=T):T=t[39];let j;t[40]!==r?(j=r.formatMessage({id:"licensing.table.nf_type"}),t[40]=r,t[41]=j):j=t[41];let R;t[42]!==j?(R={key:"license_id",label:j,cellRender:k3t},t[42]=j,t[43]=R):R=t[43];let D;t[44]!==r?(D=r.formatMessage({id:"licensing.table.start_date"}),t[44]=r,t[45]=D):D=t[45];let O;t[46]!==D?(O={key:"license",label:D,cellRender:M3t},t[46]=D,t[47]=O):O=t[47];let N;t[48]!==r?(N=r.formatMessage({id:"licensing.table.expire_date"}),t[48]=r,t[49]=N):N=t[49];let F;t[50]!==N?(F={key:"license",label:N,cellRender:P3t},t[50]=N,t[51]=F):F=t[51];let U;t[52]!==r?(U=r.formatMessage({id:"licensing.table.precedence"}),t[52]=r,t[53]=U):U=t[53];let z;t[54]!==U?(z={key:"precedence",label:U},t[54]=U,t[55]=z):z=t[55];let H;t[56]!==r?(H=r.formatMessage({id:"licensing.table.state"}),t[56]=r,t[57]=H):H=t[57];let W;t[58]!==H?(W={key:"state",label:H,cellRender:j3t},t[58]=H,t[59]=W):W=t[59];let K;t[60]!==T||t[61]!==R||t[62]!==O||t[63]!==F||t[64]!==z||t[65]!==W?(K=[T,R,O,F,z,W],t[60]=T,t[61]=R,t[62]=O,t[63]=F,t[64]=z,t[65]=W,t[66]=K):K=t[66];const q=K;let X;t[67]!==r?(X=r.formatMessage({id:"licensing.table.actions.delete"}),t[67]=r,t[68]=X):X=t[68];let Q,Y;t[69]===Symbol.for("react.memo_cache_sentinel")?(Q=a.jsx(ge.Trash,{}),Y=Ue(ie.management),t[69]=Q,t[70]=Y):(Q=t[69],Y=t[70]);let Z;t[71]!==A?(Z=pe=>void A(pe),t[71]=A,t[72]=Z):Z=t[72];let re;t[73]!==X||t[74]!==Z?(re=[{label:X,icon:Q,disabled:!Y,onClick:Z}],t[73]=X,t[74]=Z,t[75]=re):re=t[75];const fe=re;let de;t[76]!==r||t[77]!==s?(de=(pe,Se)=>s({anchorEl:pe.currentTarget,anchorOrigin:{horizontal:"right",vertical:"bottom"},content:()=>a.jsxs(te,{spacing:1,divided:!0,children:[Se.hostname&&a.jsxs(te,{spacing:0,children:[a.jsx(_e,{type:"caption",children:r.formatMessage({id:"licensing.host.hostname"})}),a.jsx(Ap,{text:Se.hostname})]}),Se.siteid?.value&&a.jsxs(te,{spacing:0,children:[a.jsx(_e,{type:"caption",children:r.formatMessage({id:"licensing.host.siteid"})}),a.jsx(Ap,{text:Se.siteid?.value,max:50})]})]})}),t[76]=r,t[77]=s,t[78]=de):de=t[78];const se=de;let le;t[79]===Symbol.for("react.memo_cache_sentinel")?(le=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[79]=le):le=t[79];let ee;t[80]===Symbol.for("react.memo_cache_sentinel")?(ee=a.jsx(Tr,{}),t[80]=ee):ee=t[80];let J;t[81]!==q||t[82]!==C||t[83]!==se||t[84]!==r||t[85]!==fe?(J=pe=>{const{licenses:Se,hostInfo:ve}=pe;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsxs(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:[a.jsx(Ze,{startIcon:a.jsx(ge.Info,{}),onClick:xe=>{se(xe,ve)},variant:"outlined",text:r.formatMessage({id:"licensing.info"})}),a.jsx(Ze,{startIcon:a.jsx(ge.Upload,{}),disabled:!Ue(ie.management),text:r.formatMessage({id:"licensing.upload.buttons.upload"}),onClick:C})]})}),a.jsx(Br,{autoScale:!0,data:Se,orderBy:"license_id",columns:q,rowActions:fe,stickyRowActions:!0,page:0,labelDisplayedRows:T3t,rowsCount:Se.length,rowsPerPage:Se.length,rowKey:"license_id",rowDetail:{content:xe=>{const{license:qe}=xe;return a.jsx(al,{children:!!qe?.app_content&&Object.entries(qe.app_content)?.filter(E3t)?.map(Le=>{const[Te,je]=Le;return a.jsxs(Is,{size:{xs:3},children:[a.jsx(_e,{fontWeight:"600",children:r.formatMessage({id:`licensing.table.details.${Te}`})}),a.jsx(_e,{children:je})]},Te)})})}}})]})},t[81]=q,t[82]=C,t[83]=se,t[84]=r,t[85]=fe,t[86]=J):J=t[86];let me;return t[87]!==o.licensing||t[88]!==J?(me=a.jsx(I.Suspense,{fallback:le,children:a.jsx(Qt,{resolve:o.licensing,errorElement:ee,children:J})}),t[87]=o.licensing,t[88]=J,t[89]=me):me=t[89],me};function y3t(t){const{license_nf_type:e}=t;return a.jsx(te,{direction:"row",align:"center",spacing:2,children:a.jsx(_e,{children:e})})}function b3t(t){const{license_id:e}=t;return a.jsx(Ap,{text:e||"",max:4})}function x3t(t){const{install:e,installError:r}=t;return a.jsx(g8,{action:e,actionError:r})}function S3t(t){const{set:e,setError:r}=t;return a.jsx(g8,{action:e,actionError:r})}function w3t(t){const{persist:e,persistError:r}=t;return a.jsx(g8,{action:e,actionError:r})}function C3t(t,e){return t.license_nf_type.localeCompare(e.license_nf_type)}function A3t(t){return!t.install||!t.persist||!t.set}function k3t(t){const{license:e}=t;return a.jsx(_e,{type:"body2",children:e?.app_content?.app_type||"-"})}function M3t(t){const{license:e}=t;return e?.license_params?.start_date?a.jsx(_e,{type:"body2",children:Mr(e.license_params.start_date*1e3)}):a.jsx(a.Fragment,{})}function P3t(t){const{license:e}=t;return e?.license_params?.expire_date?a.jsx(_e,{type:"body2",children:Mr(e.license_params.expire_date*1e3)}):a.jsx(a.Fragment,{})}function j3t(t){const{state:e}=t;return a.jsx(_e,{type:"body2",children:e?.str})}function T3t(){return""}function E3t(t){const[,e]=t;return!!e}function R3t(t){const e=he.c(16),{children:r,href:n,underline:s,targetBlank:i,color:o,onClick:l,sx:c,"data-testid":u}=t,d=o===void 0?"primary":o,f=i?"_blank":"",p=i?"noreferrer":"",m=`${d}.main`;let h;e[0]!==d||e[1]!==i?(h=i&&{"&::after":{content:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==)",margin:"0 3px 0 5px"},"&::visited":{color:`${d}.main`}},e[0]=d,e[1]=i,e[2]=h):h=e[2];let _;e[3]!==c||e[4]!==h?(_={cursor:"pointer",...h,...c},e[3]=c,e[4]=h,e[5]=_):_=e[5];let g;return e[6]!==r||e[7]!==u||e[8]!==n||e[9]!==l||e[10]!==p||e[11]!==m||e[12]!==_||e[13]!==f||e[14]!==s?(g=a.jsx(N8e,{href:n,underline:s,target:f,rel:p,color:m,onClick:l,sx:_,"data-testid":u,children:r}),e[6]=r,e[7]=u,e[8]=n,e[9]=l,e[10]=p,e[11]=m,e[12]=_,e[13]=f,e[14]=s,e[15]=g):g=e[15],g}function C_(t){const e=he.c(11),{field:r,value:n,href:s,fontWeight:i}=t;let o;e[0]!==r?(o=a.jsx(_e,{type:"caption",color:"text.secondary",children:r}),e[0]=r,e[1]=o):o=e[1];let l;e[2]!==r||e[3]!==i||e[4]!==s||e[5]!==n?(l=s?a.jsx(R3t,{href:s,targetBlank:!0,sx:{fontFamily:"'Source Code Pro', monospace",wordBreak:"break-all",fontSize:14,fontWeight:i},children:n}):a.jsx(_e,{sx:{wordBreak:"break-all",fontFamily:"'Source Code Pro', monospace",fontWeight:i},fontSize:14,children:r==="PRIORITY"?q_(n):n}),e[2]=r,e[3]=i,e[4]=s,e[5]=n,e[6]=l):l=e[6];let c;return e[7]!==r||e[8]!==o||e[9]!==l?(c=a.jsxs(te,{spacing:.1,children:[o,l]},r),e[7]=r,e[8]=o,e[9]=l,e[10]=c):c=e[10],c}function Xpe(t){const e=he.c(58),{entry:r,cursorAsTitle:n}=t,s=ci();let i;e[0]!==r?(i=R=>Object.entries(r).filter(D=>{const[O]=D;if(["MESSAGE","SYSLOG_IDENTIFIER","__CURSOR"].includes(O))return!1;switch(R){case Um.TRUSTED:return Aie(O);case Um.ADDRESS:return bL(O);default:return _4e(O)}}).sort(),e[0]=r,e[1]=i):i=e[1];const o=i;let l;e:switch(q_(r.PRIORITY)){case ii.EMERGENCY:case ii.ALERT:case ii.CRITICAL:case ii.ERROR:{let R;e[2]!==s.palette.error.main?(R=Ic(s.palette.error.main,.1),e[2]=s.palette.error.main,e[3]=R):R=e[3];let D;e[4]!==R?(D={backgroundColor:R,borderColor:"error.main"},e[4]=R,e[5]=D):D=e[5],l=D;break e}case ii.WARNING:{let R;e[6]!==s.palette.warning.main?(R=Ic(s.palette.warning.main,.1),e[6]=s.palette.warning.main,e[7]=R):R=e[7];let D;e[8]!==R?(D={backgroundColor:R,borderColor:"warning.main"},e[8]=R,e[9]=D):D=e[9],l=D;break e}case ii.DEBUG:{let R;e[10]!==s.palette.info.main?(R=Ic(s.palette.info.main,.1),e[10]=s.palette.info.main,e[11]=R):R=e[11];let D;e[12]!==R?(D={backgroundColor:R,borderColor:"info.main"},e[12]=R,e[13]=D):D=e[13],l=D;break e}default:{let R;e[14]===Symbol.for("react.memo_cache_sentinel")?(R={backgroundColor:"divider",borderColor:"divider"},e[14]=R):R=e[14],l=R}}const c=l;let u;e[15]!==r.__REALTIME_TIMESTAMP?(u=mp(r.__REALTIME_TIMESTAMP),e[15]=r.__REALTIME_TIMESTAMP,e[16]=u):u=e[16];let d;e[17]!==u?(d=a.jsx(C_,{field:"TIMESTAMP",value:u,fontWeight:"600"}),e[17]=u,e[18]=d):d=e[18];let f;e[19]!==r.SYSLOG_IDENTIFIER?(f=a.jsx(C_,{field:"SYSLOG_IDENTIFIER",value:r.SYSLOG_IDENTIFIER}),e[19]=r.SYSLOG_IDENTIFIER,e[20]=f):f=e[20];let p;e[21]===Symbol.for("react.memo_cache_sentinel")?(p=a.jsx(_e,{type:"caption",color:"text.secondary",children:"MESSAGE"}),e[21]=p):p=e[21];let m;e[22]!==c?(m={border:"1px solid",p:1,borderRadius:1,...c},e[22]=c,e[23]=m):m=e[23];let h;e[24]===Symbol.for("react.memo_cache_sentinel")?(h={fontFamily:"'Source Code Pro', monospace",whiteSpace:"pre-wrap",wordBreak:"break-all"},e[24]=h):h=e[24];let _;e[25]!==r.MESSAGE?(_=a.jsx(_e,{fontWeight:"inherit",fontSize:14,sx:h,children:r.MESSAGE}),e[25]=r.MESSAGE,e[26]=_):_=e[26];let g;e[27]!==m||e[28]!==_?(g=a.jsxs(te,{spacing:.1,children:[p,a.jsx(Vte,{sx:m,children:_})]}),e[27]=m,e[28]=_,e[29]=g):g=e[29];let y;e[30]!==n||e[31]!==r.__CURSOR?(y=n?null:$.urls.systemLogsCursorItem.replace(":cursor",r.__CURSOR),e[30]=n,e[31]=r.__CURSOR,e[32]=y):y=e[32];let b;e[33]!==r.__CURSOR||e[34]!==y?(b=a.jsx(C_,{field:"__CURSOR",value:r.__CURSOR,href:y}),e[33]=r.__CURSOR,e[34]=y,e[35]=b):b=e[35];let x;e[36]!==g||e[37]!==b||e[38]!==d||e[39]!==f?(x=a.jsxs(te,{nowrap:!0,children:[d,f,g,b]}),e[36]=g,e[37]=b,e[38]=d,e[39]=f,e[40]=x):x=e[40];let w;e[41]!==o?(w=o(Um.USER).map($3t),e[41]=o,e[42]=w):w=e[42];let C;e[43]!==w?(C=a.jsx(te,{nowrap:!0,children:w}),e[43]=w,e[44]=C):C=e[44];let k;e[45]!==o?(k=o(Um.TRUSTED).map(D3t),e[45]=o,e[46]=k):k=e[46];let A;e[47]!==k?(A=a.jsx(te,{nowrap:!0,children:k}),e[47]=k,e[48]=A):A=e[48];let P;e[49]!==o?(P=o(Um.ADDRESS).map(I3t),e[49]=o,e[50]=P):P=e[50];let T;e[51]!==P?(T=a.jsx(te,{nowrap:!0,children:P}),e[51]=P,e[52]=T):T=e[52];let j;return e[53]!==x||e[54]!==C||e[55]!==A||e[56]!==T?(j=a.jsxs(te,{spacing:1.5,nowrap:!0,divided:!0,children:[x,C,A,T]}),e[53]=x,e[54]=C,e[55]=A,e[56]=T,e[57]=j):j=e[57],j}function I3t(t){const[e,r]=t;return a.jsx(C_,{field:e,value:r},e)}function D3t(t){const[e,r]=t;return a.jsx(C_,{field:e,value:r},e)}function $3t(t){const[e,r]=t;return a.jsx(C_,{field:e,value:r},e)}function O3t(t){const e=he.c(6),{cursor:r}=t,{load:n,data:s}=gr();let i,o;e[0]!==r||e[1]!==n?(i=()=>{n($.urls.systemLogsCursorItem.replace(":cursor",r))},o=[n,r],e[0]=r,e[1]=n,e[2]=i,e[3]=o):(i=e[2],o=e[3]),I.useEffect(i,o);let l;return e[4]!==s?(l=a.jsx(zp,{children:s?a.jsx(Xpe,{entry:s.entries[0]}):a.jsx(te,{align:"center",justify:"center",fullHeight:!0,fullWidth:!0,children:a.jsx(Nc,{type:"circular",size:36})})}),e[4]=s,e[5]=l):l=e[5],l}function Jpe({data:t}){const e=ci(),r=Ye(),[n,s]=hl(),i=On(),o=n.getAll("field"),l=n.get("entries"),c=n.get("grep")||"",u=parseInt(l),[d,f]=I.useState(null),{drawerOpen:p}=Jt(),{pathname:m}=to(),h=m===$.urls.systemLogsFollow,[_,g]=I.useState(null),y=n.get("since"),b=n.get("until"),x=parseInt(n.get("skip")),w=I.useMemo(()=>Cie([...o,"PRIORITY","SYSLOG_IDENTIFIER"]),[o]),C=I.useCallback(R=>{s(D=>(D.set("entries",R.toString()),D))},[s]),k=I.useCallback(()=>{const R=mp(t[0].__REALTIME_TIMESTAMP),D=mp(t[t.length-1].__REALTIME_TIMESTAMP);Rie(JSON.stringify(t,null,2),`logs_${R}_${D}.txt`)},[t]),A=I.useCallback(R=>{const D=t[0],O=t[t.length-1];s(N=>{const F=parseInt(N.get("entries"));if(y||b){if(R===0&&N.set("skip","0"),R===1&&x>0){const U=Math.max(0,x-F);N.set("skip",`${U}`)}if(R===3)if(t.length===F){const U=x+F;N.set("skip",`${U}`)}else N.set("skip",`${x}`);R===4&&N.set("skip",`-${F}`)}else R===0&&(N.delete("cursor"),N.set("skip","0")),R===1&&(N.set("cursor",D.__CURSOR),N.set("skip",`-${F}`)),R===3&&(N.set("cursor",O.__CURSOR),N.set("skip","0")),R===4&&(N.delete("cursor"),N.set("skip",`-${F}`));return N})},[t,s,y,x,b]),P=I.useCallback(R=>{f(R.__CURSOR),p({width:600,title:r.formatMessage({id:"logs.log_details"}),content:()=>a.jsx(O3t,{cursor:R.__CURSOR}),onClose:()=>{f(null)}})},[p,r]),T=I.useMemo(()=>[{key:"__REALTIME_TIMESTAMP",label:"TIMESTAMP",cellRender:R=>{const D=mp(R.__REALTIME_TIMESTAMP);return a.jsx(_e,{fontWeight:"inherit",fontSize:13,sx:{fontFamily:"'Source Code Pro', monospace"},children:D})},width:"230",whiteSpace:"nowrap"},...w.map(R=>({key:R,label:R,cellRender:D=>a.jsx(_e,{fontWeight:"inherit",fontSize:13,sx:{fontFamily:"'Source Code Pro', monospace"},children:R==="PRIORITY"?q_(D[R]):D[R]})})),{key:"MESSAGE",label:"MESSAGE",minWidth:"600",cellRender:R=>a.jsx(te,{spacing:.5,className:"logs-cell-message",children:a.jsx(_e,{fontWeight:"inherit",fontSize:13,sx:{fontFamily:"'Source Code Pro', monospace",whiteSpace:"pre-wrap",wordBreak:"break-all"},children:R.MESSAGE})})}],[w]),j=I.useRef(null);return I.useEffect(()=>{(j.current===null||j.current>=98)&&h&&t&&!d&&_&&_.scrollTo({left:0,top:_.scrollHeight,behavior:"instant"})},[t,h,d,_]),I.useEffect(()=>{if(_)if(h)_.onscroll=()=>{Ji.setScrollRestore(_.scrollTop);const R=_.scrollTop/(_.scrollHeight-_.clientHeight)*100;j.current=isNaN(R)?null:R};else{const R=Ji.getScrollRestore();R&&(_.scrollTop=R)}},[h,_]),I.useEffect(()=>{t.length&&qce.highlightSearchTerm({search:c,selector:".logs-cell-message"})},[c,t]),a.jsx(Br,{containerRef:R=>{R&&g(R)},loading:i.state==="loading",autoScale:!0,data:t,dense:!0,columns:T,orderBy:"__REALTIME_TIMESTAMP",rowKey:"__CURSOR",rowsCount:h?t.length:u*5,page:2,rowsPerPage:u,showFirstLastButton:!0,rowsPerPageOptions:$.pageSizeOptions,onRowsPerPageChange:C,labelDisplayedRows:()=>`${t.length} Logs`,hidePagination:h,onRowClick:P,customFooterComponent:a.jsxs(te,{sx:{px:1,pb:.5},direction:"row",align:"center",children:[a.jsx(Ze,{startIcon:a.jsx(ge.Download,{}),text:r.formatMessage({id:"logs.download_logs"},{logs:t.length}),sx:{},onClick:k,variant:"text",size:"small"}),h&&a.jsx(_e,{type:"caption",fontWeight:"600",children:r.formatMessage({id:"logs.stream.buffer"},{buffer:u})})]}),customRowSx:R=>{const D=R.__CURSOR===d;let O="inherit";switch(q_(R.PRIORITY)){case ii.EMERGENCY:case ii.ALERT:case ii.CRITICAL:case ii.ERROR:O=Ic(e.palette.error.main,.1);break;case ii.WARNING:O=Ic(e.palette.warning.main,.1);break;case ii.DEBUG:O=Ic(e.palette.info.main,.1);break}return{backgroundColor:O,...D&&{backgroundColor:"divider"}}},onPageChange:A})}const Oee=Pr(),L3t=dr().shape({level:We().required(),exceptions:yr().of(dr().shape({enabled:li().required(),level:We().required(),rules:yr().of(dr().shape({field:We().required(Oee.formatMessage({id:"logs.config.form.exception.rules.field.error"})),values:yr().of(We()).min(1,Oee.formatMessage({id:"logs.config.form.exception.rules.values.error"}))})).min(1)}))});function N3t(t){const e=he.c(16),{service:r,config:n,fields:s}=t,i=Ye(),{submit:o,state:l,data:c}=gr(),[u,d]=I.useState(!1);let f;e[0]!==o?(f=g=>y=>{o({nf:g,logsConfig:y},{action:"system/logs/config/update",method:"POST",encType:"application/json"})},e[0]=o,e[1]=f):f=e[1];const p=f;let m;e[2]!==p||e[3]!==r?(m=p(r),e[2]=p,e[3]=r,e[4]=m):m=e[4];let h;e[5]!==c||e[6]!==u||e[7]!==s||e[8]!==i||e[9]!==r||e[10]!==l?(h=g=>{const{values:y,errors:b,getFieldMeta:x,setFieldValue:w}=g,C=y.exceptions?.length||0;return a.jsx(dn,{canWrite:as(ie.monitoring),children:a.jsx(xr,{elevation:2,title:C?a.jsxs(te,{direction:"row",align:"center",spacing:4,children:[a.jsx(_e,{type:"subtitle1",color:"text.secondary",children:r.toUpperCase()}),a.jsx(Iv,{variant:"standard",color:"error",badgeContent:a.jsx(_e,{type:"body2",noWrap:!0,children:`${C} exc.`})})]}):r.toUpperCase(),error:!!x(r).error,content:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"level",children:k=>{const{field:A,meta:P}=k;return a.jsx(qs,{...A,label:i.formatMessage({id:"logs.config.form.level"}),size:"small",error:!!P.error,helperText:P.error,children:SC.map(U3t)})}}),a.jsx(oi,{name:"exceptions",children:k=>{const{push:A,remove:P}=k,T=y.exceptions,j=()=>{d(!0),A({enabled:!0,level:ii.INFO,rules:[]})},R=N=>()=>{P(N)},D=()=>{w("exceptions",[])},O=N=>()=>{T&&N===T.length-1&&u&&d(!1)};return a.jsx(pr,{elevation:3,title:a.jsx(_e,{children:i.formatMessage({id:"logs.config.form.exceptions"})}),headerActionsComponent:a.jsxs(te,{direction:"row",children:[T&&T.length>0&&a.jsx(Ze,{variant:"outlined",size:"small",text:i.formatMessage({id:"logs.config.form.exceptions.clear"}),startIcon:a.jsx(ge.Clear,{}),disabled:l!=="idle",onClick:D}),a.jsx(Ze,{variant:"outlined",size:"small",text:i.formatMessage({id:"logs.config.form.exceptions.add"}),startIcon:a.jsx(ge.Add,{}),disabled:l!=="idle",onClick:j})]}),error:!!x("exceptions").error,children:a.jsx(Kt,{children:T&&T.length?a.jsx(Jn,{exclusive:!1,spacing:1,children:T.map((N,F)=>a.jsx(xr,{expanded:F===T.length-1&&u,onChange:O(F),elevation:4,title:i.formatMessage({id:"logs.config.form.exceptions.exception"},{index:F}),actionsComponent:a.jsx(Mn,{title:i.formatMessage({id:"common.remove"}),children:a.jsx(Zr,{size:"small",disabled:l!=="idle",onClick:R(F),children:a.jsx(ge.Trash,{})})}),error:!!x(`exceptions.${F}`).error,content:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:`exceptions.${F}.enabled`,children:U=>{const{field:z}=U;return a.jsx(da,{label:i.formatMessage({id:"logs.config.form.exception.enabled"}),checked:z.value,onChange:(H,W)=>{w(z.name,W)}})}}),a.jsx(Ke,{name:`exceptions.${F}.level`,children:U=>{const{field:z,meta:H}=U;return a.jsx(qs,{...z,label:i.formatMessage({id:"logs.config.form.level"}),size:"small",error:!!H.error,helperText:H.error,children:SC.map(F3t)})}}),a.jsx(oi,{name:`exceptions.${F}.rules`,children:U=>{const{push:z,remove:H}=U,W=()=>{z({field:"",values:[]})},K=q=>()=>{H(q)};return a.jsxs(te,{children:[a.jsx(pr,{elevation:5,title:a.jsx(_e,{children:i.formatMessage({id:"logs.config.form.exception.rules"})}),headerActionsComponent:a.jsx(Ze,{text:i.formatMessage({id:"logs.config.form.exception.rules.add"}),variant:"outlined",size:"small",startIcon:a.jsx(ge.Add,{}),disabled:l!=="idle",onClick:W}),error:!!x(`exceptions.${F}.rules`).error,children:a.jsx(Kt,{children:a.jsx(te,{children:N.rules.length?N.rules.map((q,X)=>a.jsxs(te,{direction:"row",align:"flex-start",fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:`exceptions.${F}.rules.${X}.field`,children:Q=>{const{field:Y,meta:Z}=Q;return a.jsx(rn,{name:Y.name,value:Y.value,error:!!Z.error,helperText:Z.error,label:i.formatMessage({id:"logs.config.form.exception.rules.field"}),size:"small",freeSolo:!0,multiple:!1,options:s,onChange:(re,fe)=>{w(Y.name,fe||"")},sx:{flex:1}})}}),a.jsx(Ke,{name:`exceptions.${F}.rules.${X}.values`,children:Q=>{const{field:Y,meta:Z}=Q;return a.jsx(rn,{name:Y.name,value:Y.value||[],error:!!Z.error,helperText:Z.error,label:i.formatMessage({id:"logs.config.form.exception.rules.values"}),size:"small",freeSolo:!0,multiple:!0,options:[],onChange:(re,fe)=>{w(Y.name,fe)},sx:{flex:1}})}}),a.jsx(Mn,{title:i.formatMessage({id:"common.remove"}),children:a.jsx(Zr,{size:"small",onClick:K(X),disabled:l!=="idle",sx:{mt:"10px"},children:a.jsx(ge.Trash,{})})})]},X)):a.jsx(Lr,{message:i.formatMessage({id:"logs.config.form.exception.rules.no_data"}),sx:{backgroundColor:"divider"}})})})}),!!x(`exceptions.${F}.rules`).error&&a.jsx(_e,{type:"body2",color:"error.main",children:i.formatMessage({id:"logs.config.form.exception.rules.error"})})]})}})]})},F))}):a.jsx(Lr,{message:i.formatMessage({id:"logs.config.form.exceptions.no_data"}),sx:{backgroundColor:"divider"}})})})}}),a.jsx(Xr,{data:c}),a.jsx(te,{direction:"row",fullWidth:!0,children:a.jsx(Ze,{type:"submit",text:i.formatMessage({id:"common.save"}),loading:l!=="idle",disabled:!!b.exceptions||!as(ie.monitoring)})})]})},r)})},e[5]=c,e[6]=u,e[7]=s,e[8]=i,e[9]=r,e[10]=l,e[11]=h):h=e[11];let _;return e[12]!==n||e[13]!==m||e[14]!==h?(_=a.jsx(Wr,{validationSchema:L3t,initialValues:n,onSubmit:m,children:h}),e[12]=n,e[13]=m,e[14]=h,e[15]=_):_=e[15],_}function F3t(t){return a.jsx(En,{value:t,children:t},t)}function U3t(t){return a.jsx(En,{value:t,children:t},t)}function B3t(){const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(zp,{children:a.jsx(te,{spacing:2,children:[...Array(5)].map(z3t)})}),t[0]=e):e=t[0],e}function z3t(t,e){return a.jsx(Dt,{variant:"rounded",height:"56px"},e)}function q3t(){const t=he.c(6),e=Ye();let r,n;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={fontSize:"40px",color:"text.secondary"},n=a.jsx(ge.Config,{}),t[0]=r,t[1]=n):(r=t[0],n=t[1]);let s;t[2]!==e?(s=e.formatMessage({id:"logs.config.no_data"}),t[2]=e,t[3]=s):s=t[3];let i;return t[4]!==s?(i=a.jsxs(te,{fullHeight:!0,justify:"center",align:"center",spacing:1,sx:r,children:[n,a.jsx(_e,{type:"body1",children:s})]}),t[4]=s,t[5]=i):i=t[5],i}function V3t(){const t=he.c(7),{state:e,load:r,data:n}=gr();let s,i;t[0]!==n||t[1]!==r||t[2]!==e?(s=()=>{e==="idle"&&!n&&r("system/logs/config")},i=[r,n,e],t[0]=n,t[1]=r,t[2]=e,t[3]=s,t[4]=i):(s=t[3],i=t[4]),I.useEffect(s,i);let o;return t[5]!==n?(o=a.jsx(a.Fragment,{children:n?n.logsConfig.length?a.jsx(zp,{children:a.jsx(Jn,{exclusive:!0,spacing:2,children:n.logsConfig.map(H3t)})}):a.jsx(q3t,{}):a.jsx(B3t,{})}),t[5]=n,t[6]=o):o=t[6],o}function H3t(t){const{service:e,config:r,metadata:n}=t;return a.jsx(N3t,{service:e,config:r,fields:n},e)}function G3t(){const t=he.c(11),e=zn(),r=Ye(),{popoverOpen:n}=Jt();let s;t[0]!==r||t[1]!==n?(s=(d,f)=>n({anchorEl:d.currentTarget,anchorOrigin:{horizontal:"right",vertical:"bottom"},content:()=>a.jsxs(te,{spacing:.5,divided:!0,children:[a.jsxs(te,{spacing:0,children:[a.jsx(_e,{type:"caption",children:r.formatMessage({id:"logs.machine.virtualization"})}),a.jsx(_e,{type:"body2",fontWeight:600,children:f.virtualization})]}),a.jsxs(te,{spacing:0,children:[a.jsx(_e,{type:"caption",children:r.formatMessage({id:"logs.machine.journal_begins"})}),a.jsx(_e,{type:"body2",fontWeight:600,children:mp(f.cutoff_from_realtime)})]}),a.jsxs(te,{spacing:0,children:[a.jsx(_e,{type:"caption",children:r.formatMessage({id:"logs.machine.journal_ends"})}),a.jsx(_e,{type:"body2",fontWeight:600,children:mp(f.cutoff_to_realtime)})]}),a.jsxs(te,{spacing:0,children:[a.jsx(_e,{type:"caption",children:r.formatMessage({id:"logs.machine.disk_usage"})}),a.jsx(_e,{type:"body2",fontWeight:600,children:a7(parseInt(f.usage))})]}),a.jsxs(te,{spacing:0,children:[a.jsx(_e,{type:"caption",children:r.formatMessage({id:"logs.machine.machine_id"})}),a.jsx(_e,{type:"body2",fontWeight:600,children:f.machine_id})]}),a.jsxs(te,{spacing:0,children:[a.jsx(_e,{type:"caption",children:r.formatMessage({id:"logs.machine.boot_id"})}),a.jsx(_e,{type:"body2",fontWeight:600,children:f.boot_id})]})]})}),t[0]=r,t[1]=n,t[2]=s):s=t[2];const i=s;let o;t[3]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(Dt,{variant:"rectangular",width:"95px",height:"36px",sx:{borderRadius:"18px"}}),t[3]=o):o=t[3];let l;t[4]===Symbol.for("react.memo_cache_sentinel")?(l=a.jsx(Tr,{}),t[4]=l):l=t[4];let c;t[5]!==i||t[6]!==r?(c=d=>a.jsx(Ze,{startIcon:a.jsx(ge.Host,{}),onClick:f=>{i(f,d)},variant:"outlined",text:r.formatMessage({id:"logs.machine.info"})}),t[5]=i,t[6]=r,t[7]=c):c=t[7];let u;return t[8]!==e.machine||t[9]!==c?(u=a.jsx(I.Suspense,{fallback:o,children:a.jsx(Qt,{resolve:e.machine,errorElement:l,children:c})}),t[8]=e.machine,t[9]=c,t[10]=u):u=t[10],u}function W3t(){const t=he.c(17),[,e]=hl(),{popoverClose:r}=Jt(),n=Ye(),{load:s,data:i,state:o}=gr();let l;t[0]!==r||t[1]!==e?(l=g=>{const{field:y}=g;r(),e(b=>(!!b.getAll("field").find(C=>{const[k]=C.split("=");return k===y})||b.append("field",y),b),{replace:!0})},t[0]=r,t[1]=e,t[2]=l):l=t[2];const c=l;let u;t[3]!==i?(u=[],i&&i.fields&&(i.fields.metadataFields.forEach((g,y)=>{u.push({label:g,value:g,divider:y===i.fields.metadataFields.length-1})}),i.fields.journalFields.forEach(g=>{u.push({label:g,value:g})})),t[3]=i,t[4]=u):u=t[4];const d=u;let f,p;t[5]!==s?(f=()=>{s($.urls.systemLogsFields)},p=[s],t[5]=s,t[6]=f,t[7]=p):(f=t[6],p=t[7]),I.useEffect(f,p);let m;t[8]===Symbol.for("react.memo_cache_sentinel")?(m={field:""},t[8]=m):m=t[8];let h;t[9]!==o||t[10]!==n||t[11]!==d||t[12]!==r?(h=g=>{const{dirty:y,values:b}=g;return a.jsx(dn,{canWrite:as(ie.monitoring),children:a.jsxs(te,{spacing:2,sx:{minWidth:"240px"},children:[a.jsx(Ke,{name:"field",children:x=>{const{field:w,form:C}=x,{setFieldValue:k}=C;return a.jsx(rn,{...w,value:d.find(A=>{const{value:P}=A;return P===w.value}),size:"small",label:n.formatMessage({id:"logs.filter.field_name"}),options:d,loading:o!=="idle",multiple:!1,freeSolo:!0,onChange:(A,P)=>{P&&(typeof P=="string"?k(w.name,P):k(w.name,P.value))},onInputChange:(A,P)=>{k(w.name,P)}})}}),a.jsxs(te,{direction:"row",justify:"space-between",children:[a.jsx(Ze,{type:"button",size:"small",variant:"outlined",text:n.formatMessage({id:"logs.filter.cancel"}),onClick:r,disabled:!y||!b.field||!as(ie.monitoring)}),a.jsx(Ze,{type:"submit",disabled:!y||!b.field||!as(ie.monitoring),size:"small",text:n.formatMessage({id:"logs.filter.confirm"})})]})]})})},t[9]=o,t[10]=n,t[11]=d,t[12]=r,t[13]=h):h=t[13];let _;return t[14]!==c||t[15]!==h?(_=a.jsx(Wr,{initialValues:m,onSubmit:c,children:h}),t[14]=c,t[15]=h,t[16]=_):_=t[16],_}function Y3t(t,e,r=1){return Array.from({length:(e-t)/r+1},(n,s)=>t+s*r)}function H$(t){const e=he.c(66),{name:r,removable:n}=t,s=n===void 0?!0:n,i=`fetcher-fields-${r}`;let o;e[0]!==i?(o={key:i},e[0]=i,e[1]=o):o=e[1];const{load:l,data:c,state:u}=gr(o),[d,f]=hl();let p;e[2]!==d?(p=d.getAll("field"),e[2]=d,e[3]=p):p=e[3];const m=p,h=X3t;let _;e[4]!==f?(_=(J,me)=>{J==="PRIORITY"&&me&&(me=Y3t(0,+me).map(String)),f(pe=>(h(J,pe),me.length?(me=Array.isArray(me)?me:[me],me.forEach(Se=>{pe.append("field",`${J}=${Se}`)})):pe.append("field",J),pe))},e[4]=f,e[5]=_):_=e[5];const g=_;let y;e[6]!==r||e[7]!==f?(y=()=>{f(J=>(h(r,J),J))},e[6]=r,e[7]=f,e[8]=y):y=e[8];const b=y;let x;if(e[9]!==m||e[10]!==r){e:{let J;e[12]!==r?(J=Se=>{const[ve,xe]=z_(Se);return ve===r&&xe!==""},e[12]=r,e[13]=J):J=e[13];let me;e[14]!==r?(me=Se=>{const[,ve]=z_(Se);return{value:ve,label:r==="PRIORITY"?q_(ve):ve}},e[14]=r,e[15]=me):me=e[15];const pe=m.filter(J).map(me);if(r==="PRIORITY"){if(!pe?.length){x=null;break e}const Se=pe.map(Z3t),ve=Math.max(...Se);let xe;e[16]!==ve?(xe=ve.toString(),e[16]=ve,e[17]=xe):xe=e[17];let qe;e[18]!==ve?(qe=q_(ve.toString()),e[18]=ve,e[19]=qe):qe=e[19];let Le;e[20]!==xe||e[21]!==qe?(Le={value:xe,label:qe},e[20]=xe,e[21]=qe,e[22]=Le):Le=e[22],x=Le;break e}x=pe}e[9]=m,e[10]=r,e[11]=x}else x=e[11];const w=x;let C;e[23]===Symbol.for("react.memo_cache_sentinel")?(C=[],e[23]=C):C=e[23];const k=C;let A,P;e[24]!==l||e[25]!==r?(P=()=>{l($.urls.systemLogsFieldsName.replace(":field_name",r))},A=[l,r],e[24]=l,e[25]=r,e[26]=A,e[27]=P):(A=e[26],P=e[27]),I.useEffect(P,A);const[T,j]=I.useState(0);let R,D;e[28]!==r?(R=()=>{const J=document.querySelector(`.label-${r}-container`),me=document.querySelector(`.label-${r}-text`);me&&J&&(j(me.clientWidth),J.removeChild(me))},D=[r],e[28]=r,e[29]=R,e[30]=D):(R=e[29],D=e[30]),I.useEffect(R,D);const O=r==="PRIORITY"?170:`${T+47+(s?28:0)}px`;let N;e[31]!==O?(N={minWidth:O},e[31]=O,e[32]=N):N=e[32];const F=`label-${r}-container`;let U;e[33]===Symbol.for("react.memo_cache_sentinel")?(U={p:"0 4px 0 8px",opacity:0},e[33]=U):U=e[33];const z=`label-${r}-text`;let H;e[34]!==r||e[35]!==z?(H=a.jsx(_e,{sx:U,className:z,paragraph:!1,children:r}),e[34]=r,e[35]=z,e[36]=H):H=e[36];let W;e[37]!==F||e[38]!==H?(W=a.jsx("span",{className:F,children:H}),e[37]=F,e[38]=H,e[39]=W):W=e[39];const K=r!=="PRIORITY";let q;e[40]!==c?.fields||e[41]!==r?(q=r==="PRIORITY"?v4e:c?.fields.map(Q3t)||k,e[40]=c?.fields,e[41]=r,e[42]=q):q=e[42];const X=r==="PRIORITY"?"PRIORITY LEVEL":r,Q=u==="loading";let Y;e[43]===Symbol.for("react.memo_cache_sentinel")?(Y={color:"primary"},e[43]=Y):Y=e[43];let Z;e[44]!==r?(Z=wie.includes(r),e[44]=r,e[45]=Z):Z=e[45];const re=!Z;let fe;e[46]!==g||e[47]!==r?(fe=(J,me)=>{g(r,Array.isArray(me)?me.map(K3t):typeof me=="string"?me:me?.value??"")},e[46]=g,e[47]=r,e[48]=fe):fe=e[48];let de;e[49]===Symbol.for("react.memo_cache_sentinel")?(de={flex:"1 1 auto"},e[49]=de):de=e[49];let se;e[50]!==b||e[51]!==s?(se=s&&a.jsx(Zr,{onClick:J=>{J.stopPropagation(),b()},children:a.jsx(ge.Trash,{size:16})}),e[50]=b,e[51]=s,e[52]=se):se=e[52];let le;e[53]!==w||e[54]!==K||e[55]!==q||e[56]!==X||e[57]!==Q||e[58]!==re||e[59]!==fe||e[60]!==se?(le=a.jsx(rn,{multiple:K,options:q,label:X,size:"small",loading:Q,ChipProps:Y,freeSolo:re,value:w,onChange:fe,sx:de,endAdornment:se}),e[53]=w,e[54]=K,e[55]=q,e[56]=X,e[57]=Q,e[58]=re,e[59]=fe,e[60]=se,e[61]=le):le=e[61];let ee;return e[62]!==N||e[63]!==W||e[64]!==le?(ee=a.jsxs(te,{direction:"row",sx:N,nowrap:!0,spacing:0,align:"flex-start",children:[W,le]}),e[62]=N,e[63]=W,e[64]=le,e[65]=ee):ee=e[65],ee}function K3t(t){return typeof t=="string"?t:t.value}function Q3t(t){return{label:t,value:t}}function Z3t(t){const{value:e}=t;return+e}function X3t(t,e){e.set("skip","0"),e.delete("cursor");const r=e.getAll("field").filter(n=>{const[s]=n.split("=");return s!==t});e.delete("field"),r.forEach(n=>{e.append("field",n)})}function J3t(){const t=he.c(20),e=Ye(),[r]=hl(),{popoverOpen:n}=Jt();let s;t[0]!==r?(s=r.getAll("field"),t[0]=r,t[1]=s):s=t[1];const i=s;let o;t[2]!==i?(o=Cie([...i,"PRIORITY","SYSLOG_IDENTIFIER"]),t[2]=i,t[3]=o):o=t[3];const l=o;let c;t[4]!==n?(c=b=>{n({anchorEl:b.currentTarget,content:rAt})},t[4]=n,t[5]=c):c=t[5];const u=c;let d,f;t[6]===Symbol.for("react.memo_cache_sentinel")?(d=a.jsx(H$,{name:"PRIORITY",removable:!1},"PRIORITY"),f=a.jsx(H$,{name:"SYSLOG_IDENTIFIER",removable:!1},"SYSLOG_IDENTIFIER"),t[6]=d,t[7]=f):(d=t[6],f=t[7]);let p;t[8]!==l?(p=l.filter(tAt).map(eAt),t[8]=l,t[9]=p):p=t[9];let m;t[10]===Symbol.for("react.memo_cache_sentinel")?(m=a.jsx(ge.Add,{}),t[10]=m):m=t[10];let h;t[11]!==e?(h=e.formatMessage({id:"logs.filter.add"}),t[11]=e,t[12]=h):h=t[12];let _;t[13]===Symbol.for("react.memo_cache_sentinel")?(_={mt:"4px"},t[13]=_):_=t[13];let g;t[14]!==u||t[15]!==h?(g=a.jsx(Ze,{startIcon:m,variant:"outlined",text:h,onClick:u,sx:_}),t[14]=u,t[15]=h,t[16]=g):g=t[16];let y;return t[17]!==p||t[18]!==g?(y=a.jsxs(a.Fragment,{children:[d,f,p,g]}),t[17]=p,t[18]=g,t[19]=y):y=t[19],y}function eAt(t){return a.jsx(H$,{name:t},t)}function tAt(t){return!["SYSLOG_IDENTIFIER","PRIORITY"].includes(t)}function rAt(){return a.jsx(W3t,{})}function nAt(){const t=he.c(20),[e,r]=hl();let n;t[0]!==e?(n=e.get("grep")||"",t[0]=e,t[1]=n):n=t[1];const[s,i]=I.useState(n),o=I.useRef(null),l=Ye();let c;t[2]!==r?(c=b=>{const x=b.target.value;i(x),o.current&&window.clearTimeout(o.current),o.current=window.setTimeout(()=>{r(w=>x?(w.set("grep",x),w.delete("cursor"),w.set("skip","0"),w):(w.delete("grep"),w),{replace:!0})},400)},t[2]=r,t[3]=c):c=t[3];const u=c;let d;t[4]!==r?(d=()=>{i(""),r(sAt,{replace:!0})},t[4]=r,t[5]=d):d=t[5];const f=d;let p;t[6]!==l?(p=l.formatMessage({id:"logs.grep.search"}),t[6]=l,t[7]=p):p=t[7];let m;t[8]===Symbol.for("react.memo_cache_sentinel")?(m={pr:1},t[8]=m):m=t[8];let h;t[9]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(te,{sx:m,align:"center",justify:"center",children:a.jsx(ge.Search,{})}),t[9]=h):h=t[9];let _;t[10]!==s||t[11]!==f?(_=s&&a.jsx(Zr,{size:"small",onClick:f,children:a.jsx(ge.Close,{size:16})}),t[10]=s,t[11]=f,t[12]=_):_=t[12];let g;t[13]!==_?(g={startAdornment:h,endAdornment:_},t[13]=_,t[14]=g):g=t[14];let y;return t[15]!==s||t[16]!==u||t[17]!==p||t[18]!==g?(y=a.jsx(dt,{value:s,size:"small",onChange:u,placeholder:p,InputProps:g}),t[15]=s,t[16]=u,t[17]=p,t[18]=g,t[19]=y):y=t[19],y}function sAt(t){return t.delete("grep"),t}function iAt(){const t=he.c(11),[e,r]=hl(),n=Ye(),{pathname:s}=to(),i=s===$.urls.systemLogsFollow,o=zn();let l;t[0]!==r?(l=(m,h)=>{r(_=>m?(_.set(h,m.toISOString()),_.delete("cursor"),_.set("skip","0"),_):(_.delete(h),_))},t[0]=r,t[1]=l):l=t[1];const c=l;if(i)return null;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u=a.jsx(Dt,{variant:"rectangular",width:"95px",height:"36px",sx:{borderRadius:"18px"}}),t[2]=u):u=t[2];let d;t[3]===Symbol.for("react.memo_cache_sentinel")?(d=a.jsx(Tr,{}),t[3]=d):d=t[3];let f;t[4]!==c||t[5]!==n||t[6]!==e?(f=m=>a.jsx(te,{direction:"row",spacing:.5,children:["since","until"].map(h=>{let _=ai.utc(e.get(h));const g=h==="until"&&e.get("since")?ai(e.get("since")):ai.utc(mp(m.cutoff_from_realtime)),y=h==="since"&&e.get("until")?ai.utc(e.get("until")):ai.utc(mp(m.cutoff_to_realtime));return _.isValid()||(_=null),a.jsx(uL,{ampm:!1,label:n.formatMessage({id:`logs.realtime.${h}`}),value:_,minDateTime:g,maxDateTime:y,format:"YYYY-MM-DD HH:mm:ss",views:["year","month","day","hours","minutes","seconds"],timezone:"UTC",slotProps:{field:{clearable:!0},textField:{size:"small"},clearButton:{size:"small"},openPickerButton:{size:"small"}},onChange:b=>{c(b,h)}},h)})}),t[4]=c,t[5]=n,t[6]=e,t[7]=f):f=t[7];let p;return t[8]!==o.machine||t[9]!==f?(p=a.jsx(I.Suspense,{fallback:u,children:a.jsx(Qt,{resolve:o.machine,errorElement:d,children:f})}),t[8]=o.machine,t[9]=f,t[10]=p):p=t[10],p}function oAt(){const t=he.c(49),[e,r]=hl(),{drawerOpen:n}=Jt();let s;t[0]!==e?(s=Lue(e.get("boot")),t[0]=e,t[1]=s):s=t[1];const i=s,o=Ye(),l=ys(),{pathname:c}=to(),u=zn(),d=c===$.urls.systemLogsFollow;let f;t[2]!==r?(f=K=>{r(q=>(q.set("boot",String(K)),q.delete("cursor"),q.set("skip","0"),q))},t[2]=r,t[3]=f):f=t[3];const p=f;let m;t[4]!==n||t[5]!==o?(m=()=>{n({title:o.formatMessage({id:"logs.config"}),width:700,content:aAt})},t[4]=n,t[5]=o,t[6]=m):m=t[6];const h=m;let _;t[7]!==d||t[8]!==l?(_=()=>{const K=d?$.urls.systemLogsEntries:$.urls.systemLogsFollow,q=new URLSearchParams(window.location.search);l(`${K}?${q.toString()}`,{replace:!0})},t[7]=d,t[8]=l,t[9]=_):_=t[9];const g=_;let y;t[10]===Symbol.for("react.memo_cache_sentinel")?(y={mr:1},t[10]=y):y=t[10];let b;t[11]!==p?(b=(K,q)=>{p(q)},t[11]=p,t[12]=b):b=t[12];let x;t[13]!==i||t[14]!==b?(x=a.jsx(ti,{size:"small",checked:i,onChange:b}),t[13]=i,t[14]=b,t[15]=x):x=t[15];let w;t[16]!==o?(w=o.formatMessage({id:"logs.current_boot"}),t[16]=o,t[17]=w):w=t[17];let C;t[18]!==w?(C=a.jsx(_e,{type:"body2",children:w}),t[18]=w,t[19]=C):C=t[19];let k;t[20]!==x||t[21]!==C?(k=a.jsxs(te,{direction:"row",align:"center",spacing:.5,sx:y,children:[x,C]}),t[20]=x,t[21]=C,t[22]=k):k=t[22];let A;t[23]===Symbol.for("react.memo_cache_sentinel")?(A=a.jsx(G3t,{}),t[23]=A):A=t[23];let P;t[24]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(Dt,{width:"111px",height:"36px",variant:"rectangular",sx:{borderRadius:"18px"}}),t[24]=P):P=t[24];let T;t[25]===Symbol.for("react.memo_cache_sentinel")?(T=a.jsx(Tr,{}),t[25]=T):T=t[25];let j;t[26]!==h||t[27]!==o?(j=K=>a.jsx(Iv,{badgeContent:K&&a.jsx(_e,{type:"body2",children:`${K} exc.`}),color:"error",children:a.jsx(Ze,{variant:"outlined",startIcon:a.jsx(ge.Config,{}),text:o.formatMessage({id:"logs.config"}),onClick:h})}),t[26]=h,t[27]=o,t[28]=j):j=t[28];let R;t[29]!==u.exceptionsCount||t[30]!==j?(R=a.jsx(I.Suspense,{fallback:P,children:a.jsx(Qt,{resolve:u.exceptionsCount,errorElement:T,children:j})}),t[29]=u.exceptionsCount,t[30]=j,t[31]=R):R=t[31];let D;t[32]!==d?(D=d?a.jsx(ge.Stop,{}):a.jsx(ge.Play,{}),t[32]=d,t[33]=D):D=t[33];let O;t[34]!==o?(O=o.formatMessage({id:"logs.stream.follow"}),t[34]=o,t[35]=O):O=t[35];let N;t[36]!==g||t[37]!==D||t[38]!==O?(N=a.jsx(Ze,{startIcon:D,text:O,onClick:g}),t[36]=g,t[37]=D,t[38]=O,t[39]=N):N=t[39];let F;t[40]!==R||t[41]!==N||t[42]!==k?(F=a.jsx(hs,{children:a.jsxs(te,{direction:"row",align:"center",spacing:1,children:[k,A,R,N]})}),t[40]=R,t[41]=N,t[42]=k,t[43]=F):F=t[43];let U;t[44]===Symbol.for("react.memo_cache_sentinel")?(U={borderBottom:"1px solid",flex:"0 0 auto",borderColor:"divider"},t[44]=U):U=t[44];let z;t[45]===Symbol.for("react.memo_cache_sentinel")?(z={px:2,py:1},t[45]=z):z=t[45];let H;t[46]===Symbol.for("react.memo_cache_sentinel")?(H=a.jsx(gt,{sx:U,children:a.jsxs(te,{direction:"row",align:"center",fullWidth:!0,sx:z,spacing:.5,children:[a.jsx(nAt,{}),a.jsx(iAt,{}),a.jsx(J3t,{})]})}),t[46]=H):H=t[46];let W;return t[47]!==F?(W=a.jsxs(a.Fragment,{children:[F,H]}),t[47]=F,t[48]=W):W=t[48],W}function aAt(){return a.jsx(V3t,{})}function lAt(t){const e=he.c(8),{entries:r}=t,[n]=hl();let s;e[0]!==n?(s=n.get("entries"),e[0]=n,e[1]=s):s=e[1];const o=parseInt(s),[l]=vie(r,o);let c;e[2]!==l[0]?(c=()=>{if(!l[0])return;const f=new URL(window.location.href);f.searchParams.set("cursor",l[0].__CURSOR),window.history.replaceState(null,"",f.href)},e[2]=l[0],e[3]=c):c=e[3];let u;e[4]!==l?(u=[l],e[4]=l,e[5]=u):u=e[5],I.useEffect(c,u);let d;return e[6]!==l?(d=a.jsx(Jpe,{data:l}),e[6]=l,e[7]=d):d=e[7],d}function cAt(){const t=he.c(4),e=zn();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[0]=r):r=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Tr,{}),t[1]=n):n=t[1];let s;return t[2]!==e.entries?(s=a.jsx(I.Suspense,{fallback:r,children:a.jsx(Qt,{resolve:e.entries,errorElement:n,children:uAt})}),t[2]=e.entries,t[3]=s):s=t[3],s}function uAt(t){return a.jsx(lAt,{entries:t})}function dAt(){const t=he.c(4),e=zn();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[0]=r):r=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Tr,{}),t[1]=n):n=t[1];let s;return t[2]!==e.entries?(s=a.jsx(I.Suspense,{fallback:r,children:a.jsx(Qt,{resolve:e.entries,errorElement:n,children:fAt})}),t[2]=e.entries,t[3]=s):s=t[3],s}function fAt(t){return a.jsx(Jpe,{data:t})}function pAt(){const t=he.c(2);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],t[0]=e):e=t[0],I.useEffect(mAt,e);let r;return t[1]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsxs(a.Fragment,{children:[a.jsx(oAt,{}),a.jsx(Bd,{})]}),t[1]=r):r=t[1],r}function mAt(){return hAt}function hAt(){Ji.deleteScrollRestore()}function gAt(){const t=he.c(4),e=zn();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(Dt,{variant:"rounded",sx:{height:"400px"}}),t[0]=r):r=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Tr,{}),t[1]=n):n=t[1];let s;return t[2]!==e.entries?(s=a.jsx(I.Suspense,{fallback:r,children:a.jsx(Qt,{resolve:e.entries,errorElement:n,children:_At})}),t[2]=e.entries,t[3]=s):s=t[3],s}function _At(t){const e=t[0];return a.jsx(pr,{children:a.jsx(Kt,{children:a.jsx(Xpe,{entry:e,cursorAsTitle:!0})})})}const vAt=()=>{const t=he.c(64),e=Ye(),r=Gr(),{submit:n,state:s,json:i}=gr(),{submit:o,state:l,json:c}=gr(),{submit:u,state:d,json:f}=gr(),{submit:p,state:m,json:h}=gr(),{submit:_,state:g,json:y}=gr(),{confirmationDialogOpen:b}=Jt();let x;t[0]!==n?(x=(se,le)=>()=>{const ee={name:se},J={action:"management",method:"POST",encType:"application/json"};n(le?{...ee,action:Bl.DISABLE}:{...ee,action:Bl.ENABLE},J)},t[0]=n,t[1]=x):x=t[1];const w=x;let C;t[2]!==o?(C=(se,le)=>()=>{const ee={name:se},J={action:"management",method:"POST",encType:"application/json"};o(le?{...ee,action:Bl.DISABLE_AUTOSTART}:{...ee,action:Bl.ENABLE_AUTOSTART},J)},t[2]=o,t[3]=C):C=t[3];const k=C;let A;t[4]!==b||t[5]!==e||t[6]!==u?(A=(se,le)=>()=>{const ee={name:se},J={action:"management",method:"POST",encType:"application/json"};le===Tu.STOPPED?u({...ee,action:Bl.START},J):b({severity:"warning",title:e.formatMessage({id:"confirm_dialog.title"}),alertMessage:e.formatMessage({id:"service.dialog.message.stop"},{name:se.toUpperCase()}),onConfirm:()=>u({...ee,action:Bl.STOP},J)})},t[4]=b,t[5]=e,t[6]=u,t[7]=A):A=t[7];const P=A;let T;t[8]!==b||t[9]!==e||t[10]!==p?(T=se=>()=>{b({severity:"warning",title:e.formatMessage({id:"confirm_dialog.title"}),alertMessage:e.formatMessage({id:"service.dialog.message.restart"},{name:se.toUpperCase()}),onConfirm:()=>p({name:se,action:Bl.RESTART},{action:"management",method:"POST",encType:"application/json"})})},t[8]=b,t[9]=e,t[10]=p,t[11]=T):T=t[11];const j=T;let R;t[12]!==b||t[13]!==e||t[14]!==_?(R=se=>()=>{b({severity:"danger",title:e.formatMessage({id:"confirm_dialog.title"}),alertMessage:e.formatMessage({id:"service.dialog.message.reset"},{name:se.toUpperCase()}),onConfirm:()=>_({name:se,action:Bl.RESET},{action:"management",method:"POST",encType:"application/json"})})},t[12]=b,t[13]=e,t[14]=_,t[15]=R):R=t[15];const D=R;let O;t[16]!==e?(O=se=>[...se].sort((le,ee)=>e.formatMessage({id:`service.name.${le.name}`}).localeCompare(e.formatMessage({id:`service.name.${ee.name}`}))).sort(yAt),t[16]=e,t[17]=O):O=t[17];const N=O;let F;t[18]!==e?(F=e.formatMessage({id:"service.title.name"}),t[18]=e,t[19]=F):F=t[19];let U;t[20]!==e?(U=se=>{const{state:le,name:ee,readonly:J,backup:me,type:pe}=se;return a.jsxs(te,{direction:"row",sx:{alignItems:"center"},children:[a.jsx(Mn,{title:le===Tu.STARTED?e.formatMessage({id:"service.started"}):e.formatMessage({id:"service.stopped"}),children:a.jsx("div",{children:a.jsx(bi,{label:e.formatMessage({id:`service.name.${ee}`}),status:le===Tu.STARTED?nn.SUCCESS:nn.ERROR})})}),a.jsx(ms,{size:"small",label:e.formatMessage({id:`service.type.${pe}`}),sx:{fontWeight:"500"}}),J&&a.jsx(ms,{size:"small",label:e.formatMessage({id:"service.readonly"})}),me&&a.jsx(ms,{size:"small",label:e.formatMessage({id:"service.backup"})})]})},t[20]=e,t[21]=U):U=t[21];let z;t[22]!==F||t[23]!==U?(z={key:"name",label:F,cellRender:U},t[22]=F,t[23]=U,t[24]=z):z=t[24];let H;t[25]!==e?(H=e.formatMessage({id:"service.title.version"}),t[25]=e,t[26]=H):H=t[26];let W;t[27]!==H?(W={key:"version",label:H},t[27]=H,t[28]=W):W=t[28];let K;t[29]!==i||t[30]!==s||t[31]!==w||t[32]!==e?(K={key:"enabled",label:"",cellRender:se=>{const{name:le,readonly:ee,enabled:J}=se;return a.jsx(a.Fragment,{children:!ee&&a.jsxs(te,{direction:"row",fullWidth:!0,align:"center",justify:"center",children:[_y(i)&&i.name===le&&s!=="idle"?a.jsx(te,{sx:{width:40},direction:"row",align:"center",justify:"center",children:a.jsx(Nc,{type:"circular",size:20})}):a.jsx(ti,{size:"small",checked:J,disabled:!Ue(ie.management)||ee,onChange:w(le,J)}),a.jsx(_e,{type:"body2",children:e.formatMessage({id:"service.status.enabled"})})]})})}},t[29]=i,t[30]=s,t[31]=w,t[32]=e,t[33]=K):K=t[33];let q;t[34]!==c||t[35]!==l||t[36]!==k||t[37]!==e?(q={key:"autostart",label:"",cellRender:se=>{const{name:le,readonly:ee,enabled:J,autostart:me}=se;return a.jsx(a.Fragment,{children:!ee&&a.jsxs(te,{direction:"row",fullWidth:!0,align:"center",justify:"center",children:[_y(c)&&c.name===le&&l!=="idle"?a.jsx(te,{sx:{width:40},direction:"row",align:"center",justify:"center",children:a.jsx(Nc,{type:"circular",size:20})}):a.jsx(ti,{size:"small",checked:me,disabled:!Ue(ie.management)||ee||!J,onChange:k(le,me)}),a.jsx(_e,{type:"body2",children:e.formatMessage({id:"service.status.autostart"})})]})})}},t[34]=c,t[35]=l,t[36]=k,t[37]=e,t[38]=q):q=t[38];let X;t[39]!==D||t[40]!==j||t[41]!==P||t[42]!==e||t[43]!==y||t[44]!==g||t[45]!==h||t[46]!==m||t[47]!==f||t[48]!==d?(X={key:"actions",label:"",cellRender:se=>{const{name:le,readonly:ee,enabled:J,state:me,mgmt:pe}=se;return a.jsx(a.Fragment,{children:Ue(ie.management)&&!ee&&J&&a.jsxs(te,{direction:"row",align:"center",justify:"flex-end",nowrap:!0,spacing:1,children:[a.jsx(Mn,{title:me===Tu.STOPPED?e.formatMessage({id:"service.hint.start"}):e.formatMessage({id:"service.hint.stop"}),children:a.jsx(Ze,{variant:"text",loading:_y(f)&&f.name===le&&d!=="idle",startIcon:me===Tu.STOPPED?a.jsx(ge.Play,{}):a.jsx(ge.Stop,{}),onClick:P(le,me)})}),a.jsx(Mn,{title:e.formatMessage({id:"service.hint.restart"}),children:a.jsx(Ze,{variant:"text",startIcon:a.jsx(ge.Refresh,{}),onClick:j(le),loading:_y(h)&&h.name===le&&m!=="idle"})}),a.jsx(Mn,{title:e.formatMessage({id:"service.hint.reset"}),children:a.jsx(Ze,{variant:"text",startIcon:a.jsx(ge.Reset,{}),onClick:D(le),loading:_y(y)&&y.name===le&&g!=="idle",sx:{visibility:pe?"visible":"hidden"}})})]})})}},t[39]=D,t[40]=j,t[41]=P,t[42]=e,t[43]=y,t[44]=g,t[45]=h,t[46]=m,t[47]=f,t[48]=d,t[49]=X):X=t[49];let Q;t[50]!==W||t[51]!==K||t[52]!==q||t[53]!==X||t[54]!==z?(Q=[z,W,K,q,X],t[50]=W,t[51]=K,t[52]=q,t[53]=X,t[54]=z,t[55]=Q):Q=t[55];const Y=Q;let Z;t[56]===Symbol.for("react.memo_cache_sentinel")?(Z=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[56]=Z):Z=t[56];let re;t[57]===Symbol.for("react.memo_cache_sentinel")?(re=a.jsx(Tr,{}),t[57]=re):re=t[57];let fe;t[58]!==Y||t[59]!==N?(fe=se=>a.jsx(Br,{autoScale:!0,orderBy:"name",columns:Y,data:N(se),page:0,labelDisplayedRows:bAt,rowKey:"name",rowsCount:se.length,rowsPerPage:se.length,hidePagination:!0}),t[58]=Y,t[59]=N,t[60]=fe):fe=t[60];let de;return t[61]!==r.services||t[62]!==fe?(de=a.jsx(I.Suspense,{fallback:Z,children:a.jsx(Qt,{resolve:r.services,errorElement:re,children:fe})}),t[61]=r.services,t[62]=fe,t[63]=de):de=t[63],de};function yAt(t,e){return t.type===xC.NF&&e.type===xC.PS?-1:t.type===e.type?0:1}function bAt(){return""}var rp=(t=>(t.Status="status",t.Source="source",t.Info="info",t.Message="message",t.Step="step",t))(rp||{});function _8(t,e){return!!t.find(r=>r.type==="status"&&r.status===e)}function v8(t){return _8(t,"DONE")}function xAt(t){return v8(t)&&_8(t,"SUCCESS")}function SAt(t){return v8(t)&&_8(t,"FAILURE")}function wAt(t){const e=he.c(4),{status:r}=t;let n;e:switch(r){case"SUCCESS":{n="success";break e}case"FAILURE":{n="warning";break e}default:n="default"}const s=n;let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i={my:"4px",mx:2,fontSize:"13px"},e[0]=i):i=e[0];let o;return e[1]!==s||e[2]!==r?(o=a.jsx(ms,{size:"small",label:r,color:s,sx:i}),e[1]=s,e[2]=r,e[3]=o):o=e[3],o}function CAt(t){const e=he.c(3),{status:r}=t;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={fontSize:"13px",fontFamily:"'Source Code Pro', monospace",whiteSpace:"pre-wrap",wordBreak:"break-all",py:"2px",px:2},e[0]=n):n=e[0];let s;return e[1]!==r?(s=a.jsx(_e,{sx:n,children:r}),e[1]=r,e[2]=s):s=e[2],s}function AAt(t){const e=he.c(3),{source:r}=t;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={fontSize:"13px",fontFamily:"'Source Code Pro', monospace",whiteSpace:"pre-wrap",wordBreak:"break-all",py:"2px",px:2},e[0]=n):n=e[0];let s;return e[1]!==r?(s=a.jsx(_e,{sx:n,children:r}),e[1]=r,e[2]=s):s=e[2],s}function kAt(t){const e=he.c(7),{text:r,level:n}=t;let s;e:switch(+n){case 3:{s=PAt;break e}case 6:{s=MAt;break e}default:s="inherit"}const i=s;let o;e[0]!==i?(o=i&&{backgroundColor:i},e[0]=i,e[1]=o):o=e[1];let l;e[2]!==o?(l={fontSize:"13px",fontFamily:"'Source Code Pro', monospace",whiteSpace:"pre-wrap",wordBreak:"break-all",...o,py:"2px",px:2},e[2]=o,e[3]=l):l=e[3];let c;return e[4]!==l||e[5]!==r?(c=a.jsx(_e,{sx:l,children:r}),e[4]=l,e[5]=r,e[6]=c):c=e[6],c}function MAt(t){return Ic(t.palette.info.main,.1)}function PAt(t){return Ic(t.palette.error.main,.1)}function jAt(t){const e=he.c(19),{name:r,step:n,percent:s,number:i}=t;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o={px:2},e[0]=o):o=e[0];let l;e[1]===Symbol.for("react.memo_cache_sentinel")?(l={fontSize:"13px",fontFamily:"'Source Code Pro', monospace",whiteSpace:"pre-wrap",wordBreak:"break-all",py:"2px"},e[1]=l):l=e[1];let c;e[2]!==r||e[3]!==i||e[4]!==n?(c=a.jsxs(_e,{sx:l,children:["Step ",n," of ",i," - ",r]}),e[2]=r,e[3]=i,e[4]=n,e[5]=c):c=e[5];let u;e[6]===Symbol.for("react.memo_cache_sentinel")?(u={width:"80px"},e[6]=u):u=e[6];let d;e[7]===Symbol.for("react.memo_cache_sentinel")?(d={width:"100%",color:"text.secondary"},e[7]=d):d=e[7];const f=+s;let p;e[8]!==f?(p=a.jsx(gt,{sx:d,children:a.jsx(Nc,{type:"linear",variant:"determinate",color:"inherit",thickness:2,value:f})}),e[8]=f,e[9]=p):p=e[9];let m;e[10]===Symbol.for("react.memo_cache_sentinel")?(m={fontSize:"13px"},e[10]=m):m=e[10];const h=`${+s}%`;let _;e[11]!==h?(_=a.jsx(_e,{sx:m,children:h}),e[11]=h,e[12]=_):_=e[12];let g;e[13]!==_||e[14]!==p?(g=a.jsxs(te,{direction:"row",nowrap:!0,align:"center",spacing:1,sx:u,children:[p,_]}),e[13]=_,e[14]=p,e[15]=g):g=e[15];let y;return e[16]!==g||e[17]!==c?(y=a.jsxs(te,{direction:"row",justify:"space-between",align:"center",sx:o,children:[c,g]}),e[16]=g,e[17]=c,e[18]=y):y=e[18],y}function TAt({logs:t,sx:e}){const r=Ye(),n=I.useRef(null);return I.useEffect(()=>{n.current&&n.current.scrollTo({behavior:"instant",top:n.current.scrollHeight})},[n.current?.scrollHeight,t]),a.jsx(pr,{title:r.formatMessage({id:"software_update.panel.logs.title"}),sx:e,children:a.jsx(te,{spacing:0,ref:n,divided:!0,nowrap:!0,sx:{height:"100%",overflow:"auto",backgroundColor:s=>s.palette.background.paper},children:t.map((s,i)=>{switch(s.type){case rp.Status:return a.jsx(wAt,{status:s.status},i);case rp.Source:return a.jsx(CAt,{status:s.status},i);case rp.Info:return a.jsx(AAt,{source:s.source},i);case rp.Message:return a.jsx(kAt,{text:s.text,level:s.level},i);case rp.Step:default:return a.jsx(jAt,{name:s.name,number:s.number,percent:s.percent,step:s.step},i)}})})})}function EAt(t){const e=he.c(6),{status:r}=t;switch(r){case"SUCCESS":{let n;return e[0]!==r?(n=a.jsx(ms,{label:r,color:"success"}),e[0]=r,e[1]=n):n=e[1],n}case"FAILURE":{let n;return e[2]!==r?(n=a.jsx(ms,{label:r,color:"error"}),e[2]=r,e[3]=n):n=e[3],n}default:{let n;return e[4]!==r?(n=a.jsx(ms,{label:r}),e[4]=r,e[5]=n):n=e[5],n}}}function RAt(t){const e=he.c(33),{logs:r,sx:n}=t,s=Ye(),[i,o]=I.useState(0),[l,c]=I.useState(0),[u,d]=I.useState(0),[f,p]=I.useState("");let m,h;e[0]!==r?(m=()=>{const O=r.filter(DAt);if(O.length){const N={};O.forEach(z=>{const{percent:H,step:W}=z;N[+W]?+H>N[+W]&&(N[+W]=+H):N[+W]=+H});const F=O[O.length-1];let U=0;for(const z in N)U=U+N[z]/+F.number;d(Math.round(U)),p(F.name),o(+F.step),c(+F.number)}},h=[r],e[0]=r,e[1]=m,e[2]=h):(m=e[1],h=e[2]),I.useEffect(m,h);let _;e:{let O;e[3]!==r?(O=r.filter(IAt),e[3]=r,e[4]=O):O=e[4];const N=O,F=N[N.length-1];if(F){_=F.status;break e}_=void 0}const g=_;let y;e[5]!==s?(y=s.formatMessage({id:"software_update.panel.status.title"}),e[5]=s,e[6]=y):y=e[6];let b;e[7]!==g?(b=g&&a.jsx(EAt,{status:g}),e[7]=g,e[8]=b):b=e[8];let x;e[9]!==b?(x=a.jsx(a.Fragment,{children:b}),e[9]=b,e[10]=x):x=e[10];let w;e[11]===Symbol.for("react.memo_cache_sentinel")?(w={flex:1},e[11]=w):w=e[11];let C;e[12]!==u?(C=a.jsx(gt,{sx:w,children:a.jsx(Nc,{type:"linear",variant:"determinate",thickness:6,value:u})}),e[12]=u,e[13]=C):C=e[13];const k=`${u}%`;let A;e[14]!==k?(A=a.jsx(_e,{fontSize:"1.2rem",children:k}),e[14]=k,e[15]=A):A=e[15];let P;e[16]!==A||e[17]!==C?(P=a.jsx(te,{spacing:2,children:a.jsxs(te,{direction:"row",align:"center",children:[C,A]})}),e[16]=A,e[17]=C,e[18]=P):P=e[18];let T;e[19]!==f?(T=a.jsx(gt,{component:"span",fontWeight:"600",children:f}),e[19]=f,e[20]=T):T=e[20];let j;e[21]!==i||e[22]!==T||e[23]!==l?(j=a.jsxs(_e,{children:["Step ",i," of ",l," -"," ",T]}),e[21]=i,e[22]=T,e[23]=l,e[24]=j):j=e[24];let R;e[25]!==P||e[26]!==j?(R=a.jsx(Kt,{children:a.jsxs(te,{children:[P,j]})}),e[25]=P,e[26]=j,e[27]=R):R=e[27];let D;return e[28]!==n||e[29]!==R||e[30]!==y||e[31]!==x?(D=a.jsx(pr,{title:y,headerActionsComponent:x,sx:n,children:R}),e[28]=n,e[29]=R,e[30]=y,e[31]=x,e[32]=D):D=e[32],D}function IAt(t){return t.type===rp.Status&&t.status!=="DONE"}function DAt(t){return t.type===rp.Step}function eme(t){const e=he.c(29),{status:r}=t,n=Ye(),{dialogClose:s}=Jt(),i=ys();let o;e[0]!==s?(o=()=>{s()},e[0]=s,e[1]=o):o=e[1];const l=o;let c;e[2]!==s||e[3]!==i?(c=()=>{i($.urls.home),s()},e[2]=s,e[3]=i,e[4]=c):c=e[4];const u=c;let d;e:{switch(r){case"SUCCESS":{let b;e[5]!==n?(b=n.formatMessage({id:"software_update.dialog.completed.content.success"}),e[5]=n,e[6]=b):b=e[6],d=b;break e}case"FAILED":{let b;e[7]!==n?(b=n.formatMessage({id:"software_update.dialog.completed.content.failed"}),e[7]=n,e[8]=b):b=e[8],d=b;break e}case"UNKNOWN":{let b;e[9]!==n?(b=n.formatMessage({id:"software_update.dialog.completed.content.unknown"}),e[9]=n,e[10]=b):b=e[10],d=b;break e}}d=void 0}const f=d;let p;e[11]!==f?(p=a.jsx(yv,{children:a.jsx(_e,{children:f})}),e[11]=f,e[12]=p):p=e[12];let m;e[13]!==n||e[14]!==r?(m=r==="FAILED"?n.formatMessage({id:"common.form.cancel"}):n.formatMessage({id:"common.form.close"}),e[13]=n,e[14]=r,e[15]=m):m=e[15];let h;e[16]!==l||e[17]!==m?(h=a.jsx(Ze,{text:m,variant:"outlined",onClick:l}),e[16]=l,e[17]=m,e[18]=h):h=e[18];let _;e[19]!==u||e[20]!==n||e[21]!==r?(_=r!=="FAILED"&&a.jsx(Ze,{text:n.formatMessage({id:"software_update.dialog.action.home"}),variant:"contained",onClick:u}),e[19]=u,e[20]=n,e[21]=r,e[22]=_):_=e[22];let g;e[23]!==h||e[24]!==_?(g=a.jsxs(vv,{children:[h,_]}),e[23]=h,e[24]=_,e[25]=g):g=e[25];let y;return e[26]!==p||e[27]!==g?(y=a.jsxs(a.Fragment,{children:[p,g]}),e[26]=p,e[27]=g,e[28]=y):y=e[28],y}function $At(t){const e=he.c(26),{sx:r}=t,n=Ye(),{dialogOpen:s,dialogClose:i}=Jt(),o=ys();let l;e[0]!==i||e[1]!==s||e[2]!==n||e[3]!==o?(l=()=>{s({title:n.formatMessage({id:"software_update.form.title"}),content:()=>a.jsx(bx,{action:$.urls.systemUpgradeUpload_Action,min:1,max:1,filesLabel:n.formatMessage({id:"software_update.form.file"}),accept:{"application/octet-stream":[".swu",".SWU"]},requiredMessage:n.formatMessage({id:"software_update.form.file.required"}),description:n.formatMessage({id:"software_update.form.description"}),extraContent:a.jsxs(te,{spacing:2,children:[a.jsx(Lr,{severity:"warning",title:n.formatMessage({id:"software_update.alert.title"}),message:n.formatMessage({id:"software_update.alert.description"}),action:a.jsx(Ze,{size:"small",variant:"outlined",text:n.formatMessage({id:"software_update.alert.action"}),onClick:()=>{i(),o($.urls.systemBackup)}})}),a.jsx(Lr,{severity:"info",title:n.formatMessage({id:"software_update.alert.warning"})})]})})})},e[0]=i,e[1]=s,e[2]=n,e[3]=o,e[4]=l):l=e[4];const c=l;let u;e[5]!==n?(u=n.formatMessage({id:"software_update.panel.upload.title"}),e[5]=n,e[6]=u):u=e[6];let d;e[7]===Symbol.for("react.memo_cache_sentinel")?(d={height:"100%"},e[7]=d):d=e[7];let f;e[8]!==n?(f=n.formatMessage({id:"software_update.panel.upload.description"}),e[8]=n,e[9]=f):f=e[9];let p;e[10]!==f?(p=a.jsx(_e,{children:f}),e[10]=f,e[11]=p):p=e[11];let m;e[12]!==n?(m=n.formatMessage({id:"software_update.button.upload"}),e[12]=n,e[13]=m):m=e[13];let h;e[14]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(ge.Upload,{}),e[14]=h):h=e[14];let _;e[15]===Symbol.for("react.memo_cache_sentinel")?(_={alignSelf:"flex-start"},e[15]=_):_=e[15];let g;e[16]!==c||e[17]!==m?(g=a.jsx(Ze,{text:m,startIcon:h,onClick:c,sx:_}),e[16]=c,e[17]=m,e[18]=g):g=e[18];let y;e[19]!==p||e[20]!==g?(y=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,justify:"space-between",sx:d,children:[p,g]})}),e[19]=p,e[20]=g,e[21]=y):y=e[21];let b;return e[22]!==r||e[23]!==y||e[24]!==u?(b=a.jsx(pr,{title:u,sx:r,children:y}),e[22]=r,e[23]=y,e[24]=u,e[25]=b):b=e[25],b}function OAt(t){const e=he.c(11),{streamResponse:r}=t,n=Ye(),{dialogOpen:s,confirmationSimpleDialogOpen:i}=Jt(),[o,l]=vie(r),{submit:c}=gr();let u,d;e[0]!==i||e[1]!==s||e[2]!==n||e[3]!==o||e[4]!==l||e[5]!==c?(u=()=>{const m=v8(o),h=xAt(o),_=SAt(o);h?i({onConfirm:()=>{c(null,{action:$.urls.restart,encType:"application/json",method:"POST"})},confirmText:n.formatMessage({id:"software_update.dialog.completed.content.success.action"}),title:n.formatMessage({id:"software_update.dialog.completed.title.success"}),description:n.formatMessage({id:"software_update.dialog.completed.content.success"})}):_?s({title:n.formatMessage({id:"software_update.dialog.completed.title.failed"}),content:NAt}):m&&s({content:LAt}),(h||_||m)&&l()},d=[i,s,n,o,l,c],e[0]=i,e[1]=s,e[2]=n,e[3]=o,e[4]=l,e[5]=c,e[6]=u,e[7]=d):(u=e[6],d=e[7]),I.useEffect(u,d);let f;e[8]===Symbol.for("react.memo_cache_sentinel")?(f={height:"100%",overflow:"hidden"},e[8]=f):f=e[8];let p;return e[9]!==o?(p=a.jsx(te,{spacing:2,sx:f,children:o.length>0?a.jsxs(a.Fragment,{children:[a.jsx(RAt,{logs:o,sx:{flex:0}}),a.jsx(TAt,{logs:o,sx:{height:"100%",overflow:"hidden",flex:1}})]}):a.jsx($At,{sx:{flex:0}})}),e[9]=o,e[10]=p):p=e[10],p}function LAt(){return a.jsx(eme,{status:"UNKNOWN"})}function NAt(){return a.jsx(eme,{status:"FAILED"})}const FAt=()=>{const t=he.c(4),e=zn();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(Dt,{variant:"rounded",width:"100%",height:"183px"}),t[0]=r):r=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Tr,{}),t[1]=n):n=t[1];let s;return t[2]!==e.logsStream?(s=a.jsx(I.Suspense,{fallback:r,children:a.jsx(Qt,{resolve:e.logsStream,errorElement:n,children:UAt})}),t[2]=e.logsStream,t[3]=s):s=t[3],s};function UAt(t){return a.jsx(OAt,{streamResponse:t})}function BAt(){const t=he.c(6),e=Ye();let r,n;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={fontSize:"40px",color:"text.secondary"},n=a.jsx(ge.DocumentMissing,{}),t[0]=r,t[1]=n):(r=t[0],n=t[1]);let s;t[2]!==e?(s=e.formatMessage({id:"terminal.drawer.files.message.noData"}),t[2]=e,t[3]=s):s=t[3];let i;return t[4]!==s?(i=a.jsxs(te,{fullHeight:!0,justify:"center",align:"center",spacing:1,sx:r,children:[n,a.jsx(_e,{type:"body1",children:s})]}),t[4]=s,t[5]=i):i=t[5],i}function zAt(){const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(te,{spacing:2,children:[...Array(5)].map(qAt)}),t[0]=e):e=t[0],e}function qAt(t,e){return a.jsxs(te,{direction:"row",justify:"space-between",align:"center",spacing:2,children:[a.jsx(Dt,{variant:"rounded",sx:{flex:1}}),a.jsx(Dt,{variant:"circular",width:"40px",height:"40px"})]},e)}function VAt(){const t=he.c(4),e=Ye();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={to:"system/terminal/list"},t[0]=r):r=t[0];const{data:n}=Dv(r),s=HAt;let i;return t[1]!==n||t[2]!==e?(i=a.jsx(zp,{children:n?a.jsxs(a.Fragment,{children:[a.jsx(te,{divided:!0,children:n.files.map(o=>a.jsxs(te,{direction:"row",justify:"space-between",align:"center",nowrap:!0,children:[a.jsxs(te,{direction:"row",nowrap:!0,align:"center",spacing:2,children:[a.jsx(ge.Document,{}),a.jsx(_e,{children:o})]}),a.jsx(Mn,{title:e.formatMessage({id:"terminal.drawer.files.download.tooltip"}),placement:"left",children:a.jsx("div",{children:a.jsx(Zr,{onClick:s(o),size:"small",children:a.jsx(ge.Download,{})})})})]},o))}),!n.files.length&&a.jsx(BAt,{})]}):a.jsx(zAt,{})}),t[1]=n,t[2]=e,t[3]=i):i=t[3],i}function HAt(t){return()=>{c7(`${$.apis.pls.terminal.files}/${t}`,t)}}const GAt=()=>{const t=he.c(17),e=Ye(),{drawerOpen:r}=Jt(),[n,s]=I.useState();let i,o;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{const g=()=>{s(Ji.getSiteNode())};return addEventListener("node-change",g),()=>{removeEventListener("node-change",g)}},o=[],t[0]=i,t[1]=o):(i=t[0],o=t[1]),I.useEffect(i,o);let l;t[2]!==r||t[3]!==e?(l=()=>{r({title:e.formatMessage({id:"terminal.drawer.files.title"}),content:WAt,width:600})},t[2]=r,t[3]=e,t[4]=l):l=t[4];const c=l;let u;t[5]!==e?(u=e.formatMessage({id:"terminal.toolbar.files"}),t[5]=e,t[6]=u):u=t[6];let d;t[7]===Symbol.for("react.memo_cache_sentinel")?(d=a.jsx(ge.Folder,{}),t[7]=d):d=t[7];let f;t[8]!==c||t[9]!==u?(f=a.jsx(hs,{children:a.jsx(Ze,{variant:"outlined",text:u,startIcon:d,onClick:c})}),t[8]=c,t[9]=u,t[10]=f):f=t[10];const p=`/webconsole${n?`?x-ath-node=${n}`:""}`;let m;t[11]===Symbol.for("react.memo_cache_sentinel")?(m={flex:1,border:"none",backgroundColor:"transparent"},t[11]=m):m=t[11];let h;t[12]!==p?(h=a.jsx("iframe",{title:"terminal",src:p,style:m}),t[12]=p,t[13]=h):h=t[13];let _;return t[14]!==f||t[15]!==h?(_=a.jsxs(a.Fragment,{children:[f,h]}),t[14]=f,t[15]=h,t[16]=_):_=t[16],_};function WAt(){return a.jsx(VAt,{})}const qy=Pr(),YAt={start_at:"",end_at:"",include_logs:!0,include_metrics:!0},KAt=dr().shape({start_at:eU().required(qy.formatMessage({id:"validation.required"})),end_at:eU().when("start_at",(t,e)=>t&&e.min(t,qy.formatMessage({id:"troubleshoot_dump.form.end_at.validation"}))).required(qy.formatMessage({id:"validation.required"})),include_logs:li().required(qy.formatMessage({id:"validation.required"})),include_metrics:li().required(qy.formatMessage({id:"validation.required"}))});function Lee(t){const e=he.c(17),{label:r,value:n,disabled:s,error:i,onChange:o}=t;let l;e[0]!==n?(l=n?ai(n):null,e[0]=n,e[1]=l):l=e[1];let c,u;e[2]===Symbol.for("react.memo_cache_sentinel")?(c=["year","month","day","hours","minutes"],u={clearable:!0},e[2]=c,e[3]=u):(c=e[2],u=e[3]);const d=!!i;let f;e[4]!==i||e[5]!==d?(f={size:"small",error:d,helperText:i},e[4]=i,e[5]=d,e[6]=f):f=e[6];let p,m;e[7]===Symbol.for("react.memo_cache_sentinel")?(p={size:"small"},m={size:"small"},e[7]=p,e[8]=m):(p=e[7],m=e[8]);let h;e[9]!==f?(h={field:u,textField:f,clearButton:p,openPickerButton:m},e[9]=f,e[10]=h):h=e[10];let _;return e[11]!==s||e[12]!==r||e[13]!==o||e[14]!==l||e[15]!==h?(_=a.jsx(uL,{ampm:!1,label:r,value:l,format:"YYYY-MM-DD HH:mm",views:c,slotProps:h,onChange:o,disabled:s}),e[11]=s,e[12]=r,e[13]=o,e[14]=l,e[15]=h,e[16]=_):_=e[16],_}function QAt(){const t=he.c(49),{upsertFetcher:e}=Ys(),{submit:r,data:n,state:s}=e,i=Ye(),{dialogClose:o}=Jt();let l;t[0]!==r?(l=D=>{r(D,{action:$.urls.systemTroubleshootDumpCreate_Action,method:"POST",encType:"application/json"})},t[0]=r,t[1]=l):l=t[1];const c=l;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u=Ue([ie.management]),t[2]=u):u=t[2];let d;t[3]!==i||t[4]!==s?(d=a.jsx(Ke,{name:"start_at",children:D=>{const{field:O,meta:N,form:F}=D,{setFieldValue:U}=F;return a.jsx(Lee,{label:i.formatMessage({id:"troubleshoot_dump.form.start_at"}),value:O.value,onChange:z=>{U(O.name,z?.toISOString())},error:N.error,disabled:s!=="idle"})}}),t[3]=i,t[4]=s,t[5]=d):d=t[5];let f;t[6]!==i||t[7]!==s?(f=a.jsx(Ke,{name:"end_at",children:D=>{const{field:O,meta:N,form:F}=D,{setFieldValue:U}=F;return a.jsx(Lee,{label:i.formatMessage({id:"troubleshoot_dump.form.end_at"}),value:O.value,onChange:z=>{U(O.name,z?.toISOString())},error:N.error,disabled:s!=="idle"})}}),t[6]=i,t[7]=s,t[8]=f):f=t[8];let p;t[9]!==d||t[10]!==f?(p=a.jsxs(te,{spacing:2,children:[d,f]}),t[9]=d,t[10]=f,t[11]=p):p=t[11];let m;t[12]!==i||t[13]!==s?(m=a.jsx(Ke,{name:"include_logs",children:D=>{const{field:O,form:N}=D,{setFieldValue:F}=N;return a.jsx(da,{label:i.formatMessage({id:"troubleshoot_dump.form.include_logs"}),checked:O.value,onChange:(U,z)=>{F(O.name,z)},disabled:s!=="idle"})}}),t[12]=i,t[13]=s,t[14]=m):m=t[14];let h;t[15]!==i||t[16]!==s?(h=a.jsx(Ke,{name:"include_metrics",children:D=>{const{field:O,form:N}=D,{setFieldValue:F}=N;return a.jsx(da,{label:i.formatMessage({id:"troubleshoot_dump.form.include_metrics"}),checked:O.value,onChange:(U,z)=>{F(O.name,z)},disabled:s!=="idle"})}}),t[15]=i,t[16]=s,t[17]=h):h=t[17];let _;t[18]!==m||t[19]!==h?(_=a.jsxs(te,{spacing:0,children:[m,h]}),t[18]=m,t[19]=h,t[20]=_):_=t[20];let g;t[21]!==n?(g=a.jsx(Xr,{data:n}),t[21]=n,t[22]=g):g=t[22];let y;t[23]!==p||t[24]!==_||t[25]!==g?(y=a.jsx(_s,{children:a.jsxs(te,{spacing:1,align:"start",children:[p,_,g]})}),t[23]=p,t[24]=_,t[25]=g,t[26]=y):y=t[26];let b;t[27]!==i?(b=i.formatMessage({id:"common.form.cancel"}),t[27]=i,t[28]=b):b=t[28];let x;t[29]!==o?(x=()=>o(),t[29]=o,t[30]=x):x=t[30];const w=s!=="idle";let C;t[31]!==b||t[32]!==x||t[33]!==w?(C=a.jsx(Ze,{text:b,variant:"outlined",onClick:x,disabled:w}),t[31]=b,t[32]=x,t[33]=w,t[34]=C):C=t[34];let k;t[35]!==i?(k=i.formatMessage({id:"troubleshoot_dump.form.submit"}),t[35]=i,t[36]=k):k=t[36];const A=s!=="idle";let P;t[37]!==k||t[38]!==A?(P=a.jsx(Ze,{text:k,type:"submit",disabled:A}),t[37]=k,t[38]=A,t[39]=P):P=t[39];let T;t[40]!==C||t[41]!==P?(T=a.jsxs(Ti,{children:[C,P]}),t[40]=C,t[41]=P,t[42]=T):T=t[42];let j;t[43]!==y||t[44]!==T?(j=a.jsxs(dn,{canWrite:u,children:[y,T]}),t[43]=y,t[44]=T,t[45]=j):j=t[45];let R;return t[46]!==c||t[47]!==j?(R=a.jsx(Wr,{initialValues:YAt,validationSchema:KAt,onSubmit:c,children:j}),t[46]=c,t[47]=j,t[48]=R):R=t[48],R}function ZAt(){const t=he.c(62),e=Gr(),{submit:r,state:n}=gr(),{dialogOpen:s,confirmationSimpleDialogOpen:i}=Jt(),o=Ye();let l;t[0]!==s||t[1]!==o?(l=()=>{s({title:o.formatMessage({id:"troubleshoot_dump.form.title"}),content:okt})},t[0]=s,t[1]=o,t[2]=l):l=t[2];const c=l;let u;t[3]!==o?(u=o.formatMessage({id:"troubleshoot_dump.table.action_id"}),t[3]=o,t[4]=u):u=t[4];let d;t[5]!==u?(d={key:"action_id",label:u},t[5]=u,t[6]=d):d=t[6];let f;t[7]!==o?(f=o.formatMessage({id:"troubleshoot_dump.table.status"}),t[7]=o,t[8]=f):f=t[8];let p;t[9]!==f?(p={key:"status",label:f,cellRender:ikt},t[9]=f,t[10]=p):p=t[10];let m;t[11]!==o?(m=o.formatMessage({id:"troubleshoot_dump.table.start_at"}),t[11]=o,t[12]=m):m=t[12];let h;t[13]!==m?(h={key:"start_at",label:m,cellRender:skt},t[13]=m,t[14]=h):h=t[14];let _;t[15]!==o?(_=o.formatMessage({id:"troubleshoot_dump.table.end_at"}),t[15]=o,t[16]=_):_=t[16];let g;t[17]!==_?(g={key:"end_at",label:_,cellRender:nkt},t[17]=_,t[18]=g):g=t[18];let y;t[19]!==o?(y=o.formatMessage({id:"troubleshoot_dump.table.created_at"}),t[19]=o,t[20]=y):y=t[20];let b;t[21]!==y?(b={key:"created_at",label:y,cellRender:rkt},t[21]=y,t[22]=b):b=t[22];let x;t[23]!==o?(x=o.formatMessage({id:"troubleshoot_dump.table.size"}),t[23]=o,t[24]=x):x=t[24];let w;t[25]!==x?(w={key:"size",label:x,cellRender:tkt},t[25]=x,t[26]=w):w=t[26];let C;t[27]!==b||t[28]!==w||t[29]!==d||t[30]!==p||t[31]!==h||t[32]!==g?(C=[d,p,h,g,b,w],t[27]=b,t[28]=w,t[29]=d,t[30]=p,t[31]=h,t[32]=g,t[33]=C):C=t[33];const k=C;let A;t[34]!==o?(A=o.formatMessage({id:"troubleshoot_dump.table.actions.download"}),t[34]=o,t[35]=A):A=t[35];let P;t[36]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(ge.Download,{}),t[36]=P):P=t[36];let T;t[37]!==A?(T={label:A,icon:P,onClick:ekt},t[37]=A,t[38]=T):T=t[38];let j;t[39]!==o?(j=o.formatMessage({id:"troubleshoot_dump.table.actions.delete"}),t[39]=o,t[40]=j):j=t[40];let R;t[41]===Symbol.for("react.memo_cache_sentinel")?(R=a.jsx(ge.Trash,{}),t[41]=R):R=t[41];let D;t[42]!==i||t[43]!==o||t[44]!==r?(D=W=>{const{action_id:K}=W;i({title:o.formatMessage({id:"troubleshoot_dump.dialog.delete.title"}),description:o.formatMessage({id:"troubleshoot_dump.dialog.delete.description"},{id:K}),onConfirm:()=>{r({id:K},{action:$.urls.systemTroubleshootDumpDelete_Action,method:"POST",encType:"application/json"})}})},t[42]=i,t[43]=o,t[44]=r,t[45]=D):D=t[45];let O;t[46]!==j||t[47]!==D?(O={label:j,icon:R,onClick:D},t[46]=j,t[47]=D,t[48]=O):O=t[48];let N;t[49]!==T||t[50]!==O?(N=[T,O],t[49]=T,t[50]=O,t[51]=N):N=t[51];const F=N;let U;t[52]===Symbol.for("react.memo_cache_sentinel")?(U=a.jsx(Dt,{variant:"rounded",width:"100%",height:"400px"}),t[52]=U):U=t[52];let z;t[53]!==k||t[54]!==c||t[55]!==o||t[56]!==F||t[57]!==n?(z=W=>{if(W.length>0){const K=W.some(JAt);return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{variant:"contained",text:o.formatMessage({id:"troubleshoot_dump.toolbar.dump"}),startIcon:a.jsx(ge.Add,{}),onClick:c,disabled:K})}),a.jsx(Br,{autoScale:!0,orderBy:"created_at",columns:k,data:W,page:0,labelDisplayedRows:XAt,rowsCount:W.length,rowsPerPage:W.length,rowsPerPageOptions:void 0,rowKey:"action_id",rowActions:F,stickyRowActions:!0,loading:n!=="idle"})]})}return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{variant:"contained",text:o.formatMessage({id:"troubleshoot_dump.toolbar.dump"}),startIcon:a.jsx(ge.Add,{}),onClick:c})}),a.jsx(gt,{p:2,children:a.jsx(Lr,{message:o.formatMessage({id:"troubleshoot_dump.no_data"})})})]})},t[53]=k,t[54]=c,t[55]=o,t[56]=F,t[57]=n,t[58]=z):z=t[58];let H;return t[59]!==e.schedules||t[60]!==z?(H=a.jsx(I.Suspense,{fallback:U,children:a.jsx(Qt,{resolve:e.schedules,children:z})}),t[59]=e.schedules,t[60]=z,t[61]=H):H=t[61],H}function XAt(){return""}function JAt(t){return t.status==="running"}function ekt(t){const{action_id:e}=t;return Eie($.apis.pls.troubleshootDump.download(e))}function tkt(t){const{size:e}=t;return e?a.jsx(_e,{type:"body2",children:a7(e)}):a.jsx(_e,{children:"--"})}function rkt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:e?Mr(e):"--"})}function nkt(t){const{end_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function skt(t){const{start_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function ikt(t){const{status:e}=t;let r;e:switch(e){case"running":{r=nn.INFO;break e}case"completed":{r=nn.SUCCESS;break e}case"staled":r=nn.ERROR}return a.jsx(bi,{label:e,status:r})}function okt(){return a.jsx(QAt,{})}const Nee=Pr();function akt(t){const e=$.apis.backup.create(t);return De({options:{url:e,method:"POST"}})}function lkt(t,e){const r=$.apis.backup.restore(t),n=new FormData;return n.append("file",e),De({options:{url:r,method:"POST",headers:{"content-type":"multipart/form-data"},data:n}})}function ckt(t){const e=$.apis.backup.backupSchedules(t);return De({options:{url:e,method:"GET",cache:!1}})}function ukt(t){const e=$.apis.backup.restoreSchedules(t);return De({options:{url:e,method:"GET",cache:!1}})}function dkt(t,e){const r=$.apis.backup.update(t);return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}async function fkt(){const t=await ma(),e=[];return Ds({services:t,name:ue.PLS})&&e.push(ue.PLS),Ds({services:t,name:ue.UDR})&&e.push(ue.UDR),Ds({services:t,name:ue.EIR})&&e.push(ue.EIR),Ds({services:t,name:ue.DSM})&&e.push(ue.DSM),Ds({services:t,name:ue.UDM})&&e.push(ue.UDM),Ds({services:t,name:ue.NRF})&&e.push(ue.NRF),e}function pkt(t){return t.map(e=>{const r=e===ue.PLS?Nee.formatMessage({id:"route.platform"}):Nee.formatMessage({id:`route.system.backup.${e}`});return{url:e,label:r}})}async function mkt(){const t=as([[ie.backup,ie.provisioning]]),e=await fkt();let r=[],n={},s={};if(t){r=pkt(e);const i=await Promise.all(e.map(async o=>{const l=[ckt(o),ukt(o)],[c,u=[]]=await Promise.all(l);return{backup:c,restore:u}}));e.forEach((o,l)=>{n={...n,[o]:i[l].backup},s={...s,[o]:i[l].restore}})}return{activeTabs:r,backupSchedules:n,restoreSchedules:s}}function hkt(t){const e=$.apis.pls.configuration.backup;return De({options:{url:e,method:"POST",data:JSON.stringify(t),responseType:"blob"}})}function gkt(t){const e=$.apis.pls.configuration.restore,r=new FormData;return r.append("backup_file",t),De({options:{url:e,method:"POST",headers:{"content-type":"multipart/form-data"},data:r}})}async function _kt({request:t}){const{nf:e}=await t.json(),r=await akt(e);return xt(r)?Ar():Nt(),Ft(r)}async function vkt({request:t}){const e=await t.formData(),r=e.get("nf"),n=e.getAll("files")[0],s=await lkt(r,n);return xt(s)?Ar():Nt(),Ft(s)}async function ykt({request:t}){const e=await t.json(),r=await hkt(e);return xt(r)?Ar():yue(r,`backup_configuration_${Date.now()}.tar.gz`,"application/gzip"),Ft(r)}async function bkt({request:t}){const r=(await t.formData()).get("file"),n=await gkt(r);return xt(n)?Ar():Nt(),Ft(n)}async function xkt({request:t}){const{nf:e,configuration:r}=await t.json(),n=await dkt(e,r);return xt(n)||Nt(),Ft(n)}async function Skt({request:t}){const{nf:e,logsConfig:r}=await t.json(),n=await p4e({nf:e,logsConfig:r});return xt(n)?Ar():Nt(),Ft(n)}async function wkt(){const t=$.apis.licensing.licenses;return De({options:{url:t,method:"GET"}})}async function Ckt(){const t=$.apis.licensing.host;return De({options:{url:t,method:"GET"}})}async function Akt(t){const e=$.apis.licensing.licenses;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function kkt(t,e){const r=$.apis.licensing.setLicense(t);return De({options:{url:r,method:"PUT",data:JSON.stringify({license_id:e})}})}async function Mkt(t){const e=$.apis.licensing.persistLicense(t);return De({options:{url:e,method:"POST"}})}async function Pkt(t,e){const r=new URLSearchParams;return e!==void 0&&r.set("precedence",e.toString()),De({options:{url:`${$.apis.licensing.licenses}/${t}${r.size?"?"+r.toString():""}`,method:"DELETE"}})}async function jkt(){const[t,e]=await Promise.all([wkt(),Ckt()]);return{licenses:t,hostInfo:e}}async function Tkt({request:t}){const r=(await t.formData()).getAll("files"),n=await kue(r[0]),i=JSON.parse(n).licenses,o=await Promise.all(i.map(async l=>{const{license_id:c,license_content:u,license_nf_type:d}=l,f={license_id:c,precedence:10,signature_type:"ssl",signed_license:{license:u,signature_type:"ssl"}};let p={license_id:c,license_nf_type:d,install:!1,set:!1,persist:!1,errorCount:0};const m=await Akt(f);xt(m)?p={...p,errorCount:p.errorCount+1,installError:m.error.title}:p={...p,install:!0};const h=await kkt(d,c);xt(h)?p={...p,errorCount:p.errorCount+1,setError:h.error.title}:p={...p,set:!0};const _=await Mkt(d);return xt(_)?p={...p,errorCount:p.errorCount+1,persistError:_.error.title}:p={...p,persist:!0},p}));return o.every(l=>l.errorCount===0)&&Nt(),Ft({error:{title:"Something went wrong",detail:"Not all actions worked",status:444,errorList:o}})}async function Ekt({request:t}){const{license_id:e,precedence:r}=await t.json(),n=await Pkt(e,r);return xt(n)?Ar():Nt(),Ft(n)}async function Rkt({request:t}){const e=await t.json(),r=await d4e(e);return xt(r)?Ar():Nt(),Ft(r)}async function Ikt({request:t}){const r=(await t.formData()).getAll("files")[0],n=await oht(r);return xt(n)&&Ar(),Ft(n)}async function Dkt(){return De({options:{url:$.apis.pls.troubleshootDump.all,method:"GET"}})}async function $kt(t){return De({options:{url:$.apis.pls.troubleshootDump.create,method:"POST",data:t}})}async function Okt(t){return De({options:{url:$.apis.pls.troubleshootDump.get(t),method:"DELETE"}})}async function Lkt({request:t}){const e=await t.json(),r=await $kt(e);return xt(r)||(Nt(),rt($.urls.systemTroubleshootDump)),r}async function Nkt({request:t}){const{id:e}=await t.json(),r=await Okt(e);return xt(r)?Ar():(Nt(),rt($.urls.systemTroubleshootDump)),r}async function Fkt(t){return Wt({loaderArgs:t,deferred:!0,data:{schedule:mkt()}})}async function Fee(t){return Wt({loaderArgs:t,deferred:!0,data:{services:ma()}})}function Uee({stream:t}){return async e=>{const r=await Mie(),{request:n}=e,s=new URL(n.url),i=s.searchParams.get("entries"),o=s.searchParams.get("skip"),l=s.searchParams.get("boot"),c=s.searchParams.get("cursor")||"",u=s.searchParams.getAll("field"),d=s.searchParams.get("grep"),f=s.searchParams.get("since")||"",p=s.searchParams.get("until")||"";if(l===null)return s.searchParams.set("boot","true"),rt(s.href);let m=80;if(i!==null){const C=parseInt(i);if($.pageSizeOptions.includes(C))m=C;else return s.searchParams.set("entries",m.toString()),rt(s.href)}else return s.searchParams.set("entries",m.toString()),rt(s.href);let h=0;if(o!==null)if(f||p){const C=parseInt(o);if(C%m!==0)return s.searchParams.set("skip",h.toString()),rt(s.href);h=C}else{const C=parseInt(o);if($.pageSizeOptions.includes(Math.abs(C))||C===0)h=C;else return s.searchParams.set("skip",h.toString()),rt(s.href)}else return s.searchParams.set("skip",h.toString()),rt(s.href);const _=200,g=0;if(t){if(h!==g||m!==_)return s.searchParams.set("entries",_.toString()),s.searchParams.set("skip",g.toString()),rt(s.href);if(c)return s.searchParams.delete("cursor"),rt(s.href);if(f)return s.searchParams.delete("since"),rt(s.href);if(p)return s.searchParams.delete("until"),rt(s.href)}if((f||p)&&c)return s.searchParams.delete("cursor"),rt(s.href);if(u.some(C=>!C))return s.searchParams.delete("field"),u.filter(C=>!!C).forEach(C=>{s.searchParams.append("field",C)}),rt(s.href);if(u.some(C=>{const[k]=z_(C);return k!==k.toUpperCase()}))return s.searchParams.delete("field"),u.filter(C=>!!C).forEach(C=>{const[k,A]=z_(C);s.searchParams.append("field",`${k.toUpperCase()}=${A}`)}),rt(s.href);let x="",w="";return f&&!ai.utc(f).isValid()?(s.searchParams.delete("since"),rt(s.href)):p&&!ai.utc(p).isValid()?(s.searchParams.delete("until"),rt(s.href)):(f&&(x=ai.utc(f).unix().toString()),p&&(w=ai.utc(p).unix().toString()),Wt({loaderArgs:e,deferred:!0,data:{entries:kie({numEntries:m,numSkip:h,cursor:c,boot:Lue(l),fields:u,stream:t,grep:d,since:x,until:w}),machine:r}}))}}function Ukt(t){return Wt({loaderArgs:t,deferred:!0,data:{machine:Mie(),exceptionsCount:g4e()}})}async function Bkt(t){return Wt({loaderArgs:t,deferred:!0,data:{fields:y4e()}})}async function zkt(t){const{params:e}=t,{field_name:r}=e;if(!r)throw Li({type:mn.NOT_FOUND});return Wt({loaderArgs:t,deferred:!0,data:{fields:b4e({fieldName:r})}})}async function qkt(t){const{params:e}=t,{cursor:r}=e;if(!r)throw Li({type:mn.NOT_FOUND});return Wt({loaderArgs:t,deferred:!0,data:{entries:kie({cursor:r,numEntries:1,numSkip:0,stream:!1})}})}function Vkt(t){return Wt({loaderArgs:t,deferred:!0,data:{logsConfig:h4e()}})}async function Hkt(t){return Wt({loaderArgs:t,deferred:!0,data:{licensing:jkt()}})}async function Gkt(t){return Wt({loaderArgs:t,deferred:!0,data:{services:vL()}})}async function Wkt({name:t}){try{const e=await f4e({name:t});if(!e)throw Li({type:mn.SERVICE_UNAVAILABLE,data:t});return e}catch{throw Li({type:mn.SERVICE_UNAVAILABLE,data:t})}}async function Ykt(t){return Wt({loaderArgs:t,deferred:!0,data:{logsStream:lht()}})}const Kkt=async()=>(await Wkt({name:ue.TERMINAL}),null);async function Qkt(t){return Wt({loaderArgs:t,deferred:!0,data:{files:T4e()}})}async function Zkt(t){return Wt({loaderArgs:t,deferred:!0,data:{schedules:Dkt().then(e=>e.sort((r,n)=>Date.parse(n.created_at)-Date.parse(r.created_at)))}})}const Xkt={path:"system",handle:vr({labelIntl:"route.system",icon:a.jsx(ge.System,{})}),children:[{element:a.jsx(Or,{fullHeight:!0,transparent:!0,center:!0}),children:[{path:"upgrade",handle:vr({labelIntl:"route.system.upgrade",to:$.urls.systemUpgrade}),loader:Ykt,element:a.jsx(FAt,{}),shouldRevalidate:()=>!1,children:[{path:"upload",action:Ikt,loader:()=>rt("..")}]}]},{element:a.jsx(Or,{fullHeight:!0}),children:[{path:"licensing",handle:vr({labelIntl:"route.system.licensing",to:$.urls.systemLicensing}),loader:Hkt,element:a.jsx(v3t,{}),children:[{path:"install",action:Tkt,loader:()=>rt("..")},{path:"delete",action:Ekt,loader:()=>rt("..")}]},{path:"services",handle:vr({labelIntl:"route.system.services",to:$.urls.systemServices}),loader:Gkt,element:a.jsx(vAt,{}),children:[{path:"management",action:Rkt,loader:()=>rt("..")}]},{path:"terminal",loader:Kkt,handle:vr({labelIntl:"route.system.terminal",to:$.urls.systemTerminal}),element:a.jsx(GAt,{}),children:[{path:"list",loader:Qkt,element:a.jsx(ur,{to:$.urls.systemTerminal,replace:!0})}]},{path:"backup",loader:Fkt,handle:vr({labelIntl:"route.system.backup",to:$.urls.systemBackup}),element:a.jsx(u3t,{}),children:[{index:!0,element:a.jsx(ur,{to:"backup-schedules",replace:!0})},{path:"backup-schedules",element:a.jsx($ee,{isBackup:!0}),children:[{index:!0,element:as([ie.backup,ie.configuration])?a.jsx(ur,{to:"configuration",replace:!0}):a.jsx(ur,{to:"pls",replace:!0})},{path:"configuration",element:a.jsx(p3t,{}),errorElement:a.jsx(en,{}),loader:Fee,children:[{path:"configuration-backup",action:ykt,loader:()=>rt("..")}]},{path:":nf",element:a.jsx(Dee,{isBackup:!0})}]},{path:"restore-schedules",element:a.jsx($ee,{isBackup:!1}),children:[{index:!0,element:as([ie.backup,ie.configuration])?a.jsx(ur,{to:"configuration",replace:!0}):a.jsx(ur,{to:"pls",replace:!0})},{path:"configuration",element:a.jsx(g3t,{}),errorElement:a.jsx(en,{}),loader:Fee,children:[{path:"configuration-restore",action:bkt,loader:()=>rt("..")}]},{path:":nf",element:a.jsx(Dee,{isBackup:!1})}]},{path:"schedule-backup",action:_kt,loader:()=>rt("..")},{path:"schedule-restore",action:vkt,loader:()=>rt("..")},{path:"update-configuration",action:xkt,loader:()=>rt("..")}]},{path:"troubleshoot-dump",element:a.jsx(ZAt,{}),handle:vr({labelIntl:"route.system.troubleshoot_dump",to:$.urls.systemTroubleshootDump}),loader:Zkt,children:[{path:"create",action:Lkt},{path:"delete",action:Nkt}]}]},{path:"logs",handle:vr({icon:a.jsx(ge.Logs,{}),labelIntl:"route.system.logs",to:$.urls.systemLogs}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{element:a.jsx(Or,{fullHeight:!0}),children:[{element:a.jsx(pAt,{}),loader:Ukt,children:[{path:"entries",loader:Uee({stream:!1}),element:a.jsx(dAt,{})},{path:"fields",loader:Bkt,element:a.jsx(ur,{to:$.urls.systemLogs,replace:!0}),children:[{path:":field_name",loader:zkt,element:a.jsx(ur,{to:$.urls.systemLogs,replace:!0})}]},{path:"follow",loader:Uee({stream:!0}),element:a.jsx(cAt,{})},{path:"config",loader:Vkt,element:a.jsx(ur,{to:$.urls.systemLogs,replace:!0}),children:[{path:"update",action:Skt,loader:()=>rt("..")}]}]}]},{element:a.jsx(Or,{center:!0}),children:[{path:"cursor",children:[{index:!0,element:a.jsx(ur,{to:$.urls.systemLogs,replace:!0})},{path:":cursor",loader:qkt,handle:t=>{const e=t.params.cursor;return vr({labelIntl:"route.system.logs.cursor",captionIntl:"route.system.logs.cursor.caption",captionIntlParams:{cursor:e},to:$.urls.systemLogsCursor})},element:a.jsx(gAt,{})}]}]}]},{path:"boot-partitions",element:a.jsx(ur,{to:"/",replace:!0}),loader:Vmt},{path:"boot-partitions-update",loader:()=>rt("/"),action:wmt}]},Vy=Pr(),Jkt=dr().shape({description:We().matches(new RegExp($.regex.descriptionRm),Vy.formatMessage({id:"udm_home_network_keys.form.errors.format"},{value:"^[ -~]{1,128}"})),home_network_identifier:We().matches(new RegExp($.regex.plmnStr)).required(Vy.formatMessage({id:"udm_home_network_keys.form.errors.required"})),key_id:kn().min(1).max(255).required(Vy.formatMessage({id:"udm_home_network_keys.form.errors.required"})),private_key:We().when("profile",(t,e)=>t==="A"?e.matches(new RegExp($.regex.ecX25519PrivateKey)):e.matches(new RegExp($.regex.secp256r1PrivateKey))).required(Vy.formatMessage({id:"udm_home_network_keys.form.errors.required"})),profile:We().matches(new RegExp("^(A|B)$")).required(Vy.formatMessage({id:"udm_home_network_keys.form.errors.required"}))}),eMt=()=>{const t=he.c(13),e=Ye(),{dialogClose:r}=Jt(),{upsertFetcher:n}=Ys(),{data:s,state:i,submit:o}=n;let l;t[0]!==o?(l=h=>{o({key_id:+h.key_id,home_network_identifier:h.home_network_identifier,private_key:h.private_key,profile:h.profile,...h.description&&{description:h.description}},{action:$.urls.udmHomeNetworkKeysCreate_Action,method:"POST",encType:"application/json"})},t[0]=o,t[1]=l):l=t[1];const c=l;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u={key_id:"",home_network_identifier:"",private_key:"",public_key:"",profile:"A",description:""},t[2]=u):u=t[2];const d=u;let f;t[3]!==r?(f=()=>r(),t[3]=r,t[4]=f):f=t[4];let p;t[5]!==s||t[6]!==e||t[7]!==i?(p=()=>a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"key_id",children:h=>{const{field:_,meta:g}=h;return a.jsx(dt,{..._,label:e.formatMessage({id:"udm_home_network_keys.form.key_id"}),size:"small",error:!!g.error,helperText:g.error,disabled:i!=="idle"})}}),a.jsx(Ke,{name:"description",children:h=>{const{field:_,meta:g}=h;return a.jsx(dt,{..._,label:e.formatMessage({id:"udm_home_network_keys.form.description"}),size:"small",error:!!g.error,helperText:g.error,disabled:i!=="idle"})}}),a.jsx(Ke,{name:"home_network_identifier",children:h=>{const{field:_,meta:g}=h;return a.jsx(dt,{..._,label:e.formatMessage({id:"udm_home_network_keys.form.home_network_identifier"}),size:"small",error:!!g.error,helperText:g.error,disabled:i!=="idle"})}}),a.jsx(Ke,{name:"profile",children:h=>{const{field:_,meta:g}=h;return a.jsxs(qs,{..._,label:e.formatMessage({id:"udm_home_network_keys.form.profile"}),size:"small",error:!!g.error,helperText:g.error,disabled:i!=="idle",children:[a.jsx(En,{value:"A",children:"A"},"A"),a.jsx(En,{value:"B",children:"B"},"B")]})}}),a.jsx(Ke,{name:"private_key",children:h=>{const{field:_,meta:g}=h;return a.jsx(dt,{..._,label:e.formatMessage({id:"udm_home_network_keys.form.private_key"}),size:"small",error:!!g.error,helperText:g.error,disabled:i!=="idle"})}}),a.jsx(Xr,{data:s})]}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:e.formatMessage({id:"udm_home_network_keys.form.cancel"}),type:"reset",variant:"outlined",disabled:i!=="idle"||!Ue(ie.provisioning)}),a.jsx(Ze,{text:e.formatMessage({id:"udm_home_network_keys.form.save"}),type:"submit",disabled:i!=="idle"||!Ue(ie.provisioning)})]})]})}),t[5]=s,t[6]=e,t[7]=i,t[8]=p):p=t[8];let m;return t[9]!==c||t[10]!==f||t[11]!==p?(m=a.jsx(te,{padding:2,children:a.jsx(Wr,{initialValues:d,validationSchema:Jkt,onSubmit:c,onReset:f,children:p})}),t[9]=c,t[10]=f,t[11]=p,t[12]=m):m=t[12],m},tMt=()=>{const t=he.c(23),e=Ye(),{dialogOpen:r}=Jt();let n;t[0]!==r||t[1]!==e?(n=()=>{r({title:e.formatMessage({id:"udm_home_network_keys.form.title_create"}),content:rMt,closeOnBackdropClick:!1})},t[0]=r,t[1]=e,t[2]=n):n=t[2];const s=n;let i;t[3]!==r||t[4]!==e?(i=()=>{r({title:e.formatMessage({id:"udm_home_network_keys.upload.form.title"}),content:()=>a.jsx(bx,{min:1,max:1,filesLabel:e.formatMessage({id:"udm_home_network_keys.upload.form.file"}),accept:{".enc":[".enc"]},requiredMessage:e.formatMessage({id:"udm_home_network_keys.upload.form.file.required"}),description:e.formatMessage({id:"udm_home_network_keys.upload.form.description"}),action:"udm/home-network-keys/upload"})})},t[3]=r,t[4]=e,t[5]=i):i=t[5];const o=i;let l;t[6]!==e?(l=e.formatMessage({id:"udm_home_network_keys.toolbar.upload"}),t[6]=e,t[7]=l):l=t[7];let c;t[8]===Symbol.for("react.memo_cache_sentinel")?(c=a.jsx(ge.Upload,{}),t[8]=c):c=t[8];let u;t[9]===Symbol.for("react.memo_cache_sentinel")?(u=Ue(ie.provisioning),t[9]=u):u=t[9];let d;t[10]!==o||t[11]!==l?(d=a.jsx(Ze,{variant:"outlined","data-testid":"udm-home-network-keys-btn-upload",text:l,startIcon:c,onClick:o,disabled:!u}),t[10]=o,t[11]=l,t[12]=d):d=t[12];let f;t[13]!==e?(f=e.formatMessage({id:"udm_home_network_keys.toolbar.new"}),t[13]=e,t[14]=f):f=t[14];let p;t[15]===Symbol.for("react.memo_cache_sentinel")?(p=a.jsx(ge.Add,{}),t[15]=p):p=t[15];let m;t[16]===Symbol.for("react.memo_cache_sentinel")?(m=Ue(ie.provisioning),t[16]=m):m=t[16];let h;t[17]!==s||t[18]!==f?(h=a.jsx(Ze,{text:f,startIcon:p,onClick:s,disabled:!m}),t[17]=s,t[18]=f,t[19]=h):h=t[19];let _;return t[20]!==d||t[21]!==h?(_=a.jsxs(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:[d,h]}),t[20]=d,t[21]=h,t[22]=_):_=t[22],_};function rMt(){return a.jsx(eMt,{})}const nMt=()=>{const t=he.c(65),e=Ye(),{openConfirmDialog:r}=di(),n=Gr(),s=On(),i=gr(),{pageSize:o,pageSizeOptions:l,changePageSize:c,changePage:u,getRowsCount:d,getPage:f}=Na();let p;t[0]!==i||t[1]!==e||t[2]!==r?(p=Q=>{const{id:Y,key_id:Z}=Q;Y&&r({text:e.formatMessage({id:"udm_home_network_keys.actions.confirm_delete"},{value:Z}),onConfirm:()=>{i.submit({id:Y},{action:$.urls.udmHomeNetworkKeysDelete_Action,method:"POST",encType:"application/json"})}})},t[0]=i,t[1]=e,t[2]=r,t[3]=p):p=t[3];const m=p;let h;t[4]!==e?(h=e.formatMessage({id:"udm_home_network_keys.table.key_id"}),t[4]=e,t[5]=h):h=t[5];let _;t[6]!==h?(_={key:"key_id",label:h},t[6]=h,t[7]=_):_=t[7];let g;t[8]!==e?(g=e.formatMessage({id:"udm_home_network_keys.table.description"}),t[8]=e,t[9]=g):g=t[9];let y;t[10]!==g?(y={key:"description",label:g},t[10]=g,t[11]=y):y=t[11];let b;t[12]!==e?(b=e.formatMessage({id:"udm_home_network_keys.table.home_network_identifier"}),t[12]=e,t[13]=b):b=t[13];let x;t[14]!==b?(x={key:"home_network_identifier",label:b},t[14]=b,t[15]=x):x=t[15];let w;t[16]!==e?(w=e.formatMessage({id:"udm_home_network_keys.table.profile"}),t[16]=e,t[17]=w):w=t[17];let C;t[18]!==w?(C={key:"profile",label:w},t[18]=w,t[19]=C):C=t[19];let k;t[20]!==e?(k=e.formatMessage({id:"udm_home_network_keys.table.public_key"}),t[20]=e,t[21]=k):k=t[21];let A;t[22]!==k?(A={key:"public_key",label:k,cellRender:sMt},t[22]=k,t[23]=A):A=t[23];let P;t[24]!==e?(P=e.formatMessage({id:"udm_home_network_keys.table.created_at"}),t[24]=e,t[25]=P):P=t[25];let T;t[26]!==P?(T={key:"created_at",label:P,cellRender:iMt},t[26]=P,t[27]=T):T=t[27];let j;t[28]!==e?(j=e.formatMessage({id:"udm_home_network_keys.table.modified_at"}),t[28]=e,t[29]=j):j=t[29];let R;t[30]!==j?(R={key:"modified_at",label:j,cellRender:oMt},t[30]=j,t[31]=R):R=t[31];let D;t[32]!==A||t[33]!==T||t[34]!==R||t[35]!==_||t[36]!==y||t[37]!==x||t[38]!==C?(D=[_,y,x,C,A,T,R],t[32]=A,t[33]=T,t[34]=R,t[35]=_,t[36]=y,t[37]=x,t[38]=C,t[39]=D):D=t[39];const O=D;let N;t[40]!==e?(N=e.formatMessage({id:"udm_home_network_keys.actions.delete"}),t[40]=e,t[41]=N):N=t[41];let F;t[42]===Symbol.for("react.memo_cache_sentinel")?(F=a.jsx(ge.Trash,{}),t[42]=F):F=t[42];let U;t[43]!==i.state||t[44]!==s.state?(U=s.state!=="idle"||i.state!=="idle"||!Ue(ie.provisioning),t[43]=i.state,t[44]=s.state,t[45]=U):U=t[45];let z;t[46]!==m||t[47]!==N||t[48]!==U?(z=[{label:N,icon:F,onClick:m,disabled:U}],t[46]=m,t[47]=N,t[48]=U,t[49]=z):z=t[49];const H=z;let W;t[50]===Symbol.for("react.memo_cache_sentinel")?(W=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[50]=W):W=t[50];let K;t[51]===Symbol.for("react.memo_cache_sentinel")?(K=a.jsx(Tr,{}),t[51]=K):K=t[51];let q;t[52]!==u||t[53]!==c||t[54]!==O||t[55]!==i.state||t[56]!==f||t[57]!==d||t[58]!==o||t[59]!==l||t[60]!==H?(q=Q=>{const{data:Y,metadata:Z}=Q;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(tMt,{})}),a.jsx(Br,{autoScale:!0,loading:i.state!=="idle",orderBy:"key_id",columns:O,data:Y,page:f(Z),labelDisplayedRows:aMt,rowsCount:d(Z),rowsPerPage:o,onRowsPerPageChange:c,rowsPerPageOptions:l,rowKey:"key_id",rowActions:H,stickyRowActions:!0,onPageChange:u(Z)})]})},t[52]=u,t[53]=c,t[54]=O,t[55]=i.state,t[56]=f,t[57]=d,t[58]=o,t[59]=l,t[60]=H,t[61]=q):q=t[61];let X;return t[62]!==n.autorules||t[63]!==q?(X=a.jsx(I.Suspense,{fallback:W,children:a.jsx(Qt,{resolve:n.autorules,errorElement:K,children:q})}),t[62]=n.autorules,t[63]=q,t[64]=X):X=t[64],X};function sMt(t){const{public_key:e}=t;return a.jsx(Ap,{text:e,max:8})}function iMt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function oMt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function aMt(){return""}const $D=Pr(),lMt=dr().shape({prefix:We().required($D.formatMessage({id:"udm_plmn_prefixes.prefix.form_errors.required"})).matches(new RegExp($.regex.plmnPrefix)),mcc:We().required($D.formatMessage({id:"udm_plmn_prefixes.mcc.form_errors.required"})).matches(new RegExp($.regex.mcc)),mnc:We().required($D.formatMessage({id:"udm_plmn_prefixes.mnc.form_errors.required"})).matches(new RegExp($.regex.mnc))}),tme=t=>{const e=he.c(25),{id:r}=t,n=Ye(),{upsertFetcher:s,dataFetcher:i}=Ys(),{submit:o,data:l,state:c}=s,{load:u,data:d,state:f}=i,{dialogClose:p}=Jt(),m=!!r;let h,_;e[0]!==r||e[1]!==m||e[2]!==u?(h=()=>{m&&u(`udm/plmn-prefixes/${r}`)},_=[r,m,u],e[0]=r,e[1]=m,e[2]=u,e[3]=h,e[4]=_):(h=e[3],_=e[4]),I.useEffect(h,_);let g;e[5]!==m||e[6]!==o?(g=R=>{o(R,{method:"POST",encType:"application/json",action:m?"udm/plmn-prefixes/update":"udm/plmn-prefixes/create"})},e[5]=m,e[6]=o,e[7]=g):g=e[7];const y=g,b=d?.udmPlmnPrefix.prefix||"",x=d?.udmPlmnPrefix.mcc||"",w=d?.udmPlmnPrefix.mnc||"";let C;e[8]!==b||e[9]!==x||e[10]!==w?(C={prefix:b,mcc:x,mnc:w},e[8]=b,e[9]=x,e[10]=w,e[11]=C):C=e[11];const k=C,A=f!=="idle";let P;e[12]!==p||e[13]!==n||e[14]!==m||e[15]!==l||e[16]!==c?(P=()=>a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"prefix",children:R=>{const{field:D,meta:O}=R;return a.jsx(dt,{...D,label:n.formatMessage({id:"udm_plmns_prefixes.prefix"}),size:"small",error:!!O.error,helperText:O.error,disabled:m||c!=="idle"})}}),a.jsx(Ke,{name:"mcc",children:R=>{const{field:D,meta:O}=R;return a.jsx(dt,{...D,label:n.formatMessage({id:"udm_plmns_prefixes.mcc"}),size:"small",error:!!O.error,helperText:O.error,disabled:c!=="idle"})}}),a.jsx(Ke,{name:"mnc",children:R=>{const{field:D,meta:O}=R;return a.jsx(dt,{...D,label:n.formatMessage({id:"udm_plmns_prefixes.mnc"}),size:"small",error:!!O.error,helperText:O.error,disabled:c!=="idle"})}}),a.jsx(Xr,{data:l})]}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:n.formatMessage({id:"common.form.cancel"}),variant:"outlined",disabled:c!=="idle"||!Ue(ie.provisioning),onClick:()=>p()}),a.jsx(Ze,{text:n.formatMessage({id:"common.form.submit"}),type:"submit",loading:c!=="idle",disabled:!Ue(ie.provisioning)})]})]})}),e[12]=p,e[13]=n,e[14]=m,e[15]=l,e[16]=c,e[17]=P):P=e[17];let T;e[18]!==y||e[19]!==k||e[20]!==P?(T=a.jsx(Wr,{initialValues:k,validationSchema:lMt,onSubmit:y,children:P}),e[18]=y,e[19]=k,e[20]=P,e[21]=T):T=e[21];let j;return e[22]!==A||e[23]!==T?(j=a.jsx(_s,{loading:A,children:T}),e[22]=A,e[23]=T,e[24]=j):j=e[24],j};function cMt(){const t=he.c(73),e=Ye(),{dialogOpen:r}=Jt(),{openConfirmDialog:n}=di(),{pageSize:s,pageSizeOptions:i,changePageSize:o,changePage:l,getRowsCount:c,getPage:u}=Na(),d=zn(),{submit:f,state:p}=gr();let m;t[0]!==r||t[1]!==e?(m=()=>{r({title:e.formatMessage({id:"udr_plmns.toolbar.new_plmn"}),content:pMt,closeOnBackdropClick:!1})},t[0]=r,t[1]=e,t[2]=m):m=t[2];const h=m;let _;t[3]!==r||t[4]!==e?(_=le=>{r({title:e.formatMessage({id:"udr_plmns.toolbar.new_plmn"}),content:()=>a.jsx(tme,{id:le}),closeOnBackdropClick:!1})},t[3]=r,t[4]=e,t[5]=_):_=t[5];const g=_;let y;t[6]!==e||t[7]!==n||t[8]!==f?(y=le=>{n({text:e.formatMessage({id:"udm_plmns_prefixes.actions.delete.confirm"},{prefix:le}),onConfirm:()=>{f({prefix:le},{method:"POST",encType:"application/json",action:"delete"})}})},t[6]=e,t[7]=n,t[8]=f,t[9]=y):y=t[9];const b=y;let x;t[10]!==e?(x=e.formatMessage({id:"udm_plmns_prefixes.prefix"}),t[10]=e,t[11]=x):x=t[11];let w;t[12]!==x?(w={key:"prefix",label:x},t[12]=x,t[13]=w):w=t[13];let C;t[14]!==e?(C=e.formatMessage({id:"udm_plmns_prefixes.mcc"}),t[14]=e,t[15]=C):C=t[15];let k;t[16]!==C?(k={key:"mcc",label:C},t[16]=C,t[17]=k):k=t[17];let A;t[18]!==e?(A=e.formatMessage({id:"udm_plmns_prefixes.mnc"}),t[18]=e,t[19]=A):A=t[19];let P;t[20]!==A?(P={key:"mnc",label:A},t[20]=A,t[21]=P):P=t[21];let T;t[22]!==e?(T=e.formatMessage({id:"udm_plmns_prefixes.created_at"}),t[22]=e,t[23]=T):T=t[23];let j;t[24]!==T?(j={key:"created_at",label:T,cellRender:fMt},t[24]=T,t[25]=j):j=t[25];let R;t[26]!==e?(R=e.formatMessage({id:"udm_plmns_prefixes.modified_at"}),t[26]=e,t[27]=R):R=t[27];let D;t[28]!==R?(D={key:"modified_at",label:R,cellRender:dMt},t[28]=R,t[29]=D):D=t[29];let O;t[30]!==j||t[31]!==D||t[32]!==w||t[33]!==k||t[34]!==P?(O=[w,k,P,j,D],t[30]=j,t[31]=D,t[32]=w,t[33]=k,t[34]=P,t[35]=O):O=t[35];const N=O;let F;t[36]===Symbol.for("react.memo_cache_sentinel")?(F=_l(ie.provisioning),t[36]=F):F=t[36];let U;t[37]!==g?(U=le=>{const{prefix:ee}=le;return g(ee)},t[37]=g,t[38]=U):U=t[38];const z=p!=="idle";let H;t[39]!==U||t[40]!==z?(H={...F,onClick:U,disabled:z},t[39]=U,t[40]=z,t[41]=H):H=t[41];let W;t[42]!==e?(W=e.formatMessage({id:"common.delete"}),t[42]=e,t[43]=W):W=t[43];let K;t[44]===Symbol.for("react.memo_cache_sentinel")?(K=a.jsx(ge.Trash,{}),t[44]=K):K=t[44];let q;t[45]!==b?(q=le=>{const{prefix:ee}=le;return b(ee)},t[45]=b,t[46]=q):q=t[46];let X;t[47]!==p?(X=p!=="idle"||!Ue(ie.provisioning),t[47]=p,t[48]=X):X=t[48];let Q;t[49]!==W||t[50]!==q||t[51]!==X?(Q={label:W,icon:K,onClick:q,disabled:X},t[49]=W,t[50]=q,t[51]=X,t[52]=Q):Q=t[52];let Y;t[53]!==H||t[54]!==Q?(Y=[H,Q],t[53]=H,t[54]=Q,t[55]=Y):Y=t[55];const Z=Y;let re;t[56]===Symbol.for("react.memo_cache_sentinel")?(re=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[56]=re):re=t[56];let fe;t[57]===Symbol.for("react.memo_cache_sentinel")?(fe=a.jsx(Tr,{}),t[57]=fe):fe=t[57];let de;t[58]!==l||t[59]!==o||t[60]!==N||t[61]!==u||t[62]!==c||t[63]!==h||t[64]!==e||t[65]!==s||t[66]!==i||t[67]!==Z||t[68]!==p?(de=le=>{const{data:ee,metadata:J}=le;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{text:e.formatMessage({id:"common.new"}),startIcon:a.jsx(ge.Add,{}),onClick:h,disabled:p!=="idle"||!Ue(ie.provisioning)})}),a.jsx(Br,{autoScale:!0,orderBy:"prefix",columns:N,data:ee,page:u(J),labelDisplayedRows:uMt,rowsCount:c(J),rowsPerPage:s,onRowsPerPageChange:o,rowsPerPageOptions:i,rowKey:"mcc",stickyRowActions:!0,onPageChange:l(J),rowActions:Z})]})},t[58]=l,t[59]=o,t[60]=N,t[61]=u,t[62]=c,t[63]=h,t[64]=e,t[65]=s,t[66]=i,t[67]=Z,t[68]=p,t[69]=de):de=t[69];let se;return t[70]!==d.udrPlmnPrefixList||t[71]!==de?(se=a.jsx(I.Suspense,{fallback:re,children:a.jsx(Qt,{resolve:d.udrPlmnPrefixList,errorElement:fe,children:de})}),t[70]=d.udrPlmnPrefixList,t[71]=de,t[72]=se):se=t[72],se}function uMt(){return""}function dMt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function fMt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function pMt(){return a.jsx(tme,{})}async function mMt({request:t}){const e=await t.json(),r=await Alt(e);return xt(r)?Ar():Nt(),Ft(r)}async function hMt({request:t}){const r=(await t.formData()).getAll("files"),n=await klt(r[0]);return xt(n)||Nt(),Ft(n)}async function gMt({request:t}){const{id:e}=await t.json(),r=await Mlt(e);return xt(r)?Ar():Nt(),Ft(r)}async function _Mt({request:t}){const{mcc:e,mnc:r,prefix:n}=await t.json(),s=await Tlt({mcc:e,mnc:r,prefix:n});return xt(s)?Ar():Nt(),Ft(s)}async function vMt({request:t}){const{mcc:e,mnc:r,prefix:n}=await t.json(),s=await Elt(n,{mcc:e,mnc:r});return xt(s)?Ar():Nt(),Ft(s)}async function yMt({request:t}){const{prefix:e}=await t.json(),r=await Rlt(e);return xt(r)?Ar():Nt(),Ft(r)}async function bMt(t){const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{autorules:Clt({pageSize:+e,paginationToken:r})}})}const xMt=async t=>{const{id:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{udmPlmnPrefix:Plt(e)}}):null},SMt=async t=>{const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{udrPlmnPrefixList:jlt({pageSize:+e,...r&&{paginationToken:r}})}})},wMt=Pr(),CMt={path:"udm",handle:vr({labelIntl:"route.udm",icon:a.jsx(ge.UDM,{})}),children:[{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.UDM,{dbCluster:!0})]},{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{path:"status",handle:vr({labelIntl:"route.udm.status",to:$.urls.udmStatus}),element:a.jsx(Ao,{tabs:[{url:"diameter",label:wMt.formatMessage({id:"route.diameter"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"diameter",replace:!0})},qp({path:"diameter",nf:ue.UDM})]},io(ue.UDM),{path:"home-network-keys",handle:vr({labelIntl:"route.udm.home-network-keys",to:$.urls.udmHomeNetworkKeys}),loader:bMt,element:a.jsx(nMt,{}),children:[{action:mMt,path:"create",loader:()=>rt("..")},{action:gMt,path:"delete",loader:()=>rt("..")},{action:hMt,path:"upload",loader:()=>rt("..")}]},{path:"plmn-prefixes",handle:vr({labelIntl:"route.udm.plmn-prefixes",to:"/udm/plmn-prefixes"}),loader:SMt,element:a.jsx(cMt,{}),children:[{path:":id",loader:xMt,element:a.jsx(ur,{to:"/udm/plmn-prefixes",replace:!0})},{path:"create",action:_Mt,loader:()=>rt("..")},{path:"update",action:vMt,loader:()=>rt("..")},{path:"delete",action:yMt,loader:()=>rt("..")}]}]}]};var rh=(t=>(t.REPOSITORY_DATA="REPOSITORY_DATA",t.IMSI="IMSI",t.IMS_PUBLIC_IDENTITY="IMS_PUBLIC_IDENTITY",t.SMS_REGISTRATION_INFO="SMS_REGISTRATION_INFO",t))(rh||{}),Cu=(t=>(t.READ="READ",t.WRITE="WRITE",t.SUBSCRIBE="SUBSCRIBE",t))(Cu||{});const rme=["REPOSITORY_DATA","IMSI","IMS_PUBLIC_IDENTITY","SMS_REGISTRATION_INFO"],nme=t=>{const e=he.c(31),{id:r}=t,n=Ye(),{dialogClose:s}=Jt(),{upsertFetcher:i,dataFetcher:o}=Ys(),{data:l,state:c,submit:u}=i,{data:d,state:f,load:p}=o,m=r!==void 0;let h;e[0]!==u||e[1]!==r||e[2]!==m?(h=T=>{const{application_server:j,data_reference:R,permissions:D}=T;if(m){u({id:r,permissions:D},{action:`${$.urls.udrImsApplicationServerAcls}/update`,method:"POST",encType:"application/json"});return}u({application_server:j,data_reference:R,permissions:D},{action:`${$.urls.udrImsApplicationServerAcls}/create`,method:"POST",encType:"application/json"})},e[0]=u,e[1]=r,e[2]=m,e[3]=h):h=e[3];const _=h;let g;e:{if(!m||!d){let N;e[4]===Symbol.for("react.memo_cache_sentinel")?(N={application_server:"",data_reference:rh.REPOSITORY_DATA,permissions:[Cu.READ]},e[4]=N):N=e[4],g=N;break e}const T=d?.udrImsApplicationServerAcl,j=T?.application_server||"",R=T.data_reference||rh.REPOSITORY_DATA;let D;e[5]!==T.permissions?(D=T.permissions||[Cu.READ],e[5]=T.permissions,e[6]=D):D=e[6];let O;e[7]!==j||e[8]!==R||e[9]!==D?(O={application_server:j,data_reference:R,permissions:D},e[7]=j,e[8]=R,e[9]=D,e[10]=O):O=e[10],g=O}const y=g,b=AMt;let x;e[11]!==n?(x=dr().shape({application_server:We().required(n.formatMessage({id:"udr_ims_application_server_acls.form.error.required"})),data_reference:We().required(n.formatMessage({id:"udr_ims_application_server_acls.form.error.required"})),permissions:yr().when("data_reference",T=>yr().of(We()).required().min(1).test({name:"wrong-array-values",message:n.formatMessage({id:"udr_ims_application_server_acls.form.error.permissions"},{permissions:b(T)?.join(", ")}),test:j=>!j||j?.length===0?!1:j.every(R=>new RegExp(b(T)?.join("|")).test(R))}))}),e[11]=n,e[12]=x):x=e[12];const w=x;let C,k;e[13]!==r||e[14]!==m||e[15]!==p?(C=()=>{m&&p(`${$.urls.udrImsApplicationServerAcls}/${r}`)},k=[r,m,p],e[13]=r,e[14]=m,e[15]=p,e[16]=C,e[17]=k):(C=e[16],k=e[17]),I.useEffect(C,k);let A;e[18]!==s||e[19]!==l||e[20]!==c||e[21]!==d||e[22]!==n||e[23]!==m||e[24]!==f?(A=T=>{const{values:j}=T;return a.jsxs(dn,{canWrite:Ue(ie.provisioning),fullHeight:!0,children:[a.jsx(_s,{loading:m&&!d,children:a.jsxs(te,{spacing:2,fullHeight:!0,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"application_server",children:R=>{const{field:D,meta:O}=R;return a.jsx(dt,{...D,label:n.formatMessage({id:"udr_ims_application_server_acls.new_ims_application_server_acl.form.application_server"}),size:"small",error:!!O.error,helperText:O.error,disabled:f!=="idle"||c!=="idle"||m})}}),a.jsx(Ke,{name:"data_reference",children:R=>{const{field:D,meta:O,form:N}=R,{setFieldValue:F}=N;return a.jsx(rn,{value:D.value,name:D.name,label:n.formatMessage({id:"udr_ims_application_server_acls.new_ims_application_server_acl.form.data_reference"}),multiple:!1,size:"small",options:[...rme],onChange:(U,z)=>{F(D.name,z||"")},error:!!O.error,helperText:O.error,disabled:f!=="idle"||c!=="idle"||m,fullWidth:!0})}}),a.jsx(Ke,{name:"permissions",children:R=>{const{field:D,meta:O,form:N}=R,{setFieldValue:F}=N;return a.jsx(rn,{name:D.name,value:D.value,label:n.formatMessage({id:"udr_ims_application_server_acls.new_ims_application_server_acl.form.permissions"}),multiple:!0,size:"small",options:b(j.data_reference),onChange:(U,z)=>{F(D.name,[...new Set(z.map(kMt))])},error:!!O.error,helperText:O.error,disabled:f!=="idle"||c!=="idle",fullWidth:!0})}}),a.jsx(Xr,{data:l})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:n.formatMessage({id:"udr_ims_application_server_acls.new_ims_application_server_acl.cancel"}),onClick:()=>s(),variant:"outlined",disabled:f!=="idle"||c!=="idle"||!Ue(ie.provisioning)}),a.jsx(Ze,{text:n.formatMessage({id:"udr_ims_application_server_acls.new_ims_application_server_acl.save"}),type:"submit",disabled:f!=="idle"||c!=="idle"||!Ue(ie.provisioning)})]})})]})},e[18]=s,e[19]=l,e[20]=c,e[21]=d,e[22]=n,e[23]=m,e[24]=f,e[25]=A):A=e[25];let P;return e[26]!==_||e[27]!==y||e[28]!==A||e[29]!==w?(P=a.jsx(Wr,{initialValues:y,enableReinitialize:!0,validationSchema:w,onSubmit:_,children:A}),e[26]=_,e[27]=y,e[28]=A,e[29]=w,e[30]=P):P=e[30],P};function AMt(t){switch(t){case rh.SMS_REGISTRATION_INFO:return[Cu.READ,Cu.WRITE];case rh.REPOSITORY_DATA:return[Cu.READ,Cu.WRITE,Cu.SUBSCRIBE];case rh.IMS_PUBLIC_IDENTITY:return[Cu.READ];case rh.IMSI:return[Cu.READ]}}function kMt(t){return t.trim()}const MMt=()=>{const t=he.c(20),e=Ye(),[r,n]=hl(),{drawerClose:s}=Jt();let i;t[0]!==s||t[1]!==n?(i=h=>{n(()=>{const _=new URLSearchParams;return h.application_server_icont&&_.set("applicationServer",h.application_server_icont),h.data_reference_eq&&_.set("dataReferenceEq",h.data_reference_eq),_},{replace:!0}),s()},t[0]=s,t[1]=n,t[2]=i):i=t[2];const o=i;let l;t[3]!==s||t[4]!==n?(l=()=>{n(PMt,{replace:!0}),s()},t[3]=s,t[4]=n,t[5]=l):l=t[5];const c=l;let u;t[6]!==r?(u=r.get("applicationServer")??"",t[6]=r,t[7]=u):u=t[7];let d;t[8]!==r?(d=r.get("dataReferenceEq")??"",t[8]=r,t[9]=d):d=t[9];let f;t[10]!==u||t[11]!==d?(f={application_server_icont:u,data_reference_eq:d},t[10]=u,t[11]=d,t[12]=f):f=t[12];let p;t[13]!==e?(p=()=>a.jsxs(dn,{canWrite:as(ie.provisioning),fullHeight:!0,children:[a.jsx(zp,{children:a.jsx(te,{spacing:2,children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"application_server_icont",children:h=>{const{field:_}=h;return a.jsx(dt,{..._,value:_.value||"",label:e.formatMessage({id:"udr_ims_application_server_acls.filters.application_server_icont"}),size:"small"})}}),a.jsx(Ke,{name:"data_reference_eq",children:h=>{const{field:_,form:g}=h,{setFieldValue:y}=g;return a.jsx(rn,{value:_.value,name:_.name,label:e.formatMessage({id:"udr_ims_application_server_acls.filters.data_reference_eq"}),multiple:!1,size:"small",freeSolo:!1,options:["",...rme],onChange:(b,x)=>{y(_.name,x||"")},fullWidth:!0})}})]})})}),a.jsxs(f7,{children:[a.jsx(Ze,{"data-testid":"filter-application-server-button-reset",text:e.formatMessage({id:"udr_ims_application_server_acls.filters.buttons.reset"}),disabled:!as(ie.provisioning),variant:"outlined",type:"reset"}),a.jsx(Ze,{"data-testid":"filter-application-server-button-apply",text:e.formatMessage({id:"udr_ims_application_server_acls.filters.buttons.apply"}),type:"submit",disabled:!as(ie.provisioning)})]})]}),t[13]=e,t[14]=p):p=t[14];let m;return t[15]!==c||t[16]!==o||t[17]!==f||t[18]!==p?(m=a.jsx(Wr,{initialValues:f,onSubmit:o,onReset:c,children:p}),t[15]=c,t[16]=o,t[17]=f,t[18]=p,t[19]=m):m=t[19],m};function PMt(){return new URLSearchParams}const jMt=()=>{const t=he.c(28),e=Ye(),{dialogOpen:r,drawerOpen:n}=Jt(),s=u7();let i;t[0]!==r||t[1]!==e?(i=()=>{r({title:e.formatMessage({id:"udr_ims_application_server_acls.toolbar.new_ims_application_server_acl"}),content:TMt,closeOnBackdropClick:!1})},t[0]=r,t[1]=e,t[2]=i):i=t[2];const o=i;let l;t[3]!==n||t[4]!==e?(l=()=>{n({title:e.formatMessage({id:"udr_ims_application_server_acls.toolbar.filters"}),content:EMt})},t[3]=n,t[4]=e,t[5]=l):l=t[5];const c=l;let u;t[6]!==s?(u=d7({filter:s}),t[6]=s,t[7]=u):u=t[7];const d=!u;let f;t[8]!==e?(f=e.formatMessage({id:"udr_ims_application_server_acls.toolbar.filters"}),t[8]=e,t[9]=f):f=t[9];let p;t[10]===Symbol.for("react.memo_cache_sentinel")?(p=a.jsx(ge.Filter,{}),t[10]=p):p=t[10];let m;t[11]===Symbol.for("react.memo_cache_sentinel")?(m={width:"100%"},t[11]=m):m=t[11];let h;t[12]!==c||t[13]!==f?(h=a.jsx(Ze,{"data-testid":"toolbar-button-filters",variant:"outlined",text:f,startIcon:p,onClick:c,sx:m}),t[12]=c,t[13]=f,t[14]=h):h=t[14];let _;t[15]!==d||t[16]!==h?(_=a.jsx(Iv,{variant:"dot",invisible:d,children:h}),t[15]=d,t[16]=h,t[17]=_):_=t[17];let g;t[18]!==e?(g=e.formatMessage({id:"common.new"}),t[18]=e,t[19]=g):g=t[19];let y;t[20]===Symbol.for("react.memo_cache_sentinel")?(y=a.jsx(ge.Add,{}),t[20]=y):y=t[20];let b;t[21]===Symbol.for("react.memo_cache_sentinel")?(b=Ue(ie.provisioning),t[21]=b):b=t[21];let x;t[22]!==o||t[23]!==g?(x=a.jsx(Ze,{text:g,startIcon:y,onClick:o,disabled:!b}),t[22]=o,t[23]=g,t[24]=x):x=t[24];let w;return t[25]!==x||t[26]!==_?(w=a.jsxs(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:[_,x]}),t[25]=x,t[26]=_,t[27]=w):w=t[27],w};function TMt(){return a.jsx(nme,{})}function EMt(){return a.jsx(MMt,{})}const RMt=()=>{const t=he.c(63),e=Ye(),{openConfirmDialog:r}=di(),n=Gr(),s=On(),i=gr(),{dialogOpen:o}=Jt();let l;t[0]!==o||t[1]!==e?(l=X=>{X&&o({title:e.formatMessage({id:"udr_ims_application_server_acls.toolbar.new_ims_application_server_acl"}),content:()=>a.jsx(nme,{id:X}),closeOnBackdropClick:!1})},t[0]=o,t[1]=e,t[2]=l):l=t[2];const c=l;let u;t[3]!==i||t[4]!==e||t[5]!==r?(u=async X=>{const{id:Q}=X;Q&&r({text:e.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.dialog.delete.confirm"}),onConfirm:()=>{i.submit({id:Q},{action:`${$.urls.udrImsApplicationServerAcls}/delete`,method:"POST",encType:"application/json"})}})},t[3]=i,t[4]=e,t[5]=r,t[6]=u):u=t[6];const d=u;let f;t[7]!==e?(f=e.formatMessage({id:"udr_ims_application_server_acls.table.header.application_server"}),t[7]=e,t[8]=f):f=t[8];let p;t[9]!==f?(p={key:"application_server",label:f},t[9]=f,t[10]=p):p=t[10];let m;t[11]!==e?(m=e.formatMessage({id:"udr_ims_application_server_acls.table.header.data_reference"}),t[11]=e,t[12]=m):m=t[12];let h;t[13]!==m?(h={key:"data_reference",label:m},t[13]=m,t[14]=h):h=t[14];let _;t[15]!==e?(_=e.formatMessage({id:"udr_ims_application_server_acls.table.header.permissions"}),t[15]=e,t[16]=_):_=t[16];let g;t[17]!==_?(g={key:"permissions",label:_,cellRender:DMt},t[17]=_,t[18]=g):g=t[18];let y;t[19]!==e?(y=e.formatMessage({id:"udr_ims_application_server_acls.table.header.created_at"}),t[19]=e,t[20]=y):y=t[20];let b;t[21]!==y?(b={key:"created_at",label:y,cellRender:$Mt},t[21]=y,t[22]=b):b=t[22];let x;t[23]!==e?(x=e.formatMessage({id:"udr_ims_application_server_acls.table.header.modified_at"}),t[23]=e,t[24]=x):x=t[24];let w;t[25]!==x?(w={key:"modified_at",label:x,cellRender:OMt},t[25]=x,t[26]=w):w=t[26];let C;t[27]!==w||t[28]!==p||t[29]!==h||t[30]!==g||t[31]!==b?(C=[p,h,g,b,w],t[27]=w,t[28]=p,t[29]=h,t[30]=g,t[31]=b,t[32]=C):C=t[32];const k=C;let A;t[33]===Symbol.for("react.memo_cache_sentinel")?(A=_l(ie.provisioning),t[33]=A):A=t[33];const P=s.state!=="idle"||i.state!=="idle";let T;t[34]!==c?(T=X=>{const{id:Q}=X;return c(Q)},t[34]=c,t[35]=T):T=t[35];let j;t[36]!==P||t[37]!==T?(j={...A,disabled:P,onClick:T},t[36]=P,t[37]=T,t[38]=j):j=t[38];let R;t[39]!==e?(R=e.formatMessage({id:"udr_ims_application_server_acls.actions.delete"}),t[39]=e,t[40]=R):R=t[40];let D;t[41]===Symbol.for("react.memo_cache_sentinel")?(D=a.jsx(ge.Trash,{}),t[41]=D):D=t[41];let O;t[42]!==i.state||t[43]!==s.state?(O=s.state!=="idle"||i.state!=="idle"||!Ue(ie.provisioning),t[42]=i.state,t[43]=s.state,t[44]=O):O=t[44];let N;t[45]!==d?(N=X=>void d(X),t[45]=d,t[46]=N):N=t[46];let F;t[47]!==R||t[48]!==O||t[49]!==N?(F={label:R,icon:D,disabled:O,onClick:N},t[47]=R,t[48]=O,t[49]=N,t[50]=F):F=t[50];let U;t[51]!==j||t[52]!==F?(U=[j,F],t[51]=j,t[52]=F,t[53]=U):U=t[53];const z=U;let H;t[54]===Symbol.for("react.memo_cache_sentinel")?(H=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[54]=H):H=t[54];let W;t[55]===Symbol.for("react.memo_cache_sentinel")?(W=a.jsx(Tr,{}),t[55]=W):W=t[55];let K;t[56]!==k||t[57]!==i.state||t[58]!==z?(K=X=>a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(jMt,{})}),a.jsx(Br,{autoScale:!0,loading:i.state!=="idle",orderBy:"id",columns:k,data:X,hidePagination:!0,labelDisplayedRows:LMt,rowsPerPageOptions:$.pageSizeOptions,rowKey:"id",rowActions:z,stickyRowActions:!0,page:0,rowsCount:X?.length,rowsPerPage:X?.length})]}),t[56]=k,t[57]=i.state,t[58]=z,t[59]=K):K=t[59];let q;return t[60]!==n.udrImsApplicationServerAclList||t[61]!==K?(q=a.jsx(I.Suspense,{fallback:H,children:a.jsx(Qt,{resolve:n.udrImsApplicationServerAclList,errorElement:W,children:K})}),t[60]=n.udrImsApplicationServerAclList,t[61]=K,t[62]=q):q=t[62],q};function IMt(t){return{id:t,label:t}}function DMt(t){const{permissions:e}=t;return a.jsx(ks,{items:e.map(IMt),size:"small"})}function $Mt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function OMt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function LMt(){return""}const NMt=Pr();async function FMt({request:t}){const e=await t.json(),r=await Qlt(e);return xt(r)||(Nt(),rt($.urls.udrImsInitialFilters)),Ft(r)}async function UMt({request:t}){const e=await t.json(),r=await Zlt(e);return xt(r)||(Nt(),rt($.urls.udrImsInitialFilters)),Ft(r)}async function BMt({request:t}){const{id:e}=await t.json(),r=await Xlt(e);return xt(r)?Ar():(Nt(),rt($.urls.udrImsInitialFilters)),Ft(r)}const zMt=dr().shape({data:We().required(NMt.formatMessage({id:"udr_ims_initial_filters.new_ims_initial_filter.form_errors.required"})),description:We().strict(!0).matches(new RegExp($.regex.descriptionRm))}),sme=t=>{const e=he.c(25),{id:r}=t,n=Ye(),{dialogClose:s}=Jt(),{dataFetcher:i,upsertFetcher:o}=Ys(),{data:l,state:c,load:u}=i,{data:d,state:f,submit:p}=o,m=r!==void 0;let h;e[0]!==p||e[1]!==r||e[2]!==m?(h=k=>{const{data:A,description:P}=k;if(m){p({id:r,data:A,...!!P&&{description:P}},{action:`${$.urls.udrImsInitialFilters}/update`,method:"POST",encType:"application/json"});return}p({data:A,...!!P&&{description:P}},{action:`${$.urls.udrImsInitialFilters}/create`,method:"POST",encType:"application/json"})},e[0]=p,e[1]=r,e[2]=m,e[3]=h):h=e[3];const _=h;let g;e:{if(!m||!l){let j;e[4]===Symbol.for("react.memo_cache_sentinel")?(j={description:"",data:""},e[4]=j):j=e[4],g=j;break e}const k=l.udrImsInitialFilter,A=k?.description??"",P=k?.data??"";let T;e[5]!==A||e[6]!==P?(T={description:A,data:P},e[5]=A,e[6]=P,e[7]=T):T=e[7],g=T}const y=g;let b,x;e[8]!==r||e[9]!==m||e[10]!==u?(b=()=>{m&&u(`${$.urls.udrImsInitialFilters}/${r}`)},x=[r,m,u],e[8]=r,e[9]=m,e[10]=u,e[11]=b,e[12]=x):(b=e[11],x=e[12]),I.useEffect(b,x);let w;e[13]!==s||e[14]!==d||e[15]!==f||e[16]!==l||e[17]!==n||e[18]!==m||e[19]!==c?(w=()=>a.jsxs(dn,{canWrite:Ue(ie.provisioning),fullHeight:!0,children:[a.jsx(_s,{loading:m&&!l,children:a.jsxs(te,{spacing:2,fullHeight:!0,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"description",children:k=>{const{field:A,meta:P}=k;return a.jsx(dt,{...A,label:n.formatMessage({id:"udr_ims_initial_filters.new_ims_initial_filter.form.description"}),size:"small",error:!!P.error,helperText:P.error,disabled:c!=="idle"||f!=="idle"})}}),a.jsx(Ke,{name:"data",children:k=>{const{field:A,meta:P,form:T}=k,{setFieldValue:j}=T;return a.jsx(Fv,{value:A.value,label:n.formatMessage({id:"udr_ims_initial_filters.new_ims_initial_filter.form.data"}),error:P.error,language:"xml",onChange:R=>{j(A.name,R)}})}}),a.jsx(Xr,{data:d})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{"data-testid":"ims-initial-filter-button-cancel",text:n.formatMessage({id:"udr_ims_initial_filters.new_ims_initial_filter.cancel"}),variant:"outlined",disabled:c!=="idle"||f!=="idle"||!Ue(ie.provisioning),onClick:()=>s()}),a.jsx(Ze,{"data-testid":"ims-initial-filter-button-save",text:n.formatMessage({id:"udr_ims_initial_filters.new_ims_initial_filter.save"}),type:"submit",disabled:c!=="idle"||f!=="idle"||!Ue(ie.provisioning)})]})})]}),e[13]=s,e[14]=d,e[15]=f,e[16]=l,e[17]=n,e[18]=m,e[19]=c,e[20]=w):w=e[20];let C;return e[21]!==_||e[22]!==y||e[23]!==w?(C=a.jsx(Wr,{initialValues:y,enableReinitialize:!0,validationSchema:zMt,onSubmit:_,children:w}),e[21]=_,e[22]=y,e[23]=w,e[24]=C):C=e[24],C},qMt=()=>{const t=he.c(10),e=Ye(),{dialogOpen:r}=Jt();let n;t[0]!==r||t[1]!==e?(n=()=>{r({title:e.formatMessage({id:"udr_ims_initial_filters.toolbar.new_ims_initial_filter"}),fullScreen:!0,content:VMt,closeOnBackdropClick:!1})},t[0]=r,t[1]=e,t[2]=n):n=t[2];const s=n;let i;t[3]!==e?(i=e.formatMessage({id:"common.new"}),t[3]=e,t[4]=i):i=t[4];let o;t[5]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(ge.Add,{}),t[5]=o):o=t[5];let l;t[6]===Symbol.for("react.memo_cache_sentinel")?(l=Ue(ie.provisioning),t[6]=l):l=t[6];let c;return t[7]!==s||t[8]!==i?(c=a.jsx(Ze,{text:i,startIcon:o,onClick:s,disabled:!l}),t[7]=s,t[8]=i,t[9]=c):c=t[9],c};function VMt(){return a.jsx(sme,{})}const HMt=()=>{const t=he.c(62),e=Ye(),r=Gr(),{openConfirmDialog:n}=di(),s=On(),i=gr(),{dialogOpen:o}=Jt(),{pageSize:l,pageSizeOptions:c,changePageSize:u,changePage:d,getRowsCount:f,getPage:p}=Na();let m;t[0]!==o||t[1]!==e?(m=Z=>{Z&&o({title:e.formatMessage({id:"udr_ims_initial_filters.toolbar.new_ims_initial_filter"}),fullScreen:!0,content:()=>a.jsx(sme,{id:Z}),closeOnBackdropClick:!1})},t[0]=o,t[1]=e,t[2]=m):m=t[2];const h=m;let _;t[3]!==i||t[4]!==e||t[5]!==n?(_=Z=>{const{id:re}=Z;re&&n({text:e.formatMessage({id:"udr_ims_initial_filters.application_servers_profiles.dialog.delete.confirm"}),onConfirm:()=>{i.submit({id:re},{action:`${$.urls.udrImsInitialFilters}/delete`,method:"POST",encType:"application/json"})}})},t[3]=i,t[4]=e,t[5]=n,t[6]=_):_=t[6];const g=_;let y;t[7]!==e?(y=e.formatMessage({id:"udr_ims_initial_filters.table.header.id"}),t[7]=e,t[8]=y):y=t[8];let b;t[9]!==y?(b={key:"id",label:y,cellRender:GMt},t[9]=y,t[10]=b):b=t[10];let x;t[11]!==e?(x=e.formatMessage({id:"udr_ims_initial_filters.table.header.description"}),t[11]=e,t[12]=x):x=t[12];let w;t[13]!==x?(w={key:"description",label:x,cellRender:WMt},t[13]=x,t[14]=w):w=t[14];let C;t[15]!==e?(C=e.formatMessage({id:"udr_ims_initial_filters.table.header.created_at"}),t[15]=e,t[16]=C):C=t[16];let k;t[17]!==C?(k={key:"created_at",label:C,cellRender:YMt},t[17]=C,t[18]=k):k=t[18];let A;t[19]!==e?(A=e.formatMessage({id:"udr_ims_initial_filters.table.header.modified_at"}),t[19]=e,t[20]=A):A=t[20];let P;t[21]!==A?(P={key:"modified_at",label:A,cellRender:KMt},t[21]=A,t[22]=P):P=t[22];let T;t[23]!==b||t[24]!==w||t[25]!==k||t[26]!==P?(T=[b,w,k,P],t[23]=b,t[24]=w,t[25]=k,t[26]=P,t[27]=T):T=t[27];const j=T;let R;t[28]===Symbol.for("react.memo_cache_sentinel")?(R=_l(ie.provisioning),t[28]=R):R=t[28];const D=s.state!=="idle"||i.state!=="idle";let O;t[29]!==h?(O=Z=>{const{id:re}=Z;return h(re)},t[29]=h,t[30]=O):O=t[30];let N;t[31]!==D||t[32]!==O?(N={...R,disabled:D,onClick:O},t[31]=D,t[32]=O,t[33]=N):N=t[33];let F;t[34]!==e?(F=e.formatMessage({id:"udr_ims_initial_filters.actions.delete"}),t[34]=e,t[35]=F):F=t[35];let U;t[36]===Symbol.for("react.memo_cache_sentinel")?(U=a.jsx(ge.Trash,{}),t[36]=U):U=t[36];let z;t[37]!==i.state||t[38]!==s.state?(z=s.state!=="idle"||i.state!=="idle"||!Ue(ie.provisioning),t[37]=i.state,t[38]=s.state,t[39]=z):z=t[39];let H;t[40]!==g||t[41]!==F||t[42]!==z?(H={label:F,icon:U,disabled:z,onClick:g},t[40]=g,t[41]=F,t[42]=z,t[43]=H):H=t[43];let W;t[44]!==N||t[45]!==H?(W=[N,H],t[44]=N,t[45]=H,t[46]=W):W=t[46];const K=W;let q;t[47]===Symbol.for("react.memo_cache_sentinel")?(q=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[47]=q):q=t[47];let X;t[48]===Symbol.for("react.memo_cache_sentinel")?(X=a.jsx(Tr,{}),t[48]=X):X=t[48];let Q;t[49]!==d||t[50]!==u||t[51]!==j||t[52]!==i.state||t[53]!==p||t[54]!==f||t[55]!==l||t[56]!==c||t[57]!==K?(Q=Z=>{const{data:re,metadata:fe}=Z;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(qMt,{})}),a.jsx(Br,{autoScale:!0,loading:i.state!=="idle",orderBy:"id",columns:j,data:re,page:p(fe),labelDisplayedRows:QMt,rowsCount:f(fe),rowsPerPage:l,onRowsPerPageChange:u,rowsPerPageOptions:c,rowKey:"id",rowActions:K,stickyRowActions:!0,onPageChange:d(fe)})]})},t[49]=d,t[50]=u,t[51]=j,t[52]=i.state,t[53]=p,t[54]=f,t[55]=l,t[56]=c,t[57]=K,t[58]=Q):Q=t[58];let Y;return t[59]!==r.udrImsInitialFilterList||t[60]!==Q?(Y=a.jsx(I.Suspense,{fallback:q,children:a.jsx(Qt,{resolve:r.udrImsInitialFilterList,errorElement:X,children:Q})}),t[59]=r.udrImsInitialFilterList,t[60]=Q,t[61]=Y):Y=t[61],Y};function GMt(t){const{id:e}=t;return a.jsx(Ap,{text:e||""})}function WMt(t){const{description:e}=t;return a.jsx(_e,{type:"body2",children:e})}function YMt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function KMt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function QMt(){return""}const Rm=t=>{const e=he.c(10),{translationKey:r,value:n}=t,s=Ye();let i;e[0]!==s||e[1]!==r?(i=s.formatMessage({id:r}),e[0]=s,e[1]=r,e[2]=i):i=e[2];let o;e[3]!==i?(o=a.jsx(_e,{fontWeight:"600",children:i}),e[3]=i,e[4]=o):o=e[4];const l=n??"-";let c;e[5]!==l?(c=a.jsx(_e,{children:l}),e[5]=l,e[6]=c):c=e[6];let u;return e[7]!==o||e[8]!==c?(u=a.jsxs(te,{spacing:0,children:[o,c]}),e[7]=o,e[8]=c,e[9]=u):u=e[9],u},ZMt=t=>{const e=he.c(16),{name:r}=t,n=Ye(),{data:s,state:i,load:o}=gr();let l;e:{if(s&&"udrImsPrivateIdentityPrivateStatus"in s){l=s.udrImsPrivateIdentityPrivateStatus;break e}l=null}const c=l;let u,d;e[0]!==o||e[1]!==r?(u=()=>{o(`${$.urls.udrImsPrivateIdentities}/private-status/${r}`)},d=[r,o],e[0]=o,e[1]=r,e[2]=u,e[3]=d):(u=e[2],d=e[3]),I.useEffect(u,d);const f=i==="loading";let p;e[4]!==n||e[5]!==c?(p=!c&&a.jsx(_e,{children:n.formatMessage({id:"udr_ims_private_identities.dialog.ims_private_identity_status.no_data"})}),e[4]=n,e[5]=c,e[6]=p):p=e[6];let m;e[7]!==n||e[8]!==c?(m=!!c&&a.jsxs(te,{spacing:2,children:[!c.location?.ip_sm_gw&&!c.location?.scscf&&a.jsx(_e,{children:n.formatMessage({id:"udr_ims_private_identities.dialog.ims_private_identity_status.no_data"})}),!!c.location?.ip_sm_gw&&a.jsx(pr,{title:n.formatMessage({id:"udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw"}),dense:!0,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,sx:{mt:1},children:[a.jsx(Rm,{value:c.location.ip_sm_gw.host,translationKey:"udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.host"}),a.jsx(Rm,{value:c.location.ip_sm_gw.realm,translationKey:"udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.realm"}),a.jsx(Rm,{value:Mr(c.location.ip_sm_gw.registered_at),translationKey:"udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.registered_at"})]})})}),!!c.location?.scscf&&a.jsx(pr,{title:n.formatMessage({id:"udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf"}),dense:!0,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,sx:{mt:1},children:[a.jsx(Rm,{value:c.location.scscf.host,translationKey:"udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.host"}),a.jsx(Rm,{value:c.location.scscf.realm,translationKey:"udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.realm"}),a.jsx(Rm,{value:c.location.scscf.name,translationKey:"udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.name"}),a.jsx(Rm,{value:Mr(c.location.scscf.modified_at),translationKey:"udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.modified_at"})]})})})]}),e[7]=n,e[8]=c,e[9]=m):m=e[9];let h;e[10]!==p||e[11]!==m?(h=a.jsxs(a.Fragment,{children:[p,m]}),e[10]=p,e[11]=m,e[12]=h):h=e[12];let _;return e[13]!==f||e[14]!==h?(_=a.jsx(_s,{loading:f,children:h}),e[13]=f,e[14]=h,e[15]=_):_=e[15],_},XMt=t=>{const e=he.c(16),{name:r}=t,n=Ye(),{data:s,state:i,load:o}=gr();let l;e:{if(s&&"udrImsPrivateIdentityPublicStatus"in s){l=s.udrImsPrivateIdentityPublicStatus;break e}l=null}const c=l;let u,d;e[0]!==o||e[1]!==r?(u=()=>{o(`${$.urls.udrImsPrivateIdentities}/public-status/${r}`)},d=[r,o],e[0]=o,e[1]=r,e[2]=u,e[3]=d):(u=e[2],d=e[3]),I.useEffect(u,d);const f=i==="loading";let p;e[4]!==n||e[5]!==c?(p=!c&&a.jsx(_e,{children:n.formatMessage({id:"udr_ims_private_identities.dialog.ims_private_identity_status.no_data"})}),e[4]=n,e[5]=c,e[6]=p):p=e[6];let m;e[7]!==n||e[8]!==c?(m=!!c&&a.jsxs(te,{spacing:2,children:[a.jsxs(te,{spacing:0,children:[a.jsx(_e,{fontWeight:"600",children:n.formatMessage({id:"udr_ims_private_identities.dialog.ims_public_identity_status.status"})}),a.jsxs(_e,{children:[c.status," ",c.pending?`(${n.formatMessage({id:"udr_ims_private_identities.dialog.ims_public_identity_status.pending"})})`:""]})]}),a.jsxs(te,{spacing:0,children:[a.jsx(_e,{fontWeight:"600",children:n.formatMessage({id:"udr_ims_private_identities.dialog.ims_public_identity_status.modified_at"})}),a.jsx(_e,{children:Mr(c.modified_at)})]})]}),e[7]=n,e[8]=c,e[9]=m):m=e[9];let h;e[10]!==p||e[11]!==m?(h=a.jsxs(a.Fragment,{children:[p,m]}),e[10]=p,e[11]=m,e[12]=h):h=e[12];let _;return e[13]!==f||e[14]!==h?(_=a.jsx(_s,{loading:f,children:h}),e[13]=f,e[14]=h,e[15]=_):_=e[15],_},JMt=t=>{const e=he.c(29),{row:r,onShowPublicStatusClick:n,isLoading:s}=t,i=s===void 0?!1:s,o=Ye(),l=i?"0.5":"1";let c;e[0]!==l?(c={opacity:l},e[0]=l,e[1]=c):c=e[1];let u;e[2]!==o||e[3]!==r.server_name?(u=r.server_name&&a.jsxs(a.Fragment,{children:[a.jsx(Is,{size:{xs:12,sm:2},children:a.jsx(_e,{fontWeight:"600",children:o.formatMessage({id:"udr_ims_private_identities.table.value.server_name"})})}),a.jsx(Is,{size:{xs:12,sm:10},children:r.server_name})]}),e[2]=o,e[3]=r.server_name,e[4]=u):u=e[4];let d;e[5]!==o||e[6]!==r.sip_digest_provisioned?(d=r.sip_digest_provisioned!==void 0&&a.jsxs(a.Fragment,{children:[a.jsx(Is,{size:{xs:12,sm:2},children:a.jsx(_e,{fontWeight:"600",children:o.formatMessage({id:"udr_ims_private_identities.table.value.sip_digest_provisioned"})})}),a.jsx(Is,{size:{xs:12,sm:10},children:r.sip_digest_provisioned?a.jsx(bi,{label:o.formatMessage({id:"udr_ims_private_identities.table.value.sip_digest_provisioned_true"}),status:nn.SUCCESS}):a.jsx(bi,{label:o.formatMessage({id:"udr_ims_private_identities.table.value.sip_digest_provisioned_false"}),status:nn.ERROR})})]}),e[5]=o,e[6]=r.sip_digest_provisioned,e[7]=d):d=e[7];let f;e[8]===Symbol.for("react.memo_cache_sentinel")?(f={xs:12,sm:2},e[8]=f):f=e[8];let p;e[9]!==o?(p=o.formatMessage({id:"udr_ims_private_identities.table.value.registration_sets"}),e[9]=o,e[10]=p):p=e[10];let m;e[11]!==p?(m=a.jsx(Is,{size:f,children:a.jsx(_e,{fontWeight:"600",children:p})}),e[11]=p,e[12]=m):m=e[12];let h;e[13]===Symbol.for("react.memo_cache_sentinel")?(h={xs:12,sm:10},e[13]=h):h=e[13];let _;if(e[14]!==o||e[15]!==n||e[16]!==r.registration_sets){let b;e[18]!==o||e[19]!==n?(b=x=>a.jsx(pr,{folder:!0,dense:!0,title:o.formatMessage({id:"udr_ims_private_identities.table.value.public_identities"}),elevation:2,children:a.jsxs(Kt,{children:[x.description&&a.jsx(_e,{type:"body2",color:"text.secondary",children:x.description}),a.jsx(al,{children:x.public_identities.map(w=>a.jsx(Is,{size:{xs:12,md:6,xl:4},sx:{position:"relative"},children:a.jsx(pr,{folder:!0,elevation:4,sx:{flex:"1 1 auto"},children:a.jsxs(Kt,{sx:{position:"relative"},children:[a.jsx("div",{title:o.formatMessage({id:"udr_ims_private_identities.table.status"}),style:{position:"absolute",top:3,right:3},children:a.jsx(Zr,{onClick:()=>n(w.name),children:a.jsx(ge.Info,{})})}),a.jsxs(te,{spacing:1,children:[w.barred?a.jsx(bi,{status:nn.ERROR,label:o.formatMessage({id:"udr_ims_private_identities.table.value.public_identity_barred"})}):a.jsx(bi,{status:nn.SUCCESS,label:o.formatMessage({id:"udr_ims_private_identities.table.value.public_identity_authorized"})}),a.jsxs(te,{spacing:0,children:[a.jsx(_e,{fontWeight:"600",type:"body2",children:o.formatMessage({id:"udr_ims_private_identities.table.value.public_identity_name"})}),a.jsx(_e,{type:"body2",sx:{wordBreak:"break-all"},children:w.name})]}),w.service_profile&&a.jsxs(te,{spacing:0,children:[a.jsx(_e,{fontWeight:"600",type:"body2",children:o.formatMessage({id:"udr_ims_private_identities.table.value.service_profile"})}),a.jsx(_e,{type:"body2",sx:{wordBreak:"break-all"},children:w.service_profile})]}),!!w.application_servers_profiles?.length&&a.jsxs(te,{spacing:0,children:[a.jsx(_e,{fontWeight:"600",type:"body2",children:o.formatMessage({id:"udr_ims_private_identities.table.value.application_servers_profiles"})}),a.jsx(ks,{items:w.application_servers_profiles.map(ePt)})]})]})]})})},w.name))})]})},x.description),e[18]=o,e[19]=n,e[20]=b):b=e[20],_=r.registration_sets.map(b),e[14]=o,e[15]=n,e[16]=r.registration_sets,e[17]=_}else _=e[17];let g;e[21]!==_?(g=a.jsx(Is,{size:h,children:_}),e[21]=_,e[22]=g):g=e[22];let y;return e[23]!==g||e[24]!==c||e[25]!==u||e[26]!==d||e[27]!==m?(y=a.jsxs(al,{sx:c,children:[u,d,m,g]}),e[23]=g,e[24]=c,e[25]=u,e[26]=d,e[27]=m,e[28]=y):y=e[28],y};function ePt(t){return{label:t.service_indication,id:t.service_indication}}const ea=Pr();var Gm=(t=>(t.DISTINCT_PUI="DISTINCT_PUI",t.PSI="PSI",t))(Gm||{}),Td=(t=>(t.VOLTE="VOLTE",t.PSI="PSI",t))(Td||{});const tPt=Object.keys(Td),rPt=Object.keys(Gm),nC={registration_sets:[],server_name:"",status:"ACTIVE",supi:"",type:"PSI"},Bee=(t,e)=>t.map(({public_identities:r,description:n})=>({_uuid:gn(),description:n??"",public_identities:r.map(({barred:s,name:i,service_profile:o,application_servers_profiles:l})=>({_uuid:gn(),barred:s,name:i,...e&&o&&{service_profile:o},...l&&{application_servers_profiles:l}}))})),zee=(t,e)=>t.map(({public_identities:r,description:n})=>({description:n&&n.length>0?n:null,public_identities:r.map(({barred:s,name:i,service_profile:o,application_servers_profiles:l})=>({barred:s,name:i,...l&&{application_servers_profiles:l},...e&&o&&{service_profile:o}}))})),nPt=t=>{if(!t)return nC;switch(t.type){case"PSI":{const{registration_sets:e,status:r,type:n,supi:s,server_name:i}=t;return{...nC,server_name:i,status:r,registration_sets:Bee(e,!1),supi:s,type:n}}case"DISTINCT_PUI":{const{registration_sets:e,status:r,supi:n,type:s,sip_digest_provisioned:i}=t;return{...nC,registration_sets:Bee(e,!0),status:r,supi:n,type:s,isOverridingKeys:!1,sip_digest_provisioned:i}}}},qee=({values:t,isEditing:e})=>{switch(t.type){case"PSI":{const{registration_sets:r,status:n,type:s,supi:i,server_name:o}=t;return{...!e&&{supi:i},...!e&&{type:s},status:n,registration_sets:zee(r,!1),server_name:o}}case"DISTINCT_PUI":{const{isOverridingKeys:r,registration_sets:n,status:s,supi:i,type:o,sip_digest_password:l,sip_digest_realm:c}=t;return{...!e&&{supi:i},...!e&&{type:o},status:s,isOverridingKeys:r,registration_sets:zee(n,!0),...l&&c&&r&&{sip_digest:{password:l,realm:c}}}}}},sPt=dr().shape({supi:We().strict(!0).required(ea.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form_errors.required"})).when("type",(t,e)=>{switch(t){case"PSI":return e.strict(!0).matches(new RegExp($.regex.nai));case"VOLTE":return e.strict(!0).matches(new RegExp($.regex.imsi))}}),type:We().required(ea.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form_errors.required"})),service_profile:We().strict(!0).when("type",(t,e)=>{switch(t){case"PSI":return e;case"VOLTE":return e.strict(!0).matches(new RegExp(`(${$.regex.idString})|(${$.regex.uuid})`))}}),public_identity:We().when("type",(t,e)=>{switch(t){case"PSI":return e.required(ea.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form_errors.required"}));case"VOLTE":return e}}),server_name:We().when("type",(t,e)=>{switch(t){case"PSI":return e.required(ea.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form_errors.required"}));case"VOLTE":return e}})}),iPt=dr().shape({supi:We().strict(!0).required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"})).when("type",(t,e)=>{switch(t){case"PSI":return e.strict(!0).matches(new RegExp($.regex.nai));case"DISTINCT_PUI":return e.strict(!0).matches(new RegExp(`${$.regex.imsi}|${$.regex.nai}`))}}),type:We().required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"})),status:We(),registration_sets:yr().when("type",t=>{switch(t){case"PSI":return yr(dr({description:We(),public_identities:yr().of(dr().shape({barred:li(),name:We().required()})).min(1).required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"}))})).min(1).required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"}));case"DISTINCT_PUI":return yr(dr({description:We(),public_identities:yr().of(dr().shape({barred:li(),name:We().required(),service_profile:We().matches(new RegExp(`(${$.regex.idString})|(${$.regex.uuid})`))})).min(1).required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"}))})).min(1).required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"}))}}),sip_digest_password:We().when("isOverridingKeys",(t,e)=>{if(t)return e.required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"}))}),sip_digest_realm:We().when("isOverridingKeys",(t,e)=>{if(t)return e.required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"}))}),server_name:We().when("type",(t,e)=>{switch(t){case"PSI":return e.required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"}));case"DISTINCT_PUI":return e}})}).test("sip_digest",`${ea.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form_errors.sip_digest"})}`,function({sip_digest_password:t,sip_digest_realm:e,type:r}){return r!=="DISTINCT_PUI"?!0:!!t&&t.length>0&&!e||!!e&&e.length>0&&!t?this.createError({path:"sip_digest",message:`${ea.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form_errors.sip_digest"})}`}):!0}),oPt=()=>{const t=he.c(13),e=Ye(),{dialogClose:r}=Jt(),{upsertFetcher:n}=Ys(),{data:s,state:i,submit:o}=n;let l;t[0]!==o?(l=h=>{let _;e:switch(h.type){case Td.PSI:{const{type:g,public_identity:y,supi:b,server_name:x}=h;_={type:g,public_identity:y,supi:b,server_name:x};break e}case Td.VOLTE:{const{type:g,supi:y,service_profile:b}=h;_={type:g,supi:y,...b&&{service_profile:b}}}}o(_,{action:`${$.urls.udrImsPrivateIdentities}/create-basic`,method:"POST",encType:"application/json"})},t[0]=o,t[1]=l):l=t[1];const c=l;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u={public_identity:"",server_name:"",supi:"",type:Td.PSI,service_profile:""},t[2]=u):u=t[2];const d=u;let f;t[3]!==r?(f=()=>r(),t[3]=r,t[4]=f):f=t[4];let p;t[5]!==s||t[6]!==i||t[7]!==e?(p=h=>{const{values:_}=h;return a.jsxs(Kd,{style:{display:"flex",flexDirection:"column",flexGrow:"1",maxHeight:"100%",overflow:"auto"},children:[a.jsx(_s,{children:a.jsxs(te,{spacing:2,fullHeight:!0,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"type",children:g=>{const{field:y,meta:b,form:x}=g,{setFieldValue:w}=x,C=k=>{w(y.name,k),k===Td.PSI&&w("service_profile",""),k===Td.VOLTE&&(w("server_name",""),w("public_identity",""))};return a.jsx(qs,{...y,label:e.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form.type"}),size:"small",error:!!b.error,helperText:b.error,disabled:i==="loading"||i==="submitting",onChange:k=>C(k.target.value),children:tPt.map(aPt)})}}),a.jsx(Ke,{name:"supi",children:g=>{const{field:y,meta:b}=g;return a.jsx(dt,{...y,label:e.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form.supi"}),size:"small",error:!!b.error,helperText:b.error,disabled:i==="loading"||i==="submitting"})}}),_.type===Td.PSI&&a.jsxs(a.Fragment,{children:[a.jsx(Ke,{name:"server_name",children:g=>{const{field:y,meta:b}=g;return a.jsx(dt,{...y,label:e.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form.server_name"}),size:"small",error:!!b.error,helperText:b.error,disabled:i==="loading"||i==="submitting"})}}),a.jsx(Ke,{name:"public_identity",children:g=>{const{field:y,meta:b}=g;return a.jsx(dt,{...y,label:e.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form.public_identity"}),size:"small",error:!!b.error,helperText:b.error,disabled:i==="loading"||i==="submitting"})}})]}),_.type===Td.VOLTE&&a.jsx(a.Fragment,{children:a.jsx(Ke,{name:"service_profile",children:g=>{const{field:y,meta:b}=g;return a.jsx(dt,{...y,label:e.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form.service_profile"}),size:"small",error:!!b.error,helperText:b.error,disabled:i==="loading"||i==="submitting"})}})}),a.jsx(Xr,{data:s})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:e.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.cancel"}),type:"reset",variant:"outlined",disabled:i==="loading"||i==="submitting"}),a.jsx(Ze,{text:e.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.save"}),type:"submit",disabled:i==="loading"||i==="submitting"})]})})]})},t[5]=s,t[6]=i,t[7]=e,t[8]=p):p=t[8];let m;return t[9]!==c||t[10]!==f||t[11]!==p?(m=a.jsx(Wr,{initialValues:d,validationSchema:sPt,onSubmit:c,onReset:f,children:p}),t[9]=c,t[10]=f,t[11]=p,t[12]=m):m=t[12],m};function aPt(t){return a.jsx(En,{value:t,children:t},t)}const lPt=()=>{const t=he.c(104),e=Ye(),{openConfirmDialog:r}=di(),n=Gr(),s=On(),i=ys(),o=gr(),{dialogOpen:l}=Jt(),{pageSize:c,pageSizeOptions:u,changePageSize:d,changePage:f,getRowsCount:p,getPage:m}=Na();let h;t[0]!==i?(h=()=>{i(`${$.urls.udrImsPrivateIdentities}/new`)},t[0]=i,t[1]=h):h=t[1];const _=h;let g;t[2]!==l||t[3]!==e?(g=()=>{l({title:e.formatMessage({id:"udr_ims_private_identities.toolbar.new_ims_private_identity_basic"}),content:cPt})},t[2]=l,t[3]=e,t[4]=g):g=t[4];const y=g;let b;t[5]!==o||t[6]!==e||t[7]!==r?(b=we=>{const{name:Me}=we;Me&&r({text:e.formatMessage({id:"udr_ims_service_profiles.application_servers_profiles.dialog.delete.confirm"}),onConfirm:()=>{o.submit({name:Me},{action:`${$.urls.udrImsPrivateIdentities}/delete`,method:"POST",encType:"application/json"})}})},t[5]=o,t[6]=e,t[7]=r,t[8]=b):b=t[8];const x=b;let w;t[9]!==l||t[10]!==e?(w=we=>{l({title:e.formatMessage({id:"udr_ims_private_identities.dialog.ims_private_identity_status.title"}),content:()=>a.jsx(ZMt,{name:we}),closeIcon:!0,closeOnBackdropClick:!0})},t[9]=l,t[10]=e,t[11]=w):w=t[11];const C=w;let k;t[12]!==l||t[13]!==e?(k=we=>{l({title:e.formatMessage({id:"udr_ims_private_identities.dialog.ims_public_identity_status.title"}),content:()=>a.jsx(XMt,{name:we}),closeIcon:!0,closeOnBackdropClick:!0})},t[12]=l,t[13]=e,t[14]=k):k=t[14];const A=k;let P;t[15]!==e?(P=e.formatMessage({id:"udr_ims_private_identities.table.header.name"}),t[15]=e,t[16]=P):P=t[16];let T;t[17]!==P?(T={key:"name",label:P,cellRender:uPt},t[17]=P,t[18]=T):T=t[18];let j;t[19]!==e?(j=e.formatMessage({id:"udr_ims_private_identities.table.header.supi"}),t[19]=e,t[20]=j):j=t[20];let R;t[21]!==j?(R={key:"supi",label:j,cellRender:dPt},t[21]=j,t[22]=R):R=t[22];let D;t[23]!==e?(D=e.formatMessage({id:"udr_ims_private_identities.table.header.type"}),t[23]=e,t[24]=D):D=t[24];let O;t[25]!==D?(O={key:"type",label:D,cellRender:fPt},t[25]=D,t[26]=O):O=t[26];let N;t[27]!==e?(N=e.formatMessage({id:"udr_ims_private_identities.table.header.status"}),t[27]=e,t[28]=N):N=t[28];let F;t[29]!==N?(F={key:"status",label:N,cellRender:pPt},t[29]=N,t[30]=F):F=t[30];let U;t[31]!==e?(U=e.formatMessage({id:"udr_ims_private_identities.table.header.created_at"}),t[31]=e,t[32]=U):U=t[32];let z;t[33]!==U?(z={key:"created_at",label:U,cellRender:mPt},t[33]=U,t[34]=z):z=t[34];let H;t[35]!==e?(H=e.formatMessage({id:"udr_ims_private_identities.table.header.modified_at"}),t[35]=e,t[36]=H):H=t[36];let W;t[37]!==H?(W={key:"modified_at",label:H,cellRender:hPt},t[37]=H,t[38]=W):W=t[38];let K;t[39]!==O||t[40]!==F||t[41]!==z||t[42]!==W||t[43]!==T||t[44]!==R?(K=[T,R,O,F,z,W],t[39]=O,t[40]=F,t[41]=z,t[42]=W,t[43]=T,t[44]=R,t[45]=K):K=t[45];const q=K;let X;t[46]!==e?(X=e.formatMessage({id:"udr_ims_private_identities.actions.status"}),t[46]=e,t[47]=X):X=t[47];let Q;t[48]===Symbol.for("react.memo_cache_sentinel")?(Q=a.jsx(ge.Info,{}),t[48]=Q):Q=t[48];let Y;t[49]!==C?(Y=we=>{const{name:Me}=we;return C(Me)},t[49]=C,t[50]=Y):Y=t[50];let Z;t[51]!==X||t[52]!==Y?(Z={label:X,icon:Q,onClick:Y},t[51]=X,t[52]=Y,t[53]=Z):Z=t[53];let re;t[54]===Symbol.for("react.memo_cache_sentinel")?(re=_l(ie.provisioning),t[54]=re):re=t[54];const fe=s.state!=="idle"||o.state!=="idle";let de;t[55]!==i?(de=we=>{const{name:Me}=we;i(`${$.urls.udrImsPrivateIdentities}/${Me}`)},t[55]=i,t[56]=de):de=t[56];let se;t[57]!==fe||t[58]!==de?(se={...re,disabled:fe,onClick:de},t[57]=fe,t[58]=de,t[59]=se):se=t[59];let le;t[60]!==e?(le=e.formatMessage({id:"udr_ims_private_identities.actions.edit_application_servers_profiles"}),t[60]=e,t[61]=le):le=t[61];let ee;t[62]===Symbol.for("react.memo_cache_sentinel")?(ee=a.jsx(ge.Sync,{}),t[62]=ee):ee=t[62];const J=s.state!=="idle"||o.state!=="idle";let me;t[63]!==i?(me=we=>{const{name:Me}=we;i(`${$.urls.udrImsPrivateIdentities}/${Me}/application-servers-profiles`)},t[63]=i,t[64]=me):me=t[64];let pe;t[65]!==le||t[66]!==J||t[67]!==me?(pe={label:le,icon:ee,disabled:J,onClick:me},t[65]=le,t[66]=J,t[67]=me,t[68]=pe):pe=t[68];let Se;t[69]!==e?(Se=e.formatMessage({id:"udr_ims_private_identities.actions.delete"}),t[69]=e,t[70]=Se):Se=t[70];let ve;t[71]===Symbol.for("react.memo_cache_sentinel")?(ve=a.jsx(ge.Trash,{}),t[71]=ve):ve=t[71];let xe;t[72]!==o.state||t[73]!==s.state?(xe=s.state!=="idle"||o.state!=="idle"||!Ue(ie.provisioning),t[72]=o.state,t[73]=s.state,t[74]=xe):xe=t[74];let qe;t[75]!==x||t[76]!==Se||t[77]!==xe?(qe={label:Se,icon:ve,onClick:x,disabled:xe},t[75]=x,t[76]=Se,t[77]=xe,t[78]=qe):qe=t[78];let Le;t[79]!==Z||t[80]!==se||t[81]!==pe||t[82]!==qe?(Le=[Z,se,pe,qe],t[79]=Z,t[80]=se,t[81]=pe,t[82]=qe,t[83]=Le):Le=t[83];const Te=Le;let je;t[84]===Symbol.for("react.memo_cache_sentinel")?(je=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[84]=je):je=t[84];let Ge;t[85]===Symbol.for("react.memo_cache_sentinel")?(Ge=a.jsx(Tr,{}),t[85]=Ge):Ge=t[85];let nt;t[86]!==f||t[87]!==d||t[88]!==q||t[89]!==o.state||t[90]!==m||t[91]!==p||t[92]!==y||t[93]!==_||t[94]!==e||t[95]!==s.state||t[96]!==c||t[97]!==u||t[98]!==Te||t[99]!==A?(nt=we=>{const{data:Me,metadata:$e}=we;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsxs(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:[a.jsx(Ze,{variant:"outlined",text:e.formatMessage({id:"udr_ims_private_identities.toolbar.new_ims_private_identity_basic"}),startIcon:a.jsx(ge.Add,{}),onClick:y,disabled:!Ue(ie.provisioning)}),a.jsx(Ze,{text:e.formatMessage({id:"common.new"}),startIcon:a.jsx(ge.Add,{}),onClick:_,disabled:!Ue(ie.provisioning)})]})}),a.jsx(Br,{autoScale:!0,loading:o.state!=="idle",orderBy:"name",columns:q,data:Me,page:m($e),labelDisplayedRows:gPt,rowsCount:p($e),rowsPerPage:c,onRowsPerPageChange:d,rowsPerPageOptions:u,rowKey:"name",rowActions:Te,stickyRowActions:!0,onPageChange:f($e),rowDetail:{content:Ve=>a.jsx(JMt,{row:Ve,onShowPublicStatusClick:Ne=>A(Ne),isLoading:s.state!=="idle"||o.state!=="idle"})}})]})},t[86]=f,t[87]=d,t[88]=q,t[89]=o.state,t[90]=m,t[91]=p,t[92]=y,t[93]=_,t[94]=e,t[95]=s.state,t[96]=c,t[97]=u,t[98]=Te,t[99]=A,t[100]=nt):nt=t[100];let Re;return t[101]!==n.udrImsPrivateIdentityList||t[102]!==nt?(Re=a.jsx(I.Suspense,{fallback:je,children:a.jsx(Qt,{resolve:n.udrImsPrivateIdentityList,errorElement:Ge,children:nt})}),t[101]=n.udrImsPrivateIdentityList,t[102]=nt,t[103]=Re):Re=t[103],Re};function cPt(){return a.jsx(oPt,{})}function uPt(t){const{name:e}=t;return a.jsx(_e,{type:"body2",children:e})}function dPt(t){const{supi:e}=t;return a.jsx(_e,{type:"body2",children:e})}function fPt(t){const{type:e}=t;return a.jsx(_e,{type:"body2",children:e})}function pPt(t){const{status:e}=t;return a.jsx(bi,{status:e==="ACTIVE"?nn.SUCCESS:nn.ERROR,asChip:!0,label:e})}function mPt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function hPt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function gPt(){return""}const Vee=Pr(),_Pt=dr().shape({service_indication:We().required(Vee.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.form.errors.required"})),service_data:We().required(Vee.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.form.errors.required"}))}),Hee=t=>{const e=he.c(20),{applicationServerProfile:r,publicIdentity:n,dialogId:s}=t,i=Ye(),{dialogClose:o}=Jt(),{upsertFetcher:l}=Ys(),{data:c,state:u,submit:d}=l,{name:f}=ko(),p=!!r;let m;e[0]!==d||e[1]!==p||e[2]!==f||e[3]!==n?(m=C=>{if(p){d({...C,public_identity:n},{action:`${$.urls.udrImsPrivateIdentities}/${f}/application-servers-profiles/update`,method:"POST",encType:"application/json"});return}d({...C,public_identity:n},{action:`${$.urls.udrImsPrivateIdentities}/${f}/application-servers-profiles/create`,method:"POST",encType:"application/json"})},e[0]=d,e[1]=p,e[2]=f,e[3]=n,e[4]=m):m=e[4];const h=m;r?.service_data,r?.service_indication;const _=r?.service_indication||"",g=r?.service_data||"";let y;e[5]!==n||e[6]!==_||e[7]!==g?(y={service_indication:_,service_data:g,public_identity:n},e[5]=n,e[6]=_,e[7]=g,e[8]=y):y=e[8];const b=y;let x;e[9]!==o||e[10]!==s||e[11]!==c||e[12]!==u||e[13]!==i||e[14]!==p?(x=()=>a.jsxs(dn,{canWrite:Ue(ie.provisioning),fullHeight:!0,children:[a.jsx(_s,{children:a.jsxs(te,{fullHeight:!0,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"service_indication",children:C=>{const{field:k,meta:A}=C;return a.jsx(dt,{...k,label:i.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.form.service_indication"}),error:!!A.error,size:"small",helperText:A.error,disabled:u==="submitting"||p})}}),a.jsx(Ke,{name:"service_data",children:C=>{const{field:k,meta:A,form:P}=C,{setFieldValue:T}=P;return a.jsx(Fv,{value:k.value,language:"xml",label:i.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.form.service_data"}),error:A.error,onChange:j=>{T(k.name,j)}})}}),a.jsx(Xr,{data:c})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{"data-testid":"ims-initial-filter-button-cancel",text:i.formatMessage({id:"udr_ims_initial_filters.new_ims_initial_filter.cancel"}),variant:"outlined",disabled:!Ue(ie.provisioning)||u!=="idle",onClick:()=>o(s)}),a.jsx(Ze,{"data-testid":"ims-initial-filter-button-save",text:i.formatMessage({id:"udr_ims_initial_filters.new_ims_initial_filter.save"}),type:"submit",disabled:!Ue(ie.provisioning)||u!=="idle"})]})})]}),e[9]=o,e[10]=s,e[11]=c,e[12]=u,e[13]=i,e[14]=p,e[15]=x):x=e[15];let w;return e[16]!==h||e[17]!==b||e[18]!==x?(w=a.jsx(Wr,{initialValues:b,enableReinitialize:!0,validationSchema:_Pt,onSubmit:h,children:x}),e[16]=h,e[17]=b,e[18]=x,e[19]=w):w=e[19],w},vPt=()=>{const t=he.c(23),e=Ye(),{openConfirmDialog:r}=di(),{dialogOpen:n}=Jt(),{submit:s}=gr(),i=zn(),{name:o}=ko();let l;t[0]!==o||t[1]!==s?(l=x=>{const{public_identity:w,service_indication:C}=x;s({public_identity:w,service_indication:C},{action:`${$.urls.udrImsPrivateIdentities}/${o}/application-servers-profiles/delete`,method:"POST",encType:"application/json"})},t[0]=o,t[1]=s,t[2]=l):l=t[2];const c=l;let u;t[3]!==n||t[4]!==e?(u=x=>{const{public_identity:w}=x;n({id:"application_servers_profiles_create",fullScreen:!0,title:e.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.dialog.create.title"}),content:()=>a.jsx(Hee,{publicIdentity:w,dialogId:"application_servers_profiles_create"}),closeOnBackdropClick:!1})},t[3]=n,t[4]=e,t[5]=u):u=t[5];const d=u;let f;t[6]!==n||t[7]!==e?(f=x=>{const{service_indication:w,service_data:C,public_identity:k}=x,A=`application_servers_profiles_edit-${w}-${C}`;n({id:A,fullScreen:!0,title:e.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.dialog.edit.title"}),content:()=>a.jsx(Hee,{publicIdentity:k,applicationServerProfile:{service_indication:w,service_data:C},dialogId:A}),closeOnBackdropClick:!1})},t[6]=n,t[7]=e,t[8]=f):f=t[8];const p=f;let m;t[9]!==c||t[10]!==e||t[11]!==r?(m=x=>{const{service_indication:w,public_identity:C}=x,k=`application_servers_profiles_delete-${w}`;r({id:k,text:e.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.dialog.delete.confirm"},{service_indication:w}),onConfirm:()=>void c({service_indication:w,public_identity:C})})},t[9]=c,t[10]=e,t[11]=r,t[12]=m):m=t[12];const h=m;let _;t[13]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(Dt,{variant:"rounded",height:"600px",width:"100%"}),t[13]=_):_=t[13];let g;t[14]===Symbol.for("react.memo_cache_sentinel")?(g=a.jsx(Tr,{}),t[14]=g):g=t[14];let y;t[15]!==d||t[16]!==h||t[17]!==p||t[18]!==e?(y=x=>a.jsxs(te,{spacing:2,sx:{m:2},children:[!x&&a.jsx(Lr,{severity:"error",message:e.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.no_private_identity"})}),!!x&&x.registration_sets.length&&a.jsx(Jn,{children:x.registration_sets.map((w,C)=>{const k=w.description||`Registration Set ${C+1}`;return a.jsx(xr,{expanded:!0,title:k,elevation:2,content:a.jsx(te,{children:w.public_identities.map(A=>{const P=[{label:e.formatMessage({id:Ue(ie.provisioning)?"udr_ims_private_identities.application_servers_profiles.form.actions.edit":"udr_ims_private_identities.application_servers_profiles.form.actions.show"}),icon:a.jsx(ge.Edit,{}),onClick:T=>{T.item&&p({...T.item,public_identity:A.name})}},{label:e.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.form.actions.delete"}),icon:a.jsx(ge.Trash,{}),onClick:T=>{T.item&&h({...T.item,public_identity:A.name})}}];return a.jsx(pr,{title:A.name,elevation:3,headerActionsComponent:a.jsx(Ze,{text:e.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.form.actions.create"}),variant:"outlined",size:"small",onClick:()=>d({public_identity:A.name}),disabled:!Ue(ie.provisioning),startIcon:a.jsx(ge.Add,{})}),children:a.jsx(s7,{divided:!0,listItemActions:P,sx:{p:0},children:A.application_servers_profiles?.map(yPt)??a.jsx(a.Fragment,{})})},A.name)})})},k)})})]}),t[15]=d,t[16]=h,t[17]=p,t[18]=e,t[19]=y):y=t[19];let b;return t[20]!==i.udrImsPrivateIdentity||t[21]!==y?(b=a.jsx(I.Suspense,{fallback:_,children:a.jsx(Qt,{resolve:i.udrImsPrivateIdentity,errorElement:g,children:y})}),t[20]=i.udrImsPrivateIdentity,t[21]=y,t[22]=b):b=t[22],b};function yPt(t,e){return a.jsx(i7,{primaryText:t.service_indication,item:t,index:e,selected:!1},t.service_indication)}const bPt=()=>{const t=he.c(33),e=Ye(),{name:r}=ko(),{submit:n,state:s,data:i}=gr(),{submit:o}=gr(),l=zn(),{confirmationSimpleDialogOpen:c}=Jt(),u=ys(),d=r!=="new";let f;t[0]!==r||t[1]!==u?(f=()=>{u(`${$.urls.udrImsPrivateIdentities}/${r}/application-servers-profiles`)},t[0]=r,t[1]=u,t[2]=f):f=t[2];const p=f;let m;t[3]!==c||t[4]!==o||t[5]!==e||t[6]!==r?(m=()=>{r&&c({title:e.formatMessage({id:"udr_ims_service_profiles.application_servers_profiles.dialog.delete.confirm"}),onConfirm:()=>{o({name:r},{action:`${$.urls.udrImsPrivateIdentities}/delete`,method:"POST",encType:"application/json"})}})},t[3]=c,t[4]=o,t[5]=e,t[6]=r,t[7]=m):m=t[7];const h=m;let _;t[8]!==n||t[9]!==d||t[10]!==r?(_=T=>{r&&(d?n({name:r,...qee({values:T,isEditing:d})},{action:`${$.urls.udrImsPrivateIdentities}/update`,method:"POST",encType:"application/json"}):n({...qee({values:T,isEditing:d})},{action:`${$.urls.udrImsPrivateIdentities}/create`,method:"POST",encType:"application/json"}))},t[8]=n,t[9]=d,t[10]=r,t[11]=_):_=t[11];const g=_;let y;t[12]!==p||t[13]!==h||t[14]!==e||t[15]!==d?(y=d&&a.jsxs(te,{direction:"row",children:[a.jsx(Ze,{text:e.formatMessage({id:"udr_ims_private_identities.actions.edit_application_servers_profiles"}),startIcon:a.jsx(ge.Sync,{}),variant:"outlined",onClick:p,disabled:!Ue(ie.provisioning)}),a.jsx(Ze,{text:e.formatMessage({id:"common.delete"}),startIcon:a.jsx(ge.Trash,{}),variant:"outlined",disabled:!Ue(ie.provisioning),onClick:h})]}),t[12]=p,t[13]=h,t[14]=e,t[15]=d,t[16]=y):y=t[16];let b;t[17]!==y?(b=a.jsx(hs,{children:y}),t[17]=y,t[18]=b):b=t[18];let x;t[19]===Symbol.for("react.memo_cache_sentinel")?(x=a.jsx(Dt,{variant:"rounded",height:"926px",width:"100%"}),t[19]=x):x=t[19];const w=l?.udrImsPrivateIdentity;let C;t[20]===Symbol.for("react.memo_cache_sentinel")?(C=a.jsx(Tr,{}),t[20]=C):C=t[20];let k;t[21]!==i||t[22]!==s||t[23]!==g||t[24]!==e||t[25]!==d?(k=T=>{const j=T?nPt(T):nC;return a.jsx(Wr,{initialValues:j,validationSchema:iPt,onSubmit:g,children:R=>{const{values:D,errors:O,dirty:N}=R;return a.jsx(dn,{canWrite:Ue(ie.provisioning),fullHeight:!0,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"type",children:F=>{const{field:U,meta:z,form:H}=F,{setFieldValue:W}=H,K=q=>{W(U.name,q),q===Gm.PSI&&(W("sip_digest_password",""),W("sip_digest_realm","")),q===Gm.DISTINCT_PUI&&W("server_name","")};return a.jsx(qs,{...U,label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.type"}),size:"small",error:!!z.error,helperText:z.error,disabled:d||s!=="idle",onChange:q=>K(q.target.value),children:rPt.map(xPt)})}}),!d&&a.jsx(Ke,{name:"supi",children:F=>{const{field:U,meta:z}=F;return a.jsx(dt,{...U,label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.supi"}),size:"small",error:!!z.error,helperText:z.error,disabled:s!=="idle"||s!=="idle"})}}),D.type===Gm.PSI&&a.jsx(a.Fragment,{children:a.jsx(Ke,{name:"server_name",children:F=>{const{field:U,meta:z}=F;return a.jsx(dt,{...U,label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.server_name"}),size:"small",error:!!z.error,helperText:z.error,disabled:s!=="idle"})}})}),d&&a.jsxs(te,{spacing:2,direction:"row",align:"center",children:[a.jsx(Ur,{name:"isOverridingKeys",children:F=>{const{field:U,form:z}=F,{setFieldValue:H}=z;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{size:"small",checked:!!U.value,onChange:(W,K)=>{H(U.name,K)}}),a.jsx(_e,{type:"body2",children:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.isOverridingKeys"})})]})}}),a.jsx(ms,{label:D.sip_digest_provisioned?e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.keys_provisioned"}):e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.keys_not_provisioned"}),color:D.sip_digest_provisioned?"primary":"default",size:"small"})]}),D.type===Gm.DISTINCT_PUI&&(D.isOverridingKeys&&d||!d)&&a.jsxs(a.Fragment,{children:[a.jsx(Ke,{name:"sip_digest_password",children:F=>{const{field:U,meta:z}=F;return a.jsx(dt,{...U,label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest.password"}),size:"small",error:!!z.error||!!O.sip_digest,helperText:z.error||O.sip_digest,disabled:s!=="idle"})}}),a.jsx(Ke,{name:"sip_digest_realm",children:F=>{const{field:U,meta:z}=F;return a.jsx(dt,{...U,label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest.realm"}),size:"small",error:!!z.error||!!O.sip_digest,helperText:z.error||O.sip_digest,disabled:s!=="idle"})}})]}),a.jsx(oi,{name:"registration_sets",children:F=>{const{remove:U,push:z,form:H}=F,{getFieldMeta:W}=H,K=()=>{z({_uuid:gn(),description:"",public_identities:[]})},q=Q=>{U(Q)},X=Q=>!W(Q)?.error;return a.jsxs(a.Fragment,{children:[a.jsxs(te,{align:"center",direction:"row",children:[a.jsx(Ze,{text:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_set_add"}),type:"button",onClick:K,disabled:s!=="idle"||!Ue(ie.provisioning)}),!X("registration_sets")&&a.jsx(_e,{color:"error",children:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.has_errors"})})]}),a.jsx(Jn,{exclusive:!1,children:D.registration_sets?.map((Q,Y)=>a.jsx(xr,{title:`${Y+1}. ${Q.description||"-"}`,elevation:2,error:!X(`registration_sets[${Y}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>q(Y),label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_set_delete"}),disabled:s!=="idle"||!Ue(ie.provisioning)}],content:a.jsxs(te,{children:[a.jsx(Ke,{name:`registration_sets[${Y}].description`,children:Z=>{const{field:re,meta:fe}=Z;return a.jsx(dt,{...re,label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.description"}),size:"small",error:!!fe.error,helperText:fe.error,disabled:s!=="idle"})}}),a.jsx(oi,{name:`registration_sets[${Y}].public_identities`,children:Z=>{const{remove:re,push:fe}=Z,de=le=>{re(le)},se=()=>{fe({_uuid:gn(),barred:!1,name:""})};return a.jsxs(a.Fragment,{children:[a.jsx(Ze,{text:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identity_add"}),type:"button",onClick:se,disabled:s!=="idle"||!Ue(ie.provisioning),sx:{alignSelf:"flex-start",my:1}}),Q?.public_identities?.length>0&&a.jsx(Jn,{exclusive:!1,children:Q.public_identities.map((le,ee)=>a.jsx(xr,{title:`${ee+1}. ${le.name||"-"}`,elevation:3,error:!X(`registration_sets[${Y}].public_identities[${ee}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>de(ee),label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identity_delete"}),disabled:s!=="idle"||!Ue(ie.provisioning)}],content:a.jsxs(te,{children:[a.jsx(Ke,{name:`registration_sets[${Y}].public_identities[${ee}].name`,children:J=>{const{field:me,meta:pe}=J;return a.jsx(dt,{...me,label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.name"}),size:"small",error:!!pe.error,helperText:pe.error,disabled:s!=="idle"})}}),a.jsx(Ke,{name:`registration_sets[${Y}].public_identities[${ee}].barred`,children:J=>{const{field:me,form:pe}=J,{setFieldValue:Se}=pe;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:me.value,onChange:(ve,xe)=>{Se(me.name,xe)},disabled:s!=="idle"}),a.jsx(_e,{children:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.barred"})})]})}}),D.type===Gm.DISTINCT_PUI&&a.jsx(Ke,{name:`registration_sets[${Y}].public_identities[${ee}].service_profile`,children:J=>{const{field:me,meta:pe}=J;return a.jsx(dt,{...me,label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.service_profile"}),size:"small",error:!!pe.error,helperText:pe.error,disabled:s!=="idle"})}}),!!le.application_servers_profiles?.length&&a.jsxs(te,{children:[a.jsx(_e,{fontWeight:"600",type:"body2",children:e.formatMessage({id:"udr_ims_private_identities.table.value.application_servers_profiles"})}),a.jsx(ks,{items:le.application_servers_profiles.map(SPt)})]})]})},`${le._uuid}`))})]})}})]})},`${Q._uuid}`))})]})}}),a.jsx(Xr,{data:i}),a.jsx(Ze,{"data-testid":"ims-initial-filter-button-save",text:e.formatMessage({id:"udr_ims_initial_filters.new_ims_initial_filter.save"}),type:"submit",disabled:!N||s!=="idle"||!Ue(ie.provisioning),sx:{alignSelf:"flex-start"}})]})})})}})},t[21]=i,t[22]=s,t[23]=g,t[24]=e,t[25]=d,t[26]=k):k=t[26];let A;t[27]!==w||t[28]!==k?(A=a.jsx(I.Suspense,{fallback:x,children:a.jsx(Qt,{resolve:w,errorElement:C,children:k})}),t[27]=w,t[28]=k,t[29]=A):A=t[29];let P;return t[30]!==b||t[31]!==A?(P=a.jsxs(a.Fragment,{children:[b,A]}),t[30]=b,t[31]=A,t[32]=P):P=t[32],P};function xPt(t){return a.jsx(En,{value:t,children:t},t)}function SPt(t){return{id:t.service_indication,label:t.service_indication}}const wPt=Pr(),CPt=dr().shape({description:We(),initial_filter_criteria:yr().of(We().strict(!0).matches(new RegExp(`(${$.regex.idString})|(${$.regex.uuid})`))).required(wPt.formatMessage({id:"udr_ims_service_profiles.new_ims_service_profile.form_errors.required"})).min(1)}),ime=t=>{const e=he.c(25),{id:r}=t,n=Ye(),{dialogClose:s}=Jt(),{dataFetcher:i,upsertFetcher:o}=Ys(),{data:l,state:c,load:u}=i,{data:d,state:f,submit:p}=o,m=r!==void 0;let h;e[0]!==p||e[1]!==r||e[2]!==m?(h=k=>{const{initial_filter_criteria:A,description:P}=k;if(m){p({id:r,initial_filter_criteria:A,...!!P&&{description:P}},{action:`${$.urls.udrImsServiceProfiles}/update`,method:"POST",encType:"application/json"});return}p({initial_filter_criteria:A,...!!P&&{description:P}},{action:`${$.urls.udrImsServiceProfiles}/create`,method:"POST",encType:"application/json"})},e[0]=p,e[1]=r,e[2]=m,e[3]=h):h=e[3];const _=h;let g;e:{if(!m||!l){let j;e[4]===Symbol.for("react.memo_cache_sentinel")?(j={description:"",initial_filter_criteria:[]},e[4]=j):j=e[4],g=j;break e}const k=l.udrImsServiceProfile,A=k?.description??"",P=k.initial_filter_criteria??"";let T;e[5]!==A||e[6]!==P?(T={description:A,initial_filter_criteria:P},e[5]=A,e[6]=P,e[7]=T):T=e[7],g=T}const y=g;let b,x;e[8]!==r||e[9]!==m||e[10]!==u?(b=()=>{m&&u(`${$.urls.udrImsServiceProfiles}/${r}`)},x=[r,m,u],e[8]=r,e[9]=m,e[10]=u,e[11]=b,e[12]=x):(b=e[11],x=e[12]),I.useEffect(b,x);let w;e[13]!==s||e[14]!==d||e[15]!==f||e[16]!==l||e[17]!==n||e[18]!==m||e[19]!==c?(w=()=>a.jsxs(dn,{canWrite:Ue(ie.provisioning),fullHeight:!0,children:[a.jsx(_s,{loading:m&&!l,children:a.jsxs(te,{spacing:2,fullHeight:!0,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"description",children:k=>{const{field:A,meta:P}=k;return a.jsx(dt,{...A,label:n.formatMessage({id:"udr_ims_service_profiles.new_ims_service_profile.form.description"}),size:"small",error:!!P.error,helperText:P.error,disabled:c!=="idle"||f!=="idle"})}}),a.jsx(Ke,{name:"initial_filter_criteria",children:k=>{const{field:A,meta:P,form:T}=k,{setFieldValue:j}=T;return a.jsx(rn,{value:A.value,name:A.name,label:n.formatMessage({id:"udr_ims_service_profiles.new_ims_service_profile.form.initial_filter_criteria"}),multiple:!0,size:"small",freeSolo:!0,options:[],onChange:(R,D)=>{j(A.name,[...new Set(D.map(APt))])},error:!!P.error,helperText:P.error,disabled:c!=="idle"||f!=="idle",fullWidth:!0})}}),a.jsx(Xr,{data:d})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{"data-testid":"ims-service-profile-button-cancel",text:n.formatMessage({id:"udr_ims_service_profiles.new_ims_service_profile.cancel"}),variant:"outlined",disabled:c!=="idle"||f!=="idle"||!Ue(ie.provisioning),onClick:()=>s()}),a.jsx(Ze,{"data-testid":"ims-service-profile-button-save",text:n.formatMessage({id:"udr_ims_service_profiles.new_ims_service_profile.save"}),type:"submit",disabled:c!=="idle"||f!=="idle"||!Ue(ie.provisioning)})]})})]}),e[13]=s,e[14]=d,e[15]=f,e[16]=l,e[17]=n,e[18]=m,e[19]=c,e[20]=w):w=e[20];let C;return e[21]!==_||e[22]!==y||e[23]!==w?(C=a.jsx(Wr,{initialValues:y,enableReinitialize:!0,validationSchema:CPt,onSubmit:_,children:w}),e[21]=_,e[22]=y,e[23]=w,e[24]=C):C=e[24],C};function APt(t){return t.trim()}const kPt=()=>{const t=he.c(10),e=Ye(),{dialogOpen:r}=Jt();let n;t[0]!==r||t[1]!==e?(n=()=>{r({title:e.formatMessage({id:"udr_ims_service_profiles.toolbar.new_ims_service_profile"}),content:MPt,closeOnBackdropClick:!1})},t[0]=r,t[1]=e,t[2]=n):n=t[2];const s=n;let i;t[3]!==e?(i=e.formatMessage({id:"common.new"}),t[3]=e,t[4]=i):i=t[4];let o;t[5]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(ge.Add,{}),t[5]=o):o=t[5];let l;t[6]===Symbol.for("react.memo_cache_sentinel")?(l=Ue(ie.provisioning),t[6]=l):l=t[6];let c;return t[7]!==s||t[8]!==i?(c=a.jsx(Ze,{text:i,startIcon:o,onClick:s,disabled:!l}),t[7]=s,t[8]=i,t[9]=c):c=t[9],c};function MPt(){return a.jsx(ime,{})}const PPt=()=>{const t=he.c(64),e=Ye(),{openConfirmDialog:r}=di(),n=Gr(),s=On(),i=gr(),{dialogOpen:o}=Jt(),{pageSize:l,pageSizeOptions:c,changePageSize:u,changePage:d,getRowsCount:f,getPage:p}=Na();let m;t[0]!==o||t[1]!==e?(m=re=>{re&&o({title:e.formatMessage({id:"udr_ims_service_profiles.toolbar.new_ims_service_profile"}),content:()=>a.jsx(ime,{id:re}),closeOnBackdropClick:!1})},t[0]=o,t[1]=e,t[2]=m):m=t[2];const h=m;let _;t[3]!==i||t[4]!==e||t[5]!==r?(_=re=>{const{id:fe}=re;fe&&r({text:e.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.dialog.delete.confirm"}),onConfirm:()=>{i.submit({id:fe},{action:`${$.urls.udrImsServiceProfiles}/delete`,method:"POST",encType:"application/json"})}})},t[3]=i,t[4]=e,t[5]=r,t[6]=_):_=t[6];const g=_;let y;t[7]!==e?(y=e.formatMessage({id:"udr_ims_service_profiles.table.header.id"}),t[7]=e,t[8]=y):y=t[8];let b;t[9]!==y?(b={key:"id",label:y,cellRender:jPt},t[9]=y,t[10]=b):b=t[10];let x;t[11]!==e?(x=e.formatMessage({id:"udr_ims_service_profiles.table.header.description"}),t[11]=e,t[12]=x):x=t[12];let w;t[13]!==x?(w={key:"description",label:x,cellRender:TPt},t[13]=x,t[14]=w):w=t[14];let C;t[15]!==e?(C=e.formatMessage({id:"udr_ims_service_profiles.table.header.created_at"}),t[15]=e,t[16]=C):C=t[16];let k;t[17]!==C?(k={key:"created_at",label:C,cellRender:EPt},t[17]=C,t[18]=k):k=t[18];let A;t[19]!==e?(A=e.formatMessage({id:"udr_ims_service_profiles.table.header.modified_at"}),t[19]=e,t[20]=A):A=t[20];let P;t[21]!==A?(P={key:"modified_at",label:A,cellRender:RPt},t[21]=A,t[22]=P):P=t[22];let T;t[23]!==b||t[24]!==w||t[25]!==k||t[26]!==P?(T=[b,w,k,P],t[23]=b,t[24]=w,t[25]=k,t[26]=P,t[27]=T):T=t[27];const j=T;let R;t[28]===Symbol.for("react.memo_cache_sentinel")?(R=_l(ie.provisioning),t[28]=R):R=t[28];const D=s.state!=="idle"||i.state!=="idle";let O;t[29]!==h?(O=re=>{const{id:fe}=re;return h(fe)},t[29]=h,t[30]=O):O=t[30];let N;t[31]!==D||t[32]!==O?(N={...R,disabled:D,onClick:O},t[31]=D,t[32]=O,t[33]=N):N=t[33];let F;t[34]!==e?(F=e.formatMessage({id:"udr_ims_service_profiles.actions.delete"}),t[34]=e,t[35]=F):F=t[35];let U;t[36]===Symbol.for("react.memo_cache_sentinel")?(U=a.jsx(ge.Trash,{}),t[36]=U):U=t[36];let z;t[37]!==g?(z=re=>void g(re),t[37]=g,t[38]=z):z=t[38];let H;t[39]!==i.state||t[40]!==s.state?(H=s.state!=="idle"||i.state!=="idle"||!Ue(ie.provisioning),t[39]=i.state,t[40]=s.state,t[41]=H):H=t[41];let W;t[42]!==F||t[43]!==z||t[44]!==H?(W={label:F,icon:U,onClick:z,disabled:H},t[42]=F,t[43]=z,t[44]=H,t[45]=W):W=t[45];let K;t[46]!==N||t[47]!==W?(K=[N,W],t[46]=N,t[47]=W,t[48]=K):K=t[48];const q=K;let X;t[49]===Symbol.for("react.memo_cache_sentinel")?(X=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[49]=X):X=t[49];let Q;t[50]===Symbol.for("react.memo_cache_sentinel")?(Q=a.jsx(Tr,{}),t[50]=Q):Q=t[50];let Y;t[51]!==d||t[52]!==u||t[53]!==j||t[54]!==i.state||t[55]!==p||t[56]!==f||t[57]!==l||t[58]!==c||t[59]!==q?(Y=re=>{const{data:fe,metadata:de}=re;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(kPt,{})}),a.jsx(Br,{autoScale:!0,loading:i.state!=="idle",orderBy:"id",columns:j,data:fe,page:p(de),labelDisplayedRows:IPt,rowsCount:f(de),rowsPerPage:l,onRowsPerPageChange:u,rowsPerPageOptions:c,rowKey:"id",rowActions:q,stickyRowActions:!0,onPageChange:d(de)})]})},t[51]=d,t[52]=u,t[53]=j,t[54]=i.state,t[55]=p,t[56]=f,t[57]=l,t[58]=c,t[59]=q,t[60]=Y):Y=t[60];let Z;return t[61]!==n.udrImsServiceProfileList||t[62]!==Y?(Z=a.jsx(I.Suspense,{fallback:X,children:a.jsx(Qt,{resolve:n.udrImsServiceProfileList,errorElement:Q,children:Y})}),t[61]=n.udrImsServiceProfileList,t[62]=Y,t[63]=Z):Z=t[63],Z};function jPt(t){const{id:e}=t;return a.jsx(Ap,{text:e||"*"})}function TPt(t){const{description:e}=t;return e?a.jsx(_e,{type:"body2",children:e}):a.jsx(_e,{type:"body2",children:"*"})}function EPt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function RPt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function IPt(){return""}function DPt(t){return{...t,r1:parseInt(t.r1),r2:parseInt(t.r2),r3:parseInt(t.r3),r4:parseInt(t.r4),r5:parseInt(t.r5)}}const $Pt=dr().shape({c1:We().required().matches(new RegExp($.regex.milenageConstantC)),c2:We().required().matches(new RegExp($.regex.milenageConstantC)),c3:We().required().matches(new RegExp($.regex.milenageConstantC)),c4:We().required().matches(new RegExp($.regex.milenageConstantC)),c5:We().required().matches(new RegExp($.regex.milenageConstantC)),r1:kn().required().min(1).max(127),r2:kn().required().min(1).max(127),r3:kn().required().min(1).max(127),r4:kn().required().min(1).max(127),r5:kn().required().min(1).max(127)}),OPt=()=>{const t=he.c(19),e=Ye(),{openConfirmDialog:r}=di(),n=zn(),{submit:s,state:i,data:o}=gr(),{submit:l,state:c}=gr();let u;t[0]===Symbol.for("react.memo_cache_sentinel")?(u={c1:"",c2:"",c3:"",c4:"",c5:"",r1:"",r2:"",r3:"",r4:"",r5:""},t[0]=u):u=t[0];const d=u;let f;t[1]!==s?(f=x=>{s(DPt(x),{method:"PUT",action:"update",encType:"application/json"})},t[1]=s,t[2]=f):f=t[2];const p=f;let m;t[3]!==e||t[4]!==r||t[5]!==l?(m=()=>{r({text:e.formatMessage({id:"udr_milenage_constants.actions.confirm_delete"}),onConfirm:()=>{l(null,{method:"DELETE",action:$.urls.udrCustomMilenageConstantsDelete_Action,encType:"application/json"})}})},t[3]=e,t[4]=r,t[5]=l,t[6]=m):m=t[6];const h=m;let _;t[7]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(Dt,{variant:"rounded",height:"755px"}),t[7]=_):_=t[7];let g;t[8]===Symbol.for("react.memo_cache_sentinel")?(g=a.jsx(Tr,{}),t[8]=g):g=t[8];let y;t[9]!==h||t[10]!==p||t[11]!==e||t[12]!==c||t[13]!==o||t[14]!==i?(y=x=>a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsxs(te,{direction:"row",spacing:2,align:"center",children:[x.provisioned?a.jsx(bi,{status:nn.SUCCESS,asChip:!0,label:e.formatMessage({id:"udr_milenage_constants.provisioned"})}):a.jsx(bi,{status:nn.ERROR,asChip:!0,label:e.formatMessage({id:"udr_milenage_constants.not_provisioned"})}),a.jsx(Ze,{text:e.formatMessage({id:"udr_milenage_constants.actions.delete"}),variant:"outlined",startIcon:a.jsx(ge.Trash,{}),disabled:!x.provisioned||c!=="idle"||i!=="idle",onClick:h})]})}),a.jsx(Kt,{title:e.formatMessage({id:"udr_milenage_constants.panel.title"}),children:a.jsx(Wr,{initialValues:d,validationSchema:$Pt,onSubmit:p,children:w=>{const{dirty:C}=w;return a.jsx(dn,{canWrite:Ue(ie.milenage_constants),children:a.jsxs(te,{spacing:2,fullWidth:!0,nowrap:!0,children:[["c1","c2","c3","c4","c5","r1","r2","r3","r4","r5"].map(k=>a.jsx(Ke,{name:k,children:A=>{const{field:P,meta:T}=A;return a.jsx(dt,{...P,label:e.formatMessage({id:`udr_milenage_constants.form.${k}`}),size:"small",error:!!T.error,helperText:T.error})}},k)),a.jsx(Xr,{data:o}),a.jsx(Ze,{type:"submit",text:e.formatMessage({id:"udr_milenage_constants.buttons.save"}),disabled:!C||c!=="idle"||!Ue(ie.milenage_constants),loading:i!=="idle",sx:{alignSelf:"flex-start"}})]})})}})})]}),t[9]=h,t[10]=p,t[11]=e,t[12]=c,t[13]=o,t[14]=i,t[15]=y):y=t[15];let b;return t[16]!==n.milenageCostants||t[17]!==y?(b=a.jsx(I.Suspense,{fallback:_,children:a.jsx(Qt,{resolve:n.milenageCostants,errorElement:g,children:y})}),t[16]=n.milenageCostants,t[17]=y,t[18]=b):b=t[18],b},LPt=Pr(),NPt=dr().shape({transport_key_id:We(),transport_key_tag:We().matches(new RegExp($.regex.supiTag)),op:We().strict(!0).matches(new RegExp($.regex.operatorKey)).required(LPt.formatMessage({id:"udr_operator_keys.new_operator_key.form_errors.required"}))}),ome=t=>{const e=he.c(14),{id:r}=t,n=Ye(),{dialogClose:s}=Jt(),{upsertFetcher:i}=Ys(),{submit:o,state:l,data:c}=i,u=!!r;let d;e[0]===Symbol.for("react.memo_cache_sentinel")?(d={op:""},e[0]=d):d=e[0];const f=d;let p;e[1]!==r||e[2]!==u||e[3]!==o?(p=g=>{if(u){const{op:y}=g;o({id:r,op:y},{action:"udr/operator-codes/update",method:"PUT",encType:"application/json"})}else o({id:g.id,op:g.op},{action:"udr/operator-codes/create",method:"POST",encType:"application/json"})},e[1]=r,e[2]=u,e[3]=o,e[4]=p):p=e[4];const m=p;let h;e[5]!==c||e[6]!==s||e[7]!==n||e[8]!==u||e[9]!==l?(h=()=>a.jsx(dn,{canWrite:Ue([ie.operator_codes,ie.provisioning]),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{spacing:2,children:[!u&&a.jsx(Ke,{name:"id",children:g=>{const{field:y,meta:b}=g;return a.jsx(dt,{...y,label:n.formatMessage({id:"udr_operator_keys.new_operator_key.id"}),size:"small",error:!!b.error,helperText:b.error,disabled:l!=="idle"})}}),a.jsx(Ke,{name:"op",children:g=>{const{field:y,meta:b}=g;return a.jsx(dt,{...y,label:n.formatMessage({id:"udr_operator_keys.new_operator_key.op"}),size:"small",error:!!b.error,helperText:b.error,disabled:l!=="idle"})}}),a.jsx(Xr,{data:c})]}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:n.formatMessage({id:"udr_operator_keys.new_operator_key.cancel"}),variant:"outlined",disabled:l!=="idle"||!Ue([ie.operator_codes,ie.provisioning]),onClick:()=>s()}),a.jsx(Ze,{text:n.formatMessage({id:"udr_operator_keys.new_operator_key.save"}),type:"submit",loading:l!=="idle",disabled:!Ue([ie.operator_codes,ie.provisioning])})]})]})}),e[5]=c,e[6]=s,e[7]=n,e[8]=u,e[9]=l,e[10]=h):h=e[10];let _;return e[11]!==m||e[12]!==h?(_=a.jsx(te,{padding:2,children:a.jsx(Wr,{initialValues:f,validationSchema:NPt,onSubmit:m,children:h})}),e[11]=m,e[12]=h,e[13]=_):_=e[13],_},FPt=()=>{const t=he.c(56),e=Ye(),{dialogOpen:r}=Jt(),{openConfirmDialog:n}=di(),s=zn(),{submit:i,state:o}=gr(),{pageSize:l,pageSizeOptions:c,changePageSize:u,changePage:d,getRowsCount:f,getPage:p}=Na();let m;t[0]!==e?(m=e.formatMessage({id:"udr_operator_keys.table.header.id"}),t[0]=e,t[1]=m):m=t[1];let h;t[2]!==m?(h={key:"id",label:m,cellRender:UPt},t[2]=m,t[3]=h):h=t[3];let _;t[4]!==e?(_=e.formatMessage({id:"udr_operator_keys.table.header.created_at"}),t[4]=e,t[5]=_):_=t[5];let g;t[6]!==_?(g={key:"created_at",label:_,cellRender:BPt},t[6]=_,t[7]=g):g=t[7];let y;t[8]!==e?(y=e.formatMessage({id:"udr_operator_keys.table.header.modified_at"}),t[8]=e,t[9]=y):y=t[9];let b;t[10]!==y?(b={key:"modified_at",label:y,cellRender:zPt},t[10]=y,t[11]=b):b=t[11];let x;t[12]!==h||t[13]!==g||t[14]!==b?(x=[h,g,b],t[12]=h,t[13]=g,t[14]=b,t[15]=x):x=t[15];const w=x;let C;t[16]===Symbol.for("react.memo_cache_sentinel")?(C=_l([ie.operator_codes,ie.provisioning]),t[16]=C):C=t[16];const k=o!=="idle";let A;t[17]!==r||t[18]!==e?(A=K=>{const{id:q}=K;r({title:e.formatMessage({id:"udr_operator_keys.edit_operator_key.title"}),content:()=>a.jsx(ome,{id:q})})},t[17]=r,t[18]=e,t[19]=A):A=t[19];let P;t[20]!==k||t[21]!==A?(P={...C,disabled:k,onClick:A},t[20]=k,t[21]=A,t[22]=P):P=t[22];let T;t[23]!==e?(T=e.formatMessage({id:"udr_operator_keys.actions.delete"}),t[23]=e,t[24]=T):T=t[24];let j;t[25]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(ge.Trash,{}),t[25]=j):j=t[25];let R;t[26]!==e||t[27]!==n||t[28]!==i?(R=K=>{const{id:q}=K;n({text:e.formatMessage({id:"udr_operator_keys.actions.delete.confirm"},{key:q}),onConfirm:()=>{i({id:q},{action:$.urls.udrOperatorCodesDelete_Action,method:"DELETE",encType:"application/json"})}})},t[26]=e,t[27]=n,t[28]=i,t[29]=R):R=t[29];let D;t[30]!==o?(D=o!=="idle"||!Ue(ie.provisioning)&&!Ue(ie.operator_codes),t[30]=o,t[31]=D):D=t[31];let O;t[32]!==T||t[33]!==R||t[34]!==D?(O={label:T,icon:j,onClick:R,disabled:D},t[32]=T,t[33]=R,t[34]=D,t[35]=O):O=t[35];let N;t[36]!==P||t[37]!==O?(N=[P,O],t[36]=P,t[37]=O,t[38]=N):N=t[38];const F=N;let U;t[39]===Symbol.for("react.memo_cache_sentinel")?(U=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[39]=U):U=t[39];let z;t[40]===Symbol.for("react.memo_cache_sentinel")?(z=a.jsx(Tr,{}),t[40]=z):z=t[40];let H;t[41]!==d||t[42]!==u||t[43]!==w||t[44]!==r||t[45]!==p||t[46]!==f||t[47]!==e||t[48]!==l||t[49]!==c||t[50]!==F||t[51]!==o?(H=K=>a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{text:e.formatMessage({id:"common.new"}),startIcon:a.jsx(ge.Add,{}),onClick:()=>{r({title:e.formatMessage({id:"udr_operator_keys.new_operator_key.title"}),content:qPt})},disabled:o!=="idle"||!Ue(ie.provisioning)&&!Ue(ie.operator_codes)})}),a.jsx(Br,{autoScale:!0,orderBy:"id",columns:w,data:K.data,page:p(K.metadata),labelDisplayedRows:VPt,rowsCount:f(K.metadata),rowsPerPage:l,onRowsPerPageChange:u,rowsPerPageOptions:c,rowKey:"id",rowActions:F,stickyRowActions:!0,onPageChange:d(K.metadata),loading:o!=="idle"})]}),t[41]=d,t[42]=u,t[43]=w,t[44]=r,t[45]=p,t[46]=f,t[47]=e,t[48]=l,t[49]=c,t[50]=F,t[51]=o,t[52]=H):H=t[52];let W;return t[53]!==s.operatorKeys||t[54]!==H?(W=a.jsx(I.Suspense,{fallback:U,children:a.jsx(Qt,{resolve:s.operatorKeys,errorElement:z,children:H})}),t[53]=s.operatorKeys,t[54]=H,t[55]=W):W=t[55],W};function UPt(t){const{id:e}=t;return e?a.jsx(_e,{type:"body2",children:e}):a.jsx(_e,{type:"body2",children:"*"})}function BPt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function zPt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function qPt(){return a.jsx(ome,{})}function VPt(){return""}const Gee=Pr(),HPt=dr().shape({mcc:We().required(Gee.formatMessage({id:"udr_plmns.new_plmn.form_errors.required"})).strict(!0).matches(new RegExp(`(${$.regex.idString})|(${$.regex.mcc})`)),mnc:We().required(Gee.formatMessage({id:"udr_plmns.new_plmn.form_errors.required"})).strict(!0).matches(new RegExp(`(${$.regex.idString})|(${$.regex.mnc})`))}),GPt=()=>{const t=he.c(11),e=Ye(),{upsertFetcher:r}=Ys(),{submit:n,data:s,state:i}=r,{dialogClose:o}=Jt();let l;t[0]!==n?(l=p=>{const{mcc:m,mnc:h}=p;n({mcc:m,mnc:h},{method:"POST",encType:"application/json",action:"udr/plmns/create"})},t[0]=n,t[1]=l):l=t[1];const c=l;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u={mcc:"",mnc:""},t[2]=u):u=t[2];let d;t[3]!==s||t[4]!==o||t[5]!==e||t[6]!==i?(d=()=>a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"mcc",children:p=>{const{field:m,meta:h}=p;return a.jsx(dt,{...m,label:e.formatMessage({id:"udr_plmns.new_plmn.form.mcc"}),size:"small",error:!!h.error,helperText:h.error,disabled:i!=="idle"})}}),a.jsx(Ke,{name:"mnc",children:p=>{const{field:m,meta:h}=p;return a.jsx(dt,{...m,label:e.formatMessage({id:"udr_plmns.new_plmn.form.mnc"}),size:"small",error:!!h.error,helperText:h.error,disabled:i!=="idle"})}}),a.jsx(Xr,{data:s})]}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:e.formatMessage({id:"udr_plmns.new_plmn.cancel"}),variant:"outlined",disabled:i!=="idle"||!Ue(ie.provisioning),onClick:()=>o()}),a.jsx(Ze,{text:e.formatMessage({id:"udr_plmns.new_plmn.save"}),type:"submit",disabled:i!=="idle"||!Ue(ie.provisioning),loading:i!=="idle"})]})]})}),t[3]=s,t[4]=o,t[5]=e,t[6]=i,t[7]=d):d=t[7];let f;return t[8]!==c||t[9]!==d?(f=a.jsx(te,{padding:2,children:a.jsx(Wr,{initialValues:u,validationSchema:HPt,onSubmit:c,children:d})}),t[8]=c,t[9]=d,t[10]=f):f=t[10],f},WPt=()=>{const t=he.c(54),e=Ye(),{dialogOpen:r}=Jt(),{openConfirmDialog:n}=di(),s=zn(),{submit:i,state:o}=gr(),{pageSize:l,pageSizeOptions:c,changePageSize:u,changePage:d,getRowsCount:f,getPage:p}=Na();let m;t[0]!==r||t[1]!==e?(m=()=>{r({title:e.formatMessage({id:"udr_plmns.toolbar.new_plmn"}),content:YPt,closeOnBackdropClick:!1})},t[0]=r,t[1]=e,t[2]=m):m=t[2];const h=m;let _;t[3]!==e||t[4]!==n||t[5]!==i?(_=K=>{const{mcc:q,mnc:X}=K;n({text:e.formatMessage({id:"udr_plmns.actions.delete.confirm"},{plmn:`${q}${X}`}),onConfirm:()=>{i({mcc:q,mnc:X},{method:"DELETE",encType:"application/json",action:"delete"})}})},t[3]=e,t[4]=n,t[5]=i,t[6]=_):_=t[6];const g=_;let y;t[7]!==e?(y=e.formatMessage({id:"udr_plmns.table.header.mcc"}),t[7]=e,t[8]=y):y=t[8];let b;t[9]!==y?(b={key:"mcc",label:y},t[9]=y,t[10]=b):b=t[10];let x;t[11]!==e?(x=e.formatMessage({id:"udr_plmns.table.header.mnc"}),t[11]=e,t[12]=x):x=t[12];let w;t[13]!==x?(w={key:"mnc",label:x},t[13]=x,t[14]=w):w=t[14];let C;t[15]!==e?(C=e.formatMessage({id:"udr_plmns.table.header.created_at"}),t[15]=e,t[16]=C):C=t[16];let k;t[17]!==C?(k={key:"created_at",label:C,cellRender:KPt},t[17]=C,t[18]=k):k=t[18];let A;t[19]!==e?(A=e.formatMessage({id:"udr_plmns.table.header.modified_at"}),t[19]=e,t[20]=A):A=t[20];let P;t[21]!==A?(P={key:"modified_at",label:A,cellRender:QPt},t[21]=A,t[22]=P):P=t[22];let T;t[23]!==b||t[24]!==w||t[25]!==k||t[26]!==P?(T=[b,w,k,P],t[23]=b,t[24]=w,t[25]=k,t[26]=P,t[27]=T):T=t[27];const j=T;let R;t[28]!==e?(R=e.formatMessage({id:"udr_plmns.actions.delete"}),t[28]=e,t[29]=R):R=t[29];let D;t[30]===Symbol.for("react.memo_cache_sentinel")?(D=a.jsx(ge.Trash,{}),t[30]=D):D=t[30];let O;t[31]!==o?(O=o!=="idle"||!Ue(ie.provisioning),t[31]=o,t[32]=O):O=t[32];let N;t[33]!==g||t[34]!==R||t[35]!==O?(N=[{label:R,icon:D,onClick:g,disabled:O}],t[33]=g,t[34]=R,t[35]=O,t[36]=N):N=t[36];const F=N;let U;t[37]===Symbol.for("react.memo_cache_sentinel")?(U=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[37]=U):U=t[37];let z;t[38]===Symbol.for("react.memo_cache_sentinel")?(z=a.jsx(Tr,{}),t[38]=z):z=t[38];let H;t[39]!==d||t[40]!==u||t[41]!==j||t[42]!==p||t[43]!==f||t[44]!==h||t[45]!==e||t[46]!==l||t[47]!==c||t[48]!==F||t[49]!==o?(H=K=>a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{text:e.formatMessage({id:"common.new"}),startIcon:a.jsx(ge.Add,{}),onClick:h,disabled:o!=="idle"||!Ue(ie.provisioning)})}),a.jsx(Br,{autoScale:!0,orderBy:"mcc",columns:j,data:K.data,page:p(K.metadata),labelDisplayedRows:ZPt,rowsCount:f(K.metadata),rowsPerPage:l,onRowsPerPageChange:u,rowsPerPageOptions:c,rowKey:"mcc",rowActions:F,stickyRowActions:!0,onPageChange:d(K.metadata),loading:o!=="idle"})]}),t[39]=d,t[40]=u,t[41]=j,t[42]=p,t[43]=f,t[44]=h,t[45]=e,t[46]=l,t[47]=c,t[48]=F,t[49]=o,t[50]=H):H=t[50];let W;return t[51]!==s.udrPlmnList||t[52]!==H?(W=a.jsx(I.Suspense,{fallback:U,children:a.jsx(Qt,{resolve:s.udrPlmnList,errorElement:z,children:H})}),t[51]=s.udrPlmnList,t[52]=H,t[53]=W):W=t[53],W};function YPt(){return a.jsx(GPt,{})}function KPt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function QPt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function ZPt(){return""}const XPt=()=>{const t=he.c(71),e=Ye(),{submit:r,state:n}=gr(),s=ys(),{udrPolicyDataProfileList:i}=zn(),{openConfirmDialog:o}=di(),{pageSize:l,pageSizeOptions:c,changePageSize:u,changePage:d,getRowsCount:f,getPage:p}=Na();let m;t[0]!==s?(m=()=>{s("new")},t[0]=s,t[1]=m):m=t[1];const h=m;let _;t[2]!==s?(_=le=>{const{uuid:ee}=le;ee&&s(ee)},t[2]=s,t[3]=_):_=t[3];const g=_;let y;t[4]!==e||t[5]!==o||t[6]!==r?(y=le=>{const{uuid:ee}=le;ee&&o({text:e.formatMessage({id:"udr_policy_data_profiles.toolbar.delete"}),onConfirm:()=>r({id:ee},{method:"DELETE",encType:"application/json",action:`${ee}/delete`})})},t[4]=e,t[5]=o,t[6]=r,t[7]=y):y=t[7];const b=y;let x;t[8]!==e?(x=e.formatMessage({id:"udr_policy_data_profiles.table.id"}),t[8]=e,t[9]=x):x=t[9];let w;t[10]!==x?(w={key:"uuid",label:x},t[10]=x,t[11]=w):w=t[11];let C;t[12]!==e?(C=e.formatMessage({id:"udr_policy_data_profiles.table.description"}),t[12]=e,t[13]=C):C=t[13];let k;t[14]!==C?(k={key:"description",label:C},t[14]=C,t[15]=k):k=t[15];let A;t[16]!==e?(A=e.formatMessage({id:"udr_policy_data_profiles.table.created_at"}),t[16]=e,t[17]=A):A=t[17];let P;t[18]!==A?(P={key:"created_at",label:A,cellRender:JPt},t[18]=A,t[19]=P):P=t[19];let T;t[20]!==e?(T=e.formatMessage({id:"udr_policy_data_profiles.table.modified_at"}),t[20]=e,t[21]=T):T=t[21];let j;t[22]!==T?(j={key:"modified_at",label:T,cellRender:ejt},t[22]=T,t[23]=j):j=t[23];let R;t[24]!==j||t[25]!==w||t[26]!==k||t[27]!==P?(R=[w,k,P,j],t[24]=j,t[25]=w,t[26]=k,t[27]=P,t[28]=R):R=t[28];const D=R;let O;t[29]===Symbol.for("react.memo_cache_sentinel")?(O=_l(ie.provisioning),t[29]=O):O=t[29];const N=n!=="idle";let F;t[30]!==g||t[31]!==N?(F={...O,disabled:N,onClick:g},t[30]=g,t[31]=N,t[32]=F):F=t[32];let U;t[33]!==e?(U=e.formatMessage({id:"udr_policy_data_profiles.actions.delete"}),t[33]=e,t[34]=U):U=t[34];let z;t[35]===Symbol.for("react.memo_cache_sentinel")?(z=a.jsx(ge.Trash,{}),t[35]=z):z=t[35];let H;t[36]!==n?(H=n!=="idle"||!Ue(ie.provisioning),t[36]=n,t[37]=H):H=t[37];let W;t[38]!==b||t[39]!==U||t[40]!==H?(W={label:U,icon:z,disabled:H,onClick:b},t[38]=b,t[39]=U,t[40]=H,t[41]=W):W=t[41];let K;t[42]!==F||t[43]!==W?(K=[F,W],t[42]=F,t[43]=W,t[44]=K):K=t[44];const q=K;let X;t[45]!==e?(X=e.formatMessage({id:"common.new"}),t[45]=e,t[46]=X):X=t[46];let Q;t[47]===Symbol.for("react.memo_cache_sentinel")?(Q=a.jsx(ge.Add,{}),t[47]=Q):Q=t[47];let Y;t[48]!==n?(Y=n!=="idle"||!Ue(ie.provisioning),t[48]=n,t[49]=Y):Y=t[49];let Z;t[50]!==h||t[51]!==X||t[52]!==Y?(Z=a.jsx(hs,{children:a.jsx(Ze,{text:X,startIcon:Q,onClick:h,disabled:Y})}),t[50]=h,t[51]=X,t[52]=Y,t[53]=Z):Z=t[53];let re;t[54]===Symbol.for("react.memo_cache_sentinel")?(re=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[54]=re):re=t[54];let fe;t[55]!==d||t[56]!==u||t[57]!==D||t[58]!==p||t[59]!==f||t[60]!==l||t[61]!==c||t[62]!==q||t[63]!==n?(fe=le=>a.jsx(Br,{autoScale:!0,orderBy:"uuid",columns:D,data:le.data,page:p(le.metadata),labelDisplayedRows:tjt,rowsCount:f(le.metadata),rowsPerPage:l,onRowsPerPageChange:u,rowsPerPageOptions:c,rowKey:"uuid",rowActions:q,stickyRowActions:!0,onPageChange:d(le.metadata),loading:n!=="idle"}),t[55]=d,t[56]=u,t[57]=D,t[58]=p,t[59]=f,t[60]=l,t[61]=c,t[62]=q,t[63]=n,t[64]=fe):fe=t[64];let de;t[65]!==fe||t[66]!==i?(de=a.jsx(I.Suspense,{fallback:re,children:a.jsx(Qt,{resolve:i,children:fe})}),t[65]=fe,t[66]=i,t[67]=de):de=t[67];let se;return t[68]!==Z||t[69]!==de?(se=a.jsxs(a.Fragment,{children:[Z,de]}),t[68]=Z,t[69]=de,t[70]=se):se=t[70],se};function JPt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function ejt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function tjt(){return""}const vu=Pr(),rjt=t=>!t||bie.isEmpty(t)?{snssaiList:[]}:{snssaiList:Object.values(t.smPolicySnssaiData).map(e=>({_uuid:gn(),sst:e.snssai?.sst,sd:e.snssai?.sd??"",dnnList:Object.values(e.smPolicyDnnData)?.map(r=>({_uuid:gn(),dnn:r.dnn,allowedServices:r.allowedServices}))}))},njt=t=>!t||bie.isEmpty(t)?{subscCats:""}:{subscCats:t.subscCats[0]??""};function sjt(t){const{uuid:e,description:r,sm_data:n,am_data:s}=t,i=rjt(n),o=njt(s);return{uuid:e,description:r??"",...i,...o}}function ijt(t){if(t.length!==0)return{sm_data:{smPolicySnssaiData:t.reduce((e,{sd:r,sst:n,dnnList:s})=>({...e,[`${n}${r?"-"+r:""}`]:{snssai:{sst:n,...r&&{sd:r}},smPolicyDnnData:s.reduce((i,{dnn:o,allowedServices:l})=>({...i,[`${o}`]:{dnn:o,allowedServices:l}}),{})}}),{})}}}function ojt(t){if(t)return{am_data:{subscCats:[t]}}}function ajt({uuid:t,description:e,snssaiList:r,subscCats:n}){const s=ijt(r),i=ojt(n);return{uuid:t,...e&&{description:e},...s,...i}}const ljt=(t,e,r)=>t?e?`${t}-${e}`:`${t}`:`S-NSSAI #${r+1}`,cjt=(t,e)=>t||`DNN #${e+1}`,ujt=dr().shape({uuid:We().required(vu.formatMessage({id:"validation.required"})).matches(new RegExp(`${$.regex.idString}|${$.regex.uuid}`),vu.formatMessage({id:"udr_provisioned_data_profiles.form.errors.uuid_format"},{value:`${$.regex.idString}|${$.regex.uuid}`})),description:We().strict(!0).matches(new RegExp($.regex.descriptionRm),vu.formatMessage({id:"udr_policy_data_profiles.form.errors.format"},{value:"^[ -~]{1,128}"})),snssaiList:yr().of(dr().shape({sst:kn().typeError("must be a number").min(0,vu.formatMessage({id:"udr_policy_data_profiles.form.errors.min"},{value:0})).max(255,vu.formatMessage({id:"udr_policy_data_profiles.form.errors.max"},{value:255})).required(vu.formatMessage({id:"udr_policy_data_profiles.form.errors.required"})),sd:We().typeError("must be a string").strict(!0).matches(/^[A-Fa-f0-9]{6}$/,vu.formatMessage({id:"udr_policy_data_profiles.form.errors.format"},{value:"^[A-Fa-f0-9]{6}$"})),dnnList:yr().of(dr().shape({dnn:We().required(vu.formatMessage({id:"udr_policy_data_profiles.form.errors.required"})),allowedServices:yr().of(We()).min(1,({min:t})=>vu.formatMessage({id:"udr_policy_data_profiles.form.errors.least"},{value:t}))})).min(1)})).when("subscCats",{is:t=>t&&t.length>0,then:t=>t.min(0),otherwise:t=>t.min(1)}),subscCats:We().when("snssaiList",{is:t=>!t||t.length>0,then:t=>t.notRequired(),otherwise:t=>t.required(vu.formatMessage({id:"udr_policy_data_profiles.form.errors.required"}))})},[["subscCats","snssaiList"]]),djt=t=>{const e=he.c(16),{initialValues:r,onSubmit:n,loading:s,error:i}=t,[o,l]=I.useState("sm"),c=Ye(),u=ko().id!=="new";let d;e[0]===Symbol.for("react.memo_cache_sentinel")?(d=b=>{l(b)},e[0]=d):d=e[0];const f=d;let p;e:{if(r){let x;e[1]!==r?(x=sjt(r),e[1]=r,e[2]=x):x=e[2],p=x;break e}let b;e[3]===Symbol.for("react.memo_cache_sentinel")?(b={uuid:"",description:"",snssaiList:[],subscCats:""},e[3]=b):b=e[3],p=b}const m=p;let h;e[4]!==n?(h=b=>{const x=ajt(b);x&&n(x)},e[4]=n,e[5]=h):h=e[5];const _=h;let g;e[6]!==i||e[7]!==c||e[8]!==u||e[9]!==s||e[10]!==o?(g=b=>{const{values:x,errors:w,dirty:C}=b;return a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"uuid",children:k=>{const{field:A,meta:P}=k;return a.jsx(dt,{...A,label:c.formatMessage({id:"udr_policy_data_profiles.form.uuid"}),size:"small",required:!0,disabled:u,error:!!P.error,helperText:P.error})}}),a.jsx(Ke,{name:"description",children:k=>{const{field:A,meta:P}=k;return a.jsx(dt,{...A,label:c.formatMessage({id:"udr_policy_data_profiles.form.description"}),size:"small",error:!!P.error,helperText:P.error})}}),a.jsx(VA,{tabs:[{value:"sm",label:c.formatMessage({id:"udr_policy_data_profiles.form.tabs.sm"}),status:w.snssaiList?nn.ERROR:void 0},{value:"am",label:c.formatMessage({id:"udr_policy_data_profiles.form.tabs.am"}),status:w.subscCats?nn.ERROR:void 0}],value:o,onChange:f}),o==="sm"&&a.jsx(oi,{name:"snssaiList",children:k=>{const{remove:A,push:P,form:T}=k,{getFieldMeta:j}=T,R=()=>{P({_uuid:gn(),sst:"",sd:"",dnnList:[]})},D=N=>{A(N)},O=N=>!j(N)?.error;return a.jsx(pr,{error:!O("snssaiList"),title:"S-NSSAIs",headerActionsComponent:a.jsx(Ze,{variant:"outlined",startIcon:a.jsx(ge.Add,{}),text:c.formatMessage({id:"udr_policy_data_profiles.form.snssai_add"}),type:"button",onClick:R,disabled:!Ue(ie.provisioning)}),elevation:2,children:a.jsxs(Kt,{children:[x.snssaiList.length===0&&a.jsx(Lr,{severity:"info",message:c.formatMessage({id:"common.no-data"}),sx:{backgroundColor:"divider"}}),a.jsx(Jn,{exclusive:!1,spacing:2,children:x.snssaiList.map((N,F)=>a.jsx(xr,{title:ljt(N.sst,N.sd||"",F),error:!O(`snssaiList[${F}]`),elevation:3,actionsComponent:a.jsx(Mn,{title:c.formatMessage({id:"udr_policy_data_profiles.form.dnn_remove"}),children:a.jsx("div",{children:a.jsx(Zr,{component:"span",role:"button",size:"small",onClick:()=>D(F),disabled:!Ue(ie.provisioning),children:a.jsx(ge.Trash,{})})})}),content:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{direction:{xs:"column",md:"row"},children:[a.jsx(Ke,{name:`snssaiList[${F}].sst`,children:U=>{const{field:z,meta:H}=U;return a.jsx(dt,{...z,label:c.formatMessage({id:"udr_policy_data_profiles.form.sst"}),size:"small",error:!!H.error,helperText:H.error,sx:{flex:1}})}}),a.jsx(Ke,{name:`snssaiList[${F}].sd`,children:U=>{const{field:z,meta:H}=U;return a.jsx(dt,{...z,label:c.formatMessage({id:"udr_policy_data_profiles.form.sd"}),size:"small",error:!!H.error,helperText:H.error,sx:{flex:1}})}})]}),a.jsx(oi,{name:`snssaiList[${F}].dnnList`,children:U=>{const{remove:z,push:H}=U,W=q=>{z(q)},K=()=>{H({_uuid:gn(),dnn:"",allowedServices:[]})};return a.jsx(pr,{error:!O(`snssaiList[${F}].dnnList`),title:"DNNs",headerActionsComponent:a.jsx(Ze,{variant:"outlined",startIcon:a.jsx(ge.Add,{}),text:c.formatMessage({id:"udr_policy_data_profiles.form.dnn_add"}),type:"button",onClick:K,disabled:!Ue(ie.provisioning)}),elevation:4,children:a.jsxs(Kt,{children:[N.dnnList.length===0&&a.jsx(Lr,{severity:"info",message:c.formatMessage({id:"common.no-data"}),sx:{backgroundColor:"divider"}}),N.dnnList.length>0&&a.jsx(Jn,{exclusive:!1,spacing:2,children:N.dnnList.map((q,X)=>a.jsx(xr,{elevation:5,title:cjt(q.dnn,X),error:!O(`snssaiList[${F}].dnnList[${X}]`),actionsComponent:a.jsx(Mn,{title:c.formatMessage({id:"udr_policy_data_profiles.form.snssai_remove"}),children:a.jsx("div",{children:a.jsx(Zr,{component:"span",role:"button",size:"small",onClick:()=>W(X),disabled:!Ue(ie.provisioning),children:a.jsx(ge.Trash,{})})})}),content:a.jsxs(te,{direction:{xs:"column",md:"row"},children:[a.jsx(Ke,{name:`snssaiList[${F}].dnnList[${X}].dnn`,children:Q=>{const{field:Y,meta:Z}=Q;return a.jsx(dt,{...Y,label:c.formatMessage({id:"udr_policy_data_profiles.form.dnn"}),size:"small",error:!!Z.error,helperText:Z.error,sx:{flex:1}})}}),a.jsx(Ke,{name:`snssaiList[${F}].dnnList[${X}].allowedServices`,children:Q=>{const{field:Y,meta:Z,form:re}=Q,{setFieldValue:fe}=re;return a.jsx(rn,{value:Y.value,name:Y.name,label:c.formatMessage({id:"udr_policy_data_profiles.form.allowedServices"}),multiple:!0,size:"small",freeSolo:!0,options:["ims","mcptt"],onChange:(de,se)=>{fe(Y.name,se)},error:!!Z.error,helperText:Z.error,sx:{flex:1}})}})]})},`${q?._uuid}`))})]})})}})]})},`${N._uuid}`))})]})})}}),o==="am"&&a.jsx(pr,{elevation:2,children:a.jsx(Kt,{children:a.jsx(Ke,{name:"subscCats",children:k=>{const{field:A,meta:P}=k;return a.jsx(dt,{...A,label:c.formatMessage({id:"udr_policy_data_profiles.form.subscCats"}),size:"small",error:!!P.error,helperText:P.error,fullWidth:!0})}})})}),a.jsx(Xr,{data:i})]}),a.jsx(Ze,{type:"submit",text:c.formatMessage({id:"udr_policy_data_profiles.form.submit"}),disabled:!C,loading:s,sx:{alignSelf:"flex-start"}})]})})},e[6]=i,e[7]=c,e[8]=u,e[9]=s,e[10]=o,e[11]=g):g=e[11];let y;return e[12]!==_||e[13]!==m||e[14]!==g?(y=a.jsx(Wr,{initialValues:m,validationSchema:ujt,onSubmit:_,children:g}),e[12]=_,e[13]=m,e[14]=g,e[15]=y):y=e[15],y},fjt=()=>{const t=he.c(31),e=Ye(),{submit:r,data:n,state:s}=gr(),{id:i}=ko(),{udrPolicyDataProfile:o}=zn(),{openConfirmDialog:l}=di(),c=i&&i!=="new";let u;t[0]!==r?(u=async P=>{r(P,{method:"POST",encType:"application/json",action:"create"})},t[0]=r,t[1]=u):u=t[1];const d=u;let f;t[2]!==r?(f=async P=>{r(P,{method:"PUT",encType:"application/json",action:"update"})},t[2]=r,t[3]=f):f=t[3];const p=f;let m;t[4]!==r?(m=async P=>{r({id:P},{method:"DELETE",encType:"application/json",action:"delete"})},t[4]=r,t[5]=m):m=t[5];const h=m;let _;t[6]!==d||t[7]!==c||t[8]!==p?(_=async P=>{c?await p(P):await d(P)},t[6]=d,t[7]=c,t[8]=p,t[9]=_):_=t[9];const g=_;let y;t[10]!==i||t[11]!==e||t[12]!==c||t[13]!==l||t[14]!==h?(y=()=>{l({text:e.formatMessage({id:"udr_policy_data_profiles.toolbar.delete"}),onConfirm:()=>{i&&c&&h(i)}})},t[10]=i,t[11]=e,t[12]=c,t[13]=l,t[14]=h,t[15]=y):y=t[15];const b=y;let x;t[16]!==b||t[17]!==e||t[18]!==c?(x=c&&a.jsx(hs,{children:a.jsx(Ze,{startIcon:a.jsx(ge.Trash,{}),variant:"outlined",disabled:!Ue(ie.provisioning),text:e.formatMessage({id:"nrf_static_profiles.actions.delete"}),onClick:()=>void b()})}),t[16]=b,t[17]=e,t[18]=c,t[19]=x):x=t[19];let w;t[20]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(Dt,{variant:"rounded",sx:{height:"500px"}}),t[20]=w):w=t[20];let C;t[21]!==n||t[22]!==g||t[23]!==s?(C=P=>a.jsx(djt,{initialValues:P,onSubmit:g,loading:s!=="idle",error:n}),t[21]=n,t[22]=g,t[23]=s,t[24]=C):C=t[24];let k;t[25]!==C||t[26]!==o?(k=a.jsx(Kt,{children:a.jsx(I.Suspense,{fallback:w,children:a.jsx(Qt,{resolve:o,children:C})})}),t[25]=C,t[26]=o,t[27]=k):k=t[27];let A;return t[28]!==x||t[29]!==k?(A=a.jsxs(a.Fragment,{children:[x,k]}),t[28]=x,t[29]=k,t[30]=A):A=t[30],A},tn=Pr();var ame=(t=>(t.NR="NR",t.EUTRA="EUTRA",t.WLAN="WLAN",t.VIRTUAL="VIRTUAL",t.NBIOT="NBIOT",t.WIRELINE="WIRELINE",t.WIRELINE_CABLE="WIRELINE_CABLE",t.WIRELINE_BBF="WIRELINE_BBF",t.LTE="LTE-M",t.NR_U="NR_U",t.EUTRA_U="EUTRA_U",t.TRUSTED_N3GA="TRUSTED_N3GA",t.TRUSTED_WLAN="TRUSTED_WLAN",t.UTRA="UTRA",t.GERA="GERA",t))(ame||{});const pjt=Object.keys(ame);var fp=(t=>(t.DATA="DATA",t.REJECT="REJECT",t.SOR_LIGHT="SOR_LIGHT",t.SOR_AGGRESSIVE="SOR_AGGRESSIVE",t))(fp||{});const mjt=Object.keys(fp);var lme=(t=>(t.DATA_OVER_USER_PLANE_PREFERRED="DATA_OVER_USER_PLANE_PREFERRED",t.DATA_OVER_CONTROL_PLANE_PREFERRED="DATA_OVER_CONTROL_PLANE_PREFERRED",t))(lme||{});const hjt=Object.keys(lme);var cme=(t=>(t.REQUIRED="REQUIRED",t.PREFERRED="PREFERRED",t.NOT_NEEDED="NOT_NEEDED",t))(cme||{});const Wee=Object.keys(cme);var ume=(t=>(t.ALLOWED_AREAS="ALLOWED_AREAS",t.NOT_ALLOWED_AREAS="NOT_ALLOWED_AREAS",t))(ume||{});const gjt=Object.keys(ume);var G$=(t=>(t.UNABLE_TO_COMPLY="UNABLE_TO_COMPLY",t.ROAMING_NOT_ALLOWED_ODB_ALL_APN="ROAMING_NOT_ALLOWED_ODB_ALL_APN",t))(G$||{}),W$=(t=>(t.UNEXPECTED_DATA_VALUE="UNEXPECTED_DATA_VALUE",t.SYSTEM_FAILURE="SYSTEM_FAILURE",t))(W$||{});const _jt={uuid:"",description:"",plmnRules:[]},N3=["bps","Kbps","Mbps","Gbps","Tbps"],Yee=["IPV4","IPV4V6","IPV6","UNSTRUCTURED","ETHERNET"],vjt=["ONLY_PACKET","PACKET_AND_CIRCUIT","ONLY_CIRCUIT","PACKET_WITH_CIRCUIT_ONLY_FOR_SMS"],yjt=["NOT_PREEMPT","MAY_PREEMPT"],bjt=["NOT_PREEMPTABLE","PREEMPTABLE"];function dh({sst:t,sd:e}){if(!t&&!e)return;let r="";return t&&(r+=t),e&&(r+=`-${e}`),r}function xjt({dnnConfigurations:t,defaultDnn:e}){return Object.entries(t).map(([r,n])=>({_uuid:e&&e.dnnName===r?e._uuid:gn(),dnnName:r,"5qi":n["5gQosProfile"]?.["5qi"]||"","3gppChargingCharacteristics":n["3gppChargingCharacteristics"]||"",preferredDataMode:n["x-ath-preferredDataMode"]||[],upSecurityUpConfid:n.upSecurity?.upConfid||"",upSecurityUpIntegr:n.upSecurity?.upIntegr||"",uplink:n.sessionAmbr?.uplink||"",downlink:n.sessionAmbr?.downlink||"",preemptCap:n["5gQosProfile"]?.arp?.preemptCap,preemptVuln:n["5gQosProfile"]?.arp?.preemptVuln,arpPriorityLevel:n["5gQosProfile"]?.arp?.priorityLevel||"",defaultSessionType:n.pduSessionTypes?.defaultSessionType||"",allowedSessionTypes:n.pduSessionTypes?.allowedSessionTypes||[],allowedSscModes:n.sscModes?.allowedSscModes||[],defaultSscMode:"SSC_MODE_1",APNOIReplacement:n["x-ath-APNOIReplacement"]||""}))}function Sjt({data:t,default4gSlice:e,defaultSlices:r}){const n=t?.smfSelData?.subscribedSnssaiInfos?Object.entries(t.smfSelData.subscribedSnssaiInfos)?.map(([o])=>{const[l,c]=o.split("-");return{sd:c,sst:+l}}):[],s=t?.smfSelData?.subscribedSnssaiInfos?Object.entries(t.smfSelData.subscribedSnssaiInfos)?.map(([o,l])=>{const[c,u]=o.split("-");return{sd:u,sst:c,dnnList:l.dnnInfos?.map(f=>({dnnName:f.dnn,isDefault:f.defaultDnnIndicator,_uuid:gn()}))}}).filter(o=>!!o):[];return t?.smData?.map(o=>{if(o.singleNssai.sd||o.singleNssai.sst){const{sd:l,sst:c}=o.singleNssai,u=({sst:p,sd:m})=>{const h=!!e&&p===e.sst&&m===e.sd,_=r.find(g=>p===g.sst&&m===g.sd);return h?e?._uuid:_?_._uuid:gn()},d=s?.reduce((p,m)=>{if(p)return p;if((!m.sd||m.sd&&m.sd===l)&&+m.sst===c&&m?.dnnList?.find(h=>h.isDefault)){const h=m?.dnnList?.find(_=>_.isDefault);return h&&{_uuid:h._uuid,dnnName:h.dnnName}}},void 0);return{_uuid:u({sst:c,sd:l}),sd:l,sst:c,"3gppChargingCharacteristics":o["3gppChargingCharacteristics"]||"",defaultDnnId:d?._uuid||"",isDefault:!!r.find(p=>p.sd===l&&p.sst===c),isEnabled:!!n.find(p=>p.sd===l&&p.sst===c),dnnList:o.dnnConfigurations&&xjt({dnnConfigurations:o.dnnConfigurations,defaultDnn:d})}}else return}).filter(o=>!!o)??[]}function wjt(t){return t?Object.keys(t?.plmn_rules_map):[]}function Y$(t,e){return t?t?.plmn_rules_map?.[e]?.data?.smData?.reduce((r,n)=>{const s=n.dnnConfigurations&&Object.keys(n.dnnConfigurations)?.map(i=>({sliceId:dh({sd:n.singleNssai.sd,sst:n.singleNssai.sst}),dnnName:i})).filter(i=>!!i);return s?[...r,...s]:r},[])||[]:[]}function Cjt({_uuid:t,data:e,pattern:r,action:n,data_from:s,...i}){if(!e&&s)return{_uuid:t,action:n,pattern:r||"",defaultSliceIds:[],default4gSliceId:"",isServiceAreaRestrictionActive:!1,slices:[],smsSubscribed:!1,smsMtSubscribed:!1,smsMoSubscribed:!1,data_from:s,isDataFrom:!!s,...i};if(!e)return{_uuid:t,action:n,pattern:r||"",defaultUplink:"",defaultDownlink:"",defaultSliceIds:[],default4gSliceId:"",networkAccessMode:"",coreNetworkTypeRestrictions:[],rfspIndex:"",regionalSubscriptionZoneCodes:[],isServiceAreaRestrictionActive:!1,serviceAreaRestrictionType:"ALLOWED_AREAS",serviceAreaRestrictionAreas:[],forbiddenAreas:[],closedSubscriberGroup:[],ratRestrictions:[],APNOIReplacement:"",ueUsageType:"",subsRegTimer:"",slices:[],smsSubscribed:!1,smsMtSubscribed:!1,smsMoSubscribed:!1,diameter_error:"",map_error:"",max_attempts:"",tolerance_period_sec:"",data_from:"",isDataFrom:!1};const o=e.smData?.map(m=>{const{singleNssai:{sd:h,sst:_}}=m;if(_)return{sd:h,sst:_}}).filter(m=>!!m),c=(e.amData?.nssai?.defaultSingleNssais?.map(m=>{const{sd:h,sst:_}=m;if(_)return{sd:h,sst:_}}).filter(m=>!!m&&!!o?.find(h=>h.sd===m.sd&&h.sst===m.sst))??[])?.map(m=>({_uuid:gn(),sd:m.sd,sst:m.sst})),u=e.amData?.nssai?.["x-ath-nssai"],d=u&&c?.length?c.find(m=>m.sd===u.sd&&m.sst===u.sst):void 0,f=u?{_uuid:d?d._uuid:gn(),sd:u.sd,sst:u.sst}:void 0;return{_uuid:gn(),action:n,pattern:r,defaultUplink:e?.amData?.subscribedUeAmbr?.uplink||"",defaultDownlink:e?.amData?.subscribedUeAmbr?.downlink||"",defaultSliceIds:c?.map(m=>m._uuid),default4gSliceId:f?._uuid||"",networkAccessMode:e?.amData?.["x-ath-networkAccessMode"]||"",coreNetworkTypeRestrictions:e?.amData?.coreNetworkTypeRestrictions||[],rfspIndex:e?.amData?.rfspIndex||"",regionalSubscriptionZoneCodes:e?.amData?.["x-ath-regionalSubscriptionZoneCodes"]||[],isServiceAreaRestrictionActive:!!e?.amData?.serviceAreaRestriction?.restrictionType,serviceAreaRestrictionType:e?.amData?.serviceAreaRestriction?.restrictionType||"ALLOWED_AREAS",serviceAreaRestrictionAreas:e?.amData?.serviceAreaRestriction?.areas?.map(({["x-ath-name"]:m,tacs:h})=>({_uuid:gn(),name:m,tacs:h}))??[],forbiddenAreas:e?.amData?.forbiddenAreas?.map(({["x-ath-name"]:m,tacs:h})=>({_uuid:gn(),name:m,tacs:h}))??[],closedSubscriberGroup:e?.amData?.["x-ath-closedSubscriberGroup"]?.map(m=>({_uuid:gn(),csg_id:m.csg_id||"",visited_plmn:m.visited_plmn||""}))??[],ratRestrictions:e?.amData?.ratRestrictions||[],APNOIReplacement:e?.amData?.["x-ath-APNOIReplacement"]||"",ueUsageType:e?.amData?.ueUsageType??"",subsRegTimer:e?.amData?.subsRegTimer??"",slices:Sjt({data:e,default4gSlice:f,defaultSlices:c}),smsSubscribed:e?.smsSubsData?.smsSubscribed??!1,smsMtSubscribed:e?.smsMngData?.mtSmsSubscribed??!1,smsMoSubscribed:e?.smsMngData?.moSmsSubscribed??!1,isDataFrom:!!s,...i}}function Ajt(t){if(!t||!Object.keys(t).length)return[];const e=Object.entries(t).map(([n,{action:s,data:i,data_from:o,...l}])=>Cjt({_uuid:gn(),pattern:n,action:s,data:i,data_from:o,...l}));return e.map(n=>n.data_from?{...n,data_from:e.find(s=>s.pattern===n.data_from)?._uuid}:n)}function kjt(t){if(!t)return _jt;const e=Ajt(t.plmn_rules_map),r={uuid:t.uuid,description:t.description||"",plmnRules:e};return Ni.cloneDeep(r)}const Mjt=t=>{const e=t.filter(r=>r.isEnabled).reduce((r,n)=>{const s=dh({sd:n.sd,sst:n.sst}),i=n.dnnList?.map(o=>({defaultDnnIndicator:n.defaultDnnId===o._uuid,dnn:o.dnnName}))||[];return!s||!i.length?r:{...r,[s]:{dnnInfos:i}}},{});return Object.entries(e).length?{subscribedSnssaiInfos:e}:void 0},Pjt=t=>t.map(e=>{const{sd:r,sst:n}=e,s=e.dnnList?.reduce((i,o)=>{const{dnnName:l,...c}=o,u=!!c["5qi"]||!!c.preemptCap||!!c.preemptVuln||!!c.arpPriorityLevel,d=!!c.allowedSessionTypes?.length,f=!!c.allowedSscModes?.length,p=!!c.uplink&&c.downlink,m=!!c.upSecurityUpIntegr&&!!c.upSecurityUpConfid;return{...i,[l]:{pduSessionTypes:{defaultSessionType:c.defaultSessionType,...d&&{allowedSessionTypes:c.allowedSessionTypes}},sscModes:{defaultSscMode:c.defaultSscMode||"SSC_MODE_1",...f&&{allowedSscModes:c.allowedSscModes}},...c.APNOIReplacement&&{"x-ath-APNOIReplacement":c.APNOIReplacement},...p&&{sessionAmbr:{downlink:c.downlink,uplink:c.uplink}},...u&&{"5gQosProfile":{arp:{preemptCap:c.preemptCap,preemptVuln:c.preemptVuln,priorityLevel:c.arpPriorityLevel},"5qi":c["5qi"]}},...c["3gppChargingCharacteristics"]&&{"3gppChargingCharacteristics":c["3gppChargingCharacteristics"]},...c.preferredDataMode&&{"x-ath-preferredDataMode":c.preferredDataMode},...m&&{upSecurity:{upConfid:c.upSecurityUpConfid,upIntegr:c.upSecurityUpIntegr}}}}},{})||{};return{singleNssai:{...r&&{sd:r},sst:+n},...e["3gppChargingCharacteristics"]&&{"3gppChargingCharacteristics":e["3gppChargingCharacteristics"]},...!!Object.entries(s)?.length&&{dnnConfigurations:s}}});function jjt(t){const e=t.slices.filter(d=>t.defaultSliceIds.includes(d._uuid)).map(d=>({...d.sd&&{sd:d.sd},sst:+d.sst})).filter(d=>!!d),r=t.slices.map(d=>t.default4gSliceId===d._uuid?{...d.sd&&{sd:d.sd},sst:+d.sst}:void 0).find(d=>!!d),n=t.slices.map(d=>({...d.sd&&{sd:d.sd},sst:+d.sst})).filter(d=>!!d),s=({singleNssais:d,defaultSingleNssais:f,default4gSingleNssai:p,defaultUplink:m,defaultDownlink:h,networkAccessMode:_,coreNetworkTypeRestrictions:g,rfspIndex:y,forbiddenAreas:b,isServiceAreaRestrictionActive:x,serviceAreaRestrictionType:w,serviceAreaRestrictionAreas:C,regionalSubscriptionZoneCodes:k,closedSubscriberGroup:A,ratRestrictions:P,APNOIReplacement:T,ueUsageType:j,subsRegTimer:R,canAddNetworkAccessMode:D,canAddAPNOIReplacement:O})=>{const N=!!f?.length,F=!!d?.length,U=!!p,z=!!h&&!!m,H=N||F||U,W=!!g?.length,K=!!P?.length,q=!!k?.length,X=!!A?.length,Q=!!b?.length;return!H&&!z&&!_&&!T&&typeof j!="number"&&typeof R!="number"&&!W&&!K&&!q&&!X&&!y&&!x&&!Q?void 0:{...H&&{nssai:{...N&&{defaultSingleNssais:f},...F&&{singleNssais:d},...U&&{"x-ath-nssai":p}}},...z&&{subscribedUeAmbr:{downlink:h,uplink:m}},..._&&D&&{"x-ath-networkAccessMode":_},...T&&O&&{"x-ath-APNOIReplacement":T},...typeof j=="number"&&j>=0&&{ueUsageType:j},...typeof R=="number"&&R>=0&&{subsRegTimer:R},...W&&{coreNetworkTypeRestrictions:g},...K&&{ratRestrictions:P},...q&&{"x-ath-regionalSubscriptionZoneCodes":k},...X&&{"x-ath-closedSubscriberGroup":A.map(({csg_id:Z,visited_plmn:re})=>({csg_id:+Z,...re&&{visited_plmn:re}}))},...!!y&&{rfspIndex:y},...x&&{serviceAreaRestriction:{restrictionType:w,areas:C.map(({name:Z,tacs:re})=>({name:Z,tacs:re}))}},...Q&&{forbiddenAreas:b.map(({name:Z,tacs:re})=>({name:Z,tacs:re}))}}},i=({smsSubscribed:d,smsMoSubscribed:f,smsMtSubscribed:p})=>({smsSubsData:{smsSubscribed:d},smsMngData:{moSmsSubscribed:f,mtSmsSubscribed:p}}),o=s({default4gSingleNssai:r,singleNssais:n,defaultSingleNssais:e,defaultUplink:t.defaultUplink,defaultDownlink:t.defaultDownlink,networkAccessMode:t.networkAccessMode,coreNetworkTypeRestrictions:t.coreNetworkTypeRestrictions,closedSubscriberGroup:t.closedSubscriberGroup,rfspIndex:t.rfspIndex,regionalSubscriptionZoneCodes:t.regionalSubscriptionZoneCodes,ratRestrictions:t.ratRestrictions,forbiddenAreas:t.forbiddenAreas,isServiceAreaRestrictionActive:t.isServiceAreaRestrictionActive,serviceAreaRestrictionType:t.serviceAreaRestrictionType,serviceAreaRestrictionAreas:t.serviceAreaRestrictionAreas,APNOIReplacement:t.APNOIReplacement,ueUsageType:t.ueUsageType,subsRegTimer:t.subsRegTimer,canAddNetworkAccessMode:!!t.default4gSliceId,canAddAPNOIReplacement:!0}),l=Pjt(t.slices),c=Mjt(t.slices),u=i(t);return{...!!o&&{amData:o},...!!l?.length&&{smData:l},...!!c&&{smfSelData:c},...u}}function Tjt(t){return t.reduce((e,{pattern:r,action:n,diameter_error:s,map_error:i,max_attempts:o,tolerance_period_sec:l,data_from:c,...u})=>({...e,[r]:{action:n,...u.isDataFrom?{data_from:t.find(d=>d._uuid===c)?.pattern}:{data:jjt(u)},...n==="SOR_LIGHT"&&!!s&&{diameter_error:s},...n==="SOR_LIGHT"&&!!i&&{map_error:i},...n==="SOR_LIGHT"&&!!o&&{max_attempts:o},...(n==="SOR_LIGHT"||n==="SOR_AGGRESSIVE")&&!!l&&{tolerance_period_sec:l}}}),{})}function Ejt({uuid:t,description:e,plmnRules:r}){return{uuid:t,...e&&{description:e},plmn_rules_map:Tjt(r)}}function dme({sst:t,sd:e},r){const n=dh({sst:t,sd:e});return n||`Slice #${r+1}`}const Rjt=dr().shape({uuid:We().required(tn.formatMessage({id:"validation.required"})).matches(new RegExp(`${$.regex.idString}|${$.regex.uuid}`),tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.uuid_format"},{value:`${$.regex.idString}|${$.regex.uuid}`})),description:We().matches(new RegExp($.regex.descriptionRm),tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.format"},{value:"^[ -~]{1,128}"})),plmnRules:yr().of(dr().shape({action:We().matches(new RegExp(`^${Object.values(fp).join("|")}$`),tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.format"},{value:`^${Object.values(fp).join("|")}$`})),max_attempts:kn().min(1,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.max_attempts"})),tolerance_period_sec:kn().min(1,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.tolerance_period_sec"})),pattern:We().matches(new RegExp($.regex.plmnRuleStr)).required(tn.formatMessage({id:"validation.required"})),data_from:We().when("isDataFrom",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_rule"})):e),defaultDownlink:We().when("default4gSliceId",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_default4g"})):e).when("defaultUplink",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_downlink"})):e),defaultUplink:We().when("default4gSliceId",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_default4g"})):e).when("defaultDownlink",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_uplink"})):e),networkAccessMode:We().nullable(),coreNetworkTypeRestrictions:yr().of(We()),regionalSubscriptionZoneCodes:yr().of(We().matches(new RegExp(`${$.regex.regionalSubscriptionZoneCodes}`))).max(10),closedSubscriberGroup:yr().of(dr().shape({csg_id:kn().required(tn.formatMessage({id:"validation.required"})).min(0,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.min"},{value:1})).max(134217727),visited_plmn:We().matches(new RegExp($.regex.plmnVisited))})),ratRestrictions:yr().of(We()),forbiddenAreas:yr().of(dr().shape({name:We(),tacs:yr().of(We().matches(new RegExp($.regex.tac))).min(1,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_serviceAreaRestrictionAreas"}))})),isServiceAreaRestrictionActive:li(),serviceAreaRestrictionType:We().when("isServiceAreaRestrictionActive",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_serviceAreaRestrictionType"})):e),serviceAreaRestrictionAreas:yr().of(dr().shape({name:We(),tacs:yr().of(We().matches(new RegExp($.regex.tac))).min(1,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.min"},{value:1})).required(tn.formatMessage({id:"validation.required"}))})).when("isServiceAreaRestrictionActive",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_serviceAreaRestrictionType"})).min(1,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_serviceAreaRestrictionAreas"})):e),rfspIndex:kn().min(1).max(256),APNOIReplacement:We().nullable().matches(new RegExp(`${$.regex.apnOi}`),tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.format"},{value:"^([a-zA-Z0-9]\\.|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]\\.)*mnc[0-9]{3}\\.mcc[0-9]{3}\\.gprs$"})),ueUsageType:kn().min(0),subsRegTimer:kn().min(0),default4gSliceId:We(),defaultSliceIds:yr().of(We()).when("slices",(t,e)=>t?.length>0?e.min(1,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.min"},{value:1})):e),slices:yr().of(dr().shape({sst:kn().min(0,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.min"},{value:0})).max(255,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.max"},{value:255})).required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required"})),sd:We().matches(new RegExp(`${$.regex.sd}`),tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.format"},{value:"^[a-f0-9]{6}$"})),isEnabled:li(),"3gppChargingCharacteristics":We().matches(new RegExp($.regex["3gppChargingCharacteristics"])),defaultDnnId:We(),dnnList:yr().of(dr().shape({dnnName:We().required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required"})),downlink:We().when("uplink",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_downlink"})):e),uplink:We().when("downlink",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_uplink"})):e),"3gppChargingCharacteristics":We().matches(new RegExp($.regex["3gppChargingCharacteristics"])),preferredDataMode:yr().of(We()),upSecurityUpConfid:We().when("upSecurityUpIntegr",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_upSecurityUpConfid"})):e),upSecurityUpIntegr:We().when("upSecurityUpConfid",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_upSecurityUpIntegr"})):e),"5qi":kn().max(255,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.max"})).min(0,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.min"})).when(["preemptCap","preemptVuln","arpPriorityLevel"],(t,e,r,n)=>t||e||r?n.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_5gQosProfile"})):n),preemptCap:We().when(["5qi","preemptVuln","arpPriorityLevel"],(t,e,r,n)=>t||e||r?n.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_5gQosProfile"})):n),preemptVuln:We().when(["preemptCap","5qi","arpPriorityLevel"],(t,e,r,n)=>t||e||r?n.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_5gQosProfile"})):n),arpPriorityLevel:kn().min(1,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.min"})).max(15,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.max"})).when(["preemptCap","preemptVuln","5qi"],(t,e,r,n)=>t||e||r?n.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_5gQosProfile"})):n),allowedSessionTypes:yr().of(We()),defaultSessionType:We().required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required"})),APNOIReplacement:We().nullable().matches(new RegExp(`${$.regex.apnOi}`),tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.format"},{value:"^([a-zA-Z0-9]\\.|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]\\.)*mnc[0-9]{3}\\.mcc[0-9]{3}\\.gprs$"}))},[["uplink","downlink"],["upSecurityUpConfid","upSecurityUpIntegr"],["5qi","preemptCap"],["5qi","preemptVuln"],["5qi","arpPriorityLevel"],["preemptCap","5qi"],["preemptCap","preemptVuln"],["preemptCap","arpPriorityLevel"],["preemptVuln","5qi"],["preemptVuln","preemptCap"],["preemptVuln","arpPriorityLevel"],["arpPriorityLevel","5qi"],["arpPriorityLevel","preemptCap"],["arpPriorityLevel","preemptVuln"]]))})).test({name:"unique-slices-id",message:tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.unique_slices_id"}),test:t=>t?.length===0||t&&t.length===[...new Set(t.map(e=>`${e.sst}-${e.sd}`))].length})},[["defaultUplink","defaultDownlink"]]).test({name:"default4g-slice-with-pdn-enabled",message:tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.default4g_slice_with_pdn_enabled"}),test:(t,e)=>t.default4gSliceId?t.slices?.find(s=>s._uuid===t.default4gSliceId&&s.isEnabled)?t.slices?.find(s=>s._uuid===t.default4gSliceId&&!!s.dnnList?.find(i=>!!i["5qi"]))?!0:e.createError({path:`${e.path}.default4gSliceId`,message:tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.default4g_slice_with_5gQosProfile"})}):e.createError({path:`${e.path}.default4gSliceId`,message:tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.default4g_slice_with_pdn_enabled"})}):!0})).test({name:"unique-plmn-rule-pattern",message:tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.unique_plmn_rule_id"}),test:t=>t?.length===0||t&&t.length===[...new Set(t.map(e=>`${e.pattern}`))].length})},[["defaultUplink","defaultDownlink"]]),F3=t=>{const e=he.c(32),{fieldName:r,fieldValue:n,fieldLabel:s,setFieldValue:i,selectOptions:o,selectInitialValue:l,disabled:c,canWrite:u,meta:d}=t,[f,p]=I.useState(l);let m;e[0]!==r||e[1]!==i||e[2]!==f?(m=D=>{const O=D.target.value;O?.split(" ")[0]?i(r,`${O?.split(" ")[0]} ${f}`):i(r,"")},e[0]=r,e[1]=i,e[2]=f,e[3]=m):m=e[3];const h=m;let _;e[4]!==r||e[5]!==n||e[6]!==i?(_=D=>{p(D.target.value),n?.split(" ")[0]&&i(r,`${n?.split(" ")[0]} ${D.target.value}`)},e[4]=r,e[5]=n,e[6]=i,e[7]=_):_=e[7];const g=_;let y,b;e[8]!==l?(y=()=>{p(l)},b=[p,l],e[8]=l,e[9]=y,e[10]=b):(y=e[9],b=e[10]),I.useEffect(y,b);let x;e[11]!==n?(x=n?.split(" ")[0]||"",e[11]=n,e[12]=x):x=e[12];const w=!!d.error,C=c||!u;let k;e[13]!==s||e[14]!==r||e[15]!==d.error||e[16]!==h||e[17]!==x||e[18]!==w||e[19]!==C?(k=a.jsx(dt,{name:r,value:x,label:s,size:"small",type:"number",fullWidth:!0,error:w,helperText:d.error,disabled:C,onChange:h}),e[13]=s,e[14]=r,e[15]=d.error,e[16]=h,e[17]=x,e[18]=w,e[19]=C,e[20]=k):k=e[20];let A;e[21]===Symbol.for("react.memo_cache_sentinel")?(A={width:"100px"},e[21]=A):A=e[21];const P=c||!u;let T;e[22]!==o?(T=o.map(Ijt),e[22]=o,e[23]=T):T=e[23];let j;e[24]!==g||e[25]!==P||e[26]!==T||e[27]!==f?(j=a.jsx(gt,{sx:A,children:a.jsx(qs,{label:"Unit",value:f,onChange:g,disabled:P,size:"small",children:T})}),e[24]=g,e[25]=P,e[26]=T,e[27]=f,e[28]=j):j=e[28];let R;return e[29]!==j||e[30]!==k?(R=a.jsxs(te,{direction:"row",spacing:.2,nowrap:!0,justify:"flex-start",children:[k,j]}),e[29]=j,e[30]=k,e[31]=R):R=e[31],R};function Ijt(t){return a.jsx(En,{value:t,children:t},t)}const Djt=t=>{const e=he.c(120),{i:r,j:n,plmnIndex:s}=t,i=Ye(),o=`plmnRules[${s}].slices[${r}].dnnList[${n}].dnnName`;let l;e[0]!==i?(l=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct,handleBlur:Et}=ft;return a.jsx(dt,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.name"}),onBlur:at=>{const $t=at.target.value||"";Ct(Ne.name,$t.trim()),Et(at)},size:"small",error:!!Oe.error,helperText:Oe.error})},e[0]=i,e[1]=l):l=e[1];let c;e[2]!==o||e[3]!==l?(c=a.jsx(Ur,{name:o,children:l}),e[2]=o,e[3]=l,e[4]=c):c=e[4];const u=`plmnRules[${s}].slices[${r}].dnnList[${n}].APNOIReplacement`;let d;e[5]!==i?(d=Ve=>{const{field:Ne,meta:Oe}=Ve;return a.jsx(dt,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.APNOIReplacement"}),size:"small",error:!!Oe.error,helperText:Oe.error})},e[5]=i,e[6]=d):d=e[6];let f;e[7]!==u||e[8]!==d?(f=a.jsx(Ur,{name:u,children:d}),e[7]=u,e[8]=d,e[9]=f):f=e[9];const p=`plmnRules[${s}].slices[${r}].dnnList[${n}].3gppChargingCharacteristics`;let m;e[10]!==i?(m=Ve=>{const{field:Ne,meta:Oe}=Ve;return a.jsx(dt,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.3gppChargingCharacteristics"}),size:"small",error:!!Oe.error,helperText:Oe.error})},e[10]=i,e[11]=m):m=e[11];let h;e[12]!==p||e[13]!==m?(h=a.jsx(Ur,{name:p,children:m}),e[12]=p,e[13]=m,e[14]=h):h=e[14];const _=`plmnRules[${s}].slices[${r}].dnnList[${n}].preferredDataMode`;let g;e[15]!==i?(g=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct}=ft;return a.jsx(rn,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.preferredDataMode"}),multiple:!0,size:"small",value:Ne.value,options:[...hjt],onChange:(Et,at)=>{at?Ct(Ne.name,at):Ct(Ne.name,Ne.value)},error:!!Oe.error,helperText:Oe.error})},e[15]=i,e[16]=g):g=e[16];let y;e[17]!==_||e[18]!==g?(y=a.jsx(Ur,{name:_,children:g}),e[17]=_,e[18]=g,e[19]=y):y=e[19];let b;e[20]!==i?(b=i.formatMessage({id:"udr_provisioned_data_profile.section.dnnList.dnn.aggregated_maximum_bitrate.title"}),e[20]=i,e[21]=b):b=e[21];const x=`plmnRules[${s}].slices[${r}].dnnList[${n}].downlink`;let w;e[22]!==i?(w=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct}=ft;return a.jsx(F3,{fieldValue:Ne.value,fieldName:Ne.name,fieldLabel:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.downlink"}),setFieldValue:Ct,selectInitialValue:Ne.value?.split(" ")?.[1]||"bps",selectOptions:N3,canWrite:Ue(ie.provisioning),meta:Oe})},e[22]=i,e[23]=w):w=e[23];let C;e[24]!==x||e[25]!==w?(C=a.jsx(Ur,{name:x,children:w}),e[24]=x,e[25]=w,e[26]=C):C=e[26];const k=`plmnRules[${s}].slices[${r}].dnnList[${n}].uplink`;let A;e[27]!==i?(A=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct}=ft;return a.jsx(F3,{fieldValue:Ne.value,fieldName:Ne.name,fieldLabel:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.uplink"}),setFieldValue:Ct,selectInitialValue:Ne.value?.split(" ")?.[1]||"bps",selectOptions:N3,canWrite:Ue(ie.provisioning),meta:Oe})},e[27]=i,e[28]=A):A=e[28];let P;e[29]!==k||e[30]!==A?(P=a.jsx(Ur,{name:k,children:A}),e[29]=k,e[30]=A,e[31]=P):P=e[31];let T;e[32]!==C||e[33]!==P?(T=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[C,P]})}),e[32]=C,e[33]=P,e[34]=T):T=e[34];let j;e[35]!==b||e[36]!==T?(j=a.jsx(pr,{title:b,elevation:7,children:T}),e[35]=b,e[36]=T,e[37]=j):j=e[37];let R;e[38]!==i?(R=i.formatMessage({id:"udr_provisioned_data_profile.section.dnnList.dnn.qos.title"}),e[38]=i,e[39]=R):R=e[39];const D=`plmnRules[${s}].slices[${r}].dnnList[${n}].5qi`;let O;e[40]!==i?(O=Ve=>{const{field:Ne,meta:Oe}=Ve;return a.jsx(dt,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.5qi"}),size:"small",type:"number",error:!!Oe.error,helperText:Oe.error})},e[40]=i,e[41]=O):O=e[41];let N;e[42]!==D||e[43]!==O?(N=a.jsx(Ur,{name:D,children:O}),e[42]=D,e[43]=O,e[44]=N):N=e[44];let F;e[45]!==i?(F=i.formatMessage({id:"udr_provisioned_data_profile.section.dnnList.dnn.qos.arp.title"}),e[45]=i,e[46]=F):F=e[46];const U=`plmnRules[${s}].slices[${r}].dnnList[${n}].preemptCap`;let z;e[47]!==i?(z=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct}=ft;return a.jsx(rn,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.preemptCap"}),size:"small",value:Ne.value||null,options:yjt,onChange:(Et,at)=>{at?Ct(Ne.name,at):Ct(Ne.name,"")},error:!!Oe.error,helperText:Oe.error})},e[47]=i,e[48]=z):z=e[48];let H;e[49]!==U||e[50]!==z?(H=a.jsx(Ur,{name:U,children:z}),e[49]=U,e[50]=z,e[51]=H):H=e[51];const W=`plmnRules[${s}].slices[${r}].dnnList[${n}].preemptVuln`;let K;e[52]!==i?(K=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct}=ft;return a.jsx(rn,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.preemptVuln"}),size:"small",value:Ne.value||null,options:bjt,onChange:(Et,at)=>{at?Ct(Ne.name,at):Ct(Ne.name,"")},error:!!Oe.error,helperText:Oe.error})},e[52]=i,e[53]=K):K=e[53];let q;e[54]!==W||e[55]!==K?(q=a.jsx(Ur,{name:W,children:K}),e[54]=W,e[55]=K,e[56]=q):q=e[56];const X=`plmnRules[${s}].slices[${r}].dnnList[${n}].arpPriorityLevel`;let Q;e[57]!==i?(Q=Ve=>{const{field:Ne,meta:Oe}=Ve;return a.jsx(dt,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.priorityLevel"}),size:"small",type:"number",error:!!Oe.error,helperText:Oe.error})},e[57]=i,e[58]=Q):Q=e[58];let Y;e[59]!==X||e[60]!==Q?(Y=a.jsx(Ur,{name:X,children:Q}),e[59]=X,e[60]=Q,e[61]=Y):Y=e[61];let Z;e[62]!==H||e[63]!==q||e[64]!==Y?(Z=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[H,q,Y]})}),e[62]=H,e[63]=q,e[64]=Y,e[65]=Z):Z=e[65];let re;e[66]!==F||e[67]!==Z?(re=a.jsx(pr,{title:F,elevation:8,children:Z}),e[66]=F,e[67]=Z,e[68]=re):re=e[68];let fe;e[69]!==N||e[70]!==re?(fe=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[N,re]})}),e[69]=N,e[70]=re,e[71]=fe):fe=e[71];let de;e[72]!==R||e[73]!==fe?(de=a.jsx(pr,{title:R,elevation:7,children:fe}),e[72]=R,e[73]=fe,e[74]=de):de=e[74];let se;e[75]!==i?(se=i.formatMessage({id:"udr_provisioned_data_profile.section.dnnList.dnn.session_types.title"}),e[75]=i,e[76]=se):se=e[76];const le=`plmnRules[${s}].slices[${r}].dnnList[${n}].defaultSessionType`;let ee;e[77]!==i?(ee=Ve=>{const{field:Ne,meta:Oe}=Ve;return a.jsx(qs,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.pduSessionTypes.defaultSessionType"}),size:"small",error:!!Oe.error,helperText:Oe.error,children:Yee.map($jt)})},e[77]=i,e[78]=ee):ee=e[78];let J;e[79]!==le||e[80]!==ee?(J=a.jsx(Ur,{name:le,children:ee}),e[79]=le,e[80]=ee,e[81]=J):J=e[81];const me=`plmnRules[${s}].slices[${r}].dnnList[${n}].allowedSessionTypes`;let pe;e[82]!==i?(pe=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct}=ft;return a.jsx(rn,{name:Ne.name,value:Ne.value||[],label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.pduSessionTypes.additionalSessionTypes"}),multiple:!0,size:"small",options:[...Yee],onChange:(Et,at)=>{Ct(Ne.name,[...new Set(at.map(Ojt))])},error:!!Oe.error,helperText:Oe.error,fullWidth:!0})},e[82]=i,e[83]=pe):pe=e[83];let Se;e[84]!==me||e[85]!==pe?(Se=a.jsx(Ur,{name:me,children:pe}),e[84]=me,e[85]=pe,e[86]=Se):Se=e[86];let ve;e[87]!==J||e[88]!==Se?(ve=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[J,Se]})}),e[87]=J,e[88]=Se,e[89]=ve):ve=e[89];let xe;e[90]!==se||e[91]!==ve?(xe=a.jsx(pr,{title:se,elevation:7,children:ve}),e[90]=se,e[91]=ve,e[92]=xe):xe=e[92];let qe;e[93]!==i?(qe=i.formatMessage({id:"udr_provisioned_data_profile.section.dnnList.dnn.up_security.title"}),e[93]=i,e[94]=qe):qe=e[94];const Le=`plmnRules[${s}].slices[${r}].dnnList[${n}].upSecurityUpConfid`;let Te;e[95]!==i?(Te=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct}=ft;return a.jsx(rn,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.upSecurityUpConfid"}),size:"small",value:Ne.value||"",options:[...Wee],freeSolo:!0,onChange:(Et,at)=>{at?Ct(Ne.name,at):Ct(Ne.name,"")},error:!!Oe.error,helperText:Oe.error})},e[95]=i,e[96]=Te):Te=e[96];let je;e[97]!==Le||e[98]!==Te?(je=a.jsx(Ur,{name:Le,children:Te}),e[97]=Le,e[98]=Te,e[99]=je):je=e[99];const Ge=`plmnRules[${s}].slices[${r}].dnnList[${n}].upSecurityUpIntegr`;let nt;e[100]!==i?(nt=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct}=ft;return a.jsx(rn,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.upSecurityUpIntegr"}),size:"small",value:Ne.value||"",options:[...Wee],freeSolo:!0,onChange:(Et,at)=>{at?Ct(Ne.name,at):Ct(Ne.name,"")},error:!!Oe.error,helperText:Oe.error})},e[100]=i,e[101]=nt):nt=e[101];let Re;e[102]!==Ge||e[103]!==nt?(Re=a.jsx(Ur,{name:Ge,children:nt}),e[102]=Ge,e[103]=nt,e[104]=Re):Re=e[104];let we;e[105]!==je||e[106]!==Re?(we=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[je,Re]})}),e[105]=je,e[106]=Re,e[107]=we):we=e[107];let Me;e[108]!==qe||e[109]!==we?(Me=a.jsx(pr,{title:qe,elevation:7,children:we}),e[108]=qe,e[109]=we,e[110]=Me):Me=e[110];let $e;return e[111]!==y||e[112]!==j||e[113]!==c||e[114]!==de||e[115]!==xe||e[116]!==Me||e[117]!==f||e[118]!==h?($e=a.jsxs(te,{spacing:2,children:[c,f,h,y,j,de,xe,Me]}),e[111]=y,e[112]=j,e[113]=c,e[114]=de,e[115]=xe,e[116]=Me,e[117]=f,e[118]=h,e[119]=$e):$e=e[119],$e};function $jt(t){return a.jsx(En,{value:t,children:t},t)}function Ojt(t){return t.trim()}function Ljt(t){const e=he.c(36),{slice:r,i:n,plmnIndex:s}=t,i=Ye(),o=`plmnRules[${s}].slices[${n}].sst`;let l;e[0]!==i?(l=w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.sst"}),size:"small",error:!!k.error,helperText:k.error})},e[0]=i,e[1]=l):l=e[1];let c;e[2]!==o||e[3]!==l?(c=a.jsx(Ur,{name:o,children:l}),e[2]=o,e[3]=l,e[4]=c):c=e[4];const u=`plmnRules[${s}].slices[${n}].sd`;let d;e[5]!==i?(d=w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.sd"}),size:"small",error:!!k.error,helperText:k.error})},e[5]=i,e[6]=d):d=e[6];let f;e[7]!==u||e[8]!==d?(f=a.jsx(Ur,{name:u,children:d}),e[7]=u,e[8]=d,e[9]=f):f=e[9];const p=`plmnRules[${s}].slices[${n}].3gppChargingCharacteristics`;let m;e[10]!==i?(m=w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.3gppChargingCharacteristics"}),size:"small",error:!!k.error,helperText:k.error})},e[10]=i,e[11]=m):m=e[11];let h;e[12]!==p||e[13]!==m?(h=a.jsx(Ur,{name:p,children:m}),e[12]=p,e[13]=m,e[14]=h):h=e[14];let _;e[15]!==n||e[16]!==i||e[17]!==s||e[18]!==r.dnnList||e[19]!==r.isEnabled?(_=!!r?.dnnList?.length&&a.jsxs(a.Fragment,{children:[a.jsx(Ke,{name:`plmnRules[${s}].slices[${n}].isEnabled`,children:w=>{const{field:C,form:k}=w,{setFieldValue:A}=k;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:!!C.value,onChange:(P,T)=>{A(C.name,T)}}),a.jsx(_e,{children:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.isEnabled"})}),a.jsx(Mn,{title:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.isEnabled_required_for_4g"}),children:a.jsx("span",{children:a.jsx(ge.Info,{})})})]})}}),r.isEnabled&&a.jsx(Ke,{name:`plmnRules[${s}].slices[${n}].defaultDnnId`,children:w=>{const{field:C,meta:k,form:A}=w,{setFieldValue:P}=A;return a.jsx(Ur,{name:`plmnRules[${s}].slices[${n}]`,children:()=>{if(!r.dnnList)return;const T=r.dnnList.map(Fjt),j=T.find(R=>R.value===C.value)||null;return a.jsx(rn,{...C,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.defaultDnnId"}),size:"small",value:j,options:T,onChange:(R,D)=>{D&&!Array.isArray(D)&&typeof D=="object"&&typeof D.value=="string"?P(C.name,D.value):P(C.name,"")},error:!!k.error,helperText:k.error})}})}})]}),e[15]=n,e[16]=i,e[17]=s,e[18]=r.dnnList,e[19]=r.isEnabled,e[20]=_):_=e[20];const g=`plmnRules[${s}].slices[${n}].dnnList`;let y;e[21]!==n||e[22]!==i||e[23]!==s||e[24]!==r.defaultDnnId||e[25]!==r.dnnList?(y=w=>{const{remove:C,push:k,form:A}=w,{getFieldMeta:P}=A;return a.jsx(Ur,{name:`plmnRules[${s}].slices[${n}].dnnList`,children:()=>{const T=Njt,j=O=>{C(O)},R=()=>{const O={_uuid:gn(),dnnName:"",uplink:"",downlink:"","5qi":"",preemptCap:"",preemptVuln:"",arpPriorityLevel:"",defaultSessionType:"",allowedSessionTypes:[],defaultSscMode:"",allowedSscModes:[],preferredDataMode:[]};k(O)},D=O=>!P(O)?.error;return a.jsx(pr,{title:i.formatMessage({id:"udr_provisioned_data_profile.section.dnnList.title"}),elevation:5,headerActionsComponent:a.jsx(Ze,{text:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn_add"}),startIcon:a.jsx(ge.Add,{}),type:"button",variant:"outlined",onClick:R}),children:a.jsxs(Kt,{children:[!!r.dnnList?.length&&a.jsx(Jn,{exclusive:!0,spacing:2,children:r.dnnList.map((O,N)=>a.jsx(xr,{unmountOnExit:!0,title:`${T(O.dnnName,N)}${r.defaultDnnId===O._uuid?" ("+i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.isDefault"})+")":""}`,error:!D(`plmnRules[${s}].slices[${n}].dnnList[${N}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>j(N),label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn_delete"}),disabled:!Ue(ie.provisioning)}],elevation:6,content:a.jsx(Djt,{plmnIndex:s,i:n,j:N})},`${O?._uuid}`))}),!r.dnnList?.length&&a.jsx(_e,{children:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.no_dnns"})})]})})}})},e[21]=n,e[22]=i,e[23]=s,e[24]=r.defaultDnnId,e[25]=r.dnnList,e[26]=y):y=e[26];let b;e[27]!==g||e[28]!==y?(b=a.jsx(oi,{name:g,children:y}),e[27]=g,e[28]=y,e[29]=b):b=e[29];let x;return e[30]!==_||e[31]!==b||e[32]!==c||e[33]!==f||e[34]!==h?(x=a.jsxs(te,{spacing:2,children:[c,f,h,_,b]}),e[30]=_,e[31]=b,e[32]=c,e[33]=f,e[34]=h,e[35]=x):x=e[35],x}function Njt(t,e){return t||`DNN #${e+1}`}function Fjt(t,e){const{_uuid:r,dnnName:n}=t;return{label:n||`DNN #${e+1}`,value:r}}const Im=(t,e)=>!e(t)?.error,yu=(t,e)=>{const r=e(t);if(!(!r?.error||typeof r?.error!="string"))return r?.error};function Ujt(){const t=he.c(11),e=Ye(),r=ko().id!=="new";let n;t[0]!==e||t[1]!==r?(n=a.jsx(Ur,{name:"uuid",children:l=>{const{field:c,meta:u}=l;return a.jsx(dt,{...c,label:e.formatMessage({id:"udr_provisioned_data_profile.form.uuid"}),size:"small",required:!0,disabled:r,error:!!u.error,helperText:u.error})}}),t[0]=e,t[1]=r,t[2]=n):n=t[2];let s;t[3]!==e?(s=a.jsx(Ur,{name:"description",children:l=>{const{field:c,meta:u}=l;return a.jsx(dt,{...c,label:e.formatMessage({id:"udr_provisioned_data_profile.form.description"}),size:"small",error:!!u.error,helperText:u.error})}}),t[3]=e,t[4]=s):s=t[4];let i;t[5]!==e?(i=a.jsx(oi,{name:"plmnRules",children:l=>{const{remove:c,push:u,form:d}=l,{values:f,getFieldMeta:p}=d;return a.jsx(Ur,{name:"plmnRules",children:()=>a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.plmn_rules.title"}),error:!Im("plmnRules",p),headerActionsComponent:a.jsx(Ze,{text:e.formatMessage({id:"udr_provisioned_data_profile.form.plmn_rules.rule_add"}),type:"button",variant:"outlined",startIcon:a.jsx(ge.Add,{}),disabled:!Ue(ie.provisioning),onClick:()=>{const m={_uuid:gn(),action:fp.DATA,pattern:"",default4gSliceId:"",defaultSliceIds:[],slices:[],smsSubscribed:!1,smsMoSubscribed:!1,smsMtSubscribed:!1,coreNetworkTypeRestrictions:[],forbiddenAreas:[],isServiceAreaRestrictionActive:!1,serviceAreaRestrictionType:"",serviceAreaRestrictionAreas:[],ratRestrictions:[],rfspIndex:"",subsRegTimer:"",ueUsageType:"",diameter_error:"",map_error:"",max_attempts:"",tolerance_period_sec:"",data_from:"",isDataFrom:!1};u(m)}}),elevation:2,children:a.jsxs(Kt,{children:[yu("plmnRules",p)&&a.jsx(Lr,{severity:"error",title:yu("plmnRules",p),sx:{mb:2}}),a.jsx(Jn,{exclusive:!0,spacing:2,children:f.plmnRules.map((m,h)=>a.jsx(xr,{title:a.jsxs(te,{direction:"row",nowrap:!0,align:"center",children:[a.jsx(ms,{label:m.action}),a.jsx(_e,{color:"text.secondary",type:"subtitle1",children:m.pattern||`PLMN Rule ${h+1}`}),m.isDataFrom&&a.jsxs(a.Fragment,{children:[a.jsx(ms,{label:"DATA_FROM"}),a.jsx(_e,{color:"text.secondary",type:"subtitle1",children:f.plmnRules.find(_=>_._uuid===f.plmnRules[h].data_from)?.pattern})]})]}),elevation:3,error:!Im(`plmnRules[${h}]`,p),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>{if(f.plmnRules.some(_=>_.data_from===f.plmnRules[h]._uuid)){zL({message:e.formatMessage({id:"udr_provisioned_data_profile.form.plmn_rules.rule_delete.data_from.error"}),severity:"error"});return}c(h)},label:e.formatMessage({id:"udr_provisioned_data_profile.form.plmn_rules.rule_delete"})}],unmountOnExit:!0,content:a.jsxs(te,{spacing:2,children:[a.jsx(Ur,{name:`plmnRules[${h}].pattern`,children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.pattern"}),size:"small",error:!!y.error,helperText:y.error,required:!0})}}),a.jsx(Ur,{name:`plmnRules[${h}].action`,children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(qs,{label:e.formatMessage({id:"udr_provisioned_data_profile.form.action"}),size:"small",value:g.value,onChange:w=>{x(g.name,w.target.value)},required:!0,error:!!y.error,helperText:y.error,children:mjt.map(Vjt)})}}),(f.plmnRules[h].action===fp.SOR_LIGHT||f.plmnRules[h].action===fp.SOR_AGGRESSIVE)&&a.jsx(pr,{title:e.formatMessage({id:`udr_provisioned_data_profile.form.specific_fields.${f.plmnRules[h].action}`}),elevation:5,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[f.plmnRules[h].action===fp.SOR_LIGHT&&a.jsxs(a.Fragment,{children:[a.jsx(Ke,{name:`plmnRules[${h}].diameter_error`,children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsx(rn,{value:g.value,name:g.name,label:e.formatMessage({id:"udr_provisioned_data_profile.form.advanced_input.diameter_error"}),multiple:!1,size:"small",freeSolo:!1,options:[G$.UNABLE_TO_COMPLY,G$.ROAMING_NOT_ALLOWED_ODB_ALL_APN],onChange:(x,w)=>{b(g.name,w||"")},fullWidth:!0})}}),a.jsx(Ke,{name:`plmnRules[${h}].map_error`,children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsx(rn,{value:g.value,name:g.name,label:e.formatMessage({id:"udr_provisioned_data_profile.form.advanced_input.map_error"}),multiple:!1,size:"small",freeSolo:!1,options:[W$.UNEXPECTED_DATA_VALUE,W$.SYSTEM_FAILURE],onChange:(x,w)=>{b(g.name,w||"")},fullWidth:!0})}}),a.jsx(Ke,{name:`plmnRules[${h}].max_attempts`,children:_=>{const{field:g,meta:y,form:b}=_,{isSubmitting:x}=b;return a.jsx(dt,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.advanced_input.max_attempts"}),size:"small",helperText:y.error,error:!!y.error,disabled:x,type:"number"})}})]}),a.jsx(Ke,{name:`plmnRules[${h}].tolerance_period_sec`,children:_=>{const{field:g,meta:y,form:b}=_,{isSubmitting:x}=b;return a.jsx(dt,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.advanced_input.tolerance_period_sec"}),size:"small",helperText:y.error,error:!!y.error,disabled:x,type:"number"})}})]})})}),a.jsx(Ke,{name:`plmnRules[${h}].isDataFrom`,children:_=>{const{field:g,form:y}=_,{setFieldValue:b,isSubmitting:x}=y;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:g.value,onChange:(w,C)=>{b(g.name,C),C||b(`plmnRules[${h}].data_from`,"")},disabled:x}),a.jsx(_e,{children:e.formatMessage({id:"udr_provisioned_data_profile.form.isDataFrom"})})]})}}),f.plmnRules[h].isDataFrom&&a.jsx(Ke,{name:`plmnRules[${h}].data_from`,children:_=>{const{field:g,meta:y}=_;return a.jsx(qs,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.data_from"}),size:"small",error:!!y.error,helperText:y.error,children:f.plmnRules.map((b,x)=>x!==h&&!b.data_from&&b.action!=="REJECT"?a.jsx(En,{value:b._uuid,children:b.pattern||`PLMN Rule ${x+1}`},b._uuid):null)})}}),!f.plmnRules[h].isDataFrom&&a.jsxs(a.Fragment,{children:[a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.access_and_mobility.title"}),elevation:4,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ur,{name:`plmnRules[${h}].subsRegTimer`,children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.subsRegTimer"}),type:"number",size:"small",error:!!y.error,helperText:y.error})}}),a.jsx(Ur,{name:`plmnRules[${h}].ueUsageType`,children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.ueUsageType"}),type:"number",size:"small",error:!!y.error,helperText:y.error})}}),a.jsx(Ur,{name:`plmnRules[${h}].APNOIReplacement`,children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.APNOIReplacement"}),size:"small",error:!!y.error,helperText:y.error})}})]})})}),a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.aggregated_maximum_bitrate.title"}),elevation:4,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ur,{name:`plmnRules[${h}].defaultDownlink`,children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(F3,{fieldValue:g.value,fieldName:g.name,fieldLabel:e.formatMessage({id:"udr_provisioned_data_profile.form.defaultDownlink"}),setFieldValue:x,selectInitialValue:g.value?.split(" ")?.[1]||"bps",selectOptions:N3,canWrite:Ue(ie.provisioning),meta:y})}}),a.jsx(Ur,{name:`plmnRules[${h}].defaultUplink`,children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(F3,{fieldValue:g.value,fieldName:g.name,fieldLabel:e.formatMessage({id:"udr_provisioned_data_profile.form.defaultUplink"}),setFieldValue:x,selectInitialValue:g.value?.split(" ")?.[1]||"bps",selectOptions:N3,canWrite:Ue(ie.provisioning),meta:y})}})]})})}),a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.restrictions.title"}),elevation:4,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:`plmnRules[${h}].networkAccessMode`,children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(rn,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.networkAccessMode"}),size:"small",value:g.value||null,options:vjt,onChange:(w,C)=>{C?x(g.name,C):x(g.name,"")},error:!!y.error,helperText:y.error,disabled:!f.plmnRules[h].default4gSliceId})}}),a.jsx(Ur,{name:`plmnRules[${h}].ratRestrictions`,children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(rn,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.ratRestrictions"}),size:"small",value:g.value,freeSolo:!0,multiple:!0,options:pjt,onChange:(w,C)=>{C?x(g.name,C):x(g.name,"")},error:!!y.error,helperText:y.error})}}),a.jsx(Ur,{name:`plmnRules[${h}].rfspIndex`,children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.rfspIndex"}),size:"small",type:"number",error:!!y.error,helperText:y.error})}}),a.jsx(Ur,{name:`plmnRules[${h}].coreNetworkTypeRestrictions`,children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(rn,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.coreNetworkTypeRestrictions"}),size:"small",value:g.value,freeSolo:!0,multiple:!0,options:["5GC","EPC"],onChange:(w,C)=>{C?x(g.name,C):x(g.name,"")},error:!!y.error,helperText:y.error})}}),a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.restrictions.4g-5g-nsa.title"}),elevation:5,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ur,{name:`plmnRules[${h}].regionalSubscriptionZoneCodes`,children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(rn,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.regionalSubscriptionZoneCodes"}),size:"small",value:g.value,freeSolo:!0,multiple:!0,options:[],onChange:(w,C)=>{C?x(g.name,C):x(g.name,"")},error:!!y.error,helperText:y.error})}}),a.jsx(oi,{name:`plmnRules[${h}].closedSubscriberGroup`,children:_=>{const{remove:g,push:y}=_;return a.jsx(Ur,{name:`plmnRules[${h}].closedSubscriberGroup`,children:()=>a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.closed_subscriber_group.title"}),error:!Im(`plmnRules[${h}].closedSubscriberGroup`,p),dense:!0,elevation:6,headerActionsComponent:a.jsx(Ze,{text:e.formatMessage({id:"udr_provisioned_data_profile.form.closed_subscriber_group.add"}),startIcon:a.jsx(ge.Add,{}),type:"button",variant:"outlined",onClick:()=>{const b={_uuid:gn(),csg_id:"",visited_plmn:""};y(b)}}),children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[yu(`plmnRules[${h}].closedSubscriberGroup`,p)&&a.jsx(Lr,{severity:"error",title:yu(`plmnRules[${h}].closedSubscriberGroup`,p)}),a.jsx(te,{spacing:2,divided:!0,children:f.plmnRules[h].closedSubscriberGroup?.map((b,x)=>a.jsxs(te,{direction:"row",nowrap:!0,justify:"stretch",align:"flex-start",children:[a.jsxs(te,{align:"flex-start",justify:"stretch",fullWidth:!0,children:[a.jsx(Ur,{name:`plmnRules[${h}].closedSubscriberGroup[${x}].csg_id`,children:w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,label:e.formatMessage({id:"udr_provisioned_data_profile.form.closed_subscriber_group.csg_id"}),size:"small",fullWidth:!0,required:!0,error:!!k.error,helperText:k.error})}}),a.jsx(Ur,{name:`plmnRules[${h}].closedSubscriberGroup[${x}].visited_plmn`,children:w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,label:e.formatMessage({id:"udr_provisioned_data_profile.form.closed_subscriber_group.visited_plmn"}),size:"small",fullWidth:!0,error:!!k.error,helperText:k.error})}})]}),a.jsx(Zr,{onClick:()=>g(x),sx:{mt:.5},size:"small",children:a.jsx(ge.Trash,{})})]},b._uuid))}),!f.plmnRules[h].closedSubscriberGroup?.length&&a.jsx(Lr,{message:e.formatMessage({id:"udr_provisioned_data_profile.form.closed_subscriber_group.no_data"}),sx:{backgroundColor:"divider"}})]})})})})}})]})})}),a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.restrictions.5g.title"}),elevation:5,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(oi,{name:`plmnRules[${h}].forbiddenAreas`,children:_=>{const{remove:g,push:y}=_;return a.jsx(Ur,{name:`plmnRules[${h}].forbiddenAreas`,children:()=>a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.forbidden_areas.title"}),dense:!0,error:!Im(`plmnRules[${h}].forbiddenAreas`,p),elevation:6,headerActionsComponent:a.jsx(Ze,{text:e.formatMessage({id:"udr_provisioned_data_profile.form.forbidden_areas.add"}),startIcon:a.jsx(ge.Add,{}),type:"button",variant:"outlined",onClick:()=>{const b={_uuid:gn(),name:"",tacs:[]};y(b)}}),children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[yu(`plmnRules[${h}].forbiddenAreas`,p)&&a.jsx(Lr,{severity:"error",title:yu(`plmnRules[${h}].forbiddenAreas`,p)}),a.jsx(te,{spacing:2,divided:!0,children:f.plmnRules[h].forbiddenAreas?.map((b,x)=>a.jsxs(te,{direction:"row",nowrap:!0,justify:"stretch",align:"flex-start",children:[a.jsxs(te,{align:"flex-start",justify:"stretch",fullWidth:!0,children:[a.jsx(Ur,{name:`plmnRules[${h}].forbiddenAreas[${x}].name`,children:w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,label:e.formatMessage({id:"udr_provisioned_data_profile.form.forbidden_areas.name"}),size:"small",fullWidth:!0,error:!!k.error,helperText:k.error})}}),a.jsx(Ur,{name:`plmnRules[${h}].forbiddenAreas[${x}].tacs`,children:w=>{const{field:C,meta:k,form:A}=w,{setFieldValue:P}=A;return a.jsx(rn,{...C,label:e.formatMessage({id:"udr_provisioned_data_profile.form.forbidden_areas.tacs"}),size:"small",value:C.value,freeSolo:!0,multiple:!0,fullWidth:!0,options:[],onChange:(T,j)=>{j?P(C.name,j):P(C.name,"")},error:!!k.error,helperText:k.error})}})]}),a.jsx(Zr,{onClick:()=>g(x),sx:{mt:.5},size:"small",children:a.jsx(ge.Trash,{})})]},b._uuid))}),!f.plmnRules[h].forbiddenAreas?.length&&a.jsx(Lr,{message:e.formatMessage({id:"udr_provisioned_data_profile.form.forbidden_areas.no_data"}),sx:{backgroundColor:"divider"}})]})})})})}}),a.jsxs(te,{spacing:2,sx:{mt:1},children:[a.jsx(Ke,{name:`plmnRules[${h}].isServiceAreaRestrictionActive`,children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsx(a.Fragment,{children:a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:!!g.value,onChange:(x,w)=>{b(g.name,w)}}),a.jsx(_e,{children:e.formatMessage({id:"udr_provisioned_data_profile.section.service_area_restriction.title"})})]})})}}),f.plmnRules[h].isServiceAreaRestrictionActive&&a.jsx(pr,{elevation:6,title:e.formatMessage({id:"udr_provisioned_data_profile.section.service_area_restriction.title"}),dense:!0,children:a.jsx(Kt,{children:a.jsxs(te,{nowrap:!0,spacing:2,children:[a.jsx(Ur,{name:`plmnRules[${h}].serviceAreaRestrictionType`,children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(qs,{label:e.formatMessage({id:"udr_provisioned_data_profile.form.serviceAreaRestrictionType"}),size:"small",value:g.value,onChange:w=>{x(g.name,w.target.value)},required:!0,error:!!y.error,helperText:y.error,children:gjt.map(qjt)})}}),a.jsx(oi,{name:`plmnRules[${h}].serviceAreaRestrictionAreas`,children:_=>{const{remove:g,push:y}=_;return a.jsx(Ur,{name:`plmnRules[${h}].serviceAreaRestrictionAreas`,children:()=>a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.service_area_restriction_areas.title"}),dense:!0,error:!Im(`plmnRules[${h}].serviceAreaRestrictionAreas`,p),elevation:7,headerActionsComponent:a.jsx(Ze,{text:e.formatMessage({id:"udr_provisioned_data_profile.form.service_area_restriction_areas.add"}),startIcon:a.jsx(ge.Add,{}),type:"button",variant:"outlined",onClick:()=>{const b={_uuid:gn(),name:"",tacs:[]};y(b)}}),children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[yu(`plmnRules[${h}].serviceAreaRestrictionAreas`,p)&&a.jsx(Lr,{severity:"error",title:yu(`plmnRules[${h}].serviceAreaRestrictionAreas`,p)}),a.jsx(te,{spacing:2,divided:!0,children:f.plmnRules[h].serviceAreaRestrictionAreas?.map((b,x)=>a.jsxs(te,{direction:"row",nowrap:!0,justify:"stretch",align:"flex-start",children:[a.jsxs(te,{align:"flex-start",justify:"stretch",fullWidth:!0,spacing:2,children:[a.jsx(Ur,{name:`plmnRules[${h}].serviceAreaRestrictionAreas[${x}].name`,children:w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,label:e.formatMessage({id:"udr_provisioned_data_profile.form.service_area_restriction_areas.name"}),size:"small",fullWidth:!0,error:!!k.error,helperText:k.error})}}),a.jsx(Ur,{name:`plmnRules[${h}].serviceAreaRestrictionAreas[${x}].tacs`,children:w=>{const{field:C,meta:k,form:A}=w,{setFieldValue:P}=A;return a.jsx(rn,{...C,label:e.formatMessage({id:"udr_provisioned_data_profile.form.forbidden_areas.tacs"}),size:"small",fullWidth:!0,value:C.value,freeSolo:!0,multiple:!0,options:[],onChange:(T,j)=>{j?P(C.name,j):P(C.name,"")},error:!!k.error,helperText:k.error})}})]}),a.jsx(Zr,{onClick:()=>g(x),sx:{mt:.5},size:"small",children:a.jsx(ge.Trash,{})})]},b._uuid))}),!f.plmnRules[h].serviceAreaRestrictionAreas?.length&&a.jsx(Lr,{message:e.formatMessage({id:"udr_provisioned_data_profile.form.service_area_restriction_areas.no_data"}),sx:{backgroundColor:"divider"}})]})})})})}})]})})})]})]})})})]})})}),a.jsx(oi,{name:`plmnRules[${h}].slices`,children:_=>{const{remove:g,push:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.slices.title"}),error:!Im(`plmnRules[${h}].slices`,p),elevation:4,headerActionsComponent:a.jsx(Ze,{text:e.formatMessage({id:"udr_provisioned_data_profile.form.slices.slice_add"}),startIcon:a.jsx(ge.Add,{}),type:"button",variant:"outlined",onClick:()=>{const w={_uuid:gn(),sst:"",sd:"","3gppChargingCharacteristics":"",dnnList:[],isEnabled:!0,defaultDnnId:""};y(w)}}),children:a.jsx(Kt,{children:a.jsx(te,{direction:"column",spacing:2,nowrap:!0,children:a.jsxs(te,{spacing:2,children:[yu(`plmnRules[${h}].slices`,p)&&a.jsx(Lr,{severity:"error",title:yu(`plmnRules[${h}].slices`,p)}),a.jsx(Jn,{exclusive:!0,spacing:2,children:f.plmnRules[h].slices?.map((w,C)=>a.jsx(xr,{unmountOnExit:!0,elevation:5,group:!0,title:`${dme(w,C)} ${f.plmnRules[h].defaultSliceIds.includes(w._uuid)?"("+e.formatMessage({id:"udr_provisioned_data_profile.form.slices.slice_default"})+")":""}`,error:!Im(`plmnRules[${h}].slices[${C}]`,p),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>{w._uuid===f.plmnRules[h].default4gSliceId&&x(`plmnRules[${h}].default4gSliceId`,""),x(`plmnRules[${h}].defaultSliceIds`,f.plmnRules[h].defaultSliceIds.filter(k=>k!==w._uuid)),g(C)},label:e.formatMessage({id:"udr_provisioned_data_profile.form.slices.slice_delete"})}],content:a.jsx(a.Fragment,{children:a.jsx(Ljt,{slice:w,i:C,plmnIndex:h})}),subtitle:a.jsx(te,{direction:"row",nowrap:!0,children:a.jsx(_e,{sx:{wordBreak:"break-all"},children:w.dnnList?.map(zjt).join(", ")})})},`${w._uuid}`))||null}),!f.plmnRules[h].slices?.length&&a.jsx(Lr,{message:e.formatMessage({id:"udr_provisioned_data_profile.form.slice.no_slices"}),sx:{backgroundColor:"divider"}})]})})})})}}),a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.default_slices.title"}),elevation:5,children:a.jsx(Kt,{children:a.jsx(te,{direction:"column",spacing:2,nowrap:!0,children:[{fieldName:`plmnRules[${h}].default4gSliceId`,label:e.formatMessage({id:"udr_provisioned_data_profile.form.default4gSliceId"}),isMultiple:!1},{fieldName:`plmnRules[${h}].defaultSliceIds`,label:e.formatMessage({id:"udr_provisioned_data_profile.form.defaultSliceIds"}),isMultiple:!0}].map(_=>{const{fieldName:g,label:y,isMultiple:b}=_;return a.jsx(Ke,{name:g,children:x=>{const{field:w,meta:C,form:k}=x,{setFieldValue:A}=k,P=f.plmnRules[h].slices.map(Bjt),T=b?P.filter(j=>{const{value:R}=j;return w.value.includes(R)}):P.find(j=>{const{value:R}=j;return w.value===R})||null;return a.jsx(rn,{...w,multiple:b,label:y,size:"small",value:T,options:P,onChange:(j,R)=>{if(Array.isArray(R)){const D=[];R.forEach(O=>{typeof O=="object"&&typeof O.value=="string"&&D.push(O.value)}),A(w.name,D)}else R&&typeof R=="object"&&typeof R.value=="string"?A(w.name,R.value):A(w.name,"")},error:!!C.error,helperText:C.error,disabled:!f.plmnRules[h].slices?.length})}},g)})})})}),a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.sms.title"}),elevation:5,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ur,{name:`plmnRules[${h}].smsSubscribed`,children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsx(da,{label:e.formatMessage({id:"udr_provisioned_data_profile.form.sms.subscribed"}),checked:g.value,size:"medium",onChange:(x,w)=>{b(g.name,w)}})}}),a.jsx(Ur,{name:`plmnRules[${h}].smsMoSubscribed`,children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsx(da,{label:e.formatMessage({id:"udr_provisioned_data_profile.form.sms.moSubscribed"}),checked:g.value,size:"medium",onChange:(x,w)=>{b(g.name,w)}})}}),a.jsx(Ur,{name:`plmnRules[${h}].smsMtSubscribed`,children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsx(da,{label:e.formatMessage({id:"udr_provisioned_data_profile.form.sms.mtSubscribed"}),checked:g.value,size:"medium",onChange:(x,w)=>{b(g.name,w)}})}})]})})})]})]})},m._uuid||h))}),!f.plmnRules?.length&&a.jsx(Lr,{message:e.formatMessage({id:"udr_provisioned_data_profile.form.plmn_rules.no_data"}),sx:{backgroundColor:"divider"}})]})})})}}),t[5]=e,t[6]=i):i=t[6];let o;return t[7]!==n||t[8]!==s||t[9]!==i?(o=a.jsxs(te,{spacing:2,children:[n,s,i]}),t[7]=n,t[8]=s,t[9]=i,t[10]=o):o=t[10],o}function Bjt(t,e){const{_uuid:r,sst:n,sd:s}=t;return{label:dme({sst:n,sd:s},e),value:r}}function zjt(t){return t.dnnName}function qjt(t){return a.jsx(En,{value:t,children:t},t)}function Vjt(t){return a.jsx(En,{value:t,children:t},t)}function Hjt(){const t=he.c(27),e=Ye(),{id:r}=ko(),n=zn(),{submit:s,data:i,state:o}=gr(),{openConfirmDialog:l}=di(),c=r!=="new";let u;t[0]!==r||t[1]!==c||t[2]!==s?(u=async x=>{const w=Ejt(x);r&&c?s({id:r,profile:w},{action:"update",method:"PUT",encType:"application/json"}):s(w,{action:"create",method:"POST",encType:"application/json"})},t[0]=r,t[1]=c,t[2]=s,t[3]=u):u=t[3];const d=u;let f;t[4]!==r||t[5]!==e||t[6]!==c||t[7]!==l||t[8]!==s?(f=()=>{r&&c&&l({text:e.formatMessage({id:"udr_provisioned_data_profiles.actions.confirm_delete"}),onConfirm:()=>s({id:r},{method:"DELETE",encType:"application/json",action:"delete"})})},t[4]=r,t[5]=e,t[6]=c,t[7]=l,t[8]=s,t[9]=f):f=t[9];const p=f;let m;t[10]!==p||t[11]!==e||t[12]!==c?(m=c&&a.jsx(hs,{children:a.jsx(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:a.jsx(Ze,{text:e.formatMessage({id:"common.delete"}),startIcon:a.jsx(ge.Trash,{}),variant:"outlined",disabled:!Ue(ie.provisioning),onClick:p})})}),t[10]=p,t[11]=e,t[12]=c,t[13]=m):m=t[13];let h;t[14]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(Dt,{variant:"rounded",height:"1000px"}),t[14]=h):h=t[14];let _;t[15]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(Tr,{}),t[15]=_):_=t[15];let g;t[16]!==i||t[17]!==o||t[18]!==d||t[19]!==e?(g=x=>a.jsx(Wr,{initialValues:kjt(x),validationSchema:Rjt,onSubmit:d,children:w=>{const{dirty:C}=w;return a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ujt,{}),a.jsx(Xr,{data:i,sx:{mb:2}}),Ue(ie.provisioning)&&a.jsx(Ze,{type:"submit",text:e.formatMessage({id:"udr_provisioned_data_profile.form.buttons.submit"}),disabled:!C,loading:o!=="idle",sx:{alignSelf:"flex-start"}})]})})})}}),t[16]=i,t[17]=o,t[18]=d,t[19]=e,t[20]=g):g=t[20];let y;t[21]!==n.profile||t[22]!==g?(y=a.jsx(I.Suspense,{fallback:h,children:a.jsx(Qt,{resolve:n.profile,errorElement:_,children:g})}),t[21]=n.profile,t[22]=g,t[23]=y):y=t[23];let b;return t[24]!==m||t[25]!==y?(b=a.jsxs(a.Fragment,{children:[m,y]}),t[24]=m,t[25]=y,t[26]=b):b=t[26],b}const Gjt=()=>{const t=he.c(60),e=Ye(),r=ys(),{openConfirmDialog:n}=di(),s=zn(),{submit:i,state:o}=gr(),{pageSize:l,pageSizeOptions:c,changePageSize:u,changePage:d,getRowsCount:f,getPage:p}=Na();let m;t[0]!==e||t[1]!==n||t[2]!==i?(m=Q=>{n({text:e.formatMessage({id:"udr_provisioned_data_profiles.actions.confirm_delete"},{profile:Q.description}),onConfirm:()=>{i({id:Q.uuid},{method:"DELETE",encType:"application/json",action:`${Q.uuid}/delete`})}})},t[0]=e,t[1]=n,t[2]=i,t[3]=m):m=t[3];const h=m;let _;t[4]!==e?(_=e.formatMessage({id:"udr_provisioned_data_profiles.table.id"}),t[4]=e,t[5]=_):_=t[5];let g;t[6]!==_?(g={key:"uuid",label:_},t[6]=_,t[7]=g):g=t[7];let y;t[8]!==e?(y=e.formatMessage({id:"udr_provisioned_data_profiles.table.description"}),t[8]=e,t[9]=y):y=t[9];let b;t[10]!==y?(b={key:"description",label:y},t[10]=y,t[11]=b):b=t[11];let x;t[12]!==e?(x=e.formatMessage({id:"udr_provisioned_data_profiles.table.created_at"}),t[12]=e,t[13]=x):x=t[13];let w;t[14]!==x?(w={key:"created_at",label:x,cellRender:Wjt},t[14]=x,t[15]=w):w=t[15];let C;t[16]!==e?(C=e.formatMessage({id:"udr_provisioned_data_profiles.table.modified_at"}),t[16]=e,t[17]=C):C=t[17];let k;t[18]!==C?(k={key:"modified_at",label:C,cellRender:Yjt},t[18]=C,t[19]=k):k=t[19];let A;t[20]!==g||t[21]!==b||t[22]!==w||t[23]!==k?(A=[g,b,w,k],t[20]=g,t[21]=b,t[22]=w,t[23]=k,t[24]=A):A=t[24];const P=A;let T;t[25]===Symbol.for("react.memo_cache_sentinel")?(T=_l(ie.provisioning),t[25]=T):T=t[25];const j=o!=="idle";let R;t[26]!==r?(R=Q=>r(`${$.urls.udrProvisionedDataProfile}/${Q.uuid}`),t[26]=r,t[27]=R):R=t[27];let D;t[28]!==j||t[29]!==R?(D={...T,disabled:j,onClick:R},t[28]=j,t[29]=R,t[30]=D):D=t[30];let O;t[31]!==e?(O=e.formatMessage({id:"udr_provisioned_data_profiles.actions.delete"}),t[31]=e,t[32]=O):O=t[32];let N;t[33]===Symbol.for("react.memo_cache_sentinel")?(N=a.jsx(ge.Trash,{}),t[33]=N):N=t[33];let F;t[34]!==o?(F=o!=="idle"||!Ue(ie.provisioning),t[34]=o,t[35]=F):F=t[35];let U;t[36]!==h||t[37]!==O||t[38]!==F?(U={label:O,icon:N,disabled:F,onClick:h},t[36]=h,t[37]=O,t[38]=F,t[39]=U):U=t[39];let z;t[40]!==D||t[41]!==U?(z=[D,U],t[40]=D,t[41]=U,t[42]=z):z=t[42];const H=z;let W;t[43]===Symbol.for("react.memo_cache_sentinel")?(W=a.jsx(Dt,{height:"100%",variant:"rounded"}),t[43]=W):W=t[43];let K;t[44]===Symbol.for("react.memo_cache_sentinel")?(K=a.jsx(Tr,{}),t[44]=K):K=t[44];let q;t[45]!==d||t[46]!==u||t[47]!==P||t[48]!==p||t[49]!==f||t[50]!==e||t[51]!==r||t[52]!==l||t[53]!==c||t[54]!==H||t[55]!==o?(q=Q=>{const{data:Y,metadata:Z}=Q;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{text:e.formatMessage({id:"common.new"}),startIcon:a.jsx(ge.Add,{}),onClick:()=>r(`${$.urls.udrProvisionedDataProfile}/new`),disabled:o!=="idle"||!Ue(ie.provisioning)})}),a.jsx(Br,{autoScale:!0,orderBy:"uuid",columns:P,data:Y,page:p(Z),labelDisplayedRows:Kjt,rowsCount:f(Z),rowsPerPage:l,onRowsPerPageChange:u,rowsPerPageOptions:c,rowKey:"uuid",rowActions:H,stickyRowActions:!0,onPageChange:d(Z),loading:o!=="idle"})]})},t[45]=d,t[46]=u,t[47]=P,t[48]=p,t[49]=f,t[50]=e,t[51]=r,t[52]=l,t[53]=c,t[54]=H,t[55]=o,t[56]=q):q=t[56];let X;return t[57]!==s.profiles||t[58]!==q?(X=a.jsx(I.Suspense,{fallback:W,children:a.jsx(Qt,{resolve:s.profiles,errorElement:K,children:q})}),t[57]=s.profiles,t[58]=q,t[59]=X):X=t[59],X};function Wjt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function Yjt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function Kjt(){return""}const Md=Pr();var g0=(t=>(t.op="OP",t.opc="OPC",t.operator_key_id="OPID",t.opc_enc="OPC_ENC",t))(g0||{});const Qjt=Object.keys(g0);var fme=(t=>(t.ACTIVE="ACTIVE",t.INACTIVE="INACTIVE",t))(fme||{});function Kee({sst:t,sd:e,dnn:r,pattern:n}){return`${n}-${dh({sst:+t,sd:e})}-${r}`}var pme=(t=>(t.ACTIVE="ACTIVE",t.INACTIVE="INACTIVE",t))(pme||{});const Zjt=Object.keys(pme);function Xjt({type:t,value:e}){switch(t){case"OPID":return{operator_key_id:e};case"OPC":return{opc:e};case"OP":return{op:e};case"OPC_ENC":return{opc_enc:e}}}function Jjt(t){return t.map(({pattern:e,sst:r,sd:n,dnn:s,static_ipv4:i,ipv4_frame_route_list:o,ipv6_frame_route_list:l,static_ipv6:c})=>{const u={...o?.length&&{ipv4FrameRouteList:o.map(h=>({ipv4Mask:h}))},...l?.length&&{ipv6FrameRouteList:l.map(h=>({ipv6Prefix:h}))}},d=[i?{ipv4Addr:i}:void 0,c?{ipv6Prefix:c}:void 0].filter(h=>!!h);let f=null;(i||c)&&(f={defaultSessionType:i&&c?"IPV4V6":i?"IPV4":"IPV6"});const p={...u,...d.length>0&&{staticIpAddress:d},...f&&{pduSessionTypes:f}},m={sst:+r,...n&&{sd:n}};return Object.entries(p).map(([h,_])=>({op:h==="pduSessionTypes"?"replace":"add",path:`/${e}/data/smData/[singleNssai=${JSON.stringify(m)}]/dnnConfigurations/${s}/${h}`,value:_}))}).flat()}const OD=(t,e)=>{let r;switch(t){case"ipv4FrameRouteList":r={ipv4_frame_route_list:e.map(({ipv4Mask:n})=>n)};break;case"ipv6FrameRouteList":r={ipv6_frame_route_list:e.map(({ipv6Prefix:n})=>n)};break;case"staticIpAddress":r=r=e.reduce((n,s)=>{const i="ipv4Addr"in s?{static_ipv4:s.ipv4Addr}:"ipv6Prefix"in s?{static_ipv6:s.ipv6Prefix}:{};return{...n,...i}},{});break;default:r={}}return r};function eTt(t){if(!t?.length)return[];const e=new RegExp($.regex.patches),r=t.reduce((n,s)=>{const i=s.value,{json:o,pattern:l,dnn:c,field:u}=e.exec(s.path)?.groups||{};let d="",f="";try{const m=JSON.parse(o);d=m.sst,f=m.sd}catch{}const p={id:Kee({sst:d,sd:f,dnn:c,pattern:l}),dnn:c,sst:d,sd:f,pattern:l,...OD(u,i)};return p.id in n?{...n,[p.id]:{...n[p.id],...p,...OD(u,i)}}:{...n,[p.id]:{id:Kee({sst:d,sd:f,dnn:c,pattern:l}),dnn:c??"",pattern:l??"",sst:d,sd:f,static_ipv4:"",static_ipv6:"",ipv6_frame_route_list:[],ipv4_frame_route_list:[],...OD(u,i)}}},{});return Object.entries(r).map(([,n])=>n)}function tTt(t){return{supi:t?.supi||"",description:t?.description||"",gpsi:t?.gpsi||"",status:t?.status||"ACTIVE",isOverridingKeys:!t?.supi,operator_key_type:"OP",operator_key_value:"",k:t?.authentication_subscription?.k||"",k_provisioned:t?.authentication_subscription?.k_provisioned||!1,auth_method:t?.authentication_subscription?.auth_method||"",transport_key_id:t?.authentication_subscription?.transport_key_id||"",k_tag:t?.authentication_subscription?.k_tag||"",opc_tag:t?.authentication_subscription?.opc_tag||"",policy_data_profile_uuid:t?.policy_data_profile?.uuid||"",provisioned_data_profile_uuid:t?.provisioned_data_profile?.uuid||"",provisioned_data_profile_patches:eTt(t?.provisioned_data_profile?.patches)}}function rTt(t,e){return{...e&&t.supi&&{supi:t.supi},...e?t.gpsi?{gpsi:t.gpsi}:!1:{gpsi:t.gpsi||null},description:t.description||null,status:t.status||"ACTIVE",...t.policy_data_profile_uuid?{policy_data_profile:{uuid:t.policy_data_profile_uuid}}:e?{}:{policy_data_profile:{uuid:null}},...t.provisioned_data_profile_uuid?{provisioned_data_profile:{uuid:t.provisioned_data_profile_uuid,...t.provisioned_data_profile_patches&&{patches:Jjt(t.provisioned_data_profile_patches)}}}:e?{}:{provisioned_data_profile:{uuid:null}},...t.isOverridingKeys&&{authentication_subscription:{k:t.k,...t.auth_method&&{auth_method:t.auth_method},...t.operator_key_type&&Xjt({value:t.operator_key_value,type:t.operator_key_type}),...t.transport_key_id&&{transport_key_id:t.transport_key_id},...t.k_tag&&{k_tag:t.k_tag},...t.opc_tag&&{opc_tag:t.opc_tag}}}}}const nTt=dr().shape({supi:We().matches(new RegExp($.regex.supi)).required(Md.formatMessage({id:"validation.required"})),status:We(),description:We().max(128),gpsi:We().matches(new RegExp(`${$.regex.gpsi}`)),provisioned_data_profile_uuid:We(),policy_data_profile_uuid:We(),isOverridingKeys:li(),k:We().when("isOverridingKeys",(t,e)=>t?e.required(Md.formatMessage({id:"validation.required"})):e).matches(new RegExp($.regex.operatorKey)),operator_key_type:We().when("isOverridingKeys",(t,e)=>t?e.required(Md.formatMessage({id:"validation.required"})):e),operator_key_value:We().when("isOverridingKeys",(t,e)=>t?e.required(Md.formatMessage({id:"validation.required"})):e).when("operator_key_type",(t,e)=>["OP","OPC","OPC_ENC"].includes(t)?e.matches(new RegExp($.regex.operatorKey)):e),transport_key_id:We().when("operator_key_type",(t,e)=>{if(t==="OPC_ENC")return e.required(Md.formatMessage({id:"validation.required"}))}),k_tag:We().matches(new RegExp($.regex.supiTag)),opc_tag:We().matches(new RegExp($.regex.supiTag)),provisioned_data_profile_patches:yr(dr().shape({id:We(),sst:We(),sd:We(),dnn:We(),static_ipv4:We().matches(new RegExp($.regex.ipv4Addr)).test("oneOfPatchRequired",Md.formatMessage({id:"udr_supi.form.errors.provisioned_data_profiles_patch_at_least_one"}),(t,e)=>!!e.parent.static_ipv4||!!e.parent.static_ipv6||!!e.parent.ipv4_frame_route_list?.length||!!e.parent.ipv6_frame_route_list?.length),static_ipv6:We().matches(new RegExp($.regex.ipv6Prefix)).test("oneOfPatchRequired",Md.formatMessage({id:"udr_supi.form.errors.provisioned_data_profiles_patch_at_least_one"}),(t,e)=>!!e.parent.static_ipv4||!!e.parent.static_ipv6||!!e.parent.ipv4_frame_route_list?.length||!!e.parent.ipv6_frame_route_list?.length),ipv4_frame_route_list:yr().of(We().matches(new RegExp($.regex.ipv4Mask))).test("oneOfPatchRequired",Md.formatMessage({id:"udr_supi.form.errors.provisioned_data_profiles_patch_at_least_one"}),(t,e)=>!!e.parent.static_ipv4||!!e.parent.static_ipv6||!!e.parent.ipv4_frame_route_list?.length||!!e.parent.ipv6_frame_route_list?.length),ipv6_frame_route_list:yr().of(We().matches(new RegExp($.regex.ipv6Prefix))).test("oneOfPatchRequired",Md.formatMessage({id:"udr_supi.form.errors.provisioned_data_profiles_patch_at_least_one"}),(t,e)=>!!e.parent.static_ipv4||!!e.parent.static_ipv6||!!e.parent.ipv4_frame_route_list?.length||!!e.parent.ipv6_frame_route_list?.length)}))}),sTt=dr().shape({pattern:We().required(),sliceId:We().required(),dnnName:We().required()}),iTt=t=>{const e=he.c(10),{onSubmit:r,provisionedDataProfile:n}=t,s=Ye(),{dialogClose:i}=Jt();let o;e[0]!==r?(o=f=>{const{sliceId:p,dnnName:m,pattern:h}=f;r({sliceId:p,dnnName:m,pattern:h})},e[0]=r,e[1]=o):o=e[1];const l=o;let c;e[2]===Symbol.for("react.memo_cache_sentinel")?(c={pattern:"",sliceId:"",dnnName:""},e[2]=c):c=e[2];let u;e[3]!==i||e[4]!==s||e[5]!==n?(u=f=>{const{isSubmitting:p,values:m}=f;return a.jsxs(dn,{canWrite:Ue(ie.provisioning),children:[a.jsx(_s,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"pattern",children:h=>{const{field:_,meta:g,form:y}=h,{setFieldValue:b}=y;return a.jsx(qs,{..._,label:s.formatMessage({id:"udr_supi.form.slice_dnn_selection.pattern"}),size:"small",error:!!g.error,helperText:g.error,disabled:p||!Ue(ie.provisioning),onChange:x=>{const w=x.target.value;b("pattern",w),b("sliceId",""),b("dnnName","")},children:[...new Set(wjt(n))].map(oTt)})}}),m.pattern&&a.jsx(Ke,{name:"sliceId",children:h=>{const{field:_,meta:g,form:y}=h,{setFieldValue:b}=y;return a.jsx(qs,{..._,label:s.formatMessage({id:"udr_supi.form.slice_dnn_selection.sliceId"}),size:"small",error:!!g.error,helperText:g.error,disabled:p||!Ue(ie.provisioning),onChange:x=>{b("sliceId",x.target.value),b("dnnName","")},children:[...new Set(Y$(n,m.pattern).map(aTt))].map(lTt)})}}),m.sliceId&&a.jsx(Ke,{name:"dnnName",children:h=>{const{field:_,meta:g}=h;return a.jsx(qs,{..._,label:s.formatMessage({id:"udr_supi.form.slice_dnn_selection.dnnName"}),size:"small",error:!!g.error,helperText:g.error,disabled:p||!Ue(ie.provisioning),children:Y$(n,m.pattern).filter(y=>y.sliceId===m.sliceId).map(cTt)})}})]})}),a.jsxs(Ti,{children:[a.jsx(Ze,{text:s.formatMessage({id:"udr_supi.form.slice_dnn_selection.buttons.cancel"}),type:"reset",onClick:()=>i(),variant:"outlined",disabled:p||!Ue(ie.provisioning)}),a.jsx(Ze,{text:s.formatMessage({id:"udr_supi.form.slice_dnn_selection.buttons.submit"}),type:"submit",disabled:p||!Ue(ie.provisioning),loading:p})]})]})},e[3]=i,e[4]=s,e[5]=n,e[6]=u):u=e[6];let d;return e[7]!==l||e[8]!==u?(d=a.jsx(Wr,{initialValues:c,enableReinitialize:!0,onSubmit:l,validationSchema:sTt,children:u}),e[7]=l,e[8]=u,e[9]=d):d=e[9],d};function oTt(t){return a.jsx(En,{value:t,children:t},t)}function aTt(t){return t.sliceId}function lTt(t){return a.jsx(En,{value:t,children:t},t)}function cTt(t){const{dnnName:e}=t;return a.jsx(En,{value:e,children:e},e)}const uTt=I.memo(function(e){const r=he.c(25),{i:n}=e,s=Ye(),i=`provisioned_data_profile_patches[${n}].static_ipv4`;let o;r[0]!==s?(o=b=>{const{field:x,meta:w,form:C}=b,{isSubmitting:k}=C;return a.jsx(dt,{...x,label:s.formatMessage({id:"udr_supi.form.provisioned_data_profile_patches.static_ipv4"}),size:"small",error:!!w.error,helperText:w.error,disabled:k||!Ue(ie.provisioning)})},r[0]=s,r[1]=o):o=r[1];let l;r[2]!==i||r[3]!==o?(l=a.jsx(Ur,{name:i,children:o}),r[2]=i,r[3]=o,r[4]=l):l=r[4];const c=`provisioned_data_profile_patches[${n}].static_ipv6`;let u;r[5]!==s?(u=b=>{const{field:x,meta:w,form:C}=b,{isSubmitting:k}=C;return a.jsx(dt,{...x,label:s.formatMessage({id:"udr_supi.form.provisioned_data_profile_patches.static_ipv6"}),size:"small",error:!!w.error,helperText:w.error,disabled:k||!Ue(ie.provisioning)})},r[5]=s,r[6]=u):u=r[6];let d;r[7]!==c||r[8]!==u?(d=a.jsx(Ur,{name:c,children:u}),r[7]=c,r[8]=u,r[9]=d):d=r[9];const f=`provisioned_data_profile_patches[${n}].ipv4_frame_route_list`;let p;r[10]!==s?(p=b=>{const{field:x,meta:w,form:C}=b,{isSubmitting:k,setFieldValue:A}=C;return a.jsx(rn,{name:x.name,value:x.value,label:s.formatMessage({id:"udr_supi.form.provisioned_data_profile_patches.ipv4_frame_route_list"}),multiple:!0,size:"small",freeSolo:!0,options:[],onChange:(P,T)=>{A(x.name,[...new Set(T.map(dTt))])},error:!!w.error,helperText:w.error,disabled:k||!Ue(ie.provisioning),fullWidth:!0})},r[10]=s,r[11]=p):p=r[11];let m;r[12]!==f||r[13]!==p?(m=a.jsx(Ur,{name:f,children:p}),r[12]=f,r[13]=p,r[14]=m):m=r[14];const h=`provisioned_data_profile_patches[${n}].ipv6_frame_route_list`;let _;r[15]!==s?(_=b=>{const{field:x,meta:w,form:C}=b,{isSubmitting:k,setFieldValue:A}=C;return a.jsx(rn,{name:x.name,value:x.value,label:s.formatMessage({id:"udr_supi.form.provisioned_data_profile_patches.ipv6_frame_route_list"}),multiple:!0,size:"small",freeSolo:!0,options:[],onChange:(P,T)=>{A(x.name,[...new Set(T.map(fTt))])},error:!!w.error,helperText:w.error,disabled:k||!Ue(ie.provisioning),fullWidth:!0})},r[15]=s,r[16]=_):_=r[16];let g;r[17]!==h||r[18]!==_?(g=a.jsx(Ur,{name:h,children:_}),r[17]=h,r[18]=_,r[19]=g):g=r[19];let y;return r[20]!==g||r[21]!==l||r[22]!==d||r[23]!==m?(y=a.jsxs(te,{spacing:2,children:[l,d,m,g]}),r[20]=g,r[21]=l,r[22]=d,r[23]=m,r[24]=y):y=r[24],y});function dTt(t){return t.trim()}function fTt(t){return t.trim()}function pTt(t){const e=he.c(72),{isEditing:r,policyDataProfileList:n,provisionedDataProfileList:s,dirty:i,loading:o,error:l}=t,c=Ye(),{dialogOpen:u,dialogClose:d,snackbarOpen:f}=Jt(),{values:p}=_0();let m;if(e[0]!==s||e[1]!==p.provisioned_data_profile_uuid){let q;e[3]!==p.provisioned_data_profile_uuid?(q=X=>X.uuid===p.provisioned_data_profile_uuid,e[3]=p.provisioned_data_profile_uuid,e[4]=q):q=e[4],m=s.find(q),e[0]=s,e[1]=p.provisioned_data_profile_uuid,e[2]=m}else m=e[2];const h=m;let _;e[5]!==h?(_=q=>{const{sst:X,sd:Q,dnn:Y,pattern:Z}=q;return!!Y$(h,Z).find(fe=>fe.sliceId===dh({sst:X,sd:Q})&&fe.dnnName===Y)},e[5]=h,e[6]=_):_=e[6];const g=_;let y;e[7]!==c?(y=c.formatMessage({id:"udr_supi.section.general.title"}),e[7]=c,e[8]=y):y=e[8];let b;e[9]!==c||e[10]!==r?(b=a.jsx(Ur,{name:"supi",children:q=>{const{field:X,meta:Q}=q;return a.jsx(dt,{...X,label:c.formatMessage({id:"udr_supi.form.supi"}),size:"small",error:!!Q.error,helperText:Q.error,disabled:r||!Ue(ie.provisioning)})}}),e[9]=c,e[10]=r,e[11]=b):b=e[11];let x;e[12]!==c?(x=a.jsx(Ur,{name:"description",children:q=>{const{field:X,meta:Q}=q;return a.jsx(dt,{...X,label:c.formatMessage({id:"udr_supi.form.description"}),size:"small",error:!!Q.error,helperText:Q.error})}}),e[12]=c,e[13]=x):x=e[13];let w;e[14]!==c?(w=a.jsx(Ur,{name:"gpsi",children:q=>{const{field:X,meta:Q}=q;return a.jsx(dt,{...X,label:c.formatMessage({id:"udr_supi.form.gpsi"}),size:"small",error:!!Q.error,helperText:Q.error})}}),e[14]=c,e[15]=w):w=e[15];let C;e[16]!==c?(C=a.jsx(Ur,{name:"status",children:q=>{const{field:X,meta:Q}=q;return a.jsxs(qs,{...X,label:c.formatMessage({id:"udr_supi.form.status"}),size:"small",error:!!Q.error,helperText:Q.error,children:[a.jsx(En,{value:"ACTIVE",children:"ACTIVE"}),a.jsx(En,{value:"INACTIVE",children:"INACTIVE"})]})}}),e[16]=c,e[17]=C):C=e[17];let k;e[18]!==c||e[19]!==r||e[20]!==p.k_provisioned?(k=r&&a.jsxs(te,{spacing:2,direction:"row",align:"center",children:[a.jsx(Ur,{name:"isOverridingKeys",children:q=>{const{field:X,form:Q}=q,{setFieldValue:Y}=Q;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:!!X.value,onChange:(Z,re)=>{Y(X.name,re)}}),a.jsx(_e,{children:c.formatMessage({id:"udr_supi.form.is_overriding_keys"})})]})}}),a.jsx(ms,{size:"small",label:p.k_provisioned?c.formatMessage({id:"udr_supi.form.keys_provisioned"}):c.formatMessage({id:"udr_supi.form.keys_not_provisioned"}),color:p.k_provisioned?"primary":"default"})]}),e[18]=c,e[19]=r,e[20]=p.k_provisioned,e[21]=k):k=e[21];let A;e[22]!==c||e[23]!==p.isOverridingKeys||e[24]!==p.operator_key_type?(A=p.isOverridingKeys&&a.jsxs(a.Fragment,{children:[a.jsx(Ur,{name:"k",children:q=>{const{field:X,meta:Q}=q;return a.jsx(dt,{...X,label:c.formatMessage({id:"udr_supi.form.k"}),size:"small",error:!!Q.error,helperText:Q.error})}}),a.jsx(Ke,{name:"operator_key_type",children:q=>{const{field:X,meta:Q}=q;return a.jsx(qs,{...X,label:c.formatMessage({id:"udr_supi.form.operator_key_type"}),size:"small",error:!!Q.error,helperText:Q.error,children:Qjt.map(gTt)})}}),a.jsx(Ke,{name:"operator_key_value",children:q=>{const{field:X,meta:Q}=q;return a.jsx(dt,{...X,label:c.formatMessage({id:"udr_supi.form.operator_key_value"}),size:"small",error:!!Q.error,helperText:Q.error})}}),a.jsx(Ur,{name:"transport_key_id",children:q=>{const{field:X,meta:Q}=q;return a.jsx(dt,{...X,label:c.formatMessage({id:"udr_supi.form.transport_key_id"}),size:"small",error:!!Q.error,helperText:Q.error})}}),a.jsx(Ur,{name:"k_tag",children:q=>{const{field:X,meta:Q}=q;return a.jsx(dt,{...X,label:c.formatMessage({id:"udr_supi.form.k_tag"}),size:"small",error:!!Q.error,helperText:Q.error})}}),p.operator_key_type===g0.opc_enc&&a.jsx(Ke,{name:"opc_tag",children:q=>{const{field:X,meta:Q}=q;return a.jsx(dt,{...X,label:c.formatMessage({id:"udr_supi.form.opc_tag"}),size:"small",error:!!Q.error,helperText:Q.error})}})]}),e[22]=c,e[23]=p.isOverridingKeys,e[24]=p.operator_key_type,e[25]=A):A=e[25];let P;e[26]!==b||e[27]!==x||e[28]!==w||e[29]!==C||e[30]!==k||e[31]!==A?(P=a.jsxs(te,{spacing:2,children:[b,x,w,C,k,A]}),e[26]=b,e[27]=x,e[28]=w,e[29]=C,e[30]=k,e[31]=A,e[32]=P):P=e[32];let T;e[33]!==P||e[34]!==y?(T=a.jsx(Kt,{title:y,children:P}),e[33]=P,e[34]=y,e[35]=T):T=e[35];let j;e[36]===Symbol.for("react.memo_cache_sentinel")?(j={width:"100%",position:"relative"},e[36]=j):j=e[36];let R;e[37]!==c?(R=c.formatMessage({id:"udr_supi.section.profiles.title"}),e[37]=c,e[38]=R):R=e[38];let D;e[39]===Symbol.for("react.memo_cache_sentinel")?(D={width:"100%"},e[39]=D):D=e[39];let O;e[40]!==c||e[41]!==n?(O=a.jsx(Ke,{name:"policy_data_profile_uuid",children:q=>{const{field:X,meta:Q,form:Y}=q,{setFieldValue:Z}=Y,re=n.map(hTt),fe=re.find(de=>{const{value:se}=de;return se===X?.value})??null;return a.jsx(rn,{...X,label:c.formatMessage({id:"udr_supi.form.policy_data_profile_uuid"}),size:"small",value:fe,options:re,onChange:(de,se)=>{if(!se){Z(X.name,"");return}se&&!Array.isArray(se)&&typeof se=="object"&&typeof se.value=="string"&&Z(X.name,se.value)},error:!!Q.error,helperText:Q.error})}}),e[40]=c,e[41]=n,e[42]=O):O=e[42];let N;e[43]!==c||e[44]!==s?(N=a.jsx(Ke,{name:"provisioned_data_profile_uuid",children:q=>{const{field:X,meta:Q,form:Y}=q,{setFieldValue:Z}=Y,re=s.map(mTt),fe=re.find(de=>{const{value:se}=de;return se===X?.value})??null;return a.jsx(rn,{...X,label:c.formatMessage({id:"udr_supi.form.provisioned_data_profile_uuid"}),size:"small",value:fe,options:re,onChange:(de,se)=>{if(!se){Z(X.name,"");return}se&&!Array.isArray(se)&&typeof se=="object"&&typeof se.value=="string"&&Z(X.name,se.value)},error:!!Q.error,helperText:Q.error})}}),e[43]=c,e[44]=s,e[45]=N):N=e[45];let F;e[46]!==d||e[47]!==u||e[48]!==c||e[49]!==g||e[50]!==h||e[51]!==f||e[52]!==p?(F=(!!p.provisioned_data_profile_uuid||p.provisioned_data_profile_patches&&p.provisioned_data_profile_patches.length>0)&&a.jsx(oi,{name:"provisioned_data_profile_patches",children:q=>{const{remove:X,push:Q,form:Y}=q,{getFieldMeta:Z}=Y,re=le=>{const{sliceId:ee,dnnName:J,pattern:me}=le,[pe,Se]=ee.split("-"),ve=p.provisioned_data_profile_patches?.find(xe=>{const{sd:qe,sst:Le,dnn:Te}=xe;return ee===dh({sst:+Le,sd:qe})&&Te===J});d(),ve?f({message:c.formatMessage({id:"udr_supi.form.provisioned_data_profile_patches.error.already_present"}),severity:"info"}):Q({id:`${me}-${ee}-${J}`,sst:pe||"",sd:Se||"",dnn:J,pattern:me,ipv4_frame_route_list:[],static_ipv4:"",ipv6_frame_route_list:[],static_ipv6:""})},fe=()=>{h&&u({title:c.formatMessage({id:"udr_supi.form.provisioned_data_profile_patches.add_dialog.title"}),content:()=>a.jsx(iTt,{provisionedDataProfile:h,onSubmit:le=>re(le)}),closeOnBackdropClick:!1})},de=le=>{X(le)},se=le=>!Z(le)?.error;return a.jsx(pr,{title:c.formatMessage({id:"udr_supi.section.provisioned_data_profile_patches.title"}),dense:!0,error:!se("provisioned_data_profile_patches"),headerActionsComponent:a.jsx(Ze,{text:c.formatMessage({id:"udr_supi.form.provisioned_data_profile_patches.add"}),type:"button",variant:"outlined",onClick:fe,disabled:!Ue(ie.provisioning)}),elevation:2,children:a.jsxs(Kt,{children:[!!p.provisioned_data_profile_patches?.length&&a.jsx(Jn,{exclusive:!0,spacing:2,children:p.provisioned_data_profile_patches.map((le,ee)=>a.jsx(xr,{elevation:4,title:`${le.pattern} ${g({sst:+le.sst,sd:le.sd,dnn:le.dnn,pattern:le.pattern})?"":"(invalid)"}`,subtitle:`${dh({sst:+le.sst,sd:le.sd})} - ${le.dnn}`,error:!se(`provisioned_data_profile_patches[${ee}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>de(ee),label:c.formatMessage({id:"udr_supi.form.provisioned_data_profile_patches.delete"})}],content:a.jsx(uTt,{i:ee})},le?.id))}),!p.provisioned_data_profile_patches?.length&&a.jsx(_e,{children:c.formatMessage({id:"udr_supi.section.provisioned_data_profile_patches.no_patch"})})]})})}}),e[46]=d,e[47]=u,e[48]=c,e[49]=g,e[50]=h,e[51]=f,e[52]=p,e[53]=F):F=e[53];let U;e[54]!==l?(U=a.jsx(Xr,{data:l}),e[54]=l,e[55]=U):U=e[55];let z;e[56]!==i||e[57]!==c||e[58]!==o?(z=Ue(ie.provisioning)&&a.jsx(Ze,{type:"submit",text:c.formatMessage({id:"udr_supi.form.buttons.submit"}),disabled:!i,loading:o,sx:{alignSelf:"flex-start"}}),e[56]=i,e[57]=c,e[58]=o,e[59]=z):z=e[59];let H;e[60]!==O||e[61]!==N||e[62]!==F||e[63]!==U||e[64]!==z?(H=a.jsxs(te,{direction:"column",spacing:2,nowrap:!0,fullWidth:!0,sx:D,children:[O,N,F,U,z]}),e[60]=O,e[61]=N,e[62]=F,e[63]=U,e[64]=z,e[65]=H):H=e[65];let W;e[66]!==R||e[67]!==H?(W=a.jsx(Kt,{sx:j,title:R,children:H}),e[66]=R,e[67]=H,e[68]=W):W=e[68];let K;return e[69]!==T||e[70]!==W?(K=a.jsxs(te,{spacing:2,children:[T,W]}),e[69]=T,e[70]=W,e[71]=K):K=e[71],K}function mTt(t){const{description:e,uuid:r}=t;return{label:`${r} ${e?`- ${e}`:""}`,value:r}}function hTt(t){const{description:e,uuid:r}=t;return{label:`${r} ${e?`- ${e}`:""}`,value:r}}function gTt(t){return a.jsx(En,{value:g0[t],children:g0[t]},t)}const _Tt=()=>{const t=he.c(27),e=Ye(),{id:r}=ko(),n=zn(),{data:s,state:i,submit:o}=gr(),{openConfirmDialog:l}=di(),c=r!=="new";let u;t[0]!==r||t[1]!==c||t[2]!==o?(u=x=>{const w=rTt(x,!c);c&&r?o({supi:r,formData:w},{method:"PATCH",encType:"application/json",action:"update"}):o(w,{method:"POST",encType:"application/json",action:"create"})},t[0]=r,t[1]=c,t[2]=o,t[3]=u):u=t[3];const d=u;let f;t[4]!==r||t[5]!==e||t[6]!==c||t[7]!==l||t[8]!==o?(f=()=>{r&&c&&l({text:e.formatMessage({id:"udr_supis.actions.confirm_delete"}),onConfirm:()=>o({supi:r},{method:"DELETE",encType:"application/json",action:"delete"})})},t[4]=r,t[5]=e,t[6]=c,t[7]=l,t[8]=o,t[9]=f):f=t[9];const p=f;let m;t[10]!==p||t[11]!==e||t[12]!==c?(m=c&&a.jsx(hs,{children:a.jsx(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:a.jsx(Ze,{text:e.formatMessage({id:"common.delete"}),startIcon:a.jsx(ge.Trash,{}),variant:"outlined",disabled:!Ue(ie.provisioning),onClick:p})})}),t[10]=p,t[11]=e,t[12]=c,t[13]=m):m=t[13];let h;t[14]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(Dt,{variant:"rounded",sx:{height:"800px"}}),t[14]=h):h=t[14];let _;t[15]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(Tr,{}),t[15]=_):_=t[15];let g;t[16]!==s||t[17]!==i||t[18]!==d||t[19]!==c?(g=x=>{const{supi:w,policyDataProfileList:C,provisionedDataProfileList:k}=x;return a.jsx(Wr,{initialValues:tTt(w),validationSchema:nTt,onSubmit:d,children:A=>{const{dirty:P}=A;return a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsx(te,{spacing:2,children:a.jsx(pTt,{isEditing:c,policyDataProfileList:C.data,provisionedDataProfileList:k.data,dirty:P,loading:i!=="idle",error:s})})})}})},t[16]=s,t[17]=i,t[18]=d,t[19]=c,t[20]=g):g=t[20];let y;t[21]!==n.createOrEditData||t[22]!==g?(y=a.jsx(I.Suspense,{fallback:h,children:a.jsx(Qt,{resolve:n.createOrEditData,errorElement:_,children:g})}),t[21]=n.createOrEditData,t[22]=g,t[23]=y):y=t[23];let b;return t[24]!==m||t[25]!==y?(b=a.jsxs(a.Fragment,{children:[m,y]}),t[24]=m,t[25]=y,t[26]=b):b=t[26],b};function vTt(t){const e=he.c(12),{errors:r}=t,n=Ye(),{dialogClose:s}=Jt();let i;e[0]!==s?(i=()=>{s()},e[0]=s,e[1]=i):i=e[1];const o=i;let l;e[2]!==r?(l=a.jsx(_s,{children:a.jsx(Lr,{noIcon:!0,severity:"error",message:r})}),e[2]=r,e[3]=l):l=e[3];let c;e[4]!==n?(c=n.formatMessage({id:"common.form.close"}),e[4]=n,e[5]=c):c=e[5];let u;e[6]!==o||e[7]!==c?(u=a.jsx(Ti,{children:a.jsx(Ze,{text:c,onClick:o})}),e[6]=o,e[7]=c,e[8]=u):u=e[8];let d;return e[9]!==l||e[10]!==u?(d=a.jsxs(a.Fragment,{children:[l,u]}),e[9]=l,e[10]=u,e[11]=d):d=e[11],d}function yTt(t){const e=he.c(22),{loader:r,close:n,successMessage:s,errorMessage:i,revalidate:o}=t;let l;e[0]!==r?(l={to:r},e[0]=r,e[1]=l):l=e[1];const{data:c}=Dv(l),{dialogClose:u,dialogOpen:d}=Jt(),f=Ye(),p=j6e();let m;e[2]!==n||e[3]!==c||e[4]!==u||e[5]!==d||e[6]!==i||e[7]!==o||e[8]!==p||e[9]!==s?(m=()=>{const g=n(c);g&&(g.status==="ok"&&(u(),Nt(s),o&&p.revalidate()),g.status==="error"&&(u(),g.errors&&d({title:i,content:()=>a.jsx(vTt,{errors:g.errors})})))},e[2]=n,e[3]=c,e[4]=u,e[5]=d,e[6]=i,e[7]=o,e[8]=p,e[9]=s,e[10]=m):m=e[10];let h;e[11]!==n||e[12]!==c||e[13]!==u||e[14]!==d||e[15]!==i||e[16]!==f||e[17]!==o||e[18]!==p||e[19]!==s?(h=[n,c,u,d,i,f,o,p,s],e[11]=n,e[12]=c,e[13]=u,e[14]=d,e[15]=i,e[16]=f,e[17]=o,e[18]=p,e[19]=s,e[20]=h):h=e[20],I.useEffect(m,h);let _;return e[21]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(_s,{children:a.jsx(gt,{sx:{my:2},children:a.jsx(Nc,{variant:"indeterminate"})})}),e[21]=_):_=e[21],_}var mme=(t=>(t.CREATED="CREATED",t.RUNNING="RUNNING",t.TERMINATED="TERMINATED",t))(mme||{});const bTt=()=>{const t=he.c(35),e=Ye(),[r,n]=hl(),{drawerClose:s}=Jt();let i;t[0]!==s||t[1]!==n?(i=x=>{n(w=>{const C=new URLSearchParams;return C.set($.searchParams.pageSize,w.get($.searchParams.pageSize)||$.pageSize.toString()),x.supi_icont&&C.set("supi_icont",x.supi_icont),x.supi_noticont&&C.set("supi_noticont",x.supi_noticont),x.supi_iend&&C.set("supi_iend",x.supi_iend),x.gpsi_icont&&C.set("gpsi_icont",x.gpsi_icont),x.gpsi_noticont&&C.set("gpsi_noticont",x.gpsi_noticont),x.gpsi_iend&&C.set("gpsi_iend",x.gpsi_iend),x.status_eq&&C.set("status_eq",x.status_eq),C},{replace:!0}),s()},t[0]=s,t[1]=n,t[2]=i):i=t[2];const o=i;let l;t[3]!==s||t[4]!==n?(l=()=>{n(xTt,{replace:!0}),s()},t[3]=s,t[4]=n,t[5]=l):l=t[5];const c=l;let u;t[6]!==r?(u=r.get("supi_icont")??"",t[6]=r,t[7]=u):u=t[7];let d;t[8]!==r?(d=r.get("supi_noticont")??"",t[8]=r,t[9]=d):d=t[9];let f;t[10]!==r?(f=r.get("supi_iend")??"",t[10]=r,t[11]=f):f=t[11];let p;t[12]!==r?(p=r.get("gpsi_icont")??"",t[12]=r,t[13]=p):p=t[13];let m;t[14]!==r?(m=r.get("gpsi_noticont")??"",t[14]=r,t[15]=m):m=t[15];let h;t[16]!==r?(h=r.get("gpsi_iend")??"",t[16]=r,t[17]=h):h=t[17];let _;t[18]!==r?(_=r.get("status_eq")??"",t[18]=r,t[19]=_):_=t[19];let g;t[20]!==u||t[21]!==d||t[22]!==f||t[23]!==p||t[24]!==m||t[25]!==h||t[26]!==_?(g={supi_icont:u,supi_noticont:d,supi_iend:f,gpsi_icont:p,gpsi_noticont:m,gpsi_iend:h,status_eq:_},t[20]=u,t[21]=d,t[22]=f,t[23]=p,t[24]=m,t[25]=h,t[26]=_,t[27]=g):g=t[27];let y;t[28]!==e?(y=()=>a.jsxs(dn,{canWrite:as(ie.provisioning),fullHeight:!0,children:[a.jsx(zp,{children:a.jsxs(te,{spacing:3,children:[a.jsx(Ke,{name:"status_eq",children:x=>{const{field:w,form:C}=x,{setFieldValue:k}=C;return a.jsx(rn,{value:w.value,name:w.name,label:e.formatMessage({id:"udr_supi.filters.status_eq_active_inactive"}),multiple:!1,size:"small",freeSolo:!1,options:["",...Zjt],onChange:(A,P)=>{k(w.name,P||"")},fullWidth:!0})}}),a.jsxs(te,{spacing:.5,children:[a.jsxs(te,{direction:"row",align:"center",spacing:1,fullWidth:!0,nowrap:!0,children:[a.jsxs(_e,{fontWeight:"600",lineHeight:"1",color:"text.secondary",children:[e.formatMessage({id:"udr_supi.filters.supi"})," "]}),a.jsx(Mn,{arrow:!0,title:e.formatMessage({id:"udr_supi.filters.case_insensitive.info"}),children:a.jsx("span",{children:a.jsx(te,{direction:"column",justify:"center",children:a.jsx(ge.QuestionMark,{size:18})})})})]}),a.jsx(Ke,{name:"supi_icont",children:x=>{const{field:w}=x;return a.jsx(dt,{...w,value:w.value||"",label:e.formatMessage({id:"udr_supi.filters.supi_icont"}),size:"small"})}}),a.jsx(Ke,{name:"supi_noticont",children:x=>{const{field:w}=x;return a.jsx(dt,{...w,value:w.value||"",label:e.formatMessage({id:"udr_supi.filters.supi_noticont"}),size:"small"})}}),a.jsx(Ke,{name:"supi_iend",children:x=>{const{field:w}=x;return a.jsx(dt,{...w,value:w.value||"",label:e.formatMessage({id:"udr_supi.filters.supi_iend"}),size:"small"})}})]}),a.jsxs(te,{spacing:.5,children:[a.jsxs(te,{direction:"row",align:"center",spacing:1,fullWidth:!0,nowrap:!0,children:[a.jsx(_e,{fontWeight:"600",lineHeight:"1",color:"text.secondary",children:e.formatMessage({id:"udr_supi.filters.gpsi"})}),a.jsx(Mn,{arrow:!0,title:e.formatMessage({id:"udr_supi.filters.case_insensitive.info"}),children:a.jsx("span",{children:a.jsx(te,{direction:"column",justify:"center",children:a.jsx(ge.QuestionMark,{size:18})})})})]}),a.jsx(Ke,{name:"gpsi_icont",children:x=>{const{field:w}=x;return a.jsx(dt,{...w,value:w.value||"",label:e.formatMessage({id:"udr_supi.filters.gpsi_icont"}),size:"small"})}}),a.jsx(Ke,{name:"gpsi_noticont",children:x=>{const{field:w}=x;return a.jsx(dt,{...w,value:w.value||"",label:e.formatMessage({id:"udr_supi.filters.gpsi_noticont"}),size:"small"})}}),a.jsx(Ke,{name:"gpsi_iend",children:x=>{const{field:w}=x;return a.jsx(dt,{...w,value:w.value||"",label:e.formatMessage({id:"udr_supi.filters.gpsi_iend"}),size:"small"})}})]})]})}),a.jsxs(f7,{children:[a.jsx(Ze,{"data-testid":"filter-udr-supi-button-reset",text:e.formatMessage({id:"udr_supi.filters.buttons.reset"}),variant:"outlined",disabled:!as(ie.provisioning),type:"reset"}),a.jsx(Ze,{"data-testid":"filter-udr-supi-button-apply",text:e.formatMessage({id:"udr_supi.filters.buttons.apply"}),type:"submit",disabled:!as(ie.provisioning)})]})]}),t[28]=e,t[29]=y):y=t[29];let b;return t[30]!==c||t[31]!==o||t[32]!==y||t[33]!==g?(b=a.jsx(Wr,{initialValues:g,onSubmit:o,onReset:c,children:y}),t[30]=c,t[31]=o,t[32]=y,t[33]=g,t[34]=b):b=t[34],b};function xTt(t){const e=new URLSearchParams;return e.set($.searchParams.pageSize,t.get($.searchParams.pageSize)||$.pageSize.toString()),e}const STt=()=>{const t=he.c(90),e=Ye(),r=ys(),{openConfirmDialog:n}=di(),{dialogOpen:s,dialogClose:i,drawerOpen:o}=Jt(),l=zn(),{submit:c,state:u}=gr(),{pageSize:d,pageSizeOptions:f,changePageSize:p,changePage:m,getRowsCount:h,getPage:_}=Na(),g=u7();let y;t[0]!==i||t[1]!==s||t[2]!==e?(y=()=>{s({title:e.formatMessage({id:"udr_supis.import.form.title"}),content:()=>a.jsx(bx,{min:1,max:1,filesLabel:e.formatMessage({id:"udr_supis.import.form.file"}),accept:{"text/csv":[".csv"]},requiredMessage:e.formatMessage({id:"udr_supis.import.form.file.required"}),description:e.formatMessage({id:"udr_supis.import.form.description"}),exampleFileUrl:"/files/udr_supi_provisioning_example.csv",action:"udr/supis/upload",onDialogSuccess:nt=>{const Re=nt;s({title:e.formatMessage({id:"udr_supis.import.form.result.message_started"}),content:()=>a.jsx(yTt,{revalidate:!0,successMessage:e.formatMessage({id:"udr_supis.import.form.result.message_ok"}),errorMessage:e.formatMessage({id:"udr_supis.import.form.result.message_ko"}),loader:`udr/supis/upload/async/${Re.action_id}`,close:we=>we&&we.status===mme.TERMINATED?(i(),we.info.errors?.length?{status:"error",errors:we.info.errors.map(wTt)}:{status:"ok"}):null})})}})})},t[0]=i,t[1]=s,t[2]=e,t[3]=y):y=t[3];const b=y;let x;t[4]!==e||t[5]!==n||t[6]!==c?(x=nt=>{n({text:e.formatMessage({id:"udr_supis.actions.confirm_delete"}),onConfirm:()=>c({supi:nt.supi},{method:"DELETE",encType:"application/json",action:`${nt.supi}/delete`})})},t[4]=e,t[5]=n,t[6]=c,t[7]=x):x=t[7];const w=x;let C;t[8]!==e?(C=(nt,Re)=>[{key:"supi",label:e.formatMessage({id:"udr_supis.table.id"})},{key:"description",label:e.formatMessage({id:"udr_supis.table.description"})},{key:"gpsi",label:e.formatMessage({id:"udr_supis.table.gpsi"})},{key:"provisioned_data_profile",label:e.formatMessage({id:"udr_supis.table.provisioned_data_profile"}),cellRender:we=>{const{provisioned_data_profile:Me}=we,$e=Re.find(Ve=>Ve.uuid===Me?.uuid);return $e?.description?a.jsx(_e,{type:"body2",children:$e?.description}):a.jsx(_e,{type:"body2",children:$e?.uuid})}},{key:"policy_data_profile",label:e.formatMessage({id:"udr_supis.table.policy_data_profile"}),cellRender:we=>{const{policy_data_profile:Me}=we,$e=nt.find(Ve=>Ve.uuid===Me?.uuid);return $e?.description?a.jsx(_e,{type:"body2",children:$e?.description}):a.jsx(_e,{type:"body2",children:$e?.uuid})}},{key:"status",label:e.formatMessage({id:"udr_supis.table.status"}),cellRender:CTt},{key:"created_at",label:e.formatMessage({id:"udr_supis.table.created_at"}),cellRender:ATt},{key:"modified_at",label:e.formatMessage({id:"udr_supis.table.modified_at"}),cellRender:kTt}],t[8]=e,t[9]=C):C=t[9];const k=C;let A;t[10]===Symbol.for("react.memo_cache_sentinel")?(A=_l(ie.provisioning),t[10]=A):A=t[10];let P;t[11]!==r?(P={...A,onClick:nt=>r(`${$.urls.udrSupis}/${nt.supi}`)},t[11]=r,t[12]=P):P=t[12];let T;t[13]!==e?(T=e.formatMessage({id:"udr_supis.actions.info"}),t[13]=e,t[14]=T):T=t[14];let j,R;t[15]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(ge.UEstatus,{}),R=as(ie.monitoring),t[15]=j,t[16]=R):(j=t[15],R=t[16]);let D;t[17]!==r?(D=nt=>r(`${$.urls.monitoringUeStatus}/${nt.supi}`),t[17]=r,t[18]=D):D=t[18];let O;t[19]!==T||t[20]!==D?(O={label:T,icon:j,disabled:!R,onClick:D},t[19]=T,t[20]=D,t[21]=O):O=t[21];let N;t[22]!==e?(N=e.formatMessage({id:"udr_supis.actions.delete"}),t[22]=e,t[23]=N):N=t[23];let F,U;t[24]===Symbol.for("react.memo_cache_sentinel")?(F=a.jsx(ge.Trash,{}),U=Ue(ie.provisioning),t[24]=F,t[25]=U):(F=t[24],U=t[25]);let z;t[26]!==w?(z=nt=>void w(nt),t[26]=w,t[27]=z):z=t[27];let H;t[28]!==N||t[29]!==z?(H={label:N,icon:F,disabled:!U,onClick:z},t[28]=N,t[29]=z,t[30]=H):H=t[30];let W;t[31]!==H||t[32]!==P||t[33]!==O?(W=[P,O,H],t[31]=H,t[32]=P,t[33]=O,t[34]=W):W=t[34];const K=W;let q;t[35]!==o||t[36]!==e?(q=()=>{o({title:e.formatMessage({id:"udr_supi.toolbar.filters"}),content:MTt})},t[35]=o,t[36]=e,t[37]=q):q=t[37];const X=q;let Q;t[38]!==g?(Q=d7({filter:g}),t[38]=g,t[39]=Q):Q=t[39];const Y=!Q;let Z;t[40]!==e?(Z=e.formatMessage({id:"udr_supi.toolbar.filters"}),t[40]=e,t[41]=Z):Z=t[41];let re;t[42]===Symbol.for("react.memo_cache_sentinel")?(re=a.jsx(ge.Filter,{}),t[42]=re):re=t[42];let fe;t[43]!==X||t[44]!==Z?(fe=a.jsx(Ze,{"data-testid":"supi-btn-filters",variant:"outlined",text:Z,startIcon:re,onClick:X}),t[43]=X,t[44]=Z,t[45]=fe):fe=t[45];let de;t[46]!==Y||t[47]!==fe?(de=a.jsx(Iv,{variant:"dot",invisible:Y,children:fe}),t[46]=Y,t[47]=fe,t[48]=de):de=t[48];let se;t[49]!==e?(se=e.formatMessage({id:"udr_supis.toolbar.import"}),t[49]=e,t[50]=se):se=t[50];let le;t[51]===Symbol.for("react.memo_cache_sentinel")?(le=a.jsx(ge.Upload,{}),t[51]=le):le=t[51];let ee;t[52]!==u?(ee=u!=="idle"||!Ue(ie.provisioning),t[52]=u,t[53]=ee):ee=t[53];let J;t[54]!==b||t[55]!==se||t[56]!==ee?(J=a.jsx(Ze,{variant:"outlined","data-testid":"supi-btn-import",text:se,startIcon:le,onClick:b,disabled:ee}),t[54]=b,t[55]=se,t[56]=ee,t[57]=J):J=t[57];let me;t[58]!==e?(me=e.formatMessage({id:"common.new"}),t[58]=e,t[59]=me):me=t[59];let pe;t[60]===Symbol.for("react.memo_cache_sentinel")?(pe=a.jsx(ge.Add,{}),t[60]=pe):pe=t[60];let Se;t[61]!==r?(Se=()=>r(`${$.urls.udrSupis}/new`),t[61]=r,t[62]=Se):Se=t[62];let ve;t[63]!==u?(ve=u!=="idle"||!Ue(ie.provisioning),t[63]=u,t[64]=ve):ve=t[64];let xe;t[65]!==me||t[66]!==Se||t[67]!==ve?(xe=a.jsx(Ze,{"data-testid":"supi-btn-add",text:me,startIcon:pe,onClick:Se,disabled:ve}),t[65]=me,t[66]=Se,t[67]=ve,t[68]=xe):xe=t[68];let qe;t[69]!==de||t[70]!==J||t[71]!==xe?(qe=a.jsx(hs,{children:a.jsxs(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:[de,J,xe]})}),t[69]=de,t[70]=J,t[71]=xe,t[72]=qe):qe=t[72];let Le;t[73]===Symbol.for("react.memo_cache_sentinel")?(Le=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[73]=Le):Le=t[73];let Te;t[74]!==m||t[75]!==p||t[76]!==k||t[77]!==_||t[78]!==h||t[79]!==d||t[80]!==f||t[81]!==K||t[82]!==u?(Te=nt=>{const{supiList:Re,policyDataProfileList:we,provisionedDataProfileList:Me}=nt;return a.jsx(Br,{autoScale:!0,orderBy:"supi",columns:k(we.data,Me.data),data:Re.data,page:_(Re.metadata),labelDisplayedRows:PTt,rowsCount:h(Re.metadata),rowsPerPage:d,onRowsPerPageChange:p,rowsPerPageOptions:f,rowKey:"supi",rowActions:K,stickyRowActions:!0,onPageChange:m(Re.metadata),loading:u!=="idle"})},t[74]=m,t[75]=p,t[76]=k,t[77]=_,t[78]=h,t[79]=d,t[80]=f,t[81]=K,t[82]=u,t[83]=Te):Te=t[83];let je;t[84]!==l.supisData||t[85]!==Te?(je=a.jsx(I.Suspense,{fallback:Le,children:a.jsx(Qt,{resolve:l.supisData,children:Te})}),t[84]=l.supisData,t[85]=Te,t[86]=je):je=t[86];let Ge;return t[87]!==qe||t[88]!==je?(Ge=a.jsxs(a.Fragment,{children:[qe,je]}),t[87]=qe,t[88]=je,t[89]=Ge):Ge=t[89],Ge};function wTt(t){return`${t.entity} - ${t.reason}`}function CTt(t){const{status:e}=t;return a.jsx(ms,{size:"small",id:e,label:e,color:e===fme.ACTIVE?"success":"default"})}function ATt(t){const{created_at:e}=t;return a.jsx("span",{children:Mr(e)})}function kTt(t){const{modified_at:e}=t;return a.jsx("span",{children:Mr(e)})}function MTt(){return a.jsx(bTt,{})}function PTt(){return""}const nh={AES_128_ECB:{name:"AES_128_ECB",validation:/^[a-fA-F0-9]{32}$/,isIvRequired:!1,isAdRequired:!1},AES_192_ECB:{name:"AES_192_ECB",validation:/^[a-fA-F0-9]{48}$/,isIvRequired:!1,isAdRequired:!1},AES_256_ECB:{name:"AES_256_ECB",validation:/^[a-fA-F0-9]{64}$/,isIvRequired:!1,isAdRequired:!1},DES_64_ECB:{name:"DES_64_ECB",validation:/^[a-fA-F0-9]{16}$/,isIvRequired:!1,isAdRequired:!1},TDES_128_ECB:{name:"TDES_128_ECB",validation:/^[a-fA-F0-9]{32}$/,isIvRequired:!1,isAdRequired:!1},TDES_192_ECB:{name:"TDES_192_ECB",validation:/^[a-fA-F0-9]{48}$/,isIvRequired:!1,isAdRequired:!1},AES_128_CBC:{name:"AES_128_CBC",validation:/^[a-fA-F0-9]{32}$/,isIvRequired:!0,isAdRequired:!1,ivValidation:/^[a-fA-F0-9]{32}$/},AES_192_CBC:{name:"AES_192_CBC",validation:/^[a-fA-F0-9]{48}$/,isIvRequired:!0,isAdRequired:!1,ivValidation:/^[a-fA-F0-9]{32}$/},AES_256_CBC:{name:"AES_256_CBC",validation:/^[a-fA-F0-9]{64}$/,isIvRequired:!0,isAdRequired:!1,ivValidation:/^[a-fA-F0-9]{32}$/},DES_64_CBC:{name:"DES_64_CBC",validation:/^[a-fA-F0-9]{16}$/,isIvRequired:!0,isAdRequired:!1,ivValidation:/^[a-fA-F0-9]{16}$/},TDES_128_CBC:{name:"TDES_128_CBC",validation:/^[a-fA-F0-9]{32}$/,isIvRequired:!0,isAdRequired:!1,ivValidation:/^[a-fA-F0-9]{16}$/},TDES_192_CBC:{name:"TDES_192_CBC",validation:/^[a-fA-F0-9]{48}$/,isIvRequired:!0,isAdRequired:!1,ivValidation:/^[a-fA-F0-9]{16}$/},AES_128_GCM:{name:"AES_128_GCM",validation:/^[a-fA-F0-9]{32}$/,isIvRequired:!0,ivValidation:/^([a-fA-F0-9]{2})+$/,isAdRequired:!0,adValidation:/^([a-fA-F0-9]{2})*$/},AES_192_GCM:{name:"AES_192_GCM",validation:/^[a-fA-F0-9]{48}$/,isIvRequired:!0,ivValidation:/^([a-fA-F0-9]{2})+$/,isAdRequired:!0,adValidation:/^([a-fA-F0-9]{2})*$/},AES_256_GCM:{name:"AES_256_GCM",validation:/^[a-fA-F0-9]{64}$/,isIvRequired:!0,ivValidation:/^([a-fA-F0-9]{2})+$/,isAdRequired:!0,adValidation:/^([a-fA-F0-9]{2})*$/}},jTt=Object.values(nh),TTt=new RegExp(`^(${Object.keys(nh).join("|")})$`),hme=t=>{const e=he.c(33),{id:r}=t,n=Ye(),{dialogClose:s}=Jt(),i=r!==void 0;let o;e[0]!==r||e[1]!==i?(o=i&&{editLoadTo:`${$.urls.udrTransportKeys}/${r}`},e[0]=r,e[1]=i,e[2]=o):o=e[2];let l;e[3]!==o?(l={...o},e[3]=o,e[4]=l):l=e[4];const{upsertFetcher:c,dataFetcher:u,isLoading:d}=Ys(l),{data:f,state:p,submit:m}=c,{data:h,state:_}=u;let g;e[5]!==m||e[6]!==r||e[7]!==i?(g=P=>{const{id:T,key:j,iv:R,cipher:D,ad:O}=P;if(i){m({id:r,key:j,cipher:D,...R&&{iv:R},...O&&{ad:O}},{action:`${$.urls.udrTransportKeys}/update`,method:"POST",encType:"application/json"});return}m({id:T,key:j,cipher:D,...R&&{iv:R},...O&&{ad:O}},{action:`${$.urls.udrTransportKeys}/create`,method:"POST",encType:"application/json"})},e[5]=m,e[6]=r,e[7]=i,e[8]=g):g=e[8];const y=g;let b;e:{if(!i||!h){let D;e[9]===Symbol.for("react.memo_cache_sentinel")?(D={id:"",cipher:"AES_128_ECB",key:"",ad:"",iv:""},e[9]=D):D=e[9],b=D;break e}const P=h.udrTransportKey,T=P?.id??"",j=P?.cipher??"AES_128_ECB";let R;e[10]!==T||e[11]!==j?(R={id:T,cipher:j,key:"",ad:"",iv:""},e[10]=T,e[11]=j,e[12]=R):R=e[12],b=R}const x=b;let w;if(e[13]!==n||e[14]!==i){let P;e[16]!==n?(P=(j,R)=>{const D=nh[j];return!D||!D.isIvRequired?R:D.ivValidation?R.required(n.formatMessage({id:"udr_transport_keys.new_transport_key.form_errors.required"})).matches(new RegExp(D.ivValidation)):R},e[16]=n,e[17]=P):P=e[17];let T;e[18]!==n?(T=(j,R)=>{const D=nh[j];return!D||!D.isAdRequired?R:D.adValidation?R.required(n.formatMessage({id:"udr_transport_keys.new_transport_key.form_errors.required"})).matches(new RegExp(D.adValidation)):R},e[18]=n,e[19]=T):T=e[19],w=dr().shape({...!i&&{id:We().required(n.formatMessage({id:"udr_transport_keys.new_transport_key.form_errors.required"}))},cipher:We().strict(!0).matches(TTt).required(n.formatMessage({id:"udr_transport_keys.new_transport_key.form_errors.required"})),key:We().required(n.formatMessage({id:"udr_transport_keys.new_transport_key.form_errors.required"})).when("cipher",ETt),iv:We().when("cipher",P),ad:We().when("cipher",T)}),e[13]=n,e[14]=i,e[15]=w}else w=e[15];const C=w;let k;e[20]!==s||e[21]!==f||e[22]!==p||e[23]!==n||e[24]!==i||e[25]!==d||e[26]!==_?(k=P=>{const{values:T}=P;return a.jsxs(dn,{canWrite:Ue(ie.transport_keys),fullHeight:!0,children:[a.jsx(_s,{loading:d,children:a.jsxs(te,{spacing:2,fullHeight:!0,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"id",children:j=>{const{field:R,meta:D}=j;return a.jsx(dt,{...R,label:n.formatMessage({id:"udr_transport_keys.new_transport_key.id"}),size:"small",error:!!D.error,helperText:D.error,disabled:i||_!=="idle"||p!=="idle"})}}),a.jsx(Ke,{name:"cipher",children:j=>{const{field:R,meta:D,form:O}=j,{setFieldValue:N}=O,F=U=>{N(R.name,U)};return a.jsx(qs,{...R,label:n.formatMessage({id:"udr_transport_keys.new_transport_key.cipher"}),size:"small",error:!!D.error,helperText:D.error,disabled:_!=="idle"||p!=="idle",onChange:U=>F(U.target.value),children:jTt.map(RTt)})}}),a.jsx(Ke,{name:"key",children:j=>{const{field:R,meta:D}=j;return a.jsx(dt,{...R,label:n.formatMessage({id:"udr_transport_keys.new_transport_key.key"}),size:"small",error:!!D.error,helperText:D.error,disabled:_!=="idle"||p!=="idle"})}}),nh[T.cipher].isIvRequired&&a.jsx(Ke,{name:"iv",children:j=>{const{field:R,meta:D}=j;return a.jsx(dt,{...R,label:n.formatMessage({id:"udr_transport_keys.new_transport_key.iv"}),size:"small",error:!!D.error,helperText:D.error,disabled:_!=="idle"||p!=="idle"})}}),nh[T.cipher].isAdRequired&&a.jsx(Ke,{name:"ad",children:j=>{const{field:R,meta:D}=j;return a.jsx(dt,{...R,label:n.formatMessage({id:"udr_transport_keys.new_transport_key.ad"}),size:"small",error:!!D.error,helperText:D.error,disabled:_!=="idle"||p!=="idle"})}}),a.jsx(Xr,{data:f})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{"data-testid":"udr-transport-keys-button-cancel",text:n.formatMessage({id:"udr_transport_keys.import.cancel"}),variant:"outlined",disabled:_!=="idle"||p!=="idle"||!Ue(ie.transport_keys),onClick:()=>s()}),a.jsx(Ze,{"data-testid":"udr-transport-keys-button-save",text:n.formatMessage({id:"udr_transport_keys.import.save"}),type:"submit",disabled:_!=="idle"||p!=="idle"||!Ue(ie.transport_keys)})]})})]})},e[20]=s,e[21]=f,e[22]=p,e[23]=n,e[24]=i,e[25]=d,e[26]=_,e[27]=k):k=e[27];let A;return e[28]!==y||e[29]!==x||e[30]!==k||e[31]!==C?(A=a.jsx(Wr,{initialValues:x,enableReinitialize:!0,validationSchema:C,onSubmit:y,children:k}),e[28]=y,e[29]=x,e[30]=k,e[31]=C,e[32]=A):A=e[32],A};function ETt(t,e){const r=nh[t];return r?e.strict(!0).matches(new RegExp(r.validation)):e}function RTt(t){return a.jsx(En,{value:t.name,children:t.name},t.name)}const ITt=()=>{const t=he.c(10),e=Ye(),{dialogOpen:r}=Jt();let n;t[0]!==r||t[1]!==e?(n=async()=>{r({title:e.formatMessage({id:"udr_transport_keys.toolbar.new_transport_key"}),content:DTt,closeOnBackdropClick:!1})},t[0]=r,t[1]=e,t[2]=n):n=t[2];const s=n;let i;t[3]!==e?(i=e.formatMessage({id:"common.new"}),t[3]=e,t[4]=i):i=t[4];let o;t[5]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(ge.Add,{}),t[5]=o):o=t[5];let l;t[6]===Symbol.for("react.memo_cache_sentinel")?(l=Ue(ie.transport_keys),t[6]=l):l=t[6];let c;return t[7]!==s||t[8]!==i?(c=a.jsx(Ze,{"data-testid":"toolbar-button-new-transport-key",text:i,startIcon:o,onClick:s,disabled:!l}),t[7]=s,t[8]=i,t[9]=c):c=t[9],c};function DTt(){return a.jsx(hme,{})}const $Tt=()=>{const t=he.c(64),e=Ye(),r=Gr(),{openConfirmDialog:n}=di(),s=On(),i=gr(),{dialogOpen:o}=Jt(),{pageSize:l,pageSizeOptions:c,changePageSize:u,changePage:d,getRowsCount:f,getPage:p}=Na();let m;t[0]!==o||t[1]!==e?(m=re=>{re&&o({title:e.formatMessage({id:"udr_transport_keys.edit_transport_key.title"}),content:()=>a.jsx(hme,{id:re}),closeOnBackdropClick:!1})},t[0]=o,t[1]=e,t[2]=m):m=t[2];const h=m;let _;t[3]!==i||t[4]!==e||t[5]!==n?(_=re=>{re&&n({text:e.formatMessage({id:"udr_transport_keys.application_servers_profiles.dialog.delete.confirm"}),onConfirm:()=>{i.submit({id:re},{action:`${$.urls.udrTransportKeys}/delete`,method:"POST",encType:"application/json"})}})},t[3]=i,t[4]=e,t[5]=n,t[6]=_):_=t[6];const g=_;let y;t[7]!==e?(y=e.formatMessage({id:"udr_transport_keys.table.header.id"}),t[7]=e,t[8]=y):y=t[8];let b;t[9]!==y?(b={key:"id",label:y,cellRender:OTt},t[9]=y,t[10]=b):b=t[10];let x;t[11]!==e?(x=e.formatMessage({id:"udr_transport_keys.table.header.cipher"}),t[11]=e,t[12]=x):x=t[12];let w;t[13]!==x?(w={key:"cipher",label:x,cellRender:LTt},t[13]=x,t[14]=w):w=t[14];let C;t[15]!==e?(C=e.formatMessage({id:"udr_transport_keys.table.header.created_at"}),t[15]=e,t[16]=C):C=t[16];let k;t[17]!==C?(k={key:"created_at",label:C,cellRender:NTt},t[17]=C,t[18]=k):k=t[18];let A;t[19]!==e?(A=e.formatMessage({id:"udr_transport_keys.table.header.modified_at"}),t[19]=e,t[20]=A):A=t[20];let P;t[21]!==A?(P={key:"modified_at",label:A,cellRender:FTt},t[21]=A,t[22]=P):P=t[22];let T;t[23]!==b||t[24]!==w||t[25]!==k||t[26]!==P?(T=[b,w,k,P],t[23]=b,t[24]=w,t[25]=k,t[26]=P,t[27]=T):T=t[27];const j=T;let R;t[28]===Symbol.for("react.memo_cache_sentinel")?(R=_l([ie.transport_keys,ie.provisioning]),t[28]=R):R=t[28];const D=s.state!=="idle"||i.state!=="idle";let O;t[29]!==h?(O=re=>{const{id:fe}=re;return h(fe)},t[29]=h,t[30]=O):O=t[30];let N;t[31]!==D||t[32]!==O?(N={...R,disabled:D,onClick:O},t[31]=D,t[32]=O,t[33]=N):N=t[33];let F;t[34]!==e?(F=e.formatMessage({id:"udr_transport_keys.actions.delete"}),t[34]=e,t[35]=F):F=t[35];let U;t[36]===Symbol.for("react.memo_cache_sentinel")?(U=a.jsx(ge.Trash,{}),t[36]=U):U=t[36];let z;t[37]!==g?(z=re=>{const{id:fe}=re;return void g(fe)},t[37]=g,t[38]=z):z=t[38];let H;t[39]!==i.state||t[40]!==s.state?(H=s.state!=="idle"||i.state!=="idle"||!Ue(ie.provisioning)&&!Ue(ie.transport_keys),t[39]=i.state,t[40]=s.state,t[41]=H):H=t[41];let W;t[42]!==F||t[43]!==z||t[44]!==H?(W={label:F,icon:U,onClick:z,disabled:H},t[42]=F,t[43]=z,t[44]=H,t[45]=W):W=t[45];let K;t[46]!==N||t[47]!==W?(K=[N,W],t[46]=N,t[47]=W,t[48]=K):K=t[48];const q=K;let X;t[49]===Symbol.for("react.memo_cache_sentinel")?(X=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[49]=X):X=t[49];let Q;t[50]===Symbol.for("react.memo_cache_sentinel")?(Q=a.jsx(Tr,{}),t[50]=Q):Q=t[50];let Y;t[51]!==d||t[52]!==u||t[53]!==j||t[54]!==i.state||t[55]!==p||t[56]!==f||t[57]!==l||t[58]!==c||t[59]!==q?(Y=re=>{const{data:fe,metadata:de}=re;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(ITt,{})}),a.jsx(Br,{autoScale:!0,loading:i.state!=="idle",orderBy:"id",columns:j,data:fe,page:p(de),labelDisplayedRows:UTt,rowsCount:f(de),rowsPerPage:l,onRowsPerPageChange:u,rowsPerPageOptions:c,rowKey:"id",rowActions:q,stickyRowActions:!0,onPageChange:d(de)})]})},t[51]=d,t[52]=u,t[53]=j,t[54]=i.state,t[55]=p,t[56]=f,t[57]=l,t[58]=c,t[59]=q,t[60]=Y):Y=t[60];let Z;return t[61]!==r.udrTransportKeyList||t[62]!==Y?(Z=a.jsx(I.Suspense,{fallback:X,children:a.jsx(Qt,{resolve:r.udrTransportKeyList,errorElement:Q,children:Y})}),t[61]=r.udrTransportKeyList,t[62]=Y,t[63]=Z):Z=t[63],Z};function OTt(t){const{id:e}=t;return e?a.jsx(_e,{type:"body2",children:e}):a.jsx(_e,{type:"body2",children:"*"})}function LTt(t){const{cipher:e}=t;return e?a.jsx(_e,{type:"body2",children:e}):a.jsx(_e,{type:"body2",children:"*"})}function NTt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function FTt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function UTt(){return""}async function BTt({request:t}){const e=await t.json(),r=await zlt(e);return xt(r)||(Nt(),rt($.urls.udrImsApplicationServerAcls)),Ft(r)}async function zTt({request:t}){const e=await t.json(),r=await qlt(e);return xt(r)||(Nt(),rt($.urls.udrImsApplicationServerAcls)),Ft(r)}async function qTt({request:t}){const{id:e}=await t.json(),r=await Vlt(e);return xt(r)?Ar():(Nt(),rt($.urls.udrImsApplicationServerAcls)),Ft(r)}async function VTt({request:t}){const e=await t.json(),r=await Hlt(e);return xt(r)?Ar():Nt(),Ft(r)}async function HTt({request:t}){const e=await t.json(),r=await Glt(e);return xt(r)?Ar():Nt(),Ft(r)}async function GTt({request:t}){const{service_indication:e,public_identity:r}=await t.json(),n=await Wlt({service_indication:e,public_identity:r});return xt(n)?Ar():Nt(),Ft(n)}async function WTt({request:t}){const e=await t.json(),r=await ect(e);return xt(r)?Ft(r):(Nt(),rt($.urls.udrImsPrivateIdentities))}async function YTt({request:t}){const e=await t.json(),r=await tct(e);return xt(r)||Nt(),Ft(r)}async function KTt({request:t}){const e=await t.json(),r=await rct(e);return xt(r)?Ft(r):(Nt(),rt($.urls.udrImsPrivateIdentities))}async function QTt({request:t}){const{name:e}=await t.json(),r=await nct(e);if(xt(r))Ar();else if(Nt(),location.href!==$.urls.udrImsPrivateIdentities)return rt($.urls.udrImsPrivateIdentities);return Ft(r)}async function ZTt({request:t}){const e=await t.json(),r=await lct(e);return xt(r)||(Nt(),rt($.urls.udrImsServiceProfiles)),Ft(r)}async function XTt({request:t}){const e=await t.json(),r=await cct(e);return xt(r)||(Nt(),rt($.urls.udrImsServiceProfiles)),Ft(r)}async function JTt({request:t}){const{id:e}=await t.json(),r=await uct(e);return xt(r)?Ar():(Nt(),rt($.urls.udrImsServiceProfiles)),Ft(r)}async function e4t({request:t}){const{mcc:e,mnc:r}=await t.json(),n=await pct(e,r);return xt(n)||Nt(),Ft(n)}async function t4t({request:t}){const{mcc:e,mnc:r}=await t.json(),n=await mct(e,r);return xt(n)?Ar():Nt(),Ft(n)}async function r4t({request:t}){const e=await t.json(),r=await gct(e);return xt(r)?Ft(r):(Nt(),rt($.urls.udrPolicyDataProfile))}async function n4t({request:t}){const e=await t.json(),r=await _ct(e);return xt(r)?Ft(r):(Nt(),rt($.urls.udrPolicyDataProfile))}async function s4t({request:t}){const{id:e}=await t.json(),r=await vct(e);if(xt(r))Ar();else if(Nt(),location.href!==$.urls.udrPolicyDataProfile)return rt($.urls.udrPolicyDataProfile);return Ft(r)}async function i4t({request:t}){const e=await t.json(),r=await bct(e);return xt(r)?Ft(r):(Nt(),rt($.urls.udrProvisionedDataProfile))}async function o4t({request:t}){const{profile:e}=await t.json(),{uuid:r,...n}=e,s=await xct(r,n);return xt(s)?Ft(s):(Nt(),rt($.urls.udrProvisionedDataProfile))}async function a4t({request:t}){const{id:e}=await t.json(),r=await Sct(e);if(xt(r))Ar();else if(Nt(),location.href!==$.urls.udrProvisionedDataProfile)return rt($.urls.udrProvisionedDataProfile);return Ft(r)}async function l4t({request:t}){const e=await t.json(),r=await kct(e);return xt(r)?Ft(r):(Nt(),rt($.urls.udrSupis))}async function c4t({request:t}){const{supi:e,formData:r}=await t.json(),n=await Mct(e,r);return xt(n)?Ft(n):(Nt(),rt($.urls.udrSupis))}async function u4t({request:t}){const{supi:e}=await t.json(),r=await Pct(e);if(xt(r))Ar();else if(Nt(),location.href!==$.urls.udrSupis)return rt($.urls.udrSupis);return Ft(r)}async function d4t({request:t}){const r=(await t.formData()).getAll("files"),n=await jct(r[0]);return Ft(n)}async function f4t({request:t}){const e=await t.json(),r=await Dct(e);return xt(r)||(Nt(),rt($.urls.udrTransportKeys)),Ft(r)}async function p4t({request:t}){const e=await t.json(),r=await $ct(e);return xt(r)||(Nt(),rt($.urls.udrTransportKeys)),Ft(r)}async function m4t({request:t}){const{id:e}=await t.json(),r=await Oct(e);return xt(r)?Ar():(Nt(),rt($.urls.udrTransportKeys)),Ft(r)}async function h4t({request:t}){const e=await t.json(),r=await Nct(e);return xt(r)||Nt(),Ft(r)}async function g4t(){const t=await Fct();return xt(t)?Nt(t.error.detail):Nt(),Ft(t)}async function _4t({request:t}){const e=await t.json(),r=await Bct(e);return xt(r)||Nt(),Ft(r)}async function v4t({request:t}){const e=await t.json(),r=await zct(e);return xt(r)||Nt(),Ft(r)}async function y4t({request:t}){const{id:e}=await t.json(),r=await qct(e);return xt(r)?Ar(r.error.detail):Nt(),Ft(r)}const b4t=async t=>{const e=new URL(t.request.url),r=e.searchParams.get("applicationServer"),n=e.searchParams.get("dataReferenceEq");return Wt({loaderArgs:t,deferred:!0,data:{udrImsApplicationServerAclList:Ult({applicationServer:r,dataReferenceEq:n})}})};async function x4t(t){const{id:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{udrImsApplicationServerAcl:Blt({id:e})}}):null}const S4t=async t=>{const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{udrImsInitialFilterList:Ylt({pageSize:e,paginationToken:r})}})};async function w4t(t){const{id:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{udrImsInitialFilter:Klt({id:e})}}):null}const C4t=async t=>{const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{udrImsPrivateIdentityList:Jlt({pageSize:e,paginationToken:r})}})};async function A4t(t){const{name:e}=t.params;return e&&e!=="new"?Wt({loaderArgs:t,deferred:!0,data:{udrImsPrivateIdentity:jue({name:e})}}):null}async function k4t(t){const{name:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{udrImsPrivateIdentity:jue({name:e})}}):null}async function M4t(t){const{name:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{udrImsPrivateIdentityPrivateStatus:sct(e)}}):null}async function P4t(t){const{name:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{udrImsPrivateIdentityPublicStatus:ict(e)}}):null}const j4t=async t=>{const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{udrImsServiceProfileList:oct({pageSize:e,paginationToken:r})}})};async function T4t(t){const{id:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{udrImsServiceProfile:act({id:e})}}):null}const E4t=async t=>{const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{udrPlmnList:fct({pageSize:+e,...r&&{paginationToken:r}})}})},R4t=async t=>{const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{udrPolicyDataProfileList:h7({pageSize:+e,...r&&{paginationToken:r}})}})},I4t=async t=>{const{id:e}=t.params;if(e&&e!=="new"){const r=hct(e);return Wt({loaderArgs:t,deferred:!0,data:{udrPolicyDataProfile:r}})}return Wt({loaderArgs:t,deferred:!1,data:{}})};function D4t(t){const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{profiles:g7({pageSize:+e,...r&&{paginationToken:r}})}})}async function $4t(t){const{id:e}=t.params;if(!e)throw Li({type:mn.NOT_FOUND});return Wt(e==="new"?{loaderArgs:t,deferred:!1,data:{}}:{loaderArgs:t,deferred:!0,data:{profile:yct(e)}})}async function O4t(t){const e=new URL(t.request.url),r=e.searchParams.get("supi_icont"),n=e.searchParams.get("supi_noticont"),s=e.searchParams.get("supi_iend"),i=e.searchParams.get("gpsi_icont"),o=e.searchParams.get("gpsi_noticont"),l=e.searchParams.get("gpsi_iend"),c=e.searchParams.get("status_eq"),{pageSize:u,paginationToken:d}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{supisData:Ect({pageSize:+u,paginationToken:d,supi_icont:r,supi_noticont:n,supi_iend:s,gpsi_icont:i,gpsi_noticont:o,gpsi_iend:l,status_eq:c})}})}async function L4t(t){const{id:e}=t.params;if(!e)throw Li({type:mn.NOT_FOUND});return Wt(e==="new"?{loaderArgs:t,deferred:!1,data:{createOrEditData:KX()}}:{loaderArgs:t,deferred:!0,data:{createOrEditData:KX(e)}})}async function N4t(t){const{id:e}=t.params;if(!e)throw Li({type:mn.NOT_FOUND});const r=await Tct(e);return Ft(r)}const F4t=async t=>{const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{udrTransportKeyList:Rct({pageSize:e,paginationToken:r})}})};async function Qee(t){const{id:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{udrTransportKey:Ict({id:e})}}):null}const U4t=async t=>Wt({loaderArgs:t,deferred:!0,data:{milenageCostants:Lct()}});function B4t(t){const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{operatorKeys:Uct({pageSize:+e,...r&&{paginationToken:r}})}})}const z4t={path:"udr",handle:vr({labelIntl:"route.udr",icon:a.jsx(ge.UDR,{})}),children:[{element:a.jsx(Or,{center:!0}),children:[{path:"custom-milenage-constants",handle:vr({labelIntl:"route.udr.custom-milenage-constants",to:$.urls.udrCustomMilenageConstants}),loader:U4t,element:a.jsx(OPt,{}),children:[{path:"update",action:h4t,loader:()=>rt("..")},{path:"delete",action:g4t,loader:()=>rt("..")}]}]},{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.UDR,{dbCluster:!0})]},{path:"supis",handle:vr({labelIntl:"route.udr.supis",to:$.urls.udrSupis}),children:[{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,loader:O4t,element:a.jsx(STt,{})}]},{path:"upload",action:d4t,loader:()=>rt("..")},{path:"upload/async/:id",loader:N4t,element:a.jsx(ur,{to:$.urls.udrSupis,replace:!0})},{element:a.jsx(Or,{center:!0}),children:[{path:":id",loader:L4t,handle:t=>{const e=t.params.id;return vr({labelIntl:e==="new"?"route.udr.supis.new":"route.udr.supis.id",...e!=="new"&&{captionIntl:"route.udr.supis.id.caption",captionIntlParams:{id:e}},to:`${$.urls.udrSupis}/${e}`})},element:a.jsx(_Tt,{}),children:[{path:"create",action:l4t,loader:()=>rt("..")},{path:"update",action:c4t,loader:()=>rt("..")},{path:"delete",action:u4t,loader:()=>rt("..")}]}]}]},{path:"ims-private-identities",handle:vr({labelIntl:"route.udr.ims-private-identities",to:$.urls.udrImsPrivateIdentities}),children:[{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:C4t,element:a.jsx(lPt,{})},{path:"private-status/:name",loader:M4t,element:a.jsx(ur,{to:$.urls.udrImsPrivateIdentities,replace:!0})},{path:"public-status/:name",loader:P4t,element:a.jsx(ur,{to:$.urls.udrImsPrivateIdentities,replace:!0})},{action:WTt,path:"create",loader:()=>rt("..")},{action:YTt,path:"create-basic",loader:()=>rt("..")},{action:KTt,path:"update",loader:()=>rt("..")},{action:QTt,path:"delete",loader:()=>rt("..")}]},{path:":name",handle:t=>{const e=t.params.name;return vr({labelIntl:e==="new"?"route.udr.ims-private-identities.new":"route.udr.ims-private-identities.id",...e!=="new"&&{captionIntl:"route.udr.ims-private-identities.id.caption",captionIntlParams:{id:e}},to:$.urls.udrImsPrivateIdentitiesDetails.replace(":name",e)})},children:[{element:a.jsx(Or,{center:!0}),children:[{index:!0,loader:A4t,element:a.jsx(bPt,{})},{path:"application-servers-profiles",handle:t=>{const e=t.params.name;return vr({labelIntl:"route.udr.ims-private-identities.id.application-servers-profiles",to:`${$.urls.udrImsPrivateIdentitiesDetails.replace(":name",e)}/application-servers-profiles`,...e!=="new"&&{captionIntl:"route.udr.ims-private-identities.id.caption",captionIntlParams:{id:e}}})},loader:k4t,element:a.jsx(vPt,{}),children:[{action:VTt,path:"create",loader:()=>rt("..")},{action:HTt,path:"update",loader:()=>rt("..")},{action:GTt,path:"delete",loader:()=>rt("..")}]}]}]}]},{path:"provisioned-data-profile",handle:vr({labelIntl:"route.udr.provisioned-data-profile",to:$.urls.udrProvisionedDataProfile}),children:[{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,loader:D4t,element:a.jsx(Gjt,{})}]},{element:a.jsx(Or,{center:!0}),children:[{path:":id",handle:t=>{const e=t.params.id;return vr({labelIntl:e==="new"?"route.udr.provisioned-data-profile.new":"route.udr.provisioned-data-profile.id",...e!=="new"&&{captionIntl:"route.udr.provisioned-data-profile.id.caption",captionIntlParams:{id:e}},to:$.urls.udrProvisionedDataProfileDetails.replace(":id",e)})},loader:$4t,element:a.jsx(Hjt,{}),children:[{path:"create",action:i4t,loader:()=>rt("..")},{path:"update",action:o4t,loader:()=>rt("..")},{path:"delete",action:a4t,loader:()=>rt("..")}]}]}]},{element:a.jsx(Or,{fullHeight:!0}),children:[io(ue.UDR),{path:"plmns",handle:vr({labelIntl:"route.udr.plmns",to:$.urls.udrPlmns}),loader:E4t,element:a.jsx(WPt,{}),children:[{path:"create",action:e4t,loader:()=>rt("..")},{path:"delete",action:t4t,loader:()=>rt("..")}]},{path:"ims-application-server-acls",handle:vr({labelIntl:"route.udr.ims-application-server-acls",to:$.urls.udrImsApplicationServerAcls}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:b4t,element:a.jsx(RMt,{})},{path:":id",loader:x4t,element:a.jsx(ur,{to:$.urls.udrImsApplicationServerAcls,replace:!0})},{action:BTt,path:"create",loader:()=>rt("..")},{action:zTt,path:"update",loader:()=>rt("..")},{action:qTt,path:"delete",loader:()=>rt("..")}]},{path:"ims-service-profiles",handle:vr({labelIntl:"route.udr.ims-service-profiles",to:$.urls.udrImsServiceProfiles}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:j4t,element:a.jsx(PPt,{})},{path:":id",loader:T4t,element:a.jsx(ur,{to:$.urls.udrImsServiceProfiles,replace:!0})},{action:ZTt,path:"create",loader:()=>rt("..")},{action:XTt,path:"update",loader:()=>rt("..")},{action:JTt,path:"delete",loader:()=>rt("..")}]},{path:"ims-initial-filters",handle:vr({labelIntl:"route.udr.ims-initial-filters",to:$.urls.udrImsInitialFilters}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:S4t,element:a.jsx(HMt,{})},{path:":id",loader:w4t,element:a.jsx(ur,{to:$.urls.udrImsInitialFilters,replace:!0})},{action:FMt,path:"create",loader:()=>rt("..")},{action:UMt,path:"update",loader:()=>rt("..")},{action:BMt,path:"delete",loader:()=>rt("..")}]},{path:"transport-keys",handle:vr({labelIntl:"route.udr.transport-keys",to:$.urls.udrTransportKeys}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:F4t,element:a.jsx($Tt,{})},{path:":id",loader:Qee,element:a.jsx(ur,{to:$.urls.udrTransportKeys,replace:!0})},{action:f4t,path:"create",loader:()=>rt("..")},{action:p4t,path:"update",loader:()=>rt("..")},{action:m4t,path:"delete",loader:()=>rt("..")}]},{path:"operator-codes",handle:vr({labelIntl:"route.udr.operator-codes",to:$.urls.udrOperatorCodes}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:B4t,element:a.jsx(FPt,{})},{path:":id",loader:Qee,element:a.jsx(ur,{to:$.urls.udrOperatorCodes,replace:!0})},{path:"create",action:_4t,loader:()=>rt("..")},{path:"update",action:v4t,loader:()=>rt("..")},{path:"delete",action:y4t,loader:()=>rt("..")}]}]},{path:"policy-data-profile",handle:vr({labelIntl:"route.udr.policy-data-profile",to:$.urls.udrPolicyDataProfile}),children:[{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,loader:R4t,element:a.jsx(XPt,{})}]},{element:a.jsx(Or,{center:!0}),children:[{path:":id",handle:t=>{const e=t.params.id;return vr({labelIntl:e==="new"?"route.udr.policy-data-profile.new":"route.udr.policy-data-profile.id",...e!=="new"&&{captionIntl:"route.udr.policy-data-profile.id.caption",captionIntlParams:{id:e}},to:$.urls.udrPolicyDataProfileDetails.replace(":id",e)})},loader:I4t,element:a.jsx(fjt,{}),children:[{path:"create",action:r4t,loader:()=>rt("..")},{path:"update",action:n4t,loader:()=>rt("..")},{path:"delete",action:s4t,loader:()=>rt("..")}]}]}]}]};function q4t(){const t=he.c(3);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={display:"flex",justifyContent:"center",alignItems:"center",height:"100%"},t[0]=e):e=t[0];let r;t[1]===Symbol.for("react.memo_cache_sentinel")?(r={maxWidth:"500px"},t[1]=r):r=t[1];let n;return t[2]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(gt,{sx:e,children:a.jsx(pr,{title:"Unauthorized",sx:r,children:a.jsx(Kt,{children:a.jsx(Lr,{severity:"warning",message:"You are not authorized to view any content. Check your account permissions."})})})}),t[2]=n):n=t[2],n}function V4t(){return Aae()?rt(".."):null}const H4t={path:"unauthorized",loader:V4t,element:a.jsx(q4t,{})},Zee=Pr(),G4t={path:"upf",handle:vr({labelIntl:"route.upf",icon:a.jsx(ge.UPF,{})}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.UPF)]},{element:a.jsx(Or,{fullHeight:!0}),children:[io(ue.UPF),{path:"status",element:a.jsx(Ao,{tabs:[{url:"pfcp",label:Zee.formatMessage({id:"route.upf.status.pfcp"})},{url:"gtpu",label:Zee.formatMessage({id:"route.upf.status.gtpu"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"pfcp",replace:!0})},h8({path:"pfcp",nf:ue.UPF}),m7({path:"gtpu",nf:ue.UPF})]}]},{element:a.jsx(Or,{center:!0}),children:[p7(ue.UPF)]}]},W4t={errorElement:a.jsx(rN,{}),children:[Zae({element:a.jsx(Pze,{}),loader:dqe,path:"/",action:Dze,children:[{errorElement:a.jsx(gUe,{}),children:[{path:"site-loader",element:a.jsx(ur,{to:"/home",replace:!0}),loader:pqe},{element:a.jsx(ur,{to:"/home",replace:!0}),index:!0},Wwt,sht,Ttt,frt,prt,lnt,mnt,Yst,gnt,Vit,Mat,gut,ndt,Oft,Nft,nCt,sCt,wCt,Xkt,CMt,z4t,G4t,{path:"marvis",element:a.jsx(Or,{fullHeight:!0}),handle:vr({labelIntl:"P5G Marvis",icon:a.jsx(ge.Magic,{})}),children:[{index:!0,element:a.jsx(ur,{to:"overview",replace:!0})},{path:"overview",element:a.jsx("iframe",{src:"/core/marvis/overview",style:{display:"block",width:"100%",height:"100%",border:"none"},title:"P5G Marvis Insights"})},{path:"actions",element:a.jsx("iframe",{src:"/core/marvis/actions",style:{display:"block",width:"100%",height:"100%",border:"none"},title:"P5G Marvis Actions"})},{path:"minis",element:a.jsx("iframe",{src:"/core/marvis/minis",style:{display:"block",width:"100%",height:"100%",border:"none"},title:"P5G Marvis Minis"})},{path:"ai",element:a.jsx("iframe",{src:"/core/marvis/",style:{display:"block",width:"100%",height:"100%",border:"none"},title:"P5G Marvis AI"})}]},{path:"radio",element:a.jsx(Or,{fullHeight:!0}),handle:vr({labelIntl:"P5G Radio",icon:a.jsx(ge.Magic,{})}),children:[{index:!0,element:a.jsx("iframe",{src:"/core/radio/",style:{display:"block",width:"100%",height:"100%",border:"none"},title:"P5G Radio"})}]},rht]}]}),{element:a.jsx(zW,{}),loader:vY,children:[Srt]},{element:a.jsx(zW,{profileCard:!0}),loader:vY,children:[H4t]},mqe,wrt,Crt,pht]},Y4t=J6e([W4t]),K4t=()=>{const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(a$e,{router:Y4t}),t[0]=e):e=t[0],e},gme=Ioe(),Q4t=Doe(gme);function Z4t(){const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(LPe,{locale:gme,messages:Q4t,children:a.jsx(xre,{dateAdapter:dMe,children:a.jsx(JIe,{children:a.jsxs(a.Fragment,{children:[a.jsx(yDe,{}),a.jsx(K4t,{})]})})})}),t[0]=e):e=t[0],e}const X4t=document.getElementById("root"),J4t=Age.createRoot(X4t);J4t.render(a.jsx(I.StrictMode,{children:a.jsx(Z4t,{})}));
/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js.bak:217:In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})(u.toLowerCase().replace(/\s+/g,"").split(","));!(d=p()).done;){var m,h=d.value.split("=",2);f[h[0]]=(m=h[1])==null||m}return f})(t),n=r["max-age"],s=r["max-stale"],i=r["min-fresh"],o=r["s-maxage"],l=r["stale-if-error"],c=r["stale-while-revalidate"];return fu(r.immutable)&&(e.immutable=!0),Lg(n)&&(e.maxAge=Ng(n)),Lg(s)&&(e.maxStale=Ng(s)),Lg(i)&&(e.minFresh=Ng(i)),fu(r["must-revalidate"])&&(e.mustRevalidate=!0),fu(r["must-understand"])&&(e.mustUnderstand=!0),fu(r["no-cache"])&&(e.noCache=!0),fu(r["no-store"])&&(e.noStore=!0),fu(r["no-transform"])&&(e.noTransform=!0),fu(r["only-if-cached"])&&(e.onlyIfCached=!0),fu(r.private)&&(e.private=!0),fu(r["proxy-revalidate"])&&(e.proxyRevalidate=!0),fu(r.public)&&(e.public=!0),Lg(o)&&(e.sMaxAge=Ng(o)),Lg(l)&&(e.staleIfError=Ng(l)),Lg(c)&&(e.staleWhileRevalidate=Ng(c)),e}var kTe=Symbol();function MTe(){var t,e,r=new Promise(function(n,s){t=n,e=s});return r.resolve=t,r.reject=e,r[kTe]=1,r}function PTe(t,e){return t>e?1:-1}function Hw(t,e){var r=5381;if(typeof t=="object"&&t!==null&&(t.toString===Object.prototype.toString||t.toString===Array.prototype.toString)){e||(e=new WeakSet);for(var n=Object.keys(t).sort(PTe),s=0;s<n.length;s++){var i=n[s],o=t[i];if(r=33*r^Hw(i,e),typeof o=="object"&&o!==null&&(t.toString===Object.prototype.toString||t.toString===Array.prototype.toString)){if(e.has(o))continue;e.add(o)}r=33*r^Hw(o,e)}return 33*r^Hw(t.constructor,e)}var l=typeof t;try{t instanceof Date?l+=t.getTime():l+=String(t)}catch{l+=String(Object.assign({},t))}for(var c=0;c<l.length;c++)r=33*r^l.charCodeAt(c);return r}const Vi={IfModifiedSince:"if-modified-since",LastModified:"last-modified",IfNoneMatch:"if-none-match",CacheControl:"cache-control",Pragma:"pragma",ETag:"etag",Expires:"expires",Age:"age",XAxiosCacheEtag:"x-axios-cache-etag",XAxiosCacheLastModified:"x-axios-cache-last-modified",XAxiosCacheStaleIfError:"x-axios-cache-stale-if-error"},jTe=(t,e)=>{if(!t)return"not enough headers";const r=t[Vi.CacheControl];if(r){const s=oie(String(r));if(s.noCache||s.noStore||e==="server"&&s.private)return"dont cache";if(s.immutable)return{cache:1e3*60*60*24*365};if(s.maxAge!==void 0){const i=t[Vi.Age];return{cache:i?(s.maxAge-Number(i))*1e3:s.maxAge*1e3,stale:s.maxStale!==void 0?s.maxStale*1e3:s.staleWhileRevalidate!==void 0?s.staleWhileRevalidate*1e3:void 0}}}const n=t[Vi.Expires];if(n){const s=Date.parse(String(n))-Date.now();return s>=0?{cache:s}:"dont cache"}return"not enough headers"};function Hb(){return Hb=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Hb.apply(null,arguments)}async function TTe(t,e){if(typeof e=="function")return e(t);const{statusCheck:r,responseMatch:n,containsHeaders:s}=e;if(r&&!await r(t.status)||n&&!await n(t))return!1;if(s)for(const[o,l]of Object.entries(s)){var i;if(!await l((i=t.headers[o.toLowerCase()])!=null?i:t.headers[o]))return!1}return!0}function $z(t,e){return t instanceof RegExp?(t.lastIndex=0,t.test(e)):e.includes(t)}function ETe(t){return t?e=>t(e)||e===304:e=>e>=200&&e<300||e===304}function R6(t="get",e=[]){return t=t.toLowerCase(),e.some(r=>r===t)}function RTe(t,e){e.headers||(e.headers={});const{etag:r,modifiedSince:n}=e.cache;if(r){var s;const i=r===!0?(s=t.data)==null?void 0:s.headers[Vi.ETag]:r;i&&(e.headers[Vi.IfNoneMatch]=i)}n&&(e.headers[Vi.IfModifiedSince]=n===!0?t.data.headers[Vi.LastModified]||new Date(t.createdAt).toUTCString():n.toUTCString())}function ITe(t,e){return t.status===304&&e?(t.cached=!0,t.data=e.data,t.status=e.status,t.statusText=e.statusText,t.headers=Hb({},e.headers,t.headers),e):{data:t.data,status:t.status,statusText:t.statusText,headers:t.headers}}function DTe(t){const e=async r=>{if(r.id=t.generateKey(r),r.cache===!1)return r;if(r.cache=Hb({},t.defaults.cache,r.cache),typeof r.cache.cachePredicate=="object"&&r.cache.cachePredicate.ignoreUrls&&r.url){for(const _ of r.cache.cachePredicate.ignoreUrls)if($z(_,r.url))return r}if(typeof r.cache.cachePredicate=="object"&&r.cache.cachePredicate.allowUrls&&r.url){let _=!1;for(const g of r.cache.cachePredicate.allowUrls)if($z(g,r.url)){_=!0;break}if(!_)return r}if(r.cache.cacheTakeover){var n,s,i,o,l,c,u,d,f;(i=(n=r.headers)[s=Vi.CacheControl])!=null||(n[s]="no-cache, no-store, must-revalidate"),(c=(o=r.headers)[l=Vi.Pragma])!=null||(o[l]="no-cache"),(f=(u=r.headers)[d=Vi.Expires])!=null||(u[d]="0")}if(!R6(r.method,r.cache.methods))return r;let p=await t.storage.get(r.id,r);const m=r.cache.override;e:if(p.state==="empty"||p.state==="stale"||p.state==="must-revalidate"||m){if(t.waiting.has(r.id)&&!m&&(p=await t.storage.get(r.id,r),p.state!=="empty"&&p.state!=="must-revalidate"))break e;const _=MTe();return t.waiting.set(r.id,_),_.catch(()=>{}),await t.storage.set(r.id,{state:"loading",previous:m?p.data?"stale":"empty":p.state,data:p.data,createdAt:m&&!p.createdAt?Date.now():p.createdAt},r),(p.state==="stale"||p.state==="must-revalidate")&&RTe(p,r),r.validateStatus=ETe(r.validateStatus),(p.state==="stale"||p.data&&p.state!=="must-revalidate")&&await(r.cache.hydrate==null?void 0:r.cache.hydrate(p)),r}let h;if(p.state==="loading"){const _=t.waiting.get(r.id);if(!_)return p.data&&await(r.cache.hydrate==null?void 0:r.cache.hydrate(p)),r;try{await _;const g=await t.storage.get(r.id,r);if(!g.data)return e(r);h=g.data}catch{return p.data&&await(r.cache.hydrate==null?void 0:r.cache.hydrate(p)),e(r)}}else h=p.data;return r.transformResponse=void 0,r.adapter=function(){return Promise.resolve({config:r,data:h.data,headers:h.headers,status:h.status,statusText:h.statusText,cached:!0,stale:p.previous==="stale",id:r.id})},r};return{onFulfilled:e}}async function $Te(t,e,r){if(typeof r=="function")return r(e);for(const[n,s]of Object.entries(r)){if(s==="delete"){await t.remove(n,e.config);continue}const i=await t.get(n,e.config);if(i.state==="loading")continue;const o=await s(i,e);if(o==="delete"){await t.remove(n,e.config);continue}o!=="ignore"&&await t.set(n,o,e.config)}}function OTe(t){const e=async(s,i,o)=>{o&&await t.storage.remove(s,i);const l=t.waiting.get(s);l&&(l.reject(),t.waiting.delete(s))};return{onFulfilled:async s=>{var i;if(!(s!=null&&s.config))throw s;s.id=s.config.id,(i=s.cached)!=null||(s.cached=!1);const o=s.config,l=o.cache;if(s.cached)return s;if(!l)return s.cached=!1,s;if(l.update&&await $Te(t.storage,s,l.update),!R6(o.method,l.methods))return s;const c=await t.storage.get(s.id,o);if(c.state!=="loading")return s;if(!c.data&&!await TTe(s,l.cachePredicate))return await e(s.id,o,!0),s;for(const h of Object.keys(s.headers))h.startsWith("x-axios-cache")&&delete s.headers[h];l.etag&&l.etag!==!0&&(s.headers[Vi.XAxiosCacheEtag]=l.etag),l.modifiedSince&&(s.headers[Vi.XAxiosCacheLastModified]=l.modifiedSince===!0?"use-cache-timestamp":l.modifiedSince.toUTCString());let u=l.ttl||-1,d;if(l.interpretHeader){const h=t.headerInterpreter(s.headers,t.location);if(h==="dont cache")return await e(s.id,o,!0),s;h!=="not enough headers"&&(typeof h=="number"?u=h:(u=h.cache,d=h.stale))}const f=ITe(s,c.data);typeof u=="function"&&(u=await u(s)),l.staleIfError&&(s.headers[Vi.XAxiosCacheStaleIfError]=String(u));const p={state:"cached",ttl:u,staleTtl:d,createdAt:Date.now(),data:f};await t.storage.set(s.id,p,o);const m=t.waiting.get(s.id);return m&&(m.resolve(),t.waiting.delete(s.id)),s},onRejected:async s=>{if(!s.isAxiosError||!s.config)throw s;const i=s.config,o=i.id,l=i.cache,c=s.response;if(!l||!o)throw s;if(!R6(i.method,l.methods))throw await e(o,i,!0),s;const u=await t.storage.get(o,i);if(u.state!=="loading"||u.previous!=="stale")throw await e(o,i,s.code!=="ERR_CANCELED"||s.code==="ERR_CANCELED"&&u.state!=="cached"),s;if(l.staleIfError){const d=String(c?.headers[Vi.CacheControl]),f=d&&oie(d).staleIfError,p=typeof l.staleIfError=="function"?await l.staleIfError(c,u,s):l.staleIfError===!0&&f?f*1e3:l.staleIfError;if(p===!0||typeof p=="number"&&u.createdAt+p>Date.now()){await t.storage.set(o,{state:"stale",createdAt:Date.now(),data:u.data},i);const m=t.waiting.get(o);return m&&(m.resolve(),t.waiting.delete(o)),{cached:!0,stale:!0,config:i,id:o,data:u.data.data,headers:u.data.headers,status:u.data.status,statusText:u.data.statusText}}}throw await e(o,i,!0),s}}}const LTe=t=>!!t&&!!t["is-storage"];function aie(t){const e=t.data.headers;return Vi.ETag in e||Vi.LastModified in e||Vi.XAxiosCacheEtag in e||Vi.XAxiosCacheLastModified in e}function NTe(t){return String(t.data.headers[Vi.CacheControl]).includes("must-revalidate")}function lie(t){return aie(t)?!0:t.state==="cached"&&t.staleTtl!==void 0&&Math.abs(Date.now()-(t.createdAt+t.ttl))<=t.staleTtl}function I6(t){return t.ttl!==void 0&&t.createdAt+t.ttl<=Date.now()}function FTe({set:t,find:e,remove:r,clear:n}){return{"is-storage":1,set:t,remove:r,clear:n,get:async(s,i)=>{let o=await e(s,i);if(!o)return{state:"empty"};if(o.state==="empty"||o.state==="loading"||o.state==="must-revalidate")return o;if(o.state==="cached"){if(!I6(o))return o;if(!lie(o))return await r(s,i),{state:"empty"};if(o={state:"stale",createdAt:o.createdAt,data:o.data,ttl:o.staleTtl!==void 0?o.staleTtl+o.ttl:void 0},await t(s,o,i),NTe(o))return Hb({},o,{state:"must-revalidate"})}return!I6(o)||aie(o)?o:(await r(s,i),{state:"empty"})}}}const Oz=typeof structuredClone=="function"?structuredClone:t=>JSON.parse(JSON.stringify(t));function cie(t=!1,e=!1,r=!1){const n=FTe({set:(s,i)=>{if(r){let o=Object.keys(n.data);if(o.length>=r)for(n.cleanup(),o=Object.keys(n.data);o.length>=r;)delete n.data[o.shift()]}n.data[s]=t==="double"?Oz(i):i},remove:s=>{delete n.data[s]},find:s=>{const i=n.data[s];return t&&i!==void 0?Oz(i):i},clear:()=>{n.data=Object.create(null)}});return n.data=Object.create(null),n.cleanup=()=>{const s=Object.keys(n.data);let i=-1,o,l;for(;++i<s.length;){if(l=s[i],o=n.data[l],o.state==="empty"){n.remove(l);continue}o.state==="cached"&&I6(o)&&!lie(o)&&n.remove(l)}},e&&(n.cleaner=setInterval(n.cleanup,e)),n}const Lz=/^\/|\/$/g;function uie(t){return e=>{if(e.id)return e.id;const r=t(e);return typeof r=="string"||typeof r=="number"?`${r}`:`${Hw(r)}`}}const UTe=uie(({baseURL:t,url:e,method:r,params:n,data:s})=>(t!==void 0?t=t.replace(Lz,""):t="",e!==void 0?e=e.replace(Lz,""):e="",r!==void 0?r=r.toLowerCase():r="get",{url:t+(t&&e?"/":"")+e,params:n,method:r,data:s}));function BTe(t,e={}){var r,n,s,i,o,l,c,u;const d=t;if(d.defaults.cache)throw new Error("setupCache() should be called only once");if(d.location=typeof window>"u"?"server":"client",d.storage=e.storage||cie(),!LTe(d.storage))throw new Error("Use buildStorage() function");return d.waiting=e.waiting||new Map,d.generateKey=e.generateKey||UTe,d.headerInterpreter=e.headerInterpreter||jTe,d.requestInterceptor=e.requestInterceptor||DTe(d),d.responseInterceptor=e.responseInterceptor||OTe(d),d.debug=e.debug||function(){},d.defaults.cache={update:e.update||{},ttl:(r=e.ttl)!=null?r:1e3*60*5,methods:e.methods||["get","head"],cachePredicate:e.cachePredicate||{statusCheck:f=>[200,203,300,301,302,404,405,410,414,501].includes(f)},etag:(n=e.etag)!=null?n:!0,modifiedSince:(s=e.modifiedSince)!=null?s:e.etag===!1,interpretHeader:(i=e.interpretHeader)!=null?i:!0,cacheTakeover:(o=e.cacheTakeover)!=null?o:!0,staleIfError:(l=e.staleIfError)!=null?l:!0,override:(c=e.override)!=null?c:!1,hydrate:(u=e.hydrate)!=null?u:void 0},d.interceptors.request.use(d.requestInterceptor.onFulfilled,d.requestInterceptor.onRejected),d.interceptors.response.use(d.responseInterceptor.onFulfilled,d.responseInterceptor.onRejected),d}class Qy extends Error{}Qy.prototype.name="InvalidTokenError";function zTe(t){return decodeURIComponent(atob(t).replace(/(.)/g,(e,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function qTe(t){let e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return zTe(e)}catch{return atob(e)}}function VTe(t,e){if(typeof t!="string")throw new Qy("Invalid token specified: must be a string");e||(e={});const r=e.header===!0?0:1,n=t.split(".")[r];if(typeof n!="string")throw new Qy(`Invalid token specified: missing part #${r+1}`);let s;try{s=qTe(n)}catch(i){throw new Qy(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(s)}catch(i){throw new Qy(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}var mn;(function(t){t[t.UNEXPECTED_ERROR=500]="UNEXPECTED_ERROR",t[t.BOOT=501]="BOOT",t[t.BAD_GATEWAY=502]="BAD_GATEWAY",t[t.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",t[t.BAD_REQUEST=400]="BAD_REQUEST",t[t.UNAUTHORIZED=401]="UNAUTHORIZED",t[t.FORBIDDEN=403]="FORBIDDEN",t[t.NOT_FOUND=404]="NOT_FOUND",t[t.REMOTE_NOT_FOUND=444]="REMOTE_NOT_FOUND"})(mn||(mn={}));function Ff({message:t,status:e}){return new Response(t,{status:e})}function Li({type:t,data:e}){switch(t){case mn.BOOT:return Ff({message:"Cannot boot application",status:t});case mn.UNAUTHORIZED:return Ff({message:`You are not authorized to view this content (required permissions: ${e})`,status:t});case mn.FORBIDDEN:return Ff({message:`You are not allowed to proceed${e&&` (required permissions: ${e})`}`,status:t});case mn.NOT_FOUND:return Ff({message:"Page not found!",status:t});case mn.REMOTE_NOT_FOUND:return Ff({message:"Resource not found / Service is currently unavailable",status:t});case mn.UNEXPECTED_ERROR:return Ff({message:"Something went wrong",status:t});case mn.BAD_REQUEST:return Ff({message:"Bad Request",status:t});case mn.SERVICE_UNAVAILABLE:case mn.BAD_GATEWAY:default:return Ff({message:`Service is currently unavailable${e&&` (unavailable services ${e})`}`,status:t})}}function xt(t){return!!(t&&typeof t=="object"&&"error"in t)}function HTe(t,e){let r=null,n=null,s=null;return typeof t=="string"&&(r=t),typeof t=="object"&&"detail"in t&&typeof t.detail=="string"&&(r=t.detail),typeof t=="object"&&"details"in t&&typeof t.details=="string"&&(r=t.details),typeof t=="object"&&"errors"in t&&t.errors&&(n=t.errors),typeof t!="string"&&"title"in t&&t.title!==void 0&&(s=t.title),{error:{title:s,detail:r,status:e,errors:n}}}const O0="EMS-SITE-NODE";async function die(){return De({options:{url:"/core/pls/api/1/site/info",method:"GET",node:void 0}})}const Zd="/core/pls/api/1/auth",F_="EMS-ACCESS-TOKEN",U_="EMS-REFRESH-TOKEN",GTe="admin";var _i;(function(t){t.local="local",t.radius="radius",t.ldap="ldap",t.openid="openid"})(_i||(_i={}));const WTe=Object.keys(_i);var bC;(function(t){t.backup="backup",t.configuration="configuration",t.management="management",t.monitoring="monitoring",t.provisioning="provisioning",t.transport_keys="transport_keys",t.operator_codes="operator_codes",t.lawful_interception="lawful_interception",t.milenage_constants="milenage_constants"})(bC||(bC={}));var Sh;(function(t){t.ro="ro",t.rw="rw"})(Sh||(Sh={}));const YTe=()=>{const t=window.location.pathname;let e="/logout";return["/logout","/login"].includes(t)||(e=`${e}?returnUrl=${t}`),e};function fie(t){const{access_token:e,refresh_token:r}=t;localStorage.setItem(F_,e),localStorage.setItem(U_,r)}async function KTe(t){return De({options:{url:`${Zd}/login`,method:"POST",data:JSON.stringify(t),node:void 0},isAuth:!1})}function QTe(){localStorage.removeItem(U_),localStorage.removeItem(F_),localStorage.removeItem(O0)}async function ZTe(){const t=localStorage.getItem(U_);await De({options:{url:`${Zd}/logout`,method:"POST",node:void 0,data:{refresh_token:t||""},cache:{methods:["post"],ttl:_L}},isAuth:!1}),QTe()}function Gb(){const t=YTe();throw new Response(null,{headers:{Location:t},status:302})}async function gL(){const t=localStorage.getItem(F_),e=localStorage.getItem(U_);(!t||!e)&&Gb();const r=await De({options:{url:`${Zd}/refresh_token`,method:"POST",data:{refresh_token:e},node:void 0,cache:{methods:["post"],ttl:_L}},isAuth:!1});if(xt(r))throw Gb();return localStorage.setItem(F_,r.access_token),localStorage.setItem(U_,r.refresh_token),r}async function XTe(t,e){return De({options:{url:`${Zd}/revoke_user_tokens`,method:"POST",data:JSON.stringify({username:t,refresh_token:e})}})}async function JTe(){return De({options:{url:`${Zd}/openid/authorization`,method:"GET",node:void 0},isAuth:!1})}async function e4e(t){return De({options:{url:`${Zd}/openid/authenticate`,method:"POST",data:JSON.stringify(t),node:void 0},isAuth:!1})}async function t4e({values:t}){return De({options:{url:`${Zd}/change_password`,method:"POST",data:JSON.stringify(t)}})}async function r4e(t,e,r){const n=new URLSearchParams;return n.set("username",t),e&&n.set("pagination_token",e),r&&n.set("max_results",r.toString()),De({options:{url:`${Zd}/audits?${n.toString()}`,method:"GET"}})}function Ih(){const t=localStorage.getItem(F_);if(t)try{return VTe(t)}catch{return null}return null}function pie(){return Ih()?.permissions??null}async function n4e(){const t=`${Zd}/config`;return De({options:{url:t,method:"GET"}})}const _L=2e3,s4e=1e3*10,i4e=cie(!1,s4e,!1),o4e=Mi.create(),a4e=BTe(o4e,{cacheTakeover:!1,interpretHeader:!1,ttl:_L,storage:i4e,generateKey:uie(t=>{let e="";return t.headers&&("get"in t.headers&&typeof t.headers.get=="function"?e=String(t.headers.get("x-ath-node")??""):e=String(t.headers["x-ath-node"]??"")),{method:t.method,url:t.url,xAthNode:e}})});var Od;(function(t){t.SSE="sse",t.WS="ws",t.FETCH="fetch"})(Od||(Od={}));class B_ extends Response{}function mie(t){const e=localStorage.getItem(F_);return t&&e?{Authorization:`Bearer ${e}`}:null}async function Nz({options:{node:t,...e},isAuth:r=!0}){try{return(await a4e.request({...e,withCredentials:!0,headers:{accept:"application/json","content-type":"application/json",...mie(r),...e.headers,...t&&{"x-ath-node":t}}})).data}catch(n){const s=n.response;if(!s)throw n;const{status:i,data:o=null,statusText:l}=s;throw new B_(JSON.stringify(o),{status:i,statusText:l})}}async function hie(t){const e=new AbortController;let r=!1;function n(){r=!0}function s(){return r}return{stream:await new Promise((o,l)=>{const c=new ReadableStream({start(f){async function p(){return c}async function m(g){(await p()).locked&&f.enqueue(g)}async function h(){const g=await p();n(),o(g)}async function _(g){(await p()).cancel(),l(g)}t(m,h,_,s,e)},cancel(){e.abort()}}),u=setInterval(d,1e3);function d(){!c.locked&&r&&(c.cancel(),clearInterval(u))}return c}),abortController:e}}async function gie({url:t,headers:e,node:r,isAuth:n,abortController:s,enqueue:i,isReady:o,resolveStream:l,rejectStream:c}){try{await KPe(t,{method:"GET",headers:{"content-type":"text/plain",...mie(n),...e,...r&&{"x-ath-node":r}},signal:s.signal,onmessage:async u=>{o()&&i(u.data)},onopen:async u=>{if(!u.ok)throw u;console.debug("sse stream OPENED",t),l()},onerror(u){console.debug("sse stream ERRORED",t);const d=new B_(u.body,{headers:u.headers,status:u.status,statusText:u.statusText});if(!o())throw c(d),d;if(u.status===401)throw d}})}catch(u){if(u instanceof B_&&u.status===401){console.error("Unauthorized");try{gL().then(()=>{gie({url:t,headers:e,node:r,isAuth:n,abortController:s,enqueue:i,isReady:o,resolveStream:l,rejectStream:c})}),console.debug("Token refreshed. Restarting SSE...")}catch(d){console.error("Failed to refresh token",d)}}}}async function l4e({options:{url:t,headers:e,node:r},isAuth:n=!0}){return hie(async(s,i,o,l,c)=>{c.signal.onabort=()=>{console.debug("sse stream ABORTED",t)},await gie({url:t,headers:e,node:r,isAuth:n,abortController:c,enqueue:s,isReady:l,resolveStream:i,rejectStream:o})})}async function c4e({options:{url:t}}){return hie(async(e,r,n,s,i)=>{let o;i.signal.onabort=()=>{console.debug("ws stream ABORTED",t),o&&o.close()};function l(){o=new WebSocket(t);const c=new B_(JSON.stringify({detail:"Websocket errored"}),{status:500,headers:{"Content-Type":"application/problem+json; charset=utf-8"}});o.addEventListener("open",async()=>{r()}),o.addEventListener("message",async u=>{s()&&e(u.data)}),o.addEventListener("close",async u=>{console.debug("ws stream CLOSED",t),u.code>1e3&&!i.signal.aborted?setTimeout(()=>{l()},1e3):n(c)}),o.addEventListener("error",()=>{console.debug("ws stream ERRORED",t),s()||n(c)})}l()})}async function _ie(t,e=!1){const r=t;let n=localStorage.getItem(O0)??void 0;"node"in r.options&&(n=r.options.node),r.isAuth===void 0&&(r.isAuth=!0);try{const s=r.options.url;if(r.type===Od.SSE)return await l4e({...r,options:{node:n,...r.options}});if(r.type===Od.WS)return await c4e({...r,options:{node:n,...r.options}});if(!r.options.method||r.options.method==="GET"){const i=r.options.method;return await Nz({...r,options:{node:n,...r.options,method:i,url:s}})}else{const i=r.options.method;return await Nz({...r,options:{node:n,...r.options,method:i,url:s}})}}catch(s){if(!(s instanceof B_))throw s;const{status:i}=s;if(i===401&&r.isAuth&&!e)return await gL(),_ie(r,!0);throw s}}async function De(t){try{return await _ie(t)}catch(e){if(!(e instanceof B_))throw e;const{status:r}=e;let n=(t.type===Od.FETCH||!t.type)&&(!t.options.method||t.options.method==="GET")||t.type===Od.WS||t.type===Od.SSE;"mustThrowError"in t&&t.mustThrowError&&(n=t.mustThrowError);let s=r;if(r===404&&(s=mn.REMOTE_NOT_FOUND),n)throw Li({type:s});{const i=await e.json();return HTe(i,s)}}}function vie(t,e){const r=he.c(9);let n;r[0]===Symbol.for("react.memo_cache_sentinel")?(n=[],r[0]=n):n=r[0];const[s,i]=I.useState(n);let o;r[1]===Symbol.for("react.memo_cache_sentinel")?(o=[],r[1]=o):o=r[1];const l=I.useRef(o),c=I.useRef(null);let u;r[2]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{c.current&&c.current.releaseLock()},r[2]=u):u=r[2];const d=u;let f,p;r[3]!==e||r[4]!==t.stream?(f=()=>(c.current=t.stream.getReader(),async function(){if(c.current)for(;;)try{const{value:g}=await c.current.read();if(g){const y=JSON.parse(g);e?l.current=[...l.current.slice(-e+1),y]:l.current.push(y),i([...l.current])}}catch{break}}(),()=>{d(),l.current=[],i([])}),p=[t.stream,e,d],r[3]=e,r[4]=t.stream,r[5]=f,r[6]=p):(f=r[5],p=r[6]),I.useEffect(f,p);let m;return r[7]!==s?(m=[s,d],r[7]=s,r[8]=m):m=r[8],m}var Tu;(function(t){t.STARTED="started",t.STOPPED="stopped",t.DISABLED="disabled"})(Tu||(Tu={}));var Bl;(function(t){t.START="start",t.STOP="stop",t.RESTART="restart",t.ENABLE="enable",t.DISABLE="disable",t.ENABLE_AUTOSTART="enable-autostart",t.DISABLE_AUTOSTART="disable-autostart",t.RESET="reset"})(Bl||(Bl={}));var xC;(function(t){t.PS="ps",t.NF="nf"})(xC||(xC={}));var ue;(function(t){t.AAA="aaa",t.AMF="amf",t.AUSF="ausf",t.BMSC="bmsc",t.CHF="chf",t.DRA="dra",t.DSM="dsm",t.EIR="eir",t.MME="mme",t.NCM="ncm",t.NRF="nrf",t.PCF="pcf",t.SGWC="sgwc",t.SMF="smf",t.SMSF="smsf",t.UDM="udm",t.UDR="udr",t.UPF="upf",t.ALERTMANAGER="alertmanager",t.EMS_BACKEND="ems-backend",t.EMS_FRONTEND="ems-frontend",t.FLUENTBIT="fluent-bit",t.GRAFANA="grafana",t.GATEWAYD="gatewayd",t.LICENSED="licensed",t.NODE_EXPORTER="node-exporter",t.PLS="pls",t.PROMETHEUS="prometheus",t.SWUPDATE="swupdate",t.TERMINAL="webconsole"})(ue||(ue={}));function _y(t){return t!==void 0&&t.name!==void 0&&t.action!==void 0}function yie(t){return t.filter(e=>e.state===Tu.STARTED)}function Ds({services:t,name:e}){return t.find(s=>s.name===e)?.state===Tu.STARTED}function u4e({services:t,activeServices:e,partial:r=!1}){return Array.isArray(e)?r?e.some(n=>Ds({services:t,name:n})):e.every(n=>Ds({services:t,name:n})):Ds({services:t,name:e})}async function vL(){return De({options:{url:"/core/pls/api/1/services",method:"GET",id:"service-status"}})}async function d4e({name:t,action:e}){const r=`/core/pls/api/1/services/${t}/${e}`;return De({options:{url:r,method:"POST",cache:{update:{"service-status":"delete"}}}})}async function f4e({name:t}){const e=await vL();let r=!1;return"error"in e||(r=Ds({services:e,name:t})),r}ue.UDR;ue.AMF,Bl.ENABLE;Bl.ENABLE;var Ni=zhe();const bie=Pi(Ni);async function xie(t){const e=`/core/${t}/api/1/mgmt/config/logs`;return De({options:{url:e,method:"GET"}})}async function p4e({nf:t,logsConfig:e}){const r=`/core/${t}/api/1/mgmt/config/logs`;return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}async function Sie(t){const e=`/core/${t}/api/1/mgmt/config/logs_metadata`;return(await De({options:{url:e,method:"GET"}})).map(n=>n.toUpperCase())}async function yL(){return(await vL()).filter(e=>e.mgmt===!0&&e.state===Tu.STARTED)}async function m4e(){const t=await yL(),e=await Promise.all(t.map(({name:r})=>Sie(r)));return[...new Set(e.flat())].sort()}async function h4e(){const t=await yL();return(await Promise.all(t.map(({name:r})=>Promise.allSettled([xie(r),Sie(r)])))).reduce((r,[n,s],i)=>{if(n.status==="fulfilled"){const o=t[i].name,l=n.value,c=s.status==="fulfilled"?s.value:[];return[...r,{service:o,config:l,metadata:c}]}return r},[])}async function g4e(){const t=await yL(),e=await Promise.all(t.map(({name:n})=>xie(n)));let r=0;return e.forEach(n=>{n.exceptions?.length&&(r+=n.exceptions.length)}),r}const wie=["CODE_FILE","CODE_FUNC","CODE_LINE","CONTAINER_ID","CONTAINER_ID_FULL","CONTAINER_NAME","PRIORITY","SYSLOG_FACILITY","SYSLOG_IDENTIFIER","_BOOT_ID","_CAP_EFFECTIVE","_COMM","_EXE","_GID","_HOSTNAME","_MACHINE_ID","_PID","_STREAM_ID","_SYSTEMD_CGROUP","_SYSTEMD_INVOCATION_ID","_SYSTEMD_SLICE","_SYSTEMD_UNIT","_TRANSPORT"];function mp(t){const e=new Date(parseInt(t)/1e3).toISOString();return`${ai.utc(e).format("YYYY-MM-DD HH:mm:ss.SSS")} UTC`}function z_(t){const[e,...r]=t.split("=");return[e,r.join("=")]}function Cie(t){return Ni.uniq(t.filter(e=>!!e).map(e=>{const[r]=z_(e);return r})).sort()}var Um;(function(t){t[t.USER=0]="USER",t[t.TRUSTED=1]="TRUSTED",t[t.ADDRESS=2]="ADDRESS"})(Um||(Um={}));function _4e(t){return!Aie(t)&&!bL(t)}function Aie(t){return t.startsWith("_")&&!bL(t)}function bL(t){return t.startsWith("__")}var ii;(function(t){t.EMERGENCY="emergency",t.ALERT="alert",t.CRITICAL="critical",t.ERROR="error",t.WARNING="warning",t.NOTICE="notice",t.INFO="info",t.DEBUG="debug"})(ii||(ii={}));const SC=[ii.EMERGENCY,ii.ALERT,ii.CRITICAL,ii.ERROR,ii.WARNING,ii.NOTICE,ii.INFO,ii.DEBUG],v4e=SC.map((t,e)=>({label:t,value:e.toString()}));function q_(t){const e=parseInt(t);return isNaN(e)?t:SC[parseInt(t)]||t}async function kie({numEntries:t,numSkip:e=0,cursor:r,boot:n,fields:s,stream:i,grep:o,node:l,since:c,until:u}={}){const d=new URLSearchParams;n&&d.set("boot","true"),o&&d.set("grep",o),s&&s.forEach(m=>{const[h,_]=z_(m);_!==""&&d.append(h,_)});let f=`entries=${r}:${e}:${t}`;i&&(d.set("follow","true"),f="entries=:-1:2147483646"),(c||u)&&(f=`realtime=${e&&e<0?"":c}:${u}:${e}:${t}`);const p=`/gatewayd/entries${d.toString()!==""?"?"+d:""}`;if(i)return await De({type:Od.SSE,options:{url:p,headers:{Range:f}}});{const m=await De({options:{...!!l&&{node:l},url:p,method:"GET",headers:{Range:f},cache:!1}});let h=[];return typeof m=="string"?h=m.split(`
/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js.bak:240:`+Be.prev}function $t(Ee,Be){var qt=fe(Ee),ar=[];if(qt){ar.length=Ee.length;for(var hr=0;hr<Ee.length;hr++)ar[hr]=xe(Ee,hr)?Be(Ee[hr],Ee):""}var ir=typeof D=="function"?D(Ee):[],cr;if(N){cr={};for(var kr=0;kr<ir.length;kr++)cr["$"+ir[kr]]=ir[kr]}for(var Rr in Ee)xe(Ee,Rr)&&(qt&&String(Number(Rr))===Rr&&Rr<Ee.length||N&&cr["$"+Rr]instanceof Symbol||(k.call(/[^\w$]/,Rr)?ar.push(Be(Rr,Ee)+": "+Be(Ee[Rr],Ee)):ar.push(Rr+": "+Be(Ee[Rr],Ee))));if(typeof D=="function")for(var Ut=0;Ut<ir.length;Ut++)U.call(Ee,ir[Ut])&&ar.push("["+Be(ir[Ut])+"]: "+Be(Ee[ir[Ut]],Ee));return ar}return vT}var yT,pV;function DA(){return pV||(pV=1,yT=function(e){return typeof e=="string"||typeof e=="symbol"}),yT}var bT,mV;function Dp(){return mV||(mV=1,bT=function(e){return!!e&&(typeof e=="function"||typeof e=="object")}),bT}var xT,hV;function BRe(){if(hV)return xT;hV=1;var t=wn(),e=URe(),r=DA(),n=Dp();return xT=function(i,o){if(!n(i))throw new t("Assertion failed: Type(O) is not Object");if(!r(o))throw new t("Assertion failed: P is not a Property Key, got "+e(o));return i[o]},xT}var ST,gV;function tf(){if(gV)return ST;gV=1;var t=Oh();return ST=function(r){return(typeof r=="number"||typeof r=="bigint")&&!t(r)&&r!==1/0&&r!==-1/0},ST}var wT,_V;function $A(){if(_V)return wT;_V=1;var t=RA(),e=Dh(),r=Oh(),n=tf();return wT=function(i){if(typeof i!="number"||r(i)||!n(i))return!1;var o=t(i);return e(o)===o},wT}var CT,vV;function Av(){if(vV)return CT;vV=1;var t=Ip(),e=vs(),r=Ks(),n=r("%ArrayBuffer%",!0),s=e("ArrayBuffer.prototype.byteLength",!0),i=e("Object.prototype.toString"),o=!!n&&!s&&new n(0).slice,l=!!o&&t(o);return CT=s||l?function(u){if(!u||typeof u!="object")return!1;try{return s?s(u):l(u,0),!0}catch{return!1}}:n?function(u){return i(u)==="[object ArrayBuffer]"}:function(u){return!1},CT}var AT,yV;function Qie(){if(yV)return AT;yV=1;var t=vs(),e=t("ArrayBuffer.prototype.byteLength",!0),r=Av();return AT=function(s){return r(s)?e?e(s):s.byteLength:NaN},AT}var kT,bV;function z0(){if(bV)return kT;bV=1;var t=vs(),e=t("SharedArrayBuffer.prototype.byteLength",!0);return kT=e?function(n){if(!n||typeof n!="object")return!1;try{return e(n),!0}catch{return!1}}:function(n){return!1},kT}var MT,xV;function kv(){if(xV)return MT;xV=1;var t=wn(),e=Qie(),r=N0()(),n=vs(),s=Av(),i=z0(),o=n("SharedArrayBuffer.prototype.byteLength",!0);return MT=function(c){var u=i(c);if(!s(c)&&!u)throw new t("Assertion failed: `arrayBuffer` must be an Object with an [[ArrayBufferData]] internal slot");if((u?o:e)(c)===0)try{new self[r[0]](c)}catch(d){return!!d&&d.name==="TypeError"}return!1},MT}var PT,SV;function Zie(){if(SV)return PT;SV=1;var t=wn(),e=Jd(),r=Dp(),n=DA();return PT=function(i,o){if(!r(i))throw new t("Assertion failed: `O` must be an Object");if(!n(o))throw new t("Assertion failed: `P` must be a Property Key");return e(i,o)},PT}var jT,wV;function Xie(){if(wV)return jT;wV=1;var t=Ks(),e=t("%Array%"),r=!e.isArray&&vs()("Object.prototype.toString");return jT=e.isArray||function(s){return r(s)==="[object Array]"},jT}var TT,CV;function OL(){return CV||(CV=1,TT=Xie()),TT}var ET,AV;function Jie(){return AV||(AV=1,ET=function(e){return e==="BIGUINT64"||e==="BIGINT64"}),ET}var RT,kV;function zRe(){return kV||(kV=1,RT=function(e){return e==="UINT8"||e==="UINT8C"||e==="UINT16"||e==="UINT32"||e==="BIGUINT64"}),RT}var IT,MV;function qRe(){if(MV)return IT;MV=1;var t=$h();return IT=function(r){var n=r[3]&128?-1:1,s=(r[3]&127)<<1|r[2]>>7,i=(r[2]&127)<<16|r[1]<<8|r[0];return s===0&&i===0?n===1?0:-0:s===255&&i===0?n===1?1/0:-1/0:s===255&&i!==0?NaN:(s-=127,s===-127?n*i*t(2,-149):n*(1+i*t(2,-23))*t(2,s))},IT}var DT,PV;function VRe(){if(PV)return DT;PV=1;var t=$h();return DT=function(r){var n=r[7]&128?-1:1,s=(r[7]&127)<<4|(r[6]&240)>>4,i=(r[6]&15)*281474976710656+r[5]*1099511627776+r[4]*4294967296+r[3]*16777216+r[2]*65536+r[1]*256+r[0];return s===0&&i===0?n*0:s===2047&&i!==0?NaN:s===2047&&i===0?n*(1/0):(s-=1023,s===-1023?n*i*5e-324:n*(1+i/4503599627370496)*t(2,s))},DT}var $T,jV;function HRe(){if(jV)return $T;jV=1;var t=Ks(),e=$h(),r=t("%Number%"),n=t("%BigInt%",!0);return $T=function(i,o,l,c){for(var u=c?n:r,d=u(0),f=0;f<i.length;f++)d+=u(i[f]*e(2,8*f));if(!l){var p=o*8;i[o-1]&128&&(d-=u(e(2,p)))}return d},$T}var OT,TV;function GRe(){return TV||(TV=1,OT=function(e,r){for(var n=0;n<e.length;n+=1)if(!r(e[n],n,e))return!1;return!0}),OT}var LT,EV;function WRe(){return EV||(EV=1,LT=function(e){return typeof e=="number"&&e>=0&&e<=255&&(e|0)===e}),LT}var NT,RV;function Mv(){return RV||(RV=1,NT={__proto__:null,name:{__proto__:null,$Int8Array:"INT8",$Uint8Array:"UINT8",$Uint8ClampedArray:"UINT8C",$Int16Array:"INT16",$Uint16Array:"UINT16",$Int32Array:"INT32",$Uint32Array:"UINT32",$BigInt64Array:"BIGINT64",$BigUint64Array:"BIGUINT64",$Float32Array:"FLOAT32",$Float64Array:"FLOAT64"},size:{__proto__:null,$INT8:1,$UINT8:1,$UINT8C:1,$INT16:2,$UINT16:2,$INT32:4,$UINT32:4,$BIGINT64:8,$BIGUINT64:8,$FLOAT32:4,$FLOAT64:8},choices:'"INT8", "UINT8", "UINT8C", "INT16", "UINT16", "INT32", "UINT32", "BIGINT64", "BIGUINT64", "FLOAT32", or "FLOAT64"'}),NT}var FT,IV;function YRe(){if(IV)return FT;IV=1;var t=Ks(),e=vs(),r=PL(),n=zc(),s=wn(),i=t("%BigInt%",!0),o=Zie(),l=OL(),c=Jie(),u=zRe(),d=qRe(),f=VRe(),p=HRe(),m=GRe(),h=WRe(),_=e("Array.prototype.reverse"),g=e("Array.prototype.slice"),y=Mv();return FT=function(x,w,C){if(!o(y.size,"$"+x))throw new s("Assertion failed: `type` must be a TypedArray element type");if(!l(w)||!m(w,h))throw new s("Assertion failed: `rawBytes` must be an Array of bytes");if(typeof C!="boolean")throw new s("Assertion failed: `isLittleEndian` must be a Boolean");var k=y.size["$"+x];if(w.length!==k)throw new r("Assertion failed: `rawBytes` must have a length of "+k+" for type "+x);var A=c(x);if(A&&!i)throw new n("this environment does not support BigInts");return w=g(w,0,k),C||_(w),x==="FLOAT32"?d(w):x==="FLOAT64"?f(w):p(w,k,u(x),A)},FT}var UT,DV;function eoe(){if(DV)return UT;DV=1;var t={}.toString;return UT=Array.isArray||function(e){return t.call(e)=="[object Array]"},UT}var BT,$V;function KRe(){if($V)return BT;$V=1;var t=Ks(),e=t("%Array.prototype.concat%"),r=Ip(),n=vs(),s=n("Array.prototype.slice"),i=EL()(),o=i&&Symbol.isConcatSpreadable,l=[],c=o?r.apply(e,l):null,u=o?eoe():null;return BT=o?function(f){for(var p=0;p<arguments.length;p+=1){var m=arguments[p];if(m&&typeof m=="object"&&typeof m[o]=="boolean"){l[o]||(l[o]=!0);var h=u(m)?s(m):[m];h[o]=!0,arguments[p]=h}}return c(arguments)}:r(e,l),BT}var zT,OV;function Pv(){if(OV)return zT;OV=1;var t=Cv();return zT=function(r){return!!t(r)},zT}var qT,LV;function q0(){if(LV)return qT;LV=1;var t=wn(),e=vs(),r=e("TypedArray.prototype.buffer",!0),n=Pv();return qT=r||function(i){if(!n(i))throw new t("Not a Typed Array");return i.buffer},qT}var VT,NV;function toe(){if(NV)return VT;NV=1;var t=Ks(),e=t("%Uint8Array%",!0),r=t("%Uint32Array%",!0),n=q0(),s=r&&new r([305419896]),i=s&&new e(n(s));return VT=i?i[0]===120?"little":i[0]===18?"big":i[0]===52?"mixed":"unknown":"indeterminate",VT}var HT,FV;function QRe(){if(FV)return HT;FV=1;var t=Ks(),e=zc(),r=wn(),n=vs(),s=$A(),i=t("%Uint8Array%",!0),o=n("Array.prototype.slice"),l=kv(),c=YRe(),u=Av(),d=z0(),f=KRe(),p=Mv(),m=toe();return HT=function(_,g,y,b,x){var w=d(_);if(!u(_)&&!w)throw new r("Assertion failed: `arrayBuffer` must be an ArrayBuffer or a SharedArrayBuffer");if(!s(g))throw new r("Assertion failed: `byteIndex` must be an integer");if(typeof y!="string"||typeof p.size["$"+y]!="number")throw new r("Assertion failed: `type` must be one of "+p.choices);if(typeof b!="boolean")throw new r("Assertion failed: `isTypedArray` must be a boolean");if(x!=="SEQ-CST"&&x!=="UNORDERED")throw new r("Assertion failed: `order` must be either `SEQ-CST` or `UNORDERED`");if(arguments.length>5&&typeof arguments[5]!="boolean")throw new r("Assertion failed: `isLittleEndian` must be a boolean, if present");if(l(_))throw new r("Assertion failed: `arrayBuffer` is detached");if(g<0)throw new r("Assertion failed: `byteIndex` must be non-negative");var C=p.size["$"+y];if(!C)throw new r("Assertion failed: `type` must be one of "+p.choices);var k;if(w)throw new e("SharedArrayBuffer is not supported by this implementation");k=o(new i(_,g),0,C);var A=arguments.length>5?arguments[5]:m==="little",P=A?o(f([0,0,0,0,0,0,0,0],k),-C):o(f(k,[0,0,0,0,0,0,0,0]),0,C);return c(y,P,A)},HT}var GT,UV;function roe(){if(UV)return GT;UV=1;var t=Oh();return GT=function(r,n){return r===n?r===0?1/r===1/n:!0:t(r)&&t(n)},GT}var WT,BV;function ZRe(){if(BV)return WT;BV=1;var t=wn(),e=Dp(),r=DA(),n=roe(),s=(function(){try{return delete[].length,!0}catch{return!1}})();return WT=function(o,l,c,u){if(!e(o))throw new t("Assertion failed: `O` must be an Object");if(!r(l))throw new t("Assertion failed: `P` must be a Property Key");if(typeof u!="boolean")throw new t("Assertion failed: `Throw` must be a Boolean");if(u){if(o[l]=c,s&&!n(o[l],c))throw new t("Attempted to assign to readonly property.");return!0}try{return o[l]=c,s?n(o[l],c):!0}catch{return!1}},WT}var YT,zV;function XRe(){if(zV)return YT;zV=1;var t=Ks(),e=t("%BigInt%",!0),r=wn(),n=zc();return YT=function(i){if(typeof i!="string")throw new r("`argument` must be a string");if(!e)throw new n("BigInts are not supported in this environment");try{return e(i)}catch{return}},YT}var KT,qV;function JRe(){return qV||(qV=1,KT=function(e){return e===null||typeof e!="function"&&typeof e!="object"}),KT}var QT,VV;function noe(){if(VV)return QT;VV=1;var t=vs(),e=t("Date.prototype.getDay"),r=function(l){try{return e(l),!0}catch{return!1}},n=t("Object.prototype.toString"),s="[object Date]",i=ef()();return QT=function(l){return typeof l!="object"||l===null?!1:i?r(l):n(l)===s},QT}var c2={exports:{}},ZT,HV;function soe(){if(HV)return ZT;HV=1;var t=vs(),e=ef()(),r=Jd(),n=Xd(),s;if(e){var i=t("RegExp.prototype.exec"),o={},l=function(){throw o},c={toString:l,valueOf:l};typeof Symbol.toPrimitive=="symbol"&&(c[Symbol.toPrimitive]=l),s=function(p){if(!p||typeof p!="object")return!1;var m=n(p,"lastIndex"),h=m&&r(m,"value");if(!h)return!1;try{i(p,c)}catch(_){return _===o}}}else{var u=t("Object.prototype.toString"),d="[object RegExp]";s=function(p){return!p||typeof p!="object"&&typeof p!="function"?!1:u(p)===d}}return ZT=s,ZT}var XT,GV;function OA(){if(GV)return XT;GV=1;var t=vs(),e=soe(),r=t("RegExp.prototype.exec"),n=wn();return XT=function(i){if(!e(i))throw new n("`regex` must be a RegExp");return function(l){return r(i,l)!==null}},XT}var WV;function ioe(){if(WV)return c2.exports;WV=1;var t=vs(),e=t("Object.prototype.toString"),r=Hie()(),n=OA();if(r){var s=t("Symbol.prototype.toString"),i=n(/^Symbol\(.*\)$/),o=function(c){return typeof c.valueOf()!="symbol"?!1:i(s(c))};c2.exports=function(c){if(typeof c=="symbol")return!0;if(!c||typeof c!="object"||e(c)!=="[object Symbol]")return!1;try{return o(c)}catch{return!1}}}else c2.exports=function(c){return!1};return c2.exports}var JT,YV;function e5e(){if(YV)return JT;YV=1;var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",e=JRe(),r=EA(),n=noe(),s=ioe(),i=function(c,u){if(typeof c>"u"||c===null)throw new TypeError("Cannot call method on "+c);if(typeof u!="string"||u!=="number"&&u!=="string")throw new TypeError('hint must be "string" or "number"');var d=u==="string"?["toString","valueOf"]:["valueOf","toString"],f,p,m;for(m=0;m<d.length;++m)if(f=c[d[m]],r(f)&&(p=f.call(c),e(p)))return p;throw new TypeError("No default value")},o=function(c,u){var d=c[u];if(d!==null&&typeof d<"u"){if(!r(d))throw new TypeError(d+" returned for property "+String(u)+" of object "+c+" is not a function");return d}};return JT=function(c){if(e(c))return c;var u="default";arguments.length>1&&(arguments[1]===String?u="string":arguments[1]===Number&&(u="number"));var d;if(t&&(Symbol.toPrimitive?d=o(c,Symbol.toPrimitive):s(c)&&(d=Symbol.prototype.valueOf)),typeof d<"u"){var f=d.call(c,u);if(e(f))return f;throw new TypeError("unable to convert exotic object to primitive")}return u==="default"&&(n(c)||s(c))&&(u="string"),i(c,u==="default"?"number":u)},JT}var e4,KV;function ooe(){if(KV)return e4;KV=1;var t=e5e();return e4=function(r){return arguments.length>1?t(r,arguments[1]):t(r)},e4}var t4,QV;function aoe(){if(QV)return t4;QV=1;var t=Ks(),e=t("%BigInt%",!0),r=t("%Number%"),n=wn(),s=zc(),i=XRe(),o=ooe();return t4=function(c){if(!e)throw new s("BigInts are not supported in this environment");var u=o(c,r);if(u==null)throw new n("Cannot convert null or undefined to a BigInt");if(typeof u=="boolean")return e(u?1:0);if(typeof u=="number")throw new n("Cannot convert a Number value to a BigInt");if(typeof u=="string"){var d=i(u);if(typeof d>"u")throw new n("Failed to parse String to BigInt");return d}if(typeof u=="symbol")throw new n("Cannot convert a Symbol value to a BigInt");if(typeof u!="bigint")throw new s("Assertion failed: unknown primitive type");return u},t4}var r4,ZV;function loe(){if(ZV)return r4;ZV=1;var t=Ks(),e=t("%BigInt%",!0),r=PL(),n=wn(),s=e&&e(0);return r4=function(o,l){if(typeof o!="bigint"||typeof l!="bigint")throw new n("Assertion failed: `n` and `d` arguments must be BigInts");if(l===s)throw new r("Division by zero");return o===s?s:o%l},r4}var n4,XV;function coe(){return XV||(XV=1,n4=function(e,r,n){var s=e(r,n);return s>=0?s:s+n}),n4}var s4,JV;function t5e(){if(JV)return s4;JV=1;var t=Ks(),e=t("%BigInt%",!0),r=$h(),n=aoe(),s=loe(),i=coe(),o=e&&BigInt(r(2,32))*BigInt(r(2,31)),l=e&&BigInt(r(2,32))*BigInt(r(2,32));return s4=function(u){var d=n(u),f=i(s,d,l);return f>=o?f-l:f},s4}var i4,eH;function r5e(){if(eH)return i4;eH=1;var t=Ks(),e=t("%BigInt%",!0),r=$h(),n=aoe(),s=loe(),i=coe(),o=e&&BigInt(r(2,32))*BigInt(r(2,32));return i4=function(c){var u=n(c),d=i(s,u,o);return d},i4}var o4,tH;function n5e(){if(tH)return o4;tH=1;var t=Dh();return o4=function(r,n){var s=r%n;return t(s>=0?s:s+n)},o4}var a4,rH;function s5e(){return rH||(rH=1,a4=n5e()),a4}var l4,nH;function jv(){if(nH)return l4;nH=1;var t=s5e();return l4=function(r,n){return t(r,n)},l4}var c4,sH;function i5e(){return sH||(sH=1,c4=function(e){return e===null||typeof e!="function"&&typeof e!="object"}),c4}var u4,iH;function uoe(){if(iH)return u4;iH=1;var t=wn();return u4=function(r){if(r==null)throw new t(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r},u4}var d4,oH;function doe(){if(oH)return d4;oH=1;var t=Ks(),e=t("%String%"),r=wn();return d4=function(s){if(typeof s=="symbol")throw new r("Cannot convert a Symbol value to a string");return e(s)},d4}var f4,aH;function foe(){if(aH)return f4;aH=1;var t=uoe(),e=doe(),r=vs(),n=r("String.prototype.replace"),s=/^\s$/.test("᠎"),i=s?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,o=s?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;return f4=function(){var c=e(t(this));return n(n(c,i,""),o,"")},f4}var p4,lH;function poe(){if(lH)return p4;lH=1;var t=foe(),e="​",r="᠎";return p4=function(){return String.prototype.trim&&e.trim()===e&&r.trim()===r&&("_"+r).trim()==="_"+r&&(r+"_").trim()===r+"_"?String.prototype.trim:t},p4}var m4,cH;function o5e(){if(cH)return m4;cH=1;var t=IA()(),e=$L(),r=poe();return m4=function(){var s=r();return String.prototype.trim!==s&&(t?e(String.prototype,"trim",s,!0):e(String.prototype,"trim",s)),s},m4}var h4,uH;function a5e(){if(uH)return h4;uH=1;var t=Ip(),e=B0(),r=uoe(),n=foe(),s=poe(),i=o5e(),o=t(s()),l=function(u){return r(u),o(u)};return e(l,{getPolyfill:s,implementation:n,shim:i}),h4=l,h4}var g4,dH;function l5e(){if(dH)return g4;dH=1;var t=Ks(),e=t("%RegExp%"),r=wn(),n=t("%parseInt%"),s=vs(),i=OA(),o=s("String.prototype.slice"),l=i(/^0b[01]+$/i),c=i(/^0o[0-7]+$/i),u=i(/^[-+]0x[0-9a-f]+$/i),d=["","​",""].join(""),f=new e("["+d+"]","g"),p=i(f),m=a5e();return g4=function h(_){if(typeof _!="string")throw new r("Assertion failed: `argument` is not a String");if(l(_))return+n(o(_,2),2);if(c(_))return+n(o(_,2),8);if(p(_)||u(_))return NaN;var g=m(_);return g!==_?h(g):+_},g4}var _4,fH;function $p(){if(fH)return _4;fH=1;var t=Ks(),e=wn(),r=t("%Number%"),n=i5e(),s=ooe(),i=l5e();return _4=function(l){var c=n(l)?l:s(l,r);if(typeof c=="symbol")throw new e("Cannot convert a Symbol value to a number");if(typeof c=="bigint")throw new e("Conversion from 'BigInt' to 'number' is not allowed.");return typeof c=="string"?i(c):+c},_4}var v4,pH;function LL(){if(pH)return v4;pH=1;var t=Dh();return v4=function(r){return typeof r=="bigint"?r:t(r)},v4}var y4,mH;function Nh(){if(mH)return y4;mH=1;var t=LL(),e=wn();return y4=function(n){if(typeof n!="number"&&typeof n!="bigint")throw new e("argument must be a Number or a BigInt");var s=n<0?-t(-n):t(n);return s===0?0:s},y4}var b4,hH;function c5e(){if(hH)return b4;hH=1;var t=jv(),e=$p(),r=Nh(),n=tf(),s=65536;return b4=function(o){var l=e(o);if(!n(l)||l===0)return 0;var c=r(l),u=t(c,s);return u>=32768?u-s:u},b4}var x4,gH;function u5e(){if(gH)return x4;gH=1;var t=jv(),e=$p(),r=Nh(),n=tf(),s=2147483648,i=4294967296;return x4=function(l){var c=e(l);if(!n(c)||c===0)return 0;var u=r(c),d=t(u,i),f=d>=s?d-i:d;return f===0?0:f},x4}var S4,_H;function d5e(){if(_H)return S4;_H=1;var t=jv(),e=$p(),r=Nh(),n=tf();return S4=function(i){var o=e(i);if(!n(o)||o===0)return 0;var l=r(o),c=t(l,256);return c>=128?c-256:c},S4}var w4,vH;function f5e(){if(vH)return w4;vH=1;var t=jv(),e=$p(),r=Nh(),n=tf(),s=65536;return w4=function(o){var l=e(o);if(!n(l)||l===0)return 0;var c=r(l),u=t(c,s);return u===0?0:u},w4}var C4,yH;function p5e(){if(yH)return C4;yH=1;var t=jv(),e=$p(),r=Nh(),n=tf(),s=4294967296;return C4=function(o){var l=e(o);if(!n(l)||l===0)return 0;var c=r(l),u=t(c,s);return u===0?0:u},C4}var A4,bH;function m5e(){if(bH)return A4;bH=1;var t=tf(),e=jv(),r=$p(),n=Nh();return A4=function(i){var o=r(i);if(!t(o)||o===0)return 0;var l=n(o),c=e(l,256);return c},A4}var k4,xH;function h5e(){if(xH)return k4;xH=1;var t=wn(),e=jL(),r=TL();return k4=function(s,i,o){if(typeof s!="number"||typeof i!="number"||typeof o!="number"||!(i<=o))throw new t("Assertion failed: all three arguments must be MVs, and `lower` must be `<= upper`");return r(e(i,s),o)},k4}var M4,SH;function g5e(){if(SH)return M4;SH=1;var t=h5e(),e=$p(),r=LL(),n=Oh();return M4=function(i){var o=e(i);if(n(o))return 0;var l=t(o,0,255),c=r(l);return l<c+.5?c:l>c+.5?c+1:c%2===0?c:c+1},M4}var P4,wH;function moe(){return wH||(wH=1,P4=function(e){return e===0&&1/e===-1/0}),P4}var j4,CH;function _5e(){if(CH)return j4;CH=1;var t=RA(),e=Dh(),r=$h(),n=tf(),s=Oh(),i=moe(),o=34028234663852886e22;return j4=function(c,u){if(s(c))return u?[0,0,192,127]:[127,192,0,0];var d;if(c===0)return d=i(c)?128:0,u?[0,0,0,d]:[d,0,0,0];if(t(c)>o||!n(c))return d=c<0?255:127,u?[0,0,128,d]:[d,128,0,0];var f=c<0?1:0;c=t(c);for(var p=0;c>=2;)p+=1,c/=2;for(;c<1;)p-=1,c*=2;var m=c-1;m*=r(2,23)+.5,m=e(m),p+=127,p<<=23;var h=f<<31|p|m,_=h&255;h>>=8;var g=h&255;h>>=8;var y=h&255;h>>=8;var b=h&255;return u?[_,g,y,b]:[b,y,g,_]},j4}var T4,AH;function v5e(){if(AH)return T4;AH=1;var t=1075,e=54;return T4=function(n){var s="";if(n===0)return s;for(var i=t,o,l=0;l<t;l+=1)if(o=n*2,o>=1?(n=o-1,s+="1",i===t&&(i=l)):(n=o,s+="0"),o===1||l-i>e)return s;return s},T4}var E4,kH;function y5e(){if(kH)return E4;kH=1;var t=Dh();return E4=function(r){for(var n="",s;r>0;)s=r/2,r=t(s),s===r?n="0"+n:n="1"+n;return n},E4}var R4,MH;function b5e(){if(MH)return R4;MH=1;var t=Ks(),e=t("%parseInt%"),r=RA(),n=Dh(),s=moe(),i=vs(),o=i("String.prototype.indexOf"),l=i("String.prototype.slice"),c=v5e(),u=y5e(),d=1023,f="11111111111",p="00000000000",m=p+p+p+p+"0000000";return R4=function(_,g){var y=_<0||s(_)?"1":"0",b,x;if(isNaN(_))b=f,x="1"+m;else if(!isFinite(_))b=f,x="0"+m;else if(_===0)b=p,x="0"+m;else{_=r(_);var w=n(_),C=u(w),k=c(_-w),A;if(C)b=C.length-1;else{var P=o(k,"1");P>-1&&(A=P+1),b=-A}x=C+k,b<0?(b<=-d&&(A=d-1),x=l(x,A)):x=l(x,1),b=l(p+u(b+d),-11),x=l(x+m+"0",0,52)}for(var T=y+b+x,j=[],R=0;R<8;R++){var D=g?8-R-1:R;j[D]=e(l(T,R*8,(R+1)*8),2)}return j},R4}var I4,PH;function x5e(){if(PH)return I4;PH=1;var t=Ks(),e=t("%Number%"),r=t("%BigInt%",!0);return I4=function(s,i,o){var l=typeof s=="bigint"?r:e;s<0&&(s>>>=0);for(var c=[],u=0;u<i;u++)c[o?u:i-1-u]=e(s&l(255)),s>>=l(8);return c},I4}var D4,jH;function S5e(){if(jH)return D4;jH=1;var t=wn(),e=Zie(),r=t5e(),n=r5e(),s=c5e(),i=u5e(),o=d5e(),l=f5e(),c=p5e(),u=m5e(),d=g5e(),f=_5e(),p=b5e(),m=x5e(),h=Mv(),_={__proto__:null,$INT8:o,$UINT8:u,$UINT8C:d,$INT16:s,$UINT16:l,$INT32:i,$UINT32:c,$BIGINT64:r,$BIGUINT64:n};return D4=function(y,b,x){if(typeof y!="string"||!e(h.size,"$"+y))throw new t("Assertion failed: `type` must be a TypedArray element type");if(typeof b!="number"&&typeof b!="bigint")throw new t("Assertion failed: `value` must be a Number or a BigInt");if(typeof x!="boolean")throw new t("Assertion failed: `isLittleEndian` must be a Boolean");if(y==="FLOAT32")return f(b,x);if(y==="FLOAT64")return p(b,x);var w=h.size["$"+y],C=_["$"+y],k=C(b);return m(k,w,x)},D4}var $4,TH;function w5e(){return TH||(TH=1,$4=function(e,r){for(var n=0;n<e.length;n+=1)r(e[n],n,e)}),$4}var O4,EH;function C5e(){if(EH)return O4;EH=1;var t=Ks(),e=zc(),r=wn(),n=$A(),s=t("%Uint8Array%",!0),i=Jie(),o=kv(),l=S5e(),c=Av(),u=z0(),d=Jd(),f=Mv(),p=toe(),m=w5e();return O4=function(_,g,y,b,x,w){var C=u(_);if(!c(_)&&!C)throw new r("Assertion failed: `arrayBuffer` must be an ArrayBuffer or a SharedArrayBuffer");if(!n(g)||g<0)throw new r("Assertion failed: `byteIndex` must be a non-negative integer");if(typeof y!="string"||!d(f.size,"$"+y))throw new r("Assertion failed: `type` must be one of "+f.choices);if(typeof b!="number"&&typeof b!="bigint")throw new r("Assertion failed: `value` must be a Number or a BigInt");if(typeof x!="boolean")throw new r("Assertion failed: `isTypedArray` must be a boolean");if(w!=="SEQ-CST"&&w!=="UNORDERED"&&w!=="INIT")throw new r('Assertion failed: `order` must be `"SEQ-CST"`, `"UNORDERED"`, or `"INIT"`');if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("Assertion failed: `isLittleEndian` must be a boolean, if present");if(o(_))throw new r("Assertion failed: ArrayBuffer is detached");if(i(y)?typeof b!="bigint":typeof b!="number")throw new r("Assertion failed: `value` must be a BigInt if type is ~BIGINT64~ or ~BIGUINT64~, otherwise a Number");var k=f.size["$"+y],A=arguments.length>6?arguments[6]:p==="little",P=l(y,b,A);if(C)throw new e("SharedArrayBuffer is not supported by this implementation");var T=new s(_,g,k);m(P,function(j,R){T[R]=j})},O4}var L4,RH;function A5e(){if(RH)return L4;RH=1;var t=$p(),e=Nh(),r=Oh(),n=tf();return L4=function(i){var o=t(i);return r(o)||o===0?0:n(o)?e(o):o},L4}var N4,IH;function NL(){if(IH)return N4;IH=1;var t=zc(),e=wn(),r=$A(),n=Cv(),s=Mv();return N4=function(o){var l=n(o);if(!l)throw new e("Assertion failed: `O` must be a TypedArray");var c=s.size["$"+s.name["$"+l]];if(!r(c)||c<0)throw new t("Assertion failed: Unknown TypedArray type `"+l+"`");return c},N4}var F4,DH;function k5e(){if(DH)return F4;DH=1;var t=zc(),e=wn(),r=Cv(),n=Mv();return F4=function(i){var o=r(i);if(!o)throw new e("Assertion failed: `O` must be a TypedArray");var l=n.name["$"+o];if(typeof l!="string")throw new t("Assertion failed: Unknown TypedArray type `"+o+"`");return l},F4}var u2={exports:{}},U4,$H;function M5e(){return $H||($H=1,U4=Ks()),U4}var B4,OH;function FL(){if(OH)return B4;OH=1;var t=wn(),e=Jd(),r={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};return B4=function(s){if(!s||typeof s!="object")return!1;for(var i in s)if(e(s,i)&&!r[i])return!1;var o=e(s,"[[Value]]")||e(s,"[[Writable]]"),l=e(s,"[[Get]]")||e(s,"[[Set]]");if(o&&l)throw new t("Property Descriptors may not be both accessor and data descriptors");return!0},B4}var z4,LH;function P5e(){if(LH)return z4;LH=1;var t=IA(),e=F0(),r=t.hasArrayLengthDefineBug(),n=r&&Xie(),s=vs(),i=s("Object.prototype.propertyIsEnumerable");return z4=function(l,c,u,d,f,p){if(!e){if(!l(p)||!p["[[Configurable]]"]||!p["[[Writable]]"]||f in d&&i(d,f)!==!!p["[[Enumerable]]"])return!1;var m=p["[[Value]]"];return d[f]=m,c(d[f],m)}return r&&f==="length"&&"[[Value]]"in p&&n(d)&&d.length!==p["[[Value]]"]?(d.length=p["[[Value]]"],d.length===p["[[Value]]"]):(e(d,f,u(p)),!0)},z4}var q4,NH;function j5e(){return NH||(NH=1,q4=function(e){if(typeof e>"u")return e;var r={};return"[[Value]]"in e&&(r.value=e["[[Value]]"]),"[[Writable]]"in e&&(r.writable=!!e["[[Writable]]"]),"[[Get]]"in e&&(r.get=e["[[Get]]"]),"[[Set]]"in e&&(r.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(r.enumerable=!!e["[[Enumerable]]"]),"[[Configurable]]"in e&&(r.configurable=!!e["[[Configurable]]"]),r}),q4}var V4,FH;function T5e(){if(FH)return V4;FH=1;var t=wn(),e=FL(),r=j5e();return V4=function(s){if(typeof s<"u"&&!e(s))throw new t("Assertion failed: `Desc` must be a Property Descriptor");return r(s)},V4}var H4,UH;function E5e(){if(UH)return H4;UH=1;var t=wn(),e=Jd(),r=FL();return H4=function(s){if(typeof s>"u")return!1;if(!r(s))throw new t("Assertion failed: `Desc` must be a Property Descriptor");return!(!e(s,"[[Value]]")&&!e(s,"[[Writable]]"))},H4}var G4,BH;function hoe(){return BH||(BH=1,G4=EA()),G4}var W4,zH;function R5e(){return zH||(zH=1,W4=function(e){return!!e}),W4}var Y4,qH;function I5e(){if(qH)return Y4;qH=1;var t=Jd(),e=wn(),r=Dp(),n=hoe(),s=R5e();return Y4=function(o){if(!r(o))throw new e("ToPropertyDescriptor requires an object");var l={};if(t(o,"enumerable")&&(l["[[Enumerable]]"]=s(o.enumerable)),t(o,"configurable")&&(l["[[Configurable]]"]=s(o.configurable)),t(o,"value")&&(l["[[Value]]"]=o.value),t(o,"writable")&&(l["[[Writable]]"]=s(o.writable)),t(o,"get")){var c=o.get;if(typeof c<"u"&&!n(c))throw new e("getter must be a function");l["[[Get]]"]=c}if(t(o,"set")){var u=o.set;if(typeof u<"u"&&!n(u))throw new e("setter must be a function");l["[[Set]]"]=u}if((t(l,"[[Get]]")||t(l,"[[Set]]"))&&(t(l,"[[Value]]")||t(l,"[[Writable]]")))throw new e("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return l},Y4}var K4,VH;function D5e(){if(VH)return K4;VH=1;var t=wn(),e=Dp(),r=FL(),n=P5e(),s=T5e(),i=E5e(),o=DA(),l=roe(),c=I5e();return K4=function(d,f,p){if(!e(d))throw new t("Assertion failed: Type(O) is not Object");if(!o(f))throw new t("Assertion failed: P is not a Property Key");var m=r(p)?p:c(p);if(!r(m))throw new t("Assertion failed: Desc is not a valid Property Descriptor");return n(i,l,s,d,f,m)},K4}var HH;function goe(){if(HH)return u2.exports;HH=1;var t=M5e(),e=t("%Reflect.construct%",!0),r=D5e();try{r({},"",{"[[Get]]":function(){}})}catch{r=null}if(r&&e){var n={},s={};r(s,"length",{"[[Get]]":function(){throw n},"[[Enumerable]]":!0}),u2.exports=function(o){try{e(o,s)}catch(l){return l===n}}}else u2.exports=function(o){return typeof o=="function"&&!!o.prototype};return u2.exports}var Q4,GH;function $5e(){if(GH)return Q4;GH=1;var t=Ks(),e=t("%Symbol.species%",!0),r=wn(),n=Dp(),s=goe();return Q4=function(o,l){if(!n(o))throw new r("Assertion failed: Type(O) is not Object");var c=o.constructor;if(typeof c>"u")return l;if(!n(c))throw new r("O.constructor is not an Object");var u=e?c[e]:void 0;if(u==null)return l;if(s(u))return u;throw new r("no constructor found")},Q4}var Z4,WH;function _oe(){if(WH)return Z4;WH=1;var t=wn(),e=vs(),r=e("%ArrayBuffer.prototype.resizable%",!0),n=e("%SharedArrayBuffer.prototype.growable%",!0),s=Av(),i=z0();return Z4=function(l){var c=s(l),u=i(l);if(!c&&!u)throw new t("Assertion failed: `arrayBuffer` must be an ArrayBuffer or SharedArrayBuffer");return c&&r?!r(l):u&&n?!n(l):!0},Z4}var X4,YH;function O5e(){return YH||(YH=1,X4=$A()),X4}var J4,KH;function voe(){if(KH)return J4;KH=1;var t=Jd(),e=Pv(),r=O5e();return J4=function(s){return!!s&&typeof s=="object"&&t(s,"[[Object]]")&&t(s,"[[CachedBufferByteLength]]")&&(r(s["[[CachedBufferByteLength]]"])&&s["[[CachedBufferByteLength]]"]>=0||s["[[CachedBufferByteLength]]"]==="DETACHED")&&e(s["[[Object]]"])},J4}var eE,QH;function L5e(){return QH||(QH=1,eE=Dp()),eE}var tE,ZH;function N5e(){if(ZH)return tE;ZH=1;var t=vs(),e=t("String.prototype.valueOf"),r=function(l){try{return e(l),!0}catch{return!1}},n=t("Object.prototype.toString"),s="[object String]",i=ef()();return tE=function(l){return typeof l=="string"?!0:!l||typeof l!="object"?!1:i?r(l):n(l)===s},tE}var rE,XH;function F5e(){if(XH)return rE;XH=1;var t=vs(),e=t("Number.prototype.toString"),r=function(l){try{return e(l),!0}catch{return!1}},n=t("Object.prototype.toString"),s="[object Number]",i=ef()();return rE=function(l){return typeof l=="number"?!0:!l||typeof l!="object"?!1:i?r(l):n(l)===s},rE}var nE,JH;function U5e(){if(JH)return nE;JH=1;var t=vs(),e=t("Boolean.prototype.toString"),r=t("Object.prototype.toString"),n=function(l){try{return e(l),!0}catch{return!1}},s="[object Boolean]",i=ef()();return nE=function(l){return typeof l=="boolean"?!0:l===null||typeof l!="object"?!1:i?n(l):r(l)===s},nE}var d2={exports:{}},sE,eG;function B5e(){if(eG)return sE;eG=1;var t=typeof BigInt<"u"&&BigInt;return sE=function(){return typeof t=="function"&&typeof BigInt=="function"&&typeof t(42)=="bigint"&&typeof BigInt(42)=="bigint"},sE}var tG;function z5e(){if(tG)return d2.exports;tG=1;var t=B5e()();if(t){var e=BigInt.prototype.valueOf,r=function(s){try{return e.call(s),!0}catch{}return!1};d2.exports=function(s){return s===null||typeof s>"u"||typeof s=="boolean"||typeof s=="string"||typeof s=="number"||typeof s=="symbol"||typeof s=="function"?!1:typeof s=="bigint"?!0:r(s)}}else d2.exports=function(s){return!1};return d2.exports}var iE,rG;function q5e(){if(rG)return iE;rG=1;var t=N5e(),e=F5e(),r=U5e(),n=ioe(),s=z5e();return iE=function(o){if(o==null||typeof o!="object"&&typeof o!="function")return null;if(t(o))return"String";if(e(o))return"Number";if(r(o))return"Boolean";if(n(o))return"Symbol";if(s(o))return"BigInt"},iE}var oE,nG;function V5e(){if(nG)return oE;nG=1;var t=typeof Map=="function"&&Map.prototype?Map:null,e=typeof Set=="function"&&Set.prototype?Set:null,r;t||(r=function(o){return!1});var n=t?Map.prototype.has:null,s=e?Set.prototype.has:null;return!r&&!n&&(r=function(o){return!1}),oE=r||function(o){if(!o||typeof o!="object")return!1;try{if(n.call(o),s)try{s.call(o)}catch{return!0}return o instanceof t}catch{}return!1},oE}var aE,sG;function H5e(){if(sG)return aE;sG=1;var t=typeof Map=="function"&&Map.prototype?Map:null,e=typeof Set=="function"&&Set.prototype?Set:null,r;e||(r=function(o){return!1});var n=t?Map.prototype.has:null,s=e?Set.prototype.has:null;return!r&&!s&&(r=function(o){return!1}),aE=r||function(o){if(!o||typeof o!="object")return!1;try{if(s.call(o),n)try{n.call(o)}catch{return!0}return o instanceof e}catch{}return!1},aE}var lE,iG;function G5e(){if(iG)return lE;iG=1;var t=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,e=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,r;t||(r=function(o){return!1});var n=t?t.prototype.has:null,s=e?e.prototype.has:null;return!r&&!n&&(r=function(o){return!1}),lE=r||function(o){if(!o||typeof o!="object")return!1;try{if(n.call(o,n),s)try{s.call(o,s)}catch{return!0}return o instanceof t}catch{}return!1},lE}var f2={exports:{}},oG;function W5e(){if(oG)return f2.exports;oG=1;var t=Ks(),e=vs(),r=t("%WeakSet%",!0),n=e("WeakSet.prototype.has",!0);if(n){var s=e("WeakMap.prototype.has",!0);f2.exports=function(o){if(!o||typeof o!="object")return!1;try{if(n(o,n),s)try{s(o,s)}catch{return!0}return o instanceof r}catch{}return!1}}else f2.exports=function(o){return!1};return f2.exports}var cE,aG;function Y5e(){if(aG)return cE;aG=1;var t=V5e(),e=H5e(),r=G5e(),n=W5e();return cE=function(i){if(i&&typeof i=="object"){if(t(i))return"Map";if(e(i))return"Set";if(r(i))return"WeakMap";if(n(i))return"WeakSet"}return!1},cE}var uE,lG;function K5e(){if(lG)return uE;lG=1;var t=vs(),e=t("WeakRef.prototype.deref",!0);return uE=typeof WeakRef>"u"?function(n){return!1}:function(n){if(!n||typeof n!="object")return!1;try{return e(n),!0}catch{return!1}},uE}var dE,cG;function Q5e(){if(cG)return dE;cG=1;var t=vs(),e=t("FinalizationRegistry.prototype.register",!0);return dE=e?function(n){if(!n||typeof n!="object")return!1;try{return e(n,{},null),!0}catch{return!1}}:function(n){return!1},dE}var fE,uG;function yoe(){if(uG)return fE;uG=1;var t=function(){return typeof(function(){}).name=="string"},e=Object.getOwnPropertyDescriptor;if(e)try{e([],"length")}catch{e=null}t.functionsHaveConfigurableNames=function(){if(!t()||!e)return!1;var s=e(function(){},"name");return!!s&&!!s.configurable};var r=Function.prototype.bind;return t.boundFunctionsHaveNames=function(){return t()&&typeof r=="function"&&(function(){}).bind().name!==""},fE=t,fE}var pE,dG;function boe(){if(dG)return pE;dG=1;var t=EA(),e=Jd(),r=yoe()(),n=vs(),s=n("Function.prototype.toString"),i=n("String.prototype.match"),o=n("Object.prototype.toString"),l=/^class /,c=function(y){if(t(y)||typeof y!="function")return!1;try{var b=i(s(y),l);return!!b}catch{}return!1},u=/\s*function\s+([^(\s]*)\s*/,d=!(0 in[,]),f="[object Object]",p="[object HTMLAllCollection]",m=Function.prototype,h=function(){return!1};if(typeof document=="object"){var _=document.all;o(_)===o(document.all)&&(h=function(y){if((d||!y)&&(typeof y>"u"||typeof y=="object"))try{var b=o(y);return(b===p||b===f)&&y("")==null}catch{}return!1})}return pE=function(){if(h(this)||!c(this)&&!t(this))throw new TypeError("Function.prototype.name sham getter called on non-function");if(r&&e(this,"name"))return this.name;if(this===m)return"";var y=s(this),b=i(y,u),x=b&&b[1];return x},pE}var mE,fG;function xoe(){if(fG)return mE;fG=1;var t=boe();return mE=function(){return t},mE}var hE,pG;function Z5e(){if(pG)return hE;pG=1;var t=B0().supportsDescriptors,e=yoe()(),r=xoe(),n=Object.defineProperty,s=TypeError;return hE=function(){var o=r();if(e)return o;if(!t)throw new s("Shimming Function.prototype.name support requires ES5 property descriptor support.");var l=Function.prototype;return n(l,"name",{configurable:!0,enumerable:!1,get:function(){var c=o.call(this);return this!==l&&n(this,"name",{configurable:!0,enumerable:!1,value:c,writable:!1}),c}}),o},hE}var gE,mG;function X5e(){if(mG)return gE;mG=1;var t=B0(),e=Ip(),r=boe(),n=xoe(),s=Z5e(),i=e(r);return t(i,{getPolyfill:n,implementation:r,shim:s}),gE=i,gE}var _E,hG;function J5e(){if(hG)return _E;hG=1;var t=vs(),e=OA(),r=e(/^\s*(?:function)?\*/),n=ef()(),s=Lh(),i=t("Object.prototype.toString"),o=t("Function.prototype.toString"),l=function(){if(!n)return!1;try{return Function("return function*() {}")()}catch{}},c;return _E=function(d){if(typeof d!="function")return!1;if(r(o(d)))return!0;if(!n){var f=i(d);return f==="[object GeneratorFunction]"}if(!s)return!1;if(typeof c>"u"){var p=l();c=p?s(p):!1}return s(d)===c},_E}var vE,gG;function eIe(){if(gG)return vE;gG=1;const t=(async function(){}).constructor;return vE=()=>t,vE}var yE,_G;function tIe(){if(_G)return yE;_G=1;var t=vs(),e=OA(),r=t("Object.prototype.toString"),n=t("Function.prototype.toString"),s=e(/^\s*async(?:\s+function(?:\s+|\()|\s*\()/),i=ef()(),o=Lh(),l=eIe();return yE=function(u){if(typeof u!="function")return!1;if(s(n(u)))return!0;if(!i){var d=r(u);return d==="[object AsyncFunction]"}if(!o)return!1;var f=l();return f&&f.prototype===o(u)},yE}var bE,vG;function rIe(){if(vG)return bE;vG=1;var t=q5e(),e=Y5e(),r=Cv(),n=eoe(),s=noe(),i=soe(),o=K5e(),l=Q5e(),c=X5e(),u=J5e(),d=tIe(),f=vs(),p=ef()(),m=p&&Symbol.toStringTag,h=Object,_=f("Promise.prototype.then",!0),g=function(x){if(!x||typeof x!="object"||!_)return!1;try{return _(x,null,function(){}),!0}catch{}return!1},y=function(x){return!!x&&x!=="BigInt"&&x!=="Boolean"&&x!=="Null"&&x!=="Number"&&x!=="String"&&x!=="Symbol"&&x!=="Undefined"&&x!=="Math"&&x!=="JSON"&&x!=="Reflect"&&x!=="Atomics"&&x!=="Map"&&x!=="Set"&&x!=="WeakMap"&&x!=="WeakSet"&&x!=="BigInt64Array"&&x!=="BigUint64Array"&&x!=="Float32Array"&&x!=="Float64Array"&&x!=="Int16Array"&&x!=="Int32Array"&&x!=="Int8Array"&&x!=="Uint16Array"&&x!=="Uint32Array"&&x!=="Uint8Array"&&x!=="Uint8ClampedArray"&&x!=="Array"&&x!=="Date"&&x!=="FinalizationRegistry"&&x!=="Promise"&&x!=="RegExp"&&x!=="WeakRef"&&x!=="Function"&&x!=="GeneratorFunction"&&x!=="AsyncFunction"};return bE=function(x){if(x==null)return x;var w=t(h(x))||e(x)||r(x);if(w)return w;if(n(x))return"Array";if(s(x))return"Date";if(i(x))return"RegExp";if(o(x))return"WeakRef";if(l(x))return"FinalizationRegistry";if(typeof x=="function")return u(x)?"GeneratorFunction":d(x)?"AsyncFunction":"Function";if(g(x))return"Promise";if(m&&m in x){var C=x[m];if(y(C))return C}if(typeof x.constructor=="function"){var k=c(x.constructor);if(y(k))return k}return"Object"},bE}var xE,yG;function nIe(){if(yG)return xE;yG=1;var t=Ks(),e=hoe(),r=L5e(),n=rIe(),s=wn(),i=Lh(),o=ML();return xE=function(c){if(!r(c))throw new s("Reflect.getPrototypeOf called on non-object");if(i)return i(c);var u=n(c);if(u){var d=t("%"+u+".prototype%",!0);if(d)return d}return e(c.constructor)?c.constructor.prototype:c instanceof Object?o.prototype:null},xE}var SE,bG;function Soe(){if(bG)return SE;bG=1;var t=nIe(),e=Lh();return SE=function(){return typeof Reflect=="object"&&Reflect&&Reflect.getPrototypeOf?Reflect.getPrototypeOf:e?function(s){return e(s)}:t},SE}var wE,xG;function UL(){if(xG)return wE;xG=1;var t=kL(),e=Ip(),r=Soe()(),n=N0()(),s={__proto__:null},i=Xd(),o=Object.defineProperty;if(i){var l=function(d){return d.byteOffset};t(n,function(d){if(typeof self[d]=="function"||typeof self[d]=="object"){var f=self[d].prototype,p=i(f,"byteOffset");if(!p){var m=r(f);p=i(m,"byteOffset")}if(p&&p.get)s[d]=e(p.get);else if(o){var h=new self[d](2);p=i(h,"byteOffset"),p&&p.configurable&&o(h,"length",{value:3}),h.length===2&&(s[d]=l)}}})}var c=function(f){var p;return t(s,function(m){if(typeof p!="number")try{var h=m(f);typeof h=="number"&&(p=h)}catch{}}),p},u=Pv();return wE=function(f){return u(f)?c(f):!1},wE}var CE,SG;function woe(){if(SG)return CE;SG=1;var t=Ip(),e=kL(),r=Xd(),n=Pv(),s=Vie(),i=Soe()(),o={__proto__:null},l=Object.defineProperty;if(r){var c=(function(d){return d.length});e(s,function(d){var f=self[d];if(typeof f=="function"||typeof f=="object"){var p=f.prototype,m=r(p,"length");if(!m){var h=i(p);m=r(h,"length")}if(m&&m.get)o["$"+d]=t(m.get);else if(l){var _=new self[d](2);m=r(_,"length"),m&&m.configurable&&l(_,"length",{value:3}),_.length===2&&(o["$"+d]=c)}}})}var u=function(f){var p;return e(o,function(m){if(typeof p!="number")try{var h=m(f);typeof h=="number"&&(p=h)}catch{}}),p};return CE=function(f){return n(f)?u(f):!1},CE}var AE,wG;function BL(){if(wG)return AE;wG=1;var t=wn(),e=kv(),r=_oe(),n=NL(),s=voe(),i=q0(),o=UL(),l=woe();return AE=function(u){if(!s(u))throw new t("Assertion failed: `taRecord` must be a TypedArray With Buffer Witness Record");var d=u["[[Object]]"],f=u["[[CachedBufferByteLength]]"];if(e(i(d))&&f!=="DETACHED")throw new t("Assertion failed: typed array is detached only if the byte length is ~DETACHED~");if(f==="DETACHED")return!0;var p=o(d),m=r(i(d)),h,_=m?l(d):"AUTO";if(_==="AUTO")h=f;else{var g=n(d);h=p+_*g}return p>f||h>f},AE}var kE,CG;function sIe(){if(CG)return kE;CG=1;var t=wn(),e=LL(),r=_oe(),n=BL(),s=NL(),i=voe(),o=q0(),l=UL(),c=woe();return kE=function(d){if(!i(d))throw new t("Assertion failed: `taRecord` must be a TypedArray With Buffer Witness Record");if(n(d))throw new t("Assertion failed: `taRecord` is out of bounds");var f=d["[[Object]]"],p=r(o(f)),m=p?c(f):"AUTO";if(m!=="AUTO")return m;if(p)throw new t("Assertion failed: array buffer is not fixed length");var h=l(f),_=s(f),g=d["[[CachedBufferByteLength]]"];if(g==="DETACHED")throw new t("Assertion failed: typed array is detached");return e((g-h)/_)},kE}var ME,AG;function iIe(){if(AG)return ME;AG=1;var t=wn(),e=kv(),r=Av(),n=z0(),s=Qie(),i=vs(),o=i("SharedArrayBuffer.prototype.byteLength",!0);return ME=function(c,u){var d=n(c);if(!r(c)&&!d)throw new t("Assertion failed: `arrayBuffer` must be an ArrayBuffer or a SharedArrayBuffer");if(u!=="SEQ-CST"&&u!=="UNORDERED")throw new t("Assertion failed: `order` must be ~SEQ-CST~ or ~UNORDERED~");if(e(c))throw new t("Assertion failed: `arrayBuffer` must not be detached");return d?o(c):s(c)},ME}var PE,kG;function oIe(){if(kG)return PE;kG=1;var t=wn(),e=iIe(),r=kv(),n=Pv(),s=q0();return PE=function(o,l){if(!n(o))throw new t("Assertion failed: `obj` must be a Typed Array");if(l!=="SEQ-CST"&&l!=="UNORDERED")throw new t("Assertion failed: `order` must be ~SEQ-CST~ or ~UNORDERED~");var c=s(o),u=r(c)?"DETACHED":e(c,l);return{"[[Object]]":o,"[[CachedBufferByteLength]]":u}},PE}var jE,MG;function Coe(){if(MG)return jE;MG=1;var t=wn(),e=Dp(),r=BL(),n=oIe(),s=Pv();return jE=function(o,l){if(l!=="SEQ-CST"&&l!=="UNORDERED")throw new t("Assertion failed: `order` must be ~SEQ-CST~ or ~UNORDERED~");if(!e(o))throw new t("Assertion failed: `O` must be an Object");if(!s(o))throw new t("Assertion failed: `O` must be a Typed Array");var c=n(o,l);if(r(c))throw new t("`O` must be in-bounds and backed by a non-detached buffer");return c},jE}var TE,PG;function aIe(){if(PG)return TE;PG=1;var t=zc(),e=wn(),r=OL(),n=goe(),s=BL(),i=sIe(),o=Coe(),l=N0()();return TE=function(u,d){if(!n(u))throw new e("Assertion failed: `constructor` must be a constructor");if(!r(d))throw new e("Assertion failed: `argumentList` must be a List");if(l.length===0)throw new t("Assertion failed: Typed Arrays are not supported in this environment");var f;d.length===0?f=new u:d.length===1?f=new u(d[0]):d.length===2?f=new u(d[0],d[1]):f=new u(d[0],d[1],d[2]);var p=o(f,"SEQ-CST");if(d.length===1&&typeof d[0]=="number"){if(s(p))throw new e("new Typed Array is out of bounds");var m=i(p);if(m<d[0])throw new e("`argumentList[0]` must be <= `newTypedArray.length`")}return f},TE}var EE,jG;function lIe(){if(jG)return EE;jG=1;var t=Ks(),e={__proto__:null,$Int8Array:t("%Int8Array%",!0),$Uint8Array:t("%Uint8Array%",!0),$Uint8ClampedArray:t("%Uint8ClampedArray%",!0),$Int16Array:t("%Int16Array%",!0),$Uint16Array:t("%Uint16Array%",!0),$Int32Array:t("%Int32Array%",!0),$Uint32Array:t("%Uint32Array%",!0),$BigInt64Array:t("%BigInt64Array%",!0),$BigUint64Array:t("%BigUint64Array%",!0),$Float16Array:t("%Float16Array%",!0),$Float32Array:t("%Float32Array%",!0),$Float64Array:t("%Float64Array%",!0)};return EE=function(n){return e["$"+n]},EE}var RE,TG;function cIe(){if(TG)return RE;TG=1;var t=zc(),e=wn(),r=Cv(),n=N0()(),s=OL(),i=$5e(),o=aIe(),l=lIe();return RE=function(u,d){if(n.length===0)throw new t("Assertion failed: Typed Arrays are not supported in this environment");var f=r(u);if(!f)throw new e("Assertion failed: exemplar must be a TypedArray");if(!s(d))throw new e("Assertion failed: `argumentList` must be a List");var p=l(f);if(typeof p!="function")throw new t("Assertion failed: `constructor` of `exemplar` ("+f+") must exist. Please report this!");var m=i(u,p);return o(m,d)},RE}var IE,EG;function Aoe(){if(EG)return IE;EG=1;var t=wn(),e=BRe(),r=QRe(),n=kv(),s=jL(),i=TL(),o=ZRe(),l=C5e(),c=A5e(),u=doe(),d=NL(),f=k5e(),p=cIe(),m=Coe(),h=q0(),_=UL();return IE=function(y,b){var x=this;m(x,"SEQ-CST");var w=x.length,C=c(y),k;C===-1/0?k=0:C<0?k=s(w+C,0):k=i(C,w);var A=typeof b>"u"?w:c(b),P;A===-1/0?P=0:A<0?P=s(w+A,0):P=i(A,w);var T=s(P-k,0),j=p(x,[T]);if(T>0){if(n(h(x)))throw new t("Cannot use a Typed Array with an underlying ArrayBuffer that is detached");var R=f(x),D=f(j);if(R===D)for(var O=h(x),N=h(j),F=d(x),U=_(x),z=k*F+U,H=_(j),W=H+T*F;H<W;){var K=r(O,z,"UINT8",!0,"UNORDERED");l(N,H,"UINT8",K,!0,"UNORDERED"),z+=1,H+=1}else for(var q=0;k<P;){var X=u(k),Q=e(x,X);o(j,u(q),Q,!0),k+=1,q+=1}}return j},IE}var DE,RG;function koe(){if(RG)return DE;RG=1;var t=Aoe();return DE=function(){return typeof Uint8Array=="function"&&Uint8Array.prototype.slice||t},DE}var $E,IG;function uIe(){if(IG)return $E;IG=1;var t=B0(),e=Lh(),r=koe();return $E=function(){if(typeof Uint8Array=="function"){var s=r(),i=e(Uint8Array.prototype);t(i,{slice:s},{slice:function(){return i.slice!==s}})}return s},$E}var OE,DG;function dIe(){if(DG)return OE;DG=1;var t=B0(),e=Ip(),r=Aoe(),n=koe(),s=uIe(),i=e(n());return t(i,{getPolyfill:n,implementation:r,shim:s}),OE=i,OE}var LE,$G;function fIe(){if($G)return LE;$G=1;var t=Cv(),e=dIe(),r=Xd();function n(A){return Object.prototype.toString.call(A)}function s(A){return n(A)==="[object Date]"}function i(A){return n(A)==="[object RegExp]"}function o(A){return n(A)==="[object Error]"}function l(A){return n(A)==="[object Boolean]"}function c(A){return n(A)==="[object Number]"}function u(A){return n(A)==="[object String]"}var d=Array.isArray||function(P){return Object.prototype.toString.call(P)==="[object Array]"};function f(A,P){if(A.forEach)return A.forEach(P);for(var T=0;T<A.length;T++)P(A[T],T,A)}var p=Object.keys||function(P){var T=[];for(var j in P)T[T.length]=j;return T},m=Object.prototype.propertyIsEnumerable,h=Object.getOwnPropertySymbols;function _(A){var P=p(A);if(h)for(var T=h(A),j=0;j<T.length;j++)m.call(A,T[j])&&(P[P.length]=T[j]);return P}var g=Object.prototype.hasOwnProperty||function(A,P){return P in A};function y(A,P){if(typeof r!="function")return!0;var T=r(A,P);return!T||!T.writable}function b(A,P){if(typeof A=="object"&&A!==null){var T;if(d(A))T=[];else if(s(A))T=new Date(A.getTime?A.getTime():A);else if(i(A))T=new RegExp(A);else if(o(A))T={message:A.message};else if(l(A)||c(A)||u(A))T=Object(A);else{var j=t(A);if(j)return e(A);if(Object.create&&Object.getPrototypeOf)T=Object.create(Object.getPrototypeOf(A));else if(A.constructor===Object)T={};else{var R=A.constructor&&A.constructor.prototype||A.__proto__||{},D=function(){};D.prototype=R,T=new D}}var O=P.includeSymbols?_:p;return f(O(A),function(N){T[N]=A[N]}),T}return A}var x={__proto__:null};function w(A,P){var T=[],j=[],R=!0,D=arguments.length>2?arguments[2]:x,O=D.includeSymbols?_:p,N=!!D.immutable;return(function F(U){var z=N?b(U,D):U,H={__proto__:null},W=!0,K={node:z,node_:U,path:[].concat(T),parent:j[j.length-1],parents:j,key:T[T.length-1],removedKeys:{__proto__:null},isRoot:T.length===0,level:T.length,circular:null,update:function(Q,Y){K.isRoot||(K.parent.node[K.key]=Q),K.node=Q,Y&&(W=!1)},delete:function(Q){delete K.parent.node[K.key],K.parent.removedKeys[K.key]=!0,Q&&(W=!1)},remove:function(Q){d(K.parent.node)?(K.parent.node.splice(K.key,1),K.parent.removedKeys[K.key]=!0,Q&&(W=!1)):K.delete(Q)},keys:null,before:function(Q){H.before=Q},after:function(Q){H.after=Q},pre:function(Q){H.pre=Q},post:function(Q){H.post=Q},stop:function(){R=!1},block:function(){W=!1}};if(!R)return K;function q(){if(typeof K.node=="object"&&K.node!==null){(!K.keys||K.node_!==K.node)&&(K.keys=O(K.node)),K.isLeaf=K.keys.length===0;for(var Q=0;Q<j.length;Q++)if(j[Q].node_===U){K.circular=j[Q];break}}else K.isLeaf=!0,K.keys=null;K.notLeaf=!K.isLeaf,K.notRoot=!K.isRoot}q();var X=P.call(K,K.node);return X!==void 0&&K.update&&K.update(X),H.before&&H.before.call(K,K.node),W&&(typeof K.node=="object"&&K.node!==null&&!K.circular&&(j[j.length]=K,q(),f(K.keys,function(Q,Y){var Z=Y-1 in K.removedKeys;Z&&(Q=K.keys[Y-1]),T[T.length]=Q,H.pre&&H.pre.call(K,K.node[Q],Q);var re=F(K.node[Q]);N&&g.call(K.node,Q)&&!y(K.node,Q)&&!Z&&(K.node[Q]=re.node),re.isLast=Y===K.keys.length-1,re.isFirst=Y===0,H.post&&H.post.call(K,re),T.pop()}),j.pop()),H.after&&H.after.call(K,K.node)),K})(A).node}function C(A){this.options=arguments.length>1?arguments[1]:x,this.value=A}C.prototype.get=function(A){for(var P=this.value,T=0;P&&T<A.length;T++){var j=A[T];if(!g.call(P,j)||!this.options.includeSymbols&&typeof j=="symbol")return;P=P[j]}return P},C.prototype.has=function(A){var P=this.value;if(!P&&A.length>0)return!1;for(var T=0;P&&T<A.length;T++){var j=A[T];if(!g.call(P,j)||!this.options.includeSymbols&&typeof j=="symbol")return!1;P=P[j]}return!0},C.prototype.set=function(A,P){for(var T=this.value,j=0;j<A.length-1;j++){var R=A[j];g.call(T,R)||(T[R]={}),T=T[R]}return T[A[j]]=P,P},C.prototype.map=function(A){return w(this.value,A,{__proto__:null,immutable:!0,includeSymbols:!!this.options.includeSymbols})},C.prototype.forEach=function(A){return this.value=w(this.value,A,this.options),this.value},C.prototype.reduce=function(A,P){var T=arguments.length===1,j=T?this.value:P;return this.forEach(function(R){(!this.isRoot||!T)&&(j=A.call(this,j,R))}),j},C.prototype.paths=function(){var A=[];return this.forEach(function(){A[A.length]=this.path}),A},C.prototype.nodes=function(){var A=[];return this.forEach(function(){A[A.length]=this.node}),A},C.prototype.clone=function(){var A=[],P=[],T=this.options;return t(this.value)?e(this.value):(function j(R){for(var D=0;D<A.length;D++)if(A[D]===R)return P[D];if(typeof R=="object"&&R!==null){var O=b(R,T);A[A.length]=R,P[P.length]=O;var N=T.includeSymbols?_:p;return f(N(R),function(F){O[F]=j(R[F])}),A.pop(),P.pop(),O}return R})(this.value)};function k(A){var P=arguments.length>1?arguments[1]:x;return new C(A,P)}return f(_(C.prototype),function(A){k[A]=function(P){var T=[].slice.call(arguments,1),j=new C(P);return j[A].apply(j,T)}}),LE=k,LE}var Moe=fIe();const lh=Pi(Moe),pIe="x-ath-obj-id",D6="@default@";function mIe(t){return lh(t).map(function(){if(this.parent){if(this.key==="type"&&Array.isArray(this.node)&&(this.node.includes("string")||this.node.includes("integer")||this.node.includes("number")||this.update(this.node.find(n=>n!=="null"))),this.key==="nullable"&&this.remove(),this.key==="format"&&this.parent.node.type==="integer"&&this.remove(),this.key==="type"&&this.node==="string"&&this.parent.node.enum&&this.remove(),this.key==="uniqueItems"&&(this.parent.node.type==="string"||!this.parent.node.type)&&this.remove(),this.key==="mapping"&&this.remove(),this.key==="default"&&(this.parent.node.type==="string"||this.parent.node.type==="integer"||this.parent.node.type==="number"||this.parent.node.type==="boolean")){const r=`Default: ${this.node}${D6}`;this.parent.update({...this.parent.node,description:`${r}${this.parent.node.description?this.parent.node.description:""}`})}if(this.key==="default"&&this.parent.key!=="properties"&&this.remove(),this.key==="anyOf"&&this.parent.node.discriminator&&(this.parent.update({...this.parent.node,oneOf:this.node}),this.remove()),this.key==="example"&&(this.parent.update({...this.parent.node,examples:[this.node]}),this.remove()),this.key==="minLength"&&this.parent.node.type==="array"&&(this.parent.update({...this.parent.node,minItems:this.node}),this.remove()),this.key==="properties"&&!this.parent.node.type&&!this.parent.node.allOf&&!this.parent.node.oneOf&&!this.parent.node.anyOf&&this.parent.update({...this.parent.node,type:"object"}),this.key==="pattern"&&(this.node==="^([a-zA-Z0-9]{1}[0-9a-zA-Z\\_\\-\\.]{1,14})$"&&this.update("^([a-zA-Z0-9]{1}[0-9a-zA-Z-_.]{1,14})$"),this.node==="^((\\*?)|([a-zA-Z0-9\\*]{1}[0-9a-zA-Z\\_\\-]{1,14})|([a-zA-Z0-9]{1}[0-9a-zA-Z\\_\\-]{0,13}\\*))$"&&this.update("^((\\*?)|([a-zA-Z0-9\\*]{1}[0-9a-zA-Z-_]{1,14})|([a-zA-Z0-9]{1}[0-9a-zA-Z-_]{0,13}\\*))$"),this.node==="^([a-zA-Z0-9\\_]+)$"&&this.update("^([a-zA-Z0-9_]+)$")),this.key==="enum"&&!this.parent.node.default){const r=this.parent.parent?.parent?.parent;if(r?.key==="oneOf"||r?.key==="allOf"||r?.key==="anyOf"){const s=this.node;this.parent.update({...this.parent.node,default:s[0]})}}if(this.key==="items"&&this.parent.node.type==="array"&&(this.parent.node.items.oneOf||this.parent.node.items.anyOf)){if(this.node.oneOf){const r=Ni.orderBy(this.node.oneOf,[n=>n[wC]!==Ud.BASIC]);this.update({...this.node,oneOf:r})}if(this.node.anyOf){const r=Ni.orderBy(this.node.anyOf,[n=>n[wC]!==Ud.BASIC]);this.update({...this.node,anyOf:r})}}this.key==="additionalProperties"&&this.node===!1&&this.parent.parent?.key==="allOf"&&this.remove()}})}async function hIe(t){const e=Ni.cloneDeep(t),n=await new mRe({components:{...e.components},type:"object",properties:{root:e.root}}).resolve(),s=SRe(n.properties.root,{keepNotSupported:["discriminator","deprecated","x-ath-obj-id","x-ath-view-level"]});return delete s.$schema,mIe(s)}const gn=()=>crypto.randomUUID?crypto.randomUUID():("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,t=>(t^crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)),gIe={datePickerFormat:"dd/MM/yyyy",dateFormat:"DD/MM/YYYY",fullDateFormat:"DD/MM/YYYY HH:mm:ss",logDateFormat:"DD/MM/YYYY HH:mm:ss.SSS",time:"HH:mm"},_Ie={datePickerFormat:"MM/dd/yyyy",dateFormat:"MM/DD/YYYY",fullDateFormat:"MM/DD/YYYY HH:mm:ss",logDateFormat:"MM/DD/YYYY HH:mm:ss.SSS",time:"HH:mm"},vIe={short:{year:"numeric",month:"2-digit",day:"2-digit"}},yIe={it:gIe,en:_Ie,dateFormat:vIe},$={...yIe,appBarMobileBreakpoint:730,pageSize:40,pageSizeOptions:[20,40,80,120,160,200],searchParams:{pageSize:"pageSize",paginationToken:"paginationToken"},apis:{authenticationStrategies:{backendList:"/core/pls/api/1/auth/backends",radius:"/core/pls/api/1/auth/backends/radius",ldap:"/core/pls/api/1/auth/backends/ldap",openId:"/core/pls/api/1/auth/backends/openid",authConfiguration:"/core/pls/api/1/auth/config",localRadius:"/core/pls/api/1/auth/backends/local_radius",localLdap:"/core/pls/api/1/auth/backends/local_ldap"},licensing:{host:"/core/licensed/api/1/mgt/host",licenses:"/core/licensed/api/1/mgt/licenses",setLicense:t=>`/core/${t}/api/1/license`,persistLicense:t=>`/core/${t}/api/1/mgmt/config/persist`},boot_config:t=>`/core/${t}/api/1/mgmt/boot_config`,lawful_interception:{keyMaterial:t=>`/core/${t}/api/1/li/keymaterial`},diameter:{status:{connections:t=>`/core/${t}/api/1/diameter/status/connections`,disconnect:t=>`/core/${t}/api/1/diameter/status/connections/disconnect`,peers:t=>`/core/${t}/api/1/diameter/status/peers`}},gtpc:{status:{sockets:t=>`/core/${t}/api/1/gtpc/status/sockets`,peers:t=>`/core/${t}/api/1/gtpc/status/peers`}},denypeer:{status:{gtpc:t=>`/core/${t}/api/1/denypeer/status/gtpc`,flushBlocked:t=>`/core/${t}/api/1/denypeer/status/flush`}},gtpu:{status:{sockets:t=>`/core/${t}/api/1/gtpu/status/sockets`}},gtpPrime:{status:{connections:t=>`/core/${t}/api/1/status/gtpprime/connections`}},ngap:{status:{connections:t=>`/core/${t}/api/1/ngap/status/gnbs`,listeners:t=>`/core/${t}/api/1/ngap/status/listeners`}},pfcp:{status:{sockets:t=>`/core/${t}/api/1/pfcp/status/sockets`,peers:t=>`/core/${t}/api/1/pfcp/status/peers`}},mme:{s1ap:{status:{connections:"/core/mme/api/1/s1ap/status/connections",disconnect:t=>`/core/mme/api/1/s1ap/enb/${t}/disconnect`,reset:t=>`/core/mme/api/1/s1ap/enb/${t}/reset`,listeners:"/core/mme/api/1/s1ap/status/listeners"}},gtpc:{status:{sockets:"/core/mme/api/1/gtpc/status/sockets",peers:"/core/mme/api/1/gtpc/status/peers"}},gtpu:{status:{sockets:"/core/mme/api/1/gtpu/status/sockets"}},sgs:{status:{connections:"/core/mme/api/1/sgs/status/connections"}},sbcap:{status:{connections:"/core/mme/api/1/sbcap/status/connections",listeners:"/core/mme/api/1/sbcap/status/listeners"}},denypeer:{status:{gtpc:"/core/mme/api/1/denypeer/status/gtpc",flush:"/core/mme/api/1/denypeer/status/flush"}},dns:{status:{cache:"/core/mme/api/1/dns/cache",cacheFlush:"/core/mme/api/1/dns/cache/flush"}},imsi:{status:{ue:t=>`/core/mme/api/1/ue/status/imsi/${t}`,disconnect:t=>`/core/mme/api/1/ue/status/imsi/${t}/disconnect`,detach:(t,e)=>`/core/mme/api/1/ue/status/imsi/${t}/detach?reattach=${e}`,purge:(t,e)=>`/core/mme/api/1/ue/status/imsi/${t}/purge?reattach=${e}`}},m3:{status:{connections:"/core/mme/api/1/m3/status/connections"}}},nrf:{profiles:{status:"/core/nrf/api/1/profiles/statuses"},staticProfiles:"/core/nrf/api/1/static_profiles"},cluster:{join:t=>`/core/${t}/api/1/data_layer/cluster/join`,leave:t=>`/core/${t}/api/1/data_layer/cluster/leave`,status:t=>`/core/${t}/api/1/data_layer/cluster/status`},udr:{supis:"/core/udr/api/1/provisioning/supis",supisBulkImport:"/core/udr/api/1/provisioning/bulk_actions/supis",provisionedDataProfiles:"/core/udr/api/1/provisioning/provisioned_data_profiles",policyDataProfiles:"/core/udr/api/1/provisioning/policy_data_profiles",transportKeys:"/core/udr/api/1/provisioning/transport_keys",operatorKeys:"/core/udr/api/1/provisioning/operator_keys",plmns:"/core/udr/api/1/provisioning/plmns",imsPrivateIdentities:"/core/udr/api/1/provisioning/ims_private_identities",imsBasicPrivateIdentities:"/core/udr/api/1/provisioning/ims_basic_private_identities",imsInitialFilters:"/core/udr/api/1/provisioning/ims_initial_filter_criteria",imsApplicationServerAcl:"/core/udr/api/1/provisioning/ims_application_server_acl",imsApplicationServerProfiles:t=>`/core/udr/api/1/provisioning/ims_application_servers_profiles/${t}/service_indications`,imsServiceProfiles:"/core/udr/api/1/provisioning/ims_service_profiles",config:{apply:"/core/udr/api/1/mgmt/config",persist:"/core/udr/api/1/mgmt/config/persist",factory_reset:"/core/udr/api/1/mgmt/config/factory_reset",logs:"/core/udr/api/1/mgmt/config/logs"},status:{imsPrivateIdentities:"/core/udr/api/1/status/ims_private_identities",imsPublicIdentities:"/core/udr/api/1/status/ims_public_identities"},mgmt:{boot_config:"/core/udr/api/1/mgmt/boot_config",restart:"/core/udr/api/1/mgmt/restart"},milenageConstants:"/core/udr/api/1/provisioning/milenage_constants",supiStatus:"/core/udr/api/1/status/supi",mwdStatus:"/core/udr/api/1/status/message_waiting_data"},udm:{homeNetworkKeys:"/core/udm/api/1/provisioning/home_network_keys",supiReAttach:t=>`/core/udm/api/1/status/supis/${t}/reattach`,plmnPrefixes:"/core/udm/api/1/provisioning/plmn_prefixes"},eir:{rules:"/core/eir/api/1/provisioning/equipment_rules",equipmentRuleConfiguration:"/core/eir/api/1/provisioning/equipment_rule_configuration",autorules:"/core/eir/api/1/provisioning/equipment_autorules"},amf:{supis:"/core/amf/api/1/ue/status/supis"},aaa:{radius:{status:"/core/aaa/api/1/radius/status"}},dsm:{zones:"/core/dsm/api/1/zones"},sgwc:{status:t=>t?`/core/sgwc/api/1/status/sessions/${t}`:"/core/sgwc/api/1/status/sessions"},smf:{status:"/core/smf/api/1/status/sm_contexts"},smsf:{smpp:{status:{connections:"/core/smsf/api/1/smpp/status/connections"}},smsBox:{msisdnList:"/core/smsf/api/1/box/list",msisdnMessages:({msisdn:t,direction:e})=>`/core/smsf/api/1/box/${t}/${e}/messages`,messagesCreate:({msisdn:t})=>`/core/smsf/api/1/box/${t}/outbound/messages`,messagesDelete:({msisdn:t,direction:e,message_id:r})=>`/core/smsf/api/1/box/${t}/${e}/messages/${r}`}},upf:{sessions:"/core/upf/api/1/sessions"},backup:{create:t=>`/core/${t}/api/1/data_layer/backups/create`,restore:t=>`/core/${t}/api/1/data_layer/restores/create`,backupSchedules:t=>`/core/${t}/api/1/data_layer/backups/schedules`,restoreSchedules:t=>`/core/${t}/api/1/data_layer/restores/schedules`,update:t=>`/core/${t}/api/1/data_layer/backups/configuration`,download:(t,e)=>`/core/${t}/api/1/data_layer/backups/schedules/${e}/download`},ncm:{status:{interfaces:"/core/ncm/api/1/status/interfaces",neighbors:"/core/ncm/api/1/status/neighbors",routes:"/core/ncm/api/1/status/routes",rules:"/core/ncm/api/1/status/rules",sockets:"/core/ncm/api/1/status/sockets",vrfs:"/core/ncm/api/1/status/vrfs",bird:"/core/ncm/api/1/status/bird",ntp:"/core/ncm/api/1/status/ntp"},network:{neighborsFlush:"/core/ncm/api/1/network/neighbors/flush"}},swUpdate:{upload:"/core/swupdate/upload"},prometheus:{query:t=>`/core/prometheus/api/v1/query?query=${encodeURIComponent(t)}`,query_range:({query:t,startDate:e,endDate:r,step:n="30s"})=>{const s=ai(),i=r??s.toISOString(),o=e??s.subtract({hours:1}).toISOString();return`/core/prometheus/api/v1/query_range?query=${encodeURIComponent(t)}&start=${o}&end=${i}&step=${n}`},config:"/core/pls/api/1/prometheus/config"},pls:{users:"/core/pls/api/1/users",roles:"/core/pls/api/1/roles",tls:{config:"/core/pls/api/1/tls/config",certificates:{client:"/core/pls/api/1/tls/certificates/client",server:"/core/pls/api/1/tls/certificates/server"}},site:{info:"/core/pls/api/1/site/info"},terminal:{files:"/core/pls/api/1/webconsole/files"},configuration:{backup:"/core/pls/api/1/backup/create",restore:"/core/pls/api/1/backup/restore"},bootPartitions:"/core/pls/api/1/system/boot",reboot:"/core/pls/api/1/system/reboot",troubleshootDump:{create:"/core/pls/api/1/troubleshootdump/create",all:"/core/pls/api/1/troubleshootdump/schedules",delete:t=>`/core/pls/api/1/troubleshootdump/schedules/${t}`,get:t=>`/core/pls/api/1/troubleshootdump/schedules/${t}`,download:t=>`/core/pls/api/1/troubleshootdump/${t}/download`}},bulkImportSupisCheck:t=>`/core/udr/api/1/provisioning/bulk_actions/${t}`,getInfo:"/core/pls/api/1/system/info",prometheusQuery:"/core/prometheus/api/v1/query?query={query}",prometheusAlerts:"/core/alertmanager/api/v2/alerts",nfOAS:"/core/{nf}/openapi",nfConfig:"/core/{nf}/api/1/mgmt/config",nfConfigPersist:"/core/{nf}/api/1/mgmt/config/persist",nfConfigFactoryReset:"/core/{nf}/api/1/mgmt/config/factory_reset",nfRestart:"/core/{nf}/api/1/mgmt/restart",shippingConfig:t=>`/core/pls/api/1/${t}/config`,shippingFactoryReset:"/core/pls/api/1/{service}/factory_reset",pcf:{monitoring:{supiInfo:t=>`/core/pcf/api/1/status/supis/${t}`}},gatewayd:{entries:"/gatewayd/entries",machine:"/gatewayd/machine",fields:"/gatewayd/fields",fieldValues:"/gatewayd/fields/{field_name}"},frontend:{config:"/frontend/config",systemTerms:"/frontend/system_terms"}},ws:{swUpdate:"/core/swupdate/ws"},urls:{root:"/",home:"/home",login:"/login",logout:"/logout",profile:"/profile",restart:"/restart",unauthorized:"/unauthorized",docs:"/docs",docsDatasheet:"/docs/documentation/datasheet/html/index.html",docsFeatureDescription:"/docs/documentation/feature-description/html/index.html",docsInstallationGuide:"/docs/documentation/installation-guide/html/index.html",docsMonitoringGuide:"/docs/documentation/monitoring-guide/html/index.html",docsProductDescription:"/docs/documentation/product-description/html/index.html",docsReleaseNotes:"/docs/documentation/release-notes/html/index.html",docsSecurityGuide:"/docs/documentation/security-guide/html/index.html",docsTroubleshootingGuide:"/docs/documentation/troubleshooting-guide/html/index.html",docsUserGuide:"/docs/documentation/user-guide/html/index.html",docsOas:"/docs/OAS",docsOasAaa:"/docs/oas/aaa/index.html",docsOasAmf:"/docs/oas/amf/index.html",docsOasAusf:"/docs/oas/ausf/index.html",docsOasBmsc:"/docs/oas/bmsc/index.html",docsOasChf:"/docs/oas/chf/index.html",docsOasDra:"/docs/oas/dra/index.html",docsOasDsm:"/docs/oas/dsm/index.html",docsOasEir:"/docs/oas/eir/index.html",docsOasLicensed:"/docs/oas/licensed/index.html",docsOasMme:"/docs/oas/mme/index.html",docsOasNcm:"/docs/oas/ncm/index.html",docsOasNrf:"/docs/oas/nrf/index.html",docsOasPcf:"/docs/oas/pcf/index.html",docsOasPls:"/docs/oas/pls/index.html",docsOasSgwc:"/docs/oas/sgwc/index.html",docsOasSmf:"/docs/oas/smf/index.html",docsOasSmsf:"/docs/oas/smsf/index.html",docsOasUdm:"/docs/oas/udm/index.html",docsOasUdr:"/docs/oas/udr/index.html",docsOasUpf:"/docs/oas/upf/index.html",docsOasSwUpdate:"/docs/oas/swupdate/index.html",monitoring:"/monitoring",monitoringSystem:"/grafana/d/QYd9dlPWz/node-exporter-5g?orgId=1&refresh=10s",monitoringCoreStatistics:"/grafana/d/O7EtBSJnz/core-dashboard?orgId=1&refresh=10s",monitoringUeStatus:"/monitoring/ue-status",monitoringUeStatusDetails:"/monitoring/ue-status/:id",monitoringUeStatusDetailsUdmReattach_Action:"/monitoring/ue-status/:id/udm-re-attach",monitoringUeStatusDetailsAmf:"/monitoring/ue-status/:id/amf",monitoringUeStatusDetailsAmfRemove_Action:"/monitoring/ue-status/:id/amf/amf-remove",monitoringUeStatusDetailsSmf:"/monitoring/ue-status/:id/smf",monitoringUeStatusDetailsUpf:"/monitoring/ue-status/:id/upf",monitoringUeStatusDetailsUdr:"/monitoring/ue-status/:id/udr",monitoringUeStatusDetailsMme:"/monitoring/ue-status/:id/mme",monitoringUeStatusDetailsMmeDisconnect_Action:"/monitoring/ue-status/:id/mme/mme-disconnect",monitoringUeStatusDetailsMmeDetach_Action:"/monitoring/ue-status/:id/mme/mme-detach",monitoringUeStatusDetailsMmePurge_Action:"/monitoring/ue-status/:id/mme/mme-purge",monitoringUeStatusDetailsSgwc:"/monitoring/ue-status/:id/sgwc",monitoringUeStatusDetailsPcf:"/monitoring/ue-status/:id/pcf",monitoringAlerts:"/monitoring/alerts",platform:"/platform",platformUsers:"/platform/users",platformUsersEntries:"/platform/users/entries",platformUsersDetails:"/platform/users/:username",platformUsersAudits:"/platform/users/audits/:username",platformUsersCreate_Action:"/platform/users/create",platformUsersUpdate_Action:"/platform/users/update",platformUsersDelete_Action:"/platform/users/delete",platformUsersRevokeTokens_Action:"/platform/users/revoke-tokens",platformUsersPasswordChange_Action:"/platform/users/password-change",platformUsersCurrentUserPasswordChange_Action:"/platform/users/current-user-password-change",platformRoles:"/platform/roles",platformRolesEntries:"/platform/roles/entries",platformRolesDetails:"/platform/roles/:id",platformRolesCreate_Action:"/platform/roles/create",platformRolesUpdate_Action:"/platform/roles/update",platformRolesDelete_Action:"/platform/roles/delete",platformAuthentication:"/platform/auth",platformAuthenticationStrategies:"/platform/auth/strategies",platformAuthenticationAuthConfig:"/platform/auth/auth-config",platformAuthenticationTerms:"/platform/auth/terms",platformAuthenticationBackendsUpdate_Action:"/platform/auth/strategies/backends-update",platformAuthenticationOpenIdConfigUpdate_Action:"/platform/auth/strategies/openid-config-update",platformAuthenticationRadiusConfigUpdate_Action:"/platform/auth/strategies/radius-config-update",platformAuthenticationLdapConfigUpdate_Action:"/platform/auth/strategies/ldap-config-update",platformAuthenticationAuthConfigUpdate_Action:"/platform/auth/auth-config/auth-config-update",platformAuthenticationTermsUpdate_Action:"/platform/auth/terms/system-usage-terms-update",platformTls:"/platform/tls",platformTlsConfigurationUpdate_Action:"/platform/tls/configuration-update",platformTlsClientCertificateUpdate_Action:"/platform/tls/client-certificate-update",platformTlsServerCertificateUpdate_Action:"/platform/tls/server-certificate-update",platformLogShipping:"/platform/log-shipping",platformLogShippingApply_Action:"/platform/log-shipping/apply",platformLogShippingFactoryReset_Action:"/platform/log-shipping/factory-reset",platformKpiShipping:"/platform/kpi-shipping",platformKpiShippingApply_Action:"/platform/kpi-shipping/apply",platformKpiShippingFactoryReset_Action:"/platform/kpi-shipping/factory-reset",platformAlertShipping:"/platform/alert-shipping",platformAlertShippingApply_Action:"/platform/alert-shipping/apply",platformAlertShippingFactoryReset_Action:"/platform/alert-shipping/factory-reset",platformCluster:"/platform/cluster",platformClusterApplyBootConfig_Action:"/platform/cluster/apply-boot-config",platformClusterJoinCluster_Action:"/platform/cluster/join-cluster",platformClusterLeaveCluster_Action:"/platform/cluster/leave-cluster",system:"/system",systemLicensing:"/system/licensing",systemLicensingInstall_Action:"/system/licensing/install",systemLicensingDelete_Action:"/system/licensing/delete",systemBackup:"/system/backup",systemBackupSchedules:"/system/backup/backup-schedules",systemBackupSchedulesConfiguration:"/system/backup/backup-schedules/configuration",systemBackupSchedulesConfigurationBackup_Action:"/system/backup/backup-schedules/configuration/configuration-backup",systemBackupSchedulesNf:"/system/backup/backup-schedules/:nf",systemBackupRestoreSchedulesConfiguration:"/system/backup/restore-schedules/configuration",systemBackupRestoreSchedulesConfigurationRestore_Action:"/system/backup/restore-schedules/configuration/configuration-restore",systemBackupRestoreSchedulesConfigurationBackup_Action:"/system/backup/restore-schedules/configuration/configuration-backup",systemBackupRestoreSchedules:"/system/backup/restore-schedules",systemBackupRestoreSchedulesNf:"/system/backup/restore-schedules/:nf",systemBackupScheduleBackup_Action:"/system/backup/schedule-backup",systemBackupScheduleRestore_Action:"/system/backup/schedule-restore",systemBackupUpdateConfiguration_Action:"/system/backup/update-configuration",systemServices:"/system/services",systemServicesManagement_Action:"/system/services/management",systemUpgrade:"/system/upgrade",systemUpgradeUpload_Action:"/system/upgrade/upload",systemTerminal:"/system/terminal",systemTerminalList:"/system/terminal/list",systemLogs:"/system/logs",systemLogsFollow:"/system/logs/follow",systemLogsEntries:"/system/logs/entries",systemLogsFields:"/system/logs/fields",systemLogsFieldsName:"/system/logs/fields/:field_name",systemLogsConfig:"/system/logs/config",systemLogsConfigUpdate_Action:"/system/logs/config/update",systemLogsCursor:"/system/logs/cursor",systemLogsCursorItem:"/system/logs/cursor/:cursor",systemBootPartitions:"/system/boot-partitions",systemBootPartitionsUpdate_Action:"/system/boot-partitions-update",systemTroubleshootDump:"/system/troubleshoot-dump",systemTroubleshootDumpEntries:"/system/troubleshoot-dump/entries",systemTroubleshootDumpCreate_Action:"/system/troubleshoot-dump/create",systemTroubleshootDumpDelete_Action:"/system/troubleshoot-dump/delete",network:"/network",networkConfiguration:"/network/configuration",networkConfigurationApply_Action:"/network/configuration/apply",networkConfigurationPersist_Action:"/network/configuration/persist",networkConfigurationReload_Action:"/network/configuration/reload",networkConfigurationFactoryReset_Action:"/network/configuration/factory-reset",networkStatus:"/network/status",networkStatusInterfaces:"/network/status/interfaces",networkStatusNeighbors:"/network/status/neighbors",networkStatusNeighborsFlush_Action:"/network/status/neighbors/flush",networkStatusRoutes:"/network/status/routes",networkStatusRules:"/network/status/rules",networkStatusSockets:"/network/status/sockets",networkStatusBird:"/network/status/bird",networkStatusBirdProtocols:"/network/status/bird/protocols",networkStatusBirdBfdSessions:"/network/status/bird/bfd-sessions",aaa:"/aaa",aaaCluster:"/aaa/cluster",aaaClusterApplyBootConfig_Action:"/aaa/cluster/apply-boot-config",aaaConfiguration:"/aaa/configuration",aaaConfigurationApply_Action:"/aaa/configuration/apply",aaaConfigurationPersist_Action:"/aaa/configuration/persist",aaaConfigurationReload_Action:"/aaa/configuration/reload",aaaConfigurationFactoryReset_Action:"/aaa/configuration/factory-reset",aaaStatus:"/aaa/status",aaaStatusRadius:"/aaa/status/radius",amf:"/amf",amfCluster:"/amf/cluster",amfClusterApplyBootConfig_Action:"/amf/cluster/apply-boot-config",amfConfiguration:"/amf/configuration",amfConfigurationApply_Action:"/amf/configuration/apply",amfConfigurationPersist_Action:"/amf/configuration/persist",amfConfigurationReload_Action:"/amf/configuration/reload",amfConfigurationFactoryReset_Action:"/amf/configuration/factory-reset",amfStatus:"/amf/status",amfStatusNgap:"/amf/status/ngap",amfStatusNgapConnections:"/amf/status/ngap/connections",amfStatusNgapConnectionsDelete_Action:"/amf/status/ngap/connections/delete",amfStatusNgapConnectionsReset_Action:"/amf/status/ngap/connections/reset",amfStatusNgapListeners:"/amf/status/ngap/listeners",ausf:"/ausf",ausfCluster:"/ausf/cluster",ausfClusterApplyBootConfig_Action:"/ausf/cluster/apply-boot-config",ausfConfiguration:"/ausf/configuration",ausfConfigurationApply_Action:"/ausf/configuration/apply",ausfConfigurationPersist_Action:"/ausf/configuration/persist",ausfConfigurationReload_Action:"/ausf/configuration/reload",ausfConfigurationFactoryReset_Action:"/ausf/configuration/factory-reset",bmsc:"/bmsc",bmscCluster:"/bmsc/cluster",bmscClusterApplyBootConfig_Action:"/bmsc/cluster/apply-boot-config",bmscConfiguration:"/bmsc/configuration",bmscConfigurationApply_Action:"/bmsc/configuration/apply",bmscConfigurationPersist_Action:"/bmsc/configuration/persist",bmscConfigurationReload_Action:"/bmsc/configuration/reload",bmscConfigurationFactoryReset_Action:"/bmsc/configuration/factory-reset",bmscStatus:"/bmsc/status",bmscStatusDiameter:"/bmsc/status/diameter",bmscStatusDiameterConnections:"/bmsc/status/diameter/connections",bmscStatusDiameterPeers:"/bmsc/status/diameter/peers",bmscStatusGtpc:"/bmsc/status/gtpc",bmscStatusGtpcSockets:"/bmsc/status/gtpc/sockets",bmscStatusGtpcPeers:"/bmsc/status/gtpc/peers",chf:"/chf",chfCluster:"/chf/cluster",chfClusterApplyBootConfig_Action:"/chf/cluster/apply-boot-config",chfConfiguration:"/chf/configuration",chfStatus:"/chf/status",chfStatusDiameter:"/chf/status/diameter",chfStatusDiameterConnections:"/chf/status/diameter/connections",chfStatusDiameterPeers:"/chf/status/diameter/peers",chfStatusGtpPrime:"/chf/status/gtpprime",chfStatusGtpPrimeConnections:"/chf/status/gtpprime/connections",chfConfigurationApply_Action:"/chf/configuration/apply",chfConfigurationPersist_Action:"/chf/configuration/persist",chfConfigurationReload_Action:"/chf/configuration/reload",chfConfigurationFactoryReset_Action:"/chf/configuration/factory-reset",dra:"/dra",draCluster:"/dra/cluster",draClusterApplyBootConfig_Action:"/dra/cluster/apply-boot-config",draConfiguration:"/dra/configuration",draConfigurationApply_Action:"/dra/configuration/apply",draConfigurationPersist_Action:"/dra/configuration/persist",draConfigurationReload_Action:"/dra/configuration/reload",draConfigurationFactoryReset_Action:"/dra/configuration/factory-reset",draStatus:"/dra/status",draStatusDiameter:"/dra/status/diameter",draStatusDiameterConnections:"/dra/status/diameter/connections",draStatusDiameterPeers:"/dra/status/diameter/peers",dsm:"/dsm",dsmConfiguration:"/dsm/configuration",dsmConfigurationApply_Action:"/dsm/configuration/apply",dsmConfigurationPersist_Action:"/dsm/configuration/persist",dsmConfigurationReload_Action:"/dsm/configuration/reload",dsmConfigurationFactoryReset_Action:"/dsm/configuration/factory-reset",dsmZones:"/dsm/zones",dsmZonesEntries:"/dsm/zones/entries",dsmZonesDetail:"/dsm/zones/:server/:name",dsmZonesCreate_Action:"/dsm/zones/create",dsmZonesDelete_Action:"/dsm/zones/delete",dsmZonesDownload:"/dsm/zones/download",dsmCluster:"/dsm/cluster",dsmClusterApplyBootConfig_Action:"/dsm/cluster/apply-boot-config",dsmClusterJoinCluster_Action:"/dsm/cluster/join-cluster",dsmClusterLeaveCluster_Action:"/dsm/cluster/leave-cluster",eir:"/eir",eirConfiguration:"/eir/configuration",eirClusterApplyBootConfig_Action:"/eir/cluster/apply-boot-config",eirConfigurationApply_Action:"/eir/configuration/apply",eirConfigurationPersist_Action:"/eir/configuration/persist",eirConfigurationReload_Action:"/eir/configuration/reload",eirConfigurationFactoryReset_Action:"/eir/configuration/factory-reset",eirCluster:"/eir/cluster",eirClusterJoinCluster_Action:"/eir/cluster/join-cluster",eirClusterLeaveCluster_Action:"/eir/cluster/leave-cluster",eirStatus:"/eir/status",eirStatusDiameter:"/eir/status/diameter",eirStatusDiameterConnections:"/eir/status/diameter/connections",eirStatusDiameterPeers:"/eir/status/diameter/peers",eirRules:"/eir/rules",eirRulesEntries:"/eir/rules/entries",eirRulesDetails:"/eir/rules/:id",eirRulesCreateBulk_Action:"/eir/rules/create-bulk",eirRulesCreate_Action:"/eir/rules/create",eirRulesUpdate_Action:"/eir/rules/update",eirRulesDelete_Action:"/eir/rules/delete",eirRulesEquipmentConfigurationSet:"/eir/rules/equipment-configuration-set",eirAutoRules:"/eir/auto-rules",eirAutorulesEntries:"/eir/auto-rules/entries",eirAutorulesCreateBulk_Action:"/eir/auto-rules/create-bulk",eirAutorulesCreate_Action:"/eir/auto-rules/create",eirAutorulesUpdate_Action:"/eir/auto-rules/update",eirAutorulesDelete_Action:"/eir/auto-rules/delete",mme:"/mme",mmeCluster:"/mme/cluster",mmeClusterApplyBootConfig_Action:"/mme/cluster/apply-boot-config",mmeConfiguration:"/mme/configuration",mmeConfigurationApply_Action:"/mme/configuration/apply",mmeConfigurationPersist_Action:"/mme/configuration/persist",mmeConfigurationReload_Action:"/mme/configuration/reload",mmeConfigurationFactoryReset_Action:"/mme/configuration/factory-reset",mmeLawfulInterception:"/mme/lawful-interception",mmeLawfulInterceptionCreate_Action:"/mme/lawful-interception/create",mmeLawfulInterceptionDelete_Action:"/mme/lawful-interception/delete",mmeStatus:"/mme/status",mmeStatusDiameter:"/mme/status/diameter",mmeStatusDiameterConnections:"/mme/status/diameter/connections",mmeStatusDiameterPeers:"/mme/status/diameter/peers",mmeStatusS1ap:"/mme/status/s1ap",mmeStatusS1apConnections:"/mme/status/s1ap/connections",mmeStatusS1apConnectionsDisconnect:"/mme/status/s1ap/connections/disconnect",mmeStatusS1apConnectionsReset:"/mme/status/s1ap/connections/reset",mmeStatusS1apListeners:"/mme/status/s1ap/listeners",mmeStatusGtpc:"/mme/status/gtpc",mmeStatusGtpcSockets:"/mme/status/gtpc/sockets",mmeStatusGtpcPeers:"/mme/status/gtpc/peers",mmeStatusGtpcBlockedPeers:"/mme/status/gtpc/blocked-peers",mmeStatusGtpcBlockedPeersFlush_Action:"/mme/status/gtpc/blocked-peers/flush",mmeStatusGtpu:"/mme/status/gtpu",mmeStatusGtpuSockets:"/mme/status/gtpu/sockets",mmeStatusSgs:"/mme/status/sgs",mmeStatusSgsConnections:"/mme/status/sgs/connections",mmeStatusSbcap:"/mme/status/sbcap",mmeStatusSbcapConnections:"/mme/status/sbcap/connections",mmeStatusSbcapListeners:"/mme/status/sbcap/listeners",mmeStatusDns:"/mme/status/dns",mmeStatusDnsCache:"/mme/status/dns/cache",mmeStatusDnsCacheFlush:"/mme/status/dns/cache/flush",mmeStatusM3:"/mme/status/m3",mmeStatusM3Connections:"/mme/status/m3/connections",nrf:"/nrf",nrfConfiguration:"/nrf/configuration",nrfConfigurationApply_Action:"/nrf/configuration/apply",nrfConfigurationPersist_Action:"/nrf/configuration/persist",nrfConfigurationReload_Action:"/nrf/configuration/reload",nrfConfigurationFactoryReset_Action:"/nrf/configuration/factory-reset",nrfCluster:"/nrf/cluster",nrfClusterApplyBootConfig_Action:"/nrf/cluster/apply-boot-config",nrfClusterJoinCluster_Action:"/nrf/cluster/join-cluster",nrfClusterLeaveCluster_Action:"/nrf/cluster/leave-cluster",nrfStatus:"/nrf/status",nrfStaticProfiles:"/nrf/static-profiles",nrfStaticProfilesDetails:"/nrf/static-profiles/:id",nrfStaticProfilesCreate_Action:"/nrf/static-profiles/:id/create",nrfStaticProfilesUpdate_Action:"/nrf/static-profiles/:id/update",nrfStaticProfilesDelete_Action:"/nrf/static-profiles/:id/delete",pcf:"/pcf",pcfCluster:"/pcf/cluster",pcfClusterApplyBootConfig_Action:"/pcf/cluster/apply-boot-config",pcfConfiguration:"/pcf/configuration",pcfConfigurationApply_Action:"/pcf/configuration/apply",pcfConfigurationPersist_Action:"/pcf/configuration/persist",pcfConfigurationReload_Action:"/pcf/configuration/reload",pcfConfigurationFactoryReset_Action:"/pcf/configuration/factory-reset",pcfStatus:"/pcf/status",pcfStatusDiameter:"/pcf/status/diameter",pcfStatusDiameterConnections:"/pcf/status/diameter/connections",pcfStatusDiameterPeers:"/pcf/status/diameter/peers",sgwc:"/sgwc",sgwcCluster:"/sgwc/cluster",sgwcClusterApplyBootConfig_Action:"/sgwc/cluster/apply-boot-config",sgwcConfiguration:"/sgwc/configuration",sgwcConfigurationApply_Action:"/sgwc/configuration/apply",sgwcConfigurationPersist_Action:"/sgwc/configuration/persist",sgwcConfigurationReload_Action:"/sgwc/configuration/reload",sgwcConfigurationFactoryReset_Action:"/sgwc/configuration/factory-reset",sgwcStatus:"/sgwc/status",sgwcStatusGtpc:"/sgwc/status/gtpc",sgwcStatusGtpcSockets:"/sgwc/status/gtpc/sockets",sgwcStatusGtpcPeers:"/sgwc/status/gtpc/peers",sgwcStatusPfcp:"/sgwc/status/pfcp",sgwcStatusPfcpSockets:"/sgwc/status/pfcp/sockets",sgwcStatusPfcpPeers:"/sgwc/status/pfcp/peers",smf:"/smf",smfConfiguration:"/smf/configuration",smfConfigurationApply_Action:"/smf/configuration/apply",smfConfigurationPersist_Action:"/smf/configuration/persist",smfConfigurationReload_Action:"/smf/configuration/reload",smfConfigurationFactoryReset_Action:"/smf/configuration/factory-reset",smfStatus:"/smf/status",smfStatusGtpc:"/smf/status/gtpc",smfStatusGtpcSockets:"/smf/status/gtpc/sockets",smfStatusGtpcPeers:"/smf/status/gtpc/peers",smfStatusGtpu:"/smf/status/gtpu",smfStatusGtpuSockets:"/smf/status/gtpu/sockets",smfStatusPfcp:"/smf/status/pfcp",smfStatusPfcpSockets:"/smf/status/pfcp/sockets",smfStatusPfcpPeers:"/smf/status/pfcp/peers",smfLawfulInterception:"/smf/lawful-interception",smfLawfulInterceptionCreate_Action:"/smf/lawful-interception/create",smfLawfulInterceptionDelete_Action:"/smf/lawful-interception/delete",smfCluster:"/smf/cluster",smfClusterApplyBootConfig_Action:"/smf/cluster/apply-boot-config",smsf:"/smsf",smsfConfiguration:"/smsf/configuration",smsfConfigurationApply_Action:"/smsf/configuration/apply",smsfConfigurationPersist_Action:"/smsf/configuration/persist",smsfConfigurationReload_Action:"/smsf/configuration/reload",smsfConfigurationFactoryReset_Action:"/smsf/configuration/factory-reset",smsfCluster:"/smsf/cluster",smsfClusterApplyBootConfig_Action:"/smsf/cluster/apply-boot-config",smsfClusterJoinCluster_Action:"/smsf/cluster/join-cluster",smsfClusterLeaveCluster_Action:"/smsf/cluster/leave-cluster",smsfSmsBox:"/smsf/sms-box",smsfSmsBoxList:"/smsf/sms-box/list",smsfSmsBoxSend_Action:"/smsf/sms-box/send",smsfSmsBoxMsisdn:"/smsf/sms-box/:msisdn",smsfSmsBoxMsisdnDirection:"/smsf/sms-box/:msisdn/:direction",smsfSmsBoxMsisdnDirectionDelete:"/smsf/sms-box/:msisdn/:direction/delete",smsfStatus:"/smsf/status",smsfStatusDiameter:"/smsf/status/diameter",smsfStatusDiameterConnections:"/smsf/status/diameter/connections",smsfStatusDiameterPeers:"/smsf/status/diameter/peers",smsfStatusSmpp:"/smsf/status/smpp",smsfStatusSmppConnections:"/smsf/status/smpp/connections",udm:"/udm",udmConfiguration:"/udm/configuration",udmConfigurationApply_Action:"/udm/configuration/apply",udmConfigurationPersist_Action:"/udm/configuration/persist",udmConfigurationReload_Action:"/udm/configuration/reload",udmConfigurationFactoryReset_Action:"/udm/configuration/factory-reset",udmCluster:"/udm/cluster",udmClusterApplyBootConfig_Action:"/udm/cluster/apply-boot-config",udmClusterJoinCluster_Action:"/udm/cluster/join-cluster",udmClusterLeaveCluster_Action:"/udm/cluster/leave-cluster",udmStatus:"/udm/status",udmStatusDiameter:"/udm/status/diameter",udmStatusDiameterConnections:"/udm/status/diameter/connections",udmStatusDiameterPeers:"/udm/status/diameter/peers",udmHomeNetworkKeys:"/udm/home-network-keys",udmHomeNetworkKeysCreate_Action:"/udm/home-network-keys/create",udmHomeNetworkKeysDelete_Action:"/udm/home-network-keys/delete",udmHomeNetworkKeysUpload_Action:"/udm/home-network-keys/upload",udmPlmnPrefixes:"/udm/plmn-prefixes",udmPlmnPrefix:"/udm/plmn-prefixes/:id",udmPlmnPrefixesCreate_Action:"/udm/plmn-prefixes/create",udmPlmnPrefixesUpdate_Action:"/udm/plmn-prefixes/update",udmPlmnPrefixesDelete_Action:"/udm/plmn-prefixes/delete",udr:"/udr",udrConfiguration:"/udr/configuration",udrConfigurationApply_Action:"/udr/configuration/apply",udrConfigurationPersist_Action:"/udr/configuration/persist",udrConfigurationReload_Action:"/udr/configuration/reload",udrConfigurationFactoryReset_Action:"/udr/configuration/factory-reset",udrCluster:"/udr/cluster",udrClusterApplyBootConfig_Action:"/udr/cluster/apply-boot-config",udrClusterJoinCluster_Action:"/udr/cluster/join-cluster",udrClusterLeaveCluster_Action:"/udr/cluster/leave-cluster",udrPlmns:"/udr/plmns",udrPlmnsCreate_Action:"/udr/plmns/create",udrPlmnsDelete_Action:"/udr/plmns/delete",udrSupis:"/udr/supis",udrSupisUpload_Action:"/udr/supis/upload",udrSupisUploadAsync_Action:"/udr/supis/upload/async/:id",udrSupisDetails:"/udr/supis/:id",udrSupisCreate_Action:"/udr/supis/:id/create",udrSupisUpdate_Action:"/udr/supis/:id/update",udrSupisDelete_Action:"/udr/supis/:id/delete",udrProvisionedDataProfile:"/udr/provisioned-data-profile",udrProvisionedDataProfileDetails:"/udr/provisioned-data-profile/:id",udrProvisionedDataProfileCreate_Action:"/udr/provisioned-data-profile/:id/create",udrProvisionedDataProfileUpdate_Action:"/udr/provisioned-data-profile/:id/update",udrProvisionedDataProfileDelete_Action:"/udr/provisioned-data-profile/:id/delete",udrPolicyDataProfile:"/udr/policy-data-profile",udrPolicyDataProfileDetails:"/udr/policy-data-profile/:id",udrPolicyDataProfileCreate_Action:"/udr/policy-data-profile/:id/create",udrPolicyDataProfileUpdate_Action:"/udr/policy-data-profile/:id/update",udrPolicyDataProfileDelete_Action:"/udr/policy-data-profile/:id/delete",udrImsApplicationServerAcls:"/udr/ims-application-server-acls",udrImsApplicationServerAclsEntries:"/udr/ims-application-server-acls/entries",udrImsApplicationServerAclsDetails:"/udr/ims-application-server-acls/:id",udrImsApplicationServerAclsCreate_Action:"/udr/ims-application-server-acls/create",udrImsApplicationServerAclsUpdate_Action:"/udr/ims-application-server-acls/update",udrImsApplicationServerAclsDelete_Action:"/udr/ims-application-server-acls/delete",udrImsPrivateIdentities:"/udr/ims-private-identities",udrImsPrivateIdentitiesDetails:"/udr/ims-private-identities/:name",udrImsPrivateIdentitiesApplicationServersProfiles:"/udr/ims-private-identities/:name/application-servers-profiles",udrImsPrivateIdentitiesApplicationServersProfilesCreate_Action:"/udr/ims-private-identities/:name/application-servers-profiles/create",udrImsPrivateIdentitiesApplicationServersProfilesUpdate_Action:"/udr/ims-private-identities/:name/application-servers-profiles/update",udrImsPrivateIdentitiesApplicationServersProfilesDelete_Action:"/udr/ims-private-identities/:name/application-servers-profiles/delete",udrImsPrivateIdentitiesEntries:"/udr/ims-private-identities/entries",udrImsPrivateIdentitiesPrivateStatus:"/udr/ims-private-identities/private-status/:name",udrImsPrivateIdentitiesPublicStatus:"/udr/ims-private-identities/public-status/:name",udrImsPrivateIdentitiesCreate_Action:"/udr/ims-private-identities/create",udrImsPrivateIdentitiesCreateBasic_Action:"/udr/ims-private-identities/create-basic",udrImsPrivateIdentitiesUpdate_Action:"/udr/ims-private-identities/update",udrImsPrivateIdentitiesDelete_Action:"/udr/ims-private-identities/delete",udrImsServiceProfiles:"/udr/ims-service-profiles",udrImsServiceProfilesEntries:"/udr/ims-service-profiles/entries",udrImsServiceProfilesDetails:"/udr/ims-service-profiles/:id",udrImsServiceProfilesCreate_Action:"/udr/ims-service-profiles/create",udrImsServiceProfilesUpdate_Action:"/udr/ims-service-profiles/update",udrImsServiceProfilesDelete_Action:"/udr/ims-service-profiles/delete",udrImsInitialFilters:"/udr/ims-initial-filters",udrImsInitialFiltersEntries:"/udr/ims-initial-filters/entries",udrImsInitialFiltersDetails:"/udr/ims-initial-filters/:id",udrImsInitialFiltersCreate_Action:"/udr/ims-initial-filters/create",udrImsInitialFiltersUpdate_Action:"/udr/ims-initial-filters/update",udrImsInitialFiltersDelete_Action:"/udr/ims-initial-filters/delete",udrTransportKeys:"/udr/transport-keys",udrTransportKeysEntries:"/udr/transport-keys/entries",udrTransportKeysDetails:"/udr/transport-keys/:id",udrTransportKeysCreate_Action:"/udr/transport-keys/create",udrTransportKeysUpdate_Action:"/udr/transport-keys/update",udrTransportKeysDelete_Action:"/udr/transport-keys/delete",udrOperatorCodes:"/udr/operator-codes",udrOperatorCodesEntries:"/udr/operator-codes/entries",udrOperatorCodesDetails:"/udr/operator-codes/:id",udrOperatorCodesCreate_Action:"/udr/operator-codes/create",udrOperatorCodesUpdate_Action:"/udr/operator-codes/update",udrOperatorCodesDelete_Action:"/udr/operator-codes/delete",udrCustomMilenageConstants:"/udr/custom-milenage-constants",udrCustomMilenageConstantsUpdate_Action:"/udr/custom-milenage-constants/update",udrCustomMilenageConstantsDelete_Action:"/udr/custom-milenage-constants/delete",upf:"/upf",upfCluster:"/upf/cluster",upfClusterApplyBootConfig_Action:"/upf/cluster/apply-boot-config",upfConfiguration:"/upf/configuration",upfConfigurationApply_Action:"/upf/configuration/apply",upfConfigurationPersist_Action:"/upf/configuration/persist",upfConfigurationReload_Action:"/upf/configuration/reload",upfConfigurationFactoryReset_Action:"/upf/configuration/factory-reset",upfStatus:"/upf/status",upfStatusPfcp:"/upf/status/pfcp",upfStatusPfcpSockets:"/upf/status/pfcp/sockets",upfStatusPfcpPeers:"/upf/status/pfcp/peers",upfStatusGtpu:"/upf/status/gtpu",upfStatusGtpuSockets:"/upf/status/gtpu/sockets",upfLawfulInterception:"/upf/lawful-interception",upfLawfulInterceptionCreate_Action:"/upf/lawful-interception/create",upfLawfulInterceptionDelete_Action:"/upf/lawful-interception/delete",siteLoader:"/site-loader"},localStorage:{scrollRestore:"EMS-SCROLL-RESTORE",themeMode:"EMS-THEME-MODE",restart:"EMS-RESTART"},regex:{"3gppChargingCharacteristics":"[0-9A-F]{4}",apnOi:"^([a-zA-Z0-9]\\.|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]\\.)*mnc[0-9]{3}\\.mcc[0-9]{3}\\.gprs$",descriptionRm:"^[ -~]{1,128}$",ecX25519PrivateKey:"^[a-fA-F0-9]{64}$",ecX25519PublicKey:"^[a-fA-F0-9]{64}$",gpsi:"^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+)$",idString:"^[0-9a-zA-Z\\-_]{1,64}$",imsi:"^imsi-[0-9]{5,15}$",ipv4v6Addr:"^((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?)))$",ipv4Addr:"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$",ipv6Addr:"^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$",ipv4Mask:"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\\/([0-9]|[1-2][0-9]|3[0-2]))$",ipv6Prefix:"^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))(\\/.+)$",mcc:"^[0-9]{3}$",milenageConstantC:"^[a-fA-F0-9]{32}$",mnc:"^[0-9]{2,3}$",msisdn:"^[0-9]{1,15}$",msisdnForSmsBox:"^[1-9][0-9]{1,14}$",nai:"^nai-(.+@.+[.].+)$",operatorKey:"^[a-fA-F0-9]{32}$",patches:"^\\/(?<pattern>.+)\\/data\\/smData\\/\\[singleNssai=(?<json>.+)]\\/dnnConfigurations\\/(?<dnn>.+)\\/(?<field>.+)",plmnStr:"^\\d{5,6}$",plmnRuleStr:"^(\\d{5,6}|\\*|\\d{3}\\*)$",plmnVisited:"^[0-9]{5,6}$",regionalSubscriptionZoneCodes:"^[0-9A-Fa-f]{4}$",sd:"^[a-f0-9]{6}$",secp256r1PrivateKey:"^[a-fA-F0-9]{64}$",secp256r1PublicKey:"^[a-fA-F0-9]{130}$",supi:"^(imsi-[0-9]{5,15}|nai-.+|gci-.+|gli-.+)$",supiTag:"^[a-fA-F0-9]{2,32}$",tac:"(^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$)",uuid:"^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$",plmnPrefix:"^\\d{3,5}$",url:"(https?:\\/\\/(?:www\\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\\.[^\\s]{2,}|www\\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\\.[^\\s]{2,}|https?:\\/\\/(?:www\\.|(?!www))[a-zA-Z0-9]+\\.[^\\s]{2,}|www\\.[a-zA-Z0-9]+\\.[^\\s]{2,})",specialCharacters:"^[^a-zA-Z0-9]+$"},errorKey:"ERR",polling:{default:5e3,alerts:1e4,monitoring:15e3,bootstrap:6e3},idleTime:{promptTimeout_s:30},bootstrapRetryAttempts:10,monitoring:{clusters:[ue.EIR,ue.DSM,ue.NRF,ue.SMSF,ue.UDM,ue.UDR,ue.PLS]}};function bIe(){const t=localStorage.getItem($.localStorage.scrollRestore);return t?(Poe(),parseFloat(t)):null}function xIe(t){localStorage.setItem($.localStorage.scrollRestore,t.toString())}function Poe(){localStorage.removeItem($.localStorage.scrollRestore)}function SIe(t){localStorage.setItem($.localStorage.themeMode,t)}function wIe(){return localStorage.getItem($.localStorage.themeMode)}function CIe(){localStorage.removeItem($.localStorage.themeMode)}function AIe(t){localStorage.setItem(O0,t),dispatchEvent(new CustomEvent("node-change"))}function kIe(){try{const t=localStorage.getItem(O0);return t||void 0}catch(t){console.error("Cannot get site node from local storage",t)}}function MIe(){localStorage.removeItem(O0)}function PIe(){localStorage.setItem($.localStorage.restart,"true")}function jIe(){return localStorage.getItem($.localStorage.restart)}function TIe(){localStorage.removeItem($.localStorage.restart)}const Ji={getScrollRestore:bIe,setScrollRestore:xIe,deleteScrollRestore:Poe,setThemeMode:SIe,getThemeMode:wIe,deleteThemeMode:CIe,setSiteNode:AIe,getSiteNode:kIe,deleteSiteNode:MIe,setRestartStatus:PIe,getRestartStatus:jIe,deleteRestartStatus:TIe},EIe={},OG=t=>{let e;const r=new Set,n=(d,f)=>{const p=typeof d=="function"?d(e):d;if(!Object.is(p,e)){const m=e;e=f??(typeof p!="object"||p===null)?p:Object.assign({},e,p),r.forEach(h=>h(e,m))}},s=()=>e,c={setState:n,getState:s,getInitialState:()=>u,subscribe:d=>(r.add(d),()=>r.delete(d)),destroy:()=>{(EIe?"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."),r.clear()}},u=e=t(n,s,c);return c},RIe=t=>t?OG(t):OG;var NE={exports:{}},FE={},UE={exports:{}},BE={};var LG;function IIe(){if(LG)return BE;LG=1;var t=Ph();function e(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var r=typeof Object.is=="function"?Object.is:e,n=t.useState,s=t.useEffect,i=t.useLayoutEffect,o=t.useDebugValue;function l(f,p){var m=p(),h=n({inst:{value:m,getSnapshot:p}}),_=h[0].inst,g=h[1];return i(function(){_.value=m,_.getSnapshot=p,c(_)&&g({inst:_})},[f,m,p]),s(function(){return c(_)&&g({inst:_}),f(function(){c(_)&&g({inst:_})})},[f]),o(m),m}function c(f){var p=f.getSnapshot;f=f.value;try{var m=p();return!r(f,m)}catch{return!0}}function u(f,p){return p()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:l;return BE.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:d,BE}var NG;function DIe(){return NG||(NG=1,UE.exports=IIe()),UE.exports}var FG;function $Ie(){if(FG)return FE;FG=1;var t=Ph(),e=DIe();function r(u,d){return u===d&&(u!==0||1/u===1/d)||u!==u&&d!==d}var n=typeof Object.is=="function"?Object.is:r,s=e.useSyncExternalStore,i=t.useRef,o=t.useEffect,l=t.useMemo,c=t.useDebugValue;return FE.useSyncExternalStoreWithSelector=function(u,d,f,p,m){var h=i(null);if(h.current===null){var _={hasValue:!1,value:null};h.current=_}else _=h.current;h=l(function(){function y(k){if(!b){if(b=!0,x=k,k=p(k),m!==void 0&&_.hasValue){var A=_.value;if(m(A,k))return w=A}return w=k}if(A=w,n(x,k))return A;var P=p(k);return m!==void 0&&m(A,P)?(x=k,A):(x=k,w=P)}var b=!1,x,w,C=f===void 0?null:f;return[function(){return y(d())},C===null?void 0:function(){return y(C())}]},[d,f,p,m]);var g=s(u,h[0],h[1]);return o(function(){_.hasValue=!0,_.value=g},[g]),c(g),g},FE}var UG;function OIe(){return UG||(UG=1,NE.exports=$Ie()),NE.exports}var LIe=OIe();const NIe=Pi(LIe),joe={},{useDebugValue:FIe}=Yn,{useSyncExternalStoreWithSelector:UIe}=NIe;let BG=!1;const BIe=t=>t;function zIe(t,e=BIe,r){(joe?"production":void 0)!=="production"&&r&&!BG&&(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"),BG=!0);const n=UIe(t.subscribe,t.getState,t.getServerState||t.getInitialState,e,r);return FIe(n),n}const zG=t=>{(joe?"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"?RIe(t):t,r=(n,s)=>zIe(e,n,s);return Object.assign(r,e),r},Toe=t=>t?zG(t):zG,$6="libId-dialog",qIe={themeMode:Ji.getThemeMode()??"system",navigation:!0,navigationSubListOpen:[],snackbarState:null,snackbarOpen:!1,popoverState:null,popoverOpen:!1,menuState:null,menuOpen:!1,drawerState:null,drawerOpen:!1,dialogs:[],dialogsOpen:[],confirmationDialogState:null,confirmationDialogOpen:!1,confirmationSimpleDialogState:null,confirmationSimpleDialogOpen:!1},Nr=Toe(t=>({...qIe,setThemeMode:e=>{e==="system"?Ji.deleteThemeMode():Ji.setThemeMode(e),t({themeMode:e})},setNavigation:e=>{t({navigation:e})},setNavigationSubListOpen:e=>{t(r=>{const n=r.navigationSubListOpen;return n.includes(e)?{navigationSubListOpen:n.filter(s=>s!==e)}:{navigationSubListOpen:[...n,e]}})},setSnackbarState:e=>{t({snackbarState:e,snackbarOpen:!0})},setSnackbarClose:()=>{t({snackbarState:null,snackbarOpen:!1})},setPopoverState:e=>{t({popoverState:e,popoverOpen:!0})},setPopoverClose:()=>{t({popoverState:null,popoverOpen:!1})},setMenuState:e=>{t({menuState:e,menuOpen:!0})},setMenuClose:()=>{t({menuState:null,menuOpen:!1})},setDrawerState:e=>{t({drawerState:e,drawerOpen:!0})},setDrawerClose:()=>{t({drawerState:null,drawerOpen:!1})},setDialogs:e=>{t(r=>{const n=r.dialogs,s=r.dialogsOpen,i={...e,id:e.id||$6};return n.find(o=>o?.id===i.id)?{dialogsOpen:[...s.filter(o=>o!==i.id),i.id]}:{dialogs:[...n,i],dialogsOpen:[...s,i.id]}})},setDialogsClose:(e=$6)=>{t(r=>{const n=r.dialogs,s=r.dialogsOpen;return{dialogs:n.filter(i=>i.id!==e),dialogsOpen:s.filter(i=>e!==i)}})},setConfirmationDialog:e=>{t({confirmationDialogState:e,confirmationDialogOpen:!0})},setConfirmationDialogClose:()=>{t({confirmationDialogState:null,confirmationDialogOpen:!1})},setConfirmationSimpleDialog:e=>{t({confirmationSimpleDialogState:e,confirmationSimpleDialogOpen:!0})},setConfirmationSimpleDialogClose:()=>{t({confirmationSimpleDialogState:null,confirmationSimpleDialogOpen:!1})}})),VIe={hpe:{color:{background:{default:"#1d1f27",back:"#1d1f27",contrast:"rgba(255, 255, 255, 0.06)","contrast-hover":"rgba(255, 255, 255, 0.1)",warning:"#3c361e",ok:"#093d32",critical:"#552120",unknown:"rgba(255, 255, 255, 0.06)","neutral-xstrong":"#f7f7f7","neutral-xstrong-hover":"#e6e8e9"},text:{default:"#e6e8e9",strong:"#ffffff",primary:"#05cc93",onStrong:"#292d3a"},icon:{critical:"#fc6161",ok:"#05cc93",warning:"#ec8c25",unknown:"#7d8a92"},decorative:{purple:"#7764fc",blue:"#0070f8"}}}},HIe={hpe:{color:{background:{default:"#ffffff",back:"#f7f7f7",contrast:"rgba(0, 0, 0, 0.04)","contrast-hover":"rgba(0, 0, 0, 0.08)",warning:"#fff3dd",ok:"#d1ffee",critical:"#ffecec",unknown:"rgba(0, 0, 0, 0.04)","neutral-xstrong":"#292d3a","neutral-xstrong-hover":"#3e4550"},text:{default:"#3e4550",strong:"#292d3a",primary:"#006750",onStrong:"#ffffff"},icon:{critical:"#ec3331",ok:"#009a71",warning:"#d36d00",unknown:"#606a70"},decorative:{purple:"#7764fc",blue:"#0070f8"}}}},GIe={hpe:{radius:{xsmall:"6px",medium:"12px"}}},WIe=Ce,Ic=br,YIe=["#0070f8","#009a71","#7764fc","#003cae","#cc54a4","#04909d","#6c2b7c","#d25f4b"],KIe=["#65aef9","#00e0af","#9b84fc","#0070f8","#cc54a4","#00dbe4","#c98ad4","#e5786a"];function O6(t){return t==="light"?KIe:YIe}function by(t){return O6(t)[0]}function QIe(t){const e=HIe.hpe.color,r=VIe.hpe.color,n=GIe.hpe;let s=Fb({typography:{fontFamily:"Graphik, Arial, sanf-serif",fontSize:14},shape:{borderRadius:6},palette:{mode:t,...t==="light"?{primary:{main:e.text.primary},error:{main:e.icon.critical},info:{main:e.icon.unknown},warning:{main:e.icon.warning},success:{main:e.icon.ok},background:{default:e.background.back,paper:e.background.default},action:{active:"rgba(0, 0, 0, 0.87)"},text:{primary:e.text.strong,secondary:e.text.default}}:{primary:{main:r.text.primary},error:{main:r.icon.critical},info:{main:r.icon.unknown},warning:{main:r.icon.warning},success:{main:r.icon.ok},background:{default:r.background.back,paper:r.background.default},action:{active:"rgba(255, 255, 255, 0.87)"},text:{primary:r.text.strong,secondary:r.text.default}}},components:{MuiCssBaseline:{styleOverrides:i=>({"& ::highlight(search)":{backgroundColor:i.palette.primary.main,color:i.palette.primary.contrastText}})},MuiTypography:{styleOverrides:{root:()=>({variants:[{props:{variant:"h6"},style:{fontSize:"1.125rem",lineHeight:"1.5rem"}},{props:{variant:"h5"},style:{fontSize:"1.2rem",lineHeight:"1.3rem"}}]})}},MuiPaper:{styleOverrides:{root:()=>({borderRadius:n.radius.medium})}},MuiAccordion:{styleOverrides:{root:()=>({borderRadius:n.radius.medium})}},MuiAlert:{styleOverrides:{root:()=>({borderRadius:n.radius.xsmall,variants:[{props:{severity:"info"},style:{backgroundColor:t==="light"?e.background.unknown:r.background.unknown}},{props:{severity:"error"},style:{backgroundColor:t==="light"?e.background.critical:r.background.critical}},{props:{severity:"warning"},style:{backgroundColor:t==="light"?e.background.warning:r.background.warning}},{props:{severity:"success"},style:{backgroundColor:t==="light"?e.background.ok:r.background.ok}}]})}},MuiDrawer:{styleOverrides:{paper:()=>({borderRadius:0})}},MuiAppBar:{styleOverrides:{root:()=>({borderRadius:0})}},MuiButton:{styleOverrides:{root:({ownerState:i,theme:o})=>({fontWeight:"600",...i.variant==="outlined"&&{backgroundColor:"transparent",color:o.palette.text.primary,borderWidth:"2px !important"},...i.size==="small"&&{height:"30px"},...i.size==="medium"&&{height:"36px"},...i.size==="large"&&{height:"48px"},variants:[{props:{variant:"contained"},style:{backgroundColor:t==="light"?e.background["neutral-xstrong"]:r.background["neutral-xstrong"],color:t==="light"?e.text.onStrong:r.text.onStrong,"&:hover":{backgroundColor:t==="light"?e.background["neutral-xstrong-hover"]:r.background["neutral-xstrong-hover"]}}},{props:{variant:"outlined"},style:{backgroundColor:t==="light"?e.background.contrast:r.background.contrast,color:t==="light"?e.text.strong:r.text.strong,border:"0 !important","&:hover":{backgroundColor:t==="light"?e.background["contrast-hover"]:r.background["contrast-hover"]}}},{props:{variant:"text"},style:{color:t==="light"?e.text.strong:r.text.strong,"&:hover":{backgroundColor:t==="light"?e.background["contrast-hover"]:r.background["contrast-hover"]}}}]})}},MuiToggleButton:{styleOverrides:{root:()=>({fontWeight:"500",padding:"0px 12px","&.Mui-selected":{fontWeight:"600"},variants:[{props:{size:"small"},style:{height:"30px !important"}},{props:{size:"medium"},style:{height:"36px !important"}},{props:{size:"large"},style:{height:"48px !important"}}]})}},MuiTableCell:{styleOverrides:{root:{wordBreak:"keep-all",whiteSpace:"pre-line"}}},MuiTableSortLabel:{styleOverrides:{root:{whiteSpace:"nowrap"}}},MuiDialogTitle:{styleOverrides:{root:{padding:"8px 16px"}}},MuiDialogContent:{styleOverrides:{root:{padding:"12px 16px 16px"}}},MuiDialogActions:{styleOverrides:{root:{padding:"4px 16px 16px"}}},MuiFormControl:{styleOverrides:{root:{marginTop:"4px"}}},MuiSelect:{defaultProps:{size:"small"}},MuiInputLabel:{styleOverrides:{root:{variants:[{props:{shrink:!1},style:{transform:"translate(14px, 9px) scale(1)"}}]}}},MuiInputBase:{defaultProps:{size:"small"}}}});return s=Fb(s,{palette:{boy:s.palette.augmentColor({color:{main:t==="light"?e.decorative.blue:r.decorative.blue},name:"boy"}),girl:s.palette.augmentColor({color:{main:t==="light"?e.decorative.purple:r.decorative.purple},name:"girl"}),openid:s.palette.augmentColor({color:{main:"#f7931e"},name:"openid"})}}),s}function ZIe(t){const e=he.c(6),{children:r}=t,n=Nr(XIe),s=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",i=n==="system"?s:n;let o;e[0]!==i?(o=QIe(i),e[0]=i,e[1]=o):o=e[1];const l=o;let c;e[2]===Symbol.for("react.memo_cache_sentinel")?(c=a.jsx(zPe,{enableColorScheme:!0}),e[2]=c):c=e[2];let u;return e[3]!==r||e[4]!==l?(u=a.jsxs(dye,{theme:l,children:[c,r]}),e[3]=r,e[4]=l,e[5]=u):u=e[5],u}function XIe(t){return t.themeMode}function JIe(t){const e=he.c(2),{children:r}=t;let n;return e[0]!==r?(n=a.jsx(ZIe,{children:r}),e[0]=r,e[1]=n):n=e[1],n}function Jt(){const t=he.c(15),e=Nr(pDe),r=Nr(fDe),n=Nr(dDe),s=Nr(uDe),i=Nr(cDe),o=Nr(lDe),l=Nr(aDe),c=Nr(oDe),u=Nr(iDe),d=Nr(sDe),f=Nr(nDe),p=Nr(rDe),m=Nr(tDe),h=Nr(eDe);let _;return t[0]!==o||t[1]!==m||t[2]!==l||t[3]!==h||t[4]!==i||t[5]!==p||t[6]!==e||t[7]!==d||t[8]!==n||t[9]!==c||t[10]!==s||t[11]!==u||t[12]!==r||t[13]!==f?(_={dialogOpen:i,dialogClose:p,drawerOpen:e,drawerClose:d,menuOpen:n,menuClose:c,snackbarOpen:r,snackbarClose:f,popoverOpen:s,popoverClose:u,confirmationDialogOpen:o,confirmationDialogClose:m,confirmationSimpleDialogOpen:l,confirmationSimpleDialogClose:h},t[0]=o,t[1]=m,t[2]=l,t[3]=h,t[4]=i,t[5]=p,t[6]=e,t[7]=d,t[8]=n,t[9]=c,t[10]=s,t[11]=u,t[12]=r,t[13]=f,t[14]=_):_=t[14],_}function eDe(t){return t.setConfirmationSimpleDialogClose}function tDe(t){return t.setConfirmationDialogClose}function rDe(t){return t.setDialogsClose}function nDe(t){return t.setSnackbarClose}function sDe(t){return t.setDrawerClose}function iDe(t){return t.setPopoverClose}function oDe(t){return t.setMenuClose}function aDe(t){return t.setConfirmationSimpleDialog}function lDe(t){return t.setConfirmationDialog}function cDe(t){return t.setDialogs}function uDe(t){return t.setPopoverState}function dDe(t){return t.setMenuState}function fDe(t){return t.setSnackbarState}function pDe(t){return t.setDrawerState}const mDe="Services Status",hDe={"app.title":"Athonet","errors.drawer.title":"Errors","errors.drawer.actions.delete":"Delete","menu.version":"Version: {version}","menu.info.version":"version","menu.info.product_name":"product","menu.info.hostname":"hostname","common.form.add":"Add","common.form.submit":"Submit","common.form.continue":"Continue","common.form.close":"Close","common.form.cancel":"Cancel","common.new":"New","common.add":"Add","common.delete":"Delete","common.download":"Download","common.upload":"Upload","common.select_all":"Select all","common.save":"Save","common.edit":"Edit","common.view":"View","common.reset":"Reset","common.confirm":"Confirm","common.button.edit":"Edit","common.button.delete":"Delete","common.button.import":"Import","common.dropzone.previewText":"Selected files","common.dropzone.uploadLabel":"Drag and drop a file here or click","common.form.submit.error":"Error sending data: {description}","common.form.dirty":"(data has been modified!)","common.form.unit":"Unit","common.pagenotfound":"Page not found","common.reload":"Reload","common.status_error.title":"Error","common.status_error.message":"Something went wrong","common.status_error.fetch":"Error fetching data","common.status_error.service_unavailable":"Service is currently unavailable (unavailable services: {services})","common.status_error.service_unavailable_no_info":"Service is currently unavailable","common.alerts":"Alerts","common.terminal":"Terminal","common.logs":"Logs","common.no-data":"No data to display","common.backup":"Backup","common.restore":"Restore","common.remove":"Remove","common.update":"Update","common.or":"or","common.enabled":"Enabled","common.empty":"Empty","common.current":"current","route.errors.route_not_managed":"Permissions for route {path} are not managed","delete.form.title":"Delete","delete.form.text":"Are you sure to delete the element?","info_dialog.close":"Close","confirm_dialog.title":"Confirm","confirm_dialog.cancel":"Cancel","confirm_dialog.ok":"Ok","bad_request.message":"Invalid request!","unauthorized.message":"You are not authorized to view this content (required permissions: {permissions}).","unauthorized.forbidden":"You are not allowed to proceed","unauthorized.forbidden_with_permissions":"You are not allowed to proceed (required permissions: {permissions})","service_down.message":"This service is down or stopped!","dynamic.table.create_row.form.title":"Create new {value} element","dynamic.table.edit_row.form.title":"Edit {value} element","dynamic.table.edit_row":"Edit row","dynamic.table.delete_row":"Delete row","dynamic.button.confirmation.prompt":"Do you want to proceed?","dynamic.button.confirmation.cancel":"No","dynamic.button.confirmation.confirm":"Yes","dynamic.field.notset":"(not set)","dynamic.error":"Error loading page!","dynamic.message.cannot_write":"You are not able to edit configuration because you don't have the write permission","validation.required":"Required field","validation.no_wildcard_when_default_dnn":"* is not allowed for default DDN","validation.invalid_format":"Invalid format","validation.pattern":"Must match: {pattern}","validation.minLength":"Min length: ${min} chars","validation.maxLength":"Max length: ${max} chars","validation.minValue":"Min value: ${min}","validation.maxValue":"Max value: ${max}","validation.date-time.error":"Invalid datetime value","validation.email.error":"Invalid email value","validation.hostname.error":"Invalid hostname value","validation.ipv4.error":"Invalid IPV4 address value","validation.ipv6.error":"Invalid IPV6 address value","validation.ip.error":"Invalid IPV4 or IPV6 address value","validation.cidr4.error":"Invalid IPV4 CIDR value","validation.cidr6.error":"Invalid IPV6 CIDR value","validation.cidr.error":"Invalid IPV4 or IPV6 CIDR value","validation.list.unique_items":"Items must be unique","validation.list.min_items":"Must have at least ${min} items","validation.list.max_items":"Must have at most ${max} items","validation.list.item.error":"Item {index}: ","cluster.errors.no_nf_configured":"No NF configured for this Cluster page. Please contact administrator","cluster.message.no_repo":"There are no repositories","cluster.message.node_not_in_cluster":'Current node is not part of a cluster. Insert a node and click on "Join cluster" if you want to add the current node to a cluster.',"cluster.message.node_data_drop_warning":"NOTE: Data on local node will be dropped before joining the target node","cluster.message.node_data_destructive_operation_warning":"This operation completely deletes all data stored in the node joining the cluster. The data will be replaced with the one present on the joined cluster.","cluster.buttons.join_cluster":"Join Cluster","cluster.buttons.leave_cluster":"Leave Cluster","cluster.buttons.join":"Join","cluster.buttons.leave":"Leave","cluster.buttons.cancel":"Cancel","cluster.buttons.remove_dead_node":"Remove dead node","cluster.buttons.remove_dead_node_ap":"Remove Dead AP Node","cluster.buttons.leave_cp_without_consensus":"Leave CP Cluster Without Consensus","cluster.dialog.join_ok":"Cluster joined correctly","cluster.dialog.join_ko":"Error on joining cluster","cluster.dialog.leave_ok":"Cluster left correctly","cluster.dialog.leave_without_consensus_ok":"Cluster left correctly without consensus","cluster.dialog.leave_without_consensus_ko":"Error on leaving cluster without consensus","cluster.dialog.remove_dead_node_ok":"Dead AP node removed correctly","cluster.dialog.remove_dead_node_ko":"Error on removing dead AP node","cluster.dialog.join.title":"Join Cluster","cluster.dialog.join.description":"This operation completely deletes all data stored in the node joining the cluster. The data will be replaced with the one present on the joined cluster. Are you sure to join cluster?","cluster.dialog.join.cancel":"Cancel","cluster.dialog.join.confirm":"Join","cluster.dialog.leave.title":"Leave Cluster","cluster.dialog.leave.description":"Are you sure you want to leave cluster?","cluster.dialog.leave.force":"Force leave","cluster.dialog.leave.cancel":"Cancel","cluster.dialog.leave.confirm":"Leave","cluster.dialog.leave_without_consensus.title":"Leave CP Cluster Without Consensus","cluster.dialog.leave_without_consensus.description":"Are you sure you want to leave CP cluster without consensus?","cluster.dialog.leave_without_consensus.cancel":"Cancel","cluster.dialog.leave_without_consensus.confirm":"Leave","cluster.dialog.remove_dead_node_ap.title":"Remove Dead AP Node","cluster.dialog.remove_dead_node_ap.description":"Are you sure you want to remove AP node?","cluster.dialog.remove_dead_node_ap.cancel":"Cancel","cluster.dialog.remove_dead_node_ap.confirm":"Remove","cluster.form.errors.required":"Field is required","cluster.form.node":"Target node","cluster.form.node_placeholder":"Host","cluster.status.current_node":"Current","cluster.status.unreachable_node":"Unreachable","cluster.status.unreachable_nodes_count":"{count} Unreachable nodes","cluster.status.unreachable_node_count":"{count} Unreachable node","cluster.status.host_node":"Host","cluster.status.repositories":"Repositories","cluster.status.cluster_nodes":"Cluster nodes","cluster.status.current":"current","cluster.status.node_not_in_cluster":"Current node is not in cluster","cluster.status.repo_with_errors":"One or more repositories are down or have errors","cluster.site_picker.node_down":"The node {ip_address} that you selected is unreachable","cluster.title":"DB cluster","configuration.buttons.apply":"Apply Configuration","configuration.buttons.persist":"Persist Configuration","configuration.buttons.restart_resource":"Restart Resource","configuration.buttons.factory_reset":"Factory Reset","network_configuration.message.cannot_write":"You are not able to edit configuration because you don't have the write permission","network_configuration.dialog.title":"Network configuration","network_configuration.dialog.no_configuration":"No boot configuration","network_configuration.dialog.apply_configuration_ok":"Network configuration set correctly","network_configuration.dialog.apply_configuration_ko":"Error on setting network configuration","network_configuration.buttons.save":"Save","network_configuration.buttons.persist_and_reboot":"Persist and Reboot","network_configuration.buttons.cancel":"Cancel","network_configuration.form.errors.required":"Field is required","network_configuration.form.dev":"Device/VRF","network_configuration.form.host":"Host","network_configuration.form.name":"Name","network_configuration.form.port":"Port","network_configuration.form.tos":"TOS","network_configuration.fieldset":"Network configuration","network_configuration.alert.cannot_load_network_configuration":"Cannot load boot configuration","lawful_interception.message.cannot_write":"You are not able to edit lawful interception because you don't have the write permission","lawful_interception.dialog.title":"Lawful Interception","lawful_interception.dialog.no_configuration":"No Lawful Interception","lawful_interception.dialog.apply_configuration_ok":"Lawful Interception set correctly","lawful_interception.dialog.apply_configuration_ko":"Error on setting Lawful Interception","lawful_interception.buttons.save":"Save","lawful_interception.buttons.cancel":"Cancel","lawful_interception.form.errors.required":"Field is required","lawful_interception.form.title.x1":"X1 Server","lawful_interception.form.title.x1_uids":"UIDs","lawful_interception.form.title.x2":"X2 Client","lawful_interception.form.x1_ca":"CA file","lawful_interception.form.x1_key":"Key file","lawful_interception.form.x1_cert":"Cert file","lawful_interception.form.x2_ca":"CA file","lawful_interception.form.x2_key":"Key file","lawful_interception.form.x2_cert":"Cert file","lawful_interception.form.x1_uids":"UIDs","lawful_interception.form.title.x3":"X3","lawful_interception.form.x3_ca":"CA file","lawful_interception.form.x3_key":"Key file","lawful_interception.form.x3_cert":"Cert file","lawful_interception.form.title.t3":"T3","lawful_interception.form.t3_ca":"CA file","lawful_interception.form.t3_key":"Key file","lawful_interception.form.t3_cert":"Cert file","lawful_interception.panel.title":"Lawful Interception","lawful_interception.actions.delete":"Delete","lawful_interception.actions.confirm_delete":"Are you sure you want to delete the provided lawful interception?","lawful_interception.alert.cannot_load_lawful_interception":"Cannot load lawful interception","lawful_interception.provisioned":"Provisioned","lawful_interception.not_provisioned":"Not Provisioned","lawful_interception.apply_ok":"Lawful interception successfully saved","lawful_interception.apply_ko":"There was a problem saving lawful interception","lawful_interception.remove_ok":"Lawful interception successfully removed","lawful_interception.remove_ko":"There was a problem removing lawful interception","lawful_interception.load_ko":"There was a problem loading lawful interception key material","aaa.status.radius.local_addr":"Local Address","aaa.status.radius.local_port":"Local Port","ngap.status.connections.actions.delete":"Delete","ngap.status.connections.actions.reset":"Reset","ngap.status.connections.association_id":"Association ID","ngap.status.connections.connected_at":"Connected at","ngap.status.connections.global_ran_node_id":"Global RAN Node ID","ngap.status.connections.global_ran_node_id.id":"ID","ngap.status.connections.global_ran_node_id.plmn":"PLMN","ngap.status.connections.global_ran_node_id.type":"Type","ngap.status.connections.ran_node_name":"RAN Node Name","ngap.status.connections.local_addrs":"Local Addresses","ngap.status.connections.local_port":"Local Port","ngap.status.connections.remote_addrs":"Remote Addresses","ngap.status.connections.remote_port":"Remote Port","ngap.status.connections.srb_count":"SRB Count","ngap.status.connections.supported_ta_list":"Supported TAs","ngap.status.connections.supported_ta_list.broadcast_plmns":"Broadcast PLMNs","ngap.status.connections.supported_ta_list.broadcast_plmns.nssai":"NSSAI","ngap.status.connections.supported_ta_list.broadcast_plmns.PLMN":"PLMN","ngap.status.connections.supported_ta_list.tac":"TAC","ngap.status.connections.row_detail.tac":"TAC","ngap.status.connections.row_detail.broadcast_plmns":"Broadcast PLMNs with NSSAIs","ngap.status.connections.row_detail.broadcast_plmns.plmn":"PLMN","ngap.status.connections.row_detail.broadcast_plmns.nssais":"NSSAIs","ngap.status.listeners.local_addrs":"Local Addresses","ngap.status.listeners.local_port":"Local Port","ngap.status.listeners.transport_name":"Transport Name","diameter.status.connections.actions.disconnect":"Disconnect","diameter.status.connections.user":"User","diameter.status.connections.vendor_specific_applications":"Application ID (Vendor ID)","diameter.status.connections.vendor_specific_applications.application_id":"Application ID","diameter.status.connections.vendor_specific_applications.vendor_id":"Vendor ID","diameter.status.connections.name":"Name","diameter.status.connections.side":"Side","diameter.status.connections.peer":"Peer","diameter.status.connections.local_peer":"Local","diameter.status.connections.remote_peer":"Remote","diameter.status.connections.local_capabilities":"Local Capabilities","diameter.status.connections.remote_capabilities":"Remote Capabilities","diameter.status.connections.capabilities.origin_host":"Origin Host","diameter.status.connections.capabilities.origin_realm":"Origin Realm","diameter.status.connections.capabilities.vendor_id":"Vendor ID","diameter.status.connections.capabilities.product_name":"Product Name","diameter.status.connections.stack":"Stack","diameter.status.connections.applications":"Applications","diameter.status.connections.watchdog":"Watchdog","diameter.status.connections.port":"Port","diameter.status.connections.local_port":"Local Port","diameter.status.connections.remote_port":"Remote Port","diameter.status.connections.connection_type":"Connection Type","diameter.status.connections.connection_type.DiameterTcpConnection":"TCP","diameter.status.connections.connection_type.DiameterSctpConnection":"SCTP","diameter.status.connections.addrs":"Addresses","diameter.status.connections.local_addr":"Local Address","diameter.status.connections.local_addrs":"Local Addresses","diameter.status.connections.remote_addr":"Remote Address","diameter.status.connections.remote_addrs":"Remote Addresses","diameter.status.peers.name":"Name","diameter.status.peers.stack":"Stack","diameter.status.peers.remote_host":"Remote Host","diameter.status.peers.remote_realm":"Remote Realm","diameter.status.peers.addrs":"Addresses","diameter.status.peers.app_ids":"App IDs","diameter.status.peers.product_name":"Product Name","diameter.status.peers.vendor_id":"Vendor ID","diameter.status.peers.transport":"Transport","diameter.status.peers.status":"Status","diameter.status.peers.connection":"Connection","route.gtpp.status.connections":"Connections","route.gtpp.status.local_address":"Local Address","route.gtpp.status.local_port":"Local Port","route.gtpp.status.remote_address":"Remote Address","route.gtpp.status.remote_host":"Remote Host","route.gtpp.status.remote_port":"Remote Port","route.gtpp.status.transport_name":"Transport Name","gtpu.status.sockets.transport_name":"Transport Name","gtpu.status.sockets.local_addr":"Local Address","gtpu.status.sockets.local_port":"Local Port","gtpu.status.sockets.created":"Created","gtpu.status.sockets.counters":"Counters #","gtpu.status.sockets.counters.write_pkg_max":"Write Pkg Max","gtpu.status.sockets.counters.acc_waits":"Acc Waits","gtpu.status.sockets.counters.sendfile_tries":"Sendfile Tries","gtpu.status.sockets.counters.gtpu_snd_error_ind":"GTP-U Snd Error Ind","gtpu.status.sockets.counters.sendfile_byte":"Sendfile Byte","gtpu.status.sockets.counters.read_byte":"Read Byte","gtpu.status.sockets.counters.acc_success":"Acc Success","gtpu.status.sockets.counters.gtpu_rcv_gpdu":"GTP-U Rcv Gpdu","gtpu.status.sockets.counters.gtpu_rcv_echo_req":"GTP-U Rcv Echo Req","gtpu.status.sockets.counters.sendfile_fails":"Sendfile Fails","gtpu.status.sockets.counters.gtpu_rcv_echo_res":"GTP-U Rcv Echo Res","gtpu.status.sockets.counters.read_pkg_max":"Read Pkg Max","gtpu.status.sockets.counters.sendfile_max":"Sendfile Max","gtpu.status.sockets.counters.read_tries":"Read Tries","gtpu.status.sockets.counters.gtpu_snd_end_mark":"GTP-U Snd End Mark","gtpu.status.sockets.counters.write_pkg":"Write Pkg","gtpu.status.sockets.counters.write_tries":"Write Tries","gtpu.status.sockets.counters.sendfile_waits":"Sendfile Waits","gtpu.status.sockets.counters.gtpu_snd_gpdu":"GTP-U Snd Gpdu","gtpu.status.sockets.counters.acc_tries":"Acc Tries","gtpu.status.sockets.counters.write_byte":"Write Byte","gtpu.status.sockets.counters.acc_fails":"Acc Fails","gtpu.status.sockets.counters.sendfile":"Sendfile","gtpu.status.sockets.counters.read_pkg":"Read Pkg","gtpu.status.sockets.counters.sendfile_pkg_max":"Sendfile Pkg Max","gtpu.status.sockets.counters.sendfile_pkg":"Sendfile Pkg","gtpu.status.sockets.counters.gtpu_snd_drop":"GTP-U Snd Drop","gtpu.status.sockets.counters.write_fails":"Write Fails","gtpu.status.sockets.counters.gtpu_rcv_error_ind":"GTP-U Rcv Error Ind","gtpu.status.sockets.counters.read_fails":"Read Fails","gtpu.status.sockets.counters.gtpu_snd_echo_req":"GTP-U Snd Echo Req","gtpu.status.sockets.counters.gtpu_rcv_end_mark":"GTP-U Rcv End Mark","gtpu.status.sockets.counters.write_waits":"Write Waits","gtpu.status.sockets.counters.gtpu_rcv_drop":"GTP-U Rcv Drop","gtpu.status.sockets.counters.read_waits":"Read Waits","gtpu.status.sockets.counters.gtpu_snd_echo_res":"GTP-U Snd Echo Res","gtpc.status.sockets.transport_name":"Transport Name","gtpc.status.sockets.local_addr":"Local Address","gtpc.status.sockets.local_port":"Local Port","gtpc.status.sockets.dev":"Device","gtpc.status.peers.transport_name":"Transport Name","gtpc.status.peers.local_addr":"Local Address","gtpc.status.peers.remote_addr":"Remote Address","gtpc.status.peers.version":"Version","gtpc.status.peers.reset_counter":"Reset Counter","gtpc.status.peers.uptime_sec":"Uptime (s)","gtpc.status.peers.last_reset_at":"Last Reset At","gtpc.status.peers.connected_at":"Connected At","gtpc.status.peers.num_tuns":"Num Tuns","denypeer.status.gtpc.id":"ID","denypeer.status.gtpc.blocked_count":"Blocked Count","denypeer.status.gtpc.expires":"Expires","denypeer.status.gtpc.rule_type":"Rule Type","denypeer.status.gtpc.blocked":"Blocked","denypeer.status.gtpc.type":"Type","denypeer.status.gtpc.actions.flush":"Flush Blocked Peers","pfcp.status.sockets.transport_name":"Transport Name","pfcp.status.sockets.local_addr":"Local Address","pfcp.status.sockets.local_port":"Local Port","pfcp.status.peers.name":"Name","pfcp.status.peers.remote_node_id":"Remote Node ID","pfcp.status.peers.transport_name":"Transport Name","pfcp.status.peers.local_addr":"Local Address","pfcp.status.peers.remote_addr":"Remote Address","pfcp.status.peers.version":"Version","pfcp.status.peers.reset_counter":"Reset Counter","pfcp.status.peers.uptime_sec":"Uptime (s)","pfcp.status.peers.uptime":"Uptime","pfcp.status.peers.last_reset_at":"Last Reset At","pfcp.status.peers.connected_at":"Connected At","pfcp.status.peers.num_tuns":"Num Tuns","mme.s1ap.status.connections.actions.disconnect":"Disconnect","mme.s1ap.status.connections.actions.reset":"Reset","mme.s1ap.status.connections.local_addrs":"Local Addresses","mme.s1ap.status.connections.local_port":"Local Port","mme.s1ap.status.connections.remote_addrs":"Remote Addresses","mme.s1ap.status.connections.remote_port":"Remote Port","mme.s1ap.status.connections.enb_name":"Enb Name","mme.s1ap.status.connections.transport_name":"Transport Name","mme.s1ap.status.connections.srb_count":"Srb Count","mme.s1ap.status.connections.connection_ts":"Connection TS","mme.s1ap.status.connections.connection_id":"Connection ID","mme.s1ap.status.connections.global_enb_id":"Global Enb ID","mme.s1ap.status.connections.global_enb_id.id":"ID","mme.s1ap.status.connections.global_enb_id.plmn":"PLMN","mme.s1ap.status.connections.global_enb_id.type":"Type","mme.s1ap.status.connections.tai":"TAI","mme.s1ap.status.connections.tai.plmn":"PLMN","mme.s1ap.status.connections.tai.tac":"Tac","mme.s1ap.status.connections.tai.rat":"Rat","mme.s1ap.status.listeners.transport_name":"Transport Name","mme.s1ap.status.listeners.local_addrs":"Local Addresses","mme.s1ap.status.listeners.local_port":"Local Port","mme.s1ap.status.listeners.dev":"Device","mme.sgs.status.connections.local_addrs":"Local Addresses","mme.sgs.status.connections.local_port":"Local Port","mme.sgs.status.connections.remote_addrs":"Remote Addresses","mme.sgs.status.connections.remote_port":"Remote Port","mme.sgs.status.connections.connection_id":"Connection ID","mme.sbcap.status.connections.local_addrs":"Local Addresses","mme.sbcap.status.connections.local_port":"Local Port","mme.sbcap.status.connections.remote_addrs":"Remote Addresses","mme.sbcap.status.connections.remote_port":"Remote Port","mme.sbcap.status.connections.transport_name":"Transport Name","mme.sbcap.status.connections.connection_ts":"Connection TS","mme.sbcap.status.connections.connection_id":"Connection ID","mme.sbcap.status.listeners.transport_name":"Transport Name","mme.sbcap.status.listeners.local_addrs":"Local Addresses","mme.sbcap.status.listeners.local_port":"Local Port","mme.sbcap.status.listeners.dev":"Device","mme.dns.status.cache.query":"Query","mme.dns.status.cache.query.domain":"Domain","mme.dns.status.cache.query.type":"Type","mme.dns.status.cache.expires":"Expires","mme.dns.status.cache.expired":"Expired","mme.dns.status.cache.expiration":"Expiration","mme.dns.status.cache.details":"Details","mme.dns.status.cache.no_data":"No data","mme.dns.status.cache.actions.flush_cache":"Flush Cache","mme.m3.status.connections.connection_id":"Connection ID","mme.m3.status.connections.local_addrs":"Local addresses","mme.m3.status.connections.local_port":"Local port","mme.m3.status.connections.remote_addrs":"Remote addresses","mme.m3.status.connections.remote_port":"Remote port","mme.m3.status.connections.transport_name":"Transport name","mme.m3.status.connections.connection_ts":"Connection TS","mme.m3.status.connections.mce_name":"MCE name","mme.m3.status.connections.m3_sessions.tmgi":"M3 sessions TMGI","mme.m3.status.connections.m3_sessions.flow":"M3 sessions Flow","mme.m3.status.connections.m3_sessions.sas":"M3 sessions SAS","mme.m3.status.connections.m3_sessions.cl":"M3 sessions CL","mme.m3.status.connections.m3_sessions_count":"M3 sessions count","mme.m3.status.connections.global_mce_id.id":"Global MCE ID","mme.m3.status.connections.global_mce_id.plmn":"Global MCE PLMN","mme.m3.status.connections.id":"ID","mme.m3.status.connections.service_areas":"Service areas","licensing.table.id":"ID","licensing.table.nf_type":"NF Type","licensing.table.start_date":"Start Date","licensing.table.expire_date":"Expire Date","licensing.table.precedence":"Precedence","licensing.table.state":"State","licensing.table.actions.delete":"Delete","licensing.table.parameters.max_connected_ran_nodes":"Max Connected RAN Nodes","licensing.table.parameters.max_registered_ues":"Max Registered UEs","licensing.table.parameters.max_provisioned_supis":"Max Provisioned Supis","licensing.table.details.app_type":"App Type","licensing.table.details.federation":"Federation","licensing.table.details.max_reg_users":"Max Reg Users","licensing.table.details.max_sessions":"Max Sessions","licensing.table.details.offline_charging":"Offline Charging","licensing.table.details.online_charging":"Online Charging","licensing.table.details.transcoding":"Transcoding","licensing.table.details.vonr":"Vonr","licensing.info":"Info","licensing.install":"Install","licensing.set":"Set","licensing.persist":"Persist","licensing.host.hostname":"Hostname","licensing.host.siteid":"Site Id","licensing.form.title":"New License","licensing.form.license":"License","licensing.form.license.placeholder":"insert a license value","licensing.delete.dialog.confirm":"Are you sure to delete the license?","licensing.upload":"Upload Configuration","licensing.upload.form.file":"Select file","licensing.upload.form.error":"Something went wrong. To view the details of an error, hover the cursor over the icons in the table below.","licensing.upload.form.error.invalid_license":"Invalid License","licensing.upload.form.error.unspecified":"Unspecified","licensing.upload.form.error.wrong_site_id":"Wrong Site Id","licensing.upload.form.error.not_found":"Not Found","licensing.upload.form.file.required":"File is required","licensing.upload.buttons.upload":"Upload","licensing.upload.form.upload.placeholder":"Select a single .json file","licensing.upload.form.title":"Upload a License","licensing.upload.form.description":"Add a single valid .json file.","licensing.upload.form.result.description":"Update completed, below are the operation details with a log.","licensing.upload.form.result.message_ok":"Uploaded successfully","licensing.upload.form.result.message_ko":"Unknown error encountered uploading file","dsm_zones.table.id":"Server Name","dsm_zones.table.name":"Name","dsm_zones.table.vrf":"VRF","dsm_zones.table.actions.edit":"Edit","dsm_zones.table.actions.delete":"Delete","dsm_zones.table.actions.download":"Download","dsm_zones.form.title":"New DNS Zone","dsm_zones.form.license":"DNS Zone","dsm_zones.form.license.placeholder":"insert a license value","dsm_zones.delete.dialog.confirm":"Are you sure to delete the DNS zone?","dsm_zones.upload":"Upload DNS Zone","dsm_zones.upload.form.file":"Select file","dsm_zones.upload.form.file.required":"File is required","dsm_zones.upload.form.file.upload":"File Upload","dsm_zones.upload.form.file.content":"Content","dsm_zones.upload.form.name":"Name","dsm_zones.upload.form.server":"Server","dsm_zones.upload.buttons.new":"New","dsm_zones.upload.buttons.upload":"Upload","dsm_zones.upload.form.upload.placeholder":"Select a single text file","dsm_zones.upload.form.title":"Upload a DNS Zone","dsm_zones.upload.form.edit.title":"Edit a DNS Zone","dsm_zones.upload.form.description":"Add a single valid text file, its name will be used for DNS zone name.","dsm_zones.upload.form.result.description":"Update completed, below are the operation details with a log.","dsm_zones.upload.form.result.message_ok":"Uploaded successfully","dsm_zones.upload.form.result.message_ko":"Unknown error encountered uploading file","dsm_zones.upload.min":"You must upload one file","dsm_zones.upload.max":"You must upload one file","dsm_zones.upload.required":"Field is required","dsm_zones.upload.save":"Save","dsm_zones.upload.cancel":"Cancel","dsm_zones.download.result.message_ko":"Error on downloading DNS zone","dsm_zones.delete.result.message_ok":"DNS zone deleted correctly","dsm_zones.delete.result.message_ko":"Error on deleting DNS zone","dsm_zones.fetch.result.message_ko":"Error on fetching DNS zone","login.title":"Sign in","login.subtitle":"Please enter your credentials to proceed","login.submit":"Sign in","login.submit.local":"Sign in with credentials","login.submit.radius":"Sign in with radius","login.submit.ldap":"Sign in with ldap","login.username.label":"Username","login.password.label":"Password","login.submitButton":"Sign in","login.forgotPasswordLink":"Forgot password?","login.username.error":"Please insert your username","login.password.error":"Insert a password","login.password.error.rules":"It must contain at least 1 uppercase letter, 1 digit and 1 special character","login.username.placeholder":"insert your username","login.password.placeholder":"insert your password","login.errorMessage":"Wrong username or password, try with different credentials","login.no_backends":"No authentication strategies detected, please contact the administrator.","login.password.error.long":"The password must be at least ${min} characters long","login.password.error.required":"Please type the password","login.reset.title":"Reset Password","login.reset.subtitle":"Please enter your username to request a password reset","login.reset.submitButton":"Reset password","login.reset.backButton":"Go to login","login.reset.errorMessage":"The username you've inserted doesn't exists, try with another","login.reset.emailSent":"An email with a password reset link has been sent to your email address","login.reset.passwordLabel":"Confirm password","login.reset.password.placeholder":"Type the new password again","login.reset.matchPasswordError":"The passwords inserted are different","login.reset.subtitleConfirm":"Please create a new password","login.reset.passwordChanged":"Your password was changed successfully","login.reset.resetUserNotFound":"User not found or reset link expired","login.reset.resetError":"Your password change operation has failed","login.change.title":"Your password must be changed","login.change.subtitle":"Please create a new password","login.change.submitButton":"Change password","login.change.backButton":"Go to login","login.change.passwordChanged":"Your password was changed successfully","login.change.resetError":"Your password change operation has failed","login.change.oldPasswordLabel":"Current password","login.change.passwordPlaceholder":"Enter your current password","login.change.newPasswordLabel":"New password","login.change.newPasswordPlaceholder":"Enter a new password","ncmstatus.table.device":"Device","ncmstatus.table.deviceindex":"Device index","ncmstatus.table.ipaddress":"IP Address","ncmstatus.table.macaddress":"MAC Address","ncmstatus.table.status":"Status","ncmstatus.table.destination":"Destination","ncmstatus.table.gateway":"IP Gateway","ncmstatus.table.source":"Source","ncmstatus.table.priority":"Priority","ncmstatus.table.rule":"Rule","ncmstatus.table.vrf":"VRF","ncmstatus.title.addresses":"Addresses and Routes","ncmstatus.title.rules":"Rules","ncmstatus.title.linkstatus":"Link Status","ncmstatus.title.arp":"ARP/Neighbors","ncm_status.tabs.network_interfaces":"Interfaces","ncm_status.tabs.neighbors":"Neighbors","ncm_status.tabs.routes":"Routes","ncm_status.tabs.rules":"Rules","ncm_status.tabs.sockets":"Sockets","ncm_status.tabs.links":"Links","ncm_status.filter.vrf":"VRF","ncm_status.filter.table":"Table","ncm_status.filter.type":"Type","ncm_status.filter.family.inet":"IPv4","ncm_status.filter.family.inet6":"IPv6","ncm_status.tabs.network_interfaces.id":"ID","ncm_status.tabs.network_interfaces.interface":"Interface","ncm_status.tabs.network_interfaces.interface_type":"Interface Type","ncm_status.tabs.network_interfaces.mtu":"MTU","ncm_status.tabs.network_interfaces.status":"Status","ncm_status.tabs.network_interfaces.address":"Mac","ncm_status.tabs.network_interfaces.ip_address":"IP Address","ncm_status.tabs.network_interfaces.master":"Master","ncm_status.tabs.network_interfaces.linkinfo":"Link Info","ncm_status.tabs.network_interfaces.linkinfo.info_data":"Info Data","ncm_status.tabs.network_interfaces.linkinfo.info_slave_kind":"Info Slave Kind","ncm_status.tabs.network_interfaces.linkinfo.info_slave_data":"Info Slave Data","ncm_status.tabs.network_interfaces.linkinfo.":"Master","ncm_status.tabs.neighbors.dst":"IP Address","ncm_status.tabs.neighbors.lladdr":"MAC Address","ncm_status.tabs.neighbors.dev":"Device","ncm_status.tabs.neighbors.state":"State","ncm_status.tabs.neighbors.actions.flush":"Flush Table","ncm_status.tabs.bird.protocols.name":"Name","ncm_status.tabs.bird.protocols.proto":"Protocol","ncm_status.tabs.bird.protocols.table":"Table","ncm_status.tabs.bird.protocols.state":"State","ncm_status.tabs.bird.protocols.since":"Since","ncm_status.tabs.bird.protocols.info":"Info","ncm_status.tabs.bird.bfd_sessions.name":"Name","ncm_status.tabs.bird.bfd_sessions.sessions":"Sessions","ncm_status.tabs.bird.bfd_sessions.sessions.ip_address":"IP Address","ncm_status.tabs.bird.bfd_sessions.sessions.interface":"Interface","ncm_status.tabs.bird.bfd_sessions.sessions.state":"State","ncm_status.tabs.bird.bfd_sessions.sessions.since":"Since","ncm_status.tabs.bird.bfd_sessions.sessions.interval":"Interval","ncm_status.tabs.bird.bfd_sessions.sessions.timeout":"Timeout","ncm_status.tabs.routes.dst":"Destination","ncm_status.tabs.routes.gateway":"IP Gateway","ncm_status.tabs.routes.dev":"Device","ncm_status.tabs.routes.prefsrc":"Source","ncm_status.tabs.routes.metric":"Metric","ncm_status.tabs.routes.protocol":"Protocol","ncm_status.tabs.sockets.local_address":"Local Address","ncm_status.tabs.sockets.peer_address":"Remote Address","ncm_status.tabs.sockets.protocol":"Protocol","ncm_status.tabs.sockets.state":"State","ncm_status.tabs.sockets.process":"Process","ncm_status.tabs.rules.priority":"Priority","ncm_status.tabs.rules.family":"Family","ncm_status.tabs.rules.rule":"Rule","nrf_static_profiles.toolbar.new":"New Static Profile","nrf_static_profiles.table.nfInstanceId":"NF Instance ID","nrf_static_profiles.table.nfInstanceName":"NF Instance Name","nrf_static_profiles.table.nfType":"NF type","nrf_static_profiles.table.nfStatus":"NF Status","nrf_static_profiles.table.fqdn":"FQDN","nrf_static_profiles.table.ipv4Addresses":"IPv4 Addresses","nrf_static_profiles.table.ipv6Addresses":"IPv6 Addresses","nrf_static_profiles.table.priority":"Priority","nrf_static_profiles.table.locality":"Locality","nrf_static_profiles.table.capacity":"Capacity","nrf_static_profiles.table.sNssais":"Slices #","nrf_static_profiles.table.plmnList":"PLMNs #","nrf_static_profiles.actions.edit":"Edit","nrf_static_profiles.actions.confirm_dialog.title":"Delete static profile","nrf_static_profiles.actions.confirm_dialog.description":'Are you sure to delete profile with NF Instance ID = "{nfInstanceId}"?',"nrf_static_profiles.actions.delete":"Delete","nrf_static_profile.section.general.title":"General","nrf_static_profile.section.slices.title":"Slices","nrf_static_profile.section.slices.slice_add":"Add Slice","nrf_static_profile.section.slices.slice_delete":"Delete Slice","nrf_static_profile.section.slices.no_slices":"No slices","nrf_static_profile.section.plmnList.title":"PLMNs","nrf_static_profile.section.plmnList.plmn_add":"Add PLMN","nrf_static_profile.section.plmnList.plmn_delete":"Delete PLMN","nrf_static_profile.section.plmnList.no_plmns":"No PLMNs","nrf_static_profile.form.nfType":"NF type","nrf_static_profile.form.nfStatus":"NF Status","nrf_static_profile.form.fqdn":"FQDN","nrf_static_profile.form.ipv4Addresses":"IPv4 Addresses","nrf_static_profile.form.ipv6Addresses":"IPv6 Addresses","nrf_static_profile.form.priority":"Priority","nrf_static_profile.form.locality":"Locality","nrf_static_profile.form.capacity":"Capacity","nrf_static_profile.form.nfInstanceId":"NF Instance ID","nrf_static_profile.form.nfInstanceName":"NF Instance Name","nrf_static_profile.form.sNssais.form_errors.has_errors":"Field has errors","nrf_static_profile.form.sNssais.sst":"SST","nrf_static_profile.form.sNssais.sd":"SD","nrf_static_profile.form.sNssais.isRangesActiveTrue":"SD Ranges","nrf_static_profile.form.sNssais.isRangesActiveFalse":"Single SD","nrf_static_profile.form.sNssais.sdRanges":"SD Ranges","nrf_static_profile.form.sNssais.sdRanges.start":"Start","nrf_static_profile.form.sNssais.sdRanges.end":"End","nrf_static_profile.section.sNssais.sdRanges.title":"SD Ranges","nrf_static_profile.section.sNssais.sdRanges.range_add":"Add SD Range","nrf_static_profile.section.sNssais.sdRanges.range_delete":"Delete SD Range","nrf_static_profile.section.sNssais.sdRanges.no_ranges":"No SD Ranges","nrf_static_profile.form.plmnList.form_errors.has_errors":"Field has errors","nrf_static_profile.form.plmnList.mcc":"MCC","nrf_static_profile.form.plmnList.mnc":"MNC","nrf_static_profile.form.errors.fqdn_ips_at_least_one":"One of IPv4 Addresses, IPv6 Addresses or FQDN must be entered","nrf_static_profile.form.errors.required":"Field is required","nrf_static_profile.section.upf.title":"UPF Instances Info","nrf_static_profile.section.upf.upf_instance_add":"Add UPF Instance Info","nrf_static_profile.section.upf.upf_instance_delete":"Delete UPF Instance Info","nrf_static_profile.section.upf.no_upf_instances":"No UPF Instances Info","nrf_static_profile.form.upfInfoList.ueIpAddrInd":"User Equipment IP Address Indicator","nrf_static_profile.section.upf.interfaceUpfInfoList.title":"Interfaces","nrf_static_profile.section.upf.interfaceUpfInfoList.interface_add":"Add Interface","nrf_static_profile.section.upf.interfaceUpfInfoList.interface_delete":"Delete Interfaces","nrf_static_profile.section.upf.interfaceUpfInfoList.no_interfaces":"No Interfaces","nrf_static_profile.form.upfInfoList.interfaceUpfInfoList.network_instance":"Network Instance","nrf_static_profile.form.upfInfoList.interfaceUpfInfoList.interface_type":"Interface Type","nrf_static_profile.section.upf.taiList.title":"TAIs","nrf_static_profile.section.upf.taiList.tai_add":"Add TAI","nrf_static_profile.section.upf.taiList.tai_delete":"Delete TAI","nrf_static_profile.section.upf.taiList.no_tais":"No TAIs","nrf_static_profile.form.upfInfoList.taiList":"TAIs","nrf_static_profile.form.upfInfoList.taiList.plmnId":"PLMN","nrf_static_profile.form.upfInfoList.taiList.plmnId.mcc":"MCC","nrf_static_profile.form.upfInfoList.taiList.plmnId.mnc":"MNC","nrf_static_profile.form.upfInfoList.taiList.tac":"Tac","nrf_static_profile.section.upf.sNssaiUpfInfoList.title":"Slices","nrf_static_profile.section.upf.sNssaiUpfInfoList.slice_add":"Add Slice","nrf_static_profile.section.upf.sNssaiUpfInfoList.slice_delete":"Delete Slice","nrf_static_profile.section.upf.sNssaiUpfInfoList.no_slices":"No Slices","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList":"Slices","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.sNssai":"Slice","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.sNssai.sst":"SST","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.sNssai.sd":"SD","nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.title":"DNNs","nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.dnn_add":"Add DNN","nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.dnn_delete":"Delete DNN","nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.no_dnns":"No DNNs","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList":"DNNs","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.dnn":"DNN","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.pduSessionTypes":"PDU Session Types","nrf_static_profile.section.upf.ipv4Ranges.title":"IPv4 Ranges","nrf_static_profile.section.upf.ipv4Ranges.range_add":"Add IPv4 Range","nrf_static_profile.section.upf.ipv4Ranges.range_delete":"Delete IPv4 Range","nrf_static_profile.section.upf.ipv4Ranges.no_ranges":"No IPv4 Ranges","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges":"IPv4 Address Ranges","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges.start":"Start","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges.end":"End","nrf_static_profile.section.upf.ipv6Ranges.title":"IPv6 Ranges","nrf_static_profile.section.upf.ipv6Ranges.range_add":"Add IPv6 Range","nrf_static_profile.section.upf.ipv6Ranges.range_delete":"Delete IPv6 Range","nrf_static_profile.section.upf.ipv6Ranges.no_ranges":"No IPv6 Ranges","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges":"IPv6 Prefix Ranges","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges.start":"Start","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges.end":"End","nrf_static_profile.form.upfInfoList.form_errors.has_errors":"Field has errors","user.menu.profile":"Profile","user.menu.logout":"Logout","profile.account":"Account","profile.firstname":"First name","profile.lastname":"Last name","profile.username":"Username","profile.fullname":"Full name","profile.email":"Email address","profile.tool.edit":"Edit profile","profile.tool.editPassword":"Change password","profile.tool.editPassword.description":"You can change your password by entering the current and a new one of your choice","profile.editProfile":"Edit profile","profile.form.fullname":"Full name","profile.form.username":"Username","profile.form.username.error":"Please enter username","authentication_strategies.title":"Active Strategies","authentication_strategies.tabs.item.local":"Credentials","authentication_strategies.tabs.item.radius":"Radius","authentication_strategies.tabs.item.ldap":"Ldap","authentication_strategies.tabs.item.openid":"OpenID","authentication_strategies.form.errors.backends":"local strategy is always required","authentication_strategies.form.backends":"Backends","authentication_strategies.form.backends.info":"The order of the backends will be reflected in the login page","authentication_strategies.form.buttons.save":"Save","authentication_strategies.backends.save.message_ok":"Backends configuration has been saved correctly","authentication_strategies.backends.save.message_ko":"An error occured saving the radius configuration","authentication_strategies.auth_config.form.session_timers":"Session timers","authentication_strategies.auth_config.form.access_token_ttl_s":"Access Token TTL (s)","authentication_strategies.auth_config.tooltip.access_token_ttl_s":"Time to leave in seconds for the token used to make secure calls for protected resources to the API server.","authentication_strategies.auth_config.form.refresh_token_ttl_s":"Refresh Token TTL (s)","authentication_strategies.auth_config.tooltip.refresh_token_ttl_s":"Time to leave in seconds for the token used to get a new access token without having to login again.","authentication_strategies.auth_config.form.ui_inactivity_s":"Inactivity Timer (s)","authentication_strategies.auth_config.tooltip.ui_inactivity_s":"Show an inactivity modal to the user after the chosen amount of seconds if no interactions with the user interface have been made.","authentication_strategies.auth_config.form.ui_inactivity_s.seconds":"Inactivity Timer","authentication_strategies.auth_config.form.access_token_ttl_s.validation.type":"Access Token TTL (s) must be a number","authentication_strategies.auth_config.form.access_token_ttl_s.validation.required":"Access Token TTL (s) field is required","authentication_strategies.auth_config.form.access_token_ttl_s.validation.min":"Access Token TTL (s) must be greater than or equal to 60","authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.type":"Refresh Token TTL (s) must be a number","authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.required":"Refresh Token TTL (s) field is required","authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.min":"Refresh Token TTL (s) must be greater than or equal to 120","authentication_strategies.auth_config.form.ui_inactivity_s.validation.type":"Inactivity Timer (s) must be a number","authentication_strategies.auth_config.form.ui_inactivity_s.validation.required":"Inactivity Timer (s) field is required","authentication_strategies.auth_config.form.ui_inactivity_s.validation.min":"Inactivity Timer (s) must be greater than or equal to 60","authentication_strategies.auth_config.form.login_max_attempts":"Login max attempts","authentication_strategies.auth_config.tooltip.login_max_attempts":"Throttle consecutive login attemps after the max attempts counter has been reached for a determined duration in seconds.","authentication_strategies.auth_config.form.login_max_attempts.validation.type":"Login max attempts must be a number","authentication_strategies.auth_config.form.login_max_attempts.validation.required":"Login max attempts field is required","authentication_strategies.auth_config.form.login_max_attempts.validation.min":"Login max attempts must be greater than or equal to 1","authentication_strategies.auth_config.form.login_throttle_period_s":"Login Throttle Period (s)","authentication_strategies.auth_config.form.login_throttle_period_s.validation.type":"Login Throttle Period (s) must be a number","authentication_strategies.auth_config.form.login_throttle_period_s.validation.required":"Login Throttle Period (s) field is required","authentication_strategies.auth_config.form.login_throttle_period_s.validation.min":"Login Throttle Period (s) must be greater than or equal to 1","authentication_strategies.auth_config.form.audit_retention_s":"Audit Retention (s)","authentication_strategies.auth_config.tooltip.audit_retention_s":"Retention time in seconds for the auth audit events generated while the user interacts with the system.","authentication_strategies.auth_config.form.audit_retention_s.validation.type":"Audit Retention (s) must be a number","authentication_strategies.auth_config.form.audit_retention_s.validation.required":"Audit Retention (s) field is required","authentication_strategies.auth_config.form.audit_retention_s.validation.min":"Audit Retention (s) must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rules":"Password rules","authentication_strategies.auth_config.form.password_rule_max_account_name_characters":"Max username characters allowed in password","authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.integer":"Max username characters allowed in password must be an integer","authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.type":"Max username characters allowed in password must be a number","authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.required":"Max username characters allowed in password field is required","authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.min":"Max username characters allowed in password must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_length":"Min password length","authentication_strategies.auth_config.form.password_rule_min_length.validation.integer":"Min password length must be an integer","authentication_strategies.auth_config.form.password_rule_min_length.validation.type":"Min password length must be a number","authentication_strategies.auth_config.form.password_rule_min_length.validation.required":"Min password length field is required","authentication_strategies.auth_config.form.password_rule_min_length.validation.min":"Min password length must be greater than or equal to 12","authentication_strategies.auth_config.form.password_rule_min_lowercase_characters":"Min lowercase characters","authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.integer":"Min lowercase characters must be an integer","authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.type":"Min lowercase characters must be a number","authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.min":"Min lowercase characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_number_characters":"Min numeric characters","authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.integer":"Min numeric characters must be an integer","authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.type":"Min numeric characters must be a number","authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.min":"Min numeric characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_special_characters":"Min special characters","authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.integer":"Min special characters must be an integer","authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.type":"Min special characters must be a number","authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.min":"Min special characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_uppercase_characters":"Min uppercase characters","authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.integer":"Min uppercase characters must be an integer","authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.type":"Min uppercase characters must be a number","authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.min":"Min uppercase characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_special_characters":"Special characters","authentication_strategies.auth_config.form.password_rule_special_characters.validation.type":"Special characters must be a string","authentication_strategies.auth_config.form.password_rule_special_characters.validation.min":"Special characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.required":"Special characters field is required","authentication_strategies.radius.title":"Radius","authentication_strategies.radius.transport.title":"Transport","authentication_strategies.radius.secret.title":"Secret","authentication_strategies.radius.panel.title":"Radius Configuration","authentication_strategies.radius.transport.form.roles":"Roles","authentication_strategies.radius.form_errors.has_errors":"Field has errors","authentication_strategies.radius.form_errors.transport.remote_addresses":"Remote Addresses field must have at least 1 item","authentication_strategies.radius.form_errors.transport.timeout_s.min":"Timeout (s) must be greater than or equal to 1","authentication_strategies.radius.form_errors.transport.local_address":"Local Address is a required field","authentication_strategies.radius.form_errors.transport.local_port":"Local Port is a required field","authentication_strategies.radius.form_errors.transport.local_port_min":"Local Port must be greater than or equal to 1","authentication_strategies.radius.form_errors.transport.remote_port":"Remote Port is a required field","authentication_strategies.radius.form_errors.transport.timeout_s":"Timeout (s) is a required field","authentication_strategies.radius.form_errors.transport.secret":"Secret is a required field","authentication_strategies.radius.form_errors.unique_role":"Role must be unique","authentication_strategies.radius.form_errors.roles_required":"Roles is a required field","authentication_strategies.radius.form_errors.roles_min":"Roles field must have at least 1 item","authentication_strategies.radius.form.errors.required":"Field is required","authentication_strategies.radius.form.secret":"Secret","authentication_strategies.radius.form.roles":"Roles","authentication_strategies.radius.form.permission_template":"Permission Template","authentication_strategies.radius.not_active":"Radius is not active (not present in the backend list above) but you can still configure it","authentication_strategies.radius.form.transport":"Transport","authentication_strategies.radius.add_transport_dialog.title":"Add Transport","authentication_strategies.radius.edit_transport_dialog.title":"Edit Transport","authentication_strategies.radius.transport.no_transport":"No transport","authentication_strategies.radius.transport.transport_add":"Add Transport","authentication_strategies.radius.transport.transport_delete":"Delete Transport","authentication_strategies.radius.transport.actions.edit":"Edit Transport","authentication_strategies.radius.transport.actions.delete":"Delete Transport","authentication_strategies.radius.transport.form.local_address":"Local Address","authentication_strategies.radius.transport.form.local_port":"Local Port","authentication_strategies.radius.transport.form.local_dev":"Local Dev","authentication_strategies.radius.transport.form.remote_addresses":"Remote Addresses","authentication_strategies.radius.transport.form.remote_port":"Remote Port","authentication_strategies.radius.transport.form.timeout_s":"Timeout (s)","authentication_strategies.radius.transport.form.local":"Local","authentication_strategies.radius.form.buttons.save":"Save","authentication_strategies.radius.form.buttons.add":"Add","authentication_strategies.radius.form.buttons.cancel":"Cancel","authentication_strategies.radius.save.message_ok":"Radius configuration has been saved correctly","authentication_strategies.radius.save.message_ko":"An error occured saving the radius configuration","authentication_strategies.radius.form_errors.transport.remote_port.min":"Remote Port must be greater than or equal to 0","authentication_strategies.radius.form_errors.transport.remote_port.max":"Remote Port must be less than or equal to 65535","authentication_strategies.radius.form_errors.transport.local_port.min":"Local Port must be greater than or equal to 0","authentication_strategies.radius.form_errors.transport.local_port.max":"Local Port must be less than or equal to 65535","authentication_strategies.ldap.title":"LDAP","authentication_strategies.ldap.card.title":"LDAP Configuration","authentication_strategies.ldap.transport.title":"Transport","authentication_strategies.ldap.secret.title":"Secret","authentication_strategies.ldap.form_errors.bind_dn_required_if_bind_password":"Bind DN is required if Bind Password is set","authentication_strategies.ldap.form_errors.bind_password_required_if_bind_dn":"Bind Password is required if Bind DN is set","authentication_strategies.ldap.form_errors.transport.remote_addresses":"Remote Addresses field must have at least 1 item","authentication_strategies.ldap.form_errors.transport.local_address":"Local Address is a required field","authentication_strategies.ldap.form_errors.transport.local_port":"Local Port is a required field","authentication_strategies.ldap.form_errors.transport.local_port_min":"Local Port must be greater than or equal to 1","authentication_strategies.ldap.form_errors.transport.remote_port":"Remote Port is a required field","authentication_strategies.ldap.form_errors.transport.timeout_s":"Timeout (s) is a required field","authentication_strategies.ldap.form_errors.roles_mappings.role":"Role is a required field","authentication_strategies.ldap.form_errors.has_errors":"Field has errors","authentication_strategies.ldap.form.errors.required":"Field is required","authentication_strategies.ldap.form.permission_template":"Permission Template","authentication_strategies.ldap.form.base_dn":"Base Dn","authentication_strategies.ldap.form.bind_dn":"Bind Dn","authentication_strategies.ldap.form.bind_password":"Bind Password","authentication_strategies.ldap.form.username_attribute":"Username Attribute","authentication_strategies.ldap.not_active":"LDAP is not active (not present in the backend list above) but you can still configure it","authentication_strategies.ldap.form.transport":"Transport","authentication_strategies.ldap.form_errors.transport.timeout_s.min":"Timeout (s) must be greater than or equal to 1","authentication_strategies.ldap.form_errors.transport.remote_port.min":"Remote Port must be greater than or equal to 0","authentication_strategies.ldap.form_errors.transport.remote_port.max":"Remote Port must be less than or equal to 65535","authentication_strategies.ldap.form_errors.transport.local_port.min":"Remote Port must be greater than or equal to 0","authentication_strategies.ldap.form_errors.transport.local_port.max":"Remote Port must be less than or equal to 65535","authentication_strategies.ldap.add_transport_dialog.title":"Add Transport","authentication_strategies.ldap.edit_transport_dialog.title":"Edit Transport","authentication_strategies.ldap.transport.no_transport":"No transport","authentication_strategies.ldap.transport.transport_add":"Add Transport","authentication_strategies.ldap.transport.transport_delete":"Delete Transport","authentication_strategies.ldap.transport.actions.edit":"Edit Transport","authentication_strategies.ldap.transport.actions.delete":"Delete Transport","authentication_strategies.ldap.transport.form.local":"Local","authentication_strategies.ldap.transport.form.local_address":"Local Address","authentication_strategies.ldap.transport.form.local_port":"Local Port","authentication_strategies.ldap.transport.form.local_dev":"Local Dev","authentication_strategies.ldap.transport.form.remote_addresses":"Remote Addresses","authentication_strategies.ldap.transport.form.remote_port":"Remote Port","authentication_strategies.ldap.transport.form.timeout_s":"Timeout (s)","authentication_strategies.ldap.transport.form.ssl":"SSL Enabled","authentication_strategies.ldap.transport.form.ssl_verify":"SSL Verify","authentication_strategies.ldap.form.buttons.save":"Save","authentication_strategies.ldap.form.buttons.add":"Add","authentication_strategies.ldap.form.buttons.cancel":"Cancel","authentication_strategies.ldap.form.buttons.remove":"Remove","authentication_strategies.ldap.save.message_ok":"LDAP configuration has been saved correctly","authentication_strategies.ldap.save.message_ko":"An error occured saving the LDAP configuration","authentication_strategies.permission_template":"Permission Template","authentication_strategies.roles_mappings":"Roles Mappings","authentication_strategies.roles_mappings.external_role":"External Role","authentication_strategies.roles_mappings.application_role":"Application Role","authentication_strategies.openid.not_active":"OpenID is not active (not present in the backend list above) but you can still configure it","authentication_strategies.openid.allow_unsafe_http":"Allow unsafe HTTP","authentication_strategies.openid.client_id":"Client ID","authentication_strategies.openid.client_secret":"Client secret","authentication_strategies.openid.issuer":"Issuer","authentication_strategies.openid.username_attribute":"Username attribute","authentication_strategies.openid.configuration_overrides":"Configuration Overrides","authentication_strategies.openid.configuration_overrides.key":"Key","authentication_strategies.openid.configuration_overrides.value":"Value","authentication_strategies.external_role.required":"External role is a required field","authentication_strategies.application_role.required":"Application role is a required field","authentication_strategies.unique_external_role":"External role must be unique","authentication_strategies.invalid_configuration_overrides":"Invalid configuration overrides","authentication_strategies.local.title":"{backend} local transport","authentication_strategies.local.address":"Address","authentication_strategies.local.dev":"Dev","authentication_strategies.local.port":"Port","authentication_strategies.local.save":"Save","authentication_strategies.local.reset":"Reset","authentication_strategies.local.address.required":"Address is a required field","authentication_strategies.local.port.required":"Port is a required field","authentication_strategies.local.port.min":"Port must be greater than or equal to 0","authentication_strategies.local.port.max":"Port must be less than or equal to 65535","users.title":"Users","users.toolbar.new_user":"New User","users.table.username":"Username","users.table.fullname":"Full name","users.table.backend":"Backend","users.table.enabled":"Enabled","users.table.roles":"Roles","users.table.permissions":"Permissions","users.table.permissions_override":"Permissions Override","users.table.created_at":"Created at","users.table.modified_at":"Modified at","users.table.current_user":"Current User","users.table.actions.delete":"Delete","users.table.actions.update":"Edit","users.table.actions.change_password":"Change Password","users.table.actions.audit":"Audit","users.table.actions.revoke_tokens":"Revoke Tokens","users.dialog.confirm_delete.title":"Delete User","users.dialog.confirm_delete.description":"Are you sure to delete user {username}?","users.dialog.confirm_revoke_tokens.title":"Revoke tokens","users.dialog.confirm_revoke_tokens.description":"Are you sure to revoke {username}'s tokens?","users.delete.message_ko":"Unknown error encountered deleting user","users.new_user.form.title":"New User","users.new_user.roles.title":"Roles","users.new_user.roles.loading_roles":"Loading roles...","users.new_user.no_roles":"No roles in DB. Please add at least one role to assign a role to the user","users.new_user.all_roles_info.title":"Info about available roles","users.new_user.permissions_override.title":"Permissions","users.new_user.form.username":"Username","users.new_user.form.password":"Password","users.new_user.form.fullname":"Full Name","users.new_user.form.roles":"Roles","users.new_user.form.permissions":"Permissions","users.new_user.form.permissions_override":"Permissions Override","users.new_user.form.enabled":"Enabled","users.new_user.form.save":"Save","users.new_user.form.cancel":"Cancel","users.new_user.form_errors.required":"Field is required","users.edit_user.form.title":"Edit User","users.edit_user.form.username":"Username","users.edit_user.form.password":"Password","users.edit_user.form.fullname":"Full Name","users.edit_user.form.permissions":"Permissions","users.edit_user.form.enabled":"Enabled","users.edit_user.form.save":"Save","users.edit_user.form.cancel":"Cancel","users.edit_user.form_errors.required":"Field is required","users.change_password.form.title":"Change Password","users.change_password.form.current_password":"Current Password","users.change_password.form.password":"Password","users.change_password.form.passwordConfirmation":"Confirm Password","users.change_password.form.save":"Save","users.change_password.form.cancel":"Cancel","users.change_password.form_errors.required":"Field is required","users.change_password.form_errors.password_must_match":"Passwords must match","user_permissions.title":"Permissions","user_permissions.permissions_may_be_overridden":"Any permission may be overridden by selecting its value.","user_permissions.overridden":"Overridden","user_permissions.from_roles":"From roles","user_profile.title":"User","user_profile.username":"Username","user_profile.fullname":"Full Name","user_profile.backend":"Backend","user_profile.permissions":"Permissions","user_profile.actions.change_password":"Change Password","user_profile.actions.edit":"Edit","user_profile.change_password.form.title":"Change Password","user_profile.edit_user.form.title":"Edit User","roles.toolbar.new_role":"New Role","roles.table.id":"Role Name","roles.table.permissions":"Permissions","roles.table.created_at":"Created at","roles.table.modified_at":"Modified at","roles.table.actions.delete":"Delete","roles.table.actions.update":"Edit","roles.dialog.confirm_delete.title":"Delete Role","roles.dialog.confirm_delete.description":"Are you sure to delete role {role}?","roles.delete.message_ko":"Unknown error encountered deleting role","roles.new_role.form.title":"New Role","roles.new_role.form.id":"Role Name","roles.new_role.form.permissions":"Permissions","roles.new_role.form.save":"Save","roles.new_role.form.cancel":"Cancel","roles.new_role.form_errors.required":"Field is required","roles.edit_role.form.title":"Edit Role","roles.edit_role.form.id":"Role Name","roles.edit_role.form.permissions":"Permissions","roles.edit_role.form.save":"Save","roles.edit_role.form.cancel":"Cancel","roles.edit_role.form_errors.required":"Field is required","table.totalRows":"Total elements: {value}","table.selectedRows":"Selected {value}","table.noData":"No data found","table.errorData":"Can't load data","table.selectByQuery":"Select {value} rows?","listToolbar.actions":"actions","listToolbar.download":"export","listToolbar.download.current":"export current","listToolbar.download.all":"export all","listToolbar.filters":"filters","listToolbar.columns":"columns","users.form.title":"Create user","users.form.firstname":"First name","users.form.firstname.placeholder":"enter the first name","users.form.firstname.required":"Enter the first name","users.form.lastname":"Last name","users.form.lastname.placeholder":"enter the last name","users.form.lastname.required":"Enter the last name","users.form.email":"Email","users.form.email.placeholder":"enter the email","users.form.email.required":"Enter the email","users.form.language":"Language","users.form.language.placeholder":"select the language","users.form.language.required":"Select the language","users.form.role":"Roles","users.form.role.placeholder":"select roles","users.form.role.required":"Select a role","users.form.username":"Username","users.form.username.placeholder":"enter the username","users.form.username.required":"Enter the username","users.form.password":"One time password","users.form.password.placeholder":"enter the one time password","users.form.password.required":"Enter the password","users.form.password.edit.description":"Assign a new password to the user. The user will have to change it at the next access.","users.form.change_password_required":"Reset password","users.form.change_password_required.description":"Force the reset password so the user will have to change it at the next access.","languages.english":"English","languages.italian":"Italian","roles.form.name":"Name","roles.form.name.placeholder":"insert role name","roles.form.name.error":"Role name contains invalid characters","roles.form.description":"Description","roles.form.description.placeholder":"insert role description","roles.form.description.error":"Invalid role description","roles.form.permissions":"Permissions","roles.form.permissions.placeholder":"insert one or more permissions","roles.newRole":"New Role","roles.editRole":"Edit Role","roles.message.error":"Unable to load roles","roles.message.void":"No roles created","spinner.sending":"Sending data...","spinner.loading":"Loading data...","spinner.waiting":"Waiting for operation to complete","toastr.successful":"Operation successful","toastr.failure":"Operation failure","toastr.warning":"Something does wrong","toastr.info":"Look at this","toastr.loading":"Loading...","backup.tab.backup":"Backup","backup.tab.restore":"Restore","backup.button.schedule.backup":"Start backup","backup.button.schedule.restore":"Start restore","backup.encryption_password":"Encryption password","backup.form.title":"Schedule restore","backup.form.description":"Upload backup file to start restore process","backup.form.placeholder":"Backup file","backup.noData":"No schedules found","backup.restore.errors_dialog.title":"Restore Errors","backup.restore.warnings_dialog.title":"Restore Warnings","backup.restore.dialog_table.param":"Param","backup.restore.dialog_table.reason":"Reason","backup.restore.dialog_table.reason.download":"Download CSV","backup.card.created_at":"Created at:","backup.card.started_at":"Started at:","backup.card.terminated_at":"Terminated at:","backup.card.timeline":"Timeline","backup.card.warnings":"Warnings","backup.card.errors":"Errors","backup.detail.configuration.backup.alert":"NFs configuration and System Services backup.","backup.detail.configuration.backup.hint":"Select the resources to be included into the downloaded file","backup.detail.configuration.restore.hint":"Upload configuration backup file to restore configuration","backup.detail.eir.alert":"Equipment Rules backup.","backup.detail.dsm.alert":"DNS Zones backup.","backup.detail.udm.alert":"Home Network Keys backup.","backup.detail.udr.alert":"UE data including Keys and Profiles backup.","backup.detail.nrf.alert":"NF Profiles backup.","backup.detail.pls.alert":"Authentication, Users, Roles, KPI shipping, Alert shipping and Logs shipping backup.","backup.detail.form.validation.error":"Backup file .tar.gz required","backup.encryption_password.reset_default":"Reset default","form_import_files.title":"Import from file","form_import_files.description":"Here you can find an example of the import format: ","form_import_files.min":"Upload at least {num} files","form_import_files.max":"Upload up to {num} files","form_import_files.required":"File is required","form_import_files.file":"Select file","form_import_files.encrypted":"Encrypted","form_import_files.save":"Save","form_import_files.cancel":"Cancel","eir_rules.loading_error":"Error loading EIR rules provisioning data","eir_rules.table.header.autorule":"Autorule","eir_rules.table.header.pei":"PEI","eir_rules.table.header.supi":"SUPI","eir_rules.table.header.status":"Status","eir_rules.table.header.enabled":"Enabled","eir_rules.table.header.created_at":"Created","eir_rules.table.header.modified_at":"Modified","eir_rules.actions.edit":"Edit","eir_rules.actions.delete":"Delete","eir_rules.toolbar.filters":"Filters","eir_rules.toolbar.configuration":"Single rule per PEI","eir_rules.toolbar.new_rule":"New rule","eir_rules.toolbar.import_rules":"Import rules","eir_rules.new_rule.title":"New rule","eir_rules.new_rule.pei":"PEI","eir_rules.new_rule.supi":"SUPI","eir_rules.new_rule.status":"Status","eir_rules.new_rule.status.WHITELISTED":"WHITELISTED","eir_rules.new_rule.status.GREYLISTED":"GREYLISTED","eir_rules.new_rule.status.BLACKLISTED":"BLACKLISTED","eir_rules.new_rule.enabled":"Enabled","eir_rules.new_rule.enabled.true":"true","eir_rules.new_rule.enabled.false":"false","eir_rules.new_rule.save":"Save","eir_rules.new_rule.cancel":"Cancel","eir_rules.new_rule.form_errors.required":"Field is required","eir_rules.import.title":"Import EIR rules from file","eir_rules.import.description":"Add a single valid EIR Rules Provisioning csv file. Here you can find an example of the import format: ","eir_rules.import.form_errors.required":"File is required","eir_rules.import.file":"Select file","eir_rules.import.save":"Save","eir_rules.import.cancel":"Cancel","eir_rules.filters.pei":"PEI","eir_rules.filters.supi":"SUPI","eir_rules.filters.supi.all":"*","eir_rules.filters.supi.all_tooltip":"Activate filter for empty supi only","eir_rules.filters.status":"Status","eir_rules.filters.status.any":"any","eir_rules.filters.status.WHITELISTED":"WHITELISTED","eir_rules.filters.status.GREYLISTED":"GREYLISTED","eir_rules.filters.status.BLACKLISTED":"BLACKLISTED","eir_rules.filters.enabled":"Enabled","eir_rules.filters.enabled.any":"any","eir_rules.filters.enabled.true":"true","eir_rules.filters.enabled.false":"false","eir_rules.filters.autorule":"Autorule","eir_rules.filters.autorule.any":"any","eir_rules.filters.autorule.true":"true","eir_rules.filters.autorule.false":"false","eir_rules.filters.buttons.reset":"Reset","eir_rules.filters.buttons.apply":"Apply","eir_rules.edit_rule.title":"Edit rule","eir_rules.edit_rule.autorule":"Autorule","eir_rules.edit_rule.id":"ID","eir_rules.edit_rule.created_at":"Created","eir_rules.edit_rule.modified_at":"Modified","eir_rules.edit_rule.pei":"PEI","eir_rules.edit_rule.supi":"SUPI","eir_rules.edit_rule.status":"Status","eir_rules.edit_rule.status.WHITELISTED":"WHITELISTED","eir_rules.edit_rule.status.GREYLISTED":"GREYLISTED","eir_rules.edit_rule.status.BLACKLISTED":"BLACKLISTED","eir_rules.edit_rule.enabled":"Enabled","eir_rules.edit_rule.enabled.true":"true","eir_rules.edit_rule.enabled.false":"false","eir_rules.edit_rule.save":"Save","eir_rules.edit_rule.cancel":"Cancel","eir_rules.edit_rule.form_errors.required":"Field is required","eir_rules.actions.confirm_delete":"Are you sure to delete EIR rule?","eir_autorules.toolbar.new_autorule":"New autorule","eir_autorules.toolbar.import_rules":"Import autorules","eir_autorules.loading_error":"Error loading EIR autorules provisioning data","eir_autorules.table.header.supi":"SUPI","eir_autorules.table.header.created_at":"Created","eir_autorules.table.header.modified_at":"Modified","eir_autorules.actions.delete":"Delete","eir_autorules.new_rule.supi":"SUPI","eir_autorules.new_rule.save":"Save","eir_autorules.new_rule.cancel":"Cancel","eir_autorules.new_rule.title":"New autorule","eir_autorules.new_rule.form_errors.required":"Field is required","eir_autorules.import.title":"Import EIR autorules from file","eir_autorules.import.description":"Add a single valid EIR Autorules Provisioning csv file. Here you can find an example of the import format: ","eir_autorules.import.form_errors.required":"File is required","eir_autorules.import.file":"Select file","eir_autorules.import.save":"Save","eir_autorules.import.cancel":"Cancel","eir_autorules.actions.confirm_delete":"Are you sure to delete EIR autorule?","logs.filter.add":"Add Filter","logs.filter.confirm":"Confirm","logs.filter.cancel":"Cancel","logs.filter.field_name":"Field name","logs.current_boot":"Only current boot","logs.log_details":"Log details","logs.download_logs":"Download {logs} logs","logs.machine.info":"Info","logs.machine.virtualization":"Virtualization","logs.machine.journal_begins":"Journal Begins","logs.machine.journal_ends":"Journal Ends","logs.machine.disk_usage":"Disk Usage","logs.machine.machine_id":"Machine ID","logs.machine.boot_id":"Boot ID","logs.config":"Config","logs.config.default_levels":"Default levels","logs.config.no_data":"No config found","logs.config.exceptions":"Exceptions","logs.config.exceptions.rules":"Rules","logs.config.exceptions.level":"Level","logs.config.form.level":"Level","logs.config.form.exceptions":"Exceptions","logs.config.form.exceptions.exception":"Exception-{index}","logs.config.form.exceptions.no_data":"No exceptions found","logs.config.form.exceptions.clear":"Clear exceptions","logs.config.form.exceptions.add":"Add exception","logs.config.form.exception.enabled":"Enabled","logs.config.form.exception.rules":"Rules","logs.config.form.exception.rules.error":"At least one rule is required","logs.config.form.exception.rules.add":"Add rule","logs.config.form.exception.rules.field":"Field","logs.config.form.exception.rules.field.error":"Field is required","logs.config.form.exception.rules.values":"PCRE Patterns","logs.config.form.exception.rules.values.error":"At least one values is required","logs.config.form.exception.rules.no_data":"No rules found","logs.stream.follow":"Follow","logs.stream.buffer":"Streaming buffer of {buffer} logs","logs.grep.search":"Search...","logs.realtime.since":"Since (UTC)","logs.realtime.until":"Until (UTC)","monitoring.message.no_permission":"You are not able to view this page since you don't have the monitoring permission","monitoring.loading_error":"Error loading monitoring information","monitoring.icon_label.udr":"UDR","monitoring.icon_label.eir":"EIR","monitoring.icon_label.amf":"AMF","monitoring.icon_label.smf":"SMF","monitoring.icon_label.pcf":"PCF","monitoring.icon_label.upf":"UPF","monitoring.icon_label.nrf":"NRF","monitoring.icon_label.alerts":"Alerts","monitoring.icon_label.licenses":"Licenses","monitoring.icon_label.cpu":"CPU","monitoring.icon_label.disk":"Disk","monitoring.icon_label.ram":"RAM","monitoring.icon_label.network":"Network","monitoring.icon_label.uptime":"Uptime","monitoring.control_plane.title":"Control Plane","monitoring.control_plane.provisioned_sims.title":"provisioned sims","monitoring.control_plane.provisioned_sims.subtitle":"","monitoring.control_plane.udr_cluster_nodes.title":"Cluster nodes","monitoring.control_plane.udr_cluster_nodes.subtitle":"active/total","monitoring.control_plane.amf_ue.title":"users","monitoring.control_plane.amf_ue.subtitle":"connected/registered","monitoring.control_plane.amf_active_radios.title":"Active radios","monitoring.control_plane.pcf_sessions.n5_sessions_count.title":"N5 Sessions","monitoring.control_plane.pcf_sessions.n5_sessions_count.subtitle":"","monitoring.control_plane.pcf_sessions.n7_sessions_count.title":"N7 Sessions","monitoring.control_plane.pcf_sessions.n7_sessions_count.subtitle":"","monitoring.control_plane.smf_users.sessions_count.title":"Active sessions","monitoring.control_plane.smf_users.users_count.title":"Number of users","monitoring.control_plane.smf_connected_peers.title":"UPFs in use","monitoring.control_plane.eir_rules.title":"Rules","monitoring.control_plane.eir_cluster_nodes.title":"Cluster nodes","monitoring.control_plane.eir_cluster_nodes.subtitle":"active/total","monitoring.control_plane.nrf_profiles.registered_count.title":"Registered Profiles","monitoring.control_plane.nrf_profiles.suspended_count.title":"Suspended Profiles","monitoring.control_plane.nrf_profiles.undiscoverable_count.title":"Undiscoverable Profiles","monitoring.user_plane.title":"User Plane","monitoring.user_plane.upf_ip.title":"IP Addresses","monitoring.user_plane.upf_ip.subtitle":"allocated/provisioned","monitoring.user_plane.upf_sessions.title":"Active sessions","monitoring.user_plane.upf_sessions.subtitle":"","monitoring.user_plane.upf_throughput.throughput.title":"Throughput UL-DL","monitoring.user_plane.upf_throughput.total.title":"Total load UL-DL","monitoring.platform.title":"Platform","monitoring.platform.alerts":"Alerts","monitoring.platform.cpu.cpu_count":"Number of CPU","monitoring.platform.cpu.cpu_busy_perc":"Load","monitoring.platform.disk.availability":"Absolute free/total","monitoring.platform.disk.occupation":"Occupation","monitoring.platform.memory.availability":"Absolute free/total","monitoring.platform.memory.occupation":"Occupation","monitoring.platform.licenses.title":"Number of licenses","monitoring.platform.licenses.subtitle":"valid/total","monitoring.platform.licenses_expiring.title":"Expiring","monitoring.platform.licenses_expiring.subtitle":"Expiring","monitoring.platform.uptime.title":"Uptime","monitoring.platform.uptime.subtitle":"Hours","monitoring.platform.network_interfaces.title":"Interfaces","monitoring.platform.network_interfaces.subtitle":"active/total","monitoring.platform.network_ntp.loading":"NTP Loading...","monitoring.platform.network_ntp.synced":"NTP Synced","monitoring.platform.network_ntp.not_synced":"NTP Not Synced","monitoring.platform.network.rate.title":"Bandwidth TX/RX","monitoring.platform.network.load.title":"Load TX/RX","monitoring.cluster.title":"DB Cluster","monitoring.cluster.icon_label":"TODO Label","monitoring.cluster.tooltip.go_to_nf":"Go to {nf} DB Cluster page","monitoring.cluster.error":"Something went wrong","monitoring.cluster.fully_established.true":"Fully Established","monitoring.cluster.fully_established.false":"Not Fully Established","monitoring.icon_label.mme":"MME","monitoring.control_plane.mme_ue.title":"users","monitoring.control_plane.mme_ue.subtitle":"connected/registered","monitoring.control_plane.mme_active_radios.title":"Active radios","nrf.status.nf_status":"NF Status","nrf.status.nf_type":"NF Type","nrf.status.profile_type":"Profile Type","nrf.status.profile_type.dynamic":"Dynamic","nrf.status.profile_type.static":"Static","nrf.status.registration":"Registration","nrf.status.expiration":"Expiration","nrf.status.nf_instance_id":"NF Instance Id","nrf.status.profile_details":"NRF Profile Details","nrf.status.details.no_profile":"Profile is no longer available","nrf.status.actions.edit":"Edit","nrf.status.actions.details":"Details","landing.systemStatus":"System Status","landing.systemStatus.cpuBusy":"CPU Busy","landing.systemStatus.sysLoadAvg5m":"Sys Load (5m avg)","landing.systemStatus.ramUsed":"RAM Used","landing.systemStatus.rootFsUsed":"Root FS Used","landing.systemStatus.cpuCores":"CPU Cores","landing.systemStatus.ramTotal":"RAM Total","landing.systemStatus.swapTotal":"SWAP Total","landing.systemStatus.rootFsTotal":"RootFS Total","landing.systemStatus.uptime":"Uptime","landing.processesStatus":"Processes Status","landing.processesStatus.title.name":"Name","landing.processesStatus.title.status":"Status","landing.processesStatus.status.running":"Running","landing.processesStatus.status.failed":"Failed","landing.processesStatus.name.amf.service":"AMF","landing.processesStatus.name.ausf.service":"AUSF","landing.processesStatus.name.smf.service":"SMF","landing.processesStatus.name.fluentbit.service":"Fluentbit","landing.processesStatus.name.eventlog-manager.service":"EventLog Manager","landing.processesStatus.name.licensed.service":"Licensed","landing.processesStatus.name.pcf.service":"PCF","landing.processesStatus.name.nrf.service":"NRF","landing.processesStatus.name.chf.service":"CHF","landing.processesStatus.name.eir.service":"EIR","landing.processesStatus.name.ccs-agent.service":"CCS Agent","landing.processesStatus.name.ncm.service":"NCM","landing.processesStatus.name.prometheus-manager.service":"Prometheus Manager","landing.processesStatus.name.udm.service":"UDM","landing.processesStatus.name.udr.service":"UDR","landing.processesStatus.name.upf.service":"UPF","landing.processesStatus.name.nf-bgcf-main.service":"BGCF","landing.processesStatus.name.nf-icscf-main.service":"I-CSCF","landing.processesStatus.name.nf-imsagw-main.service":"IMS-AGW","landing.processesStatus.name.nf-imsalarms.service":"IMS Alarms","landing.processesStatus.name.nf-imsconfig.service":"IMS-Config","landing.processesStatus.name.nf-n5iwf-main.service":"N5-IWF","landing.processesStatus.name.nf-named-main.service":"DNS/ENUM","landing.processesStatus.name.nf-pcscf-main.service":"P-CSCF","landing.processesStatus.name.nf-ecscf-main.service":"E-CSCF","landing.processesStatus.name.nf-pstngw-main.service":"PSTN Gateway","landing.processesStatus.name.nf-scscf-main.service":"S-CSCF","landing.processesStatus.name.nf-tas-main.service":"TAS","landing.processesStatus.name.nf-xcap-main.service":"XCAP","landing.processesStatus.name.nf-imsrecovery-main.service":"Recovery Agent","landing.alerts":"Alerts {additional_info}","landing.alerts.no_alerts":"No active alerts!","landing.alerts.title.name":"Name","landing.alerts.title.summary":"Summary","landing.alerts.title.severity":"Severity","landing.alerts.title.state":"State","landing.alerts.title.firedAt":"Fired At","landing.alerts.title.stillActiveAt":"Still Active At","landing.alerts.severity.emergency":"Emergency","landing.alerts.severity.alert":"Alert","landing.alerts.severity.critical":"Critical","landing.alerts.severity.error":"Error","landing.alerts.severity.warning":"Warning","landing.alerts.severity.notice":"Notice","landing.alerts.severity.informational":"Informational","landing.alerts.severity.info":"Informational","landing.alerts.severity.debug":"Debug","landing.alerts.state.unprocessed":"Unprocessed","landing.alerts.state.active":"Active","landing.alerts.state.suppressed":"Suppressed","landing.alerts.state.inactive":"Inactive","landing.alerts.state.pending":"Pending","landing.alerts.state.firing":"Firing","landing.error":"Error loading data!","supis.buttons.import":"Import","supis.table.supi":"SUPI","supis.table.msisdn":"MSISDN","supis.table.description":"Description","supis.table.status":"Status","supis.table.status.active":"Active","supis.table.status.inactive":"Inactive","supis.table.provisioned_data_profile":"Provisioned Data Profile","supis.table.policy_data_profile":"Policy Data Profile","supis.table.created_at":"Created","supis.editSupi":"Edit SUPI","supis.editSupiProvisionedDataProfile":"Edit Provisioned Profile","supis.editSupiPolicyDataProfile":"Edit Policy Profile","supis.deleteSupi":"Delete SUPI","supis.infoSupi":"Info on SUPI","supis.info.title":'Info on SUPI "{supi}"',"supis.info.am.title":"Access Management","supis.info.am.guti":"GUTI","supis.info.am.ncgi":"NCGI","supis.info.am.tai":"TAI","supis.info.am.cmState":"CM State","supis.info.am.mmState":"MM State","supis.info.am.error":"No data found!","supis.info.sm.title":"Session Management","supis.info.sm.dnn":"DNN","supis.info.sm.pdu_session_id":"PDU Session ID","supis.info.sm.snssai":"S-NSSAI","supis.info.sm.ipv4":"IPv4","supis.info.sm.ipv6":"IPv6","supis.info.sm.error":"No data found!","supis.form.title":"Create SUPI","supis.form.supi":"Subscription Permanent Identifier","supis.form.supi.placeholder":"SUPI","supis.form.description":"Description","supis.form.description.placeholder":"Description","supis.form.msisdn":"MSISDN","supis.form.msisdn.placeholder":"MSISDN","supis.form.profile":"Profile","supis.form.profile.placeholder":"Select a profile","supis.form.provisioned_data_profile":"Provisioned Profile","supis.form.provisioned_data_profile.placeholder":"Select a provisioned profile","supis.form.policy_data_profile":"Policy Profile","supis.form.policy_data_profile.placeholder":"Select a policy profile","supis.form.status":"Status","supis.form.status.placeholder":"Select Status","supis.form.k":"K","supis.form.k.placeholder":"k","supis.form.op_type":"Key Type","supis.form.op_type.placeholder":"key type","supis.form.op_type.op":"OP","supis.form.op_type.opc":"OPC","supis.form.op_type.operator_key_id":"OPID","supis.form.op_value":"Value","supis.form.op_value.placeholder":"Value","supis.form.transport_key_id":"Transport Key ID","supis.form.transport_key_id.placeholder":"Transport Key ID","supis.import.form.title":"Import SUPIs from CSV file","supis.import.form.description":"Add a single valid UDR Provisioning csv file. Here you can find an example of the import format: ","supis.import.form.file":"File","supis.import.form.file.required":"Field is required","supis.import.upload":"Upload","supis.import.upload.placeholder":"Select a single csv file","supis.import.form.result.message_ok":"UDR Provisioning data imported successfully!","supis.import.form.result.message_started":"Importing UDR Provisioning Data...","supis.import.form.result.message_ko":"Error encountered importing UDR Provisioning data! See console for further details","supisProfiles.renameProfile":"Rename Profile","supisProfiles.accessManagementData":"Access Management Data","supisProfiles.sessionManagementData":"Session Management Data","supisProfiles.smf":"SMF Selection Data","supisProfiles.configurePlmn":"Configure PLMN","supisProfiles.deleteProfile":"Delete Profile","supisProfiles.table.id":"ID","supisProfiles.table.description":"Description","supisProfiles.table.downlink":"Downlink","supisProfiles.table.uplink":"Uplink","supisProfiles.table.created_at":"Created","supisProfiles.form.title":"New Provisioned Data Profile","supisProfiles.form.description":"Profile description","supisProfiles.form.description.placeholder":"Enter a Profile description","supisProfiles.form.downlink":"Downlink","supisProfiles.form.downlink.placeholder":"Enter a value","supisProfiles.form.uplink":"Uplink","supisProfiles.form.uplink.placeholder":"Enter a value","supisProfiles.form.defaultSingleNssais":"Default S-NSSAIs","supisProfiles.form.x-ath-nssai":"4G S-NSSAIs","supisProfiles.form.x-ath-nssai.sst":"SST","supisProfiles.form.x-ath-nssai.sd":"SD","supisProfiles.form.singleNssais":"S-NSSAIs","supisProfiles.form.sd":"SD","supisProfiles.form.sd.placeholder":"Enter a SD","supisProfiles.form.sd.error.regex":"Enter a 6 chars hexadecimal value","supisProfiles.form.sst":"SST","supisProfiles.form.sst.placeholder":"Enter a SST","supisProfiles.form.smd.sst.hexerror":"Enter a 6 digits hexadecimal value","supisProfiles.form.qos5qi":"5G QoS Identifier","supisProfiles.form.qos5qi.placeholder":"Enter a number between 0 and 255","supisProfiles.form.preemptCap":"Preemption Capability","supisProfiles.form.preemptCap.placeholder":"Select a Preemption Capability value","supisProfiles.form.preemptVuln":"Preemption Vulnerability","supisProfiles.form.preemptVuln.placeholder":"Select a Preemption Vulnerability value","supisProfiles.form.arppriorityLevel":"ARP priority level","supisProfiles.form.arppriorityLevel.placeholder":"Enter an ARP priority level","supisProfiles.form.qospriorityLevel":"QoS priority level","supisProfiles.form.qospriorityLevel.placeholder":"Enter an QoS priority level","supisProfiles.form.atsssAllowed":"ATSSS Allowed","supisProfiles.form.atsssAllowed.placeholder":"ATSSS Allowed","supisProfiles.form.staticIpAddressIpv4":"Static IPV4","supisProfiles.form.staticIpAddressIpv4.placeholder":"Enter an IPV4","supisProfiles.form.staticIpAddressIpv4.error.regex":"Enter a valid IPV4 address","supisProfiles.form.staticIpAddressIpv6":"Static IPV6","supisProfiles.form.staticIpAddressIpv6.placeholder":"Enter an IPV6","supisProfiles.form.staticIpAddressIpv6.error.regex":"Enter a valid IPV6 address","supisProfiles.form.staticIpAddressIpv6Prefix":"Static IPV6 Prefix","supisProfiles.form.staticIpAddressIpv6Prefix.placeholder":"Enter an IPV6 Prefix","supisProfiles.form.staticIpAddressIpv6Prefix.error.regex":"Enter a valid IPV6 prefix","supisProfiles.form.staticIpAddressIpv6Prefix.error.range":"IPV6 prefix must be in the range [64-128]","supisProfiles.form.staticIpAddressIpv6Prefix.error.64":"IPV6 prefix must be a 64","supisProfiles.form.ipv4FrameRouteList":"IPV4 Frame Route List","supisProfiles.form.ipv4FrameRouteList.placeholder":"Enter a list of IPV4 masks","supisProfiles.form.ipv4FrameRouteList.error.regex":"Enter a valid IPV4 mask","supisProfiles.form.ipv6FrameRouteList":"IPV6 Frame Route List","supisProfiles.form.ipv6FrameRouteList.placeholder":"Enter a list of IPV6 prefixes","supisProfiles.form.ipv6FrameRouteList.error.regex":"Enter a valid IPV6 prefix","supisProfiles.form.defaultSessionType":"Default session type","supisProfiles.form.defaultSessionType.placeholder":"Select a default session type","supisProfiles.form.allowedSessionTypes":"Allowed session types","supisProfiles.form.allowedSessionTypes.placeholder":"Select the allowed session types","supisProfiles.form.defaultSscMode":"Default SSC mode","supisProfiles.form.defaultSscMode.placeholder":"Select a default SSC mode","supisProfiles.form.allowedSscModes":"Allowed SSC modes","supisProfiles.form.allowedSscModes.placeholder":"Select the allowed SSC modes","supisProfiles.form.APNOIReplacement":"APN OI Replacement","supisProfiles.form.addDnnConfiguration":"Add DNN Configuration","supisProfiles.smfSelectionData":"SMF Selection Data","supisProfiles.form.sstlist":"Subscribed SNSSAI Infos","supisProfiles.form.snssai":"S-NSSAI","supisProfiles.form.snssai.placeholder":"Enter a S-NSSAI","supisProfiles.form.isdefault":"Default DNN","supisProfiles.form.dnnName":"DNN name","supisProfiles.form.dnnName.placeholder":"Enter a DNN name","supisProfiles.form.addSmd":"Add S-NSSAI","supisProfiles.form.newSNSSAI":"New S-NSSAI #{value}","supisProfiles.form.newDNN":"New DNN #{value}","udr_configuration.tabs.log_level":"Log level","udr_configuration.tabs.sbi":"SBI","udr_configuration.buttons.boot":"Boot configuration","udr_configuration.buttons.boot_reload":"Reload boot configuration","udr_configuration.toastr.apply_configuration_ok":"Configuration applied correctly","udr_configuration.toastr.apply_configuration_ko":"Error on applying configuration","udr_configuration.toastr.persist_configuration_ok":"Configuration persisted correctly","udr_configuration.toastr.persist_configuration_ko":"Error on persisting configuration","udr_configuration.toastr.restart_resource_ok":"Resource restarted correctly","udr_configuration.toastr.restart_resource_ko":"Error on restarting resource","udr_configuration.toastr.factory_reset_ok":"Configuration reset correctly","udr_configuration.toastr.factory_reset_ko":"Error on resetting configuration","udr_configuration.dialog.factory_reset.confirm":"Are you sure to reset to the factory configuration?","udr_configuration.dialog.restart_resource.confirm":"Are you sure to restart the resource?","udr_configuration.dialog.boot.title":"Boot configuration","udr_configuration.logs.errors.required":"Field is required","udr_configuration.logs.form.level":"Level","udr_supis.actions.delete":"Delete","udr_supis.actions.info":"Info","udr_supis.actions.confirm_delete":"Are you sure to delete SUPI?","udr_supis.actions.edit":"Edit","udr_supis.table.id":"ID","udr_supis.table.description":"Description","udr_supis.table.gpsi":"GPSI","udr_supis.table.provisioned_data_profile":"Provisioned Data Profile","udr_supis.table.policy_data_profile":"Policy Data Profile","udr_supis.table.status":"Status","udr_supis.table.modified_at":"Modified","udr_supis.table.created_at":"Created","udr_supis.toolbar.new":"New","udr_supis.toolbar.import":"Import","udr_supis.import.form.title":"Import SUPIs from CSV file","udr_supis.import.form.description":"Add a single valid UDR Provisioning csv file. Here you can find an example of the import format: ","udr_supis.import.form.file":"File","udr_supis.import.form.file.required":"Field is required","udr_supis.import.upload":"Upload","udr_supis.import.upload.placeholder":"Select a single csv file","udr_supis.import.form.result.message_ok":"UDR Provisioning data imported successfully!","udr_supis.import.form.result.message_started":"Importing UDR Provisioning Data...","udr_supis.import.form.result.message_ko":"Errors occured during data import","udr_supi.section.errors.title":"Errors","udr_supi.section.general.title":"General","udr_supi.section.profiles.title":"Profiles","udr_supi.section.provisioned_data_profile_patches.title":"Provisioned Data Profile Patches","udr_supi.section.provisioned_data_profile_patches.no_patch":"No patches","udr_supi.form.cancel":"Cancel","udr_supi.form.save":"Save","udr_supi.form.errors":"There are some errors in the form","udr_supi.form.errors.min":"Min value is {value}","udr_supi.form.errors.max":"Max value is {value}","udr_supi.form.errors.format":"The format should be {value}","udr_supi.form.errors.required":"Field is required","udr_supi.form_errors.has_errors":"Field has errors","udr_supi.form.supi":"SUPI","udr_supi.form.description":"Description","udr_supi.form.gpsi":"GPSI","udr_supi.form.k":"K","udr_supi.form.is_overriding_keys":"Override keys","udr_supi.form.keys_provisioned":"Provisioned","udr_supi.form.keys_not_provisioned":"Not provisioned","udr_supi.form.operator_key_type":"Operator Key Type","udr_supi.form.operator_key_value":"Operator Key Value","udr_supi.form.transport_key_id":"Transport Key Id","udr_supi.form.k_tag":"K Tag","udr_supi.form.opc_tag":"OPC Tag","udr_supi.form.policy_data_profile_uuid":"Policy Data Profile","udr_supi.form.provisioned_data_profile_uuid":"Provisioned Data Profile","udr_supi.form.provisioned_data_profile_patches.add_dialog.title":"Add Patch","udr_supi.form.provisioned_data_profile_patches.error.already_present":"Patch is already present in the list","udr_supi.form.provisioned_data_profile_patches.add":"Add Patch","udr_supi.form.provisioned_data_profile_patches.delete":"Delete Patch","udr_supi.form.provisioned_data_profile_patches.sst":"SST","udr_supi.form.provisioned_data_profile_patches.sd":"SD","udr_supi.form.provisioned_data_profile_patches.dnn":"DNN","udr_supi.form.provisioned_data_profile_patches.static_ipv4":"Static IPv4","udr_supi.form.provisioned_data_profile_patches.static_ipv6":"Static IPv6","udr_supi.form.provisioned_data_profile_patches.ipv4_frame_route_list":"IPv4 Frame Route List","udr_supi.form.provisioned_data_profile_patches.ipv6_frame_route_list":"IPv6 Frame Route List","udr_supi.form.slice_dnn_selection.rule":"Rule","udr_supi.form.slice_dnn_selection.pattern":"PLMN Rule Pattern","udr_supi.form.slice_dnn_selection.sliceId":"Slice ID","udr_supi.form.slice_dnn_selection.dnnName":"DNN Name","udr_supi.form.slice_dnn_selection.buttons.cancel":"Cancel","udr_supi.form.slice_dnn_selection.buttons.submit":"Select","udr_supi.form.status":"Status","udr_supi.form.errors.provisioned_data_profiles_patch_at_least_one":"One of Static IPv4, Static IPv6, IPv4 Frame Route List or IPv6 Frame Route List must be entered","udr_supi.form.buttons.submit":"Submit","udr_supi.filters.buttons.reset":"Reset","udr_supi.filters.buttons.apply":"Apply","udr_supi.filters.supi_icont":"Contains","udr_supi.filters.supi_noticont":"Not contains","udr_supi.filters.supi_iend":"Ends with","udr_supi.filters.gpsi_icont":"Contains","udr_supi.filters.gpsi_noticont":"Not contains","udr_supi.filters.gpsi_iend":"Ends with","udr_supi.filters.status_eq":"STATUS","udr_supi.filters.status_eq_active_inactive":"Status","udr_supi.filters.supi":"SUPI","udr_supi.filters.gpsi":"GPSI","udr_supi.filters.case_insensitive.info":"The filters are case-insensitive, so there is no difference between uppercase and lowercase characters.","udr_supi.toolbar.filters":"Filters","udr_provisioned_data_profiles.actions.delete":"Delete","udr_provisioned_data_profiles.actions.confirm_delete":"Are you sure to delete provisioned data profile?","udr_provisioned_data_profiles.actions.edit":"Edit","udr_provisioned_data_profiles.table.id":"ID","udr_provisioned_data_profiles.table.description":"Description","udr_provisioned_data_profiles.table.created_at":"Created","udr_provisioned_data_profiles.table.modified_at":"Modified","udr_provisioned_data_profiles.form.title_create":"New provisioned data profile","udr_provisioned_data_profiles.form.title_edit":"Edit provisioned data profile","udr_provisioned_data_profile.section.errors.title":"Errors","udr_provisioned_data_profile.section.general.title":"General info","udr_provisioned_data_profile.section.plmn_rules.title":"PLMN Rules","udr_provisioned_data_profile.section.access_and_mobility.title":"Access and Mobility","udr_provisioned_data_profile.section.aggregated_maximum_bitrate.title":"Aggregated Maximum Bitrate","udr_provisioned_data_profile.section.restrictions.title":"Restrictions","udr_provisioned_data_profile.section.restrictions.4g-5g-nsa.title":"4G + 5G-NSA","udr_provisioned_data_profile.section.restrictions.5g.title":"5G","udr_provisioned_data_profile.section.forbidden_areas.title":"Forbidden Areas","udr_provisioned_data_profile.section.service_area_restriction.title":"Service Area Restriction","udr_provisioned_data_profile.section.service_area_restriction_areas.title":"Areas","udr_provisioned_data_profile.section.closed_subscriber_group.title":"Closed Subscriber Group","udr_provisioned_data_profile.section.slices.title":"Slices","udr_provisioned_data_profile.section.default_slices.title":"Default Slices","udr_provisioned_data_profile.section.dnnList.title":"DNNs","udr_provisioned_data_profile.section.dnnList.dnn.aggregated_maximum_bitrate.title":"Aggregated Maximum Bitrate","udr_provisioned_data_profile.section.dnnList.dnn.qos.title":"QoS","udr_provisioned_data_profile.section.dnnList.dnn.qos.arp.title":"ARP","udr_provisioned_data_profile.section.dnnList.dnn.session_types.title":"Session Types","udr_provisioned_data_profile.section.dnnList.dnn.up_security.title":"UP Security","udr_provisioned_data_profile.section.sms.title":"SMS","udr_provisioned_data_profiles.form.description":"Description","udr_provisioned_data_profiles.form.cancel":"Cancel","udr_provisioned_data_profiles.form.save":"Save","udr_provisioned_data_profiles.form.errors.uuid_format":"The format should be {value}","udr_provisioned_data_profiles.form.errors":"There are some errors in the form","udr_provisioned_data_profiles.form.errors.min":"Min value is {value}","udr_provisioned_data_profiles.form.errors.max":"Max value is {value}","udr_provisioned_data_profiles.form.errors.format":"The format should be {value}","udr_provisioned_data_profiles.form.errors.max_attempts":"Max Attemps value must be greater than or equal to 1","udr_provisioned_data_profiles.form.errors.tolerance_period_sec":"Tolerance Period (s) value must be greater than or equal to 1","udr_provisioned_data_profiles.form.errors.required":"Field is required","udr_provisioned_data_profiles.form.errors.required_default4g":"Required if Default 4G Slice is selected","udr_provisioned_data_profiles.form.errors.required_rule":"Required if Reference data from a different rule is selected","udr_provisioned_data_profiles.form.errors.required_5gQosProfile":"Field is required if one of these fields are set: 5G QoS Identifier, Preemption Capability. Preemption Vulnerability, ARP Priority Level","udr_provisioned_data_profiles.form.errors.required_downlink":"Field is required if uplink is set","udr_provisioned_data_profiles.form.errors.required_uplink":"Field is required if downlink is set","udr_provisioned_data_profiles.form.errors.required_isDefault":"At least one default slice is required","udr_provisioned_data_profiles.form.errors.required_upSecurityUpConfid":"Field is required if UP Integration is set","udr_provisioned_data_profiles.form.errors.required_upSecurityUpIntegr":"Field is required if UP Configuration ID is set","udr_provisioned_data_profiles.form.errors.required_serviceAreaRestrictionType":"Field is required if Service Area Restriction is active","udr_provisioned_data_profiles.form.errors.required_serviceAreaRestrictionAreas":"Insert at least 1 Area","udr_provisioned_data_profiles.form.errors.unique_slices_id":"Slices should have unique SST-SD pairs","udr_provisioned_data_profiles.form.errors.unique_plmn_rule_id":"PLMN Rule should have unique pattern","udr_provisioned_data_profiles.form.errors.default4g_slice_with_pdn_enabled":"every dnn associated with the default 4g slice must explicitly have PDN enabled","udr_provisioned_data_profiles.form.errors.default4g_slice_with_5gQosProfile":"every dnn associated with the default 4g slice must explicitly set the 5G QoS Identifier field","udr_provisioned_data_profiles.toolbar.new_profile":"New","udr_provisioned_data_profile.form_errors.has_errors":"Field has errors","udr_provisioned_data_profile.form.description":"Description","udr_provisioned_data_profile.form.uuid":"UUID","udr_provisioned_data_profile.form.pattern":"Pattern","udr_provisioned_data_profile.form.data_from":"Rule","udr_provisioned_data_profile.form.isDataFrom":"Reference data from a different rule","udr_provisioned_data_profile.form.action":"Action","udr_provisioned_data_profile.form.ratRestrictions":"RAT Restrictions","udr_provisioned_data_profile.form.rfspIndex":"RSFP Index","udr_provisioned_data_profile.form.coreNetworkTypeRestrictions":"Core Network Type Restrictions","udr_provisioned_data_profile.form.regionalSubscriptionZoneCodes":"Regional Subscription Zone Codes","udr_provisioned_data_profile.form.closedSubscriberGroup":"Closed Subscriber Group","udr_provisioned_data_profile.form.forbiddenAreas":"Forbidden Areas","udr_provisioned_data_profile.form.isServiceAreaRestrictionActive":"Enabled","udr_provisioned_data_profile.form.serviceAreaRestrictionAreas":"Areas","udr_provisioned_data_profile.form.serviceAreaRestrictionType":"Restriction Type","udr_provisioned_data_profile.form.defaultDownlink":"Default Downlink","udr_provisioned_data_profile.form.defaultUplink":"Default Uplink","udr_provisioned_data_profile.form.defaultSliceId":"Default Slice","udr_provisioned_data_profile.form.defaultSliceIds":"Default Slices","udr_provisioned_data_profile.form.default4gSliceId":"Default 4G Slice","udr_provisioned_data_profile.form.slice.defaultDnnId":"Default DNN","udr_provisioned_data_profile.form.networkAccessMode":"Network Access Mode (only 3G/4G)","udr_provisioned_data_profile.form.APNOIReplacement":"APN OI Replacement","udr_provisioned_data_profile.form.ueUsageType":"UE Usage Type","udr_provisioned_data_profile.form.subsRegTimer":"Subscriber Registration Timer","udr_provisioned_data_profile.form.plmn_rules.rule_delete":"Delete PLMN Rule","udr_provisioned_data_profile.form.plmn_rules.rule_delete.data_from.error":"You can't delete a rule that has some other rules referencing it","udr_provisioned_data_profile.form.plmn_rules.rule_add":"Add PLMN Rule","udr_provisioned_data_profile.form.plmn_rules.no_data":"No PLMN Rules","udr_provisioned_data_profile.form.closed_subscriber_group.delete":"Delete","udr_provisioned_data_profile.form.closed_subscriber_group.add":"Add","udr_provisioned_data_profile.form.closed_subscriber_group.no_data":"No data","udr_provisioned_data_profile.form.closed_subscriber_group.csg_id":"CSG ID","udr_provisioned_data_profile.form.closed_subscriber_group.visited_plmn":"Visited PLMN","udr_provisioned_data_profile.form.forbidden_areas.title":"Forbidden Areas","udr_provisioned_data_profile.form.forbidden_areas.delete":"Delete Area","udr_provisioned_data_profile.form.forbidden_areas.add":"Add Area","udr_provisioned_data_profile.form.forbidden_areas.no_data":"No Areas","udr_provisioned_data_profile.form.forbidden_areas.name":"Name","udr_provisioned_data_profile.form.forbidden_areas.tacs":"TACs","udr_provisioned_data_profile.form.service_area_restriction_areas.title":"Areas","udr_provisioned_data_profile.form.service_area_restriction_areas.delete":"Delete Area","udr_provisioned_data_profile.form.service_area_restriction_areas.add":"Add Area","udr_provisioned_data_profile.form.service_area_restriction_areas.no_data":"No Areas","udr_provisioned_data_profile.form.service_area_restriction_areas.name":"Name","udr_provisioned_data_profile.form.service_area_restriction_areas.tacs":"TACs","udr_provisioned_data_profile.form.slice.no_slices":"No slices","udr_provisioned_data_profile.form.slice.no_slices_for_default":"You must add at least one slice to manage default slices","udr_provisioned_data_profile.form.slice.no_dnns":"No DNNs","udr_provisioned_data_profile.form.slices.slice_add":"Add Slice","udr_provisioned_data_profile.form.slices.slice_delete":"Delete Slice","udr_provisioned_data_profile.form.slices.slice_default":"Default","udr_provisioned_data_profile.form.slices.slice_enabled":"Enabled","udr_provisioned_data_profile.form.slice.sst":"SST","udr_provisioned_data_profile.form.slice.sd":"SD","udr_provisioned_data_profile.form.slice.3gppChargingCharacteristics":"3GPP Charging Characteristics","udr_provisioned_data_profile.form.slice.isDefault":"Default","udr_provisioned_data_profile.form.slice.is4gDefault":"4G Default","udr_provisioned_data_profile.form.slice.isEnabled":"PDN Enabled","udr_provisioned_data_profile.form.slice.isEnabled_required_for_4g":"mandatory for 4G enabled devices, required to establish the 5G PDN session","udr_provisioned_data_profile.form.slice.defaultDnn":"Default DNN","udr_provisioned_data_profile.form.slice.dnn_add":"Add DNN","udr_provisioned_data_profile.form.slice.dnn_delete":"Delete DNN","udr_provisioned_data_profile.form.slice.dnn.name":"DNN Name","udr_provisioned_data_profile.form.slice.dnn.isDefault":"Default","udr_provisioned_data_profile.form.slice.dnn.downlink":"Downlink","udr_provisioned_data_profile.form.slice.dnn.uplink":"Uplink","udr_provisioned_data_profile.form.slice.dnn.3gppChargingCharacteristics":"3GPP Charging Characteristics","udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.5qi":"5G QoS Identifier","udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.preemptCap":"Preemption Capability","udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.preemptVuln":"Preemption Vulnerability","udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.priorityLevel":"ARP Priority Level","udr_provisioned_data_profile.form.slice.dnn.pduSessionTypes.additionalSessionTypes":"Additional session types","udr_provisioned_data_profile.form.slice.dnn.pduSessionTypes.defaultSessionType":"Default session type","udr_provisioned_data_profile.form.slice.dnn.sscModes.defaultSscMode":"Default SSC mode","udr_provisioned_data_profile.form.slice.dnn.sscModes.allowedSscModes":"Allowed SSC mode","udr_provisioned_data_profile.form.slice.dnn.APNOIReplacement":"APN OI Replacement","udr_provisioned_data_profile.form.slice.dnn.preferredDataMode":"Preferred Data Mode","udr_provisioned_data_profile.form.slice.dnn.upSecurityUpConfid":"UP Configuration ID","udr_provisioned_data_profile.form.slice.dnn.upSecurityUpIntegr":"UP Integration","udr_provisioned_data_profile.form.sms.subscribed":"Subscribed","udr_provisioned_data_profile.form.sms.moSubscribed":"Mobile Originated Subscribed","udr_provisioned_data_profile.form.sms.mtSubscribed":"Mobile Terminated Subscribed","udr_provisioned_data_profile.form.specific_fields.SOR_LIGHT":"Steering of Roaming Light Specific Fields","udr_provisioned_data_profile.form.specific_fields.SOR_AGGRESSIVE":"Steering of Roaming Aggressive Specific Fields","udr_provisioned_data_profile.form.advanced_input.diameter_error":"Diameter Error","udr_provisioned_data_profile.form.advanced_input.map_error":"Map Error","udr_provisioned_data_profile.form.advanced_input.max_attempts":"Max Attempts","udr_provisioned_data_profile.form.advanced_input.tolerance_period_sec":"Tolerance Period (s)","udr_provisioned_data_profile.form.buttons.submit":"Submit","udr_policy_data_profiles.actions.delete":"Delete","udr_policy_data_profiles.actions.edit":"Edit","udr_policy_data_profiles.table.id":"ID","udr_policy_data_profiles.table.description":"Description","udr_policy_data_profiles.table.created_at":"Created","udr_policy_data_profiles.table.modified_at":"Modified","udr_policy_data_profiles.form.uuid":"ID","udr_policy_data_profiles.form.description":"Description","udr_policy_data_profiles.form.subscCats":"Subscriber categories","udr_policy_data_profiles.form.snssai_add":"Add S-NSSAI","udr_policy_data_profiles.form.snssai_remove":"Remove","udr_policy_data_profiles.form.sst":"SST","udr_policy_data_profiles.form.sd":"SD","udr_policy_data_profiles.form.dnn":"DNN Name","udr_policy_data_profiles.form.dnn_add":"Add DNN","udr_policy_data_profiles.form.dnn_remove":"Remove","udr_policy_data_profiles.form.allowedServices":"Allowed Services","udr_policy_data_profiles.form.submit":"Submit","udr_policy_data_profiles.form.errors":"There are some errors in the form","udr_policy_data_profiles.form.errors.min":"Min value is {value}","udr_policy_data_profiles.form.errors.max":"Max value is {value}","udr_policy_data_profiles.form.errors.format":"The format should be {value}","udr_policy_data_profiles.form.errors.uuid_format":"The format should be {value}","udr_policy_data_profiles.form.errors.required":"Field is required","udr_policy_data_profiles.form.errors.least":"Field must have at least {value} items","udr_policy_data_profiles.form.tabs.sm":"SM data","udr_policy_data_profiles.form.tabs.am":"AM data","udr_policy_data_profiles.form.empty":"No data","udr_policy_data_profiles.toolbar.new_profile":"New","udr_policy_data_profiles.toolbar.delete":"Are you sure to delete policy data profile?","udr_transport_keys.toolbar.new_transport_key":"New Transport Key","udr_transport_keys.loading_error":"Error loading UDR Transport Keys provisioning data","udr_transport_keys.table.header.id":"ID","udr_transport_keys.table.header.cipher":"Cipher","udr_transport_keys.table.header.created_at":"Created","udr_transport_keys.table.header.modified_at":"Modified","udr_transport_keys.actions.delete":"Delete","udr_transport_keys.actions.edit":"Edit","udr_transport_keys.new_transport_key.id":"ID","udr_transport_keys.new_transport_key.iv":"IV","udr_transport_keys.new_transport_key.ad":"AD","udr_transport_keys.new_transport_key.cipher":"Cipher","udr_transport_keys.new_transport_key.key":"Key","udr_transport_keys.new_transport_key.save":"Save","udr_transport_keys.new_transport_key.cancel":"Cancel","udr_transport_keys.new_transport_key.title":"New UDR Transport Key","udr_transport_keys.new_transport_key.form_errors.required":"Field is required","udr_transport_keys.edit_transport_key.id":"ID","udr_transport_keys.edit_transport_key.ad":"AD","udr_transport_keys.edit_transport_key.iv":"IV","udr_transport_keys.edit_transport_key.cipher":"Cipher","udr_transport_keys.edit_transport_key.key":"Key","udr_transport_keys.edit_transport_key.save":"Save","udr_transport_keys.edit_transport_key.cancel":"Cancel","udr_transport_keys.edit_transport_key.title":"Edit UDR Transport Key","udr_transport_keys.edit_transport_key.form_errors.required":"Field is required","udr_transport_keys.import.title":"Import UDR Transport Keys from file","udr_transport_keys.import.description":"Add a single valid UDR Transport Keys Provisioning csv file. Here you can find an example of the import format: ","udr_transport_keys.import.form_errors.required":"File is required","udr_transport_keys.import.file":"Select file","udr_transport_keys.import.save":"Save","udr_transport_keys.import.cancel":"Cancel","udr_transport_keys.application_servers_profiles.dialog.delete.confirm":"Are you sure to delete transport key?","udr_operator_keys.toolbar.new_operator_key":"New Operator Code","udr_operator_keys.toolbar.import_operator_keys":"Import Operator Codes","udr_operator_keys.loading_error":"Error loading UDR Operator Codes provisioning data","udr_operator_keys.table.header.id":"ID","udr_operator_keys.table.header.created_at":"Created","udr_operator_keys.table.header.modified_at":"Modified","udr_operator_keys.actions.delete":"Delete","udr_operator_keys.actions.delete.confirm":"Are you sure you want to delete operator key {key}?","udr_operator_keys.actions.edit":"Edit","udr_operator_keys.new_operator_key.id":"ID","udr_operator_keys.new_operator_key.transport_key_id":"Transport Key ID","udr_operator_keys.new_operator_key.transport_key_tag":"Transport Key Tag","udr_operator_keys.new_operator_key.op":"OP","udr_operator_keys.new_operator_key.save":"Save","udr_operator_keys.new_operator_key.cancel":"Cancel","udr_operator_keys.new_operator_key.title":"New UDR Operator Code","udr_operator_keys.edit_operator_key.id":"ID","udr_operator_keys.edit_operator_key.transport_key_id":"Transport Key ID","udr_operator_keys.edit_operator_key.transport_key_tag":"Transport Key Tag","udr_operator_keys.edit_operator_key.op":"OP","udr_operator_keys.edit_operator_key.save":"Save","udr_operator_keys.edit_operator_key.cancel":"Cancel","udr_operator_keys.edit_operator_key.title":"Edit UDR Operator Code","udr_operator_keys.new_operator_key.form_errors.required":"Field is required","udr_operator_keys.import.title":"Import UDR Operator Codes from file","udr_operator_keys.import.description":"Add a single valid UDR Operator Codes Provisioning csv file. Here you can find an example of the import format: ","udr_operator_keys.import.form_errors.required":"File is required","udr_operator_keys.import.file":"Select file","udr_operator_keys.import.save":"Save","udr_operator_keys.import.cancel":"Cancel","udr_ims_private_identities.toolbar.new_ims_private_identity":"New IMS Private Identity","udr_ims_private_identities.toolbar.new_ims_private_identity_basic":"New Basic","udr_ims_private_identities.loading_error":"Error loading UDR IMS Private Identities","udr_ims_private_identities.table.header.id":"ID","udr_ims_private_identities.table.header.name":"Name","udr_ims_private_identities.table.header.supi":"SUPI","udr_ims_private_identities.table.header.type":"Type","udr_ims_private_identities.table.header.status":"Status","udr_ims_private_identities.table.header.created_at":"Created","udr_ims_private_identities.table.header.modified_at":"Modified","udr_ims_private_identities.table.value.sip_digest_provisioned":"SIP Digest","udr_ims_private_identities.table.value.sip_digest_provisioned_true":"Provisioned","udr_ims_private_identities.table.value.sip_digest_provisioned_false":"Not Provisioned","udr_ims_private_identities.table.value.registration_sets":"Registration Sets","udr_ims_private_identities.table.value.registration_sets_no_value":"No Value","udr_ims_private_identities.table.value.public_identities":"Public Identities","udr_ims_private_identities.table.value.public_identity_barred":"Barred","udr_ims_private_identities.table.value.public_identity_authorized":"Authorized","udr_ims_private_identities.table.value.public_identity_name":"Name","udr_ims_private_identities.table.value.service_profile":"Service Profile","udr_ims_private_identities.table.value.server_name":"Server Name","udr_ims_private_identities.table.value.application_servers_profiles":"Application Servers Profiles","udr_ims_private_identities.table.status":"Public Identity Status","udr_ims_private_identities.actions.delete":"Delete","udr_ims_private_identities.actions.confirm_delete":'Are you sure to delete IMS Private Identity with name = "{name}"?',"udr_ims_private_identities.actions.edit":"Edit","udr_ims_private_identities.actions.edit_application_servers_profiles":"Application Servers Profiles","udr_ims_private_identities.actions.status":"Status","udr_ims_private_identities.dialog.ims_private_identity_status.title":"IMS Private Identity Status","udr_ims_private_identities.dialog.ims_private_identity_status.no_data":"No data","udr_ims_private_identities.dialog.ims_private_identity_status.modified_at":"Modified at","udr_ims_private_identities.dialog.ims_private_identity_status.server_name":"Server Name","udr_ims_private_identities.dialog.ims_private_identity_status.location":"Location","udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw":"IP SM GW","udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.host":"Host","udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.realm":"Realm","udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.registered_at":"Registered At","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf":"SCSCF","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.host":"Host","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.modified_at":"Modified At","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.name":"Name","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.realm":"Realm","udr_ims_private_identities.dialog.ims_public_identity_status.title":"IMS Public Identity Status","udr_ims_private_identities.dialog.ims_public_identity_status.modified_at":"Modified at","udr_ims_private_identities.dialog.ims_public_identity_status.status":"Status","udr_ims_private_identities.dialog.ims_public_identity_status.pending":"pending","udr_ims_private_identities.new_ims_private_identity_basic.title":"New UDR IMS Private Identity Basic","udr_ims_private_identities.new_ims_private_identity_basic.form.type":"type","udr_ims_private_identities.new_ims_private_identity_basic.form.supi":"SUPI","udr_ims_private_identities.new_ims_private_identity_basic.form.public_identity":"Public Identity","udr_ims_private_identities.new_ims_private_identity_basic.form.server_name":"Server Name","udr_ims_private_identities.new_ims_private_identity_basic.form.msisdn":"MSISDN","udr_ims_private_identities.new_ims_private_identity_basic.form.service_profile":"Service Profile","udr_ims_private_identities.new_ims_private_identity_basic.form_errors.required":"Field is required","udr_ims_private_identities.new_ims_private_identity_basic.form_errors.sip_digest":"SIP Digest Realm and Password must be set both or none","udr_ims_private_identities.new_ims_private_identity_basic.form_errors.sip_digest_realm":"SIP Digest Realm must be set for edit","udr_ims_private_identities.new_ims_private_identity_basic.form_errors.sip_digest_password":"SIP Digest Password must be set for edit","udr_ims_private_identities.new_ims_private_identity_basic.save":"Save","udr_ims_private_identities.new_ims_private_identity_basic.cancel":"Cancel","udr_ims_private_identities.create_or_edit_ims_private_identity.title":"Edit UDR IMS Private Identity","udr_ims_private_identities.create_or_edit_ims_private_identity.form.type":"type","udr_ims_private_identities.create_or_edit_ims_private_identity.form.supi":"SUPI","udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest":"SIP Digest","udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest.password":"SIP Digest Password","udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest.realm":"SIP Digest Realm","udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest.realm_password":"SIP Digest Realm and Password","udr_ims_private_identities.create_or_edit_ims_private_identity.keys_provisioned":"Provisioned","udr_ims_private_identities.create_or_edit_ims_private_identity.keys_not_provisioned":"Not Provisioned","udr_ims_private_identities.create_or_edit_ims_private_identity.form.isOverridingKeys":"Override Keys","udr_ims_private_identities.create_or_edit_ims_private_identity.form.server_name":"Server Name","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_set_delete":"Delete Registration Set","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_set_add":"Add Registration Set","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets":"Registration Sets","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.description":"Registration Set Description","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identity_delete":"Delete Public Identity","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identity_add":"Add Public Identity","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities":"Registration Set Public Identities","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.barred":"Barred","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.name":"name","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.service_profile":"Service Profile","udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required":"Field is required","udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.has_errors":"Field has errors","udr_ims_private_identities.create_or_edit_ims_private_identity.save":"Save","udr_ims_private_identities.create_or_edit_ims_private_identity.cancel":"Cancel","udr_ims_private_identities.application_servers_profiles.title":"Manage Application Servers Profiles","udr_ims_private_identities.application_servers_profiles.no_private_identity":"There was a problem loading the private identity","udr_ims_private_identities.application_servers_profiles.error_load_data":"Error on loading data","udr_ims_private_identities.application_servers_profiles.form.service_data":"Service Data","udr_ims_private_identities.application_servers_profiles.form.service_indication":"Service Indication","udr_ims_private_identities.application_servers_profiles.form.errors.required":"Field is required","udr_ims_private_identities.application_servers_profiles.form.actions.create":"new Profile","udr_ims_private_identities.application_servers_profiles.form.actions.edit":"Edit","udr_ims_private_identities.application_servers_profiles.form.actions.show":"Show","udr_ims_private_identities.application_servers_profiles.form.actions.delete":"Delete","udr_ims_private_identities.application_servers_profiles.save":"Save","udr_ims_private_identities.application_servers_profiles.cancel":"Cancel","udr_ims_private_identities.application_servers_profiles.close":"Close","udr_ims_private_identities.application_servers_profiles.dialog.create.title":"New AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.create_ok":"AS Profile created correctly","udr_ims_private_identities.application_servers_profiles.dialog.create_ko":"Problem on creating AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.edit.title":"Edit AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.edit_ok":"AS Profile updated correctly","udr_ims_private_identities.application_servers_profiles.dialog.edit_ko":"Problem on updating AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.delete.title":"Delete AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.delete_ok":"AS Profile deleted correctly","udr_ims_private_identities.application_servers_profiles.dialog.delete_ko":"Problem on deleting AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.delete.confirm":"Are you sure to delete private identity?","udr_plmns.toolbar.new_plmn":"New PLMN","udr_plmns.loading_error":"Error loading PLMNs","udr_plmns.table.header.mcc":"MCC","udr_plmns.table.header.mnc":"MNC","udr_plmns.table.header.created_at":"Created","udr_plmns.table.header.modified_at":"Modified","udr_plmns.actions.delete":"Delete","udr_plmns.new_plmn.title":"New PLMN","udr_plmns.new_plmn.form.mcc":"MCC","udr_plmns.new_plmn.form.mnc":"MNC","udr_plmns.new_plmn.form_errors.required":"Field is required","udr_plmns.new_plmn.save":"Save","udr_plmns.new_plmn.cancel":"Cancel","udr_plmns.actions.delete.confirm":"Are you sure you want to delete PLMN {plmn}?","udr_ims_application_server_acls.toolbar.new_ims_application_server_acl":"New IMS Application Server ACL","udr_ims_application_server_acls.toolbar.filters":"Filters","udr_ims_application_server_acls.loading_error":"Error loading IMS Application Server ACL","udr_ims_application_server_acls.table.header.id":"ID","udr_ims_application_server_acls.table.header.application_server":"IMS Application Server","udr_ims_application_server_acls.table.header.data_reference":"Data Reference","udr_ims_application_server_acls.table.header.permissions":"Permissions","udr_ims_application_server_acls.table.header.created_at":"Created","udr_ims_application_server_acls.table.header.modified_at":"Modified","udr_ims_application_server_acls.actions.delete":"Delete","udr_ims_application_server_acls.actions.edit_permissions":"Edit Permissions","udr_ims_application_server_acls.form.title_edit_permissions":"Edit IMS Application Server ACL Permissions","udr_ims_application_server_acls.form.error.required":"Field is required","udr_ims_application_server_acls.form.error.permissions":"Allowed values are: {permissions}","udr_ims_application_server_acls.new_ims_application_server_acl.title":"New IMS Application Server ACL","udr_ims_application_server_acls.new_ims_application_server_acl.form.id":"ID","udr_ims_application_server_acls.new_ims_application_server_acl.form.application_server":"IMS Application Server","udr_ims_application_server_acls.new_ims_application_server_acl.form.data_reference":"Data Reference","udr_ims_application_server_acls.new_ims_application_server_acl.form.permissions":"Permissions","udr_ims_application_server_acls.new_ims_application_server_acl.form_errors.required":"Field is required","udr_ims_application_server_acls.new_ims_application_server_acl.save":"Save","udr_ims_application_server_acls.new_ims_application_server_acl.cancel":"Cancel","udr_ims_application_server_acls.filters.application_server_icont":"Application Server","udr_ims_application_server_acls.filters.data_reference_eq":"Data Reference","udr_ims_application_server_acls.filters.data_reference_eq.any":"any","udr_ims_application_server_acls.filters.buttons.reset":"Reset","udr_ims_application_server_acls.filters.buttons.apply":"Apply","udr_ims_application_server_acls.actions.delete.confirm":"Are you sure to delete IMS application server ACL?","udr_ims_initial_filters.toolbar.new_ims_initial_filter":"New Initial Filter Criteria","udr_ims_initial_filters.loading_error":"Error loading Initial Filter Criteria","udr_ims_initial_filters.table.header.id":"ID","udr_ims_initial_filters.table.header.description":"Description","udr_ims_initial_filters.table.header.created_at":"Created","udr_ims_initial_filters.table.header.modified_at":"Modified","udr_ims_initial_filters.actions.delete":"Delete","udr_ims_initial_filters.actions.edit":"Edit","udr_ims_initial_filters.form.title_edit":"Edit IMS initial filter","udr_ims_initial_filters.new_ims_initial_filter.title":"New Initial Filter Criteria","udr_ims_initial_filters.new_ims_initial_filter.form.id":"ID","udr_ims_initial_filters.new_ims_initial_filter.form.data":"Data","udr_ims_initial_filters.new_ims_initial_filter.form.description":"Description","udr_ims_initial_filters.new_ims_initial_filter.form_errors.required":"Field is required","udr_ims_initial_filters.new_ims_initial_filter.save":"Save","udr_ims_initial_filters.new_ims_initial_filter.cancel":"Cancel","udr_ims_initial_filters.application_servers_profiles.dialog.delete.confirm":"Are you sure to delete initial filter?","udr_ims_service_profiles.toolbar.new_ims_service_profile":"New Service Profile","udr_ims_service_profiles.loading_error":"Error loading Service Profiles","udr_ims_service_profiles.table.header.id":"ID","udr_ims_service_profiles.table.header.description":"Description","udr_ims_service_profiles.table.header.created_at":"Created","udr_ims_service_profiles.table.header.modified_at":"Modified","udr_ims_service_profiles.actions.delete":"Delete","udr_ims_service_profiles.actions.edit":"Edit","udr_ims_service_profiles.new_ims_service_profile.title":"New Service Profile","udr_ims_service_profiles.new_ims_service_profile.form.id":"ID","udr_ims_service_profiles.new_ims_service_profile.form.initial_filter_criteria":"Initial Filter Criteria","udr_ims_service_profiles.new_ims_service_profile.form.description":"Description","udr_ims_service_profiles.new_ims_service_profile.form_errors.required":"Field is required","udr_ims_service_profiles.new_ims_service_profile.save":"Save","udr_ims_service_profiles.new_ims_service_profile.cancel":"Cancel","udr_ims_service_profiles.edit_ims_service_profile.title":"Edit Service Profile","udr_ims_service_profiles.edit_ims_service_profile.form.id":"ID","udr_ims_service_profiles.edit_ims_service_profile.form.initial_filter_criteria":"Initial Filter Criteria","udr_ims_service_profiles.edit_ims_service_profile.form.description":"Description","udr_ims_service_profiles.edit_ims_service_profile.form_errors.required":"Field is required","udr_ims_service_profiles.edit_ims_service_profile.save":"Save","udr_ims_service_profiles.edit_ims_service_profile.cancel":"Cancel","udr_ims_service_profiles.application_servers_profiles.dialog.delete.confirm":"Are you sure to delete service profile?","udr_milenage_constants.message.cannot_write":"You are not able to edit milenage constants because you don't have the write permission","udr_milenage_constants.dialog.title":"Milenage Constants","udr_milenage_constants.dialog.no_configuration":"No Milenage Constants","udr_milenage_constants.dialog.apply_configuration_ok":"Milenage Constants set correctly","udr_milenage_constants.dialog.apply_configuration_ko":"Error on setting Milenage Constants","udr_milenage_constants.buttons.save":"Save","udr_milenage_constants.buttons.cancel":"Cancel","udr_milenage_constants.form.errors.required":"Field is required","udr_milenage_constants.form.c1":"C1","udr_milenage_constants.form.c2":"C2","udr_milenage_constants.form.c3":"C3","udr_milenage_constants.form.c4":"C4","udr_milenage_constants.form.c5":"C5","udr_milenage_constants.form.r1":"R1","udr_milenage_constants.form.r2":"R2","udr_milenage_constants.form.r3":"R3","udr_milenage_constants.form.r4":"R4","udr_milenage_constants.form.r5":"R5","udr_milenage_constants.panel.title":"Milenage Constants","udr_milenage_constants.actions.delete":"Delete","udr_milenage_constants.actions.confirm_delete":"Are you sure you want to delete the provided milenage constants?","udr_milenage_constants.alert.cannot_load_udr_milenage_constants":"Cannot load milenage constants","udr_milenage_constants.provisioned":"Provisioned","udr_milenage_constants.not_provisioned":"Not Provisioned","udr_milenage_constants.apply_ok":"Milenage constants successfully saved","udr_milenage_constants.apply_ko":"There was a problem saving milenage constants","udr_milenage_constants.remove_ok":"Milenage constants successfully removed","udr_milenage_constants.remove_ko":"There was a problem removing milenage constants","udr_milenage_constants.load_ko":"There was a problem loading milenage constants","udm_home_network_keys.actions.delete":"Delete","udm_home_network_keys.table.id":"ID","udm_home_network_keys.table.key_id":"Key ID","udm_home_network_keys.table.description":"Description","udm_home_network_keys.table.home_network_identifier":"Home Network Identifier","udm_home_network_keys.table.private_key":"Private Key","udm_home_network_keys.table.public_key":"Public Key","udm_home_network_keys.table.profile":"Profile","udm_home_network_keys.table.created_at":"Created","udm_home_network_keys.table.modified_at":"Modified","udm_home_network_keys.form.title_create":"New home network key","udm_home_network_keys.form.key_id":"Key ID","udm_home_network_keys.form.description":"Description","udm_home_network_keys.form.home_network_identifier":"Home Network Identifier","udm_home_network_keys.form.private_key":"Private Key","udm_home_network_keys.form.public_key":"Public Key","udm_home_network_keys.form.profile":"Profile","udm_home_network_keys.form.cancel":"Cancel","udm_home_network_keys.form.save":"Save","udm_home_network_keys.form.errors_inside":"There are some errors","udm_home_network_keys.form.errors":"There are some errors in the form","udm_home_network_keys.form.errors.min":"Min value is {value}","udm_home_network_keys.form.errors.max":"Max value is {value}","udm_home_network_keys.form.errors.format":"The format should be {value}","udm_home_network_keys.form.errors.required":"Field is required","udm_home_network_keys.toolbar.new":"New","udm_home_network_keys.toolbar.upload":"Upload","udm_home_network_keys.actions.confirm_delete":"Are you sure to delete home network key {value}?","udm_home_network_keys.upload.form.file":"File","udm_home_network_keys.upload.form.file.required":"File is required","udm_home_network_keys.upload.form.title":"Upload UDM Home Network Keys","udm_home_network_keys.upload.form.description":"Add a single valid UDM Home Network Keys bundle file.","udm_plmns_prefixes.prefix":"Prefix","udm_plmns_prefixes.mcc":"MCC","udm_plmns_prefixes.mnc":"MNC","udm_plmns_prefixes.created_at":"Created at","udm_plmns_prefixes.modified_at":"Modified at","udm_plmn_prefixes.prefix.form_errors.required":"Field is required","udm_plmn_prefixes.mcc.form_errors.required":"Field is required","udm_plmn_prefixes.mnc.form_errors.required":"Field is required","udm_plmns_prefixes.actions.delete.confirm":"Are you sure to delete PLMN prefix {prefix}","smsf.smpp.connections.name":"Name","smsf.smpp.connections.connection_type":"Connection Type","smsf.smpp.connections.connection_type.smpp_esme":"ESME","smsf.smpp.connections.connection_type.smpp_mc_peer":"MC peer","smsf.smpp.connections.bind_type":"Bind Type","smsf.smpp.connections.bind_type.trx":"Transceiver","smsf.smpp.connections.bind_type.tx":"Transmitter","smsf.smpp.connections.bind_type.rx":"Receiver","smsf.smpp.connections.local_addr":"Local Address","smsf.smpp.connections.local_port":"Local Port","smsf.smpp.connections.remote_addr":"Remote Address","smsf.smpp.connections.remote_port":"Remote Port","smsf.smpp.connections.created_at":"Created At","smsf.sms_box":"SMS Box","smsf.sms_box.buttons.new_sms":"New SMS","smsf.sms_box.buttons.inbound":"Inbound","smsf.sms_box.buttons.outbound":"Outbound","smsf.sms_box.tabs.inbound":"Inbound","smsf.sms_box.tabs.outbound":"Outbound","smsf.sms_box.no_msisdns":"No messages to display","smsf.sms_box.search":"Search MSISDN","smsf.sms_box.messages.buttons.delete":"Delete","smsf.sms_box.messages.no_messages":"No messages","smsf.sms_box.message.from":"From","smsf.sms_box.message.to":"To","smsf.sms_box.message.id":"ID","smsf.sms_box.message.message":"Message","smsf.sms_box.message.message_from":"from:","smsf.sms_box.message.message_to":"to:","smsf.sms_box.message.message_at":"at:","smsf.sms_box.message.created_at":"Created at","smsf.sms_box.message.modified_at":"Modified at","smsf.sms_box.message.validity_time_s":"Validity","smsf.sms_box.new_message.dialog.title":"New message","smsf.sms_box.new_message.title":"New message","smsf.sms_box.new_message.msisdn":"From","smsf.sms_box.new_message.to":"To","smsf.sms_box.new_message.body":"Body","smsf.sms_box.new_message.validity_time_s":"Validity Time","smsf.sms_box.new_message.is_seconds_visible":"Show validity time in seconds","smsf.sms_box.new_message.buttons.cancel":"Cancel","smsf.sms_box.new_message.buttons.back":"Back","smsf.sms_box.new_message.buttons.send":"Send","smsf.sms_box.new_message.dialog.send_ok":"Message sent successfully!","smsf.sms_box.new_message.dialog.send_ko":"There was a problem on sending the message","smsf.sms_box.delete_message.dialog.confirm.title":"Delete message","smsf.sms_box.delete_message.dialog.confirm.text":'Are you sure to delete the message with ID = "{id}"?',"smsf.sms_box.delete_message.dialog.send_ok":"Message deleted successfully!","smsf.sms_box.delete_message.dialog.send_ko":"There was a problem on deleting the message",service:mDe,"service.title.name":"Name","service.title.version":"Version","service.title.status":"Status","service.title.type":"Type","service.title.unit_status":"Unit status","service.hint.start":"Start","service.hint.restart":"Restart","service.hint.stop":"Stop","service.hint.reset":"Reset","service.status.enabled":"Enabled","service.status.autostart":"Autostart","service.name.aaa":"AAA","service.name.mme":"MME","service.name.dra":"DRA","service.name.amf":"AMF","service.name.bmsc":"BMSC","service.name.dsm":"DNS","service.name.bind":"Bind9","service.name.bind-exporter":"Bind Exporter","service.name.alertmanager":"Alertmanager","service.name.ausf":"AUSF","service.name.smf":"SMF","service.name.smsf":"SMSF","service.name.pcf":"PCF","service.name.nrf":"NRF","service.name.chf":"CHF","service.name.eir":"EIR","service.name.ems-frontend":"EMS","service.name.ems-backend":"EMS compat","service.name.gatewayd":"Log Viewer","service.name.grafana":"Grafana","service.name.ccs-agent":"CCS Agent","service.name.ncm":"NCM","service.name.node-exporter":"Node Exporter","service.name.podman-exporter":"Podman Exporter","service.name.openvpn":"VPN","service.name.prometheus":"Prometheus","service.name.fluent-bit":"Fluentbit","service.name.licensed":"Licensed","service.name.pls":"PLS","service.name.sgwc":"SGW","service.name.ssh":"SSH","service.name.webconsole":"Terminal","service.name.swupdate":"SW update","service.name.udm":"UDM","service.name.udr":"UDR","service.name.upf":"UPF","service.name.imsconfig":"IMS-Config","service.name.pcscf":"P-CSCF","service.name.icscf":"I-CSCF","service.name.scscf":"S-CSCF","service.name.ecscf":"E-CSCF","service.name.tas":"TAS","service.name.xcap":"XCAP","service.name.imsalarms":"IMS Alarms","service.name.bgcf":"BGCF","service.name.pstngw":"PSTN Gateway","service.name.imsagw":"IMS-AGW","service.name.n5iwf":"N5-IWF","service.name.named":"DNS/ENUM","service.name.imsrecovery":"Recovery Agent","service.name.keepalived-exporter":"Keepalived Exporter","service.disabled":"Disabled","service.started":"Started","service.stopped":"Stopped","service.enable":"Enable","service.disable":"Disable","service.start":"Start","service.restart":"Restart","service.stop":"Stop","service.readonly":"Readonly","service.backup":"Backup","service.error":"Error loading data!","service.type.nf":"NF","service.type.ps":"Platform","service.toast.start.success":"Service sucessfully started!","service.toast.start.error":"Error starting service!","service.toast.stop.success":"Service sucessfully stopped!","service.toast.stop.error":"Error stopping service!","service.toast.restart.success":"Service sucessfully restarted!","service.toast.restart.error":"Error restarting service!","service.toast.enable.success":"Service sucessfully enabled!","service.toast.enable.error":"Error enabling service!","service.toast.disable.success":"Service sucessfully disabled!","service.toast.disable.error":"Error disabling service!","service.dialog.message.stop":"Are you sure to stop {name}?","service.dialog.message.restart":"Are you sure to restart {name}?","service.dialog.message.reset":"All {name} data will be lost. Are you sure?","service.dialog.action.stop":"Stop","service.dialog.action.restart":"Restart","service.dialog.action.reset":"Reset","device_status.noDataHint":"Search for a SUPI to display data","device_status.not_found":"No UE status found","device_status.form.id":"SUPI","device_status.form.errors.required":"SUPI is required","device_status.form.errors.format":"format should be {value}","device_status.form.search":"Search","device_status.tabs.amf":"AMF","device_status.tabs.smf":"SMF","device_status.tabs.upf":"UPF","device_status.tabs.udr":"UDR","device_status.tabs.mme":"MME","device_status.tabs.sgwc":"SGWC","device_status.tabs.pcf":"PCF","device_status.amf":"Access Management","device_status.amf.5gGuti":"GUTI","device_status.amf.supi":"SUPI","device_status.amf.amfUeNgapID":"AMF UE NGAP ID","device_status.amf.ranUeNgapID":"RAN UE NGAP ID","device_status.amf.ueLocation":"UE location","device_status.amf.ueLocation.nrLocation":"NR location","device_status.amf.ueLocation.nrLocation.ncgi":"NCGI (UE location/NR location)","device_status.amf.ueLocation.ncgi.nrCellId":"Nr Cell ID","device_status.amf.ueLocation.ncgi.plmn":"PLMN","device_status.amf.ueLocation.nrLocation.tai":"TAI (UE location/NR location)","device_status.amf.ueLocation.tai.plmn":"PLMN","device_status.amf.ueLocation.tai.tac":"TAC","device_status.amf.smContexts":"SM Contexts","device_status.amf.smContext":"SM Context","device_status.amf.smContexts.dnn":"DNN","device_status.amf.smContexts.pduSessionId":"PDU Session Id","device_status.amf.smContexts.sNssai":"S-NSSAI","device_status.amf.smContexts.sNssai.sd":"SD","device_status.amf.smContexts.sNssai.sst":"SST","device_status.amf.smContexts.upCnxState":"// upCnxState","device_status.amf.ncgi":"NCGI","device_status.amf.tai":"TAI","device_status.amf.cmState":"CM State","device_status.amf.mmState":"MM State","device_status.amf.delete.ok":"Detached ok","device_status.amf.delete.error":"Detached error","device_status.amf.remove":"Remove","device_status.amf.remove.reregister_requested":"Reregister requested","device_status.amf.remove.reregister_not_requested":"Reregister not requested","device_status.smf":"PDU Sessions","device_status.smf.dnn":"DNN","device_status.smf.pduSession":"PDU Session ID","device_status.smf.pduSessionId":"PDU Session ID","device_status.smf.pduSessionType":"PDU Session Type","device_status.smf.sNssai":"S-NSSAI","device_status.smf.sNssai.sd":"SD","device_status.smf.sNssai.sst":"SST","device_status.smf.ue_ipv4_address":"IPv4 Address","device_status.smf.ue_ipv6_prefix":"IPv6 Prefix","device_status.smf.detectedMacAddresses":"Detected mac addresses","device_status.smf.supi":"SUPI","device_status.smf.n4c.localFseid":"N4C - Local FSEID","device_status.smf.n4c.localFseid.ipv4":"IPv4","device_status.smf.n4c.localFseid.ipv6":"IPv6","device_status.smf.n4c.localFseid.seid":"SEID","device_status.smf.n4c.remoteFseid":"N4C - Remote FSEID","device_status.smf.n4c.remoteFseid.ipv4":"IPv4","device_status.smf.n4c.remoteFseid.ipv6":"IPv6","device_status.smf.n4c.remoteFseid.seid":"SEID","device_status.smf.charging":"Charging","device_status.smf.charging.chargingChar":"Charging char","device_status.smf.charging.chargingDataRef":"Charging data ref","device_status.smf.charging.sequenceNum":"Sequence num","device_status.upfSessions":"UPF Sessions","device_status.upfSession.seid":"UPF Session ID","device_status.upfSession.apn_dnn":"APN DNN","device_status.upfSession.pdn_type":"PDN Type","device_status.upfSession.far":"FAR","device_status.upfSession.far.item_id":"FAR","device_status.upfSession.pdr":"PDR","device_status.upfSession.pdr.item_id":"PDR","device_status.upfSession.far.id":"ID","device_status.upfSession.far.apply_actions":"Apply actions","device_status.upfSession.far.forwarding_params":"Forwarding Params","device_status.upfSession.far.forwarding_params.destination_iface":"Destination interface","device_status.upfSession.far.forwarding_params.network_instance":"Network instance","device_status.upfSession.far.forwarding_params.ohc":"OHC","device_status.upfSession.far.forwarding_params.ohc.hdr":"OHC HDR","device_status.upfSession.far.forwarding_params.ohc.ipv4":"OHC IPv4","device_status.upfSession.far.forwarding_params.ohc.ipv6":"OHC IPv6","device_status.upfSession.far.forwarding_params.ohc.teid":"TEID","device_status.upfSession.pdr.far_id":"FAR ID","device_status.upfSession.pdr.id":"ID","device_status.upfSession.pdr.ohr":"OHR","device_status.upfSession.pdr.pdi":"PDI","device_status.upfSession.pdr.pdi.ip":"IP","device_status.upfSession.pdr.pdi.pdi_type":"PDI TYPE","device_status.upfSession.pdr.pdi.teid":"TEID","device_status.upfSession.pdr.pdi.vrf":"VRF","device_status.upfSession.pdr.qfi":"QFI","device_status.upfSession.pdr.source_iface":"Source interface","device_status.upfSession.pdr.network_instance":"Network instance","device_status.upfSession.pdr.vrf_index":"VRF index","device_status.upfSession.pdr.ue_ip_addr":"UE IP addr","device_status.upfSession.pdr.ue_ip_addr.ipv4":"IPv4","device_status.upfSession.pdr.ue_ip_addr.ipv6":"IPv6","device_status.upfSession.pdr.ue_ip_addr.sd":"SD","device_status.upfSessioon.user_id":"User ID","device_status.upfSession.user_id.imsi":"IMSI","device_status.upfSession.user_id.imei":"IMEI","device_status.upfSession.user_id.msisdn":"MSISDN","device_status.upfSession.user_id.nai":"NAI","device_status.upfSession.framed_routes":"Framed routes","device_status.upfSession.managed_routes":"Managed routes","device_status.upfSession.mac_addrs":"Mac addresses","device_status.udrInfo":"UDR","device_status.udrInfo.mwdStatus":"MWD Status","device_status.udrInfo.mwdStatus.host":"Host","device_status.udrSupiStatus.aaa":"AAA","device_status.udrSupiStatus.aaa.dataSubscriptionNotificationFailure":"Data subscription notification failure","device_status.udrSupiStatus.aaa.host":"Host","device_status.udrSupiStatus.aaa.plmn":"PLMN","device_status.udrSupiStatus.aaa.ratType":"RAT Type","device_status.udrSupiStatus.aaa.realm":"Realm","device_status.udrSupiStatus.aaa.registeredAt":"Registered at","device_status.udrSupiStatus.amf":"AMF","device_status.udrSupiStatus.amf.amfInstanceID":"AMF Instance ID","device_status.udrSupiStatus.amf.pei":"PEI","device_status.udrSupiStatus.amf.dataSubscriptionNotificationFailure":"Data subscription notification failure","device_status.udrSupiStatus.amf.ratType":"RAT Type","device_status.udrSupiStatus.amf.registeredAt":"Registered at","device_status.udrSupiStatus.amf.guami":"GUAMI","device_status.udrSupiStatus.amf.guami.amfID":"AMF ID","device_status.udrSupiStatus.amf.guami.plmn":"PLMN","device_status.udrSupiStatus.amf.guami.plmn.mcc":"MCC","device_status.udrSupiStatus.amf.guami.plmn.mnc":"MNC","device_status.udrSupiStatus.amf.guami.plmn.nid":"NID","device_status.udrSupiStatus.mme":"MME","device_status.udrSupiStatus.mme.host":"Host","device_status.udrSupiStatus.mme.realm":"Realm","device_status.udrSupiStatus.mme.pei":"PEI","device_status.udrSupiStatus.mme.registeredForSms":"Registered for SMS","device_status.udrSupiStatus.mme.dataSubscriptionNotificationFailure":"Data subscription notification failure","device_status.udrSupiStatus.mme.ratType":"RAT Type","device_status.udrSupiStatus.mme.plmn":"PLMN","device_status.udrSupiStatus.mme.registeredAt":"Registered at","device_status.udrSupiStatus.sgsn":"SGSN","device_status.udrSupiStatus.sgsn.host":"Host","device_status.udrSupiStatus.sgsn.realm":"Realm","device_status.udrSupiStatus.sgsn.pei":"PEI","device_status.udrSupiStatus.sgsn.dataSubscriptionNotificationFailure":"Data subscription notification failure","device_status.udrSupiStatus.sgsn.ratType":"RAT Type","device_status.udrSupiStatus.sgsn.plmn":"PLMN","device_status.udrSupiStatus.sgsn.registeredAt":"Registered at","device_status.udrSupiStatus.sgsn.address":"Address","device_status.udrSupiStatus.sgsn.number":"Number","device_status.udrSupiStatus.smf":"SMF (InstanceID: {id})","device_status.udrSupiStatus.smf.pdu_sessions":"PDU sessions","device_status.udrSupiStatus.smf.pdu_session":"PDU session - {id}","device_status.udrSupiStatus.smf.pdu_session.dnn":"DNN","device_status.udrSupiStatus.smf.pdu_session.emergency_services":"Emergency services","device_status.udrSupiStatus.smf.pdu_session.registered_at":"Registered at","device_status.udrSupiStatus.smf.pdu_session.single_nssai":"NSSAI","device_status.udrSupiStatus.smf.pdu_session.single_nssai.sd":"SD","device_status.udrSupiStatus.smf.pdu_session.single_nssai.sst":"SST","device_status.udrSupiStatus.vlr":"VLR","device_status.udrSupiStatus.vlr.data_subscription_notification_failure":"Data subscription notification failure","device_status.udrSupiStatus.vlr.msc_number":"MSC number","device_status.udrSupiStatus.vlr.number":"number","device_status.udrSupiStatus.vlr.plmn":"PLMN","device_status.udrSupiStatus.vlr.registered_at":"Registered at","device_status.mme":"MME","device_status.mme.imsi":"IMSI","device_status.mme.imeisv":"IMEISV","device_status.mme.age_of_location_info":"Age of location info (s)","device_status.mme.ecm_state":"ECM state","device_status.mme.emm_state":"EMM state","device_status.mme.last_radio_contact":"Last radio contact","device_status.mme.pending_procedure":"Pending procedure","device_status.mme.sgs_state":"SGS state","device_status.mme.drx":"DRX","device_status.mme.guti":"GUTI","device_status.mme.uli.tai":"ULI - TAI","device_status.mme.uli.tai.plmn":"PLMN","device_status.mme.uli.tai.tac":"TAC","device_status.mme.uli.ecgi":"ULI - ECGI","device_status.mme.uli.ecgi.plmn":"PLMN","device_status.mme.uli.ecgi.eci":"ECI","device_status.mme.profile":"Profile","device_status.mme.profile.hss_host":"HSS host","device_status.mme.profile.hss_realm":"HSS realm","device_status.mme.profile.subscription":"Subscription","device_status.mme.profile.subscription.msisdn":"MSISDN","device_status.mme.profile.subscription.mode":"Mode","device_status.mme.profile.subscription.status":"Status","device_status.mme.profile.subscription.usage_type":"Usage type","device_status.mme.profile.subscription.ue_ambr":"UE AMBR","device_status.mme.profile.subscription.ue_ambr.dl":"DL (bps)","device_status.mme.profile.subscription.ue_ambr.ul":"UL (bps)","device_status.mme.profile.subscription.config":"Config","device_status.mme.profile.subscription.config.default_context_id":"Default context ID","device_status.mme.profile.subscription.config.apns":"APNs","device_status.mme.profile.subscription.config.apn.apn":"APN","device_status.mme.profile.subscription.config.apn.context_id":"Context ID","device_status.mme.profile.subscription.config.apn.pdn_type":"PDN Type","device_status.mme.profile.subscription.config.apn.data_mode":"Data mode","device_status.mme.profile.subscription.config.apn.non_ip":"NON IP","device_status.mme.profile.subscription.config.apn.non_ip_method":"NON IP method","device_status.mme.profile.subscription.config.apn.qos":"QOS","device_status.mme.profile.subscription.config.apn.qos.qci":"QCI","device_status.mme.profile.subscription.config.apn.qos.arp":"ARP","device_status.mme.profile.subscription.config.apn.qos.arp.priority_level":"Priority level","device_status.mme.profile.subscription.config.apn.qos.arp.preemption_capability":"Preemption capability","device_status.mme.profile.subscription.config.apn.qos.arp.preemption_vulnerability":"Preemption vulnerability","device_status.mme.profile.subscription.config.apn.apn_ambr":"APN AMBR","device_status.mme.profile.subscription.config.apn.apn_ambr.ul":"UL (bps)","device_status.mme.profile.subscription.config.apn.apn_ambr.dl":"DL (bps)","device_status.mme.decor":"Decor","device_status.mme.decor.computed_usage_type":"Computed usage type","device_status.mme.decor.rerouted":"Rerouted","device_status.mme.decor.state":"State","device_status.mme.decor.state.static":"Static","device_status.mme.decor.state.hss":"HSS","device_status.mme.decor.state.ue":"UE","device_status.mme.decor.state.mme":"MME","device_status.mme.psm":"PSM","device_status.mme.psm.psm":"PSM","device_status.mme.psm.idle_since_ms":"Idle since (ms)","device_status.mme.psm.t3324":"t3324","device_status.mme.edrx":"EDRX","device_status.mme.edrx.mode":"Mode","device_status.mme.edrx.window":"Window","device_status.mme.edrx.window_s":"Window (s)","device_status.mme.edrx.cycle":"Cycle","device_status.mme.edrx.cycle_s":"Cycle (s)","device_status.mme.esm":"ESM","device_status.mme.esm.sgw_fqdn":"SGW FQDN","device_status.mme.esm.ue_ambr":"UE AMBR","device_status.mme.esm.ue_ambr.ul":"UL (bps)","device_status.mme.esm.ue_ambr.dl":"DL (bps)","device_status.mme.esm.bearers":"Bearers","device_status.mme.esm.bearer":"Bearer","device_status.mme.esm.bearer.ebi":"EBI","device_status.mme.esm.bearer.apn":"APN","device_status.mme.esm.bearer.context_id":"Context ID","device_status.mme.esm.bearer.pdn_addr":"PDN addr","device_status.mme.esm.bearer.apn_ambr":"APN AMBR","device_status.mme.esm.bearer.apn_ambr.ul":"UL (bps)","device_status.mme.esm.bearer.apn_ambr.dl":"DL (bps)","device_status.mme.esm.bearer.rabs":"RABs","device_status.mme.esm.bearer.rab":"RAB","device_status.mme.esm.bearer.rab.ebi":"EBI","device_status.mme.esm.bearer.rab.qos.qci":"QCI","device_status.mme.disconnect":"Disconnect","device_status.mme.detach":"Detach","device_status.mme.detach.reattach_required":"Reattach required","device_status.mme.detach.reattach_not_required":"Reattach not required","device_status.mme.purge":"Purge","device_status.mme.purge.reattach_required":"Reattach required","device_status.mme.purge.reattach_not_required":"Reattach not required","device_status.sgw":"Status Sessions","device_status.sgwc.session":"Session","device_status.sgwc.session.id":"ID","device_status.sgwc.session.id_type":"ID type","device_status.sgwc.session.upf_ip":"UPF IP","device_status.sgwc.session.mme_ip":"MME IP","device_status.sgwc.session.pgw_ip":"PGW IP","device_status.sgwc.session.default_bearer":"Default bearer","device_status.sgwc.session.default_bearer.ebi":"EBI","device_status.sgwc.session.default_bearer.lebi":"LEBI","device_status.sgwc.session.default_bearer.rat":"RAT","device_status.sgwc.session.default_bearer.apn":"APN","device_status.sgwc.session.default_bearer.ambr.uplink":"AMBR - Uplink","device_status.sgwc.session.default_bearer.ambr.downlink":"AMBR - Downlink","device_status.sgwc.session.default_bearer.qos":"QOS","device_status.sgwc.session.default_bearer.qos.ambr.uplink":"AMBR - Uplink","device_status.sgwc.session.default_bearer.qos.ambr.downlink":"AMBR - Downlink","device_status.sgwc.session.default_bearer.qos.arp.preemption_capability":"ARP - Preemption capability","device_status.sgwc.session.default_bearer.qos.arp.preemption_vulnerability":"ARP - Preemption vulnerability","device_status.sgwc.session.default_bearer.qos.arp.priority":"ARP - Priority","device_status.sgwc.session.default_bearer.qos.qci":"QCI","device_status.sgwc.session.dedicated_bearers":"Dedicated bearers","device_status.sgwc.session.dedicated_bearer":"Dedicated bearer","device_status.sgwc.session.dedicated_bearer.ebi":"EBI","device_status.sgwc.session.dedicated_bearer.lebi":"LEBI","device_status.sgwc.session.dedicated_bearer.rat":"RAT","device_status.sgwc.session.dedicated_bearer.apn":"APN","device_status.sgwc.session.dedicated_bearer.ambr.uplink":"AMBR - Uplink","device_status.sgwc.session.dedicated_bearer.ambr.downlink":"AMBR - Downlink","device_status.sgwc.session.dedicated_bearer.qos":"QOS","device_status.sgwc.session.dedicated_bearer.qos.ambr.uplink":"AMBR - Uplink","device_status.sgwc.session.dedicated_bearer.qos.ambr.downlink":"AMBR - Downlink","device_status.sgwc.session.dedicated_bearer.qos.arp.preemption_capability":"ARP - Preemption capability","device_status.sgwc.session.dedicated_bearer.qos.arp.preemption_vulnerability":"ARP - Preemption vulnerability","device_status.sgwc.session.dedicated_bearer.qos.arp.priority":"ARP - Priority","device_status.sgwc.session.dedicated_bearer.qos.qci":"QCI","device_status.reAttach":"Re-attach","device_status.pcf":"PCF","device_status.pcf.pdu_session":"PDU session - {id}","device_status.pcf.pdu_session_id":"PDU session ID","device_status.pcf.pdu_session_type":"PDU session type","device_status.pcf.supi":"SUPI","device_status.pcf.dnn":"DNN","device_status.pcf.ipv4_addr":"IPv4","device_status.pcf.ipv6_addr":"IPv6","device_status.pcf.is_emergency":"Is emergency","device_status.pcf.pei":"PEI","device_status.pcf.plmn":"PLMN","device_status.pcf.snssai":"SNSSAI","device_status.pcf.active_app_sessions":"Active app sessions","device_status.pcf.active_app_session":"Active app session - {id}","device_status.pcf.active_app_sessions.interface_type":"Interface type","device_status.pcf.active_app_sessions.rules":"Rules","device_status.pcf.active_app_sessions.rule":"Rule {id}","device_status.pcf.active_app_sessions.rules.rule_id":"Rule ID","device_status.pcf.active_app_sessions.rules.qos_id":"QoS ID","device_status.pcf.active_app_sessions.rules.qos_5qi":"QoS 5QI","device_status.pcf.active_app_sessions.rules.qos_gbrDl":"QoS gbrDl","device_status.pcf.active_app_sessions.rules.qos_gbrUl":"QoS gbrUl","device_status.pcf.active_app_sessions.rules.qos_maxbrDl":"QoS maxbrDl","device_status.pcf.active_app_sessions.rules.qos_maxbrUl":"QoS maxbrUl","device_status.pcf.active_app_sessions.rules.flow_infos":"Flow infos","device_status.pcf.active_app_sessions.rules.flow_info":"Flow info {id}","device_status.pcf.active_app_sessions.rules.flow_infos.description":"Description","device_status.pcf.active_app_sessions.rules.flow_infos.direction":"Direction","software_update.button.upload":"Upload","software_update.button.restart":"Restart","software_update.button.reset":"Reset","software_update.panel.upload.title":"Software upgrade","software_update.panel.upload.description":"Click on the button below to upload the firmware file (.swu file is required).","software_update.panel.logs.title":"Logs","software_update.panel.upload.not_available":"System upgrade not available","software_update.panel.status.title":"Upgrade status","software_update.panel.restart.title":"Restart","software_update.panel.restart.description":"Click on the button below to restart the machine","software_update.panel.restart.loading":"Restarting...","software_update.alert.title":"DATA WILL BE LOST!","software_update.alert.description":"Backup your data before upgrading","software_update.alert.action":"Backup & Restore","software_update.alert.warning":"Do NOT close the page until the upload process is complete!","software_update.form.title":"Upload file","software_update.form.file":"File","software_update.form.file.required":"Required","software_update.form.description":"Upload the file with the firmware you want to install (.swu file is required)","software_update.dialog.completed.title.success":"Upgrade successed","software_update.dialog.completed.title.failed":"Upgrade failed","software_update.dialog.completed.title.unknown":"Upgrade terminated","software_update.dialog.completed.content.success":"Upgrade completed succesfully. To see the upgraded software, please reboot the system.","software_update.dialog.completed.content.success.action":"Reboot now","software_update.dialog.completed.content.failed":"Upgrade failed. Check logs for more details.","software_update.dialog.completed.content.unknown":"Upgrade terminated with unknown status.","software_update.dialog.restart.content":"Restarting...","software_update.dialog.action.home":"Go home","log_shipping.form.title":"Log Shipping Configuration","log_shipping.form.host":"Host","log_shipping.form.port":"Port","log_shipping.form.compress":"Compress","log_shipping.form.save":"Save","log_shipping.form.cancel":"Reset","kpi_shipping.buttons.new_external_label":"New","kpi_shipping.buttons.new_remote_write":"New","kpi_shipping.external_labels.section_title":"External Labels","kpi_shipping.external_labels.table.key":"Key","kpi_shipping.external_labels.table.value":"Value","kpi_shipping.external_labels.table.actions.edit":"Edit","kpi_shipping.external_labels.table.actions.delete":"Delete","kpi_shipping.new_external_label.form.key":"Key","kpi_shipping.new_external_label.form.value":"Value","kpi_shipping.new_external_label.form.errors.required":"Field is required","kpi_shipping.new_external_label.form.buttons.cancel":"Cancel","kpi_shipping.new_external_label.form.buttons.save":"Save","kpi_shipping.new_external_label.dialog.title":"New External label","kpi_shipping.edit_external_label.dialog.title":"Edit External Label","kpi_shipping.delete_external_label.dialog.title":"Delete External Label","kpi_shipping.delete_external_label.dialog.confirm":'Are you sure to delete external label with key = "{key}"?',"kpi_shipping.dialog.configuration_update_ok":"Configuration updated correctly","kpi_shipping.dialog.configuration_update_ko":"Problem on updating configuration","kpi_shipping.remote_writes.section_title":"Remote Writes","kpi_shipping.remote_writes.table.name":"Name","kpi_shipping.remote_writes.table.url":"URL","kpi_shipping.remote_writes.table.proxy_url":"Proxy URL","kpi_shipping.remote_writes.table.tls_insecure_skip_verify":"Skip TLS Verify","kpi_shipping.remote_writes.table.actions.edit":"Edit","kpi_shipping.remote_writes.table.actions.delete":"Delete","kpi_shipping.new_remote_write.form.name":"Name","kpi_shipping.new_remote_write.form.url":"URL","kpi_shipping.new_remote_write.form.proxy_url":"Proxy URL","kpi_shipping.new_remote_write.form.tls_insecure_skip_verify":"Skip TLS Verify","kpi_shipping.new_remote_write.form.errors.required":"Field is required","kpi_shipping.new_remote_write.form.buttons.cancel":"Cancel","kpi_shipping.new_remote_write.form.buttons.save":"Save","kpi_shipping.new_remote_write.form.basic_auth.add":"Add Basic Auth","kpi_shipping.new_remote_write.form.basic_auth.remove":"Remove Basic Auth","kpi_shipping.new_remote_write.form.basic_auth.username":"Username","kpi_shipping.new_remote_write.form.basic_auth.password":"Password","kpi_shipping.new_remote_write.dialog.title":"New Remote Write","kpi_shipping.edit_remote_write.dialog.title":"Edit Remote Write","kpi_shipping.delete_remote_write.dialog.title":"Delete Remote Write","kpi_shipping.delete_remote_write.dialog.confirm":'Are you sure to delete remote write with name = "{name}"?',"long_string_displayer.message.copy":"Copy into the clipboard","long_string_displayer.message.copy_ok":"Text has been copied into the clipboard","not_found.message":"Page not found!","dialog_with_form.buttons.cancel":"Cancel","dialog_with_form.buttons.submit":"Submit","bootstrap_route.service_status_offline":"Service status is offline.","bootstrap_route.refresh_and_contact_support":"Try to refresh the page or contact the support.","pls.tls.configuration.title":"TLS Configuration","pls.tls.configuration.form.client_auth":"Client Authentication","pls.tls.configuration.form.enabled":"Enabled","pls.tls.configuration.form.apply":"Apply configuration","pls.tls.configuration.form.apply_ok":"Configuration applied correctly","pls.tls.configuration.form.apply_ko":"Error on applying configuration","pls.tls.configuration.error":"Error loading configuration","pls.tls.certificates.client.title":"Update Client CA Certificate","pls.tls.certificates.client.form.update_ok":"Client Certificate updated correctly","pls.tls.certificates.client.form.update_ko":"Error on updating Client certificate","pls.tls.certificates.server.title":"Update Server Certificate","pls.tls.certificates.server.form.update_ok":"Servert Certificate updated correctly","pls.tls.certificates.server.form.update_ko":"Error on updating Server certificate","pls.tls.certificates.client.form.update":"Update Client CA Certificate","pls.tls.certificates.server.form.update":"Update Server Certificate","pls.tls.certificates.form.cert_file":"Certificate file","pls.tls.certificates.form.key_file":"Key file","pls.tls.certificates.form.file":"Select file","pls.tls.certificates.form.error.file_required":"File is required","terminal.toolbar.files":"Files","terminal.drawer.files.title":"Files","terminal.drawer.files.download.tooltip":"Download","terminal.drawer.files.message.noData":"No files available","troubleshoot_dump.toolbar.dump":"Schedule dump","troubleshoot_dump.no_data":"No dump schedule found","troubleshoot_dump.form.title":"New dump","troubleshoot_dump.form.start_at":"From","troubleshoot_dump.form.end_at":"Until","troubleshoot_dump.form.end_at.validation":"Until time cannot be before from time","troubleshoot_dump.form.include_logs":"Include logs","troubleshoot_dump.form.include_metrics":"Include metrics","troubleshoot_dump.form.submit":"Schedule","troubleshoot_dump.table.action_id":"Action ID","troubleshoot_dump.table.status":"Status","troubleshoot_dump.table.start_at":"Start at","troubleshoot_dump.table.end_at":"End at","troubleshoot_dump.table.created_at":"Created at","troubleshoot_dump.table.size":"Size","troubleshoot_dump.table.actions.download":"Download","troubleshoot_dump.table.actions.delete":"Delete","troubleshoot_dump.dialog.delete.title":"Delete dump","troubleshoot_dump.dialog.delete.description":"Are you sure to delete dump {id}?","restart.progress.title":"Restarting...","darkmode.title":"Appearance","darkmode.light":"Light","darkmode.dark":"Dark","darkmode.system":"System","route.diameter":"Diameter","route.diameter.connections":"Connections","route.diameter.peers":"Peers","route.ngap":"NGAP","route.ngap.connections":"Connections","route.ngap.listeners":"Listeners","route.gtpc.sockets":"Sockets","route.gtpc.peers":"Peers","route.gtpc.denypeer.blocked_peers":"Blocked Peers","route.gtpu.sockets":"Sockets","route.pfcp.sockets":"Sockets","route.pfcp.peers":"Peers","route.mme":"MME","route.mme.status":"Status","route.mme.status.diameter":"Diameter","route.mme.status.s1ap":"S1AP","route.mme.status.s1ap.connections":"Connections","route.mme.status.s1ap.listeners":"Listeners","route.mme.status.gtpc":"GTP-C","route.mme.status.pfcp":"PFCP","route.mme.status.gtpu":"GTP-U","route.mme.status.gtpu.sockets":"Sockets","route.mme.status.sgs":"SGs","route.mme.status.sgs.connections":"Connections","route.mme.status.sbcap":"SBcAP","route.mme.status.sbcap.connections":"Connections","route.mme.status.sbcap.listeners":"Listeners","route.mme.status.dns":"DNS","route.mme.status.dns.cache":"Cache","route.mme.cluster":"Cluster","route.mme.configuration":"Configuration","route.mme.lawful-interception":"Lawful Interception","route.mme.status.m3":"M3","route.mme.status.m3.connections":"Connections","route.ncm.status.interfaces":"Interfaces","route.ncm.status.neighbors":"Neighbors","route.ncm.status.routes":"Routes","route.ncm.status.rules":"Rules","route.ncm.status.sockets":"Sockets","route.ncm.status.bird":"Dynamic Routing","route.ncm.status.bird.protocols":"Protocols","route.ncm.status.bird.bfd_sessions":"BFD Sessions","route.smf.status.gtpc":"GTP-C","route.smf.status.gtpu":"GTP-U","route.smf.status.pfcp":"PFCP","route.smf.lawful-interception":"Lawful Interception","route.smsf.smpp":"SMPP","route.smsf.smpp.connections":"Connections","route.smsf.configuration":"Configuration","route.smsf.status":"Status","route.smsf.cluster":"Cluster","route.smsf.sms-box":"SMS Box","route.sgwc.status.gtpc":"GTP-C","route.sgwc.status.pfcp":"PFCP","route.upf.status.pfcp":"PFCP","route.upf.status.gtpu":"GTP-U","route.boot-configuration":"Boot Configuration","route.new":"New","route.edit":"Edit","route.home":"Home","route.profile":"Profile","route.ncm":"Network","route.ncm.configuration":"Configuration","route.ncm.status":"Status","route.platform":"Platform","route.platform.auth":"Auth","route.platform.users":"Users","route.platform.roles":"Roles","route.platform.tls":"TLS","route.platform.log-shipping":"Log Shipping","route.platform.kpi-shipping":"KPI Shipping","route.platform.boot-configuration":"Boot Configuration","route.platform.cluster":"Cluster","route.system":"System","route.system.licensing":"Licensing","route.system.backup":"Backup & Restore","route.system.backup.configuration":"Configuration","route.system.backup.udr":"UDR","route.system.backup.eir":"EIR","route.system.backup.dsm":"DSM","route.system.backup.udm":"UDM","route.system.backup.nrf":"NRF","route.system.services":"Services","route.system.upgrade":"Upgrade","route.system.terminal":"Terminal","route.system.logs":"Logs","route.system.logs.entries":"Entries","route.system.logs.follow":"Follow","route.system.logs.cursor":"Log Entry","route.system.logs.cursor.caption":"__CURSOR: {cursor}","route.system.dialog.restart.title":"Restart","route.system.dialog.restart.text":"If you continue, the system will be restarted. Are you sure you want to proceed?","route.monitoring":"Monitoring","route.monitoring.system":"System","route.monitoring.core-statistics":"Core","route.monitoring.ue-status":"UE Status","route.monitoring.alerts":"Alerts","route.udr":"UDR","route.udr.configuration":"Configuration","route.udr.plmns":"Supported PLMNs","route.udr.supis":"SUPIs","route.udr.supis.new":"New SUPI","route.udr.supis.id":"SUPI","route.udr.supis.id.caption":"ID: {id}","route.udr.provisioned-data-profile":"Provisioned Data Profiles","route.udr.provisioned-data-profile.new":"New Provisioned Data Profiles","route.udr.provisioned-data-profile.id":"Provisioned Data Profile","route.udr.provisioned-data-profile.id.caption":"ID: {id}","route.udr.policy-data-profile":"Policy Data Profiles","route.udr.policy-data-profile.new":"New Policy Data Profile","route.udr.policy-data-profile.id":"Policy Data Profile","route.udr.policy-data-profile.id.caption":"ID: {id}","route.udr.ims-application-server-acls":"IMS Application Server ACLs","route.udr.ims-private-identities":"IMS Private Identities","route.udr.ims-private-identities.new":"New Private Identity","route.udr.ims-private-identities.id":"Private Identity","route.udr.ims-private-identities.id.caption":"ID: {id}","route.udr.ims-private-identities.id.application-servers-profiles":"Application Servers Profiles","route.udr.ims-private-identities.id.application-servers-profiles.caption":"Name: {name}","route.udr.ims-service-profiles":"IMS Service Profiles","route.udr.ims-initial-filters":"IMS Initial Filters","route.udr.transport-keys":"Transport Keys","route.udr.operator-codes":"Operator Codes","route.udr.cluster":"Cluster","route.udr.custom-milenage-constants":"Custom MILENAGE Constants","route.udm":"UDM","route.udm.configuration":"Configuration","route.udm.home-network-keys":"Home Network Keys","route.udm.cluster":"Cluster","route.udm.status":"Status","route.udm.plmn-prefixes":"PLMN Prefixes","route.eir":"EIR","route.eir.configuration":"Configuration","route.eir.rules":"Rules","route.eir.auto-rules":"Auto rules","route.eir.cluster":"Cluster","route.eir.status":"Status","route.chf":"CHF","route.chf.status":"Status","route.chf.cluster":"Cluster","route.chf.configuration":"Configuration","route.chf.status.gtp_prime":"GTP'","route.nrf":"NRF","route.nrf.configuration":"Configuration","route.nrf.static-profiles":"Static Profiles","route.nrf.static-profiles.new":"New Static Profile","route.nrf.static-profiles.id":"Static Profile","route.nrf.static-profiles.id.caption":"NF Instance ID: {id}","route.nrf.cluster":"Cluster","route.nrf.status":"Status","route.aaa":"AAA","route.aaa.cluster":"Cluster","route.aaa.configuration":"Configuration","route.aaa.status":"Status","route.aaa.status.radius":"Radius","route.amf":"AMF","route.amf.cluster":"Cluster","route.amf.configuration":"Configuration","route.amf.status":"Status","route.smf":"SMF","route.smf.status":"Status","route.smf.configuration":"Configuration","route.smf.cluster":"Cluster","route.smsf":"SMSF","route.upf":"UPF","route.upf.cluster":"Cluster","route.upf.configuration":"Configuration","route.upf.status":"Status","route.upf.lawful-interception":"Lawful Interception","route.pcf":"PCF","route.pcf.cluster":"Cluster","route.pcf.configuration":"Configuration","route.pcf.status":"Status","route.ausf":"AUSF","route.ausf.cluster":"Cluster","route.ausf.configuration":"Configuration","route.dra":"DRA","route.dra.cluster":"Cluster","route.dra.configuration":"Configuration","route.dra.status":"Status","route.dsm":"DNS","route.dsm.configuration":"Configuration","route.dsm.zones":"Zones","route.dsm.cluster":"Cluster","route.sgwc":"SGW","route.sgwc.status":"Status","route.sgwc.cluster":"Cluster","route.sgwc.configuration":"Configuration","route.bmsc":"BMSC","route.bmsc.status":"Status","route.bmsc.cluster":"Cluster","route.bmsc.configuration":"Configuration","route.bmsc.status.gtpc":"GTP-C","route.restart":"Restart","route.docs":"Guides","route.docs.datasheet":"Datasheet","route.docs.feature-description":"Feature Description","route.docs.installation-guide":"Installation Guide","route.docs.monitoring-guide":"Monitoring Guide","route.docs.product-description":"Product Description","route.docs.release-notes":"Release Notes","route.docs.security-guide":"Security Guide","route.docs.troubleshooting-guide":"Troubleshooting Guide","route.docs.user-guide":"User Guide","route.docs.oas":"OpenAPI Specifications","route.docs.oas.aaa":"AAA","route.docs.oas.amf":"AMF","route.docs.oas.ausf":"AUSF","route.docs.oas.bmsc":"BMSC","route.docs.oas.chf":"CHF","route.docs.oas.dra":"DRA","route.docs.oas.dsm":"DSM","route.docs.oas.eir":"EIR","route.docs.oas.licensed":"LICENSED","route.docs.oas.mme":"MME","route.docs.oas.ncm":"NCM","route.docs.oas.nrf":"NRF","route.docs.oas.pcf":"PCF","route.docs.oas.pls":"PLS","route.docs.oas.sgwc":"SGWC","route.docs.oas.smf":"SMF","route.docs.oas.smsf":"SMSF","route.docs.oas.udm":"UDM","route.docs.oas.udr":"UDR","route.docs.oas.upf":"UPF","route.docs.oas.swUpdate":"Software Update","route.pls":"PLS","route.platform.audit":"Audit","route.platform.alert-shipping":"Alert Shipping","route.platform.audit.caption":"User: {username}","idle-state.modal.title":"Are you still there?","idle-state.modal.message":"You've been inactive for a while. Your session will expire soon.","idle-state.modal.continue":"I'm here","audits.action":"Action","audits.auth":"Auth","audits.auth.allowed":"Allowed","audits.auth.denied":"Denied","audits.created_at":"Timestamp","audits.source_ip":"Source IP","system_usage_terms.title":"Terms & conditions","system_usage_terms.form.checkbox.hint":"Enable/disable terms & conditions banner inside login page","system_usage_terms.form.terms":"Terms","system_usage_terms.form.errors.required":"Field is required","system_usage_terms.form.forbidden_notice":"Forbidden notice","system_usage_terms.form.forbidden_notice.alert":"Forbidden notice will be shown inside a warning alert","system_usage_terms.checkbox.accept":"Accept terms & conditions","route.auth.strategies":"Authentication strategies","route.auth.auth_config":"Authentication configuration","route.auth.terms":"Terms & conditions","route.boot_partitions":"Boot Partitions","route.system.dialog.boot_partitions.title":"Boot partitions","route.system.dialog.boot_partitions.subtitle":"Select default boot partition","route.system.dialog.confirm_reboot.title":"System reboot","route.system.dialog.confirm_reboot.description":"To change default partition system must be rebooted. Do you want to proceed?","route.system.troubleshoot_dump":"Troubleshoot Dump"},gDe="Services Status",_De={"app.title":"Athonet","errors.drawer.title":"Errors","errors.drawer.actions.delete":"Delete","menu.version":"Version: {version}","menu.info.version":"version","menu.info.product_name":"product","menu.info.hostname":"hostname","common.form.add":"Add","common.form.submit":"Submit","common.form.continue":"Continue","common.form.close":"Close","common.form.cancel":"Cancel","common.new":"New","common.add":"Add","common.delete":"Delete","common.download":"Download","common.upload":"Upload","common.select_all":"Select all","common.save":"Save","common.edit":"Edit","common.view":"View","common.reset":"Reset","common.confirm":"Confirm","common.button.edit":"Edit","common.button.delete":"Delete","common.button.import":"Import","common.dropzone.previewText":"Selected files","common.dropzone.uploadLabel":"Drag and drop a file here or click","common.form.submit.error":"Error sending data: {description}","common.form.dirty":"(data has been modified!)","common.form.unit":"Unit","common.pagenotfound":"Page not found","common.reload":"Reload","common.status_error.title":"Error","common.status_error.message":"Something went wrong","common.status_error.fetch":"Error fetching data","common.status_error.service_unavailable":"Service is currently unavailable (unavailable services: {services})","common.status_error.service_unavailable_no_info":"Service is currently unavailable","common.alerts":"Alerts","common.terminal":"Terminal","common.logs":"Logs","common.no-data":"No data to display","common.backup":"Backup","common.restore":"Restore","common.remove":"Remove","common.update":"Update","common.or":"or","common.enabled":"Enabled","common.empty":"Empty","common.current":"current","route.errors.route_not_managed":"Permissions for route {path} are not managed","delete.form.title":"Delete","delete.form.text":"Are you sure to delete the element?","info_dialog.close":"Close","confirm_dialog.title":"Confirm","confirm_dialog.cancel":"Cancel","confirm_dialog.ok":"Ok","bad_request.message":"Invalid request!","unauthorized.message":"You are not authorized to view this content (required permissions: {permissions}).","unauthorized.forbidden":"You are not allowed to proceed","unauthorized.forbidden_with_permissions":"You are not allowed to proceed (required permissions: {permissions})","service_down.message":"This service is down or stopped!","dynamic.table.create_row.form.title":"Create new {value} element","dynamic.table.edit_row.form.title":"Edit {value} element","dynamic.table.edit_row":"Edit row","dynamic.table.delete_row":"Delete row","dynamic.button.confirmation.prompt":"Do you want to proceed?","dynamic.button.confirmation.cancel":"No","dynamic.button.confirmation.confirm":"Yes","dynamic.field.notset":"(not set)","dynamic.error":"Error loading page!","dynamic.message.cannot_write":"You are not able to edit configuration because you don't have the write permission","validation.required":"Required field","validation.no_wildcard_when_default_dnn":"* is not allowed for default DDN","validation.invalid_format":"Invalid format","validation.pattern":"Must match: {pattern}","validation.minLength":"Min length: ${min} chars","validation.maxLength":"Max length: ${max} chars","validation.minValue":"Min value: ${min}","validation.maxValue":"Max value: ${max}","validation.date-time.error":"Invalid datetime value","validation.email.error":"Invalid email value","validation.hostname.error":"Invalid hostname value","validation.ipv4.error":"Invalid IPV4 address value","validation.ipv6.error":"Invalid IPV6 address value","validation.ip.error":"Invalid IPV4 or IPV6 address value","validation.cidr4.error":"Invalid IPV4 CIDR value","validation.cidr6.error":"Invalid IPV6 CIDR value","validation.cidr.error":"Invalid IPV4 or IPV6 CIDR value","validation.list.unique_items":"Items must be unique","validation.list.min_items":"Must have at least ${min} items","validation.list.max_items":"Must have at most ${max} items","validation.list.item.error":"Item {index}: ","cluster.errors.no_nf_configured":"No NF configured for this Cluster page. Please contact administrator","cluster.message.no_repo":"There are no repositories","cluster.message.node_not_in_cluster":'Current node is not part of a cluster. Insert a node and click on "Join cluster" if you want to add the current node to a cluster.',"cluster.message.node_data_drop_warning":"NOTE: Data on local node will be dropped before joining the target node","cluster.message.node_data_destructive_operation_warning":"This operation completely deletes all data stored in the node joining the cluster. The data will be replaced with the one present on the joined cluster.","cluster.buttons.join_cluster":"Join Cluster","cluster.buttons.leave_cluster":"Leave Cluster","cluster.buttons.join":"Join","cluster.buttons.leave":"Leave","cluster.buttons.cancel":"Cancel","cluster.buttons.remove_dead_node":"Remove dead node","cluster.buttons.remove_dead_node_ap":"Remove Dead AP Node","cluster.buttons.leave_cp_without_consensus":"Leave CP Cluster Without Consensus","cluster.dialog.join_ok":"Cluster joined correctly","cluster.dialog.join_ko":"Error on joining cluster","cluster.dialog.leave_ok":"Cluster left correctly","cluster.dialog.leave_without_consensus_ok":"Cluster left correctly without consensus","cluster.dialog.leave_without_consensus_ko":"Error on leaving cluster without consensus","cluster.dialog.remove_dead_node_ok":"Dead AP node removed correctly","cluster.dialog.remove_dead_node_ko":"Error on removing dead AP node","cluster.dialog.join.title":"Join Cluster","cluster.dialog.join.description":"This operation completely deletes all data stored in the node joining the cluster. The data will be replaced with the one present on the joined cluster. Are you sure to join cluster?","cluster.dialog.join.cancel":"Cancel","cluster.dialog.join.confirm":"Join","cluster.dialog.leave.title":"Leave Cluster","cluster.dialog.leave.description":"Are you sure you want to leave cluster?","cluster.dialog.leave.force":"Force leave","cluster.dialog.leave.cancel":"Cancel","cluster.dialog.leave.confirm":"Leave","cluster.dialog.leave_without_consensus.title":"Leave CP Cluster Without Consensus","cluster.dialog.leave_without_consensus.description":"Are you sure you want to leave CP cluster without consensus?","cluster.dialog.leave_without_consensus.cancel":"Cancel","cluster.dialog.leave_without_consensus.confirm":"Leave","cluster.dialog.remove_dead_node_ap.title":"Remove Dead AP Node","cluster.dialog.remove_dead_node_ap.description":"Are you sure you want to remove AP node?","cluster.dialog.remove_dead_node_ap.cancel":"Cancel","cluster.dialog.remove_dead_node_ap.confirm":"Remove","cluster.form.errors.required":"Field is required","cluster.form.node":"Target node","cluster.form.node_placeholder":"Host","cluster.status.current_node":"Current","cluster.status.unreachable_node":"Unreachable","cluster.status.unreachable_nodes_count":"{count} Unreachable nodes","cluster.status.unreachable_node_count":"{count} Unreachable node","cluster.status.host_node":"Host","cluster.status.repositories":"Repositories","cluster.status.cluster_nodes":"Cluster nodes","cluster.status.current":"current","cluster.status.node_not_in_cluster":"Current node is not in cluster","cluster.status.repo_with_errors":"One or more repositories are down or have errors","cluster.site_picker.node_down":"The node {ip_address} that you selected is unreachable","cluster.title":"DB cluster","configuration.buttons.apply":"Apply Configuration","configuration.buttons.persist":"Persist Configuration","configuration.buttons.restart_resource":"Restart Resource","configuration.buttons.factory_reset":"Factory Reset","network_configuration.message.cannot_write":"You are not able to edit configuration because you don't have the write permission","network_configuration.dialog.title":"Network configuration","network_configuration.dialog.no_configuration":"No boot configuration","network_configuration.dialog.apply_configuration_ok":"Network configuration set correctly","network_configuration.dialog.apply_configuration_ko":"Error on setting network configuration","network_configuration.buttons.save":"Save","network_configuration.buttons.persist_and_reboot":"Persist and Reboot","network_configuration.buttons.cancel":"Cancel","network_configuration.form.errors.required":"Field is required","network_configuration.form.dev":"Device/VRF","network_configuration.form.host":"Host","network_configuration.form.name":"Name","network_configuration.form.port":"Port","network_configuration.form.tos":"TOS","network_configuration.fieldset":"Network configuration","network_configuration.alert.cannot_load_network_configuration":"Cannot load boot configuration","lawful_interception.message.cannot_write":"You are not able to edit lawful interception because you don't have the write permission","lawful_interception.dialog.title":"Lawful Interception","lawful_interception.dialog.no_configuration":"No Lawful Interception","lawful_interception.dialog.apply_configuration_ok":"Lawful Interception set correctly","lawful_interception.dialog.apply_configuration_ko":"Error on setting Lawful Interception","lawful_interception.buttons.save":"Save","lawful_interception.buttons.cancel":"Cancel","lawful_interception.form.errors.required":"Field is required","lawful_interception.form.title.x1":"X1 Server","lawful_interception.form.title.x1_uids":"UIDs","lawful_interception.form.title.x2":"X2 Client","lawful_interception.form.x1_ca":"CA file","lawful_interception.form.x1_key":"Key file","lawful_interception.form.x1_cert":"Cert file","lawful_interception.form.x2_ca":"CA file","lawful_interception.form.x2_key":"Key file","lawful_interception.form.x2_cert":"Cert file","lawful_interception.form.x1_uids":"UIDs","lawful_interception.form.title.x3":"X3","lawful_interception.form.x3_ca":"CA file","lawful_interception.form.x3_key":"Key file","lawful_interception.form.x3_cert":"Cert file","lawful_interception.form.title.t3":"T3","lawful_interception.form.t3_ca":"CA file","lawful_interception.form.t3_key":"Key file","lawful_interception.form.t3_cert":"Cert file","lawful_interception.panel.title":"Lawful Interception","lawful_interception.actions.delete":"Delete","lawful_interception.actions.confirm_delete":"Are you sure you want to delete the provided lawful interception?","lawful_interception.alert.cannot_load_lawful_interception":"Cannot load lawful interception","lawful_interception.provisioned":"Provisioned","lawful_interception.not_provisioned":"Not Provisioned","lawful_interception.apply_ok":"Lawful interception successfully saved","lawful_interception.apply_ko":"There was a problem saving lawful interception","lawful_interception.remove_ok":"Lawful interception successfully removed","lawful_interception.remove_ko":"There was a problem removing lawful interception","lawful_interception.load_ko":"There was a problem loading lawful interception key material","aaa.status.radius.local_addr":"Local Address","aaa.status.radius.local_port":"Local Port","ngap.status.connections.actions.delete":"Delete","ngap.status.connections.actions.reset":"Reset","ngap.status.connections.association_id":"Association ID","ngap.status.connections.connected_at":"Connected at","ngap.status.connections.global_ran_node_id":"Global RAN Node ID","ngap.status.connections.global_ran_node_id.id":"ID","ngap.status.connections.global_ran_node_id.plmn":"PLMN","ngap.status.connections.global_ran_node_id.type":"Type","ngap.status.connections.ran_node_name":"RAN Node Name","ngap.status.connections.local_addrs":"Local Addresses","ngap.status.connections.local_port":"Local Port","ngap.status.connections.remote_addrs":"Remote Addresses","ngap.status.connections.remote_port":"Remote Port","ngap.status.connections.srb_count":"SRB Count","ngap.status.connections.supported_ta_list":"Supported TAs","ngap.status.connections.supported_ta_list.broadcast_plmns":"Broadcast PLMNs","ngap.status.connections.supported_ta_list.broadcast_plmns.nssai":"NSSAI","ngap.status.connections.supported_ta_list.broadcast_plmns.PLMN":"PLMN","ngap.status.connections.supported_ta_list.tac":"TAC","ngap.status.connections.row_detail.tac":"TAC","ngap.status.connections.row_detail.broadcast_plmns":"Broadcast PLMNs with NSSAIs","ngap.status.connections.row_detail.broadcast_plmns.plmn":"PLMN","ngap.status.connections.row_detail.broadcast_plmns.nssais":"NSSAIs","ngap.status.listeners.local_addrs":"Local Addresses","ngap.status.listeners.local_port":"Local Port","ngap.status.listeners.transport_name":"Transport Name","diameter.status.connections.actions.disconnect":"Disconnect","diameter.status.connections.user":"User","diameter.status.connections.vendor_specific_applications":"Application ID (Vendor ID)","diameter.status.connections.vendor_specific_applications.application_id":"Application ID","diameter.status.connections.vendor_specific_applications.vendor_id":"Vendor ID","diameter.status.connections.name":"Name","diameter.status.connections.side":"Side","diameter.status.connections.peer":"Peer","diameter.status.connections.local_peer":"Local","diameter.status.connections.remote_peer":"Remote","diameter.status.connections.local_capabilities":"Local Capabilities","diameter.status.connections.remote_capabilities":"Remote Capabilities","diameter.status.connections.capabilities.origin_host":"Origin Host","diameter.status.connections.capabilities.origin_realm":"Origin Realm","diameter.status.connections.capabilities.vendor_id":"Vendor ID","diameter.status.connections.capabilities.product_name":"Product Name","diameter.status.connections.stack":"Stack","diameter.status.connections.applications":"Applications","diameter.status.connections.watchdog":"Watchdog","diameter.status.connections.port":"Port","diameter.status.connections.local_port":"Local Port","diameter.status.connections.remote_port":"Remote Port","diameter.status.connections.connection_type":"Connection Type","diameter.status.connections.connection_type.DiameterTcpConnection":"TCP","diameter.status.connections.connection_type.DiameterSctpConnection":"SCTP","diameter.status.connections.addrs":"Addresses","diameter.status.connections.local_addr":"Local Address","diameter.status.connections.local_addrs":"Local Addresses","diameter.status.connections.remote_addr":"Remote Address","diameter.status.connections.remote_addrs":"Remote Addresses","diameter.status.peers.name":"Name","diameter.status.peers.stack":"Stack","diameter.status.peers.remote_host":"Remote Host","diameter.status.peers.remote_realm":"Remote Realm","diameter.status.peers.addrs":"Addresses","diameter.status.peers.app_ids":"App IDs","diameter.status.peers.product_name":"Product Name","diameter.status.peers.vendor_id":"Vendor ID","diameter.status.peers.transport":"Transport","diameter.status.peers.status":"Status","diameter.status.peers.connection":"Connection","route.gtpp.status.connections":"Connections","route.gtpp.status.local_address":"Local Address","route.gtpp.status.local_port":"Local Port","route.gtpp.status.remote_address":"Remote Address","route.gtpp.status.remote_host":"Remote Host","route.gtpp.status.remote_port":"Remote Port","route.gtpp.status.transport_name":"Transport Name","gtpu.status.sockets.transport_name":"Transport Name","gtpu.status.sockets.local_addr":"Local Address","gtpu.status.sockets.local_port":"Local Port","gtpu.status.sockets.created":"Created","gtpu.status.sockets.counters":"Counters #","gtpu.status.sockets.counters.write_pkg_max":"Write Pkg Max","gtpu.status.sockets.counters.acc_waits":"Acc Waits","gtpu.status.sockets.counters.sendfile_tries":"Sendfile Tries","gtpu.status.sockets.counters.gtpu_snd_error_ind":"GTP-U Snd Error Ind","gtpu.status.sockets.counters.sendfile_byte":"Sendfile Byte","gtpu.status.sockets.counters.read_byte":"Read Byte","gtpu.status.sockets.counters.acc_success":"Acc Success","gtpu.status.sockets.counters.gtpu_rcv_gpdu":"GTP-U Rcv Gpdu","gtpu.status.sockets.counters.gtpu_rcv_echo_req":"GTP-U Rcv Echo Req","gtpu.status.sockets.counters.sendfile_fails":"Sendfile Fails","gtpu.status.sockets.counters.gtpu_rcv_echo_res":"GTP-U Rcv Echo Res","gtpu.status.sockets.counters.read_pkg_max":"Read Pkg Max","gtpu.status.sockets.counters.sendfile_max":"Sendfile Max","gtpu.status.sockets.counters.read_tries":"Read Tries","gtpu.status.sockets.counters.gtpu_snd_end_mark":"GTP-U Snd End Mark","gtpu.status.sockets.counters.write_pkg":"Write Pkg","gtpu.status.sockets.counters.write_tries":"Write Tries","gtpu.status.sockets.counters.sendfile_waits":"Sendfile Waits","gtpu.status.sockets.counters.gtpu_snd_gpdu":"GTP-U Snd Gpdu","gtpu.status.sockets.counters.acc_tries":"Acc Tries","gtpu.status.sockets.counters.write_byte":"Write Byte","gtpu.status.sockets.counters.acc_fails":"Acc Fails","gtpu.status.sockets.counters.sendfile":"Sendfile","gtpu.status.sockets.counters.read_pkg":"Read Pkg","gtpu.status.sockets.counters.sendfile_pkg_max":"Sendfile Pkg Max","gtpu.status.sockets.counters.sendfile_pkg":"Sendfile Pkg","gtpu.status.sockets.counters.gtpu_snd_drop":"GTP-U Snd Drop","gtpu.status.sockets.counters.write_fails":"Write Fails","gtpu.status.sockets.counters.gtpu_rcv_error_ind":"GTP-U Rcv Error Ind","gtpu.status.sockets.counters.read_fails":"Read Fails","gtpu.status.sockets.counters.gtpu_snd_echo_req":"GTP-U Snd Echo Req","gtpu.status.sockets.counters.gtpu_rcv_end_mark":"GTP-U Rcv End Mark","gtpu.status.sockets.counters.write_waits":"Write Waits","gtpu.status.sockets.counters.gtpu_rcv_drop":"GTP-U Rcv Drop","gtpu.status.sockets.counters.read_waits":"Read Waits","gtpu.status.sockets.counters.gtpu_snd_echo_res":"GTP-U Snd Echo Res","gtpc.status.sockets.transport_name":"Transport Name","gtpc.status.sockets.local_addr":"Local Address","gtpc.status.sockets.local_port":"Local Port","gtpc.status.sockets.dev":"Device","gtpc.status.peers.transport_name":"Transport Name","gtpc.status.peers.local_addr":"Local Address","gtpc.status.peers.remote_addr":"Remote Address","gtpc.status.peers.version":"Version","gtpc.status.peers.reset_counter":"Reset Counter","gtpc.status.peers.uptime_sec":"Uptime (s)","gtpc.status.peers.last_reset_at":"Last Reset At","gtpc.status.peers.connected_at":"Connected At","gtpc.status.peers.num_tuns":"Num Tuns","denypeer.status.gtpc.id":"ID","denypeer.status.gtpc.blocked_count":"Blocked Count","denypeer.status.gtpc.expires":"Expires","denypeer.status.gtpc.rule_type":"Rule Type","denypeer.status.gtpc.blocked":"Blocked","denypeer.status.gtpc.type":"Type","denypeer.status.gtpc.actions.flush":"Flush Blocked Peers","pfcp.status.sockets.transport_name":"Transport Name","pfcp.status.sockets.local_addr":"Local Address","pfcp.status.sockets.local_port":"Local Port","pfcp.status.peers.name":"Name","pfcp.status.peers.remote_node_id":"Remote Node ID","pfcp.status.peers.transport_name":"Transport Name","pfcp.status.peers.local_addr":"Local Address","pfcp.status.peers.remote_addr":"Remote Address","pfcp.status.peers.version":"Version","pfcp.status.peers.reset_counter":"Reset Counter","pfcp.status.peers.uptime_sec":"Uptime (s)","pfcp.status.peers.uptime":"Uptime","pfcp.status.peers.last_reset_at":"Last Reset At","pfcp.status.peers.connected_at":"Connected At","pfcp.status.peers.num_tuns":"Num Tuns","mme.s1ap.status.connections.actions.disconnect":"Disconnect","mme.s1ap.status.connections.actions.reset":"Reset","mme.s1ap.status.connections.local_addrs":"Local Addresses","mme.s1ap.status.connections.local_port":"Local Port","mme.s1ap.status.connections.remote_addrs":"Remote Addresses","mme.s1ap.status.connections.remote_port":"Remote Port","mme.s1ap.status.connections.enb_name":"Enb Name","mme.s1ap.status.connections.transport_name":"Transport Name","mme.s1ap.status.connections.srb_count":"Srb Count","mme.s1ap.status.connections.connection_ts":"Connection TS","mme.s1ap.status.connections.connection_id":"Connection ID","mme.s1ap.status.connections.global_enb_id":"Global Enb ID","mme.s1ap.status.connections.global_enb_id.id":"ID","mme.s1ap.status.connections.global_enb_id.plmn":"PLMN","mme.s1ap.status.connections.global_enb_id.type":"Type","mme.s1ap.status.connections.tai":"TAI","mme.s1ap.status.connections.tai.plmn":"PLMN","mme.s1ap.status.connections.tai.tac":"Tac","mme.s1ap.status.connections.tai.rat":"Rat","mme.s1ap.status.listeners.transport_name":"Transport Name","mme.s1ap.status.listeners.local_addrs":"Local Addresses","mme.s1ap.status.listeners.local_port":"Local Port","mme.s1ap.status.listeners.dev":"Device","mme.sgs.status.connections.local_addrs":"Local Addresses","mme.sgs.status.connections.local_port":"Local Port","mme.sgs.status.connections.remote_addrs":"Remote Addresses","mme.sgs.status.connections.remote_port":"Remote Port","mme.sgs.status.connections.connection_id":"Connection ID","mme.sbcap.status.connections.local_addrs":"Local Addresses","mme.sbcap.status.connections.local_port":"Local Port","mme.sbcap.status.connections.remote_addrs":"Remote Addresses","mme.sbcap.status.connections.remote_port":"Remote Port","mme.sbcap.status.connections.transport_name":"Transport Name","mme.sbcap.status.connections.connection_ts":"Connection TS","mme.sbcap.status.connections.connection_id":"Connection ID","mme.sbcap.status.listeners.transport_name":"Transport Name","mme.sbcap.status.listeners.local_addrs":"Local Addresses","mme.sbcap.status.listeners.local_port":"Local Port","mme.sbcap.status.listeners.dev":"Device","mme.dns.status.cache.query":"Query","mme.dns.status.cache.query.domain":"Domain","mme.dns.status.cache.query.type":"Type","mme.dns.status.cache.expires":"Expires","mme.dns.status.cache.expired":"Expired","mme.dns.status.cache.expiration":"Expiration","mme.dns.status.cache.details":"Details","mme.dns.status.cache.no_data":"No data","mme.dns.status.cache.actions.flush_cache":"Flush Cache","mme.m3.status.connections.connection_id":"Connection ID","mme.m3.status.connections.local_addrs":"Local addresses","mme.m3.status.connections.local_port":"Local port","mme.m3.status.connections.remote_addrs":"Remote addresses","mme.m3.status.connections.remote_port":"Remote port","mme.m3.status.connections.transport_name":"Transport name","mme.m3.status.connections.connection_ts":"Connection TS","mme.m3.status.connections.mce_name":"MCE name","mme.m3.status.connections.m3_sessions.tmgi":"M3 sessions TMGI","mme.m3.status.connections.m3_sessions.flow":"M3 sessions Flow","mme.m3.status.connections.m3_sessions.sas":"M3 sessions SAS","mme.m3.status.connections.m3_sessions.cl":"M3 sessions CL","mme.m3.status.connections.m3_sessions_count":"M3 sessions count","mme.m3.status.connections.global_mce_id.id":"Global MCE ID","mme.m3.status.connections.global_mce_id.plmn":"Global MCE PLMN","mme.m3.status.connections.id":"ID","mme.m3.status.connections.service_areas":"Service areas","licensing.table.id":"ID","licensing.table.nf_type":"NF Type","licensing.table.start_date":"Start Date","licensing.table.expire_date":"Expire Date","licensing.table.precedence":"Precedence","licensing.table.state":"State","licensing.table.actions.delete":"Delete","licensing.table.parameters.max_connected_ran_nodes":"Max Connected RAN Nodes","licensing.table.parameters.max_registered_ues":"Max Registered UEs","licensing.table.parameters.max_provisioned_supis":"Max Provisioned Supis","licensing.table.details.app_type":"App Type","licensing.table.details.federation":"Federation","licensing.table.details.max_reg_users":"Max Reg Users","licensing.table.details.max_sessions":"Max Sessions","licensing.table.details.offline_charging":"Offline Charging","licensing.table.details.online_charging":"Online Charging","licensing.table.details.transcoding":"Transcoding","licensing.table.details.vonr":"Vonr","licensing.info":"Info","licensing.install":"Install","licensing.set":"Set","licensing.persist":"Persist","licensing.host.hostname":"Hostname","licensing.host.siteid":"Site Id","licensing.form.title":"New License","licensing.form.license":"License","licensing.form.license.placeholder":"insert a license value","licensing.delete.dialog.confirm":"Are you sure to delete the license?","licensing.upload":"Upload Configuration","licensing.upload.form.file":"Select file","licensing.upload.form.error":"Something went wrong. To view the details of an error, hover the cursor over the icons in the table below.","licensing.upload.form.error.invalid_license":"Invalid License","licensing.upload.form.error.unspecified":"Unspecified","licensing.upload.form.error.wrong_site_id":"Wrong Site Id","licensing.upload.form.error.not_found":"Not Found","licensing.upload.form.file.required":"File is required","licensing.upload.buttons.upload":"Upload","licensing.upload.form.upload.placeholder":"Select a single .json file","licensing.upload.form.title":"Upload a License","licensing.upload.form.description":"Add a single valid .json file.","licensing.upload.form.result.description":"Update completed, below are the operation details with a log.","licensing.upload.form.result.message_ok":"Uploaded successfully","licensing.upload.form.result.message_ko":"Unknown error encountered uploading file","dsm_zones.table.id":"Server Name","dsm_zones.table.name":"Name","dsm_zones.table.vrf":"VRF","dsm_zones.table.actions.edit":"Edit","dsm_zones.table.actions.delete":"Delete","dsm_zones.table.actions.download":"Download","dsm_zones.form.title":"New DNS Zone","dsm_zones.form.license":"DNS Zone","dsm_zones.form.license.placeholder":"insert a license value","dsm_zones.delete.dialog.confirm":"Are you sure to delete the DNS zone?","dsm_zones.upload":"Upload DNS Zone","dsm_zones.upload.form.file":"Select file","dsm_zones.upload.form.file.required":"File is required","dsm_zones.upload.form.file.upload":"File Upload","dsm_zones.upload.form.file.content":"Content","dsm_zones.upload.form.name":"Name","dsm_zones.upload.form.server":"Server","dsm_zones.upload.buttons.new":"New","dsm_zones.upload.buttons.upload":"Upload","dsm_zones.upload.form.upload.placeholder":"Select a single text file","dsm_zones.upload.form.title":"Upload a DNS Zone","dsm_zones.upload.form.edit.title":"Edit a DNS Zone","dsm_zones.upload.form.description":"Add a single valid text file, its name will be used for DNS zone name.","dsm_zones.upload.form.result.description":"Update completed, below are the operation details with a log.","dsm_zones.upload.form.result.message_ok":"Uploaded successfully","dsm_zones.upload.form.result.message_ko":"Unknown error encountered uploading file","dsm_zones.upload.min":"You must upload one file","dsm_zones.upload.max":"You must upload one file","dsm_zones.upload.required":"Field is required","dsm_zones.upload.save":"Save","dsm_zones.upload.cancel":"Cancel","dsm_zones.download.result.message_ko":"Error on downloading DNS zone","dsm_zones.delete.result.message_ok":"DNS zone deleted correctly","dsm_zones.delete.result.message_ko":"Error on deleting DNS zone","dsm_zones.fetch.result.message_ko":"Error on fetching DNS zone","login.title":"Sign in","login.subtitle":"Please enter your credentials to proceed","login.submit":"Sign in","login.submit.local":"Sign in with credentials","login.submit.radius":"Sign in with radius","login.submit.ldap":"Sign in with ldap","login.username.label":"Username","login.password.label":"Password","login.submitButton":"Sign in","login.forgotPasswordLink":"Forgot password?","login.username.error":"Please insert your username","login.password.error":"Insert a password","login.password.error.rules":"It must contain at least 1 uppercase letter, 1 digit and 1 special character","login.username.placeholder":"insert your username","login.password.placeholder":"insert your password","login.errorMessage":"Wrong username or password, try with different credentials","login.no_backends":"No authentication strategies detected, please contact the administrator.","login.password.error.long":"The password must be at least ${min} characters long","login.password.error.required":"Please type the password","login.reset.title":"Reset Password","login.reset.subtitle":"Please enter your username to request a password reset","login.reset.submitButton":"Reset password","login.reset.backButton":"Go to login","login.reset.errorMessage":"The username you've inserted doesn't exists, try with another","login.reset.emailSent":"An email with a password reset link has been sent to your email address","login.reset.passwordLabel":"Confirm password","login.reset.password.placeholder":"Type the new password again","login.reset.matchPasswordError":"The passwords inserted are different","login.reset.subtitleConfirm":"Please create a new password","login.reset.passwordChanged":"Your password was changed successfully","login.reset.resetUserNotFound":"User not found or reset link expired","login.reset.resetError":"Your password change operation has failed","login.change.title":"Your password must be changed","login.change.subtitle":"Please create a new password","login.change.submitButton":"Change password","login.change.backButton":"Go to login","login.change.passwordChanged":"Your password was changed successfully","login.change.resetError":"Your password change operation has failed","login.change.oldPasswordLabel":"Current password","login.change.passwordPlaceholder":"Enter your current password","login.change.newPasswordLabel":"New password","login.change.newPasswordPlaceholder":"Enter a new password","ncmstatus.table.device":"Device","ncmstatus.table.deviceindex":"Device index","ncmstatus.table.ipaddress":"IP Address","ncmstatus.table.macaddress":"MAC Address","ncmstatus.table.status":"Status","ncmstatus.table.destination":"Destination","ncmstatus.table.gateway":"IP Gateway","ncmstatus.table.source":"Source","ncmstatus.table.priority":"Priority","ncmstatus.table.rule":"Rule","ncmstatus.table.vrf":"VRF","ncmstatus.title.addresses":"Addresses and Routes","ncmstatus.title.rules":"Rules","ncmstatus.title.linkstatus":"Link Status","ncmstatus.title.arp":"ARP/Neighbors","ncm_status.tabs.network_interfaces":"Interfaces","ncm_status.tabs.neighbors":"Neighbors","ncm_status.tabs.routes":"Routes","ncm_status.tabs.rules":"Rules","ncm_status.tabs.sockets":"Sockets","ncm_status.tabs.links":"Links","ncm_status.filter.vrf":"VRF","ncm_status.filter.table":"Table","ncm_status.filter.type":"Type","ncm_status.filter.family.inet":"IPv4","ncm_status.filter.family.inet6":"IPv6","ncm_status.tabs.network_interfaces.id":"ID","ncm_status.tabs.network_interfaces.interface":"Interface","ncm_status.tabs.network_interfaces.interface_type":"Interface Type","ncm_status.tabs.network_interfaces.mtu":"MTU","ncm_status.tabs.network_interfaces.status":"Status","ncm_status.tabs.network_interfaces.address":"Mac","ncm_status.tabs.network_interfaces.ip_address":"IP Address","ncm_status.tabs.network_interfaces.master":"Master","ncm_status.tabs.network_interfaces.linkinfo":"Link Info","ncm_status.tabs.network_interfaces.linkinfo.info_data":"Info Data","ncm_status.tabs.network_interfaces.linkinfo.info_slave_kind":"Info Slave Kind","ncm_status.tabs.network_interfaces.linkinfo.info_slave_data":"Info Slave Data","ncm_status.tabs.network_interfaces.linkinfo.":"Master","ncm_status.tabs.neighbors.dst":"IP Address","ncm_status.tabs.neighbors.lladdr":"MAC Address","ncm_status.tabs.neighbors.dev":"Device","ncm_status.tabs.neighbors.state":"State","ncm_status.tabs.neighbors.actions.flush":"Flush Table","ncm_status.tabs.bird.protocols.name":"Name","ncm_status.tabs.bird.protocols.proto":"Protocol","ncm_status.tabs.bird.protocols.table":"Table","ncm_status.tabs.bird.protocols.state":"State","ncm_status.tabs.bird.protocols.since":"Since","ncm_status.tabs.bird.protocols.info":"Info","ncm_status.tabs.bird.bfd_sessions.name":"Name","ncm_status.tabs.bird.bfd_sessions.sessions":"Sessions","ncm_status.tabs.bird.bfd_sessions.sessions.ip_address":"IP Address","ncm_status.tabs.bird.bfd_sessions.sessions.interface":"Interface","ncm_status.tabs.bird.bfd_sessions.sessions.state":"State","ncm_status.tabs.bird.bfd_sessions.sessions.since":"Since","ncm_status.tabs.bird.bfd_sessions.sessions.interval":"Interval","ncm_status.tabs.bird.bfd_sessions.sessions.timeout":"Timeout","ncm_status.tabs.routes.dst":"Destination","ncm_status.tabs.routes.gateway":"IP Gateway","ncm_status.tabs.routes.dev":"Device","ncm_status.tabs.routes.prefsrc":"Source","ncm_status.tabs.routes.metric":"Metric","ncm_status.tabs.routes.protocol":"Protocol","ncm_status.tabs.sockets.local_address":"Local Address","ncm_status.tabs.sockets.peer_address":"Remote Address","ncm_status.tabs.sockets.protocol":"Protocol","ncm_status.tabs.sockets.state":"State","ncm_status.tabs.sockets.process":"Process","ncm_status.tabs.rules.priority":"Priority","ncm_status.tabs.rules.family":"Family","ncm_status.tabs.rules.rule":"Rule","nrf_static_profiles.toolbar.new":"New Static Profile","nrf_static_profiles.table.nfInstanceId":"NF Instance ID","nrf_static_profiles.table.nfInstanceName":"NF Instance Name","nrf_static_profiles.table.nfType":"NF type","nrf_static_profiles.table.nfStatus":"NF Status","nrf_static_profiles.table.fqdn":"FQDN","nrf_static_profiles.table.ipv4Addresses":"IPv4 Addresses","nrf_static_profiles.table.ipv6Addresses":"IPv6 Addresses","nrf_static_profiles.table.priority":"Priority","nrf_static_profiles.table.locality":"Locality","nrf_static_profiles.table.capacity":"Capacity","nrf_static_profiles.table.sNssais":"Slices #","nrf_static_profiles.table.plmnList":"PLMNs #","nrf_static_profiles.actions.edit":"Edit","nrf_static_profiles.actions.confirm_dialog.title":"Delete static profile","nrf_static_profiles.actions.confirm_dialog.description":'Are you sure to delete profile with NF Instance ID = "{nfInstanceId}"?',"nrf_static_profiles.actions.delete":"Delete","nrf_static_profile.section.general.title":"General","nrf_static_profile.section.slices.title":"Slices","nrf_static_profile.section.slices.slice_add":"Add Slice","nrf_static_profile.section.slices.slice_delete":"Delete Slice","nrf_static_profile.section.slices.no_slices":"No slices","nrf_static_profile.section.plmnList.title":"PLMNs","nrf_static_profile.section.plmnList.plmn_add":"Add PLMN","nrf_static_profile.section.plmnList.plmn_delete":"Delete PLMN","nrf_static_profile.section.plmnList.no_plmns":"No PLMNs","nrf_static_profile.form.nfType":"NF type","nrf_static_profile.form.nfStatus":"NF Status","nrf_static_profile.form.fqdn":"FQDN","nrf_static_profile.form.ipv4Addresses":"IPv4 Addresses","nrf_static_profile.form.ipv6Addresses":"IPv6 Addresses","nrf_static_profile.form.priority":"Priority","nrf_static_profile.form.locality":"Locality","nrf_static_profile.form.capacity":"Capacity","nrf_static_profile.form.nfInstanceId":"NF Instance ID","nrf_static_profile.form.nfInstanceName":"NF Instance Name","nrf_static_profile.form.sNssais.form_errors.has_errors":"Field has errors","nrf_static_profile.form.sNssais.sst":"SST","nrf_static_profile.form.sNssais.sd":"SD","nrf_static_profile.form.sNssais.isRangesActiveTrue":"SD Ranges","nrf_static_profile.form.sNssais.isRangesActiveFalse":"Single SD","nrf_static_profile.form.sNssais.sdRanges":"SD Ranges","nrf_static_profile.form.sNssais.sdRanges.start":"Start","nrf_static_profile.form.sNssais.sdRanges.end":"End","nrf_static_profile.section.sNssais.sdRanges.title":"SD Ranges","nrf_static_profile.section.sNssais.sdRanges.range_add":"Add SD Range","nrf_static_profile.section.sNssais.sdRanges.range_delete":"Delete SD Range","nrf_static_profile.section.sNssais.sdRanges.no_ranges":"No SD Ranges","nrf_static_profile.form.plmnList.form_errors.has_errors":"Field has errors","nrf_static_profile.form.plmnList.mcc":"MCC","nrf_static_profile.form.plmnList.mnc":"MNC","nrf_static_profile.form.errors.fqdn_ips_at_least_one":"One of IPv4 Addresses, IPv6 Addresses or FQDN must be entered","nrf_static_profile.form.errors.required":"Field is required","nrf_static_profile.section.upf.title":"UPF Instances Info","nrf_static_profile.section.upf.upf_instance_add":"Add UPF Instance Info","nrf_static_profile.section.upf.upf_instance_delete":"Delete UPF Instance Info","nrf_static_profile.section.upf.no_upf_instances":"No UPF Instances Info","nrf_static_profile.form.upfInfoList.ueIpAddrInd":"User Equipment IP Address Indicator","nrf_static_profile.section.upf.interfaceUpfInfoList.title":"Interfaces","nrf_static_profile.section.upf.interfaceUpfInfoList.interface_add":"Add Interface","nrf_static_profile.section.upf.interfaceUpfInfoList.interface_delete":"Delete Interfaces","nrf_static_profile.section.upf.interfaceUpfInfoList.no_interfaces":"No Interfaces","nrf_static_profile.form.upfInfoList.interfaceUpfInfoList.network_instance":"Network Instance","nrf_static_profile.form.upfInfoList.interfaceUpfInfoList.interface_type":"Interface Type","nrf_static_profile.section.upf.taiList.title":"TAIs","nrf_static_profile.section.upf.taiList.tai_add":"Add TAI","nrf_static_profile.section.upf.taiList.tai_delete":"Delete TAI","nrf_static_profile.section.upf.taiList.no_tais":"No TAIs","nrf_static_profile.form.upfInfoList.taiList":"TAIs","nrf_static_profile.form.upfInfoList.taiList.plmnId":"PLMN","nrf_static_profile.form.upfInfoList.taiList.plmnId.mcc":"MCC","nrf_static_profile.form.upfInfoList.taiList.plmnId.mnc":"MNC","nrf_static_profile.form.upfInfoList.taiList.tac":"Tac","nrf_static_profile.section.upf.sNssaiUpfInfoList.title":"Slices","nrf_static_profile.section.upf.sNssaiUpfInfoList.slice_add":"Add Slice","nrf_static_profile.section.upf.sNssaiUpfInfoList.slice_delete":"Delete Slice","nrf_static_profile.section.upf.sNssaiUpfInfoList.no_slices":"No Slices","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList":"Slices","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.sNssai":"Slice","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.sNssai.sst":"SST","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.sNssai.sd":"SD","nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.title":"DNNs","nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.dnn_add":"Add DNN","nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.dnn_delete":"Delete DNN","nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.no_dnns":"No DNNs","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList":"DNNs","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.dnn":"DNN","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.pduSessionTypes":"PDU Session Types","nrf_static_profile.section.upf.ipv4Ranges.title":"IPv4 Ranges","nrf_static_profile.section.upf.ipv4Ranges.range_add":"Add IPv4 Range","nrf_static_profile.section.upf.ipv4Ranges.range_delete":"Delete IPv4 Range","nrf_static_profile.section.upf.ipv4Ranges.no_ranges":"No IPv4 Ranges","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges":"IPv4 Address Ranges","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges.start":"Start","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges.end":"End","nrf_static_profile.section.upf.ipv6Ranges.title":"IPv6 Ranges","nrf_static_profile.section.upf.ipv6Ranges.range_add":"Add IPv6 Range","nrf_static_profile.section.upf.ipv6Ranges.range_delete":"Delete IPv6 Range","nrf_static_profile.section.upf.ipv6Ranges.no_ranges":"No IPv6 Ranges","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges":"IPv6 Prefix Ranges","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges.start":"Start","nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges.end":"End","nrf_static_profile.form.upfInfoList.form_errors.has_errors":"Field has errors","user.menu.profile":"Profile","user.menu.logout":"Logout","profile.account":"Account","profile.firstname":"First name","profile.lastname":"Last name","profile.username":"Username","profile.fullname":"Full name","profile.email":"Email address","profile.tool.edit":"Edit profile","profile.tool.editPassword":"Change password","profile.tool.editPassword.description":"You can change your password by entering the current and a new one of your choice","profile.editProfile":"Edit profile","profile.form.fullname":"Full name","profile.form.username":"Username","profile.form.username.error":"Please enter username","authentication_strategies.title":"Active Strategies","authentication_strategies.tabs.item.local":"Credentials","authentication_strategies.tabs.item.radius":"Radius","authentication_strategies.tabs.item.ldap":"Ldap","authentication_strategies.tabs.item.openid":"OpenID","authentication_strategies.form.errors.backends":"local strategy is always required","authentication_strategies.form.backends":"Backends","authentication_strategies.form.backends.info":"The order of the backends will be reflected in the login page","authentication_strategies.form.buttons.save":"Save","authentication_strategies.backends.save.message_ok":"Backends configuration has been saved correctly","authentication_strategies.backends.save.message_ko":"An error occured saving the radius configuration","authentication_strategies.auth_config.form.session_timers":"Session timers","authentication_strategies.auth_config.form.access_token_ttl_s":"Access Token TTL (s)","authentication_strategies.auth_config.tooltip.access_token_ttl_s":"Time to leave in seconds for the token used to make secure calls for protected resources to the API server.","authentication_strategies.auth_config.form.refresh_token_ttl_s":"Refresh Token TTL (s)","authentication_strategies.auth_config.tooltip.refresh_token_ttl_s":"Time to leave in seconds for the token used to get a new access token without having to login again.","authentication_strategies.auth_config.form.ui_inactivity_s":"Inactivity Timer (s)","authentication_strategies.auth_config.tooltip.ui_inactivity_s":"Show an inactivity modal to the user after the chosen amount of seconds if no interactions with the user interface have been made.","authentication_strategies.auth_config.form.ui_inactivity_s.seconds":"Inactivity Timer","authentication_strategies.auth_config.form.access_token_ttl_s.validation.type":"Access Token TTL (s) must be a number","authentication_strategies.auth_config.form.access_token_ttl_s.validation.required":"Access Token TTL (s) field is required","authentication_strategies.auth_config.form.access_token_ttl_s.validation.min":"Access Token TTL (s) must be greater than or equal to 60","authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.type":"Refresh Token TTL (s) must be a number","authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.required":"Refresh Token TTL (s) field is required","authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.min":"Refresh Token TTL (s) must be greater than or equal to 120","authentication_strategies.auth_config.form.ui_inactivity_s.validation.type":"Inactivity Timer (s) must be a number","authentication_strategies.auth_config.form.ui_inactivity_s.validation.required":"Inactivity Timer (s) field is required","authentication_strategies.auth_config.form.ui_inactivity_s.validation.min":"Inactivity Timer (s) must be greater than or equal to 60","authentication_strategies.auth_config.form.login_max_attempts":"Login max attempts","authentication_strategies.auth_config.tooltip.login_max_attempts":"Throttle consecutive login attemps after the max attempts counter has been reached for a determined duration in seconds.","authentication_strategies.auth_config.form.login_max_attempts.validation.type":"Login max attempts must be a number","authentication_strategies.auth_config.form.login_max_attempts.validation.required":"Login max attempts field is required","authentication_strategies.auth_config.form.login_max_attempts.validation.min":"Login max attempts must be greater than or equal to 1","authentication_strategies.auth_config.form.login_throttle_period_s":"Login Throttle Period (s)","authentication_strategies.auth_config.form.login_throttle_period_s.validation.type":"Login Throttle Period (s) must be a number","authentication_strategies.auth_config.form.login_throttle_period_s.validation.required":"Login Throttle Period (s) field is required","authentication_strategies.auth_config.form.login_throttle_period_s.validation.min":"Login Throttle Period (s) must be greater than or equal to 1","authentication_strategies.auth_config.form.audit_retention_s":"Audit Retention (s)","authentication_strategies.auth_config.tooltip.audit_retention_s":"Retention time in seconds for the auth audit events generated while the user interacts with the system.","authentication_strategies.auth_config.form.audit_retention_s.validation.type":"Audit Retention (s) must be a number","authentication_strategies.auth_config.form.audit_retention_s.validation.required":"Audit Retention (s) field is required","authentication_strategies.auth_config.form.audit_retention_s.validation.min":"Audit Retention (s) must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rules":"Password rules","authentication_strategies.auth_config.form.password_rule_max_account_name_characters":"Max username characters allowed in password","authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.integer":"Max username characters allowed in password must be an integer","authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.type":"Max username characters allowed in password must be a number","authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.required":"Max username characters allowed in password field is required","authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.min":"Max username characters allowed in password must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_length":"Min password length","authentication_strategies.auth_config.form.password_rule_min_length.validation.integer":"Min password length must be an integer","authentication_strategies.auth_config.form.password_rule_min_length.validation.type":"Min password length must be a number","authentication_strategies.auth_config.form.password_rule_min_length.validation.required":"Min password length field is required","authentication_strategies.auth_config.form.password_rule_min_length.validation.min":"Min password length must be greater than or equal to 12","authentication_strategies.auth_config.form.password_rule_min_lowercase_characters":"Min lowercase characters","authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.integer":"Min lowercase characters must be an integer","authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.type":"Min lowercase characters must be a number","authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.min":"Min lowercase characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_number_characters":"Min numeric characters","authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.integer":"Min numeric characters must be an integer","authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.type":"Min numeric characters must be a number","authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.min":"Min numeric characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_special_characters":"Min special characters","authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.integer":"Min special characters must be an integer","authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.type":"Min special characters must be a number","authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.min":"Min special characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_uppercase_characters":"Min uppercase characters","authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.integer":"Min uppercase characters must be an integer","authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.type":"Min uppercase characters must be a number","authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.min":"Min uppercase characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_special_characters":"Special characters","authentication_strategies.auth_config.form.password_rule_special_characters.validation.type":"Special characters must be a string","authentication_strategies.auth_config.form.password_rule_special_characters.validation.min":"Special characters must be greater than or equal to 1","authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.required":"Special characters field is required","authentication_strategies.radius.title":"Radius","authentication_strategies.radius.transport.title":"Transport","authentication_strategies.radius.secret.title":"Secret","authentication_strategies.radius.panel.title":"Radius Configuration","authentication_strategies.radius.transport.form.roles":"Roles","authentication_strategies.radius.form_errors.has_errors":"Field has errors","authentication_strategies.radius.form_errors.transport.remote_addresses":"Remote Addresses field must have at least 1 item","authentication_strategies.radius.form_errors.transport.timeout_s.min":"Timeout (s) must be greater than or equal to 1","authentication_strategies.radius.form_errors.transport.local_address":"Local Address is a required field","authentication_strategies.radius.form_errors.transport.local_port":"Local Port is a required field","authentication_strategies.radius.form_errors.transport.local_port_min":"Local Port must be greater than or equal to 1","authentication_strategies.radius.form_errors.transport.remote_port":"Remote Port is a required field","authentication_strategies.radius.form_errors.transport.timeout_s":"Timeout (s) is a required field","authentication_strategies.radius.form_errors.transport.secret":"Secret is a required field","authentication_strategies.radius.form_errors.unique_role":"Role must be unique","authentication_strategies.radius.form_errors.roles_required":"Roles is a required field","authentication_strategies.radius.form_errors.roles_min":"Roles field must have at least 1 item","authentication_strategies.radius.form.errors.required":"Field is required","authentication_strategies.radius.form.secret":"Secret","authentication_strategies.radius.form.roles":"Roles","authentication_strategies.radius.form.permission_template":"Permission Template","authentication_strategies.radius.not_active":"Radius is not active (not present in the backend list above) but you can still configure it","authentication_strategies.radius.form.transport":"Transport","authentication_strategies.radius.add_transport_dialog.title":"Add Transport","authentication_strategies.radius.edit_transport_dialog.title":"Edit Transport","authentication_strategies.radius.transport.no_transport":"No transport","authentication_strategies.radius.transport.transport_add":"Add Transport","authentication_strategies.radius.transport.transport_delete":"Delete Transport","authentication_strategies.radius.transport.actions.edit":"Edit Transport","authentication_strategies.radius.transport.actions.delete":"Delete Transport","authentication_strategies.radius.transport.form.local_address":"Local Address","authentication_strategies.radius.transport.form.local_port":"Local Port","authentication_strategies.radius.transport.form.local_dev":"Local Dev","authentication_strategies.radius.transport.form.remote_addresses":"Remote Addresses","authentication_strategies.radius.transport.form.remote_port":"Remote Port","authentication_strategies.radius.transport.form.timeout_s":"Timeout (s)","authentication_strategies.radius.transport.form.local":"Local","authentication_strategies.radius.form.buttons.save":"Save","authentication_strategies.radius.form.buttons.add":"Add","authentication_strategies.radius.form.buttons.cancel":"Cancel","authentication_strategies.radius.save.message_ok":"Radius configuration has been saved correctly","authentication_strategies.radius.save.message_ko":"An error occured saving the radius configuration","authentication_strategies.radius.form_errors.transport.remote_port.min":"Remote Port must be greater than or equal to 0","authentication_strategies.radius.form_errors.transport.remote_port.max":"Remote Port must be less than or equal to 65535","authentication_strategies.radius.form_errors.transport.local_port.min":"Local Port must be greater than or equal to 0","authentication_strategies.radius.form_errors.transport.local_port.max":"Local Port must be less than or equal to 65535","authentication_strategies.ldap.title":"LDAP","authentication_strategies.ldap.card.title":"LDAP Configuration","authentication_strategies.ldap.transport.title":"Transport","authentication_strategies.ldap.secret.title":"Secret","authentication_strategies.ldap.form_errors.bind_dn_required_if_bind_password":"Bind DN is required if Bind Password is set","authentication_strategies.ldap.form_errors.bind_password_required_if_bind_dn":"Bind Password is required if Bind DN is set","authentication_strategies.ldap.form_errors.transport.remote_addresses":"Remote Addresses field must have at least 1 item","authentication_strategies.ldap.form_errors.transport.local_address":"Local Address is a required field","authentication_strategies.ldap.form_errors.transport.local_port":"Local Port is a required field","authentication_strategies.ldap.form_errors.transport.local_port_min":"Local Port must be greater than or equal to 1","authentication_strategies.ldap.form_errors.transport.remote_port":"Remote Port is a required field","authentication_strategies.ldap.form_errors.transport.timeout_s":"Timeout (s) is a required field","authentication_strategies.ldap.form_errors.roles_mappings.role":"Role is a required field","authentication_strategies.ldap.form_errors.has_errors":"Field has errors","authentication_strategies.ldap.form.errors.required":"Field is required","authentication_strategies.ldap.form.permission_template":"Permission Template","authentication_strategies.ldap.form.base_dn":"Base Dn","authentication_strategies.ldap.form.bind_dn":"Bind Dn","authentication_strategies.ldap.form.bind_password":"Bind Password","authentication_strategies.ldap.form.username_attribute":"Username Attribute","authentication_strategies.ldap.not_active":"LDAP is not active (not present in the backend list above) but you can still configure it","authentication_strategies.ldap.form.transport":"Transport","authentication_strategies.ldap.form_errors.transport.timeout_s.min":"Timeout (s) must be greater than or equal to 1","authentication_strategies.ldap.form_errors.transport.remote_port.min":"Remote Port must be greater than or equal to 0","authentication_strategies.ldap.form_errors.transport.remote_port.max":"Remote Port must be less than or equal to 65535","authentication_strategies.ldap.form_errors.transport.local_port.min":"Remote Port must be greater than or equal to 0","authentication_strategies.ldap.form_errors.transport.local_port.max":"Remote Port must be less than or equal to 65535","authentication_strategies.ldap.add_transport_dialog.title":"Add Transport","authentication_strategies.ldap.edit_transport_dialog.title":"Edit Transport","authentication_strategies.ldap.transport.no_transport":"No transport","authentication_strategies.ldap.transport.transport_add":"Add Transport","authentication_strategies.ldap.transport.transport_delete":"Delete Transport","authentication_strategies.ldap.transport.actions.edit":"Edit Transport","authentication_strategies.ldap.transport.actions.delete":"Delete Transport","authentication_strategies.ldap.transport.form.local":"Local","authentication_strategies.ldap.transport.form.local_address":"Local Address","authentication_strategies.ldap.transport.form.local_port":"Local Port","authentication_strategies.ldap.transport.form.local_dev":"Local Dev","authentication_strategies.ldap.transport.form.remote_addresses":"Remote Addresses","authentication_strategies.ldap.transport.form.remote_port":"Remote Port","authentication_strategies.ldap.transport.form.timeout_s":"Timeout (s)","authentication_strategies.ldap.transport.form.ssl":"SSL Enabled","authentication_strategies.ldap.transport.form.ssl_verify":"SSL Verify","authentication_strategies.ldap.form.buttons.save":"Save","authentication_strategies.ldap.form.buttons.add":"Add","authentication_strategies.ldap.form.buttons.cancel":"Cancel","authentication_strategies.ldap.form.buttons.remove":"Remove","authentication_strategies.ldap.save.message_ok":"LDAP configuration has been saved correctly","authentication_strategies.ldap.save.message_ko":"An error occured saving the LDAP configuration","authentication_strategies.permission_template":"Permission Template","authentication_strategies.roles_mappings":"Roles Mappings","authentication_strategies.roles_mappings.external_role":"External Role","authentication_strategies.roles_mappings.application_role":"Application Role","authentication_strategies.openid.not_active":"OpenID is not active (not present in the backend list above) but you can still configure it","authentication_strategies.openid.allow_unsafe_http":"Allow unsafe HTTP","authentication_strategies.openid.client_id":"Client ID","authentication_strategies.openid.client_secret":"Client secret","authentication_strategies.openid.issuer":"Issuer","authentication_strategies.openid.username_attribute":"Username attribute","authentication_strategies.openid.configuration_overrides":"Configuration Overrides","authentication_strategies.openid.configuration_overrides.key":"Key","authentication_strategies.openid.configuration_overrides.value":"Value","authentication_strategies.external_role.required":"External role is a required field","authentication_strategies.application_role.required":"Application role is a required field","authentication_strategies.unique_external_role":"External role must be unique","authentication_strategies.invalid_configuration_overrides":"Invalid configuration overrides","authentication_strategies.local.title":"{backend} local transport","authentication_strategies.local.address":"Address","authentication_strategies.local.dev":"Dev","authentication_strategies.local.port":"Port","authentication_strategies.local.save":"Save","authentication_strategies.local.reset":"Reset","authentication_strategies.local.address.required":"Address is a required field","authentication_strategies.local.port.required":"Port is a required field","authentication_strategies.local.port.min":"Port must be greater than or equal to 0","authentication_strategies.local.port.max":"Port must be less than or equal to 65535","users.title":"Users","users.toolbar.new_user":"New User","users.table.username":"Username","users.table.fullname":"Full name","users.table.backend":"Backend","users.table.enabled":"Enabled","users.table.roles":"Roles","users.table.permissions":"Permissions","users.table.permissions_override":"Permissions Override","users.table.created_at":"Created at","users.table.modified_at":"Modified at","users.table.current_user":"Current User","users.table.actions.delete":"Delete","users.table.actions.update":"Edit","users.table.actions.change_password":"Change Password","users.table.actions.audit":"Audit","users.table.actions.revoke_tokens":"Revoke Tokens","users.dialog.confirm_delete.title":"Delete User","users.dialog.confirm_delete.description":"Are you sure to delete user {username}?","users.dialog.confirm_revoke_tokens.title":"Revoke tokens","users.dialog.confirm_revoke_tokens.description":"Are you sure to revoke {username}'s tokens?","users.delete.message_ko":"Unknown error encountered deleting user","users.new_user.form.title":"New User","users.new_user.roles.title":"Roles","users.new_user.roles.loading_roles":"Loading roles...","users.new_user.no_roles":"No roles in DB. Please add at least one role to assign a role to the user","users.new_user.all_roles_info.title":"Info about available roles","users.new_user.permissions_override.title":"Permissions","users.new_user.form.username":"Username","users.new_user.form.password":"Password","users.new_user.form.fullname":"Full Name","users.new_user.form.roles":"Roles","users.new_user.form.permissions":"Permissions","users.new_user.form.permissions_override":"Permissions Override","users.new_user.form.enabled":"Enabled","users.new_user.form.save":"Save","users.new_user.form.cancel":"Cancel","users.new_user.form_errors.required":"Field is required","users.edit_user.form.title":"Edit User","users.edit_user.form.username":"Username","users.edit_user.form.password":"Password","users.edit_user.form.fullname":"Full Name","users.edit_user.form.permissions":"Permissions","users.edit_user.form.enabled":"Enabled","users.edit_user.form.save":"Save","users.edit_user.form.cancel":"Cancel","users.edit_user.form_errors.required":"Field is required","users.change_password.form.title":"Change Password","users.change_password.form.current_password":"Current Password","users.change_password.form.password":"Password","users.change_password.form.passwordConfirmation":"Confirm Password","users.change_password.form.save":"Save","users.change_password.form.cancel":"Cancel","users.change_password.form_errors.required":"Field is required","users.change_password.form_errors.password_must_match":"Passwords must match","user_permissions.title":"Permissions","user_permissions.permissions_may_be_overridden":"Any permission may be overridden by selecting its value.","user_permissions.overridden":"Overridden","user_permissions.from_roles":"From roles","user_profile.title":"User","user_profile.username":"Username","user_profile.fullname":"Full Name","user_profile.backend":"Backend","user_profile.permissions":"Permissions","user_profile.actions.change_password":"Change Password","user_profile.actions.edit":"Edit","user_profile.change_password.form.title":"Change Password","user_profile.edit_user.form.title":"Edit User","roles.toolbar.new_role":"New Role","roles.table.id":"Role Name","roles.table.permissions":"Permissions","roles.table.created_at":"Created at","roles.table.modified_at":"Modified at","roles.table.actions.delete":"Delete","roles.table.actions.update":"Edit","roles.dialog.confirm_delete.title":"Delete Role","roles.dialog.confirm_delete.description":"Are you sure to delete role {role}?","roles.delete.message_ko":"Unknown error encountered deleting role","roles.new_role.form.title":"New Role","roles.new_role.form.id":"Role Name","roles.new_role.form.permissions":"Permissions","roles.new_role.form.save":"Save","roles.new_role.form.cancel":"Cancel","roles.new_role.form_errors.required":"Field is required","roles.edit_role.form.title":"Edit Role","roles.edit_role.form.id":"Role Name","roles.edit_role.form.permissions":"Permissions","roles.edit_role.form.save":"Save","roles.edit_role.form.cancel":"Cancel","roles.edit_role.form_errors.required":"Field is required","table.totalRows":"Total elements: {value}","table.selectedRows":"Selected {value}","table.noData":"No data found","table.errorData":"Can't load data","table.selectByQuery":"Select {value} rows?","listToolbar.actions":"actions","listToolbar.download":"export","listToolbar.download.current":"export current","listToolbar.download.all":"export all","listToolbar.filters":"filters","listToolbar.columns":"columns","users.form.title":"Create user","users.form.firstname":"First name","users.form.firstname.placeholder":"enter the first name","users.form.firstname.required":"Enter the first name","users.form.lastname":"Last name","users.form.lastname.placeholder":"enter the last name","users.form.lastname.required":"Enter the last name","users.form.email":"Email","users.form.email.placeholder":"enter the email","users.form.email.required":"Enter the email","users.form.language":"Language","users.form.language.placeholder":"select the language","users.form.language.required":"Select the language","users.form.role":"Roles","users.form.role.placeholder":"select roles","users.form.role.required":"Select a role","users.form.username":"Username","users.form.username.placeholder":"enter the username","users.form.username.required":"Enter the username","users.form.password":"One time password","users.form.password.placeholder":"enter the one time password","users.form.password.required":"Enter the password","users.form.password.edit.description":"Assign a new password to the user. The user will have to change it at the next access.","users.form.change_password_required":"Reset password","users.form.change_password_required.description":"Force the reset password so the user will have to change it at the next access.","languages.english":"English","languages.italian":"Italian","roles.form.name":"Name","roles.form.name.placeholder":"insert role name","roles.form.name.error":"Role name contains invalid characters","roles.form.description":"Description","roles.form.description.placeholder":"insert role description","roles.form.description.error":"Invalid role description","roles.form.permissions":"Permissions","roles.form.permissions.placeholder":"insert one or more permissions","roles.newRole":"New Role","roles.editRole":"Edit Role","roles.message.error":"Unable to load roles","roles.message.void":"No roles created","spinner.sending":"Sending data...","spinner.loading":"Loading data...","spinner.waiting":"Waiting for operation to complete","toastr.successful":"Operation successful","toastr.failure":"Operation failure","toastr.warning":"Something does wrong","toastr.info":"Look at this","toastr.loading":"Loading...","backup.tab.backup":"Backup","backup.tab.restore":"Restore","backup.button.schedule.backup":"Start backup","backup.button.schedule.restore":"Start restore","backup.encryption_password":"Encryption password","backup.form.title":"Schedule restore","backup.form.description":"Upload backup file to start restore process","backup.form.placeholder":"Backup file","backup.noData":"No schedules found","backup.restore.errors_dialog.title":"Restore Errors","backup.restore.warnings_dialog.title":"Restore Warnings","backup.restore.dialog_table.param":"Param","backup.restore.dialog_table.reason":"Reason","backup.restore.dialog_table.reason.download":"Download CSV","backup.card.created_at":"Created at:","backup.card.started_at":"Started at:","backup.card.terminated_at":"Terminated at:","backup.card.timeline":"Timeline","backup.card.warnings":"Warnings","backup.card.errors":"Errors","backup.detail.configuration.backup.alert":"NFs configuration and System Services backup.","backup.detail.configuration.backup.hint":"Select the resources to be included into the downloaded file","backup.detail.configuration.restore.hint":"Upload configuration backup file to restore configuration","backup.detail.eir.alert":"Equipment Rules backup.","backup.detail.dsm.alert":"DNS Zones backup.","backup.detail.udm.alert":"Home Network Keys backup.","backup.detail.udr.alert":"UE data including Keys and Profiles backup.","backup.detail.nrf.alert":"NF Profiles backup.","backup.detail.pls.alert":"Authentication, Users, Roles, KPI shipping, Alert shipping and Logs shipping backup.","backup.detail.form.validation.error":"Backup file .tar.gz required","backup.encryption_password.reset_default":"Reset default","form_import_files.title":"Import from file","form_import_files.description":"Here you can find an example of the import format: ","form_import_files.min":"Upload at least {num} files","form_import_files.max":"Upload up to {num} files","form_import_files.required":"File is required","form_import_files.file":"Select file","form_import_files.encrypted":"Encrypted","form_import_files.save":"Save","form_import_files.cancel":"Cancel","eir_rules.loading_error":"Error loading EIR rules provisioning data","eir_rules.table.header.autorule":"Autorule","eir_rules.table.header.pei":"PEI","eir_rules.table.header.supi":"SUPI","eir_rules.table.header.status":"Status","eir_rules.table.header.enabled":"Enabled","eir_rules.table.header.created_at":"Created","eir_rules.table.header.modified_at":"Modified","eir_rules.actions.edit":"Edit","eir_rules.actions.delete":"Delete","eir_rules.toolbar.filters":"Filters","eir_rules.toolbar.configuration":"Single rule per PEI","eir_rules.toolbar.new_rule":"New rule","eir_rules.toolbar.import_rules":"Import rules","eir_rules.new_rule.title":"New rule","eir_rules.new_rule.pei":"PEI","eir_rules.new_rule.supi":"SUPI","eir_rules.new_rule.status":"Status","eir_rules.new_rule.status.WHITELISTED":"WHITELISTED","eir_rules.new_rule.status.GREYLISTED":"GREYLISTED","eir_rules.new_rule.status.BLACKLISTED":"BLACKLISTED","eir_rules.new_rule.enabled":"Enabled","eir_rules.new_rule.enabled.true":"true","eir_rules.new_rule.enabled.false":"false","eir_rules.new_rule.save":"Save","eir_rules.new_rule.cancel":"Cancel","eir_rules.new_rule.form_errors.required":"Field is required","eir_rules.import.title":"Import EIR rules from file","eir_rules.import.description":"Add a single valid EIR Rules Provisioning csv file. Here you can find an example of the import format: ","eir_rules.import.form_errors.required":"File is required","eir_rules.import.file":"Select file","eir_rules.import.save":"Save","eir_rules.import.cancel":"Cancel","eir_rules.filters.pei":"PEI","eir_rules.filters.supi":"SUPI","eir_rules.filters.supi.all":"*","eir_rules.filters.supi.all_tooltip":"Activate filter for empty supi only","eir_rules.filters.status":"Status","eir_rules.filters.status.any":"any","eir_rules.filters.status.WHITELISTED":"WHITELISTED","eir_rules.filters.status.GREYLISTED":"GREYLISTED","eir_rules.filters.status.BLACKLISTED":"BLACKLISTED","eir_rules.filters.enabled":"Enabled","eir_rules.filters.enabled.any":"any","eir_rules.filters.enabled.true":"true","eir_rules.filters.enabled.false":"false","eir_rules.filters.autorule":"Autorule","eir_rules.filters.autorule.any":"any","eir_rules.filters.autorule.true":"true","eir_rules.filters.autorule.false":"false","eir_rules.filters.buttons.reset":"Reset","eir_rules.filters.buttons.apply":"Apply","eir_rules.edit_rule.title":"Edit rule","eir_rules.edit_rule.autorule":"Autorule","eir_rules.edit_rule.id":"ID","eir_rules.edit_rule.created_at":"Created","eir_rules.edit_rule.modified_at":"Modified","eir_rules.edit_rule.pei":"PEI","eir_rules.edit_rule.supi":"SUPI","eir_rules.edit_rule.status":"Status","eir_rules.edit_rule.status.WHITELISTED":"WHITELISTED","eir_rules.edit_rule.status.GREYLISTED":"GREYLISTED","eir_rules.edit_rule.status.BLACKLISTED":"BLACKLISTED","eir_rules.edit_rule.enabled":"Enabled","eir_rules.edit_rule.enabled.true":"true","eir_rules.edit_rule.enabled.false":"false","eir_rules.edit_rule.save":"Save","eir_rules.edit_rule.cancel":"Cancel","eir_rules.edit_rule.form_errors.required":"Field is required","eir_rules.actions.confirm_delete":"Are you sure to delete EIR rule?","eir_autorules.toolbar.new_autorule":"New autorule","eir_autorules.toolbar.import_rules":"Import autorules","eir_autorules.loading_error":"Error loading EIR autorules provisioning data","eir_autorules.table.header.supi":"SUPI","eir_autorules.table.header.created_at":"Created","eir_autorules.table.header.modified_at":"Modified","eir_autorules.actions.delete":"Delete","eir_autorules.new_rule.supi":"SUPI","eir_autorules.new_rule.save":"Save","eir_autorules.new_rule.cancel":"Cancel","eir_autorules.new_rule.title":"New autorule","eir_autorules.new_rule.form_errors.required":"Field is required","eir_autorules.import.title":"Import EIR autorules from file","eir_autorules.import.description":"Add a single valid EIR Autorules Provisioning csv file. Here you can find an example of the import format: ","eir_autorules.import.form_errors.required":"File is required","eir_autorules.import.file":"Select file","eir_autorules.import.save":"Save","eir_autorules.import.cancel":"Cancel","eir_autorules.actions.confirm_delete":"Are you sure to delete EIR autorule?","logs.filter.add":"Add Filter","logs.filter.confirm":"Confirm","logs.filter.cancel":"Cancel","logs.filter.field_name":"Field name","logs.current_boot":"Only current boot","logs.log_details":"Log details","logs.download_logs":"Download {logs} logs","logs.machine.info":"Info","logs.machine.virtualization":"Virtualization","logs.machine.journal_begins":"Journal Begins","logs.machine.journal_ends":"Journal Ends","logs.machine.disk_usage":"Disk Usage","logs.machine.machine_id":"Machine ID","logs.machine.boot_id":"Boot ID","logs.config":"Config","logs.config.default_levels":"Default levels","logs.config.no_data":"No config found","logs.config.exceptions":"Exceptions","logs.config.exceptions.rules":"Rules","logs.config.exceptions.level":"Level","logs.config.form.level":"Level","logs.config.form.exceptions":"Exceptions","logs.config.form.exceptions.exception":"Exception-{index}","logs.config.form.exceptions.no_data":"No exceptions found","logs.config.form.exceptions.clear":"Clear exceptions","logs.config.form.exceptions.add":"Add exception","logs.config.form.exception.enabled":"Enabled","logs.config.form.exception.rules":"Rules","logs.config.form.exception.rules.error":"At least one rule is required","logs.config.form.exception.rules.add":"Add rule","logs.config.form.exception.rules.field":"Field","logs.config.form.exception.rules.field.error":"Field is required","logs.config.form.exception.rules.values":"PCRE Patterns","logs.config.form.exception.rules.values.error":"At least one values is required","logs.config.form.exception.rules.no_data":"No rules found","logs.stream.follow":"Follow","logs.stream.buffer":"Streaming buffer of {buffer} logs","logs.grep.search":"Search...","logs.realtime.since":"Since (UTC)","logs.realtime.until":"Until (UTC)","monitoring.message.no_permission":"You are not able to view this page since you don't have the monitoring permission","monitoring.loading_error":"Error loading monitoring information","monitoring.icon_label.udr":"UDR","monitoring.icon_label.eir":"EIR","monitoring.icon_label.amf":"AMF","monitoring.icon_label.smf":"SMF","monitoring.icon_label.pcf":"PCF","monitoring.icon_label.upf":"UPF","monitoring.icon_label.nrf":"NRF","monitoring.icon_label.alerts":"Alerts","monitoring.icon_label.licenses":"Licenses","monitoring.icon_label.cpu":"CPU","monitoring.icon_label.disk":"Disk","monitoring.icon_label.ram":"RAM","monitoring.icon_label.network":"Network","monitoring.icon_label.uptime":"Uptime","monitoring.control_plane.title":"Control Plane","monitoring.control_plane.provisioned_sims.title":"provisioned sims","monitoring.control_plane.provisioned_sims.subtitle":"","monitoring.control_plane.udr_cluster_nodes.title":"Cluster nodes","monitoring.control_plane.udr_cluster_nodes.subtitle":"active/total","monitoring.control_plane.amf_ue.title":"users","monitoring.control_plane.amf_ue.subtitle":"connected/registered","monitoring.control_plane.amf_active_radios.title":"Active radios","monitoring.control_plane.pcf_sessions.n5_sessions_count.title":"N5 Sessions","monitoring.control_plane.pcf_sessions.n5_sessions_count.subtitle":"","monitoring.control_plane.pcf_sessions.n7_sessions_count.title":"N7 Sessions","monitoring.control_plane.pcf_sessions.n7_sessions_count.subtitle":"","monitoring.control_plane.smf_users.sessions_count.title":"Active sessions","monitoring.control_plane.smf_users.users_count.title":"Number of users","monitoring.control_plane.smf_connected_peers.title":"UPFs in use","monitoring.control_plane.eir_rules.title":"Rules","monitoring.control_plane.eir_cluster_nodes.title":"Cluster nodes","monitoring.control_plane.eir_cluster_nodes.subtitle":"active/total","monitoring.control_plane.nrf_profiles.registered_count.title":"Registered Profiles","monitoring.control_plane.nrf_profiles.suspended_count.title":"Suspended Profiles","monitoring.control_plane.nrf_profiles.undiscoverable_count.title":"Undiscoverable Profiles","monitoring.user_plane.title":"User Plane","monitoring.user_plane.upf_ip.title":"IP Addresses","monitoring.user_plane.upf_ip.subtitle":"allocated/provisioned","monitoring.user_plane.upf_sessions.title":"Active sessions","monitoring.user_plane.upf_sessions.subtitle":"","monitoring.user_plane.upf_throughput.throughput.title":"Throughput UL-DL","monitoring.user_plane.upf_throughput.total.title":"Total load UL-DL","monitoring.platform.title":"Platform","monitoring.platform.alerts":"Alerts","monitoring.platform.cpu.cpu_count":"Number of CPU","monitoring.platform.cpu.cpu_busy_perc":"Load","monitoring.platform.disk.availability":"Absolute free/total","monitoring.platform.disk.occupation":"Occupation","monitoring.platform.memory.availability":"Absolute free/total","monitoring.platform.memory.occupation":"Occupation","monitoring.platform.licenses.title":"Number of licenses","monitoring.platform.licenses.subtitle":"valid/total","monitoring.platform.licenses_expiring.title":"Expiring","monitoring.platform.licenses_expiring.subtitle":"Expiring","monitoring.platform.uptime.title":"Uptime","monitoring.platform.uptime.subtitle":"Hours","monitoring.platform.network_interfaces.title":"Interfaces","monitoring.platform.network_interfaces.subtitle":"active/total","monitoring.platform.network_ntp.loading":"NTP Loading...","monitoring.platform.network_ntp.synced":"NTP Synced","monitoring.platform.network_ntp.not_synced":"NTP Not Synced","monitoring.platform.network.rate.title":"Bandwidth TX/RX","monitoring.platform.network.load.title":"Load TX/RX","monitoring.cluster.title":"DB Cluster","monitoring.cluster.icon_label":"TODO Label","monitoring.cluster.tooltip.go_to_nf":"Go to {nf} DB Cluster page","monitoring.cluster.error":"Something went wrong","monitoring.cluster.fully_established.true":"Fully Established","monitoring.cluster.fully_established.false":"Not Fully Established","monitoring.icon_label.mme":"MME","monitoring.control_plane.mme_ue.title":"users","monitoring.control_plane.mme_ue.subtitle":"connected/registered","monitoring.control_plane.mme_active_radios.title":"Active radios","nrf.status.nf_status":"NF Status","nrf.status.nf_type":"NF Type","nrf.status.profile_type":"Profile Type","nrf.status.profile_type.dynamic":"Dynamic","nrf.status.profile_type.static":"Static","nrf.status.registration":"Registration","nrf.status.expiration":"Expiration","nrf.status.nf_instance_id":"NF Instance Id","nrf.status.profile_details":"NRF Profile Details","nrf.status.details.no_profile":"Profile is no longer available","nrf.status.actions.edit":"Edit","nrf.status.actions.details":"Details","landing.systemStatus":"System Status","landing.systemStatus.cpuBusy":"CPU Busy","landing.systemStatus.sysLoadAvg5m":"Sys Load (5m avg)","landing.systemStatus.ramUsed":"RAM Used","landing.systemStatus.rootFsUsed":"Root FS Used","landing.systemStatus.cpuCores":"CPU Cores","landing.systemStatus.ramTotal":"RAM Total","landing.systemStatus.swapTotal":"SWAP Total","landing.systemStatus.rootFsTotal":"RootFS Total","landing.systemStatus.uptime":"Uptime","landing.processesStatus":"Processes Status","landing.processesStatus.title.name":"Name","landing.processesStatus.title.status":"Status","landing.processesStatus.status.running":"Running","landing.processesStatus.status.failed":"Failed","landing.processesStatus.name.amf.service":"AMF","landing.processesStatus.name.ausf.service":"AUSF","landing.processesStatus.name.smf.service":"SMF","landing.processesStatus.name.fluentbit.service":"Fluentbit","landing.processesStatus.name.eventlog-manager.service":"EventLog Manager","landing.processesStatus.name.licensed.service":"Licensed","landing.processesStatus.name.pcf.service":"PCF","landing.processesStatus.name.nrf.service":"NRF","landing.processesStatus.name.chf.service":"CHF","landing.processesStatus.name.eir.service":"EIR","landing.processesStatus.name.ccs-agent.service":"CCS Agent","landing.processesStatus.name.ncm.service":"NCM","landing.processesStatus.name.prometheus-manager.service":"Prometheus Manager","landing.processesStatus.name.udm.service":"UDM","landing.processesStatus.name.udr.service":"UDR","landing.processesStatus.name.upf.service":"UPF","landing.processesStatus.name.nf-bgcf-main.service":"BGCF","landing.processesStatus.name.nf-icscf-main.service":"I-CSCF","landing.processesStatus.name.nf-imsagw-main.service":"IMS-AGW","landing.processesStatus.name.nf-imsalarms.service":"IMS Alarms","landing.processesStatus.name.nf-imsconfig.service":"IMS-Config","landing.processesStatus.name.nf-n5iwf-main.service":"N5-IWF","landing.processesStatus.name.nf-named-main.service":"DNS/ENUM","landing.processesStatus.name.nf-pcscf-main.service":"P-CSCF","landing.processesStatus.name.nf-ecscf-main.service":"E-CSCF","landing.processesStatus.name.nf-pstngw-main.service":"PSTN Gateway","landing.processesStatus.name.nf-scscf-main.service":"S-CSCF","landing.processesStatus.name.nf-tas-main.service":"TAS","landing.processesStatus.name.nf-xcap-main.service":"XCAP","landing.processesStatus.name.nf-imsrecovery-main.service":"Recovery Agent","landing.alerts":"Alerts {additional_info}","landing.alerts.no_alerts":"No active alerts!","landing.alerts.title.name":"Name","landing.alerts.title.summary":"Summary","landing.alerts.title.severity":"Severity","landing.alerts.title.state":"State","landing.alerts.title.firedAt":"Fired At","landing.alerts.title.stillActiveAt":"Still Active At","landing.alerts.severity.emergency":"Emergency","landing.alerts.severity.alert":"Alert","landing.alerts.severity.critical":"Critical","landing.alerts.severity.error":"Error","landing.alerts.severity.warning":"Warning","landing.alerts.severity.notice":"Notice","landing.alerts.severity.informational":"Informational","landing.alerts.severity.info":"Informational","landing.alerts.severity.debug":"Debug","landing.alerts.state.unprocessed":"Unprocessed","landing.alerts.state.active":"Active","landing.alerts.state.suppressed":"Suppressed","landing.alerts.state.inactive":"Inactive","landing.alerts.state.pending":"Pending","landing.alerts.state.firing":"Firing","landing.error":"Error loading data!","supis.buttons.import":"Import","supis.table.supi":"SUPI","supis.table.msisdn":"MSISDN","supis.table.description":"Description","supis.table.status":"Status","supis.table.status.active":"Active","supis.table.status.inactive":"Inactive","supis.table.provisioned_data_profile":"Provisioned Data Profile","supis.table.policy_data_profile":"Policy Data Profile","supis.table.created_at":"Created","supis.editSupi":"Edit SUPI","supis.editSupiProvisionedDataProfile":"Edit Provisioned Profile","supis.editSupiPolicyDataProfile":"Edit Policy Profile","supis.deleteSupi":"Delete SUPI","supis.infoSupi":"Info on SUPI","supis.info.title":'Info on SUPI "{supi}"',"supis.info.am.title":"Access Management","supis.info.am.guti":"GUTI","supis.info.am.ncgi":"NCGI","supis.info.am.tai":"TAI","supis.info.am.cmState":"CM State","supis.info.am.mmState":"MM State","supis.info.am.error":"No data found!","supis.info.sm.title":"Session Management","supis.info.sm.dnn":"DNN","supis.info.sm.pdu_session_id":"PDU Session ID","supis.info.sm.snssai":"S-NSSAI","supis.info.sm.ipv4":"IPv4","supis.info.sm.ipv6":"IPv6","supis.info.sm.error":"No data found!","supis.form.title":"Create SUPI","supis.form.supi":"Subscription Permanent Identifier","supis.form.supi.placeholder":"SUPI","supis.form.description":"Description","supis.form.description.placeholder":"Description","supis.form.msisdn":"MSISDN","supis.form.msisdn.placeholder":"MSISDN","supis.form.profile":"Profile","supis.form.profile.placeholder":"Select a profile","supis.form.provisioned_data_profile":"Provisioned Profile","supis.form.provisioned_data_profile.placeholder":"Select a provisioned profile","supis.form.policy_data_profile":"Policy Profile","supis.form.policy_data_profile.placeholder":"Select a policy profile","supis.form.status":"Status","supis.form.status.placeholder":"Select Status","supis.form.k":"K","supis.form.k.placeholder":"k","supis.form.op_type":"Key Type","supis.form.op_type.placeholder":"key type","supis.form.op_type.op":"OP","supis.form.op_type.opc":"OPC","supis.form.op_type.operator_key_id":"OPID","supis.form.op_value":"Value","supis.form.op_value.placeholder":"Value","supis.form.transport_key_id":"Transport Key ID","supis.form.transport_key_id.placeholder":"Transport Key ID","supis.import.form.title":"Import SUPIs from CSV file","supis.import.form.description":"Add a single valid UDR Provisioning csv file. Here you can find an example of the import format: ","supis.import.form.file":"File","supis.import.form.file.required":"Field is required","supis.import.upload":"Upload","supis.import.upload.placeholder":"Select a single csv file","supis.import.form.result.message_ok":"UDR Provisioning data imported successfully!","supis.import.form.result.message_started":"Importing UDR Provisioning Data...","supis.import.form.result.message_ko":"Error encountered importing UDR Provisioning data! See console for further details","supisProfiles.renameProfile":"Rename Profile","supisProfiles.accessManagementData":"Access Management Data","supisProfiles.sessionManagementData":"Session Management Data","supisProfiles.smf":"SMF Selection Data","supisProfiles.configurePlmn":"Configure PLMN","supisProfiles.deleteProfile":"Delete Profile","supisProfiles.table.id":"ID","supisProfiles.table.description":"Description","supisProfiles.table.downlink":"Downlink","supisProfiles.table.uplink":"Uplink","supisProfiles.table.created_at":"Created","supisProfiles.form.title":"New Provisioned Data Profile","supisProfiles.form.description":"Profile description","supisProfiles.form.description.placeholder":"Enter a Profile description","supisProfiles.form.downlink":"Downlink","supisProfiles.form.downlink.placeholder":"Enter a value","supisProfiles.form.uplink":"Uplink","supisProfiles.form.uplink.placeholder":"Enter a value","supisProfiles.form.defaultSingleNssais":"Default S-NSSAIs","supisProfiles.form.x-ath-nssai":"4G S-NSSAIs","supisProfiles.form.x-ath-nssai.sst":"SST","supisProfiles.form.x-ath-nssai.sd":"SD","supisProfiles.form.singleNssais":"S-NSSAIs","supisProfiles.form.sd":"SD","supisProfiles.form.sd.placeholder":"Enter a SD","supisProfiles.form.sd.error.regex":"Enter a 6 chars hexadecimal value","supisProfiles.form.sst":"SST","supisProfiles.form.sst.placeholder":"Enter a SST","supisProfiles.form.smd.sst.hexerror":"Enter a 6 digits hexadecimal value","supisProfiles.form.qos5qi":"5G QoS Identifier","supisProfiles.form.qos5qi.placeholder":"Enter a number between 0 and 255","supisProfiles.form.preemptCap":"Preemption Capability","supisProfiles.form.preemptCap.placeholder":"Select a Preemption Capability value","supisProfiles.form.preemptVuln":"Preemption Vulnerability","supisProfiles.form.preemptVuln.placeholder":"Select a Preemption Vulnerability value","supisProfiles.form.arppriorityLevel":"ARP priority level","supisProfiles.form.arppriorityLevel.placeholder":"Enter an ARP priority level","supisProfiles.form.qospriorityLevel":"QoS priority level","supisProfiles.form.qospriorityLevel.placeholder":"Enter an QoS priority level","supisProfiles.form.atsssAllowed":"ATSSS Allowed","supisProfiles.form.atsssAllowed.placeholder":"ATSSS Allowed","supisProfiles.form.staticIpAddressIpv4":"Static IPV4","supisProfiles.form.staticIpAddressIpv4.placeholder":"Enter an IPV4","supisProfiles.form.staticIpAddressIpv4.error.regex":"Enter a valid IPV4 address","supisProfiles.form.staticIpAddressIpv6":"Static IPV6","supisProfiles.form.staticIpAddressIpv6.placeholder":"Enter an IPV6","supisProfiles.form.staticIpAddressIpv6.error.regex":"Enter a valid IPV6 address","supisProfiles.form.staticIpAddressIpv6Prefix":"Static IPV6 Prefix","supisProfiles.form.staticIpAddressIpv6Prefix.placeholder":"Enter an IPV6 Prefix","supisProfiles.form.staticIpAddressIpv6Prefix.error.regex":"Enter a valid IPV6 prefix","supisProfiles.form.staticIpAddressIpv6Prefix.error.range":"IPV6 prefix must be in the range [64-128]","supisProfiles.form.staticIpAddressIpv6Prefix.error.64":"IPV6 prefix must be a 64","supisProfiles.form.ipv4FrameRouteList":"IPV4 Frame Route List","supisProfiles.form.ipv4FrameRouteList.placeholder":"Enter a list of IPV4 masks","supisProfiles.form.ipv4FrameRouteList.error.regex":"Enter a valid IPV4 mask","supisProfiles.form.ipv6FrameRouteList":"IPV6 Frame Route List","supisProfiles.form.ipv6FrameRouteList.placeholder":"Enter a list of IPV6 prefixes","supisProfiles.form.ipv6FrameRouteList.error.regex":"Enter a valid IPV6 prefix","supisProfiles.form.defaultSessionType":"Default session type","supisProfiles.form.defaultSessionType.placeholder":"Select a default session type","supisProfiles.form.allowedSessionTypes":"Allowed session types","supisProfiles.form.allowedSessionTypes.placeholder":"Select the allowed session types","supisProfiles.form.defaultSscMode":"Default SSC mode","supisProfiles.form.defaultSscMode.placeholder":"Select a default SSC mode","supisProfiles.form.allowedSscModes":"Allowed SSC modes","supisProfiles.form.allowedSscModes.placeholder":"Select the allowed SSC modes","supisProfiles.form.APNOIReplacement":"APN OI Replacement","supisProfiles.form.addDnnConfiguration":"Add DNN Configuration","supisProfiles.smfSelectionData":"SMF Selection Data","supisProfiles.form.sstlist":"Subscribed SNSSAI Infos","supisProfiles.form.snssai":"S-NSSAI","supisProfiles.form.snssai.placeholder":"Enter a S-NSSAI","supisProfiles.form.isdefault":"Default DNN","supisProfiles.form.dnnName":"DNN name","supisProfiles.form.dnnName.placeholder":"Enter a DNN name","supisProfiles.form.addSmd":"Add S-NSSAI","supisProfiles.form.newSNSSAI":"New S-NSSAI #{value}","supisProfiles.form.newDNN":"New DNN #{value}","udr_configuration.tabs.log_level":"Log level","udr_configuration.tabs.sbi":"SBI","udr_configuration.buttons.boot":"Boot configuration","udr_configuration.buttons.boot_reload":"Reload boot configuration","udr_configuration.toastr.apply_configuration_ok":"Configuration applied correctly","udr_configuration.toastr.apply_configuration_ko":"Error on applying configuration","udr_configuration.toastr.persist_configuration_ok":"Configuration persisted correctly","udr_configuration.toastr.persist_configuration_ko":"Error on persisting configuration","udr_configuration.toastr.restart_resource_ok":"Resource restarted correctly","udr_configuration.toastr.restart_resource_ko":"Error on restarting resource","udr_configuration.toastr.factory_reset_ok":"Configuration reset correctly","udr_configuration.toastr.factory_reset_ko":"Error on resetting configuration","udr_configuration.dialog.factory_reset.confirm":"Are you sure to reset to the factory configuration?","udr_configuration.dialog.restart_resource.confirm":"Are you sure to restart the resource?","udr_configuration.dialog.boot.title":"Boot configuration","udr_configuration.logs.errors.required":"Field is required","udr_configuration.logs.form.level":"Level","udr_supis.actions.delete":"Delete","udr_supis.actions.info":"Info","udr_supis.actions.confirm_delete":"Are you sure to delete SUPI?","udr_supis.actions.edit":"Edit","udr_supis.table.id":"ID","udr_supis.table.description":"Description","udr_supis.table.gpsi":"GPSI","udr_supis.table.provisioned_data_profile":"Provisioned Data Profile","udr_supis.table.policy_data_profile":"Policy Data Profile","udr_supis.table.status":"Status","udr_supis.table.modified_at":"Modified","udr_supis.table.created_at":"Created","udr_supis.toolbar.new":"New","udr_supis.toolbar.import":"Import","udr_supis.import.form.title":"Import SUPIs from CSV file","udr_supis.import.form.description":"Add a single valid UDR Provisioning csv file. Here you can find an example of the import format: ","udr_supis.import.form.file":"File","udr_supis.import.form.file.required":"Field is required","udr_supis.import.upload":"Upload","udr_supis.import.upload.placeholder":"Select a single csv file","udr_supis.import.form.result.message_ok":"UDR Provisioning data imported successfully!","udr_supis.import.form.result.message_started":"Importing UDR Provisioning Data...","udr_supis.import.form.result.message_ko":"Errors occured during data import","udr_supi.section.errors.title":"Errors","udr_supi.section.general.title":"General","udr_supi.section.profiles.title":"Profiles","udr_supi.section.provisioned_data_profile_patches.title":"Provisioned Data Profile Patches","udr_supi.section.provisioned_data_profile_patches.no_patch":"No patches","udr_supi.form.cancel":"Cancel","udr_supi.form.save":"Save","udr_supi.form.errors":"There are some errors in the form","udr_supi.form.errors.min":"Min value is {value}","udr_supi.form.errors.max":"Max value is {value}","udr_supi.form.errors.format":"The format should be {value}","udr_supi.form.errors.required":"Field is required","udr_supi.form_errors.has_errors":"Field has errors","udr_supi.form.supi":"SUPI","udr_supi.form.description":"Description","udr_supi.form.gpsi":"GPSI","udr_supi.form.k":"K","udr_supi.form.is_overriding_keys":"Override keys","udr_supi.form.keys_provisioned":"Provisioned","udr_supi.form.keys_not_provisioned":"Not provisioned","udr_supi.form.operator_key_type":"Operator Key Type","udr_supi.form.operator_key_value":"Operator Key Value","udr_supi.form.transport_key_id":"Transport Key Id","udr_supi.form.k_tag":"K Tag","udr_supi.form.opc_tag":"OPC Tag","udr_supi.form.policy_data_profile_uuid":"Policy Data Profile","udr_supi.form.provisioned_data_profile_uuid":"Provisioned Data Profile","udr_supi.form.provisioned_data_profile_patches.add_dialog.title":"Add Patch","udr_supi.form.provisioned_data_profile_patches.error.already_present":"Patch is already present in the list","udr_supi.form.provisioned_data_profile_patches.add":"Add Patch","udr_supi.form.provisioned_data_profile_patches.delete":"Delete Patch","udr_supi.form.provisioned_data_profile_patches.sst":"SST","udr_supi.form.provisioned_data_profile_patches.sd":"SD","udr_supi.form.provisioned_data_profile_patches.dnn":"DNN","udr_supi.form.provisioned_data_profile_patches.static_ipv4":"Static IPv4","udr_supi.form.provisioned_data_profile_patches.static_ipv6":"Static IPv6","udr_supi.form.provisioned_data_profile_patches.ipv4_frame_route_list":"IPv4 Frame Route List","udr_supi.form.provisioned_data_profile_patches.ipv6_frame_route_list":"IPv6 Frame Route List","udr_supi.form.slice_dnn_selection.rule":"Rule","udr_supi.form.slice_dnn_selection.pattern":"PLMN Rule Pattern","udr_supi.form.slice_dnn_selection.sliceId":"Slice ID","udr_supi.form.slice_dnn_selection.dnnName":"DNN Name","udr_supi.form.slice_dnn_selection.buttons.cancel":"Cancel","udr_supi.form.slice_dnn_selection.buttons.submit":"Select","udr_supi.form.status":"Status","udr_supi.form.errors.provisioned_data_profiles_patch_at_least_one":"One of Static IPv4, Static IPv6, IPv4 Frame Route List or IPv6 Frame Route List must be entered","udr_supi.form.buttons.submit":"Submit","udr_supi.filters.buttons.reset":"Reset","udr_supi.filters.buttons.apply":"Apply","udr_supi.filters.supi_icont":"Contains","udr_supi.filters.supi_noticont":"Not contains","udr_supi.filters.supi_iend":"Ends with","udr_supi.filters.gpsi_icont":"Contains","udr_supi.filters.gpsi_noticont":"Not contains","udr_supi.filters.gpsi_iend":"Ends with","udr_supi.filters.status_eq":"STATUS","udr_supi.filters.status_eq_active_inactive":"Status","udr_supi.filters.supi":"SUPI","udr_supi.filters.gpsi":"GPSI","udr_supi.filters.case_insensitive.info":"The filters are case-insensitive, so there is no difference between uppercase and lowercase characters.","udr_supi.toolbar.filters":"Filters","udr_provisioned_data_profiles.actions.delete":"Delete","udr_provisioned_data_profiles.actions.confirm_delete":"Are you sure to delete provisioned data profile?","udr_provisioned_data_profiles.actions.edit":"Edit","udr_provisioned_data_profiles.table.id":"ID","udr_provisioned_data_profiles.table.description":"Description","udr_provisioned_data_profiles.table.created_at":"Created","udr_provisioned_data_profiles.table.modified_at":"Modified","udr_provisioned_data_profiles.form.title_create":"New provisioned data profile","udr_provisioned_data_profiles.form.title_edit":"Edit provisioned data profile","udr_provisioned_data_profile.section.errors.title":"Errors","udr_provisioned_data_profile.section.general.title":"General info","udr_provisioned_data_profile.section.plmn_rules.title":"PLMN Rules","udr_provisioned_data_profile.section.access_and_mobility.title":"Access and Mobility","udr_provisioned_data_profile.section.aggregated_maximum_bitrate.title":"Aggregated Maximum Bitrate","udr_provisioned_data_profile.section.restrictions.title":"Restrictions","udr_provisioned_data_profile.section.restrictions.4g-5g-nsa.title":"4G + 5G-NSA","udr_provisioned_data_profile.section.restrictions.5g.title":"5G","udr_provisioned_data_profile.section.forbidden_areas.title":"Forbidden Areas","udr_provisioned_data_profile.section.service_area_restriction.title":"Service Area Restriction","udr_provisioned_data_profile.section.service_area_restriction_areas.title":"Areas","udr_provisioned_data_profile.section.closed_subscriber_group.title":"Closed Subscriber Group","udr_provisioned_data_profile.section.slices.title":"Slices","udr_provisioned_data_profile.section.default_slices.title":"Default Slices","udr_provisioned_data_profile.section.dnnList.title":"DNNs","udr_provisioned_data_profile.section.dnnList.dnn.aggregated_maximum_bitrate.title":"Aggregated Maximum Bitrate","udr_provisioned_data_profile.section.dnnList.dnn.qos.title":"QoS","udr_provisioned_data_profile.section.dnnList.dnn.qos.arp.title":"ARP","udr_provisioned_data_profile.section.dnnList.dnn.session_types.title":"Session Types","udr_provisioned_data_profile.section.dnnList.dnn.up_security.title":"UP Security","udr_provisioned_data_profile.section.sms.title":"SMS","udr_provisioned_data_profiles.form.description":"Description","udr_provisioned_data_profiles.form.cancel":"Cancel","udr_provisioned_data_profiles.form.save":"Save","udr_provisioned_data_profiles.form.errors.uuid_format":"The format should be {value}","udr_provisioned_data_profiles.form.errors":"There are some errors in the form","udr_provisioned_data_profiles.form.errors.min":"Min value is {value}","udr_provisioned_data_profiles.form.errors.max":"Max value is {value}","udr_provisioned_data_profiles.form.errors.format":"The format should be {value}","udr_provisioned_data_profiles.form.errors.max_attempts":"Max Attemps value must be greater than or equal to 1","udr_provisioned_data_profiles.form.errors.tolerance_period_sec":"Tolerance Period (s) value must be greater than or equal to 1","udr_provisioned_data_profiles.form.errors.required":"Field is required","udr_provisioned_data_profiles.form.errors.required_default4g":"Required if Default 4G Slice is selected","udr_provisioned_data_profiles.form.errors.required_rule":"Required if Reference data from a different rule is selected","udr_provisioned_data_profiles.form.errors.required_5gQosProfile":"Field is required if one of these fields are set: 5G QoS Identifier, Preemption Capability. Preemption Vulnerability, ARP Priority Level","udr_provisioned_data_profiles.form.errors.required_downlink":"Field is required if uplink is set","udr_provisioned_data_profiles.form.errors.required_uplink":"Field is required if downlink is set","udr_provisioned_data_profiles.form.errors.required_isDefault":"At least one default slice is required","udr_provisioned_data_profiles.form.errors.required_upSecurityUpConfid":"Field is required if UP Integration is set","udr_provisioned_data_profiles.form.errors.required_upSecurityUpIntegr":"Field is required if UP Configuration ID is set","udr_provisioned_data_profiles.form.errors.required_serviceAreaRestrictionType":"Field is required if Service Area Restriction is active","udr_provisioned_data_profiles.form.errors.required_serviceAreaRestrictionAreas":"Insert at least 1 Area","udr_provisioned_data_profiles.form.errors.unique_slices_id":"Slices should have unique SST-SD pairs","udr_provisioned_data_profiles.form.errors.unique_plmn_rule_id":"PLMN Rule should have unique pattern","udr_provisioned_data_profiles.form.errors.default4g_slice_with_pdn_enabled":"every dnn associated with the default 4g slice must explicitly have PDN enabled","udr_provisioned_data_profiles.form.errors.default4g_slice_with_5gQosProfile":"every dnn associated with the default 4g slice must explicitly set the 5G QoS Identifier field","udr_provisioned_data_profiles.toolbar.new_profile":"New","udr_provisioned_data_profile.form_errors.has_errors":"Field has errors","udr_provisioned_data_profile.form.description":"Description","udr_provisioned_data_profile.form.uuid":"UUID","udr_provisioned_data_profile.form.pattern":"Pattern","udr_provisioned_data_profile.form.data_from":"Rule","udr_provisioned_data_profile.form.isDataFrom":"Reference data from a different rule","udr_provisioned_data_profile.form.action":"Action","udr_provisioned_data_profile.form.ratRestrictions":"RAT Restrictions","udr_provisioned_data_profile.form.rfspIndex":"RSFP Index","udr_provisioned_data_profile.form.coreNetworkTypeRestrictions":"Core Network Type Restrictions","udr_provisioned_data_profile.form.regionalSubscriptionZoneCodes":"Regional Subscription Zone Codes","udr_provisioned_data_profile.form.closedSubscriberGroup":"Closed Subscriber Group","udr_provisioned_data_profile.form.forbiddenAreas":"Forbidden Areas","udr_provisioned_data_profile.form.isServiceAreaRestrictionActive":"Enabled","udr_provisioned_data_profile.form.serviceAreaRestrictionAreas":"Areas","udr_provisioned_data_profile.form.serviceAreaRestrictionType":"Restriction Type","udr_provisioned_data_profile.form.defaultDownlink":"Default Downlink","udr_provisioned_data_profile.form.defaultUplink":"Default Uplink","udr_provisioned_data_profile.form.defaultSliceId":"Default Slice","udr_provisioned_data_profile.form.defaultSliceIds":"Default Slices","udr_provisioned_data_profile.form.default4gSliceId":"Default 4G Slice","udr_provisioned_data_profile.form.slice.defaultDnnId":"Default DNN","udr_provisioned_data_profile.form.networkAccessMode":"Network Access Mode (only 3G/4G)","udr_provisioned_data_profile.form.APNOIReplacement":"APN OI Replacement","udr_provisioned_data_profile.form.ueUsageType":"UE Usage Type","udr_provisioned_data_profile.form.subsRegTimer":"Subscriber Registration Timer","udr_provisioned_data_profile.form.plmn_rules.rule_delete":"Delete PLMN Rule","udr_provisioned_data_profile.form.plmn_rules.rule_delete.data_from.error":"You can't delete a rule that has some other rules referencing it","udr_provisioned_data_profile.form.plmn_rules.rule_add":"Add PLMN Rule","udr_provisioned_data_profile.form.plmn_rules.no_data":"No PLMN Rules","udr_provisioned_data_profile.form.closed_subscriber_group.delete":"Delete","udr_provisioned_data_profile.form.closed_subscriber_group.add":"Add","udr_provisioned_data_profile.form.closed_subscriber_group.no_data":"No data","udr_provisioned_data_profile.form.closed_subscriber_group.csg_id":"CSG ID","udr_provisioned_data_profile.form.closed_subscriber_group.visited_plmn":"Visited PLMN","udr_provisioned_data_profile.form.forbidden_areas.title":"Forbidden Areas","udr_provisioned_data_profile.form.forbidden_areas.delete":"Delete Area","udr_provisioned_data_profile.form.forbidden_areas.add":"Add Area","udr_provisioned_data_profile.form.forbidden_areas.no_data":"No Areas","udr_provisioned_data_profile.form.forbidden_areas.name":"Name","udr_provisioned_data_profile.form.forbidden_areas.tacs":"TACs","udr_provisioned_data_profile.form.service_area_restriction_areas.title":"Areas","udr_provisioned_data_profile.form.service_area_restriction_areas.delete":"Delete Area","udr_provisioned_data_profile.form.service_area_restriction_areas.add":"Add Area","udr_provisioned_data_profile.form.service_area_restriction_areas.no_data":"No Areas","udr_provisioned_data_profile.form.service_area_restriction_areas.name":"Name","udr_provisioned_data_profile.form.service_area_restriction_areas.tacs":"TACs","udr_provisioned_data_profile.form.slice.no_slices":"No slices","udr_provisioned_data_profile.form.slice.no_slices_for_default":"You must add at least one slice to manage default slices","udr_provisioned_data_profile.form.slice.no_dnns":"No DNNs","udr_provisioned_data_profile.form.slices.slice_add":"Add Slice","udr_provisioned_data_profile.form.slices.slice_delete":"Delete Slice","udr_provisioned_data_profile.form.slices.slice_default":"Default","udr_provisioned_data_profile.form.slices.slice_enabled":"Enabled","udr_provisioned_data_profile.form.slice.sst":"SST","udr_provisioned_data_profile.form.slice.sd":"SD","udr_provisioned_data_profile.form.slice.3gppChargingCharacteristics":"3GPP Charging Characteristics","udr_provisioned_data_profile.form.slice.isDefault":"Default","udr_provisioned_data_profile.form.slice.is4gDefault":"4G Default","udr_provisioned_data_profile.form.slice.isEnabled":"PDN Enabled","udr_provisioned_data_profile.form.slice.isEnabled_required_for_4g":"mandatory for 4G enabled devices, required to establish the 5G PDN session","udr_provisioned_data_profile.form.slice.defaultDnn":"Default DNN","udr_provisioned_data_profile.form.slice.dnn_add":"Add DNN","udr_provisioned_data_profile.form.slice.dnn_delete":"Delete DNN","udr_provisioned_data_profile.form.slice.dnn.name":"DNN Name","udr_provisioned_data_profile.form.slice.dnn.isDefault":"Default","udr_provisioned_data_profile.form.slice.dnn.downlink":"Downlink","udr_provisioned_data_profile.form.slice.dnn.uplink":"Uplink","udr_provisioned_data_profile.form.slice.dnn.3gppChargingCharacteristics":"3GPP Charging Characteristics","udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.5qi":"5G QoS Identifier","udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.preemptCap":"Preemption Capability","udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.preemptVuln":"Preemption Vulnerability","udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.priorityLevel":"ARP Priority Level","udr_provisioned_data_profile.form.slice.dnn.pduSessionTypes.additionalSessionTypes":"Additional session types","udr_provisioned_data_profile.form.slice.dnn.pduSessionTypes.defaultSessionType":"Default session type","udr_provisioned_data_profile.form.slice.dnn.sscModes.defaultSscMode":"Default SSC mode","udr_provisioned_data_profile.form.slice.dnn.sscModes.allowedSscModes":"Allowed SSC mode","udr_provisioned_data_profile.form.slice.dnn.APNOIReplacement":"APN OI Replacement","udr_provisioned_data_profile.form.slice.dnn.preferredDataMode":"Preferred Data Mode","udr_provisioned_data_profile.form.slice.dnn.upSecurityUpConfid":"UP Configuration ID","udr_provisioned_data_profile.form.slice.dnn.upSecurityUpIntegr":"UP Integration","udr_provisioned_data_profile.form.sms.subscribed":"Subscribed","udr_provisioned_data_profile.form.sms.moSubscribed":"Mobile Originated Subscribed","udr_provisioned_data_profile.form.sms.mtSubscribed":"Mobile Terminated Subscribed","udr_provisioned_data_profile.form.specific_fields.SOR_LIGHT":"Steering of Roaming Light Specific Fields","udr_provisioned_data_profile.form.specific_fields.SOR_AGGRESSIVE":"Steering of Roaming Aggressive Specific Fields","udr_provisioned_data_profile.form.advanced_input.diameter_error":"Diameter Error","udr_provisioned_data_profile.form.advanced_input.map_error":"Map Error","udr_provisioned_data_profile.form.advanced_input.max_attempts":"Max Attempts","udr_provisioned_data_profile.form.advanced_input.tolerance_period_sec":"Tolerance Period (s)","udr_provisioned_data_profile.form.buttons.submit":"Submit","udr_policy_data_profiles.actions.delete":"Delete","udr_policy_data_profiles.actions.edit":"Edit","udr_policy_data_profiles.table.id":"ID","udr_policy_data_profiles.table.description":"Description","udr_policy_data_profiles.table.created_at":"Created","udr_policy_data_profiles.table.modified_at":"Modified","udr_policy_data_profiles.form.uuid":"ID","udr_policy_data_profiles.form.description":"Description","udr_policy_data_profiles.form.subscCats":"Subscriber categories","udr_policy_data_profiles.form.snssai_add":"Add S-NSSAI","udr_policy_data_profiles.form.snssai_remove":"Remove","udr_policy_data_profiles.form.sst":"SST","udr_policy_data_profiles.form.sd":"SD","udr_policy_data_profiles.form.dnn":"DNN Name","udr_policy_data_profiles.form.dnn_add":"Add DNN","udr_policy_data_profiles.form.dnn_remove":"Remove","udr_policy_data_profiles.form.allowedServices":"Allowed Services","udr_policy_data_profiles.form.submit":"Submit","udr_policy_data_profiles.form.errors":"There are some errors in the form","udr_policy_data_profiles.form.errors.min":"Min value is {value}","udr_policy_data_profiles.form.errors.max":"Max value is {value}","udr_policy_data_profiles.form.errors.format":"The format should be {value}","udr_policy_data_profiles.form.errors.uuid_format":"The format should be {value}","udr_policy_data_profiles.form.errors.required":"Field is required","udr_policy_data_profiles.form.errors.least":"Field must have at least {value} items","udr_policy_data_profiles.form.tabs.sm":"SM data","udr_policy_data_profiles.form.tabs.am":"AM data","udr_policy_data_profiles.form.empty":"No data","udr_policy_data_profiles.toolbar.new_profile":"New","udr_policy_data_profiles.toolbar.delete":"Are you sure to delete policy data profile?","udr_transport_keys.toolbar.new_transport_key":"New Transport Key","udr_transport_keys.loading_error":"Error loading UDR Transport Keys provisioning data","udr_transport_keys.table.header.id":"ID","udr_transport_keys.table.header.cipher":"Cipher","udr_transport_keys.table.header.created_at":"Created","udr_transport_keys.table.header.modified_at":"Modified","udr_transport_keys.actions.delete":"Delete","udr_transport_keys.actions.edit":"Edit","udr_transport_keys.new_transport_key.id":"ID","udr_transport_keys.new_transport_key.iv":"IV","udr_transport_keys.new_transport_key.ad":"AD","udr_transport_keys.new_transport_key.cipher":"Cipher","udr_transport_keys.new_transport_key.key":"Key","udr_transport_keys.new_transport_key.save":"Save","udr_transport_keys.new_transport_key.cancel":"Cancel","udr_transport_keys.new_transport_key.title":"New UDR Transport Key","udr_transport_keys.new_transport_key.form_errors.required":"Field is required","udr_transport_keys.edit_transport_key.id":"ID","udr_transport_keys.edit_transport_key.ad":"AD","udr_transport_keys.edit_transport_key.iv":"IV","udr_transport_keys.edit_transport_key.cipher":"Cipher","udr_transport_keys.edit_transport_key.key":"Key","udr_transport_keys.edit_transport_key.save":"Save","udr_transport_keys.edit_transport_key.cancel":"Cancel","udr_transport_keys.edit_transport_key.title":"Edit UDR Transport Key","udr_transport_keys.edit_transport_key.form_errors.required":"Field is required","udr_transport_keys.import.title":"Import UDR Transport Keys from file","udr_transport_keys.import.description":"Add a single valid UDR Transport Keys Provisioning csv file. Here you can find an example of the import format: ","udr_transport_keys.import.form_errors.required":"File is required","udr_transport_keys.import.file":"Select file","udr_transport_keys.import.save":"Save","udr_transport_keys.import.cancel":"Cancel","udr_transport_keys.application_servers_profiles.dialog.delete.confirm":"Are you sure to delete transport key?","udr_operator_keys.toolbar.new_operator_key":"New Operator Code","udr_operator_keys.toolbar.import_operator_keys":"Import Operator Codes","udr_operator_keys.loading_error":"Error loading UDR Operator Codes provisioning data","udr_operator_keys.table.header.id":"ID","udr_operator_keys.table.header.created_at":"Created","udr_operator_keys.table.header.modified_at":"Modified","udr_operator_keys.actions.delete":"Delete","udr_operator_keys.actions.delete.confirm":"Are you sure you want to delete operator key {key}?","udr_operator_keys.actions.edit":"Edit","udr_operator_keys.new_operator_key.id":"ID","udr_operator_keys.new_operator_key.transport_key_id":"Transport Key ID","udr_operator_keys.new_operator_key.transport_key_tag":"Transport Key Tag","udr_operator_keys.new_operator_key.op":"OP","udr_operator_keys.new_operator_key.save":"Save","udr_operator_keys.new_operator_key.cancel":"Cancel","udr_operator_keys.new_operator_key.title":"New UDR Operator Code","udr_operator_keys.edit_operator_key.id":"ID","udr_operator_keys.edit_operator_key.transport_key_id":"Transport Key ID","udr_operator_keys.edit_operator_key.transport_key_tag":"Transport Key Tag","udr_operator_keys.edit_operator_key.op":"OP","udr_operator_keys.edit_operator_key.save":"Save","udr_operator_keys.edit_operator_key.cancel":"Cancel","udr_operator_keys.edit_operator_key.title":"Edit UDR Operator Code","udr_operator_keys.new_operator_key.form_errors.required":"Field is required","udr_operator_keys.import.title":"Import UDR Operator Codes from file","udr_operator_keys.import.description":"Add a single valid UDR Operator Codes Provisioning csv file. Here you can find an example of the import format: ","udr_operator_keys.import.form_errors.required":"File is required","udr_operator_keys.import.file":"Select file","udr_operator_keys.import.save":"Save","udr_operator_keys.import.cancel":"Cancel","udr_ims_private_identities.toolbar.new_ims_private_identity":"New IMS Private Identity","udr_ims_private_identities.toolbar.new_ims_private_identity_basic":"New Basic","udr_ims_private_identities.loading_error":"Error loading UDR IMS Private Identities","udr_ims_private_identities.table.header.id":"ID","udr_ims_private_identities.table.header.name":"Name","udr_ims_private_identities.table.header.supi":"SUPI","udr_ims_private_identities.table.header.type":"Type","udr_ims_private_identities.table.header.status":"Status","udr_ims_private_identities.table.header.created_at":"Created","udr_ims_private_identities.table.header.modified_at":"Modified","udr_ims_private_identities.table.value.sip_digest_provisioned":"SIP Digest","udr_ims_private_identities.table.value.sip_digest_provisioned_true":"Provisioned","udr_ims_private_identities.table.value.sip_digest_provisioned_false":"Not Provisioned","udr_ims_private_identities.table.value.registration_sets":"Registration Sets","udr_ims_private_identities.table.value.registration_sets_no_value":"No Value","udr_ims_private_identities.table.value.public_identities":"Public Identities","udr_ims_private_identities.table.value.public_identity_barred":"Barred","udr_ims_private_identities.table.value.public_identity_authorized":"Authorized","udr_ims_private_identities.table.value.public_identity_name":"Name","udr_ims_private_identities.table.value.service_profile":"Service Profile","udr_ims_private_identities.table.value.server_name":"Server Name","udr_ims_private_identities.table.value.application_servers_profiles":"Application Servers Profiles","udr_ims_private_identities.table.status":"Public Identity Status","udr_ims_private_identities.actions.delete":"Delete","udr_ims_private_identities.actions.confirm_delete":'Are you sure to delete IMS Private Identity with name = "{name}"?',"udr_ims_private_identities.actions.edit":"Edit","udr_ims_private_identities.actions.edit_application_servers_profiles":"Application Servers Profiles","udr_ims_private_identities.actions.status":"Status","udr_ims_private_identities.dialog.ims_private_identity_status.title":"IMS Private Identity Status","udr_ims_private_identities.dialog.ims_private_identity_status.no_data":"No data","udr_ims_private_identities.dialog.ims_private_identity_status.modified_at":"Modified at","udr_ims_private_identities.dialog.ims_private_identity_status.server_name":"Server Name","udr_ims_private_identities.dialog.ims_private_identity_status.location":"Location","udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw":"IP SM GW","udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.host":"Host","udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.realm":"Realm","udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.registered_at":"Registered At","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf":"SCSCF","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.host":"Host","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.modified_at":"Modified At","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.name":"Name","udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.realm":"Realm","udr_ims_private_identities.dialog.ims_public_identity_status.title":"IMS Public Identity Status","udr_ims_private_identities.dialog.ims_public_identity_status.modified_at":"Modified at","udr_ims_private_identities.dialog.ims_public_identity_status.status":"Status","udr_ims_private_identities.dialog.ims_public_identity_status.pending":"pending","udr_ims_private_identities.new_ims_private_identity_basic.title":"New UDR IMS Private Identity Basic","udr_ims_private_identities.new_ims_private_identity_basic.form.type":"type","udr_ims_private_identities.new_ims_private_identity_basic.form.supi":"SUPI","udr_ims_private_identities.new_ims_private_identity_basic.form.public_identity":"Public Identity","udr_ims_private_identities.new_ims_private_identity_basic.form.server_name":"Server Name","udr_ims_private_identities.new_ims_private_identity_basic.form.msisdn":"MSISDN","udr_ims_private_identities.new_ims_private_identity_basic.form.service_profile":"Service Profile","udr_ims_private_identities.new_ims_private_identity_basic.form_errors.required":"Field is required","udr_ims_private_identities.new_ims_private_identity_basic.form_errors.sip_digest":"SIP Digest Realm and Password must be set both or none","udr_ims_private_identities.new_ims_private_identity_basic.form_errors.sip_digest_realm":"SIP Digest Realm must be set for edit","udr_ims_private_identities.new_ims_private_identity_basic.form_errors.sip_digest_password":"SIP Digest Password must be set for edit","udr_ims_private_identities.new_ims_private_identity_basic.save":"Save","udr_ims_private_identities.new_ims_private_identity_basic.cancel":"Cancel","udr_ims_private_identities.create_or_edit_ims_private_identity.title":"Edit UDR IMS Private Identity","udr_ims_private_identities.create_or_edit_ims_private_identity.form.type":"type","udr_ims_private_identities.create_or_edit_ims_private_identity.form.supi":"SUPI","udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest":"SIP Digest","udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest.password":"SIP Digest Password","udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest.realm":"SIP Digest Realm","udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest.realm_password":"SIP Digest Realm and Password","udr_ims_private_identities.create_or_edit_ims_private_identity.keys_provisioned":"Provisioned","udr_ims_private_identities.create_or_edit_ims_private_identity.keys_not_provisioned":"Not Provisioned","udr_ims_private_identities.create_or_edit_ims_private_identity.form.isOverridingKeys":"Override Keys","udr_ims_private_identities.create_or_edit_ims_private_identity.form.server_name":"Server Name","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_set_delete":"Delete Registration Set","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_set_add":"Add Registration Set","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets":"Registration Sets","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.description":"Registration Set Description","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identity_delete":"Delete Public Identity","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identity_add":"Add Public Identity","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities":"Registration Set Public Identities","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.barred":"Barred","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.name":"name","udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.service_profile":"Service Profile","udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required":"Field is required","udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.has_errors":"Field has errors","udr_ims_private_identities.create_or_edit_ims_private_identity.save":"Save","udr_ims_private_identities.create_or_edit_ims_private_identity.cancel":"Cancel","udr_ims_private_identities.application_servers_profiles.title":"Manage Application Servers Profiles","udr_ims_private_identities.application_servers_profiles.no_private_identity":"There was a problem loading the private identity","udr_ims_private_identities.application_servers_profiles.error_load_data":"Error on loading data","udr_ims_private_identities.application_servers_profiles.form.service_data":"Service Data","udr_ims_private_identities.application_servers_profiles.form.service_indication":"Service Indication","udr_ims_private_identities.application_servers_profiles.form.errors.required":"Field is required","udr_ims_private_identities.application_servers_profiles.form.actions.create":"new Profile","udr_ims_private_identities.application_servers_profiles.form.actions.edit":"Edit","udr_ims_private_identities.application_servers_profiles.form.actions.show":"Show","udr_ims_private_identities.application_servers_profiles.form.actions.delete":"Delete","udr_ims_private_identities.application_servers_profiles.save":"Save","udr_ims_private_identities.application_servers_profiles.cancel":"Cancel","udr_ims_private_identities.application_servers_profiles.close":"Close","udr_ims_private_identities.application_servers_profiles.dialog.create.title":"New AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.create_ok":"AS Profile created correctly","udr_ims_private_identities.application_servers_profiles.dialog.create_ko":"Problem on creating AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.edit.title":"Edit AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.edit_ok":"AS Profile updated correctly","udr_ims_private_identities.application_servers_profiles.dialog.edit_ko":"Problem on updating AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.delete.title":"Delete AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.delete_ok":"AS Profile deleted correctly","udr_ims_private_identities.application_servers_profiles.dialog.delete_ko":"Problem on deleting AS Profile","udr_ims_private_identities.application_servers_profiles.dialog.delete.confirm":"Are you sure to delete private identity?","udr_plmns.toolbar.new_plmn":"New PLMN","udr_plmns.loading_error":"Error loading PLMNs","udr_plmns.table.header.mcc":"MCC","udr_plmns.table.header.mnc":"MNC","udr_plmns.table.header.created_at":"Created","udr_plmns.table.header.modified_at":"Modified","udr_plmns.actions.delete":"Delete","udr_plmns.new_plmn.title":"New PLMN","udr_plmns.new_plmn.form.mcc":"MCC","udr_plmns.new_plmn.form.mnc":"MNC","udr_plmns.new_plmn.form_errors.required":"Field is required","udr_plmns.new_plmn.save":"Save","udr_plmns.new_plmn.cancel":"Cancel","udr_plmns.actions.delete.confirm":"Are you sure you want to delete PLMN {plmn}?","udr_ims_application_server_acls.toolbar.new_ims_application_server_acl":"New IMS Application Server ACL","udr_ims_application_server_acls.toolbar.filters":"Filters","udr_ims_application_server_acls.loading_error":"Error loading IMS Application Server ACL","udr_ims_application_server_acls.table.header.id":"ID","udr_ims_application_server_acls.table.header.application_server":"IMS Application Server","udr_ims_application_server_acls.table.header.data_reference":"Data Reference","udr_ims_application_server_acls.table.header.permissions":"Permissions","udr_ims_application_server_acls.table.header.created_at":"Created","udr_ims_application_server_acls.table.header.modified_at":"Modified","udr_ims_application_server_acls.actions.delete":"Delete","udr_ims_application_server_acls.actions.edit_permissions":"Edit Permissions","udr_ims_application_server_acls.form.title_edit_permissions":"Edit IMS Application Server ACL Permissions","udr_ims_application_server_acls.form.error.required":"Field is required","udr_ims_application_server_acls.form.error.permissions":"Allowed values are: {permissions}","udr_ims_application_server_acls.new_ims_application_server_acl.title":"New IMS Application Server ACL","udr_ims_application_server_acls.new_ims_application_server_acl.form.id":"ID","udr_ims_application_server_acls.new_ims_application_server_acl.form.application_server":"IMS Application Server","udr_ims_application_server_acls.new_ims_application_server_acl.form.data_reference":"Data Reference","udr_ims_application_server_acls.new_ims_application_server_acl.form.permissions":"Permissions","udr_ims_application_server_acls.new_ims_application_server_acl.form_errors.required":"Field is required","udr_ims_application_server_acls.new_ims_application_server_acl.save":"Save","udr_ims_application_server_acls.new_ims_application_server_acl.cancel":"Cancel","udr_ims_application_server_acls.filters.application_server_icont":"Application Server","udr_ims_application_server_acls.filters.data_reference_eq":"Data Reference","udr_ims_application_server_acls.filters.data_reference_eq.any":"any","udr_ims_application_server_acls.filters.buttons.reset":"Reset","udr_ims_application_server_acls.filters.buttons.apply":"Apply","udr_ims_application_server_acls.actions.delete.confirm":"Are you sure to delete IMS application server ACL?","udr_ims_initial_filters.toolbar.new_ims_initial_filter":"New Initial Filter Criteria","udr_ims_initial_filters.loading_error":"Error loading Initial Filter Criteria","udr_ims_initial_filters.table.header.id":"ID","udr_ims_initial_filters.table.header.description":"Description","udr_ims_initial_filters.table.header.created_at":"Created","udr_ims_initial_filters.table.header.modified_at":"Modified","udr_ims_initial_filters.actions.delete":"Delete","udr_ims_initial_filters.actions.edit":"Edit","udr_ims_initial_filters.form.title_edit":"Edit IMS initial filter","udr_ims_initial_filters.new_ims_initial_filter.title":"New Initial Filter Criteria","udr_ims_initial_filters.new_ims_initial_filter.form.id":"ID","udr_ims_initial_filters.new_ims_initial_filter.form.data":"Data","udr_ims_initial_filters.new_ims_initial_filter.form.description":"Description","udr_ims_initial_filters.new_ims_initial_filter.form_errors.required":"Field is required","udr_ims_initial_filters.new_ims_initial_filter.save":"Save","udr_ims_initial_filters.new_ims_initial_filter.cancel":"Cancel","udr_ims_initial_filters.application_servers_profiles.dialog.delete.confirm":"Are you sure to delete initial filter?","udr_ims_service_profiles.toolbar.new_ims_service_profile":"New Service Profile","udr_ims_service_profiles.loading_error":"Error loading Service Profiles","udr_ims_service_profiles.table.header.id":"ID","udr_ims_service_profiles.table.header.description":"Description","udr_ims_service_profiles.table.header.created_at":"Created","udr_ims_service_profiles.table.header.modified_at":"Modified","udr_ims_service_profiles.actions.delete":"Delete","udr_ims_service_profiles.actions.edit":"Edit","udr_ims_service_profiles.new_ims_service_profile.title":"New Service Profile","udr_ims_service_profiles.new_ims_service_profile.form.id":"ID","udr_ims_service_profiles.new_ims_service_profile.form.initial_filter_criteria":"Initial Filter Criteria","udr_ims_service_profiles.new_ims_service_profile.form.description":"Description","udr_ims_service_profiles.new_ims_service_profile.form_errors.required":"Field is required","udr_ims_service_profiles.new_ims_service_profile.save":"Save","udr_ims_service_profiles.new_ims_service_profile.cancel":"Cancel","udr_ims_service_profiles.edit_ims_service_profile.title":"Edit Service Profile","udr_ims_service_profiles.edit_ims_service_profile.form.id":"ID","udr_ims_service_profiles.edit_ims_service_profile.form.initial_filter_criteria":"Initial Filter Criteria","udr_ims_service_profiles.edit_ims_service_profile.form.description":"Description","udr_ims_service_profiles.edit_ims_service_profile.form_errors.required":"Field is required","udr_ims_service_profiles.edit_ims_service_profile.save":"Save","udr_ims_service_profiles.edit_ims_service_profile.cancel":"Cancel","udr_ims_service_profiles.application_servers_profiles.dialog.delete.confirm":"Are you sure to delete service profile?","udr_milenage_constants.message.cannot_write":"You are not able to edit milenage constants because you don't have the write permission","udr_milenage_constants.dialog.title":"Milenage Constants","udr_milenage_constants.dialog.no_configuration":"No Milenage Constants","udr_milenage_constants.dialog.apply_configuration_ok":"Milenage Constants set correctly","udr_milenage_constants.dialog.apply_configuration_ko":"Error on setting Milenage Constants","udr_milenage_constants.buttons.save":"Save","udr_milenage_constants.buttons.cancel":"Cancel","udr_milenage_constants.form.errors.required":"Field is required","udr_milenage_constants.form.c1":"C1","udr_milenage_constants.form.c2":"C2","udr_milenage_constants.form.c3":"C3","udr_milenage_constants.form.c4":"C4","udr_milenage_constants.form.c5":"C5","udr_milenage_constants.form.r1":"R1","udr_milenage_constants.form.r2":"R2","udr_milenage_constants.form.r3":"R3","udr_milenage_constants.form.r4":"R4","udr_milenage_constants.form.r5":"R5","udr_milenage_constants.panel.title":"Milenage Constants","udr_milenage_constants.actions.delete":"Delete","udr_milenage_constants.actions.confirm_delete":"Are you sure you want to delete the provided milenage constants?","udr_milenage_constants.alert.cannot_load_udr_milenage_constants":"Cannot load milenage constants","udr_milenage_constants.provisioned":"Provisioned","udr_milenage_constants.not_provisioned":"Not Provisioned","udr_milenage_constants.apply_ok":"Milenage constants successfully saved","udr_milenage_constants.apply_ko":"There was a problem saving milenage constants","udr_milenage_constants.remove_ok":"Milenage constants successfully removed","udr_milenage_constants.remove_ko":"There was a problem removing milenage constants","udr_milenage_constants.load_ko":"There was a problem loading milenage constants","udm_home_network_keys.actions.delete":"Delete","udm_home_network_keys.table.id":"ID","udm_home_network_keys.table.key_id":"Key ID","udm_home_network_keys.table.description":"Description","udm_home_network_keys.table.home_network_identifier":"Home Network Identifier","udm_home_network_keys.table.private_key":"Private Key","udm_home_network_keys.table.public_key":"Public Key","udm_home_network_keys.table.profile":"Profile","udm_home_network_keys.table.created_at":"Created","udm_home_network_keys.table.modified_at":"Modified","udm_home_network_keys.form.title_create":"New home network key","udm_home_network_keys.form.key_id":"Key ID","udm_home_network_keys.form.description":"Description","udm_home_network_keys.form.home_network_identifier":"Home Network Identifier","udm_home_network_keys.form.private_key":"Private Key","udm_home_network_keys.form.public_key":"Public Key","udm_home_network_keys.form.profile":"Profile","udm_home_network_keys.form.cancel":"Cancel","udm_home_network_keys.form.save":"Save","udm_home_network_keys.form.errors_inside":"There are some errors","udm_home_network_keys.form.errors":"There are some errors in the form","udm_home_network_keys.form.errors.min":"Min value is {value}","udm_home_network_keys.form.errors.max":"Max value is {value}","udm_home_network_keys.form.errors.format":"The format should be {value}","udm_home_network_keys.form.errors.required":"Field is required","udm_home_network_keys.toolbar.new":"New","udm_home_network_keys.toolbar.upload":"Upload","udm_home_network_keys.actions.confirm_delete":"Are you sure to delete home network key {value}?","udm_home_network_keys.upload.form.file":"File","udm_home_network_keys.upload.form.file.required":"File is required","udm_home_network_keys.upload.form.title":"Upload UDM Home Network Keys","udm_home_network_keys.upload.form.description":"Add a single valid UDM Home Network Keys bundle file.","udm_plmns_prefixes.prefix":"Prefix","udm_plmns_prefixes.mcc":"MCC","udm_plmns_prefixes.mnc":"MNC","udm_plmns_prefixes.created_at":"Created at","udm_plmns_prefixes.modified_at":"Modified at","udm_plmn_prefixes.prefix.form_errors.required":"Field is required","udm_plmn_prefixes.mcc.form_errors.required":"Field is required","udm_plmn_prefixes.mnc.form_errors.required":"Field is required","udm_plmns_prefixes.actions.delete.confirm":"Are you sure to delete PLMN prefix {prefix}","smsf.smpp.connections.name":"Name","smsf.smpp.connections.connection_type":"Connection Type","smsf.smpp.connections.connection_type.smpp_esme":"ESME","smsf.smpp.connections.connection_type.smpp_mc_peer":"MC peer","smsf.smpp.connections.bind_type":"Bind Type","smsf.smpp.connections.bind_type.trx":"Transceiver","smsf.smpp.connections.bind_type.tx":"Transmitter","smsf.smpp.connections.bind_type.rx":"Receiver","smsf.smpp.connections.local_addr":"Local Address","smsf.smpp.connections.local_port":"Local Port","smsf.smpp.connections.remote_addr":"Remote Address","smsf.smpp.connections.remote_port":"Remote Port","smsf.smpp.connections.created_at":"Created At","smsf.sms_box":"SMS Box","smsf.sms_box.buttons.new_sms":"New SMS","smsf.sms_box.buttons.inbound":"Inbound","smsf.sms_box.buttons.outbound":"Outbound","smsf.sms_box.tabs.inbound":"Inbound","smsf.sms_box.tabs.outbound":"Outbound","smsf.sms_box.no_msisdns":"No messages to display","smsf.sms_box.search":"Search MSISDN","smsf.sms_box.messages.buttons.delete":"Delete","smsf.sms_box.messages.no_messages":"No messages","smsf.sms_box.message.from":"From","smsf.sms_box.message.to":"To","smsf.sms_box.message.id":"ID","smsf.sms_box.message.message":"Message","smsf.sms_box.message.message_from":"from:","smsf.sms_box.message.message_to":"to:","smsf.sms_box.message.message_at":"at:","smsf.sms_box.message.created_at":"Created at","smsf.sms_box.message.modified_at":"Modified at","smsf.sms_box.message.validity_time_s":"Validity","smsf.sms_box.new_message.dialog.title":"New message","smsf.sms_box.new_message.title":"New message","smsf.sms_box.new_message.msisdn":"From","smsf.sms_box.new_message.to":"To","smsf.sms_box.new_message.body":"Body","smsf.sms_box.new_message.validity_time_s":"Validity Time","smsf.sms_box.new_message.is_seconds_visible":"Show validity time in seconds","smsf.sms_box.new_message.buttons.cancel":"Cancel","smsf.sms_box.new_message.buttons.back":"Back","smsf.sms_box.new_message.buttons.send":"Send","smsf.sms_box.new_message.dialog.send_ok":"Message sent successfully!","smsf.sms_box.new_message.dialog.send_ko":"There was a problem on sending the message","smsf.sms_box.delete_message.dialog.confirm.title":"Delete message","smsf.sms_box.delete_message.dialog.confirm.text":'Are you sure to delete the message with ID = "{id}"?',"smsf.sms_box.delete_message.dialog.send_ok":"Message deleted successfully!","smsf.sms_box.delete_message.dialog.send_ko":"There was a problem on deleting the message",service:gDe,"service.title.name":"Name","service.title.version":"Version","service.title.status":"Status","service.title.type":"Type","service.title.unit_status":"Unit status","service.hint.start":"Start","service.hint.restart":"Restart","service.hint.stop":"Stop","service.hint.reset":"Reset","service.status.enabled":"Enabled","service.status.autostart":"Autostart","service.name.aaa":"AAA","service.name.mme":"MME","service.name.dra":"DRA","service.name.amf":"AMF","service.name.bmsc":"BMSC","service.name.dsm":"DNS","service.name.bind":"Bind9","service.name.bind-exporter":"Bind Exporter","service.name.alertmanager":"Alertmanager","service.name.ausf":"AUSF","service.name.smf":"SMF","service.name.smsf":"SMSF","service.name.pcf":"PCF","service.name.nrf":"NRF","service.name.chf":"CHF","service.name.eir":"EIR","service.name.ems-frontend":"EMS","service.name.ems-backend":"EMS compat","service.name.gatewayd":"Log Viewer","service.name.grafana":"Grafana","service.name.ccs-agent":"CCS Agent","service.name.ncm":"NCM","service.name.node-exporter":"Node Exporter","service.name.podman-exporter":"Podman Exporter","service.name.openvpn":"VPN","service.name.prometheus":"Prometheus","service.name.fluent-bit":"Fluentbit","service.name.licensed":"Licensed","service.name.pls":"PLS","service.name.sgwc":"SGW","service.name.ssh":"SSH","service.name.webconsole":"Terminal","service.name.swupdate":"SW update","service.name.udm":"UDM","service.name.udr":"UDR","service.name.upf":"UPF","service.name.imsconfig":"IMS-Config","service.name.pcscf":"P-CSCF","service.name.icscf":"I-CSCF","service.name.scscf":"S-CSCF","service.name.ecscf":"E-CSCF","service.name.tas":"TAS","service.name.xcap":"XCAP","service.name.imsalarms":"IMS Alarms","service.name.bgcf":"BGCF","service.name.pstngw":"PSTN Gateway","service.name.imsagw":"IMS-AGW","service.name.n5iwf":"N5-IWF","service.name.named":"DNS/ENUM","service.name.imsrecovery":"Recovery Agent","service.name.keepalived-exporter":"Keepalived Exporter","service.disabled":"Disabled","service.started":"Started","service.stopped":"Stopped","service.enable":"Enable","service.disable":"Disable","service.start":"Start","service.restart":"Restart","service.stop":"Stop","service.readonly":"Readonly","service.backup":"Backup","service.error":"Error loading data!","service.type.nf":"NF","service.type.ps":"Platform","service.toast.start.success":"Service sucessfully started!","service.toast.start.error":"Error starting service!","service.toast.stop.success":"Service sucessfully stopped!","service.toast.stop.error":"Error stopping service!","service.toast.restart.success":"Service sucessfully restarted!","service.toast.restart.error":"Error restarting service!","service.toast.enable.success":"Service sucessfully enabled!","service.toast.enable.error":"Error enabling service!","service.toast.disable.success":"Service sucessfully disabled!","service.toast.disable.error":"Error disabling service!","service.dialog.message.stop":"Are you sure to stop {name}?","service.dialog.message.restart":"Are you sure to restart {name}?","service.dialog.message.reset":"All {name} data will be lost. Are you sure?","service.dialog.action.stop":"Stop","service.dialog.action.restart":"Restart","service.dialog.action.reset":"Reset","device_status.noDataHint":"Search for a SUPI to display data","device_status.not_found":"No UE status found","device_status.form.id":"SUPI","device_status.form.errors.required":"SUPI is required","device_status.form.errors.format":"format should be {value}","device_status.form.search":"Search","device_status.tabs.amf":"AMF","device_status.tabs.smf":"SMF","device_status.tabs.upf":"UPF","device_status.tabs.udr":"UDR","device_status.tabs.mme":"MME","device_status.tabs.sgwc":"SGWC","device_status.tabs.pcf":"PCF","device_status.amf":"Access Management","device_status.amf.5gGuti":"GUTI","device_status.amf.supi":"SUPI","device_status.amf.amfUeNgapID":"AMF UE NGAP ID","device_status.amf.ranUeNgapID":"RAN UE NGAP ID","device_status.amf.ueLocation":"UE location","device_status.amf.ueLocation.nrLocation":"NR location","device_status.amf.ueLocation.nrLocation.ncgi":"NCGI (UE location/NR location)","device_status.amf.ueLocation.ncgi.nrCellId":"Nr Cell ID","device_status.amf.ueLocation.ncgi.plmn":"PLMN","device_status.amf.ueLocation.nrLocation.tai":"TAI (UE location/NR location)","device_status.amf.ueLocation.tai.plmn":"PLMN","device_status.amf.ueLocation.tai.tac":"TAC","device_status.amf.smContexts":"SM Contexts","device_status.amf.smContext":"SM Context","device_status.amf.smContexts.dnn":"DNN","device_status.amf.smContexts.pduSessionId":"PDU Session Id","device_status.amf.smContexts.sNssai":"S-NSSAI","device_status.amf.smContexts.sNssai.sd":"SD","device_status.amf.smContexts.sNssai.sst":"SST","device_status.amf.smContexts.upCnxState":"// upCnxState","device_status.amf.ncgi":"NCGI","device_status.amf.tai":"TAI","device_status.amf.cmState":"CM State","device_status.amf.mmState":"MM State","device_status.amf.delete.ok":"Detached ok","device_status.amf.delete.error":"Detached error","device_status.amf.remove":"Remove","device_status.amf.remove.reregister_requested":"Reregister requested","device_status.amf.remove.reregister_not_requested":"Reregister not requested","device_status.smf":"PDU Sessions","device_status.smf.dnn":"DNN","device_status.smf.pduSession":"PDU Session ID","device_status.smf.pduSessionId":"PDU Session ID","device_status.smf.pduSessionType":"PDU Session Type","device_status.smf.sNssai":"S-NSSAI","device_status.smf.sNssai.sd":"SD","device_status.smf.sNssai.sst":"SST","device_status.smf.ue_ipv4_address":"IPv4 Address","device_status.smf.ue_ipv6_prefix":"IPv6 Prefix","device_status.smf.detectedMacAddresses":"Detected mac addresses","device_status.smf.supi":"SUPI","device_status.smf.n4c.localFseid":"N4C - Local FSEID","device_status.smf.n4c.localFseid.ipv4":"IPv4","device_status.smf.n4c.localFseid.ipv6":"IPv6","device_status.smf.n4c.localFseid.seid":"SEID","device_status.smf.n4c.remoteFseid":"N4C - Remote FSEID","device_status.smf.n4c.remoteFseid.ipv4":"IPv4","device_status.smf.n4c.remoteFseid.ipv6":"IPv6","device_status.smf.n4c.remoteFseid.seid":"SEID","device_status.smf.charging":"Charging","device_status.smf.charging.chargingChar":"Charging char","device_status.smf.charging.chargingDataRef":"Charging data ref","device_status.smf.charging.sequenceNum":"Sequence num","device_status.upfSessions":"UPF Sessions","device_status.upfSession.seid":"UPF Session ID","device_status.upfSession.apn_dnn":"APN DNN","device_status.upfSession.pdn_type":"PDN Type","device_status.upfSession.far":"FAR","device_status.upfSession.far.item_id":"FAR","device_status.upfSession.pdr":"PDR","device_status.upfSession.pdr.item_id":"PDR","device_status.upfSession.far.id":"ID","device_status.upfSession.far.apply_actions":"Apply actions","device_status.upfSession.far.forwarding_params":"Forwarding Params","device_status.upfSession.far.forwarding_params.destination_iface":"Destination interface","device_status.upfSession.far.forwarding_params.network_instance":"Network instance","device_status.upfSession.far.forwarding_params.ohc":"OHC","device_status.upfSession.far.forwarding_params.ohc.hdr":"OHC HDR","device_status.upfSession.far.forwarding_params.ohc.ipv4":"OHC IPv4","device_status.upfSession.far.forwarding_params.ohc.ipv6":"OHC IPv6","device_status.upfSession.far.forwarding_params.ohc.teid":"TEID","device_status.upfSession.pdr.far_id":"FAR ID","device_status.upfSession.pdr.id":"ID","device_status.upfSession.pdr.ohr":"OHR","device_status.upfSession.pdr.pdi":"PDI","device_status.upfSession.pdr.pdi.ip":"IP","device_status.upfSession.pdr.pdi.pdi_type":"PDI TYPE","device_status.upfSession.pdr.pdi.teid":"TEID","device_status.upfSession.pdr.pdi.vrf":"VRF","device_status.upfSession.pdr.qfi":"QFI","device_status.upfSession.pdr.source_iface":"Source interface","device_status.upfSession.pdr.network_instance":"Network instance","device_status.upfSession.pdr.vrf_index":"VRF index","device_status.upfSession.pdr.ue_ip_addr":"UE IP addr","device_status.upfSession.pdr.ue_ip_addr.ipv4":"IPv4","device_status.upfSession.pdr.ue_ip_addr.ipv6":"IPv6","device_status.upfSession.pdr.ue_ip_addr.sd":"SD","device_status.upfSessioon.user_id":"User ID","device_status.upfSession.user_id.imsi":"IMSI","device_status.upfSession.user_id.imei":"IMEI","device_status.upfSession.user_id.msisdn":"MSISDN","device_status.upfSession.user_id.nai":"NAI","device_status.upfSession.framed_routes":"Framed routes","device_status.upfSession.managed_routes":"Managed routes","device_status.upfSession.mac_addrs":"Mac addresses","device_status.udrInfo":"UDR","device_status.udrInfo.mwdStatus":"MWD Status","device_status.udrInfo.mwdStatus.host":"Host","device_status.udrSupiStatus.aaa":"AAA","device_status.udrSupiStatus.aaa.dataSubscriptionNotificationFailure":"Data subscription notification failure","device_status.udrSupiStatus.aaa.host":"Host","device_status.udrSupiStatus.aaa.plmn":"PLMN","device_status.udrSupiStatus.aaa.ratType":"RAT Type","device_status.udrSupiStatus.aaa.realm":"Realm","device_status.udrSupiStatus.aaa.registeredAt":"Registered at","device_status.udrSupiStatus.amf":"AMF","device_status.udrSupiStatus.amf.amfInstanceID":"AMF Instance ID","device_status.udrSupiStatus.amf.pei":"PEI","device_status.udrSupiStatus.amf.dataSubscriptionNotificationFailure":"Data subscription notification failure","device_status.udrSupiStatus.amf.ratType":"RAT Type","device_status.udrSupiStatus.amf.registeredAt":"Registered at","device_status.udrSupiStatus.amf.guami":"GUAMI","device_status.udrSupiStatus.amf.guami.amfID":"AMF ID","device_status.udrSupiStatus.amf.guami.plmn":"PLMN","device_status.udrSupiStatus.amf.guami.plmn.mcc":"MCC","device_status.udrSupiStatus.amf.guami.plmn.mnc":"MNC","device_status.udrSupiStatus.amf.guami.plmn.nid":"NID","device_status.udrSupiStatus.mme":"MME","device_status.udrSupiStatus.mme.host":"Host","device_status.udrSupiStatus.mme.realm":"Realm","device_status.udrSupiStatus.mme.pei":"PEI","device_status.udrSupiStatus.mme.registeredForSms":"Registered for SMS","device_status.udrSupiStatus.mme.dataSubscriptionNotificationFailure":"Data subscription notification failure","device_status.udrSupiStatus.mme.ratType":"RAT Type","device_status.udrSupiStatus.mme.plmn":"PLMN","device_status.udrSupiStatus.mme.registeredAt":"Registered at","device_status.udrSupiStatus.sgsn":"SGSN","device_status.udrSupiStatus.sgsn.host":"Host","device_status.udrSupiStatus.sgsn.realm":"Realm","device_status.udrSupiStatus.sgsn.pei":"PEI","device_status.udrSupiStatus.sgsn.dataSubscriptionNotificationFailure":"Data subscription notification failure","device_status.udrSupiStatus.sgsn.ratType":"RAT Type","device_status.udrSupiStatus.sgsn.plmn":"PLMN","device_status.udrSupiStatus.sgsn.registeredAt":"Registered at","device_status.udrSupiStatus.sgsn.address":"Address","device_status.udrSupiStatus.sgsn.number":"Number","device_status.udrSupiStatus.smf":"SMF (InstanceID: {id})","device_status.udrSupiStatus.smf.pdu_sessions":"PDU sessions","device_status.udrSupiStatus.smf.pdu_session":"PDU session - {id}","device_status.udrSupiStatus.smf.pdu_session.dnn":"DNN","device_status.udrSupiStatus.smf.pdu_session.emergency_services":"Emergency services","device_status.udrSupiStatus.smf.pdu_session.registered_at":"Registered at","device_status.udrSupiStatus.smf.pdu_session.single_nssai":"NSSAI","device_status.udrSupiStatus.smf.pdu_session.single_nssai.sd":"SD","device_status.udrSupiStatus.smf.pdu_session.single_nssai.sst":"SST","device_status.udrSupiStatus.vlr":"VLR","device_status.udrSupiStatus.vlr.data_subscription_notification_failure":"Data subscription notification failure","device_status.udrSupiStatus.vlr.msc_number":"MSC number","device_status.udrSupiStatus.vlr.number":"number","device_status.udrSupiStatus.vlr.plmn":"PLMN","device_status.udrSupiStatus.vlr.registered_at":"Registered at","device_status.mme":"MME","device_status.mme.imsi":"IMSI","device_status.mme.imeisv":"IMEISV","device_status.mme.age_of_location_info":"Age of location info (s)","device_status.mme.ecm_state":"ECM state","device_status.mme.emm_state":"EMM state","device_status.mme.last_radio_contact":"Last radio contact","device_status.mme.pending_procedure":"Pending procedure","device_status.mme.sgs_state":"SGS state","device_status.mme.drx":"DRX","device_status.mme.guti":"GUTI","device_status.mme.uli.tai":"ULI - TAI","device_status.mme.uli.tai.plmn":"PLMN","device_status.mme.uli.tai.tac":"TAC","device_status.mme.uli.ecgi":"ULI - ECGI","device_status.mme.uli.ecgi.plmn":"PLMN","device_status.mme.uli.ecgi.eci":"ECI","device_status.mme.profile":"Profile","device_status.mme.profile.hss_host":"HSS host","device_status.mme.profile.hss_realm":"HSS realm","device_status.mme.profile.subscription":"Subscription","device_status.mme.profile.subscription.msisdn":"MSISDN","device_status.mme.profile.subscription.mode":"Mode","device_status.mme.profile.subscription.status":"Status","device_status.mme.profile.subscription.usage_type":"Usage type","device_status.mme.profile.subscription.ue_ambr":"UE AMBR","device_status.mme.profile.subscription.ue_ambr.dl":"DL (bps)","device_status.mme.profile.subscription.ue_ambr.ul":"UL (bps)","device_status.mme.profile.subscription.config":"Config","device_status.mme.profile.subscription.config.default_context_id":"Default context ID","device_status.mme.profile.subscription.config.apns":"APNs","device_status.mme.profile.subscription.config.apn.apn":"APN","device_status.mme.profile.subscription.config.apn.context_id":"Context ID","device_status.mme.profile.subscription.config.apn.pdn_type":"PDN Type","device_status.mme.profile.subscription.config.apn.data_mode":"Data mode","device_status.mme.profile.subscription.config.apn.non_ip":"NON IP","device_status.mme.profile.subscription.config.apn.non_ip_method":"NON IP method","device_status.mme.profile.subscription.config.apn.qos":"QOS","device_status.mme.profile.subscription.config.apn.qos.qci":"QCI","device_status.mme.profile.subscription.config.apn.qos.arp":"ARP","device_status.mme.profile.subscription.config.apn.qos.arp.priority_level":"Priority level","device_status.mme.profile.subscription.config.apn.qos.arp.preemption_capability":"Preemption capability","device_status.mme.profile.subscription.config.apn.qos.arp.preemption_vulnerability":"Preemption vulnerability","device_status.mme.profile.subscription.config.apn.apn_ambr":"APN AMBR","device_status.mme.profile.subscription.config.apn.apn_ambr.ul":"UL (bps)","device_status.mme.profile.subscription.config.apn.apn_ambr.dl":"DL (bps)","device_status.mme.decor":"Decor","device_status.mme.decor.computed_usage_type":"Computed usage type","device_status.mme.decor.rerouted":"Rerouted","device_status.mme.decor.state":"State","device_status.mme.decor.state.static":"Static","device_status.mme.decor.state.hss":"HSS","device_status.mme.decor.state.ue":"UE","device_status.mme.decor.state.mme":"MME","device_status.mme.psm":"PSM","device_status.mme.psm.psm":"PSM","device_status.mme.psm.idle_since_ms":"Idle since (ms)","device_status.mme.psm.t3324":"t3324","device_status.mme.edrx":"EDRX","device_status.mme.edrx.mode":"Mode","device_status.mme.edrx.window":"Window","device_status.mme.edrx.window_s":"Window (s)","device_status.mme.edrx.cycle":"Cycle","device_status.mme.edrx.cycle_s":"Cycle (s)","device_status.mme.esm":"ESM","device_status.mme.esm.sgw_fqdn":"SGW FQDN","device_status.mme.esm.ue_ambr":"UE AMBR","device_status.mme.esm.ue_ambr.ul":"UL (bps)","device_status.mme.esm.ue_ambr.dl":"DL (bps)","device_status.mme.esm.bearers":"Bearers","device_status.mme.esm.bearer":"Bearer","device_status.mme.esm.bearer.ebi":"EBI","device_status.mme.esm.bearer.apn":"APN","device_status.mme.esm.bearer.context_id":"Context ID","device_status.mme.esm.bearer.pdn_addr":"PDN addr","device_status.mme.esm.bearer.apn_ambr":"APN AMBR","device_status.mme.esm.bearer.apn_ambr.ul":"UL (bps)","device_status.mme.esm.bearer.apn_ambr.dl":"DL (bps)","device_status.mme.esm.bearer.rabs":"RABs","device_status.mme.esm.bearer.rab":"RAB","device_status.mme.esm.bearer.rab.ebi":"EBI","device_status.mme.esm.bearer.rab.qos.qci":"QCI","device_status.mme.disconnect":"Disconnect","device_status.mme.detach":"Detach","device_status.mme.detach.reattach_required":"Reattach required","device_status.mme.detach.reattach_not_required":"Reattach not required","device_status.mme.purge":"Purge","device_status.mme.purge.reattach_required":"Reattach required","device_status.mme.purge.reattach_not_required":"Reattach not required","device_status.sgw":"Status Sessions","device_status.sgwc.session":"Session","device_status.sgwc.session.id":"ID","device_status.sgwc.session.id_type":"ID type","device_status.sgwc.session.upf_ip":"UPF IP","device_status.sgwc.session.mme_ip":"MME IP","device_status.sgwc.session.pgw_ip":"PGW IP","device_status.sgwc.session.default_bearer":"Default bearer","device_status.sgwc.session.default_bearer.ebi":"EBI","device_status.sgwc.session.default_bearer.lebi":"LEBI","device_status.sgwc.session.default_bearer.rat":"RAT","device_status.sgwc.session.default_bearer.apn":"APN","device_status.sgwc.session.default_bearer.ambr.uplink":"AMBR - Uplink","device_status.sgwc.session.default_bearer.ambr.downlink":"AMBR - Downlink","device_status.sgwc.session.default_bearer.qos":"QOS","device_status.sgwc.session.default_bearer.qos.ambr.uplink":"AMBR - Uplink","device_status.sgwc.session.default_bearer.qos.ambr.downlink":"AMBR - Downlink","device_status.sgwc.session.default_bearer.qos.arp.preemption_capability":"ARP - Preemption capability","device_status.sgwc.session.default_bearer.qos.arp.preemption_vulnerability":"ARP - Preemption vulnerability","device_status.sgwc.session.default_bearer.qos.arp.priority":"ARP - Priority","device_status.sgwc.session.default_bearer.qos.qci":"QCI","device_status.sgwc.session.dedicated_bearers":"Dedicated bearers","device_status.sgwc.session.dedicated_bearer":"Dedicated bearer","device_status.sgwc.session.dedicated_bearer.ebi":"EBI","device_status.sgwc.session.dedicated_bearer.lebi":"LEBI","device_status.sgwc.session.dedicated_bearer.rat":"RAT","device_status.sgwc.session.dedicated_bearer.apn":"APN","device_status.sgwc.session.dedicated_bearer.ambr.uplink":"AMBR - Uplink","device_status.sgwc.session.dedicated_bearer.ambr.downlink":"AMBR - Downlink","device_status.sgwc.session.dedicated_bearer.qos":"QOS","device_status.sgwc.session.dedicated_bearer.qos.ambr.uplink":"AMBR - Uplink","device_status.sgwc.session.dedicated_bearer.qos.ambr.downlink":"AMBR - Downlink","device_status.sgwc.session.dedicated_bearer.qos.arp.preemption_capability":"ARP - Preemption capability","device_status.sgwc.session.dedicated_bearer.qos.arp.preemption_vulnerability":"ARP - Preemption vulnerability","device_status.sgwc.session.dedicated_bearer.qos.arp.priority":"ARP - Priority","device_status.sgwc.session.dedicated_bearer.qos.qci":"QCI","device_status.reAttach":"Re-attach","device_status.pcf":"PCF","device_status.pcf.pdu_session":"PDU session - {id}","device_status.pcf.pdu_session_id":"PDU session ID","device_status.pcf.pdu_session_type":"PDU session type","device_status.pcf.supi":"SUPI","device_status.pcf.dnn":"DNN","device_status.pcf.ipv4_addr":"IPv4","device_status.pcf.ipv6_addr":"IPv6","device_status.pcf.is_emergency":"Is emergency","device_status.pcf.pei":"PEI","device_status.pcf.plmn":"PLMN","device_status.pcf.snssai":"SNSSAI","device_status.pcf.active_app_sessions":"Active app sessions","device_status.pcf.active_app_session":"Active app session - {id}","device_status.pcf.active_app_sessions.interface_type":"Interface type","device_status.pcf.active_app_sessions.rules":"Rules","device_status.pcf.active_app_sessions.rule":"Rule {id}","device_status.pcf.active_app_sessions.rules.rule_id":"Rule ID","device_status.pcf.active_app_sessions.rules.qos_id":"QoS ID","device_status.pcf.active_app_sessions.rules.qos_5qi":"QoS 5QI","device_status.pcf.active_app_sessions.rules.qos_gbrDl":"QoS gbrDl","device_status.pcf.active_app_sessions.rules.qos_gbrUl":"QoS gbrUl","device_status.pcf.active_app_sessions.rules.qos_maxbrDl":"QoS maxbrDl","device_status.pcf.active_app_sessions.rules.qos_maxbrUl":"QoS maxbrUl","device_status.pcf.active_app_sessions.rules.flow_infos":"Flow infos","device_status.pcf.active_app_sessions.rules.flow_info":"Flow info {id}","device_status.pcf.active_app_sessions.rules.flow_infos.description":"Description","device_status.pcf.active_app_sessions.rules.flow_infos.direction":"Direction","software_update.button.upload":"Upload","software_update.button.restart":"Restart","software_update.button.reset":"Reset","software_update.panel.upload.title":"Software upgrade","software_update.panel.upload.description":"Click on the button below to upload the firmware file (.swu file is required).","software_update.panel.logs.title":"Logs","software_update.panel.upload.not_available":"System upgrade not available","software_update.panel.status.title":"Upgrade status","software_update.panel.restart.title":"Restart","software_update.panel.restart.description":"Click on the button below to restart the machine","software_update.panel.restart.loading":"Restarting...","software_update.alert.title":"DATA WILL BE LOST!","software_update.alert.description":"Backup your data before upgrading","software_update.alert.action":"Backup & Restore","software_update.alert.warning":"Do NOT close the page until the upload process is complete!","software_update.form.title":"Upload file","software_update.form.file":"File","software_update.form.file.required":"Required","software_update.form.description":"Upload the file with the firmware you want to install (.swu file is required)","software_update.dialog.completed.title.success":"Upgrade successed","software_update.dialog.completed.title.failed":"Upgrade failed","software_update.dialog.completed.title.unknown":"Upgrade terminated","software_update.dialog.completed.content.success":"Upgrade completed succesfully. To see the upgraded software, please reboot the system.","software_update.dialog.completed.content.success.action":"Reboot now","software_update.dialog.completed.content.failed":"Upgrade failed. Check logs for more details.","software_update.dialog.completed.content.unknown":"Upgrade terminated with unknown status.","software_update.dialog.restart.content":"Restarting...","software_update.dialog.action.home":"Go home","log_shipping.form.title":"Log Shipping Configuration","log_shipping.form.host":"Host","log_shipping.form.port":"Port","log_shipping.form.compress":"Compress","log_shipping.form.save":"Save","log_shipping.form.cancel":"Reset","kpi_shipping.buttons.new_external_label":"New","kpi_shipping.buttons.new_remote_write":"New","kpi_shipping.external_labels.section_title":"External Labels","kpi_shipping.external_labels.table.key":"Key","kpi_shipping.external_labels.table.value":"Value","kpi_shipping.external_labels.table.actions.edit":"Edit","kpi_shipping.external_labels.table.actions.delete":"Delete","kpi_shipping.new_external_label.form.key":"Key","kpi_shipping.new_external_label.form.value":"Value","kpi_shipping.new_external_label.form.errors.required":"Field is required","kpi_shipping.new_external_label.form.buttons.cancel":"Cancel","kpi_shipping.new_external_label.form.buttons.save":"Save","kpi_shipping.new_external_label.dialog.title":"New External label","kpi_shipping.edit_external_label.dialog.title":"Edit External Label","kpi_shipping.delete_external_label.dialog.title":"Delete External Label","kpi_shipping.delete_external_label.dialog.confirm":'Are you sure to delete external label with key = "{key}"?',"kpi_shipping.dialog.configuration_update_ok":"Configuration updated correctly","kpi_shipping.dialog.configuration_update_ko":"Problem on updating configuration","kpi_shipping.remote_writes.section_title":"Remote Writes","kpi_shipping.remote_writes.table.name":"Name","kpi_shipping.remote_writes.table.url":"URL","kpi_shipping.remote_writes.table.proxy_url":"Proxy URL","kpi_shipping.remote_writes.table.tls_insecure_skip_verify":"Skip TLS Verify","kpi_shipping.remote_writes.table.actions.edit":"Edit","kpi_shipping.remote_writes.table.actions.delete":"Delete","kpi_shipping.new_remote_write.form.name":"Name","kpi_shipping.new_remote_write.form.url":"URL","kpi_shipping.new_remote_write.form.proxy_url":"Proxy URL","kpi_shipping.new_remote_write.form.tls_insecure_skip_verify":"Skip TLS Verify","kpi_shipping.new_remote_write.form.errors.required":"Field is required","kpi_shipping.new_remote_write.form.buttons.cancel":"Cancel","kpi_shipping.new_remote_write.form.buttons.save":"Save","kpi_shipping.new_remote_write.form.basic_auth.add":"Add Basic Auth","kpi_shipping.new_remote_write.form.basic_auth.remove":"Remove Basic Auth","kpi_shipping.new_remote_write.form.basic_auth.username":"Username","kpi_shipping.new_remote_write.form.basic_auth.password":"Password","kpi_shipping.new_remote_write.dialog.title":"New Remote Write","kpi_shipping.edit_remote_write.dialog.title":"Edit Remote Write","kpi_shipping.delete_remote_write.dialog.title":"Delete Remote Write","kpi_shipping.delete_remote_write.dialog.confirm":'Are you sure to delete remote write with name = "{name}"?',"long_string_displayer.message.copy":"Copy into the clipboard","long_string_displayer.message.copy_ok":"Text has been copied into the clipboard","not_found.message":"Page not found!","dialog_with_form.buttons.cancel":"Cancel","dialog_with_form.buttons.submit":"Submit","bootstrap_route.service_status_offline":"Service status is offline.","bootstrap_route.refresh_and_contact_support":"Try to refresh the page or contact the support.","pls.tls.configuration.title":"TLS Configuration","pls.tls.configuration.form.client_auth":"Client Authentication","pls.tls.configuration.form.enabled":"Enabled","pls.tls.configuration.form.apply":"Apply configuration","pls.tls.configuration.form.apply_ok":"Configuration applied correctly","pls.tls.configuration.form.apply_ko":"Error on applying configuration","pls.tls.configuration.error":"Error loading configuration","pls.tls.certificates.client.title":"Update Client CA Certificate","pls.tls.certificates.client.form.update_ok":"Client Certificate updated correctly","pls.tls.certificates.client.form.update_ko":"Error on updating Client certificate","pls.tls.certificates.server.title":"Update Server Certificate","pls.tls.certificates.server.form.update_ok":"Servert Certificate updated correctly","pls.tls.certificates.server.form.update_ko":"Error on updating Server certificate","pls.tls.certificates.client.form.update":"Update Client CA Certificate","pls.tls.certificates.server.form.update":"Update Server Certificate","pls.tls.certificates.form.cert_file":"Certificate file","pls.tls.certificates.form.key_file":"Key file","pls.tls.certificates.form.file":"Select file","pls.tls.certificates.form.error.file_required":"File is required","terminal.toolbar.files":"Files","terminal.drawer.files.title":"Files","terminal.drawer.files.download.tooltip":"Download","terminal.drawer.files.message.noData":"No files available","troubleshoot_dump.toolbar.dump":"Schedule dump","troubleshoot_dump.no_data":"No dump schedule found","troubleshoot_dump.form.title":"New dump","troubleshoot_dump.form.start_at":"From","troubleshoot_dump.form.end_at":"Until","troubleshoot_dump.form.end_at.validation":"Until time cannot be before from time","troubleshoot_dump.form.include_logs":"Include logs","troubleshoot_dump.form.include_metrics":"Include metrics","troubleshoot_dump.form.submit":"Schedule","troubleshoot_dump.table.action_id":"Action ID","troubleshoot_dump.table.status":"Status","troubleshoot_dump.table.start_at":"Start at","troubleshoot_dump.table.end_at":"End at","troubleshoot_dump.table.created_at":"Created at","troubleshoot_dump.table.size":"Size","troubleshoot_dump.table.actions.download":"Download","troubleshoot_dump.table.actions.delete":"Delete","troubleshoot_dump.dialog.delete.title":"Delete dump","troubleshoot_dump.dialog.delete.description":"Are you sure to delete dump {id}?","restart.progress.title":"Restarting...","darkmode.title":"Appearance","darkmode.light":"Light","darkmode.dark":"Dark","darkmode.system":"System","route.diameter":"Diameter","route.diameter.connections":"Connections","route.diameter.peers":"Peers","route.ngap":"NGAP","route.ngap.connections":"Connections","route.ngap.listeners":"Listeners","route.gtpc.sockets":"Sockets","route.gtpc.peers":"Peers","route.gtpc.denypeer.blocked_peers":"Blocked Peers","route.gtpu.sockets":"Sockets","route.pfcp.sockets":"Sockets","route.pfcp.peers":"Peers","route.mme":"MME","route.mme.status":"Status","route.mme.status.diameter":"Diameter","route.mme.status.s1ap":"S1AP","route.mme.status.s1ap.connections":"Connections","route.mme.status.s1ap.listeners":"Listeners","route.mme.status.gtpc":"GTP-C","route.mme.status.pfcp":"PFCP","route.mme.status.gtpu":"GTP-U","route.mme.status.gtpu.sockets":"Sockets","route.mme.status.sgs":"SGs","route.mme.status.sgs.connections":"Connections","route.mme.status.sbcap":"SBcAP","route.mme.status.sbcap.connections":"Connections","route.mme.status.sbcap.listeners":"Listeners","route.mme.status.dns":"DNS","route.mme.status.dns.cache":"Cache","route.mme.cluster":"Cluster","route.mme.configuration":"Configuration","route.mme.lawful-interception":"Lawful Interception","route.mme.status.m3":"M3","route.mme.status.m3.connections":"Connections","route.ncm.status.interfaces":"Interfaces","route.ncm.status.neighbors":"Neighbors","route.ncm.status.routes":"Routes","route.ncm.status.rules":"Rules","route.ncm.status.sockets":"Sockets","route.ncm.status.bird":"Dynamic Routing","route.ncm.status.bird.protocols":"Protocols","route.ncm.status.bird.bfd_sessions":"BFD Sessions","route.smf.status.gtpc":"GTP-C","route.smf.status.gtpu":"GTP-U","route.smf.status.pfcp":"PFCP","route.smf.lawful-interception":"Lawful Interception","route.smsf.smpp":"SMPP","route.smsf.smpp.connections":"Connections","route.smsf.configuration":"Configuration","route.smsf.status":"Status","route.smsf.cluster":"Cluster","route.smsf.sms-box":"SMS Box","route.sgwc.status.gtpc":"GTP-C","route.sgwc.status.pfcp":"PFCP","route.upf.status.pfcp":"PFCP","route.upf.status.gtpu":"GTP-U","route.boot-configuration":"Boot Configuration","route.new":"New","route.edit":"Edit","route.home":"Home","route.profile":"Profile","route.ncm":"Network","route.ncm.configuration":"Configuration","route.ncm.status":"Status","route.platform":"Platform","route.platform.auth":"Auth","route.platform.users":"Users","route.platform.roles":"Roles","route.platform.tls":"TLS","route.platform.log-shipping":"Log Shipping","route.platform.kpi-shipping":"KPI Shipping","route.platform.boot-configuration":"Boot Configuration","route.platform.cluster":"Cluster","route.system":"System","route.system.licensing":"Licensing","route.system.backup":"Backup & Restore","route.system.backup.configuration":"Configuration","route.system.backup.udr":"UDR","route.system.backup.eir":"EIR","route.system.backup.dsm":"DSM","route.system.backup.udm":"UDM","route.system.backup.nrf":"NRF","route.system.services":"Services","route.system.upgrade":"Upgrade","route.system.terminal":"Terminal","route.system.logs":"Logs","route.system.logs.entries":"Entries","route.system.logs.follow":"Follow","route.system.logs.cursor":"Log Entry","route.system.logs.cursor.caption":"__CURSOR: {cursor}","route.system.dialog.restart.title":"Restart","route.system.dialog.restart.text":"If you continue, the system will be restarted. Are you sure you want to proceed?","route.monitoring":"Monitoring","route.monitoring.system":"System","route.monitoring.core-statistics":"Core","route.monitoring.ue-status":"UE Status","route.monitoring.alerts":"Alerts","route.udr":"UDR","route.udr.configuration":"Configuration","route.udr.plmns":"Supported PLMNs","route.udr.supis":"SUPIs","route.udr.supis.new":"New SUPI","route.udr.supis.id":"SUPI","route.udr.supis.id.caption":"ID: {id}","route.udr.provisioned-data-profile":"Provisioned Data Profiles","route.udr.provisioned-data-profile.new":"New Provisioned Data Profiles","route.udr.provisioned-data-profile.id":"Provisioned Data Profile","route.udr.provisioned-data-profile.id.caption":"ID: {id}","route.udr.policy-data-profile":"Policy Data Profiles","route.udr.policy-data-profile.new":"New Policy Data Profile","route.udr.policy-data-profile.id":"Policy Data Profile","route.udr.policy-data-profile.id.caption":"ID: {id}","route.udr.ims-application-server-acls":"IMS Application Server ACLs","route.udr.ims-private-identities":"IMS Private Identities","route.udr.ims-private-identities.new":"New Private Identity","route.udr.ims-private-identities.id":"Private Identity","route.udr.ims-private-identities.id.caption":"ID: {id}","route.udr.ims-private-identities.id.application-servers-profiles":"Application Servers Profiles","route.udr.ims-private-identities.id.application-servers-profiles.caption":"Name: {name}","route.udr.ims-service-profiles":"IMS Service Profiles","route.udr.ims-initial-filters":"IMS Initial Filters","route.udr.transport-keys":"Transport Keys","route.udr.operator-codes":"Operator Codes","route.udr.cluster":"Cluster","route.udr.custom-milenage-constants":"Custom MILENAGE Constants","route.udm":"UDM","route.udm.configuration":"Configuration","route.udm.home-network-keys":"Home Network Keys","route.udm.cluster":"Cluster","route.udm.status":"Status","route.udm.plmn-prefixes":"PLMN Prefixes","route.eir":"EIR","route.eir.configuration":"Configuration","route.eir.rules":"Rules","route.eir.auto-rules":"Auto rules","route.eir.cluster":"Cluster","route.eir.status":"Status","route.chf":"CHF","route.chf.status":"Status","route.chf.cluster":"Cluster","route.chf.configuration":"Configuration","route.chf.status.gtp_prime":"GTP'","route.nrf":"NRF","route.nrf.configuration":"Configuration","route.nrf.static-profiles":"Static Profiles","route.nrf.static-profiles.new":"New Static Profile","route.nrf.static-profiles.id":"Static Profile","route.nrf.static-profiles.id.caption":"NF Instance ID: {id}","route.nrf.cluster":"Cluster","route.nrf.status":"Status","route.aaa":"AAA","route.aaa.cluster":"Cluster","route.aaa.configuration":"Configuration","route.aaa.status":"Status","route.aaa.status.radius":"Radius","route.amf":"AMF","route.amf.cluster":"Cluster","route.amf.configuration":"Configuration","route.amf.status":"Status","route.smf":"SMF","route.smf.status":"Status","route.smf.configuration":"Configuration","route.smf.cluster":"Cluster","route.smsf":"SMSF","route.upf":"UPF","route.upf.cluster":"Cluster","route.upf.configuration":"Configuration","route.upf.status":"Status","route.upf.lawful-interception":"Lawful Interception","route.pcf":"PCF","route.pcf.cluster":"Cluster","route.pcf.configuration":"Configuration","route.pcf.status":"Status","route.ausf":"AUSF","route.ausf.cluster":"Cluster","route.ausf.configuration":"Configuration","route.dra":"DRA","route.dra.cluster":"Cluster","route.dra.configuration":"Configuration","route.dra.status":"Status","route.dsm":"DNS","route.dsm.configuration":"Configuration","route.dsm.zones":"Zones","route.dsm.cluster":"Cluster","route.sgwc":"SGW","route.sgwc.status":"Status","route.sgwc.cluster":"Cluster","route.sgwc.configuration":"Configuration","route.bmsc":"BMSC","route.bmsc.status":"Status","route.bmsc.cluster":"Cluster","route.bmsc.configuration":"Configuration","route.bmsc.status.gtpc":"GTP-C","route.restart":"Restart","route.docs":"Guides","route.docs.datasheet":"Datasheet","route.docs.feature-description":"Feature Description","route.docs.installation-guide":"Installation Guide","route.docs.monitoring-guide":"Monitoring Guide","route.docs.product-description":"Product Description","route.docs.release-notes":"Release Notes","route.docs.security-guide":"Security Guide","route.docs.troubleshooting-guide":"Troubleshooting Guide","route.docs.user-guide":"User Guide","route.docs.oas":"OpenAPI Specifications","route.docs.oas.aaa":"AAA","route.docs.oas.amf":"AMF","route.docs.oas.ausf":"AUSF","route.docs.oas.bmsc":"BMSC","route.docs.oas.chf":"CHF","route.docs.oas.dra":"DRA","route.docs.oas.dsm":"DSM","route.docs.oas.eir":"EIR","route.docs.oas.licensed":"LICENSED","route.docs.oas.mme":"MME","route.docs.oas.ncm":"NCM","route.docs.oas.nrf":"NRF","route.docs.oas.pcf":"PCF","route.docs.oas.pls":"PLS","route.docs.oas.sgwc":"SGWC","route.docs.oas.smf":"SMF","route.docs.oas.smsf":"SMSF","route.docs.oas.udm":"UDM","route.docs.oas.udr":"UDR","route.docs.oas.upf":"UPF","route.docs.oas.swUpdate":"Software Update","route.pls":"PLS","route.platform.audit":"Audit","route.platform.alert-shipping":"Alert Shipping","route.platform.audit.caption":"User: {username}","idle-state.modal.title":"Are you still there?","idle-state.modal.message":"You've been inactive for a while. Your session will expire soon.","idle-state.modal.continue":"I'm here","audits.action":"Action","audits.auth":"Auth","audits.auth.allowed":"Allowed","audits.auth.denied":"Denied","audits.created_at":"Timestamp","audits.source_ip":"Source IP","system_usage_terms.title":"Terms & conditions","system_usage_terms.form.checkbox.hint":"Enable/disable terms & conditions banner inside login page","system_usage_terms.form.terms":"Terms","system_usage_terms.form.errors.required":"Field is required","system_usage_terms.form.forbidden_notice":"Forbidden notice","system_usage_terms.form.forbidden_notice.alert":"Forbidden notice will be shown inside a warning alert","system_usage_terms.checkbox.accept":"Accept terms & conditions","route.auth.strategies":"Authentication strategies","route.auth.auth_config":"Authentication configuration","route.auth.terms":"Terms & conditions","route.boot_partitions":"Boot Partitions","route.system.dialog.boot_partitions.title":"Boot partitions","route.system.dialog.boot_partitions.subtitle":"Select default boot partition","route.system.dialog.confirm_reboot.title":"System reboot","route.system.dialog.confirm_reboot.description":"To change default partition system must be rebooted. Do you want to proceed?","route.system.troubleshoot_dump":"Troubleshoot Dump"},Eoe={en:hDe,it:_De},zE="en-US",Roe=t=>t.split("-")[0],Ioe=()=>{let t;try{t=Intl.getCanonicalLocales([navigator.language])[0]}catch{console.warn(`Invalid locale detected "${navigator.language}". Used default one "${zE}".`),t=zE}return Roe(t)in Eoe?t:zE},Doe=t=>Eoe[Roe(t)],Pr=()=>{const t=Ioe(),e=Doe(t);return C6({locale:t,messages:e})};let AC=null;function vDe({snackbarOpenFn:t}){AC||(AC=new Proxy({props:{}},{set(e,r,n){return r==="props"?(e.props=n,t(n),!0):!1}}))}function zL(t){AC&&(AC.props=t)}function Nt(t){zL({title:t||Pr().formatMessage({id:"toastr.successful"}),severity:"success"})}function Ar(t){zL({title:t||Pr().formatMessage({id:"toastr.failure"}),severity:"error"})}function yDe(){const t=he.c(3),{snackbarOpen:e}=Jt();let r,n;return t[0]!==e?(r=()=>{vDe({snackbarOpenFn:e})},n=[e],t[0]=e,t[1]=r,t[2]=n):(r=t[1],n=t[2]),I.useEffect(r,n),null}function zs(){return zs=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},zs.apply(this,arguments)}var $i;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})($i||($i={}));const qG="popstate";function bDe(t){t===void 0&&(t={});function e(n,s){let{pathname:i,search:o,hash:l}=n.location;return Yb("",{pathname:i,search:o,hash:l},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function r(n,s){return typeof s=="string"?s:Cp(s)}return SDe(e,r,null,t)}function Jr(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function H_(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function xDe(){return Math.random().toString(36).substr(2,8)}function VG(t,e){return{usr:t.state,key:t.key,idx:e}}function Yb(t,e,r,n){return r===void 0&&(r=null),zs({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?Op(e):e,{state:r,key:e&&e.key||n||xDe()})}function Cp(t){let{pathname:e="/",search:r="",hash:n=""}=t;return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Op(t){let e={};if(t){let r=t.indexOf("#");r>=0&&(e.hash=t.substr(r),t=t.substr(0,r));let n=t.indexOf("?");n>=0&&(e.search=t.substr(n),t=t.substr(0,n)),t&&(e.pathname=t)}return e}function SDe(t,e,r,n){n===void 0&&(n={});let{window:s=document.defaultView,v5Compat:i=!1}=n,o=s.history,l=$i.Pop,c=null,u=d();u==null&&(u=0,o.replaceState(zs({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function f(){l=$i.Pop;let g=d(),y=g==null?null:g-u;u=g,c&&c({action:l,location:_.location,delta:y})}function p(g,y){l=$i.Push;let b=Yb(_.location,g,y);u=d()+1;let x=VG(b,u),w=_.createHref(b);try{o.pushState(x,"",w)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;s.location.assign(w)}i&&c&&c({action:l,location:_.location,delta:1})}function m(g,y){l=$i.Replace;let b=Yb(_.location,g,y);u=d();let x=VG(b,u),w=_.createHref(b);o.replaceState(x,"",w),i&&c&&c({action:l,location:_.location,delta:0})}function h(g){let y=s.location.origin!=="null"?s.location.origin:s.location.href,b=typeof g=="string"?g:Cp(g);return b=b.replace(/ $/,"%20"),Jr(y,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,y)}let _={get action(){return l},get location(){return t(s,o)},listen(g){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(qG,f),c=g,()=>{s.removeEventListener(qG,f),c=null}},createHref(g){return e(s,g)},createURL:h,encodeLocation(g){let y=h(g);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:p,replace:m,go(g){return o.go(g)}};return _}var Cs;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Cs||(Cs={}));const wDe=new Set(["lazy","caseSensitive","path","id","index","children"]);function CDe(t){return t.index===!0}function kC(t,e,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),t.map((s,i)=>{let o=[...r,String(i)],l=typeof s.id=="string"?s.id:o.join("-");if(Jr(s.index!==!0||!s.children,"Cannot specify children on an index route"),Jr(!n[l],'Found a route id collision on id "'+l+`".  Route id's must be globally unique within Data Router usages`),CDe(s)){let c=zs({},s,e(s),{id:l});return n[l]=c,c}else{let c=zs({},s,e(s),{id:l,children:void 0});return n[l]=c,s.children&&(c.children=kC(s.children,e,o,n)),c}})}function zm(t,e,r){return r===void 0&&(r="/"),Gw(t,e,r,!1)}function Gw(t,e,r,n){let s=typeof e=="string"?Op(e):e,i=Lc(s.pathname||"/",r);if(i==null)return null;let o=Ooe(t);ADe(o);let l=null;for(let c=0;l==null&&c<o.length;++c){let u=ODe(i);l=DDe(o[c],u,n)}return l}function $oe(t,e){let{route:r,pathname:n,params:s}=t;return{id:r.id,pathname:n,params:s,data:e[r.id],handle:r.handle}}function Ooe(t,e,r,n){e===void 0&&(e=[]),r===void 0&&(r=[]),n===void 0&&(n="");let s=(i,o,l)=>{let c={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};c.relativePath.startsWith("/")&&(Jr(c.relativePath.startsWith(n),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(n.length));let u=$u([n,c.relativePath]),d=r.concat(c);i.children&&i.children.length>0&&(Jr(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Ooe(i.children,e,d,u)),!(i.path==null&&!i.index)&&e.push({path:u,score:RDe(u,i.index),routesMeta:d})};return t.forEach((i,o)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))s(i,o);else for(let c of Loe(i.path))s(i,o,c)}),e}function Loe(t){let e=t.split("/");if(e.length===0)return[];let[r,...n]=e,s=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return s?[i,""]:[i];let o=Loe(n.join("/")),l=[];return l.push(...o.map(c=>c===""?i:[i,c].join("/"))),s&&l.push(...o),l.map(c=>t.startsWith("/")&&c===""?"/":c)}function ADe(t){t.sort((e,r)=>e.score!==r.score?r.score-e.score:IDe(e.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const kDe=/^:[\w-]+$/,MDe=3,PDe=2,jDe=1,TDe=10,EDe=-2,HG=t=>t==="*";function RDe(t,e){let r=t.split("/"),n=r.length;return r.some(HG)&&(n+=EDe),e&&(n+=PDe),r.filter(s=>!HG(s)).reduce((s,i)=>s+(kDe.test(i)?MDe:i===""?jDe:TDe),n)}function IDe(t,e){return t.length===e.length&&t.slice(0,-1).every((n,s)=>n===e[s])?t[t.length-1]-e[e.length-1]:0}function DDe(t,e,r){r===void 0&&(r=!1);let{routesMeta:n}=t,s={},i="/",o=[];for(let l=0;l<n.length;++l){let c=n[l],u=l===n.length-1,d=i==="/"?e:e.slice(i.length)||"/",f=MC({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),p=c.route;if(!f&&u&&r&&!n[n.length-1].route.index&&(f=MC({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},d)),!f)return null;Object.assign(s,f.params),o.push({params:s,pathname:$u([i,f.pathname]),pathnameBase:FDe($u([i,f.pathnameBase])),route:p}),f.pathnameBase!=="/"&&(i=$u([i,f.pathnameBase]))}return o}function MC(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[r,n]=$De(t.path,t.caseSensitive,t.end),s=e.match(r);if(!s)return null;let i=s[0],o=i.replace(/(.)\/+$/,"$1"),l=s.slice(1);return{params:n.reduce((u,d,f)=>{let{paramName:p,isOptional:m}=d;if(p==="*"){let _=l[f]||"";o=i.slice(0,i.length-_.length).replace(/(.)\/+$/,"$1")}const h=l[f];return m&&!h?u[p]=void 0:u[p]=(h||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:t}}function $De(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!0),H_(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 n=[],s="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,l,c)=>(n.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(n.push({paramName:"*"}),s+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?s+="\\/*$":t!==""&&t!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,e?void 0:"i"),n]}function ODe(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return H_(!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 Lc(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,n=t.charAt(r);return n&&n!=="/"?null:t.slice(r)||"/"}function LDe(t,e){e===void 0&&(e="/");let{pathname:r,search:n="",hash:s=""}=typeof t=="string"?Op(t):t;return{pathname:r?r.startsWith("/")?r:NDe(r,e):e,search:UDe(n),hash:BDe(s)}}function NDe(t,e){let r=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(s=>{s===".."?r.length>1&&r.pop():s!=="."&&r.push(s)}),r.length>1?r.join("/"):"/"}function qE(t,e,r,n){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(n)+"].  Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Noe(t){return t.filter((e,r)=>r===0||e.route.path&&e.route.path.length>0)}function LA(t,e){let r=Noe(t);return e?r.map((n,s)=>s===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function NA(t,e,r,n){n===void 0&&(n=!1);let s;typeof t=="string"?s=Op(t):(s=zs({},t),Jr(!s.pathname||!s.pathname.includes("?"),qE("?","pathname","search",s)),Jr(!s.pathname||!s.pathname.includes("#"),qE("#","pathname","hash",s)),Jr(!s.search||!s.search.includes("#"),qE("#","search","hash",s)));let i=t===""||s.pathname==="",o=i?"/":s.pathname,l;if(o==null)l=r;else{let f=e.length-1;if(!n&&o.startsWith("..")){let p=o.split("/");for(;p[0]==="..";)p.shift(),f-=1;s.pathname=p.join("/")}l=f>=0?e[f]:"/"}let c=LDe(s,l),u=o&&o!=="/"&&o.endsWith("/"),d=(i||o===".")&&r.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const $u=t=>t.join("/").replace(/\/\/+/g,"/"),FDe=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),UDe=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,BDe=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,Ft=function(e,r){r===void 0&&(r={});let n=typeof r=="number"?{status:r}:r,s=new Headers(n.headers);return s.has("Content-Type")||s.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),zs({},n,{headers:s}))};class L6 extends Error{}class zDe{constructor(e,r){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Jr(e&&typeof e=="object"&&!Array.isArray(e),"defer() only accepts plain objects");let n;this.abortPromise=new Promise((i,o)=>n=o),this.controller=new AbortController;let s=()=>n(new L6("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",s),this.controller.signal.addEventListener("abort",s),this.data=Object.entries(e).reduce((i,o)=>{let[l,c]=o;return Object.assign(i,{[l]:this.trackPromise(l,c)})},{}),this.done&&this.unlistenAbortSignal(),this.init=r}trackPromise(e,r){if(!(r instanceof Promise))return r;this.deferredKeys.push(e),this.pendingKeysSet.add(e);let n=Promise.race([r,this.abortPromise]).then(s=>this.onSettle(n,e,void 0,s),s=>this.onSettle(n,e,s));return n.catch(()=>{}),Object.defineProperty(n,"_tracked",{get:()=>!0}),n}onSettle(e,r,n,s){if(this.controller.signal.aborted&&n instanceof L6)return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>n}),Promise.reject(n);if(this.pendingKeysSet.delete(r),this.done&&this.unlistenAbortSignal(),n===void 0&&s===void 0){let i=new Error('Deferred data for key "'+r+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:()=>i}),this.emit(!1,r),Promise.reject(i)}return s===void 0?(Object.defineProperty(e,"_error",{get:()=>n}),this.emit(!1,r),Promise.reject(n)):(Object.defineProperty(e,"_data",{get:()=>s}),this.emit(!1,r),s)}emit(e,r){this.subscribers.forEach(n=>n(e,r))}subscribe(e){return this.subscribers.add(e),()=>this.subscribers.delete(e)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((e,r)=>this.pendingKeysSet.delete(r)),this.emit(!0)}async resolveData(e){let r=!1;if(!this.done){let n=()=>this.cancel();e.addEventListener("abort",n),r=await new Promise(s=>{this.subscribe(i=>{e.removeEventListener("abort",n),(i||this.done)&&s(i)})})}return r}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Jr(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((e,r)=>{let[n,s]=r;return Object.assign(e,{[n]:VDe(s)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function qDe(t){return t instanceof Promise&&t._tracked===!0}function VDe(t){if(!qDe(t))return t;if(t._error)throw t._error;return t._data}const Foe=function(e,r){r===void 0&&(r={});let n=typeof r=="number"?{status:r}:r;return new zDe(e,n)},rt=function(e,r){r===void 0&&(r=302);let n=r;typeof n=="number"?n={status:n}:typeof n.status>"u"&&(n.status=302);let s=new Headers(n.headers);return s.set("Location",e),new Response(null,zs({},n,{headers:s}))};class PC{constructor(e,r,n,s){s===void 0&&(s=!1),this.status=e,this.statusText=r||"",this.internal=s,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function Ch(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const Uoe=["post","put","patch","delete"],HDe=new Set(Uoe),GDe=["get",...Uoe],WDe=new Set(GDe),YDe=new Set([301,302,303,307,308]),KDe=new Set([307,308]),VE={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Boe={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},xy={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},qL=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,QDe=t=>({hasErrorBoundary:!!t.hasErrorBoundary}),zoe="remix-router-transitions";function ZDe(t){const e=t.window?t.window:typeof window<"u"?window:void 0,r=typeof e<"u"&&typeof e.document<"u"&&typeof e.document.createElement<"u",n=!r;Jr(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(t.mapRouteProperties)s=t.mapRouteProperties;else if(t.detectErrorBoundary){let Pe=t.detectErrorBoundary;s=Ae=>({hasErrorBoundary:Pe(Ae)})}else s=QDe;let i={},o=kC(t.routes,s,void 0,i),l,c=t.basename||"/",u=t.dataStrategy||t6e,d=t.patchRoutesOnNavigation,f=zs({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},t.future),p=null,m=new Set,h=null,_=null,g=null,y=t.hydrationData!=null,b=zm(o,t.history.location,c),x=!1,w=null;if(b==null&&!d){let Pe=Ma(404,{pathname:t.history.location.pathname}),{matches:Ae,route:ze}=rW(o);b=Ae,w={[ze.id]:Pe}}b&&!t.hydrationData&&Zt(b,o,t.history.location.pathname).active&&(b=null);let C;if(b)if(b.some(Pe=>Pe.route.lazy))C=!1;else if(!b.some(Pe=>Pe.route.loader))C=!0;else if(f.v7_partialHydration){let Pe=t.hydrationData?t.hydrationData.loaderData:null,Ae=t.hydrationData?t.hydrationData.errors:null;if(Ae){let ze=b.findIndex(_t=>Ae[_t.route.id]!==void 0);C=b.slice(0,ze+1).every(_t=>!F6(_t.route,Pe,Ae))}else C=b.every(ze=>!F6(ze.route,Pe,Ae))}else C=t.hydrationData!=null;else if(C=!1,b=[],f.v7_partialHydration){let Pe=Zt(null,o,t.history.location.pathname);Pe.active&&Pe.matches&&(x=!0,b=Pe.matches)}let k,A={historyAction:t.history.action,location:t.history.location,matches:b,initialized:C,navigation:VE,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||w,fetchers:new Map,blockers:new Map},P=$i.Pop,T=!1,j,R=!1,D=new Map,O=null,N=!1,F=!1,U=[],z=new Set,H=new Map,W=0,K=-1,q=new Map,X=new Set,Q=new Map,Y=new Map,Z=new Set,re=new Map,fe=new Map,de;function se(){if(p=t.history.listen(Pe=>{let{action:Ae,location:ze,delta:_t}=Pe;if(de){de(),de=void 0;return}H_(fe.size===0||_t!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let jt=hr({currentLocation:A.location,nextLocation:ze,historyAction:Ae});if(jt&&_t!=null){let Gt=new Promise(Yt=>{de=Yt});t.history.go(_t*-1),ar(jt,{state:"blocked",location:ze,proceed(){ar(jt,{state:"proceeding",proceed:void 0,reset:void 0,location:ze}),Gt.then(()=>t.history.go(_t))},reset(){let Yt=new Map(A.blockers);Yt.set(jt,xy),J({blockers:Yt})}});return}return ve(Ae,ze)}),r){h6e(e,D);let Pe=()=>g6e(e,D);e.addEventListener("pagehide",Pe),O=()=>e.removeEventListener("pagehide",Pe)}return A.initialized||ve($i.Pop,A.location,{initialHydration:!0}),k}function le(){p&&p(),O&&O(),m.clear(),j&&j.abort(),A.fetchers.forEach((Pe,Ae)=>ft(Ae)),A.blockers.forEach((Pe,Ae)=>qt(Ae))}function ee(Pe){return m.add(Pe),()=>m.delete(Pe)}function J(Pe,Ae){Ae===void 0&&(Ae={}),A=zs({},A,Pe);let ze=[],_t=[];f.v7_fetcherPersist&&A.fetchers.forEach((jt,Gt)=>{jt.state==="idle"&&(Z.has(Gt)?_t.push(Gt):ze.push(Gt))}),Z.forEach(jt=>{!A.fetchers.has(jt)&&!H.has(jt)&&_t.push(jt)}),[...m].forEach(jt=>jt(A,{deletedFetchers:_t,viewTransitionOpts:Ae.viewTransitionOpts,flushSync:Ae.flushSync===!0})),f.v7_fetcherPersist?(ze.forEach(jt=>A.fetchers.delete(jt)),_t.forEach(jt=>ft(jt))):_t.forEach(jt=>Z.delete(jt))}function me(Pe,Ae,ze){var _t,jt;let{flushSync:Gt}=ze===void 0?{}:ze,Yt=A.actionData!=null&&A.navigation.formMethod!=null&&kc(A.navigation.formMethod)&&A.navigation.state==="loading"&&((_t=Pe.state)==null?void 0:_t._isRedirect)!==!0,Rt;Ae.actionData?Object.keys(Ae.actionData).length>0?Rt=Ae.actionData:Rt=null:Yt?Rt=A.actionData:Rt=null;let At=Ae.loaderData?eW(A.loaderData,Ae.loaderData,Ae.matches||[],Ae.errors):A.loaderData,zt=A.blockers;zt.size>0&&(zt=new Map(zt),zt.forEach((ct,ke)=>zt.set(ke,xy)));let or=T===!0||A.navigation.formMethod!=null&&kc(A.navigation.formMethod)&&((jt=Pe.state)==null?void 0:jt._isRedirect)!==!0;l&&(o=l,l=void 0),N||P===$i.Pop||(P===$i.Push?t.history.push(Pe,Pe.state):P===$i.Replace&&t.history.replace(Pe,Pe.state));let ot;if(P===$i.Pop){let ct=D.get(A.location.pathname);ct&&ct.has(Pe.pathname)?ot={currentLocation:A.location,nextLocation:Pe}:D.has(Pe.pathname)&&(ot={currentLocation:Pe,nextLocation:A.location})}else if(R){let ct=D.get(A.location.pathname);ct?ct.add(Pe.pathname):(ct=new Set([Pe.pathname]),D.set(A.location.pathname,ct)),ot={currentLocation:A.location,nextLocation:Pe}}J(zs({},Ae,{actionData:Rt,loaderData:At,historyAction:P,location:Pe,initialized:!0,navigation:VE,revalidation:"idle",restoreScrollPosition:fn(Pe,Ae.matches||A.matches),preventScrollReset:or,blockers:zt}),{viewTransitionOpts:ot,flushSync:Gt===!0}),P=$i.Pop,T=!1,R=!1,N=!1,F=!1,U=[]}async function pe(Pe,Ae){if(typeof Pe=="number"){t.history.go(Pe);return}let ze=N6(A.location,A.matches,c,f.v7_prependBasename,Pe,f.v7_relativeSplatPath,Ae?.fromRouteId,Ae?.relative),{path:_t,submission:jt,error:Gt}=GG(f.v7_normalizeFormMethod,!1,ze,Ae),Yt=A.location,Rt=Yb(A.location,_t,Ae&&Ae.state);Rt=zs({},Rt,t.history.encodeLocation(Rt));let At=Ae&&Ae.replace!=null?Ae.replace:void 0,zt=$i.Push;At===!0?zt=$i.Replace:At===!1||jt!=null&&kc(jt.formMethod)&&jt.formAction===A.location.pathname+A.location.search&&(zt=$i.Replace);let or=Ae&&"preventScrollReset"in Ae?Ae.preventScrollReset===!0:void 0,ot=(Ae&&Ae.flushSync)===!0,ct=hr({currentLocation:Yt,nextLocation:Rt,historyAction:zt});if(ct){ar(ct,{state:"blocked",location:Rt,proceed(){ar(ct,{state:"proceeding",proceed:void 0,reset:void 0,location:Rt}),pe(Pe,Ae)},reset(){let ke=new Map(A.blockers);ke.set(ct,xy),J({blockers:ke})}});return}return await ve(zt,Rt,{submission:jt,pendingError:Gt,preventScrollReset:or,replace:Ae&&Ae.replace,enableViewTransition:Ae&&Ae.viewTransition,flushSync:ot})}function Se(){if($e(),J({revalidation:"loading"}),A.navigation.state!=="submitting"){if(A.navigation.state==="idle"){ve(A.historyAction,A.location,{startUninterruptedRevalidation:!0});return}ve(P||A.historyAction,A.navigation.location,{overrideNavigation:A.navigation,enableViewTransition:R===!0})}}async function ve(Pe,Ae,ze){j&&j.abort(),j=null,P=Pe,N=(ze&&ze.startUninterruptedRevalidation)===!0,Ut(A.location,A.matches),T=(ze&&ze.preventScrollReset)===!0,R=(ze&&ze.enableViewTransition)===!0;let _t=l||o,jt=ze&&ze.overrideNavigation,Gt=ze!=null&&ze.initialHydration&&A.matches&&A.matches.length>0&&!x?A.matches:zm(_t,Ae,c),Yt=(ze&&ze.flushSync)===!0;if(Gt&&A.initialized&&!F&&a6e(A.location,Ae)&&!(ze&&ze.submission&&kc(ze.submission.formMethod))){me(Ae,{matches:Gt},{flushSync:Yt});return}let Rt=Zt(Gt,_t,Ae.pathname);if(Rt.active&&Rt.matches&&(Gt=Rt.matches),!Gt){let{error:He,notFoundMatches:ut,route:It}=ir(Ae.pathname);me(Ae,{matches:ut,loaderData:{},errors:{[It.id]:He}},{flushSync:Yt});return}j=new AbortController;let At=Ug(t.history,Ae,j.signal,ze&&ze.submission),zt;if(ze&&ze.pendingError)zt=[qm(Gt).route.id,{type:Cs.error,error:ze.pendingError}];else if(ze&&ze.submission&&kc(ze.submission.formMethod)){let He=await xe(At,Ae,ze.submission,Gt,Rt.active,{replace:ze.replace,flushSync:Yt});if(He.shortCircuited)return;if(He.pendingActionResult){let[ut,It]=He.pendingActionResult;if(tl(It)&&Ch(It.error)&&It.error.status===404){j=null,me(Ae,{matches:He.matches,loaderData:{},errors:{[ut]:It.error}});return}}Gt=He.matches||Gt,zt=He.pendingActionResult,jt=HE(Ae,ze.submission),Yt=!1,Rt.active=!1,At=Ug(t.history,At.url,At.signal)}let{shortCircuited:or,matches:ot,loaderData:ct,errors:ke}=await qe(At,Ae,Gt,Rt.active,jt,ze&&ze.submission,ze&&ze.fetcherSubmission,ze&&ze.replace,ze&&ze.initialHydration===!0,Yt,zt);or||(j=null,me(Ae,zs({matches:ot||Gt},tW(zt),{loaderData:ct,errors:ke})))}async function xe(Pe,Ae,ze,_t,jt,Gt){Gt===void 0&&(Gt={}),$e();let Yt=p6e(Ae,ze);if(J({navigation:Yt},{flushSync:Gt.flushSync===!0}),jt){let zt=await _r(_t,Ae.pathname,Pe.signal);if(zt.type==="aborted")return{shortCircuited:!0};if(zt.type==="error"){let or=qm(zt.partialMatches).route.id;return{matches:zt.partialMatches,pendingActionResult:[or,{type:Cs.error,error:zt.error}]}}else if(zt.matches)_t=zt.matches;else{let{notFoundMatches:or,error:ot,route:ct}=ir(Ae.pathname);return{matches:or,pendingActionResult:[ct.id,{type:Cs.error,error:ot}]}}}let Rt,At=Xy(_t,Ae);if(!At.route.action&&!At.route.lazy)Rt={type:Cs.error,error:Ma(405,{method:Pe.method,pathname:Ae.pathname,routeId:At.route.id})};else if(Rt=(await we("action",A,Pe,[At],_t,null))[At.route.id],Pe.signal.aborted)return{shortCircuited:!0};if(Qm(Rt)){let zt;return Gt&&Gt.replace!=null?zt=Gt.replace:zt=ZG(Rt.response.headers.get("Location"),new URL(Pe.url),c)===A.location.pathname+A.location.search,await Re(Pe,Rt,!0,{submission:ze,replace:zt}),{shortCircuited:!0}}if(ap(Rt))throw Ma(400,{type:"defer-action"});if(tl(Rt)){let zt=qm(_t,At.route.id);return(Gt&&Gt.replace)!==!0&&(P=$i.Push),{matches:_t,pendingActionResult:[zt.route.id,Rt]}}return{matches:_t,pendingActionResult:[At.route.id,Rt]}}async function qe(Pe,Ae,ze,_t,jt,Gt,Yt,Rt,At,zt,or){let ot=jt||HE(Ae,Gt),ct=Gt||Yt||sW(ot),ke=!N&&(!f.v7_partialHydration||!At);if(_t){if(ke){let on=Le(or);J(zs({navigation:ot},on!==void 0?{actionData:on}:{}),{flushSync:zt})}let Er=await _r(ze,Ae.pathname,Pe.signal);if(Er.type==="aborted")return{shortCircuited:!0};if(Er.type==="error"){let on=qm(Er.partialMatches).route.id;return{matches:Er.partialMatches,loaderData:{},errors:{[on]:Er.error}}}else if(Er.matches)ze=Er.matches;else{let{error:on,notFoundMatches:Ei,route:ha}=ir(Ae.pathname);return{matches:Ei,loaderData:{},errors:{[ha.id]:on}}}}let He=l||o,[ut,It]=YG(t.history,A,ze,ct,Ae,f.v7_partialHydration&&At===!0,f.v7_skipActionErrorRevalidation,F,U,z,Z,Q,X,He,c,or);if(cr(Er=>!(ze&&ze.some(on=>on.route.id===Er))||ut&&ut.some(on=>on.route.id===Er)),K=++W,ut.length===0&&It.length===0){let Er=$t();return me(Ae,zs({matches:ze,loaderData:{},errors:or&&tl(or[1])?{[or[0]]:or[1].error}:null},tW(or),Er?{fetchers:new Map(A.fetchers)}:{}),{flushSync:zt}),{shortCircuited:!0}}if(ke){let Er={};if(!_t){Er.navigation=ot;let on=Le(or);on!==void 0&&(Er.actionData=on)}It.length>0&&(Er.fetchers=Te(It)),J(Er,{flushSync:zt})}It.forEach(Er=>{Et(Er.key),Er.controller&&H.set(Er.key,Er.controller)});let wr=()=>It.forEach(Er=>Et(Er.key));j&&j.signal.addEventListener("abort",wr);let{loaderResults:Cr,fetcherResults:sn}=await Me(A,ze,ut,It,Pe);if(Pe.signal.aborted)return{shortCircuited:!0};j&&j.signal.removeEventListener("abort",wr),It.forEach(Er=>H.delete(Er.key));let pn=p2(Cr);if(pn)return await Re(Pe,pn.result,!0,{replace:Rt}),{shortCircuited:!0};if(pn=p2(sn),pn)return X.add(pn.key),await Re(Pe,pn.result,!0,{replace:Rt}),{shortCircuited:!0};let{loaderData:jn,errors:es}=JG(A,ze,Cr,or,It,sn,re);re.forEach((Er,on)=>{Er.subscribe(Ei=>{(Ei||Er.done)&&re.delete(on)})}),f.v7_partialHydration&&At&&A.errors&&(es=zs({},A.errors,es));let Vr=$t(),Fr=Ee(K),Qn=Vr||Fr||It.length>0;return zs({matches:ze,loaderData:jn,errors:es},Qn?{fetchers:new Map(A.fetchers)}:{})}function Le(Pe){if(Pe&&!tl(Pe[1]))return{[Pe[0]]:Pe[1].data};if(A.actionData)return Object.keys(A.actionData).length===0?null:A.actionData}function Te(Pe){return Pe.forEach(Ae=>{let ze=A.fetchers.get(Ae.key),_t=Sy(void 0,ze?ze.data:void 0);A.fetchers.set(Ae.key,_t)}),new Map(A.fetchers)}function je(Pe,Ae,ze,_t){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Et(Pe);let jt=(_t&&_t.flushSync)===!0,Gt=l||o,Yt=N6(A.location,A.matches,c,f.v7_prependBasename,ze,f.v7_relativeSplatPath,Ae,_t?.relative),Rt=zm(Gt,Yt,c),At=Zt(Rt,Gt,Yt);if(At.active&&At.matches&&(Rt=At.matches),!Rt){Ne(Pe,Ae,Ma(404,{pathname:Yt}),{flushSync:jt});return}let{path:zt,submission:or,error:ot}=GG(f.v7_normalizeFormMethod,!0,Yt,_t);if(ot){Ne(Pe,Ae,ot,{flushSync:jt});return}let ct=Xy(Rt,zt),ke=(_t&&_t.preventScrollReset)===!0;if(or&&kc(or.formMethod)){Ge(Pe,Ae,zt,ct,Rt,At.active,jt,ke,or);return}Q.set(Pe,{routeId:Ae,path:zt}),nt(Pe,Ae,zt,ct,Rt,At.active,jt,ke,or)}async function Ge(Pe,Ae,ze,_t,jt,Gt,Yt,Rt,At){$e(),Q.delete(Pe);function zt(Zn){if(!Zn.route.action&&!Zn.route.lazy){let Fi=Ma(405,{method:At.formMethod,pathname:ze,routeId:Ae});return Ne(Pe,Ae,Fi,{flushSync:Yt}),!0}return!1}if(!Gt&&zt(_t))return;let or=A.fetchers.get(Pe);Ve(Pe,m6e(At,or),{flushSync:Yt});let ot=new AbortController,ct=Ug(t.history,ze,ot.signal,At);if(Gt){let Zn=await _r(jt,new URL(ct.url).pathname,ct.signal,Pe);if(Zn.type==="aborted")return;if(Zn.type==="error"){Ne(Pe,Ae,Zn.error,{flushSync:Yt});return}else if(Zn.matches){if(jt=Zn.matches,_t=Xy(jt,ze),zt(_t))return}else{Ne(Pe,Ae,Ma(404,{pathname:ze}),{flushSync:Yt});return}}H.set(Pe,ot);let ke=W,ut=(await we("action",A,ct,[_t],jt,Pe))[_t.route.id];if(ct.signal.aborted){H.get(Pe)===ot&&H.delete(Pe);return}if(f.v7_fetcherPersist&&Z.has(Pe)){if(Qm(ut)||tl(ut)){Ve(Pe,Yf(void 0));return}}else{if(Qm(ut))if(H.delete(Pe),K>ke){Ve(Pe,Yf(void 0));return}else return X.add(Pe),Ve(Pe,Sy(At)),Re(ct,ut,!1,{fetcherSubmission:At,preventScrollReset:Rt});if(tl(ut)){Ne(Pe,Ae,ut.error);return}}if(ap(ut))throw Ma(400,{type:"defer-action"});let It=A.navigation.location||A.location,wr=Ug(t.history,It,ot.signal),Cr=l||o,sn=A.navigation.state!=="idle"?zm(Cr,A.navigation.location,c):A.matches;Jr(sn,"Didn't find any matches after fetcher action");let pn=++W;q.set(Pe,pn);let jn=Sy(At,ut.data);A.fetchers.set(Pe,jn);let[es,Vr]=YG(t.history,A,sn,At,It,!1,f.v7_skipActionErrorRevalidation,F,U,z,Z,Q,X,Cr,c,[_t.route.id,ut]);Vr.filter(Zn=>Zn.key!==Pe).forEach(Zn=>{let Fi=Zn.key,lo=A.fetchers.get(Fi),Ki=Sy(void 0,lo?lo.data:void 0);A.fetchers.set(Fi,Ki),Et(Fi),Zn.controller&&H.set(Fi,Zn.controller)}),J({fetchers:new Map(A.fetchers)});let Fr=()=>Vr.forEach(Zn=>Et(Zn.key));ot.signal.addEventListener("abort",Fr);let{loaderResults:Qn,fetcherResults:Er}=await Me(A,sn,es,Vr,wr);if(ot.signal.aborted)return;ot.signal.removeEventListener("abort",Fr),q.delete(Pe),H.delete(Pe),Vr.forEach(Zn=>H.delete(Zn.key));let on=p2(Qn);if(on)return Re(wr,on.result,!1,{preventScrollReset:Rt});if(on=p2(Er),on)return X.add(on.key),Re(wr,on.result,!1,{preventScrollReset:Rt});let{loaderData:Ei,errors:ha}=JG(A,sn,Qn,void 0,Vr,Er,re);if(A.fetchers.has(Pe)){let Zn=Yf(ut.data);A.fetchers.set(Pe,Zn)}Ee(pn),A.navigation.state==="loading"&&pn>K?(Jr(P,"Expected pending action"),j&&j.abort(),me(A.navigation.location,{matches:sn,loaderData:Ei,errors:ha,fetchers:new Map(A.fetchers)})):(J({errors:ha,loaderData:eW(A.loaderData,Ei,sn,ha),fetchers:new Map(A.fetchers)}),F=!1)}async function nt(Pe,Ae,ze,_t,jt,Gt,Yt,Rt,At){let zt=A.fetchers.get(Pe);Ve(Pe,Sy(At,zt?zt.data:void 0),{flushSync:Yt});let or=new AbortController,ot=Ug(t.history,ze,or.signal);if(Gt){let ut=await _r(jt,new URL(ot.url).pathname,ot.signal,Pe);if(ut.type==="aborted")return;if(ut.type==="error"){Ne(Pe,Ae,ut.error,{flushSync:Yt});return}else if(ut.matches)jt=ut.matches,_t=Xy(jt,ze);else{Ne(Pe,Ae,Ma(404,{pathname:ze}),{flushSync:Yt});return}}H.set(Pe,or);let ct=W,He=(await we("loader",A,ot,[_t],jt,Pe))[_t.route.id];if(ap(He)&&(He=await VL(He,ot.signal,!0)||He),H.get(Pe)===or&&H.delete(Pe),!ot.signal.aborted){if(Z.has(Pe)){Ve(Pe,Yf(void 0));return}if(Qm(He))if(K>ct){Ve(Pe,Yf(void 0));return}else{X.add(Pe),await Re(ot,He,!1,{preventScrollReset:Rt});return}if(tl(He)){Ne(Pe,Ae,He.error);return}Jr(!ap(He),"Unhandled fetcher deferred data"),Ve(Pe,Yf(He.data))}}async function Re(Pe,Ae,ze,_t){let{submission:jt,fetcherSubmission:Gt,preventScrollReset:Yt,replace:Rt}=_t===void 0?{}:_t;Ae.response.headers.has("X-Remix-Revalidate")&&(F=!0);let At=Ae.response.headers.get("Location");Jr(At,"Expected a Location header on the redirect Response"),At=ZG(At,new URL(Pe.url),c);let zt=Yb(A.location,At,{_isRedirect:!0});if(r){let ut=!1;if(Ae.response.headers.has("X-Remix-Reload-Document"))ut=!0;else if(qL.test(At)){const It=t.history.createURL(At);ut=It.origin!==e.location.origin||Lc(It.pathname,c)==null}if(ut){Rt?e.location.replace(At):e.location.assign(At);return}}j=null;let or=Rt===!0||Ae.response.headers.has("X-Remix-Replace")?$i.Replace:$i.Push,{formMethod:ot,formAction:ct,formEncType:ke}=A.navigation;!jt&&!Gt&&ot&&ct&&ke&&(jt=sW(A.navigation));let He=jt||Gt;if(KDe.has(Ae.response.status)&&He&&kc(He.formMethod))await ve(or,zt,{submission:zs({},He,{formAction:At}),preventScrollReset:Yt||T,enableViewTransition:ze?R:void 0});else{let ut=HE(zt,jt);await ve(or,zt,{overrideNavigation:ut,fetcherSubmission:Gt,preventScrollReset:Yt||T,enableViewTransition:ze?R:void 0})}}async function we(Pe,Ae,ze,_t,jt,Gt){let Yt,Rt={};try{Yt=await r6e(u,Pe,Ae,ze,_t,jt,Gt,i,s)}catch(At){return _t.forEach(zt=>{Rt[zt.route.id]={type:Cs.error,error:At}}),Rt}for(let[At,zt]of Object.entries(Yt))if(l6e(zt)){let or=zt.result;Rt[At]={type:Cs.redirect,response:i6e(or,ze,At,jt,c,f.v7_relativeSplatPath)}}else Rt[At]=await s6e(zt);return Rt}async function Me(Pe,Ae,ze,_t,jt){let Gt=Pe.matches,Yt=we("loader",Pe,jt,ze,Ae,null),Rt=Promise.all(_t.map(async or=>{if(or.matches&&or.match&&or.controller){let ct=(await we("loader",Pe,Ug(t.history,or.path,or.controller.signal),[or.match],or.matches,or.key))[or.match.route.id];return{[or.key]:ct}}else return Promise.resolve({[or.key]:{type:Cs.error,error:Ma(404,{pathname:or.path})}})})),At=await Yt,zt=(await Rt).reduce((or,ot)=>Object.assign(or,ot),{});return await Promise.all([d6e(Ae,At,jt.signal,Gt,Pe.loaderData),f6e(Ae,zt,_t)]),{loaderResults:At,fetcherResults:zt}}function $e(){F=!0,U.push(...cr()),Q.forEach((Pe,Ae)=>{H.has(Ae)&&z.add(Ae),Et(Ae)})}function Ve(Pe,Ae,ze){ze===void 0&&(ze={}),A.fetchers.set(Pe,Ae),J({fetchers:new Map(A.fetchers)},{flushSync:(ze&&ze.flushSync)===!0})}function Ne(Pe,Ae,ze,_t){_t===void 0&&(_t={});let jt=qm(A.matches,Ae);ft(Pe),J({errors:{[jt.route.id]:ze},fetchers:new Map(A.fetchers)},{flushSync:(_t&&_t.flushSync)===!0})}function Oe(Pe){return Y.set(Pe,(Y.get(Pe)||0)+1),Z.has(Pe)&&Z.delete(Pe),A.fetchers.get(Pe)||Boe}function ft(Pe){let Ae=A.fetchers.get(Pe);H.has(Pe)&&!(Ae&&Ae.state==="loading"&&q.has(Pe))&&Et(Pe),Q.delete(Pe),q.delete(Pe),X.delete(Pe),f.v7_fetcherPersist&&Z.delete(Pe),z.delete(Pe),A.fetchers.delete(Pe)}function Ct(Pe){let Ae=(Y.get(Pe)||0)-1;Ae<=0?(Y.delete(Pe),Z.add(Pe),f.v7_fetcherPersist||ft(Pe)):Y.set(Pe,Ae),J({fetchers:new Map(A.fetchers)})}function Et(Pe){let Ae=H.get(Pe);Ae&&(Ae.abort(),H.delete(Pe))}function at(Pe){for(let Ae of Pe){let ze=Oe(Ae),_t=Yf(ze.data);A.fetchers.set(Ae,_t)}}function $t(){let Pe=[],Ae=!1;for(let ze of X){let _t=A.fetchers.get(ze);Jr(_t,"Expected fetcher: "+ze),_t.state==="loading"&&(X.delete(ze),Pe.push(ze),Ae=!0)}return at(Pe),Ae}function Ee(Pe){let Ae=[];for(let[ze,_t]of q)if(_t<Pe){let jt=A.fetchers.get(ze);Jr(jt,"Expected fetcher: "+ze),jt.state==="loading"&&(Et(ze),q.delete(ze),Ae.push(ze))}return at(Ae),Ae.length>0}function Be(Pe,Ae){let ze=A.blockers.get(Pe)||xy;return fe.get(Pe)!==Ae&&fe.set(Pe,Ae),ze}function qt(Pe){A.blockers.delete(Pe),fe.delete(Pe)}function ar(Pe,Ae){let ze=A.blockers.get(Pe)||xy;Jr(ze.state==="unblocked"&&Ae.state==="blocked"||ze.state==="blocked"&&Ae.state==="blocked"||ze.state==="blocked"&&Ae.state==="proceeding"||ze.state==="blocked"&&Ae.state==="unblocked"||ze.state==="proceeding"&&Ae.state==="unblocked","Invalid blocker state transition: "+ze.state+" -> "+Ae.state);let _t=new Map(A.blockers);_t.set(Pe,Ae),J({blockers:_t})}function hr(Pe){let{currentLocation:Ae,nextLocation:ze,historyAction:_t}=Pe;if(fe.size===0)return;fe.size>1&&H_(!1,"A router only supports one blocker at a time");let jt=Array.from(fe.entries()),[Gt,Yt]=jt[jt.length-1],Rt=A.blockers.get(Gt);if(!(Rt&&Rt.state==="proceeding")&&Yt({currentLocation:Ae,nextLocation:ze,historyAction:_t}))return Gt}function ir(Pe){let Ae=Ma(404,{pathname:Pe}),ze=l||o,{matches:_t,route:jt}=rW(ze);return cr(),{notFoundMatches:_t,route:jt,error:Ae}}function cr(Pe){let Ae=[];return re.forEach((ze,_t)=>{(!Pe||Pe(_t))&&(ze.cancel(),Ae.push(_t),re.delete(_t))}),Ae}function kr(Pe,Ae,ze){if(h=Pe,g=Ae,_=ze||null,!y&&A.navigation===VE){y=!0;let _t=fn(A.location,A.matches);_t!=null&&J({restoreScrollPosition:_t})}return()=>{h=null,g=null,_=null}}function Rr(Pe,Ae){return _&&_(Pe,Ae.map(_t=>$oe(_t,A.loaderData)))||Pe.key}function Ut(Pe,Ae){if(h&&g){let ze=Rr(Pe,Ae);h[ze]=g()}}function fn(Pe,Ae){if(h){let ze=Rr(Pe,Ae),_t=h[ze];if(typeof _t=="number")return _t}return null}function Zt(Pe,Ae,ze){if(d)if(Pe){if(Object.keys(Pe[0].params).length>0)return{active:!0,matches:Gw(Ae,ze,c,!0)}}else return{active:!0,matches:Gw(Ae,ze,c,!0)||[]};return{active:!1,matches:null}}async function _r(Pe,Ae,ze,_t){if(!d)return{type:"success",matches:Pe};let jt=Pe;for(;;){let Gt=l==null,Yt=l||o,Rt=i;try{await d({signal:ze,path:Ae,matches:jt,fetcherKey:_t,patch:(or,ot)=>{ze.aborted||QG(or,ot,Yt,Rt,s)}})}catch(or){return{type:"error",error:or,partialMatches:jt}}finally{Gt&&!ze.aborted&&(o=[...o])}if(ze.aborted)return{type:"aborted"};let At=zm(Yt,Ae,c);if(At)return{type:"success",matches:At};let zt=Gw(Yt,Ae,c,!0);if(!zt||jt.length===zt.length&&jt.every((or,ot)=>or.route.id===zt[ot].route.id))return{type:"success",matches:null};jt=zt}}function st(Pe){i={},l=kC(Pe,s,void 0,i)}function wt(Pe,Ae){let ze=l==null;QG(Pe,Ae,l||o,i,s),ze&&(o=[...o],J({}))}return k={get basename(){return c},get future(){return f},get state(){return A},get routes(){return o},get window(){return e},initialize:se,subscribe:ee,enableScrollRestoration:kr,navigate:pe,fetch:je,revalidate:Se,createHref:Pe=>t.history.createHref(Pe),encodeLocation:Pe=>t.history.encodeLocation(Pe),getFetcher:Oe,deleteFetcher:Ct,dispose:le,getBlocker:Be,deleteBlocker:qt,patchRoutes:wt,_internalFetchControllers:H,_internalActiveDeferreds:re,_internalSetRoutes:st},k}function XDe(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function N6(t,e,r,n,s,i,o,l){let c,u;if(o){c=[];for(let f of e)if(c.push(f),f.route.id===o){u=f;break}}else c=e,u=e[e.length-1];let d=NA(s||".",LA(c,i),Lc(t.pathname,r)||t.pathname,l==="path");if(s==null&&(d.search=t.search,d.hash=t.hash),(s==null||s===""||s===".")&&u){let f=HL(d.search);if(u.route.index&&!f)d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index";else if(!u.route.index&&f){let p=new URLSearchParams(d.search),m=p.getAll("index");p.delete("index"),m.filter(_=>_).forEach(_=>p.append("index",_));let h=p.toString();d.search=h?"?"+h:""}}return n&&r!=="/"&&(d.pathname=d.pathname==="/"?r:$u([r,d.pathname])),Cp(d)}function GG(t,e,r,n){if(!n||!XDe(n))return{path:r};if(n.formMethod&&!u6e(n.formMethod))return{path:r,error:Ma(405,{method:n.formMethod})};let s=()=>({path:r,error:Ma(400,{type:"invalid-body"})}),i=n.formMethod||"get",o=t?i.toUpperCase():i.toLowerCase(),l=Hoe(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!kc(o))return s();let p=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((m,h)=>{let[_,g]=h;return""+m+_+"="+g+`
/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js.bak:241:`},""):String(n.body);return{path:r,submission:{formMethod:o,formAction:l,formEncType:n.formEncType,formData:void 0,json:void 0,text:p}}}else if(n.formEncType==="application/json"){if(!kc(o))return s();try{let p=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:o,formAction:l,formEncType:n.formEncType,formData:void 0,json:p,text:void 0}}}catch{return s()}}}Jr(typeof FormData=="function","FormData is not available in this environment");let c,u;if(n.formData)c=U6(n.formData),u=n.formData;else if(n.body instanceof FormData)c=U6(n.body),u=n.body;else if(n.body instanceof URLSearchParams)c=n.body,u=XG(c);else if(n.body==null)c=new URLSearchParams,u=new FormData;else try{c=new URLSearchParams(n.body),u=XG(c)}catch{return s()}let d={formMethod:o,formAction:l,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(kc(d.formMethod))return{path:r,submission:d};let f=Op(r);return e&&f.search&&HL(f.search)&&c.append("index",""),f.search="?"+c,{path:Cp(f),submission:d}}function WG(t,e,r){r===void 0&&(r=!1);let n=t.findIndex(s=>s.route.id===e);return n>=0?t.slice(0,r?n+1:n):t}function YG(t,e,r,n,s,i,o,l,c,u,d,f,p,m,h,_){let g=_?tl(_[1])?_[1].error:_[1].data:void 0,y=t.createURL(e.location),b=t.createURL(s),x=r;i&&e.errors?x=WG(r,Object.keys(e.errors)[0],!0):_&&tl(_[1])&&(x=WG(r,_[0]));let w=_?_[1].statusCode:void 0,C=o&&w&&w>=400,k=x.filter((P,T)=>{let{route:j}=P;if(j.lazy)return!0;if(j.loader==null)return!1;if(i)return F6(j,e.loaderData,e.errors);if(JDe(e.loaderData,e.matches[T],P)||c.some(O=>O===P.route.id))return!0;let R=e.matches[T],D=P;return KG(P,zs({currentUrl:y,currentParams:R.params,nextUrl:b,nextParams:D.params},n,{actionResult:g,actionStatus:w,defaultShouldRevalidate:C?!1:l||y.pathname+y.search===b.pathname+b.search||y.search!==b.search||qoe(R,D)}))}),A=[];return f.forEach((P,T)=>{if(i||!r.some(N=>N.route.id===P.routeId)||d.has(T))return;let j=zm(m,P.path,h);if(!j){A.push({key:T,routeId:P.routeId,path:P.path,matches:null,match:null,controller:null});return}let R=e.fetchers.get(T),D=Xy(j,P.path),O=!1;p.has(T)?O=!1:u.has(T)?(u.delete(T),O=!0):R&&R.state!=="idle"&&R.data===void 0?O=l:O=KG(D,zs({currentUrl:y,currentParams:e.matches[e.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:g,actionStatus:w,defaultShouldRevalidate:C?!1:l})),O&&A.push({key:T,routeId:P.routeId,path:P.path,matches:j,match:D,controller:new AbortController})}),[k,A]}function F6(t,e,r){if(t.lazy)return!0;if(!t.loader)return!1;let n=e!=null&&e[t.id]!==void 0,s=r!=null&&r[t.id]!==void 0;return!n&&s?!1:typeof t.loader=="function"&&t.loader.hydrate===!0?!0:!n&&!s}function JDe(t,e,r){let n=!e||r.route.id!==e.route.id,s=t[r.route.id]===void 0;return n||s}function qoe(t,e){let r=t.route.path;return t.pathname!==e.pathname||r!=null&&r.endsWith("*")&&t.params["*"]!==e.params["*"]}function KG(t,e){if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate(e);if(typeof r=="boolean")return r}return e.defaultShouldRevalidate}function QG(t,e,r,n,s){var i;let o;if(t){let u=n[t];Jr(u,"No route found to patch children into: routeId = "+t),u.children||(u.children=[]),o=u.children}else o=r;let l=e.filter(u=>!o.some(d=>Voe(u,d))),c=kC(l,s,[t||"_","patch",String(((i=o)==null?void 0:i.length)||"0")],n);o.push(...c)}function Voe(t,e){return"id"in t&&"id"in e&&t.id===e.id?!0:t.index===e.index&&t.path===e.path&&t.caseSensitive===e.caseSensitive?(!t.children||t.children.length===0)&&(!e.children||e.children.length===0)?!0:t.children.every((r,n)=>{var s;return(s=e.children)==null?void 0:s.some(i=>Voe(r,i))}):!1}async function e6e(t,e,r){if(!t.lazy)return;let n=await t.lazy();if(!t.lazy)return;let s=r[t.id];Jr(s,"No route found in manifest");let i={};for(let o in n){let c=s[o]!==void 0&&o!=="hasErrorBoundary";H_(!c,'Route "'+s.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!c&&!wDe.has(o)&&(i[o]=n[o])}Object.assign(s,i),Object.assign(s,zs({},e(s),{lazy:void 0}))}async function t6e(t){let{matches:e}=t,r=e.filter(s=>s.shouldLoad);return(await Promise.all(r.map(s=>s.resolve()))).reduce((s,i,o)=>Object.assign(s,{[r[o].route.id]:i}),{})}async function r6e(t,e,r,n,s,i,o,l,c,u){let d=i.map(m=>m.route.lazy?e6e(m.route,c,l):void 0),f=i.map((m,h)=>{let _=d[h],g=s.some(b=>b.route.id===m.route.id);return zs({},m,{shouldLoad:g,resolve:async b=>(b&&n.method==="GET"&&(m.route.lazy||m.route.loader)&&(g=!0),g?n6e(e,n,m,_,b,u):Promise.resolve({type:Cs.data,result:void 0}))})}),p=await t({matches:f,request:n,params:i[0].params,fetcherKey:o,context:u});try{await Promise.all(d)}catch{}return p}async function n6e(t,e,r,n,s,i){let o,l,c=u=>{let d,f=new Promise((h,_)=>d=_);l=()=>d(),e.signal.addEventListener("abort",l);let p=h=>typeof u!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+t+'" [routeId: '+r.route.id+"]"))):u({request:e,params:r.params,context:i},...h!==void 0?[h]:[]),m=(async()=>{try{return{type:"data",result:await(s?s(_=>p(_)):p())}}catch(h){return{type:"error",result:h}}})();return Promise.race([m,f])};try{let u=r.route[t];if(n)if(u){let d,[f]=await Promise.all([c(u).catch(p=>{d=p}),n]);if(d!==void 0)throw d;o=f}else if(await n,u=r.route[t],u)o=await c(u);else if(t==="action"){let d=new URL(e.url),f=d.pathname+d.search;throw Ma(405,{method:e.method,pathname:f,routeId:r.route.id})}else return{type:Cs.data,result:void 0};else if(u)o=await c(u);else{let d=new URL(e.url),f=d.pathname+d.search;throw Ma(404,{pathname:f})}Jr(o.result!==void 0,"You defined "+(t==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+t+"` ")+"function. Please return a value or `null`.")}catch(u){return{type:Cs.error,result:u}}finally{l&&e.signal.removeEventListener("abort",l)}return o}async function s6e(t){let{result:e,type:r}=t;if(Goe(e)){let f;try{let p=e.headers.get("Content-Type");p&&/\bapplication\/json\b/.test(p)?e.body==null?f=null:f=await e.json():f=await e.text()}catch(p){return{type:Cs.error,error:p}}return r===Cs.error?{type:Cs.error,error:new PC(e.status,e.statusText,f),statusCode:e.status,headers:e.headers}:{type:Cs.data,data:f,statusCode:e.status,headers:e.headers}}if(r===Cs.error){if(nW(e)){var n,s;if(e.data instanceof Error){var i,o;return{type:Cs.error,error:e.data,statusCode:(i=e.init)==null?void 0:i.status,headers:(o=e.init)!=null&&o.headers?new Headers(e.init.headers):void 0}}return{type:Cs.error,error:new PC(((n=e.init)==null?void 0:n.status)||500,void 0,e.data),statusCode:Ch(e)?e.status:void 0,headers:(s=e.init)!=null&&s.headers?new Headers(e.init.headers):void 0}}return{type:Cs.error,error:e,statusCode:Ch(e)?e.status:void 0}}if(c6e(e)){var l,c;return{type:Cs.deferred,deferredData:e,statusCode:(l=e.init)==null?void 0:l.status,headers:((c=e.init)==null?void 0:c.headers)&&new Headers(e.init.headers)}}if(nW(e)){var u,d;return{type:Cs.data,data:e.data,statusCode:(u=e.init)==null?void 0:u.status,headers:(d=e.init)!=null&&d.headers?new Headers(e.init.headers):void 0}}return{type:Cs.data,data:e}}function i6e(t,e,r,n,s,i){let o=t.headers.get("Location");if(Jr(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!qL.test(o)){let l=n.slice(0,n.findIndex(c=>c.route.id===r)+1);o=N6(new URL(e.url),l,s,!0,o,i),t.headers.set("Location",o)}return t}function ZG(t,e,r){if(qL.test(t)){let n=t,s=n.startsWith("//")?new URL(e.protocol+n):new URL(n),i=Lc(s.pathname,r)!=null;if(s.origin===e.origin&&i)return s.pathname+s.search+s.hash}return t}function Ug(t,e,r,n){let s=t.createURL(Hoe(e)).toString(),i={signal:r};if(n&&kc(n.formMethod)){let{formMethod:o,formEncType:l}=n;i.method=o.toUpperCase(),l==="application/json"?(i.headers=new Headers({"Content-Type":l}),i.body=JSON.stringify(n.json)):l==="text/plain"?i.body=n.text:l==="application/x-www-form-urlencoded"&&n.formData?i.body=U6(n.formData):i.body=n.formData}return new Request(s,i)}function U6(t){let e=new URLSearchParams;for(let[r,n]of t.entries())e.append(r,typeof n=="string"?n:n.name);return e}function XG(t){let e=new FormData;for(let[r,n]of t.entries())e.append(r,n);return e}function o6e(t,e,r,n,s){let i={},o=null,l,c=!1,u={},d=r&&tl(r[1])?r[1].error:void 0;return t.forEach(f=>{if(!(f.route.id in e))return;let p=f.route.id,m=e[p];if(Jr(!Qm(m),"Cannot handle redirect results in processLoaderData"),tl(m)){let h=m.error;d!==void 0&&(h=d,d=void 0),o=o||{};{let _=qm(t,p);o[_.route.id]==null&&(o[_.route.id]=h)}i[p]=void 0,c||(c=!0,l=Ch(m.error)?m.error.status:500),m.headers&&(u[p]=m.headers)}else ap(m)?(n.set(p,m.deferredData),i[p]=m.deferredData.data,m.statusCode!=null&&m.statusCode!==200&&!c&&(l=m.statusCode),m.headers&&(u[p]=m.headers)):(i[p]=m.data,m.statusCode&&m.statusCode!==200&&!c&&(l=m.statusCode),m.headers&&(u[p]=m.headers))}),d!==void 0&&r&&(o={[r[0]]:d},i[r[0]]=void 0),{loaderData:i,errors:o,statusCode:l||200,loaderHeaders:u}}function JG(t,e,r,n,s,i,o){let{loaderData:l,errors:c}=o6e(e,r,n,o);return s.forEach(u=>{let{key:d,match:f,controller:p}=u,m=i[d];if(Jr(m,"Did not find corresponding fetcher result"),!(p&&p.signal.aborted))if(tl(m)){let h=qm(t.matches,f?.route.id);c&&c[h.route.id]||(c=zs({},c,{[h.route.id]:m.error})),t.fetchers.delete(d)}else if(Qm(m))Jr(!1,"Unhandled fetcher revalidation redirect");else if(ap(m))Jr(!1,"Unhandled fetcher deferred data");else{let h=Yf(m.data);t.fetchers.set(d,h)}}),{loaderData:l,errors:c}}function eW(t,e,r,n){let s=zs({},e);for(let i of r){let o=i.route.id;if(e.hasOwnProperty(o)?e[o]!==void 0&&(s[o]=e[o]):t[o]!==void 0&&i.route.loader&&(s[o]=t[o]),n&&n.hasOwnProperty(o))break}return s}function tW(t){return t?tl(t[1])?{actionData:{}}:{actionData:{[t[0]]:t[1].data}}:{}}function qm(t,e){return(e?t.slice(0,t.findIndex(n=>n.route.id===e)+1):[...t]).reverse().find(n=>n.route.hasErrorBoundary===!0)||t[0]}function rW(t){let e=t.length===1?t[0]:t.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:e}],route:e}}function Ma(t,e){let{pathname:r,routeId:n,method:s,type:i,message:o}=e===void 0?{}:e,l="Unknown Server Error",c="Unknown @remix-run/router error";return t===400?(l="Bad Request",s&&r&&n?c="You made a "+s+' request to "'+r+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":i==="defer-action"?c="defer() is not supported in actions":i==="invalid-body"&&(c="Unable to encode submission body")):t===403?(l="Forbidden",c='Route "'+n+'" does not match URL "'+r+'"'):t===404?(l="Not Found",c='No route matches URL "'+r+'"'):t===405&&(l="Method Not Allowed",s&&r&&n?c="You made a "+s.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":s&&(c='Invalid request method "'+s.toUpperCase()+'"')),new PC(t||500,l,new Error(c),!0)}function p2(t){let e=Object.entries(t);for(let r=e.length-1;r>=0;r--){let[n,s]=e[r];if(Qm(s))return{key:n,result:s}}}function Hoe(t){let e=typeof t=="string"?Op(t):t;return Cp(zs({},e,{hash:""}))}function a6e(t,e){return t.pathname!==e.pathname||t.search!==e.search?!1:t.hash===""?e.hash!=="":t.hash===e.hash?!0:e.hash!==""}function l6e(t){return Goe(t.result)&&YDe.has(t.result.status)}function ap(t){return t.type===Cs.deferred}function tl(t){return t.type===Cs.error}function Qm(t){return(t&&t.type)===Cs.redirect}function nW(t){return typeof t=="object"&&t!=null&&"type"in t&&"data"in t&&"init"in t&&t.type==="DataWithResponseInit"}function c6e(t){let e=t;return e&&typeof e=="object"&&typeof e.data=="object"&&typeof e.subscribe=="function"&&typeof e.cancel=="function"&&typeof e.resolveData=="function"}function Goe(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function u6e(t){return WDe.has(t.toLowerCase())}function kc(t){return HDe.has(t.toLowerCase())}async function d6e(t,e,r,n,s){let i=Object.entries(e);for(let o=0;o<i.length;o++){let[l,c]=i[o],u=t.find(p=>p?.route.id===l);if(!u)continue;let d=n.find(p=>p.route.id===u.route.id),f=d!=null&&!qoe(d,u)&&(s&&s[u.route.id])!==void 0;ap(c)&&f&&await VL(c,r,!1).then(p=>{p&&(e[l]=p)})}}async function f6e(t,e,r){for(let n=0;n<r.length;n++){let{key:s,routeId:i,controller:o}=r[n],l=e[s];t.find(u=>u?.route.id===i)&&ap(l)&&(Jr(o,"Expected an AbortController for revalidating fetcher deferred result"),await VL(l,o.signal,!0).then(u=>{u&&(e[s]=u)}))}}async function VL(t,e,r){if(r===void 0&&(r=!1),!await t.deferredData.resolveData(e)){if(r)try{return{type:Cs.data,data:t.deferredData.unwrappedData}}catch(s){return{type:Cs.error,error:s}}return{type:Cs.data,data:t.deferredData.data}}}function HL(t){return new URLSearchParams(t).getAll("index").some(e=>e==="")}function Xy(t,e){let r=typeof e=="string"?Op(e).search:e.search;if(t[t.length-1].route.index&&HL(r||""))return t[t.length-1];let n=Noe(t);return n[n.length-1]}function sW(t){let{formMethod:e,formAction:r,formEncType:n,text:s,formData:i,json:o}=t;if(!(!e||!r||!n)){if(s!=null)return{formMethod:e,formAction:r,formEncType:n,formData:void 0,json:void 0,text:s};if(i!=null)return{formMethod:e,formAction:r,formEncType:n,formData:i,json:void 0,text:void 0};if(o!==void 0)return{formMethod:e,formAction:r,formEncType:n,formData:void 0,json:o,text:void 0}}}function HE(t,e){return e?{state:"loading",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}:{state:"loading",location:t,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function p6e(t,e){return{state:"submitting",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}}function Sy(t,e){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function m6e(t,e){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e?e.data:void 0}}function Yf(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function h6e(t,e){try{let r=t.sessionStorage.getItem(zoe);if(r){let n=JSON.parse(r);for(let[s,i]of Object.entries(n||{}))i&&Array.isArray(i)&&e.set(s,new Set(i||[]))}}catch{}}function g6e(t,e){if(e.size>0){let r={};for(let[n,s]of e)r[n]=[...s];try{t.sessionStorage.setItem(zoe,JSON.stringify(r))}catch(n){H_(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}function jC(){return jC=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},jC.apply(this,arguments)}const V0=I.createContext(null),FA=I.createContext(null),TC=I.createContext(null),qc=I.createContext(null),GL=I.createContext(null),ic=I.createContext({outlet:null,matches:[],isDataRoute:!1}),Woe=I.createContext(null);function _6e(t,e){let{relative:r}=e===void 0?{}:e;Tv()||Jr(!1);let{basename:n,navigator:s}=I.useContext(qc),{hash:i,pathname:o,search:l}=Lp(t,{relative:r}),c=o;return n!=="/"&&(c=o==="/"?n:$u([n,o])),s.createHref({pathname:c,search:l,hash:i})}function Tv(){return I.useContext(GL)!=null}function to(){return Tv()||Jr(!1),I.useContext(GL).location}function Yoe(t){I.useContext(qc).static||I.useLayoutEffect(t)}function ys(){let{isDataRoute:t}=I.useContext(ic);return t?R6e():v6e()}function v6e(){Tv()||Jr(!1);let t=I.useContext(V0),{basename:e,future:r,navigator:n}=I.useContext(qc),{matches:s}=I.useContext(ic),{pathname:i}=to(),o=JSON.stringify(LA(s,r.v7_relativeSplatPath)),l=I.useRef(!1);return Yoe(()=>{l.current=!0}),I.useCallback(function(u,d){if(d===void 0&&(d={}),!l.current)return;if(typeof u=="number"){n.go(u);return}let f=NA(u,JSON.parse(o),i,d.relative==="path");t==null&&e!=="/"&&(f.pathname=f.pathname==="/"?e:$u([e,f.pathname])),(d.replace?n.replace:n.push)(f,d.state,d)},[e,n,o,i,t])}const y6e=I.createContext(null);function b6e(t){let e=I.useContext(ic).outlet;return e&&I.createElement(y6e.Provider,{value:t},e)}function ko(){let{matches:t}=I.useContext(ic),e=t[t.length-1];return e?e.params:{}}function Lp(t,e){let{relative:r}=e===void 0?{}:e,{future:n}=I.useContext(qc),{matches:s}=I.useContext(ic),{pathname:i}=to(),o=JSON.stringify(LA(s,n.v7_relativeSplatPath));return I.useMemo(()=>NA(t,JSON.parse(o),i,r==="path"),[t,o,i,r])}function x6e(t,e,r,n){Tv()||Jr(!1);let{navigator:s}=I.useContext(qc),{matches:i}=I.useContext(ic),o=i[i.length-1],l=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=to(),d;d=u;let f=d.pathname||"/",p=f;if(c!=="/"){let _=c.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(_.length).join("/")}let m=zm(t,{pathname:p});return k6e(m&&m.map(_=>Object.assign({},_,{params:Object.assign({},l,_.params),pathname:$u([c,s.encodeLocation?s.encodeLocation(_.pathname).pathname:_.pathname]),pathnameBase:_.pathnameBase==="/"?c:$u([c,s.encodeLocation?s.encodeLocation(_.pathnameBase).pathname:_.pathnameBase])})),i,r,n)}function S6e(){let t=Zoe(),e=Ch(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return I.createElement(I.Fragment,null,I.createElement("h2",null,"Unexpected Application Error!"),I.createElement("h3",{style:{fontStyle:"italic"}},e),r?I.createElement("pre",{style:s},r):null,null)}const w6e=I.createElement(S6e,null);class C6e extends I.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,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){console.error("React Router caught the following error during render",e,r)}render(){return this.state.error!==void 0?I.createElement(ic.Provider,{value:this.props.routeContext},I.createElement(Woe.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function A6e(t){let{routeContext:e,match:r,children:n}=t,s=I.useContext(V0);return s&&s.static&&s.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=r.route.id),I.createElement(ic.Provider,{value:e},n)}function k6e(t,e,r,n){var s;if(e===void 0&&(e=[]),r===void 0&&(r=null),n===void 0&&(n=null),t==null){var i;if(!r)return null;if(r.errors)t=r.matches;else if((i=n)!=null&&i.v7_partialHydration&&e.length===0&&!r.initialized&&r.matches.length>0)t=r.matches;else return null}let o=t,l=(s=r)==null?void 0:s.errors;if(l!=null){let d=o.findIndex(f=>f.route.id&&l?.[f.route.id]!==void 0);d>=0||Jr(!1),o=o.slice(0,Math.min(o.length,d+1))}let c=!1,u=-1;if(r&&n&&n.v7_partialHydration)for(let d=0;d<o.length;d++){let f=o[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:p,errors:m}=r,h=f.route.loader&&p[f.route.id]===void 0&&(!m||m[f.route.id]===void 0);if(f.route.lazy||h){c=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,f,p)=>{let m,h=!1,_=null,g=null;r&&(m=l&&f.route.id?l[f.route.id]:void 0,_=f.route.errorElement||w6e,c&&(u<0&&p===0?(I6e("route-fallback"),h=!0,g=null):u===p&&(h=!0,g=f.route.hydrateFallbackElement||null)));let y=e.concat(o.slice(0,p+1)),b=()=>{let x;return m?x=_:h?x=g:f.route.Component?x=I.createElement(f.route.Component,null):f.route.element?x=f.route.element:x=d,I.createElement(A6e,{match:f,routeContext:{outlet:d,matches:y,isDataRoute:r!=null},children:x})};return r&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?I.createElement(C6e,{location:r.location,revalidation:r.revalidation,component:_,error:m,children:b(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):b()},null)}var Koe=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(Koe||{}),tc=(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})(tc||{});function Qoe(t){let e=I.useContext(V0);return e||Jr(!1),e}function Ev(t){let e=I.useContext(FA);return e||Jr(!1),e}function M6e(t){let e=I.useContext(ic);return e||Jr(!1),e}function H0(t){let e=M6e(),r=e.matches[e.matches.length-1];return r.route.id||Jr(!1),r.route.id}function P6e(){return H0(tc.UseRouteId)}function On(){return Ev(tc.UseNavigation).navigation}function j6e(){let t=Qoe(),e=Ev(tc.UseRevalidator);return I.useMemo(()=>({revalidate:t.router.revalidate,state:e.revalidation}),[t.router.revalidate,e.revalidation])}function WL(){let{matches:t,loaderData:e}=Ev(tc.UseMatches);return I.useMemo(()=>t.map(r=>$oe(r,e)),[t,e])}function zn(){let t=Ev(tc.UseLoaderData),e=H0(tc.UseLoaderData);if(t.errors&&t.errors[e]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+e+")");return}return t.loaderData[e]}function T6e(){let t=Ev(tc.UseActionData),e=H0(tc.UseLoaderData);return t.actionData?t.actionData[e]:void 0}function Zoe(){var t;let e=I.useContext(Woe),r=Ev(tc.UseRouteError),n=H0(tc.UseRouteError);return e!==void 0?e:(t=r.errors)==null?void 0:t[n]}function Np(){let t=I.useContext(TC);return t?._data}function E6e(){let t=I.useContext(TC);return t?._error}function R6e(){let{router:t}=Qoe(Koe.UseNavigateStable),e=H0(tc.UseNavigateStable),r=I.useRef(!1);return Yoe(()=>{r.current=!0}),I.useCallback(function(s,i){i===void 0&&(i={}),r.current&&(typeof s=="number"?t.navigate(s):t.navigate(s,jC({fromRouteId:e},i)))},[t,e])}const iW={};function I6e(t,e,r){iW[t]||(iW[t]=!0)}function D6e(t,e){t?.v7_startTransition,t?.v7_relativeSplatPath===void 0&&(!e||e.v7_relativeSplatPath),e&&(e.v7_fetcherPersist,e.v7_normalizeFormMethod,e.v7_partialHydration,e.v7_skipActionErrorRevalidation)}function ur(t){let{to:e,replace:r,state:n,relative:s}=t;Tv()||Jr(!1);let{future:i,static:o}=I.useContext(qc),{matches:l}=I.useContext(ic),{pathname:c}=to(),u=ys(),d=NA(e,LA(l,i.v7_relativeSplatPath),c,s==="path"),f=JSON.stringify(d);return I.useEffect(()=>u(JSON.parse(f),{replace:r,state:n,relative:s}),[u,f,s,r,n]),null}function Bd(t){return b6e(t.context)}function $6e(t){let{basename:e="/",children:r=null,location:n,navigationType:s=$i.Pop,navigator:i,static:o=!1,future:l}=t;Tv()&&Jr(!1);let c=e.replace(/^\/*/,"/"),u=I.useMemo(()=>({basename:c,navigator:i,static:o,future:jC({v7_relativeSplatPath:!1},l)}),[c,l,i,o]);typeof n=="string"&&(n=Op(n));let{pathname:d="/",search:f="",hash:p="",state:m=null,key:h="default"}=n,_=I.useMemo(()=>{let g=Lc(d,c);return g==null?null:{location:{pathname:g,search:f,hash:p,state:m,key:h},navigationType:s}},[c,d,f,p,m,h,s]);return _==null?null:I.createElement(qc.Provider,{value:u},I.createElement(GL.Provider,{children:r,value:_}))}function Qt(t){let{children:e,errorElement:r,resolve:n}=t;return I.createElement(L6e,{resolve:n,errorElement:r},I.createElement(N6e,null,e))}var Ll=(function(t){return t[t.pending=0]="pending",t[t.success=1]="success",t[t.error=2]="error",t})(Ll||{});const O6e=new Promise(()=>{});class L6e extends I.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,r){console.error("<Await> caught the following error during render",e,r)}render(){let{children:e,errorElement:r,resolve:n}=this.props,s=null,i=Ll.pending;if(!(n instanceof Promise))i=Ll.success,s=Promise.resolve(),Object.defineProperty(s,"_tracked",{get:()=>!0}),Object.defineProperty(s,"_data",{get:()=>n});else if(this.state.error){i=Ll.error;let o=this.state.error;s=Promise.reject().catch(()=>{}),Object.defineProperty(s,"_tracked",{get:()=>!0}),Object.defineProperty(s,"_error",{get:()=>o})}else n._tracked?(s=n,i="_error"in s?Ll.error:"_data"in s?Ll.success:Ll.pending):(i=Ll.pending,Object.defineProperty(n,"_tracked",{get:()=>!0}),s=n.then(o=>Object.defineProperty(n,"_data",{get:()=>o}),o=>Object.defineProperty(n,"_error",{get:()=>o})));if(i===Ll.error&&s._error instanceof L6)throw O6e;if(i===Ll.error&&!r)throw s._error;if(i===Ll.error)return I.createElement(TC.Provider,{value:s,children:r});if(i===Ll.success)return I.createElement(TC.Provider,{value:s,children:e});throw s}}function N6e(t){let{children:e}=t,r=Np(),n=typeof e=="function"?e(r):e;return I.createElement(I.Fragment,null,n)}function F6e(t){let e={hasErrorBoundary:t.ErrorBoundary!=null||t.errorElement!=null};return t.Component&&Object.assign(e,{element:I.createElement(t.Component),Component:void 0}),t.HydrateFallback&&Object.assign(e,{hydrateFallbackElement:I.createElement(t.HydrateFallback),HydrateFallback:void 0}),t.ErrorBoundary&&Object.assign(e,{errorElement:I.createElement(t.ErrorBoundary),ErrorBoundary:void 0}),e}function Dc(){return Dc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Dc.apply(this,arguments)}function YL(t,e){if(t==null)return{};var r={},n=Object.keys(t),s,i;for(i=0;i<n.length;i++)s=n[i],!(e.indexOf(s)>=0)&&(r[s]=t[s]);return r}const Ww="get",GE="application/x-www-form-urlencoded";function UA(t){return t!=null&&typeof t.tagName=="string"}function U6e(t){return UA(t)&&t.tagName.toLowerCase()==="button"}function B6e(t){return UA(t)&&t.tagName.toLowerCase()==="form"}function z6e(t){return UA(t)&&t.tagName.toLowerCase()==="input"}function q6e(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function V6e(t,e){return t.button===0&&(!e||e==="_self")&&!q6e(t)}function B6(t){return t===void 0&&(t=""),new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,r)=>{let n=t[r];return e.concat(Array.isArray(n)?n.map(s=>[r,s]):[[r,n]])},[]))}function H6e(t,e){let r=B6(t);return e&&e.forEach((n,s)=>{r.has(s)||e.getAll(s).forEach(i=>{r.append(s,i)})}),r}let m2=null;function G6e(){if(m2===null)try{new FormData(document.createElement("form"),0),m2=!1}catch{m2=!0}return m2}const W6e=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function WE(t){return t!=null&&!W6e.has(t)?null:t}function Y6e(t,e){let r,n,s,i,o;if(B6e(t)){let l=t.getAttribute("action");n=l?Lc(l,e):null,r=t.getAttribute("method")||Ww,s=WE(t.getAttribute("enctype"))||GE,i=new FormData(t)}else if(U6e(t)||z6e(t)&&(t.type==="submit"||t.type==="image")){let l=t.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let c=t.getAttribute("formaction")||l.getAttribute("action");if(n=c?Lc(c,e):null,r=t.getAttribute("formmethod")||l.getAttribute("method")||Ww,s=WE(t.getAttribute("formenctype"))||WE(l.getAttribute("enctype"))||GE,i=new FormData(l,t),!G6e()){let{name:u,type:d,value:f}=t;if(d==="image"){let p=u?u+".":"";i.append(p+"x","0"),i.append(p+"y","0")}else u&&i.append(u,f)}}else{if(UA(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Ww,n=null,s=GE,o=t}return i&&s==="text/plain"&&(o=i,i=void 0),{action:n,method:r.toLowerCase(),encType:s,formData:i,body:o}}const K6e=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Q6e=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],Z6e=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"],X6e="6";try{window.__reactRouterVersion=X6e}catch{}function J6e(t,e){return ZDe({basename:void 0,future:Dc({},void 0,{v7_prependBasename:!0}),history:bDe({window:void 0}),hydrationData:e$e(),routes:t,mapRouteProperties:F6e,dataStrategy:void 0,patchRoutesOnNavigation:void 0,window:void 0}).initialize()}function e$e(){var t;let e=(t=window)==null?void 0:t.__staticRouterHydrationData;return e&&e.errors&&(e=Dc({},e,{errors:t$e(e.errors)})),e}function t$e(t){if(!t)return null;let e=Object.entries(t),r={};for(let[n,s]of e)if(s&&s.__type==="RouteErrorResponse")r[n]=new PC(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let i=window[s.__subType];if(typeof i=="function")try{let o=new i(s.message);o.stack="",r[n]=o}catch{}}if(r[n]==null){let i=new Error(s.message);i.stack="",r[n]=i}}else r[n]=s;return r}const Xoe=I.createContext({isTransitioning:!1}),Joe=I.createContext(new Map),r$e="startTransition",oW=fh[r$e],n$e="flushSync",aW=lbe[n$e],s$e="useId",lW=fh[s$e];function i$e(t){oW?oW(t):t()}function wy(t){aW?aW(t):t()}class o$e{constructor(){this.status="pending",this.promise=new Promise((e,r)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",e(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",r(n))}})}}function a$e(t){let{fallbackElement:e,router:r,future:n}=t,[s,i]=I.useState(r.state),[o,l]=I.useState(),[c,u]=I.useState({isTransitioning:!1}),[d,f]=I.useState(),[p,m]=I.useState(),[h,_]=I.useState(),g=I.useRef(new Map),{v7_startTransition:y}=n||{},b=I.useCallback(P=>{y?i$e(P):P()},[y]),x=I.useCallback((P,T)=>{let{deletedFetchers:j,flushSync:R,viewTransitionOpts:D}=T;P.fetchers.forEach((N,F)=>{N.data!==void 0&&g.current.set(F,N.data)}),j.forEach(N=>g.current.delete(N));let O=r.window==null||r.window.document==null||typeof r.window.document.startViewTransition!="function";if(!D||O){R?wy(()=>i(P)):b(()=>i(P));return}if(R){wy(()=>{p&&(d&&d.resolve(),p.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:D.currentLocation,nextLocation:D.nextLocation})});let N=r.window.document.startViewTransition(()=>{wy(()=>i(P))});N.finished.finally(()=>{wy(()=>{f(void 0),m(void 0),l(void 0),u({isTransitioning:!1})})}),wy(()=>m(N));return}p?(d&&d.resolve(),p.skipTransition(),_({state:P,currentLocation:D.currentLocation,nextLocation:D.nextLocation})):(l(P),u({isTransitioning:!0,flushSync:!1,currentLocation:D.currentLocation,nextLocation:D.nextLocation}))},[r.window,p,d,g,b]);I.useLayoutEffect(()=>r.subscribe(x),[r,x]),I.useEffect(()=>{c.isTransitioning&&!c.flushSync&&f(new o$e)},[c]),I.useEffect(()=>{if(d&&o&&r.window){let P=o,T=d.promise,j=r.window.document.startViewTransition(async()=>{b(()=>i(P)),await T});j.finished.finally(()=>{f(void 0),m(void 0),l(void 0),u({isTransitioning:!1})}),m(j)}},[b,o,d,r.window]),I.useEffect(()=>{d&&o&&s.location.key===o.location.key&&d.resolve()},[d,p,s.location,o]),I.useEffect(()=>{!c.isTransitioning&&h&&(l(h.state),u({isTransitioning:!0,flushSync:!1,currentLocation:h.currentLocation,nextLocation:h.nextLocation}),_(void 0))},[c.isTransitioning,h]),I.useEffect(()=>{},[]);let w=I.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:P=>r.navigate(P),push:(P,T,j)=>r.navigate(P,{state:T,preventScrollReset:j?.preventScrollReset}),replace:(P,T,j)=>r.navigate(P,{replace:!0,state:T,preventScrollReset:j?.preventScrollReset})}),[r]),C=r.basename||"/",k=I.useMemo(()=>({router:r,navigator:w,static:!1,basename:C}),[r,w,C]),A=I.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return I.useEffect(()=>D6e(n,r.future),[n,r.future]),I.createElement(I.Fragment,null,I.createElement(V0.Provider,{value:k},I.createElement(FA.Provider,{value:s},I.createElement(Joe.Provider,{value:g.current},I.createElement(Xoe.Provider,{value:c},I.createElement($6e,{basename:C,location:s.location,navigationType:s.historyAction,navigator:w,future:A},s.initialized||r.future.v7_partialHydration?I.createElement(l$e,{routes:r.routes,future:r.future,state:s}):e))))),null)}const l$e=I.memo(c$e);function c$e(t){let{routes:e,future:r,state:n}=t;return x6e(e,void 0,n,r)}const u$e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",d$e=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,f$e=I.forwardRef(function(e,r){let{onClick:n,relative:s,reloadDocument:i,replace:o,state:l,target:c,to:u,preventScrollReset:d,viewTransition:f}=e,p=YL(e,K6e),{basename:m}=I.useContext(qc),h,_=!1;if(typeof u=="string"&&d$e.test(u)&&(h=u,u$e))try{let x=new URL(window.location.href),w=u.startsWith("//")?new URL(x.protocol+u):new URL(u),C=Lc(w.pathname,m);w.origin===x.origin&&C!=null?u=C+w.search+w.hash:_=!0}catch{}let g=_6e(u,{relative:s}),y=h$e(u,{replace:o,state:l,target:c,preventScrollReset:d,relative:s,viewTransition:f});function b(x){n&&n(x),x.defaultPrevented||y(x)}return I.createElement("a",Dc({},p,{href:h||g,onClick:_||i?n:b,ref:r,target:c}))}),z6=I.forwardRef(function(e,r){let{"aria-current":n="page",caseSensitive:s=!1,className:i="",end:o=!1,style:l,to:c,viewTransition:u,children:d}=e,f=YL(e,Q6e),p=Lp(c,{relative:f.relative}),m=to(),h=I.useContext(FA),{navigator:_,basename:g}=I.useContext(qc),y=h!=null&&y$e(p)&&u===!0,b=_.encodeLocation?_.encodeLocation(p).pathname:p.pathname,x=m.pathname,w=h&&h.navigation&&h.navigation.location?h.navigation.location.pathname:null;s||(x=x.toLowerCase(),w=w?w.toLowerCase():null,b=b.toLowerCase()),w&&g&&(w=Lc(w,g)||w);const C=b!=="/"&&b.endsWith("/")?b.length-1:b.length;let k=x===b||!o&&x.startsWith(b)&&x.charAt(C)==="/",A=w!=null&&(w===b||!o&&w.startsWith(b)&&w.charAt(b.length)==="/"),P={isActive:k,isPending:A,isTransitioning:y},T=k?n:void 0,j;typeof i=="function"?j=i(P):j=[i,k?"active":null,A?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let R=typeof l=="function"?l(P):l;return I.createElement(f$e,Dc({},f,{"aria-current":T,className:j,ref:r,style:R,to:c,viewTransition:u}),typeof d=="function"?d(P):d)}),p$e=I.forwardRef((t,e)=>{let{fetcherKey:r,navigate:n,reloadDocument:s,replace:i,state:o,method:l=Ww,action:c,onSubmit:u,relative:d,preventScrollReset:f,viewTransition:p}=t,m=YL(t,Z6e),h=gl(),_=v$e(c,{relative:d}),g=l.toLowerCase()==="get"?"get":"post",y=b=>{if(u&&u(b),b.defaultPrevented)return;b.preventDefault();let x=b.nativeEvent.submitter,w=x?.getAttribute("formmethod")||l;h(x||b.currentTarget,{fetcherKey:r,method:w,navigate:n,replace:i,state:o,relative:d,preventScrollReset:f,viewTransition:p})};return I.createElement("form",Dc({ref:e,method:g,action:_,onSubmit:s?u:y},m))});var Kb;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(Kb||(Kb={}));var q6;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(q6||(q6={}));function KL(t){let e=I.useContext(V0);return e||Jr(!1),e}function m$e(t){let e=I.useContext(FA);return e||Jr(!1),e}function h$e(t,e){let{target:r,replace:n,state:s,preventScrollReset:i,relative:o,viewTransition:l}=e===void 0?{}:e,c=ys(),u=to(),d=Lp(t,{relative:o});return I.useCallback(f=>{if(V6e(f,r)){f.preventDefault();let p=n!==void 0?n:Cp(u)===Cp(d);c(t,{replace:p,state:s,preventScrollReset:i,relative:o,viewTransition:l})}},[u,c,d,n,s,r,t,i,o,l])}function hl(t){let e=I.useRef(B6(t)),r=I.useRef(!1),n=to(),s=I.useMemo(()=>H6e(n.search,r.current?null:e.current),[n.search]),i=ys(),o=I.useCallback((l,c)=>{const u=B6(typeof l=="function"?l(s):l);r.current=!0,i("?"+u,c)},[i,s]);return[s,o]}function g$e(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let _$e=0,eae=()=>"__"+String(++_$e)+"__";function gl(){let{router:t}=KL(Kb.UseSubmit),{basename:e}=I.useContext(qc),r=P6e();return I.useCallback(function(n,s){s===void 0&&(s={}),g$e();let{action:i,method:o,encType:l,formData:c,body:u}=Y6e(n,e);if(s.navigate===!1){let d=s.fetcherKey||eae();t.fetch(d,r,s.action||i,{preventScrollReset:s.preventScrollReset,formData:c,body:u,formMethod:s.method||o,formEncType:s.encType||l,flushSync:s.flushSync})}else t.navigate(s.action||i,{preventScrollReset:s.preventScrollReset,formData:c,body:u,formMethod:s.method||o,formEncType:s.encType||l,replace:s.replace,state:s.state,fromRouteId:r,flushSync:s.flushSync,viewTransition:s.viewTransition})},[t,e,r])}function v$e(t,e){let{relative:r}=e===void 0?{}:e,{basename:n}=I.useContext(qc),s=I.useContext(ic);s||Jr(!1);let[i]=s.matches.slice(-1),o=Dc({},Lp(t||".",{relative:r})),l=to();if(t==null){o.search=l.search;let c=new URLSearchParams(o.search),u=c.getAll("index");if(u.some(f=>f==="")){c.delete("index"),u.filter(p=>p).forEach(p=>c.append("index",p));let f=c.toString();o.search=f?"?"+f:""}}return(!t||t===".")&&i.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(o.pathname=o.pathname==="/"?n:$u([n,o.pathname])),Cp(o)}function gr(t){var e;let{key:r}=t===void 0?{}:t,{router:n}=KL(Kb.UseFetcher),s=m$e(q6.UseFetcher),i=I.useContext(Joe),o=I.useContext(ic),l=(e=o.matches[o.matches.length-1])==null?void 0:e.route.id;i||Jr(!1),o||Jr(!1),l==null&&Jr(!1);let c=lW?lW():"",[u,d]=I.useState(r||c);r&&r!==u?d(r):u||d(eae()),I.useEffect(()=>(n.getFetcher(u),()=>{n.deleteFetcher(u)}),[n,u]);let f=I.useCallback((b,x)=>{l||Jr(!1),n.fetch(u,l,b,x)},[u,l,n]),p=gl(),m=I.useCallback((b,x)=>{p(b,Dc({},x,{navigate:!1,fetcherKey:u}))},[u,p]),h=I.useMemo(()=>I.forwardRef((x,w)=>I.createElement(p$e,Dc({},x,{navigate:!1,fetcherKey:u,ref:w}))),[u]),_=s.fetchers.get(u)||Boe,g=i.get(u);return I.useMemo(()=>Dc({Form:h,submit:m,load:f},_,{data:g}),[h,m,f,_,g])}function y$e(t,e){e===void 0&&(e={});let r=I.useContext(Xoe);r==null&&Jr(!1);let{basename:n}=KL(Kb.useViewTransitionState),s=Lp(t,{relative:e.relative});if(!r.isTransitioning)return!1;let i=Lc(r.currentLocation.pathname,n)||r.currentLocation.pathname,o=Lc(r.nextLocation.pathname,n)||r.nextLocation.pathname;return MC(s.pathname,o)!=null||MC(s.pathname,i)!=null}function b$e(t){return tr("MuiAlert",t)}const cW=rr("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),x$e=rs(a.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),S$e=rs(a.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),w$e=rs(a.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),C$e=rs(a.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),tae=rs(a.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),A$e=t=>{const{variant:e,color:r,severity:n,classes:s}=t,i={root:["root",`color${tt(r||n)}`,`${e}${tt(r||n)}`,`${e}`],icon:["icon"],message:["message"],action:["action"]};return nr(i,b$e,s)},k$e=Ce(pa,{name:"MuiAlert",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`${r.variant}${tt(r.color||r.severity)}`]]}})(Xt(({theme:t})=>{const e=t.palette.mode==="light"?Nu:Fu,r=t.palette.mode==="light"?Fu:Nu;return{...t.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter(Kn(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert[`${n}Color`]:e(t.palette[n].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${n}StandardBg`]:r(t.palette[n].light,.9),[`& .${cW.icon}`]:t.vars?{color:t.vars.palette.Alert[`${n}IconColor`]}:{color:t.palette[n].main}}})),...Object.entries(t.palette).filter(Kn(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert[`${n}Color`]:e(t.palette[n].light,.6),border:`1px solid ${(t.vars||t).palette[n].light}`,[`& .${cW.icon}`]:t.vars?{color:t.vars.palette.Alert[`${n}IconColor`]}:{color:t.palette[n].main}}})),...Object.entries(t.palette).filter(Kn(["dark"])).map(([n])=>({props:{colorSeverity:n,variant:"filled"},style:{fontWeight:t.typography.fontWeightMedium,...t.vars?{color:t.vars.palette.Alert[`${n}FilledColor`],backgroundColor:t.vars.palette.Alert[`${n}FilledBg`]}:{backgroundColor:t.palette.mode==="dark"?t.palette[n].dark:t.palette[n].main,color:t.palette.getContrastText(t.palette[n].main)}}}))]}})),M$e=Ce("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,e)=>e.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),P$e=Ce("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),j$e=Ce("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),uW={success:a.jsx(x$e,{fontSize:"inherit"}),warning:a.jsx(S$e,{fontSize:"inherit"}),error:a.jsx(w$e,{fontSize:"inherit"}),info:a.jsx(C$e,{fontSize:"inherit"})},T$e=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiAlert"}),{action:s,children:i,className:o,closeText:l="Close",color:c,components:u={},componentsProps:d={},icon:f,iconMapping:p=uW,onClose:m,role:h="alert",severity:_="success",slotProps:g={},slots:y={},variant:b="standard",...x}=n,w={...n,color:c,severity:_,variant:b,colorSeverity:c||_},C=A$e(w),k={slots:{closeButton:u.CloseButton,closeIcon:u.CloseIcon,...y},slotProps:{...d,...g}},[A,P]=mr("root",{ref:r,shouldForwardComponentProp:!0,className:lt(C.root,o),elementType:k$e,externalForwardedProps:{...k,...x},ownerState:w,additionalProps:{role:h,elevation:0}}),[T,j]=mr("icon",{className:C.icon,elementType:M$e,externalForwardedProps:k,ownerState:w}),[R,D]=mr("message",{className:C.message,elementType:P$e,externalForwardedProps:k,ownerState:w}),[O,N]=mr("action",{className:C.action,elementType:j$e,externalForwardedProps:k,ownerState:w}),[F,U]=mr("closeButton",{elementType:Zr,externalForwardedProps:k,ownerState:w}),[z,H]=mr("closeIcon",{elementType:tae,externalForwardedProps:k,ownerState:w});return a.jsxs(A,{...P,children:[f!==!1?a.jsx(T,{...j,children:f||p[_]||uW[_]}):null,a.jsx(R,{...D,children:i}),s!=null?a.jsx(O,{...N,children:s}):null,s==null&&m?a.jsx(O,{...N,children:a.jsx(F,{size:"small","aria-label":l,title:l,color:"inherit",onClick:m,...U,children:a.jsx(z,{fontSize:"small",...H})})}):null]})});function E$e(t){return tr("MuiAlertTitle",t)}rr("MuiAlertTitle",["root"]);const R$e=t=>{const{classes:e}=t;return nr({root:["root"]},E$e,e)},I$e=Ce(cn,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(t,e)=>e.root})(Xt(({theme:t})=>({fontWeight:t.typography.fontWeightMedium,marginTop:-2}))),D$e=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiAlertTitle"}),{className:s,...i}=n,o=n,l=R$e(o);return a.jsx(I$e,{gutterBottom:!0,component:"div",ownerState:o,ref:r,className:lt(l.root,s),...i})});var rae={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},dW=Yn.createContext&&Yn.createContext(rae),$$e=["attr","size","title"];function O$e(t,e){if(t==null)return{};var r=L$e(t,e),n,s;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(s=0;s<i.length;s++)n=i[s],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function L$e(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function EC(){return EC=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},EC.apply(this,arguments)}function fW(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),r.push.apply(r,n)}return r}function RC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fW(Object(r),!0).forEach(function(n){N$e(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fW(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function N$e(t,e,r){return e=F$e(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function F$e(t){var e=U$e(t,"string");return typeof e=="symbol"?e:e+""}function U$e(t,e){if(typeof t!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function nae(t){return t&&t.map((e,r)=>Yn.createElement(e.tag,RC({key:r},e.attr),nae(e.child)))}function Bt(t){return e=>Yn.createElement(B$e,EC({attr:RC({},t.attr)},e),nae(t.child))}function B$e(t){var e=r=>{var{attr:n,size:s,title:i}=t,o=O$e(t,$$e),l=s||r.size||"1em",c;return r.className&&(c=r.className),t.className&&(c=(c?c+" ":"")+t.className),Yn.createElement("svg",EC({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,o,{className:c,style:RC(RC({color:t.color||r.color},r.style),t.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),i&&Yn.createElement("title",null,i),t.children)};return dW!==void 0?Yn.createElement(dW.Consumer,null,r=>e(r)):e(rae)}function z$e(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m12 17 1-2V9.858c1.721-.447 3-2 3-3.858 0-2.206-1.794-4-4-4S8 3.794 8 6c0 1.858 1.279 3.411 3 3.858V15l1 2zM10 6c0-1.103.897-2 2-2s2 .897 2 2-.897 2-2 2-2-.897-2-2z"},child:[]},{tag:"path",attr:{d:"m16.267 10.563-.533 1.928C18.325 13.207 20 14.584 20 16c0 1.892-3.285 4-8 4s-8-2.108-8-4c0-1.416 1.675-2.793 4.267-3.51l-.533-1.928C4.197 11.54 2 13.623 2 16c0 3.364 4.393 6 10 6s10-2.636 10-6c0-2.377-2.197-4.46-5.733-5.437z"},child:[]}]})(t)}function q$e(t){return Bt({attr:{viewBox:"0 0 24 24",fill:"none"},child:[{tag:"path",attr:{d:"M12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8V16Z",fill:"currentColor"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM12 4V8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16V20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4Z",fill:"currentColor"},child:[]}]})(t)}function V$e(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,23 L4,20 L1,23 Z M20,4 L23,1 L20,4 Z M9,11 L12,8 L9,11 Z M13,15 L16,12 L13,15 Z M10,5 L19,14 L20,13 C22,11 24.0533047,8.00000006 20,4 C15.9466953,-5.91784286e-08 13,2 11,4 L10,5 Z M4,11 L5,10 L14,19 L13,20 C11.0000005,22 7.9999999,24.0873857 4,20 C9.84858655e-08,15.9126143 2,13 4,11 Z"},child:[]}]})(t)}function H$e(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,22 L12,2 M2,12 L22,12"},child:[]}]})(t)}function G$e(t){return Bt({attr:{fill:"none",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{strokeWidth:"2",d:"M12 12a3 3 0 100-6 3 3 0 000 6zm0 0v11M7.05 4.05A6.978 6.978 0 005 9c0 1.933.784 3.683 2.05 4.95m9.9 0A6.978 6.978 0 0019 9a6.978 6.978 0 00-2.05-4.95M4.222 1.222A10.966 10.966 0 001 9c0 3.037 1.231 5.787 3.222 7.778m15.556 0A10.966 10.966 0 0023 9c0-3.038-1.231-5.788-3.222-7.778"},child:[]}]})(t)}function W$e(t){return Bt({attr:{fill:"none",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{strokeWidth:"2",d:"M3 17h4m3 0h4m3 0h4M4 21h2a1 1 0 001-1V4a1 1 0 00-1-1H4a1 1 0 00-1 1v16a1 1 0 001 1zm7 0h2a1 1 0 001-1V4a1 1 0 00-1-1h-2a1 1 0 00-1 1v16a1 1 0 001 1zm7 0h2a1 1 0 001-1V4a1 1 0 00-1-1h-2a1 1 0 00-1 1v16a1 1 0 001 1z"},child:[]}]})(t)}function Y$e(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M10,1 L10,11 L13,9 L16,11 L16,1 M5.5,18 C4.11928813,18 3,19.1192881 3,20.5 C3,21.8807119 4.11928813,23 5.5,23 L22,23 M3,20.5 L3,3.5 C3,2.11928813 4.11928813,1 5.5,1 L21,1 L21,18.0073514 L5.49217286,18.0073514 M20.5,18 C19.1192881,18 18,19.1192881 18,20.5 C18,21.8807119 19.1192881,23 20.5,23 L20.5,23"},child:[]}]})(t)}function K$e(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M5.5,18 C4.11928813,18 3,19.1192881 3,20.5 C3,21.8807119 4.11928813,23 5.5,23 L22,23 M3,20.5 L3,3.5 C3,2.11928813 4.11928813,1 5.5,1 L21,1 L21,18.0073514 L5.49217286,18.0073514 M20.5,18 C19.1192881,18 18,19.1192881 18,20.5 C18,21.8807119 19.1192881,23 20.5,23 L20.5,23"},child:[]}]})(t)}function Q$e(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M5,6 L1,4.5 L1,18.443038 L12,23 L23,18.443038 L23,4 L19,6 M5,16 L5,2 L12,5 L19,2 L19,16 L12,19 L5,16 Z M11.95,5 L11.95,19"},child:[]}]})(t)}function Z$e(t){return Bt({attr:{fill:"none",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{strokeWidth:"2",d:"M15 19H2V1h16v4m0 0a5 5 0 110 10 5 5 0 010-10zm-3 9v8l3-2 3 2v-8M5 8h6m-6 3h5m-5 3h2M5 5h2"},child:[]}]})(t)}function X$e(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 Z M12,10 L12,18 M12,6 L12,8"},child:[]}]})(t)}function J$e(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 Z M12,15 L12,14 C12,13 12,12.5 13,12 C14,11.5 15,11 15,9.5 C15,8.5 14,7 12,7 C10,7 9,8.26413718 9,10 M12,16 L12,18"},child:[]}]})(t)}function eOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M10,4 C10,2.8954305 10.8954305,2 12,2 C13.1045695,2 14,2.8954305 14,4 L14,10 L20,10 L20,14 L4,14 L4,10 L10,10 L10,4 Z M4,14 L20,14 L20,22 L12,22 L4,22 L4,14 Z M16,22 L16,16.3646005 M8,22 L8,16.3646005 M12,22 L12,16.3646005"},child:[]}]})(t)}function tOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 Z M5,5 L19,19"},child:[]}]})(t)}function rOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,1 L23,1 L23,23 L1,23 L1,1 Z M1,5 L23,5 M5,1 L5,5 M11,16 L19,16 M5,10 L8,13 L5,16"},child:[]}]})(t)}function nOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M3,3 L21,21 M3,21 L21,3"},child:[]}]})(t)}function sOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M6,6 L6,5 C6,2 7.5,1 10,1 L14,1 C16.5,1 18,2.5 18,5 L18,6 C21,6 23,8 23,11 C23,14 21,16 18,16 M14,6 L6,6 C3,6 1,7.5 1,11 C1,14.5 3,16 6,16 M8,19 L16,19 L16,12 L8,12 L8,19 Z M12,19 L12,23 L12,19 Z M9,23 L15,23 L9,23 Z"},child:[]}]})(t)}function iOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M8,9 L16,9 L16,1 L8,1 L8,9 Z M1,23 L9,23 L9,15 L1,15 L1,23 Z M15,23 L23,23 L23,15 L15,15 L15,23 Z M5,15 L8,9 L5,15 Z M10,19 L14,19 L10,19 Z M16,9 L19,15 L16,9 Z"},child:[]}]})(t)}function oOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M9,22 L15,2 M17,17 L22,12 L17,7 M7,17 L2,12 L7,7"},child:[]}]})(t)}function aOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M16,15 C20.0089021,14.9354541 23,11.9673591 23,8 C23,4.98813056 22.0029673,5.9851632 21,7 C20.0089021,7.97922849 18,10 18,10 L14,6 C14,6 16.0207715,3.99109792 17,3 C18.0148368,1.99703264 18.0148368,1 16,1 C12.0326409,0.999999999 9.05307486,3.99109792 9,8 C9.04154304,8.97626113 9,11 9,11 C7.11486635,12.8970031 4.65923194,15.3526375 3,17 C0.0682492584,19.9436202 4.05637975,23.9317507 7,21 C8.65052042,19.3376102 11.1126942,16.8754364 13,15 C13,15 15.0237389,14.958457 16,15 Z"},child:[]}]})(t)}function lOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,2 L22,2 L22,18 L14,18 L6,22 L6,18 L1,18 L1,2 Z M6,10 L7,10 L7,11 L6,11 L6,10 Z M11,10 L12,10 L12,11 L11,11 L11,10 Z M16,10 L17,10 L17,11 L16,11 L16,10 Z"},child:[]}]})(t)}function cOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M9,15 L17,15 L9,15 Z M9,11 L19,11 L9,11 Z M9,7 L13,7 L9,7 Z M16,1 L16,7 L22,7 M6,5 L2,5 L2,23 L18,23 L18,19 M22,19 L6,19 L6,1 L17,1 L22,6 L22,19 L22,19 Z"},child:[]}]})(t)}function uOe(t){return Bt({attr:{fill:"none",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{strokeWidth:"2",d:"M1 18h3m-3-4h3m-3-4h3M1 6h3m16 12h3m-3-4h3m-3-4h3m-3-4h3M6 1v3m4-3v3m4-3v3m4-3v3M6 20v3m4-3v3m4-3v3m4-3v3M5 20h14a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v14a1 1 0 001 1zm8-13h4v4h-4V7z"},child:[]}]})(t)}function pW(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M6.5,10.5 L12,13.5 L17.5,10.5 L17.5,4.5 L12,1.5 L6.5,4.5 L6.5,10.5 Z M6.5,4.5 L12,7.5 L17.5,4.5 M12,7.5 L12,13.5 L12,7.5 Z M1,19.5 L6.5,22.5 L12,19.5 L12,13.5 L6.5,10.5 L1,13.5 L1,19.5 Z M1,13.5 L6.5,16.5 L12,13.5 M6.5,16.5 L6.5,22.5 L6.5,16.5 Z M12,19.5 L17.5,22.5 L23,19.5 L23,13.5 L17.5,10.5 L12,13.5 L12,19.5 Z M12,13.5 L17.5,16.5 L23,13.5 M17.5,16.5 L17.5,22.5 L17.5,16.5 Z"},child:[]}]})(t)}function dOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 Z M15,16 C15,14.3431458 13.6568542,13 12,13 C10.3431458,13 9,14.3431458 9,16 M5,5 L7,7 M12,7 L12,13 M12,3 L12,5 M19,12 L21,12 M3,12 L5,12 M17,7 L19,5 M3,17 L21,17"},child:[]}]})(t)}function fOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,2 L23,2 L23,9 L1,9 L1,2 Z M4,12 L5,12 L5,13 L4,13 L4,12 Z M4,5 L5,5 L5,6 L4,6 L4,5 Z M4,19 L5,19 L5,20 L4,20 L4,19 Z M1,16 L23,16 L23,23 L1,23 L1,16 Z M1,9 L23,9 L23,16 L1,16 L1,9 Z"},child:[]}]})(t)}function pOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M17,11 L22,6 L17,1 M22,6 L18,6 C14.686,6 12,8.686 12,12 L12,24 M7,6 L2,11 L7,16 M2,11 L6,11 C9.314,11 12,13.686 12,17 L12,24"},child:[]}]})(t)}function mOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M2.99787498,0.999999992 L17.4999998,0.999999992 L20.9999998,4.50000005 L21,23 L3,23 L2.99787498,0.999999992 Z M16,1 L16,6 L21,6 M9,12 L15,18 M15,12 L9,18"},child:[]}]})(t)}function hOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M6,16 L16,16 L6,16 L6,16 Z M6,12 L18,12 L6,12 L6,12 Z M6,8 L11,8 L6,8 L6,8 Z M14,1 L14,8 L21,8 M3,23 L3,1 L15,1 L21,7 L21,23 L3,23 Z"},child:[]}]})(t)}function gOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M14,1 L14,8 L21,8 M21,23 L3,23 L3,1 L15,1 L18,4 L21,7 L21,23 L21,23 L21,23 Z"},child:[]}]})(t)}function _Oe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"polyline",attr:{fill:"none",strokeWidth:"2",points:"7.086 3.174 17.086 13.174 7.086 23.174",transform:"scale(1 -1) rotate(-89 -1.32 0)"},child:[]}]})(t)}function vOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,17 L1,23 L23,23 L23,17 M12,2 L12,19 M5,12 L12,19 L19,12"},child:[]}]})(t)}function yOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M14,4 L20,10 L14,4 Z M22.2942268,5.29422684 C22.6840146,5.68401459 22.6812861,6.3187139 22.2864907,6.71350932 L9,20 L2,22 L4,15 L17.2864907,1.71350932 C17.680551,1.319449 18.3127724,1.31277239 18.7057732,1.70577316 L22.2942268,5.29422684 Z M3,19 L5,21 M7,17 L15,9"},child:[]}]})(t)}function bOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"polygon",attr:{fill:"none",strokeWidth:"2",points:"3 6 10 13 10 21 14 21 14 13 21 6 21 3 3 3"},child:[]}]})(t)}function xOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M2,10 L2,6 L2,2 L10,2 L13,6 L22,6 L22,10 L2,10 Z M2,10 L22,10 L22,22 L2,22 L2,10 Z"},child:[]}]})(t)}function SOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M3,12 L6,12 C6.5,14.5 9.27272727,17 12,17 C14.7272727,17 17.5,14.5 18,12 L21,12 M12,17 L12,20 M7.5,15.5 L5.5,17.5 M16.5,15.5 L18.5,17.5"},child:[]}]})(t)}function wOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,17 C9.27272727,17 6,14.2222222 6,12 C6,9.77777778 9.27272727,7 12,7 C14.7272727,7 18,9.77777778 18,12 C18,14.2222222 14.7272727,17 12,17 Z M11,12 C11,12.55225 11.44775,13 12,13 C12.55225,13 13,12.55225 13,12 C13,11.44775 12.55225,11 12,11 C11.44775,11 11,11.44775 11,12 Z"},child:[]}]})(t)}function COe(t){return Bt({attr:{fill:"none",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{strokeWidth:"2",d:"M12 20v-5m0-6V4m-7 8h5m9 0h-5m-.969-4.031L12 9.344l-1.031-1.375h2.062zm-2.062 8.07L12 14.664l1.031 1.375H10.97zM6 13.031L4.625 12 6 10.969v2.062zm12-2.062L19.375 12 18 13.031V10.97zM12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1z"},child:[]}]})(t)}function AOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,13 C14.209139,13 16,11.209139 16,9 C16,6.790861 14.209139,5 12,5 C9.790861,5 8,6.790861 8,9 C8,11.209139 9.790861,13 12,13 Z M6,22 L6,19 C6,15.6862915 8.6862915,13 12,13 C15.3137085,13 18,15.6862915 18,19 L18,22 M13,5 C13.4037285,3.33566165 15.0151447,2 17,2 C19.172216,2 20.98052,3.790861 21,6 C20.98052,8.209139 19.172216,10 17,10 L16,10 L17,10 C20.287544,10 23,12.6862915 23,16 L23,18 M11,5 C10.5962715,3.33566165 8.98485529,2 7,2 C4.82778404,2 3.01948003,3.790861 3,6 C3.01948003,8.209139 4.82778404,10 7,10 L8,10 L7,10 C3.71245602,10 1,12.6862915 1,16 L1,18"},child:[]}]})(t)}function kOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,12 C1,18.075 5.925,23 12,23 C18.075,23 23,18.075 23,12 C23,5.925 18.075,1 12,1 C7.563,1 4,4 2,7.5 M1,1 L1,8 L8,8 M16,17 L12,13 L12,6"},child:[]}]})(t)}function MOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,11 L12,2 L23,11 M15,23 L15,15 L15,15 L9,15 L9,23 M4,23 L4,9 M20,23 L20,9"},child:[]}]})(t)}function POe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M17,4 L18,4 L18,5 L17,5 L17,4 Z M3,1 L21,1 L21,23 L3,23 L3,1 Z M3,13 L21,13 L3,13 Z M3,18 L21,18 L3,18 Z M3,8 L21,8 L3,8 Z"},child:[]}]})(t)}function jOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M10,13 L10,16 L13,16 L13,19 L16,19 L16,21 L18,23 L23,23 L23,19 L12.74,8.74 C12.91,8.19 13,7.6 13,7 C13,3.69 10.31,1 7,1 C3.69,1 1,3.69 1,7 C1,10.31 3.69,13 7,13 C7.88,13 8.72,12.81 9.47,12.47 L10,13 Z M6,7 C5.4475,7 5,6.5525 5,6 C5,5.4475 5.4475,5 6,5 C6.5525,5 7,5.4475 7,6 C7,6.5525 6.5525,7 6,7 Z"},child:[]}]})(t)}function TOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,23 C18.0751322,23 23,18.0751322 23,12 C23,5.92486775 18.0751322,1 12,1 C5.92486775,1 1,5.92486775 1,12 C1,18.0751322 5.92486775,23 12,23 Z M12,23 C15,23 16,18 16,12 C16,6 15,1 12,1 C9,1 8,6 8,12 C8,18 9,23 12,23 Z M2,16 L22,16 M2,8 L22,8"},child:[]}]})(t)}function EOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeWidth:"2",d:"M9,6 L21,6 M9,12 L21,12 M9,18 L17,18 M4,7 C4.55228475,7 5,6.55228475 5,6 C5,5.44771525 4.55228475,5 4,5 C3.44771525,5 3,5.44771525 3,6 C3,6.55228475 3.44771525,7 4,7 Z M4,13 C4.55228475,13 5,12.5522847 5,12 C5,11.4477153 4.55228475,11 4,11 C3.44771525,11 3,11.4477153 3,12 C3,12.5522847 3.44771525,13 4,13 Z M4,19 C4.55228475,19 5,18.5522847 5,18 C5,17.4477153 4.55228475,17 4,17 C3.44771525,17 3,17.4477153 3,18 C3,18.5522847 3.44771525,19 4,19 Z"},child:[]}]})(t)}function ROe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M19,23 L19,11 L5,11 L5,23 L19,23 Z M12,15 L12,19 M17,11 L17,7 C17,4 17,1 12,1 C7,1 7,4 7,7 L7,11"},child:[]}]})(t)}function IOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M13,9 L13,2 L1,2 L1,22 L13,22 L13,15 M22,12 L5,12 M17,7 L22,12 L17,17"},child:[]}]})(t)}function DOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M2.5,19.5 L19.5,2.5 L21.5,4.5 L4.5,21.5 L2.5,19.5 Z M3,20 L15,8 L16,9 L4,21 L3,20 Z M5.5,3 L5,3.5 L5.5,4 L6,3.5 L5.5,3 Z M11.5,3 L11,3.5 L11.5,4 L12,3.5 L11.5,3 Z M8.5,6 L8,6.5 L8.5,7 L9,6.5 L8.5,6 Z M20.5,12 L20,12.5 L20.5,13 L21,12.5 L20.5,12 Z M20.5,17 L20,17.5 L20.5,18 L21,17.5 L20.5,17 Z"},child:[]}]})(t)}function $Oe(t){return Bt({attr:{fill:"none",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{strokeWidth:"2",d:"M10 18h4m-4-4h4m-4-4h4m-4-4h4m6 12h3m-3-4h3m-3-4h3m-3-4h3M1 18h3m-3-4h3m-3-4h3M1 6h3m11 14h4a1 1 0 001-1V5a1 1 0 00-1-1h-4a1 1 0 00-1 1v14a1 1 0 001 1zM5 20h4a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v14a1 1 0 001 1z"},child:[]}]})(t)}function OOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M16,16 C16,14.8954305 12.8659932,14 9,14 C5.13400675,14 2,14.8954305 2,16 C2,17.1045695 5.13400675,18 9,18 C12.8659932,18 16,17.1045695 16,16 Z M2,16 L2,20.9367547 C2,22.0762536 5.13400675,23 9,23 C12.8659932,23 16,22.0762537 16,20.9367548 L16,16 M9,5 C4.581722,5 1,5.8954305 1,7 C1,8.1045695 4.581722,9 9,9 M1,7 L1,12.0000002 C1,13.0128881 4.581722,14 9,14 M23,4 C23,2.8954305 19.9004329,2 16.0769231,2 C12.2534133,2 9.15384615,2.8954305 9.15384615,4 C9.15384615,5.1045695 12.2534133,6 16.0769231,6 C19.9004329,6 23,5.1045695 23,4 Z M16,16 C19.8235098,16 23.0000002,15.0128879 23.0000002,14 L23,4 M9.15384615,3.99999999 L9.15384615,14.1660042 M8.99999999,9.00000001 C8.99999999,10.0128879 12.2534135,11 16.0769233,11 C19.9004331,11 23.0000004,10.0128879 23.0000004,9.00000001"},child:[]}]})(t)}function LOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,16 L23,16 L23,2 L1,2 L1,16 Z M5,22 L19,22 L5,22 Z M9,22 L15,22 L15,16 L9,16 L9,22 Z"},child:[]}]})(t)}function NOe(t){return Bt({attr:{fill:"none",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{strokeLinejoin:"round",strokeWidth:"2",d:"M9.874 5.008c2.728-1.68 6.604-1.014 8.25.197-2.955.84-5.11 3.267-5.242 6.415-.18 4.28 3.006 6.588 5.24 7.152-1.964 1.343-4.36 1.293-5.235 1.172-3.568-.492-6.902-3.433-7.007-7.711-.106-4.278 2.573-6.35 3.994-7.225z"},child:[]}]})(t)}function FOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M3,13 L3,11 L5,11 L5,13 L3,13 Z M11,12.9995001 L11,11 L12.9995001,11 L12.9995001,12.9995001 L11,12.9995001 Z M19,12.9995001 L19,11 L20.9995001,11 L20.9995001,12.9995001 L19,12.9995001 Z"},child:[]}]})(t)}function UOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M7.5,7 L7.5,15.5142857 C7.5,19.7571429 13,18.3428571 13,22.1142857 L13,24 M11,10 L7.5,7 L4,10 M16.5,2 L16.5,10.440516 C16.5,14.5083612 13,13.1524128 13,16.7682752 L13,24 M13,5 L16.5,2 L20,5"},child:[]}]})(t)}function BOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"polyline",attr:{fill:"none",strokeWidth:"2",points:"7 2 17 12 7 22"},child:[]}]})(t)}function zOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M3,1 L3,23 L16,23 L21,18 L21,1 L3,1 Z M6,17 L11,17 M6,13 L18,13 M6,9 L16,9 M3,5 L21,5 M21,17 L15,17 L15,23"},child:[]}]})(t)}function qOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M4,19 L4,9 C4,4.582 7.582,1 12,1 C16.418,1 20,4.582 20,9 L20,19 M1,19 L23,19 M15,19 L15,20 C15,21.657 13.657,23 12,23 C10.343,23 9,21.657 9,20 L9,19"},child:[]}]})(t)}function VOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"polygon",attr:{fill:"none",strokeWidth:"2",points:"3 22 21 12 3 2"},child:[]}]})(t)}function HOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"11",fill:"none",strokeWidth:"2"},child:[]}]})(t)}function GOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M20,8 C18.5974037,5.04031171 15.536972,3 12,3 C7.02943725,3 3,7.02943725 3,12 C3,16.9705627 7.02943725,21 12,21 L12,21 C16.9705627,21 21,16.9705627 21,12 M21,3 L21,9 L15,9"},child:[]}]})(t)}function WOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,3 L21,7.5 L12,12 L3,7.5 L12,3 Z M16.5,10.25 L21,12.5 L12,17 L3,12.5 L7.5,10.25 L7.5,10.25 M16.5,15.25 L21,17.5 L12,22 L3,17.5 L7.5,15.25 L7.5,15.25"},child:[]}]})(t)}function YOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M7,17 C2.97059067,12.7941347 2.97059067,6.11763731 7,2 L22,17 C17.8823627,21.0294093 11.2058653,21.0294093 7,17 Z M7,17 C3.705,17 1,19.9491525 1,23 L13,23 C13,21.8610169 12.63,20.9661017 12,20 M15,9 L19,5 L15,9 Z M20.5,1 C19.119,1 18,2.119 18,3.5 C18,4.881 19.119,6 20.5,6 C21.881,6 23,4.881 23,3.5 C23,2.119 21.881,1 20.5,1 L20.5,1 Z"},child:[]}]})(t)}function KOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M15,15 L22,22 L15,15 Z M9.5,17 C13.6421356,17 17,13.6421356 17,9.5 C17,5.35786438 13.6421356,2 9.5,2 C5.35786438,2 2,5.35786438 2,9.5 C2,13.6421356 5.35786438,17 9.5,17 Z"},child:[]}]})(t)}function QOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M7,11 L7,6 C7,3 9,1 12,1 C15,1 17,3 17,6 L17,11 M12,23 C15.8659932,23 19,19.8659932 19,16 C19,12.1340068 15.8659932,9 12,9 C8.13400675,9 5,12.1340068 5,16 C5,19.8659932 8.13400675,23 12,23 Z M12,15 L12,19 M12,16 C12.5522847,16 13,15.5522847 13,15 C13,14.4477153 12.5522847,14 12,14 C11.4477153,14 11,14.4477153 11,15 C11,15.5522847 11.4477153,16 12,16 Z"},child:[]}]})(t)}function ZOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M22,3 L2,11 L20.5,19 L22,3 Z M10,20.5 L13,16 M15.5,9.5 L9,14 L9.85884537,20.0119176 C9.93680292,20.5576204 10.0751625,20.5490248 10.1651297,20.009222 L11,15 L15.5,9.5 Z"},child:[]}]})(t)}function mW(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,8 L23,8 L23,1 L1,1 L1,8 Z M11,5 L12,5 L12,4 L11,4 L11,5 Z M19,5 L20,5 L20,4 L19,4 L19,5 Z M15,5 L16,5 L16,4 L15,4 L15,5 Z M11,12 L12,12 L12,11 L11,11 L11,12 Z M19,12 L20,12 L20,11 L19,11 L19,12 Z M15,12 L16,12 L16,11 L15,11 L15,12 Z M11,19 L12,19 L12,18 L11,18 L11,19 Z M19,19 L20,19 L20,18 L19,18 L19,19 Z M15,19 L16,19 L16,18 L15,18 L15,19 Z M1,15 L23,15 L23,8 L1,8 L1,15 Z M1,22 L23,22 L23,15 L1,15 L1,22 Z M21,23 L3,23"},child:[]}]})(t)}function XOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M14,19 L15,19 L15,18 L14,18 L14,19 Z M5,23 L19,23 L19,1 L5,1 L5,23 Z M8,5 L16,5 L8,5 Z M8,9 L16,9 L8,9 Z M8,13 L16,13 L8,13 Z"},child:[]}]})(t)}function JOe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M7,19 L8,19 L8,18 L7,18 L7,19 Z M18,19 L19,19 L19,18 L18,18 L18,19 Z M1,23 L12,23 L12,1 L1,1 L1,23 Z M12,23 L23,23 L23,1 L12,1 L12,23 Z M4,5 L9,5 L4,5 Z M15,5 L20,5 L15,5 Z M4,9 L9,9 L4,9 Z M15,9 L20,9 L15,9 Z M4,13 L9,13 L4,13 Z M15,13 L20,13 L15,13 Z"},child:[]}]})(t)}function eLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M7,13 C10.3137085,13 13,10.3137085 13,7 C13,3.6862915 10.3137085,1 7,1 C3.6862915,1 1,3.6862915 1,7 C1,10.3137085 3.6862915,13 7,13 Z M14.995457,16.6569808 L14.995457,16.6569808 C15.6222982,16.8791083 16.2970312,17 17,17 C20.3137085,17 23,14.3137085 23,11 C23,7.6862915 20.3137085,5 17,5 C15.5133616,5 14.1530044,5.54067366 13.1048383,6.43611087 M4.82356548,12.6921643 C3.69893809,13.7826979 3,15.3097261 3,17 C3,20.3137085 5.6862915,23 9,23 L9,23 C12.3137085,23 15,20.3137085 15,17 C15,14.4351166 13.3906156,12.2461251 11.1265973,11.3877758 M6.5,6 L8,7 L6.5,8 L6.5,6 Z"},child:[]}]})(t)}function tLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,9 L12,0 M15,12 L24,12 M0,12 L9,12 M12,24 L12,15 M12,21 C16.9705627,21 21,16.9705627 21,12 C21,7.02943725 16.9705627,3 12,3 C7.02943725,3 3,7.02943725 3,12 C3,16.9705627 7.02943725,21 12,21 Z M3.5,8.5 L1,7.5 M20.5,15.5 L23,16.5 M3,3 L5.5,5.5 M3,3 L5.5,5.5 M18,18 L20.5,20.5 M20.5,3 L18,5.5 M5.5,18 L3,20.5 M12,15 C13.6568542,15 15,13.6568542 15,12 C15,10.3431458 13.6568542,9 12,9 C10.3431458,9 9,10.3431458 9,12 C9,13.6568542 10.3431458,15 12,15 Z M20.5,8.5 L23,7.5 M15.5,3.5 L16.5,1 M15.5,20.5 L16.5,23 M8.5,20.5 L7.5,23 M3.5,15.5 L1,16.5 M8.5,3.5 L7.5,1"},child:[]}]})(t)}function rLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M19,13 L19,23 L1,23 L1,5 L1,5 L11,5 M14,1 L23,1 L23,10 M10,14 L22.9999998,1 L10,14 Z"},child:[]}]})(t)}function nLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,0 L12,24 M2,12 L12,12 M22,12 L12,12 M6,8 L2,12 L6,16 M18,8 L22,12 L18,16"},child:[]}]})(t)}function sLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M7,3 L22,3 M7,9 L16,9 M7,15 L22,15 M2,2 L4,2 L4,4 L2,4 L2,2 Z M2,8 L4,8 L4,10 L2,10 L2,8 Z M2,14 L4,14 L4,16 L2,16 L2,14 Z M2,20 L4,20 L4,22 L2,22 L2,20 Z M7,21 L16,21"},child:[]}]})(t)}function iLe(t){return Bt({attr:{viewBox:"0 0 12 12"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6.71239638,1.26313029 C6.31895072,0.869684641 5.68347072,0.867263198 5.28760362,1.26313029 L1.26313029,5.28760362 C0.869684641,5.68104928 0.867263198,6.31652928 1.26313029,6.71239638 L5.28760362,10.7368697 C5.68104928,11.1303154 6.31652928,11.1327368 6.71239638,10.7368697 L10.7368697,6.71239638 C11.1303154,6.31895072 11.1327368,5.68347072 10.7368697,5.28760362 L6.71239638,1.26313029 Z"},child:[]}]})(t)}function oLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12.7031806,2.70318058 C12.3148247,2.31482467 11.6897542,2.31024575 11.2968194,2.70318058 L2.70318058,11.2968194 C2.31482467,11.6851753 2.31024575,12.3102458 2.70318058,12.7031806 L11.2968194,21.2968194 C11.6851753,21.6851753 12.3102458,21.6897542 12.7031806,21.2968194 L21.2968194,12.7031806 C21.6851753,12.3148247 21.6897542,11.6897542 21.2968194,11.2968194 L12.7031806,2.70318058 Z M8.98264552,14.7001725 L14.7001725,8.98264552 M8.98264552,8.98264552 L14.7001725,14.7001725"},child:[]}]})(t)}function aLe(t){return Bt({attr:{viewBox:"0 0 12 12"},child:[{tag:"circle",attr:{cx:"6",cy:"6",r:"5",fillRule:"evenodd"},child:[]}]})(t)}function lLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 Z M7,12 L11,15 L16,8"},child:[]}]})(t)}function cLe(t){return Bt({attr:{viewBox:"0 0 12 12"},child:[{tag:"rect",attr:{width:"10",height:"10",x:"1",y:"1",fillRule:"evenodd",rx:"1"},child:[]}]})(t)}function uLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M2,3.99079514 C2,2.89130934 2.89821238,2 3.99079514,2 L20.0092049,2 C21.1086907,2 22,2.89821238 22,3.99079514 L22,20.0092049 C22,21.1086907 21.1017876,22 20.0092049,22 L3.99079514,22 C2.89130934,22 2,21.1017876 2,20.0092049 L2,3.99079514 Z M12,10 L12,18 M12,6 L12,8"},child:[]}]})(t)}function dLe(t){return Bt({attr:{viewBox:"0 0 12 12"},child:[{tag:"polygon",attr:{fillRule:"evenodd",strokeLinejoin:"round",points:"6 1 11 10 1 10"},child:[]}]})(t)}function fLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"2",d:"M12,3 L22,21 L2,21 L12,3 Z M12,9 L12,15 M12,16 L12,18"},child:[]}]})(t)}function pLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"rect",attr:{width:"16",height:"16",x:"4",y:"4",fill:"none",strokeWidth:"2"},child:[]}]})(t)}function mLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M2,5.07692308 C2,5.07692308 3.66666667,2 12,2 C20.3333333,2 22,5.07692308 22,5.07692308 L22,18.9230769 C22,18.9230769 20.3333333,22 12,22 C3.66666667,22 2,18.9230769 2,18.9230769 L2,5.07692308 Z M2,13 C2,13 5.33333333,16 12,16 C18.6666667,16 22,13 22,13 M2,7 C2,7 5.33333333,10 12,10 C18.6666667,10 22,7 22,7"},child:[]}]})(t)}function hLe(t){return Bt({attr:{fill:"none",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 4V2m0 20v-2m8-8h2M2 12h2m13.657-5.657L19.07 4.93M4.93 19.07l1.414-1.414m0-11.314L4.93 4.93M19.07 19.07l-1.414-1.414M12 17a5 5 0 100-10 5 5 0 000 10z"},child:[]}]})(t)}function gLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M5,19 L16,19 C19.866,19 23,15.866 23,12 L23,9 M8,15 L4,19 L8,23 M19,5 L8,5 C4.134,5 1,8.134 1,12 L1,15 M16,1 L20,5 L16,9"},child:[]}]})(t)}function _Le(t){return Bt({attr:{viewBox:"0 0 24 24",fill:"none"},child:[{tag:"path",attr:{d:"M1 13H5L7.5 4L12.5 20.5L17 9L19 13H23",strokeWidth:"2"},child:[]}]})(t)}function vLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M4,5 L20,5 L20,23 L4,23 L4,5 Z M1,5 L23,5 M9,1 L15,1 L15,5 L9,5 L9,1 Z M9,1 L15,1 L15,5 L9,5 L9,1 Z M15,9 L15,19 M9,9 L9,19"},child:[]}]})(t)}function yLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M4,1 L10,1 L10,7 L4,7 L4,1 Z M16,11 L20,11 L20,15 L16,15 L16,11 Z M16,19 L20,19 L20,23 L16,23 L16,19 Z M7,7 L7,21 L16,21 M7,13 L16,13"},child:[]}]})(t)}function bLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"polyline",attr:{fill:"none",strokeWidth:"2",points:"7.086 1.174 17.086 11.174 7.086 21.174",transform:"rotate(-89 12.086 11.174)"},child:[]}]})(t)}function xLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M12,18 L12,8 L12,18 Z M12,23 C18.0751322,23 23,18.0751322 23,12 C23,5.92486775 18.0751322,1 12,1 C5.92486775,1 1,5.92486775 1,12 C1,18.0751322 5.92486775,23 12,23 Z M17,12 L12,7 L7,12"},child:[]}]})(t)}function SLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M1,17 L1,23 L23,23 L23,17 M12,2 L12,19 M5,9 L12,2 L19,9"},child:[]}]})(t)}function hW(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M8,24 L8,19 M16,24 L16,19 M3,24 L3,19 C3,14.0294373 7.02943725,11 12,11 C16.9705627,11 21,14.0294373 21,19 L21,24 M12,11 C14.7614237,11 17,8.76142375 17,6 C17,3.23857625 14.7614237,1 12,1 C9.23857625,1 7,3.23857625 7,6 C7,8.76142375 9.23857625,11 12,11 Z"},child:[]}]})(t)}function wLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"},child:[]}]})(t)}function CLe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 13H5v-2h14v2z"},child:[]}]})(t)}function ALe(t){return Bt({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"},child:[]},{tag:"path",attr:{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},child:[]}]})(t)}function kLe(t){return Bt({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M176,16H80A24,24,0,0,0,56,40V216a24,24,0,0,0,24,24h96a24,24,0,0,0,24-24V40A24,24,0,0,0,176,16Zm8,200a8,8,0,0,1-8,8H80a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h96a8,8,0,0,1,8,8ZM168,56a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,56Z"},child:[]}]})(t)}function MLe(t){return Bt({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M200,152a31.84,31.84,0,0,0-19.53,6.68l-23.11-18A31.65,31.65,0,0,0,160,128c0-.74,0-1.48-.08-2.21l13.23-4.41A32,32,0,1,0,168,104c0,.74,0,1.48.08,2.21l-13.23,4.41A32,32,0,0,0,128,96a32.59,32.59,0,0,0-5.27.44L115.89,81A32,32,0,1,0,96,88a32.59,32.59,0,0,0,5.27-.44l6.84,15.4a31.92,31.92,0,0,0-8.57,39.64L73.83,165.44a32.06,32.06,0,1,0,10.63,12l25.71-22.84a31.91,31.91,0,0,0,37.36-1.24l23.11,18A31.65,31.65,0,0,0,168,184a32,32,0,1,0,32-32Zm0-64a16,16,0,1,1-16,16A16,16,0,0,1,200,88ZM80,56A16,16,0,1,1,96,72,16,16,0,0,1,80,56ZM56,208a16,16,0,1,1,16-16A16,16,0,0,1,56,208Zm56-80a16,16,0,1,1,16,16A16,16,0,0,1,112,128Zm88,72a16,16,0,1,1,16-16A16,16,0,0,1,200,200Z"},child:[]}]})(t)}function PLe(t){return Bt({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M232,112H136V88h8a16,16,0,0,0,16-16V40a16,16,0,0,0-16-16H112A16,16,0,0,0,96,40V72a16,16,0,0,0,16,16h8v24H24a8,8,0,0,0,0,16H56v32H48a16,16,0,0,0-16,16v32a16,16,0,0,0,16,16H80a16,16,0,0,0,16-16V176a16,16,0,0,0-16-16H72V128H184v32h-8a16,16,0,0,0-16,16v32a16,16,0,0,0,16,16h32a16,16,0,0,0,16-16V176a16,16,0,0,0-16-16h-8V128h32a8,8,0,0,0,0-16ZM112,40h32V72H112ZM80,208H48V176H80Zm128,0H176V176h32Z"},child:[]}]})(t)}function jLe(t){return Bt({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M232,104H208V56h24a8,8,0,0,0,0-16H205.83A16,16,0,0,0,192,32H176a16,16,0,0,0-13.83,8H144A104.11,104.11,0,0,0,40,144v18.16A16,16,0,0,0,32,176v16a16,16,0,0,0,8,13.84V232a8,8,0,0,0,16,0V208h48v24a8,8,0,0,0,16,0V205.84A16,16,0,0,0,128,192V176a16,16,0,0,0-8-13.84V144a24,24,0,0,1,24-24h18.17A16,16,0,0,0,176,128h16a16,16,0,0,0,13.83-8H232a8,8,0,0,0,0-16ZM112,176v16H48V176Zm-8-32v16H56V144a88.1,88.1,0,0,1,88-88h16v48H144A40,40,0,0,0,104,144Zm72-32V48h16v63.8c0,.07,0,.13,0,.2Z"},child:[]}]})(t)}function TLe(t){return Bt({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M27.2,126.4a8,8,0,0,0,11.2-1.6,52,52,0,0,1,83.2,0,8,8,0,0,0,11.2,1.59,7.73,7.73,0,0,0,1.59-1.59h0a52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,93.51a40,40,0,1,0-53.94,0,67.27,67.27,0,0,0-21,14.31,67.27,67.27,0,0,0-21-14.31,40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,25.6,115.2,8,8,0,0,0,27.2,126.4ZM176,40a24,24,0,1,1-24,24A24,24,0,0,1,176,40ZM80,40A24,24,0,1,1,56,64,24,24,0,0,1,80,40ZM203,197.51a40,40,0,1,0-53.94,0,67.27,67.27,0,0,0-21,14.31,67.27,67.27,0,0,0-21-14.31,40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,25.6,219.2a8,8,0,1,0,12.8,9.6,52,52,0,0,1,83.2,0,8,8,0,0,0,11.2,1.59,7.73,7.73,0,0,0,1.59-1.59h0a52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,197.51ZM80,144a24,24,0,1,1-24,24A24,24,0,0,1,80,144Zm96,0a24,24,0,1,1-24,24A24,24,0,0,1,176,144Z"},child:[]}]})(t)}function ELe(t){return Bt({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M20.5956 3.90332L15.9994 8.49951L20.5956 13.0957L22.0098 11.6815L18.8278 8.49951L22.0098 5.31753L20.5956 3.90332ZM21 19.9995V17.9995H3V19.9995H21ZM12 12.9995V10.9995H3V12.9995H12ZM12 5.99951V3.99951H3V5.99951H12Z"},child:[]}]})(t)}function RLe(t){return Bt({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M21 17.9995V19.9995H3V17.9995H21ZM17.4038 3.90332L22 8.49951L17.4038 13.0957L15.9896 11.6815L19.1716 8.49951L15.9896 5.31753L17.4038 3.90332ZM12 10.9995V12.9995H3V10.9995H12ZM12 3.99951V5.99951H3V3.99951H12Z"},child:[]}]})(t)}function ILe(t){return Bt({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M12 1L20.2169 2.82598C20.6745 2.92766 21 3.33347 21 3.80217V13.7889C21 15.795 19.9974 17.6684 18.3282 18.7812L12 23L5.6718 18.7812C4.00261 17.6684 3 15.795 3 13.7889V3.80217C3 3.33347 3.32553 2.92766 3.78307 2.82598L12 1ZM12 3.04879L5 4.60434V13.7889C5 15.1263 5.6684 16.3752 6.7812 17.1171L12 20.5963L17.2188 17.1171C18.3316 16.3752 19 15.1263 19 13.7889V4.60434L12 3.04879ZM16.4524 8.22183L17.8666 9.63604L11.5026 16L7.25999 11.7574L8.67421 10.3431L11.5019 13.1709L16.4524 8.22183Z"},child:[]}]})(t)}function DLe(t){return Bt({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M12 1L20.2169 2.82598C20.6745 2.92766 21 3.33347 21 3.80217V13.7889C21 15.795 19.9974 17.6684 18.3282 18.7812L12 23L5.6718 18.7812C4.00261 17.6684 3 15.795 3 13.7889V3.80217C3 3.33347 3.32553 2.92766 3.78307 2.82598L12 1ZM12 3.04879L5 4.60434V13.7889C5 15.1263 5.6684 16.3752 6.7812 17.1171L12 20.5963L17.2188 17.1171C18.3316 16.3752 19 15.1263 19 13.7889V4.60434L12 3.04879ZM12 7C13.1046 7 14 7.89543 14 9C14 9.73984 13.5983 10.3858 13.0011 10.7318L13 15H11L10.9999 10.7324C10.4022 10.3866 10 9.74025 10 9C10 7.89543 10.8954 7 12 7Z"},child:[]}]})(t)}function $Le(t){return Bt({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M3.78307 2.82598L12 1L20.2169 2.82598C20.6745 2.92766 21 3.33347 21 3.80217V13.7889C21 15.795 19.9974 17.6684 18.3282 18.7812L12 23L5.6718 18.7812C4.00261 17.6684 3 15.795 3 13.7889V3.80217C3 3.33347 3.32553 2.92766 3.78307 2.82598ZM5 4.60434V13.7889C5 15.1263 5.6684 16.3752 6.7812 17.1171L12 20.5963L17.2188 17.1171C18.3316 16.3752 19 15.1263 19 13.7889V4.60434L12 3.04879L5 4.60434ZM12 11C10.6193 11 9.5 9.88071 9.5 8.5C9.5 7.11929 10.6193 6 12 6C13.3807 6 14.5 7.11929 14.5 8.5C14.5 9.88071 13.3807 11 12 11ZM7.52746 16C7.77619 13.75 9.68372 12 12 12C14.3163 12 16.2238 13.75 16.4725 16H7.52746Z"},child:[]}]})(t)}function OLe(t){return Bt({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M0 4.02Zm.412-.503c-.038 0-.072 0-.102.01a.336.336 0 0 0-.087.035H.215a.325.325 0 0 0-.113.113.416.416 0 0 0-.053.1c-.008.021-.019.036-.023.067a.423.423 0 0 0-.015.071v-.01H.004v.018L0 3.936l.007-.023v.046L0 4.004v.015h.004l.003-.004v-.003a1.323 1.323 0 0 0 .095.472l.019.046v.007l.06.144.023.06.064.163a19.736 19.736 0 0 0 1.724 3.254L2 8.173l.023.038c.922 1.44 2.037 2.885 3.202 4.095l.037.04c.832.859 1.686 1.6 2.514 2.129a4 4 0 0 0 .37.216l.038.019-.026.019c-1.127 1.64-2.42 2.834-3.742 3.704C2.51 19.763.91 20.172.91 20.172s4.237 1.164 8.887-1.013c3.534-1.664 5.368-4.903 5.787-5.621l2.124-3.61c.333-.458.522-.647.54-.68.065-.065.538-.614 1.524-.946 1.46-.488 3.667-.783 4.188-.832a.113.113 0 0 0 .03-.132.076.076 0 0 0-.056-.05 4.177 4.177 0 0 0-.544-.037 9.234 9.234 0 0 0-1.399.068 18.39 18.39 0 0 0-1.383.204 29.78 29.78 0 0 0-1.066.204l-.053.012h-.023a3.493 3.493 0 0 1-.574.037 2.737 2.737 0 0 1-.473-.075 7.3 7.3 0 0 1-.465-.129 6.79 6.79 0 0 0-.484-.143 4.645 4.645 0 0 0-1.463-.152 2.797 2.797 0 0 0-.657.133l-.167.06a2.767 2.767 0 0 0-1.22.972c-.401.536-1.233 2.178-2.374 2.613l-.023-.023h.01a77.214 77.214 0 0 0-.9-.829l-.021-.015-.2-.189-.053-.042a60.73 60.73 0 0 0-2.307-2.014 28.411 28.411 0 0 0-1.504-1.13l-.227-.163a30.725 30.725 0 0 0-3.93-2.332c-.114-.064-.23-.102-.36-.166-.038-.016-.076-.038-.102-.038l.196.11-.079-.038h-.01V4.18a1.013 1.013 0 0 0-.054-.023l-.023-.015-.03-.015a1.01 1.01 0 0 1-.102-.05l-.072-.033a1.512 1.512 0 0 1-.098-.046c-.03-.01-.057-.022-.076-.022a1.296 1.296 0 0 0-.22-.08l-.007-.004-.015-.007h-.007l-.012-.004v-.004h-.022a.37.37 0 0 1-.038-.019l-.038-.018a.113.113 0 0 0-.034-.012h-.004l-.234-.094a2.854 2.854 0 0 0-.242-.087.601.601 0 0 0-.151-.03ZM0 3.891Zm.094.593.012.027Zm.012.03c.022.06.041.118.068.17zm.068.174.003.012zM16.757 8.3a.386.386 0 0 1 .113.015.386.386 0 0 1 .269.473.386.386 0 0 1-.473.264.386.386 0 0 1-.264-.468.386.386 0 0 1 .355-.284z"},child:[]}]})(t)}function LLe(t){return Bt({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M23.02 10.59a8.578 8.578 0 0 0-.862-3.034 8.911 8.911 0 0 0-1.789-2.445c.337-1.342-.413-2.505-.413-2.505-1.292-.08-2.113.4-2.416.62-.052-.02-.102-.044-.154-.064-.22-.089-.446-.172-.677-.247-.231-.073-.47-.14-.711-.197a9.867 9.867 0 0 0-.875-.161C14.557.753 12.94 0 12.94 0c-1.804 1.145-2.147 2.744-2.147 2.744l-.018.093c-.098.029-.2.057-.298.088-.138.042-.275.094-.413.143-.138.055-.275.107-.41.166a8.869 8.869 0 0 0-1.557.87l-.063-.029c-2.497-.955-4.716.195-4.716.195-.203 2.658.996 4.33 1.235 4.636a11.608 11.608 0 0 0-.607 2.635C1.636 12.677.953 15.014.953 15.014c1.926 2.214 4.171 2.351 4.171 2.351.003-.002.006-.002.006-.005.285.509.615.994.986 1.446.156.19.32.371.488.548-.704 2.009.099 3.68.099 3.68 2.144.08 3.553-.937 3.849-1.173a9.784 9.784 0 0 0 3.164.501h.08l.055-.003.107-.002.103-.005.003.002c1.01 1.44 2.788 1.646 2.788 1.646 1.264-1.332 1.337-2.653 1.337-2.94v-.058c0-.02-.003-.039-.003-.06.265-.187.52-.387.758-.6a7.875 7.875 0 0 0 1.415-1.7c1.43.083 2.437-.885 2.437-.885-.236-1.49-1.085-2.216-1.264-2.354l-.018-.013-.016-.013a.217.217 0 0 1-.031-.02c.008-.092.016-.18.02-.27.011-.162.016-.323.016-.48v-.253l-.005-.098-.008-.135a1.891 1.891 0 0 0-.01-.13c-.003-.042-.008-.083-.013-.125l-.016-.124-.018-.122a6.215 6.215 0 0 0-2.032-3.73 6.015 6.015 0 0 0-3.222-1.46 6.292 6.292 0 0 0-.85-.048l-.107.002h-.063l-.044.003-.104.008a4.777 4.777 0 0 0-3.335 1.695c-.332.4-.592.84-.768 1.297a4.594 4.594 0 0 0-.312 1.817l.003.091c.005.055.007.11.013.164a3.615 3.615 0 0 0 .698 1.82 3.53 3.53 0 0 0 1.827 1.282c.33.098.66.14.971.137.039 0 .078 0 .114-.002l.063-.003c.02 0 .041-.003.062-.003.034-.002.065-.007.099-.01.007 0 .018-.003.028-.003l.031-.005.06-.008a1.18 1.18 0 0 0 .112-.02c.036-.008.072-.013.109-.024a2.634 2.634 0 0 0 .914-.415c.028-.02.056-.041.085-.065a.248.248 0 0 0 .039-.35.244.244 0 0 0-.309-.06l-.078.042c-.09.044-.184.083-.283.116a2.476 2.476 0 0 1-.475.096c-.028.003-.054.006-.083.006l-.083.002c-.026 0-.054 0-.08-.002l-.102-.006h-.012l-.024.006c-.016-.003-.031-.003-.044-.006-.031-.002-.06-.007-.091-.01a2.59 2.59 0 0 1-.724-.213 2.557 2.557 0 0 1-.667-.438 2.52 2.52 0 0 1-.805-1.475 2.306 2.306 0 0 1-.029-.444l.006-.122v-.023l.002-.031c.003-.021.003-.04.005-.06a3.163 3.163 0 0 1 1.352-2.29 3.12 3.12 0 0 1 .937-.43 2.946 2.946 0 0 1 .776-.101h.06l.07.002.045.003h.026l.07.005a4.041 4.041 0 0 1 1.635.49 3.94 3.94 0 0 1 1.602 1.662 3.77 3.77 0 0 1 .397 1.414l.005.076.003.075c.002.026.002.05.002.075 0 .024.003.052 0 .07v.065l-.002.073-.008.174a6.195 6.195 0 0 1-.08.639 5.1 5.1 0 0 1-.267.927 5.31 5.31 0 0 1-.624 1.13 5.052 5.052 0 0 1-3.237 2.014 4.82 4.82 0 0 1-.649.066l-.039.003h-.287a6.607 6.607 0 0 1-1.716-.265 6.776 6.776 0 0 1-3.4-2.274 6.75 6.75 0 0 1-.746-1.15 6.616 6.616 0 0 1-.714-2.596l-.005-.083-.002-.02v-.056l-.003-.073v-.096l-.003-.104v-.07l.003-.163c.008-.22.026-.45.054-.678a8.707 8.707 0 0 1 .28-1.355c.128-.444.286-.872.473-1.277a7.04 7.04 0 0 1 1.456-2.1 5.925 5.925 0 0 1 .953-.763c.169-.111.343-.213.524-.306.089-.05.182-.091.273-.135.047-.02.093-.042.138-.062a7.177 7.177 0 0 1 .714-.267l.145-.045c.049-.015.098-.026.148-.041.098-.029.197-.052.296-.076.049-.013.1-.02.15-.033l.15-.032.151-.028.076-.013.075-.01.153-.024c.057-.01.114-.013.171-.023l.169-.021c.036-.003.073-.008.106-.01l.073-.008.036-.003.042-.002c.057-.003.114-.008.171-.01l.086-.006h.023l.037-.003.145-.007a7.999 7.999 0 0 1 1.708.125 7.917 7.917 0 0 1 2.048.68 8.253 8.253 0 0 1 1.672 1.09l.09.077.089.078c.06.052.114.107.171.159.057.052.112.106.166.16.052.055.107.107.159.164a8.671 8.671 0 0 1 1.41 1.978c.012.026.028.052.04.078l.04.078.075.156c.023.051.05.1.07.153l.065.15a8.848 8.848 0 0 1 .45 1.34.19.19 0 0 0 .201.142.186.186 0 0 0 .172-.184c.01-.246.002-.532-.024-.856z"},child:[]}]})(t)}function NLe(t){return Bt({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M21.039 0a2.959 2.959 0 00-2.65 4.274l-6.447 6.447a2.96 2.96 0 101.335 1.336l6.447-6.447A2.959 2.959 0 1021.04 0zM10.628 2.745c-.072 0-.143.003-.214.004-.072.002-.143.002-.215.005-.447.018-.893.064-1.335.138l-.03.005-.185.033-.105.02a7.718 7.718 0 00-.289.062l-.032.008a10.69 10.69 0 00-2.55.95l-.155.089c-.063.034-.125.07-.187.105-.046.027-.093.051-.14.079H5.19l-.01.005-.036.02v.002l.111.184 3.15 5.23a4.168 4.168 0 01.38-.202 4.294 4.294 0 011.628-.413c.071-.004.143-.008.214-.008zm.428.01v6.333c.325.034.647.103.96.209l4.66-4.66c-.173-.12-.348-.237-.528-.347l-.026-.015c-.056-.035-.112-.067-.168-.1l-.098-.056-.099-.055a12.735 12.735 0 00-.171-.092l-.027-.014a10.628 10.628 0 00-1.425-.617c-.69-.241-1.403-.41-2.128-.505l-.089-.012-.09-.01a6.56 6.56 0 00-.17-.019l-.049-.004-.204-.017a6.44 6.44 0 00-.255-.015c-.031-.003-.062-.003-.093-.004zM4.782 4.498a9.92 9.92 0 00-1.36 1.062l4.461 4.461.018.018c.049-.04.098-.078.149-.116l-.011-.018zm-1.67 1.36c-.05.05-.098.103-.147.154l-.149.155c-.33.357-.63.73-.902 1.118l-.039.056a10.588 10.588 0 00-.216.326 10.6 10.6 0 00-1.65 5.276l-.006.215-.003.214h6.317c0-.072.007-.143.01-.214.005-.072.006-.144.013-.215.081-.822.399-1.625.952-2.3.045-.055.096-.106.144-.16.048-.052.093-.107.144-.158zm16.255 1.464l-4.663 4.663c.106.312.175.634.21.959h6.332l-.004-.094a11.579 11.579 0 00-.032-.456l-.005-.052a13.044 13.044 0 00-.026-.241v-.009l-.033-.24v-.009a10.618 10.618 0 00-.327-1.493l-.003-.01a15.839 15.839 0 00-.07-.228l-.01-.03a14.111 14.111 0 00-.069-.204l-.02-.055a5.65 5.65 0 00-.153-.405 7.84 7.84 0 00-.093-.227 16.67 16.67 0 00-.063-.144l-.037-.081a13.776 13.776 0 00-.08-.171l-.024-.052-.096-.194-.014-.027a11.2 11.2 0 00-.112-.212l-.004-.008a10.615 10.615 0 00-.604-.98zm-4.43 6.05c0 .071-.006.142-.01.214-.003.072-.005.143-.012.214a4.29 4.29 0 01-.952 2.301c-.045.055-.096.107-.144.16-.048.053-.093.108-.144.159l4.467 4.467c.051-.051.099-.104.148-.155.05-.052.1-.103.148-.155.331-.358.633-.733.905-1.122l.032-.046.098-.144.085-.13.04-.063a10.597 10.597 0 001.647-5.272c.003-.071.004-.143.006-.214.001-.071.004-.143.004-.214zM.01 13.8l.004.093.01.179.005.076.017.206.005.046c.007.076.015.153.024.228l.003.022a9.605 9.605 0 00.033.248c.072.505.182 1.005.327 1.497l.002.006c.022.077.047.154.071.23l.004.014.005.014a15.737 15.737 0 00.153.439l.03.08.059.148a7.702 7.702 0 00.093.228l.062.14.038.084.078.169.027.054a10.677 10.677 0 00.225.441l.025.043 5.408-3.258.02-.012a4.314 4.314 0 01-.395-1.414h-.025zm.505 2.846l-.206.058.002.005zm6.425-1.052l-5.415 3.262c.083.139.17.273.259.406l.008.014.004.005.008.014h.001c.007.012.014.022.022.032l.001.002v.001a10.634 10.634 0 00.298.417l.006.008a9.963 9.963 0 00.29.368l.033.04c.043.052.086.103.13.153l.057.065.112.127.064.069.029.031.083.09.035.035c.049.051.098.103.149.153L7.58 16.42a3.86 3.86 0 01-.285-.321 4.422 4.422 0 01-.356-.505zm6.416 1.111c-.05.04-.1.079-.15.116l.011.018 3.257 5.407c.151-.099.3-.2.446-.307.315-.232.62-.484.914-.756l-4.46-4.46zm-5.457.003l-.015.015-4.46 4.46a8.966 8.966 0 00.195.176c.022.02.043.04.065.058l.152.13a10.622 10.622 0 00.215.174l.023.017.191.148.008.005c.268.2.547.389.834.564l.03.018.164.097.101.057a5.458 5.458 0 00.27.148c.008.004.016.01.025.013.162.085.327.164.493.24l.158-.385 2.243-5.448.009-.02a4.328 4.328 0 01-.701-.467zm4.951.353c-.061.037-.124.07-.187.104a4.318 4.318 0 01-3.271.336c-.069-.02-.135-.047-.203-.071-.067-.024-.136-.044-.202-.072l-2.242 5.444-.088.213-.075.183v.001l.017.007a.137.137 0 00.019.007l.005.003c.052.021.106.04.159.06.067.027.133.053.2.077l.102.04c.702.247 1.43.42 2.168.518l.087.012.09.01.172.019a7.173 7.173 0 00.252.022c.023.001.048.001.071.003l.184.011.112.005a7.06 7.06 0 00.358.007h.05a10.667 10.667 0 001.793-.15l.185-.034.105-.02.109-.023.18-.04.032-.008a10.684 10.684 0 002.55-.95c.052-.028.104-.06.156-.089.063-.034.125-.07.187-.105.043-.024.087-.047.13-.073h.001l.002-.002.002-.001.002-.001.007-.004.042-.025-.11-.183-.11-.184zm3.262 5.414l-.042.025.042-.024zm-.05.029zm-.005.004h-.002z"},child:[]}]})(t)}function FLe(t){return Bt({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M14.54.889l-3.63 1.773v18.17c-4.15-.52-7.27-2.78-7.27-5.5 0-2.58 2.8-4.75 6.63-5.41v-2.31C4.42 8.322 0 11.502 0 15.332c0 3.96 4.74 7.24 10.91 7.78l3.63-1.71V.888m.64 6.724v2.31c1.43.25 2.71.7 3.76 1.31l-1.97 1.11 7.03 1.53-.5-5.21-1.87 1.06c-1.74-1.06-3.96-1.81-6.45-2.11z"},child:[]}]})(t)}function ULe(t){return Bt({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 0C5.373 0 0 5.372 0 12c0 6.627 5.373 12 12 12s12-5.373 12-12c0-6.628-5.373-12-12-12zm0 22.46c-1.885 0-3.414-1.26-3.414-2.814h6.828c0 1.553-1.528 2.813-3.414 2.813zm5.64-3.745H6.36v-2.046h11.28v2.046zm-.04-3.098H6.391c-.037-.043-.075-.086-.111-.13-1.155-1.401-1.427-2.133-1.69-2.879-.005-.025 1.4.287 2.395.511 0 0 .513.119 1.262.255-.72-.843-1.147-1.915-1.147-3.01 0-2.406 1.845-4.508 1.18-6.207.648.053 1.34 1.367 1.387 3.422.689-.951.977-2.69.977-3.755 0-1.103.727-2.385 1.454-2.429-.648 1.069.168 1.984.894 4.256.272.854.237 2.29.447 3.201.07-1.892.395-4.652 1.595-5.605-.529 1.2.079 2.702.494 3.424.671 1.164 1.078 2.047 1.078 3.716a4.642 4.642 0 01-1.11 2.996c.792-.149 1.34-.283 1.34-.283l2.573-.502s-.374 1.538-1.81 3.019z"},child:[]}]})(t)}const ge={Copy:cOe,Terminal:rOe,Logs:zOe,Alerts:qOe,Profile:hW,Logout:IOe,Directions:pOe,Home:MOe,NCM:PLe,AAA:W$e,AMF:z$e,AUSF:jOe,CHF:OOe,DSM:mW,DRA:UOe,EIR:kLe,MME:G$e,NRF:TOe,PCF:ILe,SGWC:COe,SMF:jLe,SMSF:lOe,UDM:TLe,UDR:fOe,UPF:MLe,PLS:pW,BMSC:YOe,System:tLe,Licensing:Z$e,AuthenticationStrategies:DLe,Users:AOe,Roles:$Le,Backup:kOe,Service:eLe,Upgrade:xLe,TLS:ROe,Fluentbit:OLe,Prometheus:ULe,Grafana:LLe,UEstatus:_Le,Platform:pW,Monitoring:dOe,Code:oOe,Tree:yLe,Filter:bOe,Upload:SLe,Trash:vLe,Edit:yOe,Search:KOe,Info:X$e,Circle:HOe,User:hW,Send:ZOe,Disconnect:V$e,Download:vOe,Darkmode:NOe,Lightmode:hLe,Details:hOe,RightArrow:BOe,UpArrow:bLe,DownArrow:_Oe,Link:rLe,List:EOe,Stack:WOe,StatusError:oLe,StatusWarning:fLe,StatusInfo:uLe,StatusSuccess:lLe,StatusErrorSmall:iLe,StatusWarningSmall:dLe,StatusInfoSmall:cLe,StatusSuccessSmall:aLe,Add:H$e,Host:POe,Play:VOe,Stop:pLe,Folder:xOe,Refresh:GOe,Cpu:uOe,Ram:$Oe,Server:XOe,ServerCluster:mW,Servers:JOe,Clock:ALe,Cloud:sOe,Clear:eOe,More:FOe,QuestionMark:J$e,Magic:DOe,Document:gOe,Password:QOe,Sync:gLe,Close:nOe,DocumentMissing:mOe,Drive:mLe,Minus:CLe,Plus:wLe,NavigationBurgerOpen:RLe,NavigationBurgerClose:ELe,Cluster:iOe,Shift:nLe,PasswordView:wOe,PasswordHide:SOe,Config:aOe,Catalog:Q$e,Reset:tOe,Manual:Y$e,CatalogOption:K$e,OAS:NLe,Sort:sLe,Monitor:LOe,DarkModeToggle:q$e,OpenID:FLe},_e=I.forwardRef((t,e)=>{const r=he.c(14),{children:n,type:s,align:i,paragraph:o,color:l,fontWeight:c,lineHeight:u,noWrap:d,fontSize:f,sx:p,title:m,className:h}=t,_=d===void 0?!1:d;let g;return r[0]!==i||r[1]!==n||r[2]!==h||r[3]!==l||r[4]!==f||r[5]!==c||r[6]!==u||r[7]!==_||r[8]!==o||r[9]!==e||r[10]!==p||r[11]!==m||r[12]!==s?(g=a.jsx(cn,{variant:s,align:i,lineHeight:u,paragraph:o,color:l,fontWeight:c,ref:e,noWrap:_,fontSize:f,sx:p,title:m,className:h,children:n}),r[0]=i,r[1]=n,r[2]=h,r[3]=l,r[4]=f,r[5]=c,r[6]=u,r[7]=_,r[8]=o,r[9]=e,r[10]=p,r[11]=m,r[12]=s,r[13]=g):g=r[13],g});function Lr(t){const e=he.c(25),{severity:r,title:n,onClose:s,action:i,noIcon:o,message:l,sx:c,variant:u}=t,d=r===void 0?"info":r,f=u===void 0?"filled":u,p=ci();let m,h,_,g;e[0]===Symbol.for("react.memo_cache_sentinel")?(m={p:0,pt:"3px",height:"24px"},h={p:0},_={p:0,mr:0,pl:"12px"},g={py:0,height:"24px",width:"24px"},e[0]=m,e[1]=h,e[2]=_,e[3]=g):(m=e[0],h=e[1],_=e[2],g=e[3]);let y;e[4]!==c?(y={...c,py:"6px",px:"12px","& .MuiAlert-icon":m,"& .MuiAlert-message":h,"& .MuiAlert-action":_,"& .MuiIconButton-sizeSmall":g},e[4]=c,e[5]=y):y=e[5];let b;e[6]!==o||e[7]!==d||e[8]!==p?(b=o?!1:d==="error"?a.jsx(ge.StatusErrorSmall,{size:18,color:p.palette.error.main}):d==="success"?a.jsx(ge.StatusSuccessSmall,{size:18,color:p.palette.success.main}):d==="info"?a.jsx(ge.StatusInfoSmall,{size:18,color:p.palette.info.main}):d==="warning"?a.jsx(ge.StatusWarningSmall,{size:18,color:p.palette.warning.main}):!1,e[6]=o,e[7]=d,e[8]=p,e[9]=b):b=e[9];let x;e[10]!==n?(x=n&&a.jsx(D$e,{sx:{p:0,m:0,fontWeight:"500",lineHeight:"24px"},color:"text.primary",variant:"body2",children:n}),e[10]=n,e[11]=x):x=e[11];let w;e[12]!==l?(w=Array.isArray(l)?a.jsx("ul",{children:l.map(BLe)}):a.jsx(_e,{color:"text.secondary",sx:{lineHeight:"24px",whiteSpace:"pre-wrap"},type:"body2",children:l}),e[12]=l,e[13]=w):w=e[13];let C;e[14]!==w||e[15]!==x?(C=a.jsxs(a.Fragment,{children:[x,w]}),e[14]=w,e[15]=x,e[16]=C):C=e[16];let k;return e[17]!==i||e[18]!==s||e[19]!==d||e[20]!==C||e[21]!==y||e[22]!==b||e[23]!==f?(k=a.jsx(T$e,{sx:y,severity:d,onClose:s,action:i,icon:b,variant:f,children:C}),e[17]=i,e[18]=s,e[19]=d,e[20]=C,e[21]=y,e[22]=b,e[23]=f,e[24]=k):k=e[24],k}function BLe(t,e){return a.jsx("li",{children:a.jsx(_e,{color:"text.secondary",sx:{lineHeight:"24px"},children:t})},`${e}-${t}`)}let gW=!1;const zLe=()=>{gW||(console.warn(["MUI: The LoadingButton component functionality is now part of the Button component from Material UI.","","You should use `import Button from '@mui/material/Button'`","or `import { Button } from '@mui/material'`"].join(`
/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js.bak:294:    ${t.palette.mode==="light"?Fu(br(t.palette.divider,1),.88):Nu(br(t.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(t.vars||t).palette.text.primary}},{props:{variant:"footer"},style:{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${sFe.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:e})=>e.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default}}]}))),na=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableCell"}),{align:s="inherit",className:i,component:o,padding:l,scope:c,size:u,sortDirection:d,variant:f,...p}=n,m=I.useContext(gae),h=I.useContext(BA),_=h&&h.variant==="head";let g;o?g=o:g=_?"th":"td";let y=c;g==="td"?y=void 0:!y&&_&&(y="col");const b=f||h&&h.variant,x={...n,align:s,component:g,padding:l||(m&&m.padding?m.padding:"normal"),size:u||(m&&m.size?m.size:"medium"),sortDirection:d,stickyHeader:b==="head"&&m&&m.stickyHeader,variant:b},w=iFe(x);let C=null;return d&&(C=d==="asc"?"ascending":"descending"),a.jsx(oFe,{as:g,ref:r,className:lt(w.root,i),"aria-sort":C,scope:y,ownerState:x,...p})});function aFe(t){return tr("MuiTableContainer",t)}rr("MuiTableContainer",["root"]);const lFe=t=>{const{classes:e}=t;return nr({root:["root"]},aFe,e)},cFe=Ce("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(t,e)=>e.root})({width:"100%",overflowX:"auto"}),uFe=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableContainer"}),{className:s,component:i="div",...o}=n,l={...n,component:i},c=lFe(l);return a.jsx(cFe,{ref:r,as:i,className:lt(c.root,s),ownerState:l,...o})});function dFe(t){return tr("MuiTableHead",t)}rr("MuiTableHead",["root"]);const fFe=t=>{const{classes:e}=t;return nr({root:["root"]},dFe,e)},pFe=Ce("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-header-group"}),mFe={variant:"head"},$W="thead",OW=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableHead"}),{className:s,component:i=$W,...o}=n,l={...n,component:i},c=fFe(l);return a.jsx(BA.Provider,{value:mFe,children:a.jsx(pFe,{as:i,className:lt(c.root,s),ref:r,role:i===$W?null:"rowgroup",ownerState:l,...o})})});function hFe(t){return tr("MuiToolbar",t)}rr("MuiToolbar",["root","gutters","regular","dense"]);const gFe=t=>{const{classes:e,disableGutters:r,variant:n}=t;return nr({root:["root",!r&&"gutters",n]},hFe,e)},_Fe=Ce("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,!r.disableGutters&&e.gutters,e[r.variant]]}})(Xt(({theme:t})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:t.mixins.toolbar}]}))),tN=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiToolbar"}),{className:s,component:i="div",disableGutters:o=!1,variant:l="regular",...c}=n,u={...n,component:i,disableGutters:o,variant:l},d=gFe(u);return a.jsx(_Fe,{as:i,className:lt(d.root,s),ref:r,ownerState:u,...c})}),vFe=I.forwardRef(function(e,r){const{backIconButtonProps:n,count:s,disabled:i=!1,getItemAriaLabel:o,nextIconButtonProps:l,onPageChange:c,page:u,rowsPerPage:d,showFirstButton:f,showLastButton:p,slots:m={},slotProps:h={},..._}=e,g=ui(),y=q=>{c(q,0)},b=q=>{c(q,u-1)},x=q=>{c(q,u+1)},w=q=>{c(q,Math.max(0,Math.ceil(s/d)-1))},C=m.firstButton??Zr,k=m.lastButton??Zr,A=m.nextButton??Zr,P=m.previousButton??Zr,T=m.firstButtonIcon??U8e,j=m.lastButtonIcon??B8e,R=m.nextButtonIcon??nse,D=m.previousButtonIcon??rse,O=g?k:C,N=g?A:P,F=g?P:A,U=g?C:k,z=g?h.lastButton:h.firstButton,H=g?h.nextButton:h.previousButton,W=g?h.previousButton:h.nextButton,K=g?h.firstButton:h.lastButton;return a.jsxs("div",{ref:r,..._,children:[f&&a.jsx(O,{onClick:y,disabled:i||u===0,"aria-label":o("first",u),title:o("first",u),...z,children:g?a.jsx(j,{...h.lastButtonIcon}):a.jsx(T,{...h.firstButtonIcon})}),a.jsx(N,{onClick:b,disabled:i||u===0,color:"inherit","aria-label":o("previous",u),title:o("previous",u),...H??n,children:g?a.jsx(R,{...h.nextButtonIcon}):a.jsx(D,{...h.previousButtonIcon})}),a.jsx(F,{onClick:x,disabled:i||(s!==-1?u>=Math.ceil(s/d)-1:!1),color:"inherit","aria-label":o("next",u),title:o("next",u),...W??l,children:g?a.jsx(D,{...h.previousButtonIcon}):a.jsx(R,{...h.nextButtonIcon})}),p&&a.jsx(U,{onClick:w,disabled:i||u>=Math.ceil(s/d)-1,"aria-label":o("last",u),title:o("last",u),...K,children:g?a.jsx(T,{...h.firstButtonIcon}):a.jsx(j,{...h.lastButtonIcon})})]})});function yFe(t){return tr("MuiTablePagination",t)}const yb=rr("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var LW;const bFe=Ce(na,{name:"MuiTablePagination",slot:"Root",overridesResolver:(t,e)=>e.root})(Xt(({theme:t})=>({overflow:"auto",color:(t.vars||t).palette.text.primary,fontSize:t.typography.pxToRem(14),"&:last-child":{padding:0}}))),xFe=Ce(tN,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(t,e)=>({[`& .${yb.actions}`]:e.actions,...e.toolbar})})(Xt(({theme:t})=>({minHeight:52,paddingRight:2,[`${t.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[t.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${yb.actions}`]:{flexShrink:0,marginLeft:20}}))),SFe=Ce("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(t,e)=>e.spacer})({flex:"1 1 100%"}),wFe=Ce("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(t,e)=>e.selectLabel})(Xt(({theme:t})=>({...t.typography.body2,flexShrink:0}))),CFe=Ce(yA,{name:"MuiTablePagination",slot:"Select",overridesResolver:(t,e)=>({[`& .${yb.selectIcon}`]:e.selectIcon,[`& .${yb.select}`]:e.select,...e.input,...e.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${yb.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),AFe=Ce(E_,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(t,e)=>e.menuItem})({}),kFe=Ce("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(t,e)=>e.displayedRows})(Xt(({theme:t})=>({...t.typography.body2,flexShrink:0})));function MFe({from:t,to:e,count:r}){return`${t}–${e} of ${r!==-1?r:`more than ${e}`}`}function PFe(t){return`Go to ${t} page`}const jFe=t=>{const{classes:e}=t;return nr({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},yFe,e)},TFe=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTablePagination"}),{ActionsComponent:s=vFe,backIconButtonProps:i,colSpan:o,component:l=na,count:c,disabled:u=!1,getItemAriaLabel:d=PFe,labelDisplayedRows:f=MFe,labelRowsPerPage:p="Rows per page:",nextIconButtonProps:m,onPageChange:h,onRowsPerPageChange:_,page:g,rowsPerPage:y,rowsPerPageOptions:b=[10,25,50,100],SelectProps:x={},showFirstButton:w=!1,showLastButton:C=!1,slotProps:k={},slots:A={},...P}=n,T=n,j=jFe(T),R=k?.select??x,D=R.native?"option":AFe;let O;(l===na||l==="td")&&(O=o||1e3);const N=$c(R.id),F=$c(R.labelId),U=()=>c===-1?(g+1)*y:y===-1?c:Math.min(c,(g+1)*y),z={slots:A,slotProps:k},[H,W]=mr("root",{ref:r,className:j.root,elementType:bFe,externalForwardedProps:{...z,component:l,...P},ownerState:T,additionalProps:{colSpan:O}}),[K,q]=mr("toolbar",{className:j.toolbar,elementType:xFe,externalForwardedProps:z,ownerState:T}),[X,Q]=mr("spacer",{className:j.spacer,elementType:SFe,externalForwardedProps:z,ownerState:T}),[Y,Z]=mr("selectLabel",{className:j.selectLabel,elementType:wFe,externalForwardedProps:z,ownerState:T,additionalProps:{id:F}}),[re,fe]=mr("select",{className:j.select,elementType:CFe,externalForwardedProps:z,ownerState:T}),[de,se]=mr("menuItem",{className:j.menuItem,elementType:D,externalForwardedProps:z,ownerState:T}),[le,ee]=mr("displayedRows",{className:j.displayedRows,elementType:kFe,externalForwardedProps:z,ownerState:T});return a.jsx(H,{...W,children:a.jsxs(K,{...q,children:[a.jsx(X,{...Q}),b.length>1&&a.jsx(Y,{...Z,children:p}),b.length>1&&a.jsx(re,{variant:"standard",...!R.variant&&{input:LW||(LW=a.jsx(vA,{}))},value:y,onChange:_,id:N,labelId:F,...R,classes:{...R.classes,root:lt(j.input,j.selectRoot,(R.classes||{}).root),select:lt(j.select,(R.classes||{}).select),icon:lt(j.selectIcon,(R.classes||{}).icon)},disabled:u,...fe,children:b.map(J=>I.createElement(de,{...se,key:J.label?J.label:J,value:J.value?J.value:J},J.label?J.label:J))}),a.jsx(le,{...ee,children:f({from:c===0?0:g*y+1,to:U(),count:c===-1?-1:c,page:g})}),a.jsx(s,{className:j.actions,backIconButtonProps:i,count:c,nextIconButtonProps:m,onPageChange:h,page:g,rowsPerPage:y,showFirstButton:w,showLastButton:C,slotProps:k.actions,slots:A.actions,getItemAriaLabel:d,disabled:u})]})})});function EFe(t){return tr("MuiTableRow",t)}const NW=rr("MuiTableRow",["root","selected","hover","head","footer"]),RFe=t=>{const{classes:e,selected:r,hover:n,head:s,footer:i}=t;return nr({root:["root",r&&"selected",n&&"hover",s&&"head",i&&"footer"]},EFe,e)},IFe=Ce("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.head&&e.head,r.footer&&e.footer]}})(Xt(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${NW.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${NW.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:br(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}}))),FW="tr",d_=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableRow"}),{className:s,component:i=FW,hover:o=!1,selected:l=!1,...c}=n,u=I.useContext(BA),d={...n,component:i,hover:o,selected:l,head:u&&u.variant==="head",footer:u&&u.variant==="footer"},f=RFe(d);return a.jsx(IFe,{as:i,ref:r,className:lt(f.root,s),role:i===FW?null:"row",ownerState:d,...c})}),DFe=rs(a.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function $Fe(t){return tr("MuiTableSortLabel",t)}const XE=rr("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc","directionDesc","directionAsc"]),OFe=t=>{const{classes:e,direction:r,active:n}=t,s={root:["root",n&&"active",`direction${tt(r)}`],icon:["icon",`iconDirection${tt(r)}`]};return nr(s,$Fe,e)},LFe=Ce(La,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.active&&e.active]}})(Xt(({theme:t})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(t.vars||t).palette.text.secondary},"&:hover":{color:(t.vars||t).palette.text.secondary,[`& .${XE.icon}`]:{opacity:.5}},[`&.${XE.active}`]:{color:(t.vars||t).palette.text.primary,[`& .${XE.icon}`]:{opacity:1,color:(t.vars||t).palette.text.secondary}}}))),NFe=Ce("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.icon,e[`iconDirection${tt(r.direction)}`]]}})(Xt(({theme:t})=>({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:t.transitions.create(["opacity","transform"],{duration:t.transitions.duration.shorter}),userSelect:"none",variants:[{props:{direction:"desc"},style:{transform:"rotate(0deg)"}},{props:{direction:"asc"},style:{transform:"rotate(180deg)"}}]}))),FFe=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableSortLabel"}),{active:s=!1,children:i,className:o,direction:l="asc",hideSortIcon:c=!1,IconComponent:u=DFe,slots:d={},slotProps:f={},...p}=n,m={...n,active:s,direction:l,hideSortIcon:c,IconComponent:u},h=OFe(m),_={slots:d,slotProps:f},[g,y]=mr("root",{elementType:LFe,externalForwardedProps:_,ownerState:m,className:lt(h.root,o),ref:r}),[b,x]=mr("icon",{elementType:NFe,externalForwardedProps:_,ownerState:m,className:h.icon});return a.jsxs(g,{disableRipple:!0,component:"span",...y,...p,children:[i,c&&!s?null:a.jsx(b,{as:u,...x})]})});function UFe(t){return tr("MuiToggleButton",t)}const Zm=rr("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),_ae=I.createContext({}),vae=I.createContext(void 0);function BFe(t,e){return e===void 0||t===void 0?!1:Array.isArray(e)?e.includes(t):t===e}const zFe=t=>{const{classes:e,fullWidth:r,selected:n,disabled:s,size:i,color:o}=t,l={root:["root",n&&"selected",s&&"disabled",r&&"fullWidth",`size${tt(i)}`,o]};return nr(l,UFe,e)},qFe=Ce(La,{name:"MuiToggleButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`size${tt(r.size)}`]]}})(Xt(({theme:t})=>({...t.typography.button,borderRadius:(t.vars||t).shape.borderRadius,padding:11,border:`1px solid ${(t.vars||t).palette.divider}`,color:(t.vars||t).palette.action.active,[`&.${Zm.disabled}`]:{color:(t.vars||t).palette.action.disabled,border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:br(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${Zm.selected}`]:{color:(t.vars||t).palette.text.primary,backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette.text.primary,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:br(t.palette.text.primary,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette.text.primary,t.palette.action.selectedOpacity)}}}}},...Object.entries(t.palette).filter(Kn()).map(([e])=>({props:{color:e},style:{[`&.${Zm.selected}`]:{color:(t.vars||t).palette[e].main,backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette[e].main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:br(t.palette[e].main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette[e].main,t.palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:t.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:t.typography.pxToRem(15)}}]}))),VFe=I.forwardRef(function(e,r){const{value:n,...s}=I.useContext(_ae),i=I.useContext(vae),o=k_({...s,selected:BFe(e.value,n)},e),l=fr({props:o,name:"MuiToggleButton"}),{children:c,className:u,color:d="standard",disabled:f=!1,disableFocusRipple:p=!1,fullWidth:m=!1,onChange:h,onClick:_,selected:g,size:y="medium",value:b,...x}=l,w={...l,color:d,disabled:f,disableFocusRipple:p,fullWidth:m,size:y},C=zFe(w),k=P=>{_&&(_(P,b),P.defaultPrevented)||h&&h(P,b)},A=i||"";return a.jsx(qFe,{className:lt(s.className,C.root,u,A),disabled:f,focusRipple:!p,ref:r,onClick:k,onChange:h,value:b,ownerState:w,"aria-pressed":g,...x,children:c})});function HFe(t){return tr("MuiToggleButtonGroup",t)}const Gs=rr("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),GFe=t=>{const{classes:e,orientation:r,fullWidth:n,disabled:s}=t,i={root:["root",r,n&&"fullWidth"],grouped:["grouped",`grouped${tt(r)}`,s&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return nr(i,HFe,e)},WFe=Ce("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`& .${Gs.grouped}`]:e.grouped},{[`& .${Gs.grouped}`]:e[`grouped${tt(r.orientation)}`]},{[`& .${Gs.firstButton}`]:e.firstButton},{[`& .${Gs.lastButton}`]:e.lastButton},{[`& .${Gs.middleButton}`]:e.middleButton},e.root,r.orientation==="vertical"&&e.vertical,r.fullWidth&&e.fullWidth]}})(Xt(({theme:t})=>({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${Gs.grouped}`]:{[`&.${Gs.selected} + .${Gs.grouped}.${Gs.selected}`]:{borderTop:0,marginTop:0}},[`& .${Gs.firstButton},& .${Gs.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${Gs.lastButton},& .${Gs.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${Gs.lastButton}.${Zm.disabled},& .${Gs.middleButton}.${Zm.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${Gs.grouped}`]:{[`&.${Gs.selected} + .${Gs.grouped}.${Gs.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${Gs.firstButton},& .${Gs.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${Gs.lastButton},& .${Gs.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${Gs.lastButton}.${Zm.disabled},& .${Gs.middleButton}.${Zm.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),YFe=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiToggleButtonGroup"}),{children:s,className:i,color:o="standard",disabled:l=!1,exclusive:c=!1,fullWidth:u=!1,onChange:d,orientation:f="horizontal",size:p="medium",value:m,...h}=n,_={...n,disabled:l,fullWidth:u,orientation:f,size:p},g=GFe(_),y=I.useCallback((A,P)=>{if(!d)return;const T=m&&m.indexOf(P);let j;m&&T>=0?(j=m.slice(),j.splice(T,1)):j=m?m.concat(P):[P],d(A,j)},[d,m]),b=I.useCallback((A,P)=>{d&&d(A,m===P?null:P)},[d,m]),x=I.useMemo(()=>({className:g.grouped,onChange:c?b:y,value:m,size:p,fullWidth:u,color:o,disabled:l}),[g.grouped,c,b,y,m,p,u,o,l]),w=nre(s),C=w.length,k=A=>{const P=A===0,T=A===C-1;return P&&T?"":P?g.firstButton:T?g.lastButton:g.middleButton};return a.jsx(WFe,{role:"group",className:lt(g.root,i),ref:r,ownerState:_,...h,children:a.jsx(_ae.Provider,{value:x,children:w.map((A,P)=>a.jsx(vae.Provider,{value:k(P),children:A},P))})})});function yae(t){const e=he.c(18),{children:r,maxItems:n,small:s,expandable:i,itemsAfterCollapse:o,sx:l}=t,c=i===void 0?!1:i,u=o===void 0?1:o;let d;e[0]===Symbol.for("react.memo_cache_sentinel")?(d={display:"flex",flexWrap:"nowrap",alignItems:"baseline"},e[0]=d):d=e[0];let f;e[1]!==c?(f=!c&&{pointerEvents:"none",display:{xs:"none",sm:"flex"}},e[1]=c,e[2]=f):f=e[2];let p;e[3]!==f?(p={".MuiButtonBase-root":{...f}},e[3]=f,e[4]=p):p=e[4];let m;e[5]!==l||e[6]!==p?(m={...l,ol:d,li:p},e[5]=l,e[6]=p,e[7]=m):m=e[7];let h;if(e[8]!==r||e[9]!==s){let g;e[11]!==s?(g=(y,b)=>a.jsx(gt,{sx:{fontSize:s?"13px":"20px"},children:y},`breadcrumb-${b}`),e[11]=s,e[12]=g):g=e[12],h=I.Children.map(r,g),e[8]=r,e[9]=s,e[10]=h}else h=e[10];let _;return e[13]!==u||e[14]!==n||e[15]!==m||e[16]!==h?(_=a.jsx(c7e,{maxItems:n,itemsAfterCollapse:u,separator:"/",sx:m,children:h}),e[13]=u,e[14]=n,e[15]=m,e[16]=h,e[17]=_):_=e[17],_}function bae(){const t=he.c(7),e=Nr(KFe);let r;t[0]!==e?(r=()=>{e(!0)},t[0]=e,t[1]=r):r=t[1];const n=r;let s;t[2]!==e?(s=()=>{e(!1)},t[2]=e,t[3]=s):s=t[3];const i=s;let o;return t[4]!==i||t[5]!==n?(o={navigationOpen:n,navigationClose:i},t[4]=i,t[5]=n,t[6]=o):o=t[6],o}function KFe(t){return t.setNavigation}function QFe(){const t=he.c(10),e=Nr(ZFe),{navigationOpen:r,navigationClose:n}=bae();let s;t[0]!==e||t[1]!==n||t[2]!==r?(s=()=>{e?n():r()},t[0]=e,t[1]=n,t[2]=r,t[3]=s):s=t[3];const i=s;let o;t[4]===Symbol.for("react.memo_cache_sentinel")?(o={fontSize:"24px"},t[4]=o):o=t[4];let l;t[5]!==e?(l=e?a.jsx(ge.NavigationBurgerClose,{}):a.jsx(ge.NavigationBurgerOpen,{}),t[5]=e,t[6]=l):l=t[6];let c;return t[7]!==i||t[8]!==l?(c=a.jsx(Zr,{onClick:i,sx:o,children:l}),t[7]=i,t[8]=l,t[9]=c):c=t[9],c}function ZFe(t){return t.navigation}function UW(t){const e=he.c(39),{icon:r,value:n,label:s,onClick:i,subItems:o,isSubItem:l,subListOpen:c,onSubListOpen:u,isActive:d,hasSubItems:f}=t;let p;e[0]!==u||e[1]!==n?(p=()=>{u&&u(n)},e[0]=u,e[1]=n,e[2]=p):p=e[2];const m=p;let h;e[3]!==i||e[4]!==n?(h=()=>{i&&i(n)},e[3]=i,e[4]=n,e[5]=h):h=e[5];const g=o?m:h,y=d&&!l&&!f?"16px":"20px",b=l?.5:1;let x;e[6]!==d||e[7]!==l?(x=l&&{pl:d?"48px":"53px",position:"relative"},e[6]=d,e[7]=l,e[8]=x):x=e[8];let w;e[9]!==f||e[10]!==d?(w=d&&{fontWeight:600,...f&&{},...!f&&{borderLeft:"4px solid",borderColor:"primary.main",backgroundColor:"action.hover"}},e[9]=f,e[10]=d,e[11]=w):w=e[11];let C;e[12]!==y||e[13]!==b||e[14]!==x||e[15]!==w?(C={position:"relative",pr:"14px",pl:y,py:b,my:0,...x,...w},e[12]=y,e[13]=b,e[14]=x,e[15]=w,e[16]=C):C=e[16];let k;e[17]!==r||e[18]!==l?(k=!l&&a.jsx(LO,{sx:{minWidth:"auto",mr:"12px",fontSize:"20px"},children:r}),e[17]=r,e[18]=l,e[19]=k):k=e[19];const A=l?"body2":"body1",P=d?"600":"400";let T;e[20]!==A||e[21]!==P?(T={variant:A,fontWeight:P},e[20]=A,e[21]=P,e[22]=T):T=e[22];let j;e[23]!==s||e[24]!==T||e[25]!==n?(j=a.jsx(dA,{inset:!1,primary:s,primaryTypographyProps:T},n),e[23]=s,e[24]=T,e[25]=n,e[26]=j):j=e[26];let R;e[27]!==o?.length||e[28]!==c?(R=o?.length&&a.jsx(gt,{sx:{transformOrigin:"center",transition:"transform .35s",opacity:"0.5",height:"20px",...c&&{transform:"rotate(.5turn)"}},children:a.jsx(ge.DownArrow,{fontSize:20})}),e[27]=o?.length,e[28]=c,e[29]=R):R=e[29];let D;e[30]!==j||e[31]!==R||e[32]!==C||e[33]!==k?(D=a.jsxs(Vne,{sx:C,disableGutters:!0,children:[k,j,R]}),e[30]=j,e[31]=R,e[32]=C,e[33]=k,e[34]=D):D=e[34];let O;return e[35]!==D||e[36]!==g||e[37]!==n?(O=a.jsx(wA,{onClick:g,disableGutters:!0,disablePadding:!0,children:D},n),e[35]=D,e[36]=g,e[37]=n,e[38]=O):O=e[38],O}const xae=270;function XFe(t){const e=he.c(59),{open:r,headerComponent:n,footerComponent:s,items:i,activeValue:o}=t,l=As(),c=Nd(l.breakpoints.up("md"))?"persistent":"temporary",u=Nr(tUe),{navigationOpen:d,navigationClose:f}=bae(),p=Nr(eUe),m=Nr(JFe);let h;e[0]!==m?(h=Z=>{m(Z)},e[0]=m,e[1]=h):h=e[1];const _=h;let g;e[2]!==f||e[3]!==c?(g=()=>{c==="temporary"&&f()},e[2]=f,e[3]=c,e[4]=g):g=e[4];const y=g;let b;e[5]!==p?(b=Z=>{const{value:re}=Z;return p.includes(re)},e[5]=p,e[6]=b):b=e[6];const x=b;let w;e[7]!==d||e[8]!==r?(w=()=>{r&&d()},e[7]=d,e[8]=r,e[9]=w):w=e[9];let C;e[10]!==i||e[11]!==d||e[12]!==r?(C=[i,r,d],e[10]=i,e[11]=d,e[12]=r,e[13]=C):C=e[13],I.useEffect(w,C);let k,A;e[14]!==f||e[15]!==c?(k=()=>{const Z=setTimeout(()=>{c==="temporary"&&f()},0);return()=>{clearTimeout(Z)}},A=[f,c],e[14]=f,e[15]=c,e[16]=k,e[17]=A):(k=e[16],A=e[17]),I.useEffect(k,A);const P=I.useRef(!1);let T,j;e[18]!==o||e[19]!==i||e[20]!==m||e[21]!==p?(T=()=>{if(P.current)return;const Z=i.find(re=>re.subItems?.find(fe=>{const{value:de}=fe;return de===o}));Z&&!p.includes(Z.value)&&m(Z.value),P.current=!0},j=[o,i,m,p],e[18]=o,e[19]=i,e[20]=m,e[21]=p,e[22]=T,e[23]=j):(T=e[22],j=e[23]),I.useEffect(T,j);const R=Nd(l.breakpoints.down($.appBarMobileBreakpoint))?"125px":"60px",D=l.zIndex.appBar-1;let O;e[24]!==R||e[25]!==D?(O={sx:{mt:R,zIndex:D}},e[24]=R,e[25]=D,e[26]=O):O=e[26];const N=l.zIndex.appBar-1;let F;e[27]!==N?(F={zIndex:N},e[27]=N,e[28]=F):F=e[28];const U=`calc(100vh - ${R})`;let z;e[29]!==U?(z={height:U,width:xae,position:"relative"},e[29]=U,e[30]=z):z=e[30];let H;e[31]!==n?(H=n&&a.jsx(gt,{sx:{px:3,pb:2},children:n}),e[31]=n,e[32]=H):H=e[32];let W;e[33]===Symbol.for("react.memo_cache_sentinel")?(W={flexGrow:1,overflowY:"auto",mt:"0 !important"},e[33]=W):W=e[33];let K;if(e[34]!==y||e[35]!==_||e[36]!==x||e[37]!==i){let Z;e[39]!==y||e[40]!==_||e[41]!==x?(Z=(re,fe)=>{const de=x(re);return a.jsxs(gt,{sx:{position:"relative",zIndex:1e3,color:"text.primary",borderBottom:"1px solid",borderColor:"divider"},children:[a.jsx(z6,{to:re.value,onClick:se=>{re.subItems?se.preventDefault():y()},style:{textDecoration:"none",color:"inherit"},target:re.external?"_blank":"_self",children:se=>{const{isActive:le}=se;return a.jsx(UW,{...re,onSubListOpen:_,subListOpen:de,isActive:le,hasSubItems:!!re.subItems?.length})}}),re.subItems?.length&&a.jsx(Qb,{in:de,timeout:"auto",unmountOnExit:!0,children:a.jsx(_h,{component:"div",sx:{pt:0,pb:0},children:re.subItems.map(se=>a.jsx(z6,{to:se.value,style:{textDecoration:"none",color:"inherit"},target:se.external?"_blank":"_self",children:le=>{const{isActive:ee}=le;return a.jsx(UW,{...se,onClick:y,isSubItem:!0,isActive:ee})}},`${se.value}-${fe}`))})})]},`${re.value}-${fe}`)},e[39]=y,e[40]=_,e[41]=x,e[42]=Z):Z=e[42],K=i.map(Z),e[34]=y,e[35]=_,e[36]=x,e[37]=i,e[38]=K}else K=e[38];let q;e[43]!==K?(q=a.jsx(_h,{sx:W,component:"nav","aria-labelledby":"nested-list-subheader",disablePadding:!0,children:K}),e[43]=K,e[44]=q):q=e[44];let X;e[45]!==s?(X=s&&a.jsx(gt,{sx:{px:3,pt:1},children:s}),e[45]=s,e[46]=X):X=e[46];let Q;e[47]!==z||e[48]!==H||e[49]!==q||e[50]!==X?(Q=a.jsxs(te,{sx:z,nowrap:!0,children:[H,q,X]}),e[47]=z,e[48]=H,e[49]=q,e[50]=X,e[51]=Q):Q=e[51];let Y;return e[52]!==y||e[53]!==u||e[54]!==O||e[55]!==F||e[56]!==Q||e[57]!==c?(Y=a.jsx(aae,{variant:c,onClose:y,open:u,PaperProps:O,sx:F,children:Q}),e[52]=y,e[53]=u,e[54]=O,e[55]=F,e[56]=Q,e[57]=c,e[58]=Y):Y=e[58],Y}function JFe(t){return t.setNavigationSubListOpen}function eUe(t){return t.navigationSubListOpen}function tUe(t){return t.navigation}function G0(t){const e=he.c(19),{children:r,appBar:n,fullHeight:s,navigation:i,fullWidth:o}=t,l=ci(),c=Nr(rUe),u=aC(l.breakpoints.up("md"))?"persistent":"temporary";let d;e[0]!==o?(d=o&&{"&.MuiContainer-maxWidthXl":{maxWidth:"100%"}},e[0]=o,e[1]=d):d=e[1];let f;e[2]!==d?(f={...d},e[2]=d,e[3]=f):f=e[3];const p=n?10:2,m=s&&"100vh",h=s&&"100vh",_=i&&c&&u==="persistent"?`${xae}px`:0;let g;e[4]!==p||e[5]!==m||e[6]!==h||e[7]!==_?(g={pt:p,pb:3,height:m,maxHeight:h,overflow:"visible",pl:_,width:"100%"},e[4]=p,e[5]=m,e[6]=h,e[7]=_,e[8]=g):g=e[8];let y;e[9]===Symbol.for("react.memo_cache_sentinel")?(y={overflow:"visible"},e[9]=y):y=e[9];let b;e[10]!==r||e[11]!==s?(b=a.jsx(te,{fullHeight:s,spacing:2.5,nowrap:!0,sx:y,children:r}),e[10]=r,e[11]=s,e[12]=b):b=e[12];let x;e[13]!==g||e[14]!==b?(x=a.jsx(gt,{sx:g,children:b}),e[13]=g,e[14]=b,e[15]=x):x=e[15];let w;return e[16]!==x||e[17]!==f?(w=a.jsx(H7e,{maxWidth:"xl",sx:f,children:x}),e[16]=x,e[17]=f,e[18]=w):w=e[18],w}function rUe(t){return t.navigation}function nUe(t){const e=he.c(3),{children:r}=t;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={flex:"0 0 auto",pb:1,pt:.5,px:2},e[0]=n):n=e[0];let s;return e[1]!==r?(s=a.jsx(S7e,{sx:n,children:r}),e[1]=r,e[2]=s):s=e[2],s}function Kt(t){const e=he.c(10),{children:r,title:n,titleColor:s,dense:i,sx:o}=t,l=s===void 0?"text.primary":s;let c;e[0]!==o?(c={p:2,flex:"1 1 auto",minWidth:0,...o},e[0]=o,e[1]=c):c=e[1];let u;e[2]!==i||e[3]!==n||e[4]!==l?(u=n&&a.jsx(gt,{sx:{mb:2,"&:last-child":{mb:0}},children:a.jsx(_e,{type:i?"body1":"h6",color:l,fontWeight:600,children:n})}),e[2]=i,e[3]=n,e[4]=l,e[5]=u):u=e[5];let d;return e[6]!==r||e[7]!==c||e[8]!==u?(d=a.jsxs(gt,{sx:c,children:[u,r]}),e[6]=r,e[7]=c,e[8]=u,e[9]=d):d=e[9],d}const sUe=Ce(({className:t,opaque:e,...r})=>a.jsx(hae,{...r,classes:{popper:t}}))(({theme:t,...e})=>()=>typeof e.title=="string"||!e.opaque?{}:{[`& .${Xs.tooltip}`]:{padding:"0 !important",backgroundColor:t.palette.background.paper,color:t.palette.text.primary,opacity:0,boxShadow:t.shadows[5],border:"1px solid",borderColor:t.palette.divider},"& .tooltip-items":{maxHeight:"60vh",overflowY:"auto"},[`& .${Xs.arrow}`]:{color:t.palette.background.paper,"&::before":{backgroundColor:t.palette.background.paper,border:"1px solid",borderColor:t.palette.divider,borderBottom:0}}});function Mn(t){const e=he.c(8);let r,n,s;e[0]!==t?({arrow:n,placement:s,...r}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s):(r=e[1],n=e[2],s=e[3]);const i=n===void 0?!0:n,o=s===void 0?"bottom":s;let l;return e[4]!==i||e[5]!==o||e[6]!==r?(l=a.jsx(sUe,{arrow:i,placement:o,...r}),e[4]=i,e[5]=o,e[6]=r,e[7]=l):l=e[7],l}function iUe(t){const e=he.c(5),{children:r,tooltip:n}=t;let s;e[0]!==n?(s=n&&a.jsx(Mn,{title:n,arrow:!0,children:a.jsx("span",{children:a.jsx(ge.Info,{})})}),e[0]=n,e[1]=s):s=e[1];let i;return e[2]!==r||e[3]!==s?(i=a.jsxs(QL,{direction:"row",justifyContent:"flex-end",alignItems:"center",spacing:2.25,children:[r,s]}),e[2]=r,e[3]=s,e[4]=i):i=e[4],i}function oUe(t){const e=he.c(24),{title:r,children:n,tooltip:s,dense:i,folder:o}=t,l=i===void 0?!1:i,c=o===void 0?!1:o,u=ci(),d=l?"h6":"h5";let f;e[0]!==d?(f={variant:d,fontWeight:"600",lineHeight:1},e[0]=d,e[1]=f):f=e[1];const p=l||c?0:"inherit",m=c?1:2,h=l||c?1:2,_=l||c?"10px":"40px";let g;e[2]!==_?(g={minHeight:_,display:"flex",alignItems:"center"},e[2]=_,e[3]=g):g=e[3];let y;e[4]===Symbol.for("react.memo_cache_sentinel")?(y={alignSelf:"center"},e[4]=y):y=e[4];let b;e[5]!==p||e[6]!==m||e[7]!==h||e[8]!==g||e[9]!==u.palette.text.secondary?(b={color:u.palette.text.secondary,display:"flex",flex:"0 0 auto",lineHeight:p,pt:m,pb:h,".MuiCardHeader-content":g,".MuiCardHeader-action":y},e[5]=p,e[6]=m,e[7]=h,e[8]=g,e[9]=u.palette.text.secondary,e[10]=b):b=e[10];let x;e[11]!==n||e[12]!==s?(x=a.jsx(iUe,{tooltip:s,children:n}),e[11]=n,e[12]=s,e[13]=x):x=e[13];let w;e[14]!==b||e[15]!==x||e[16]!==f||e[17]!==r?(w=a.jsx(j7e,{title:r,titleTypographyProps:f,sx:b,action:x}),e[14]=b,e[15]=x,e[16]=f,e[17]=r,e[18]=w):w=e[18];let C;e[19]!==c?(C=c&&a.jsx(Oc,{}),e[19]=c,e[20]=C):C=e[20];let k;return e[21]!==w||e[22]!==C?(k=a.jsxs(a.Fragment,{children:[w,C]}),e[21]=w,e[22]=C,e[23]=k):k=e[23],k}function pr(t){const e=he.c(58);let r,n,s,i,o,l,c,u,d,f,p,m,h,_,g;e[0]!==t?({children:r,title:h,headerActionsComponent:i,footerActionsComponent:s,tooltip:_,highlightedColor:o,fullHeight:d,dense:f,folder:p,elevation:m,modalElevation:l,variant:g,sx:u,error:n,...c}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d,e[10]=f,e[11]=p,e[12]=m,e[13]=h,e[14]=_,e[15]=g):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9],f=e[10],p=e[11],m=e[12],h=e[13],_=e[14],g=e[15]);const y=d===void 0?!1:d,b=f===void 0?!1:f,x=p===void 0?!1:p,w=m===void 0?1:m,C=y?"hidden":"visible",k=y?"100%":"auto";let A;e[16]!==o?(A=o&&{borderBottom:"5px solid",borderBottomColor:`${o}.main`},e[16]=o,e[17]=A):A=e[17];let P;e[18]!==g?(P=g==="outlined"&&{backgroundColor:"transparent"},e[18]=g,e[19]=P):P=e[19];let T;e[20]!==n?(T=n&&{border:"2px solid !important",borderColor:aUe},e[20]=n,e[21]=T):T=e[21];let j;e[22]!==w||e[23]!==l?(j=l&&{backgroundImage:H=>H.palette.mode==="dark"?`linear-gradient(${Ic("#fff",+hh(24+w*24))}, ${Ic("#fff",+hh(24+w*24))})`:"none"},e[22]=w,e[23]=l,e[24]=j):j=e[24];let R;e[25]!==u||e[26]!==j||e[27]!==C||e[28]!==k||e[29]!==A||e[30]!==P||e[31]!==T?(R={flex:"1 1 auto",display:"flex",overflow:C,height:k,...A,...P,...T,...j,...u},e[25]=u,e[26]=j,e[27]=C,e[28]=k,e[29]=A,e[30]=P,e[31]=T,e[32]=R):R=e[32];let D;e[33]===Symbol.for("react.memo_cache_sentinel")?(D={flex:"1 1 auto",minWidth:0},e[33]=D):D=e[33];let O;e[34]!==b||e[35]!==x||e[36]!==i||e[37]!==h||e[38]!==_?(O=!h&&!_&&!i?null:a.jsx(oUe,{title:h,tooltip:_,dense:b,folder:x,children:i}),e[34]=b,e[35]=x,e[36]=i,e[37]=h,e[38]=_,e[39]=O):O=e[39];let N;if(e[40]!==r||e[41]!==b){let H;e[43]!==b?(H=W=>W.type===Kt?I.cloneElement(W,{dense:b}):W,e[43]=b,e[44]=H):H=e[44],N=I.Children.map(r,H),e[40]=r,e[41]=b,e[42]=N}else N=e[42];let F;e[45]!==s?(F=s&&a.jsx(nUe,{children:s}),e[45]=s,e[46]=F):F=e[46];let U;e[47]!==y||e[48]!==O||e[49]!==N||e[50]!==F?(U=a.jsxs(te,{spacing:0,sx:D,fullHeight:y,nowrap:!0,children:[O,N,F]}),e[47]=y,e[48]=O,e[49]=N,e[50]=F,e[51]=U):U=e[51];let z;return e[52]!==w||e[53]!==c||e[54]!==R||e[55]!==U||e[56]!==g?(z=a.jsx(v7e,{elevation:w,variant:g,sx:R,...c,children:U}),e[52]=w,e[53]=c,e[54]=R,e[55]=U,e[56]=g,e[57]=z):z=e[57],z}function aUe(t){return`${t.palette.error.main} !important`}function zA(t){const e=he.c(20),{children:r,fullHeight:n,transparent:s}=t;let i;e[0]!==n?(i=n&&{height:"100%",maxHeight:"100%",overflow:"hidden"},e[0]=n,e[1]=i):i=e[1];let o;e[2]!==i?(o={width:"100%",maxWidth:"1000px",margin:"0 auto",...i},e[2]=i,e[3]=o):o=e[3];let l;e[4]!==s?(l=s&&{backgroundColor:"transparent"},e[4]=s,e[5]=l):l=e[5];let c;e[6]!==l?(c={...l},e[6]=l,e[7]=c):c=e[7];let u;e[8]!==s?(u=s&&{elevation:0},e[8]=s,e[9]=u):u=e[9];let d;e[10]!==r?(d=a.jsx(a.Fragment,{children:r}),e[10]=r,e[11]=d):d=e[11];let f;e[12]!==n||e[13]!==c||e[14]!==u||e[15]!==d?(f=a.jsx(pr,{fullHeight:n,sx:c,...u,children:d}),e[12]=n,e[13]=c,e[14]=u,e[15]=d,e[16]=f):f=e[16];let p;return e[17]!==o||e[18]!==f?(p=a.jsx(gt,{sx:o,children:f}),e[17]=o,e[18]=f,e[19]=p):p=e[19],p}function lUe(t){const e=he.c(10),{center:r,fullHeight:n,appBar:s,navigation:i,transparent:o}=t;let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=a.jsx(uUe,{}),e[0]=l):l=e[0];let c;e[1]!==r||e[2]!==n||e[3]!==o?(c=r?a.jsx(zA,{fullHeight:n,transparent:o,children:a.jsx(Bd,{})}):a.jsx(pr,{fullHeight:n,sx:{...o&&{backgroundColor:"transparent"}},...o&&{elevation:0},children:a.jsx(Bd,{})}),e[1]=r,e[2]=n,e[3]=o,e[4]=c):c=e[4];let u;return e[5]!==s||e[6]!==n||e[7]!==i||e[8]!==c?(u=a.jsxs(G0,{appBar:s,navigation:i,fullWidth:!0,fullHeight:n,children:[l,c]}),e[5]=s,e[6]=n,e[7]=i,e[8]=c,e[9]=u):u=e[9],u}const Sae="app-page-header-actions";function hs(t){const e=he.c(2),{children:r}=t;let n;return e[0]!==r?(n=a.jsx(YO,{container:cUe,children:r}),e[0]=r,e[1]=n):n=e[1],n}function cUe(){return document.querySelector(`#${Sae}`)}function uUe(){const t=he.c(59),e=WL();let r;t[0]!==e?(r=e.map(hUe).filter(mUe),t[0]=e,t[1]=r):r=t[1];const n=r;let s;e:{if(!n){let z;t[2]===Symbol.for("react.memo_cache_sentinel")?(z=[],t[2]=z):z=t[2],s=z;break e}let U;t[3]!==n?(U=n.map(pUe).filter(fUe),t[3]=n,t[4]=U):U=t[4],s=U}const i=s;let o,l,c,u,d,f,p,m,h,_,g,y,b,x,w,C,k,A,P;if(t[5]!==i){const U=i.slice(0,-1);d=i[i.length-1],u=te,f=.5,p=!0,m="row",h="space-between",_="flex-start",t[25]===Symbol.for("react.memo_cache_sentinel")?(g={ml:-1},t[25]=g):g=t[25],c=te,C="row",k=1,A="center",t[26]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(QFe,{}),t[26]=P):P=t[26],l=te,w=0,o=yae,y=10,b=!1,x=U.map(dUe),t[5]=i,t[6]=o,t[7]=l,t[8]=c,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=_,t[16]=g,t[17]=y,t[18]=b,t[19]=x,t[20]=w,t[21]=C,t[22]=k,t[23]=A,t[24]=P}else o=t[6],l=t[7],c=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],_=t[15],g=t[16],y=t[17],b=t[18],x=t[19],w=t[20],C=t[21],k=t[22],A=t[23],P=t[24];let T;t[27]!==d?(T=d&&a.jsx(_e,{type:"h6",color:"text.primary",fontWeight:600,children:d.label}),t[27]=d,t[28]=T):T=t[28];let j;t[29]!==o||t[30]!==T||t[31]!==y||t[32]!==b||t[33]!==x?(j=a.jsxs(o,{maxItems:y,expandable:b,children:[x,T]}),t[29]=o,t[30]=T,t[31]=y,t[32]=b,t[33]=x,t[34]=j):j=t[34];let R;t[35]!==d.caption?(R=d.caption&&a.jsx(_e,{type:"body2",color:"text.secondary",sx:{wordBreak:"break-all"},children:d.caption}),t[35]=d.caption,t[36]=R):R=t[36];let D;t[37]!==l||t[38]!==j||t[39]!==R||t[40]!==w?(D=a.jsxs(l,{spacing:w,children:[j,R]}),t[37]=l,t[38]=j,t[39]=R,t[40]=w,t[41]=D):D=t[41];let O;t[42]!==c||t[43]!==D||t[44]!==C||t[45]!==k||t[46]!==A||t[47]!==P?(O=a.jsxs(c,{direction:C,spacing:k,align:A,children:[P,D]}),t[42]=c,t[43]=D,t[44]=C,t[45]=k,t[46]=A,t[47]=P,t[48]=O):O=t[48];let N;t[49]===Symbol.for("react.memo_cache_sentinel")?(N=a.jsx(gt,{id:Sae,sx:{mt:"2px"}}),t[49]=N):N=t[49];let F;return t[50]!==u||t[51]!==f||t[52]!==p||t[53]!==m||t[54]!==h||t[55]!==_||t[56]!==g||t[57]!==O?(F=a.jsxs(u,{spacing:f,fullWidth:p,direction:m,justify:h,align:_,sx:g,children:[O,N]}),t[50]=u,t[51]=f,t[52]=p,t[53]=m,t[54]=h,t[55]=_,t[56]=g,t[57]=O,t[58]=F):F=t[58],F}function dUe(t){const{to:e,label:r}=t;return e?a.jsx(gt,{component:"span",sx:{color:"primary.main","&:hover":{color:"primary.dark"}},children:a.jsx(z6,{to:e,style:{color:"inherit"},children:()=>a.jsx(te,{direction:"row",align:"center",spacing:1,children:a.jsx(_e,{children:r})})},e)},e):a.jsx(te,{direction:"row",align:"center",spacing:1,children:a.jsx(_e,{children:r})},r)}function fUe(t){return!!t}function pUe(t){return typeof t=="object"&&"breadcrumb"in t?t.breadcrumb:null}function mUe(t){return!!t}function hUe(t){if(t.handle){if(typeof t.handle=="object")return t.handle;if(typeof t.handle=="function")return t.handle(t)}return null}function gUe(){const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(G0,{appBar:!0,navigation:!0,fullWidth:!0,children:a.jsx(zA,{children:a.jsx(Tr,{})})}),t[0]=e):e=t[0],e}function _Ue(){const t=Nr(xUe),e=Nr(bUe),r=Nr(yUe),n=Nr(vUe);return!!(t||e.length||r||n)}function vUe(t){return t.drawerOpen}function yUe(t){return t.confirmationSimpleDialogOpen}function bUe(t){return t.dialogsOpen}function xUe(t){return t.confirmationDialogOpen}function rN(){const t=he.c(2);if(_Ue()){let n;return t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Tr,{asSnackbar:!0}),t[0]=n):n=t[0],n}let r;return t[1]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(G0,{fullWidth:!0,fullHeight:!0,children:a.jsx(zA,{transparent:!0,children:a.jsx(Tr,{})})}),t[1]=r):r=t[1],r}function SUe(t){const e=he.c(15),{alt:r,size:n,src:s,variant:i,color:o,children:l,initials:c}=t,u=s===void 0?"":s;let d=null;if(c&&r){let g;e[0]!==r?(g=r.split(" ").map(wUe).slice(0,2).join(""),e[0]=r,e[1]=g):g=e[1],d=g}else l&&(d=l);const f=d;let p;e[2]!==o?(p=o&&{backgroundColor:o},e[2]=o,e[3]=p):p=e[3];let m;e[4]!==n?(m=n&&{height:n,width:n},e[4]=n,e[5]=m):m=e[5];let h;e[6]!==p||e[7]!==m?(h={...p,...m},e[6]=p,e[7]=m,e[8]=h):h=e[8];let _;return e[9]!==r||e[10]!==f||e[11]!==u||e[12]!==h||e[13]!==i?(_=a.jsx(HNe,{alt:r,src:u,variant:i,sx:h,"data-testid":"avatar",children:f}),e[9]=r,e[10]=f,e[11]=u,e[12]=h,e[13]=i,e[14]=_):_=e[14],_}function wUe(t){return t[0]}function CUe(t){const e=he.c(21),{onClick:r,fullname:n,description:s,image:i,menuItems:o,hideFullName:l}=t,c=ci();let u;e[0]!==c.breakpoints?(u=c.breakpoints.up("md"),e[0]=c.breakpoints,e[1]=u):u=e[1];const d=Nd(u),{menuOpen:f}=Jt(),p=Nd(c.breakpoints.down($.appBarMobileBreakpoint))?{display:"inline-block",cursor:"pointer",marginLeft:"auto",position:"relative",top:"-44px"}:{display:"inline-block",cursor:"pointer",marginLeft:"auto"};let m;e[2]!==o||e[3]!==f||e[4]!==r?(m=x=>{x.preventDefault(),r&&r(x),o&&o.length&&f({anchorEl:x.currentTarget,items:o,anchorOrigin:{vertical:"bottom",horizontal:"right"}})},e[2]=o,e[3]=f,e[4]=r,e[5]=m):m=e[5];const h=m;let _;e[6]!==s||e[7]!==n||e[8]!==l||e[9]!==d?(_=d&&a.jsxs(gt,{children:[!l&&a.jsx(gt,{sx:{display:"flex",justifyContent:"flex-end"},children:a.jsx(_e,{type:"body1",align:"right",lineHeight:1,fontWeight:600,children:n})}),s&&s.length&&a.jsx(te,{direction:"row",align:"baseline",justify:"flex-end",spacing:.5,divided:s.length>1,children:s.map(AUe)})]}),e[6]=s,e[7]=n,e[8]=l,e[9]=d,e[10]=_):_=e[10];let g;e[11]!==n||e[12]!==i?(g=a.jsx(SUe,{alt:n,src:i,size:40,initials:!0}),e[11]=n,e[12]=i,e[13]=g):g=e[13];let y;e[14]!==_||e[15]!==g?(y=a.jsxs(te,{direction:"row",align:"center",justify:"flex-end",children:[_,g]}),e[14]=_,e[15]=g,e[16]=y):y=e[16];let b;return e[17]!==h||e[18]!==y||e[19]!==p?(b=a.jsx(gt,{sx:p,onClick:h,"data-testid":"profile-card",children:y}),e[17]=h,e[18]=y,e[19]=p,e[20]=b):b=e[20],b}function AUe(t,e){return a.jsx(_e,{lineHeight:1,type:"caption",children:t},e)}const kUe=t=>I.createElement("svg",{width:66,height:18,viewBox:"0 0 66 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 18V0H66V18H0ZM4 14H61.9862H62V4H4V14Z",fill:"#01A982"}));function MUe({productName:t}){const e=ci();return a.jsxs(te,{direction:"row",align:"center",spacing:3,nowrap:!0,children:[a.jsx(gt,{sx:{width:"66px",height:"18px"},children:a.jsx(kUe,{})}),a.jsxs(_e,{sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",[e.breakpoints.up(445)]:{width:"100%"},[e.breakpoints.down(445)]:{width:"70%"},[e.breakpoints.down(434)]:{width:"65%"},[e.breakpoints.down(410)]:{width:"60%"},[e.breakpoints.down(390)]:{width:"55%"},[e.breakpoints.down(367)]:{width:"45%"}},children:[t.includes("HPE")&&a.jsx(gt,{component:"span",sx:{fontWeight:500},children:"HPE"}),a.jsxs(gt,{component:"span",children:[" ",t.replace("HPE","")]})]})]})}function PUe(t){const e=he.c(18),{children:r,info:n,siteSelector:s}=t,{hostname:i,product_name:o}=n;let l,c;e[0]!==i||e[1]!==o?(l=()=>{document.title=i===window.location.hostname?`${i} - ${o}`:`${i} - ${window.location.hostname} - ${o}`},c=[i,o],e[0]=i,e[1]=o,e[2]=l,e[3]=c):(l=e[2],c=e[3]),I.useEffect(l,c);const u=ci(),d=aC(u.breakpoints.down($.appBarMobileBreakpoint))?{my:4,mx:.5}:"";let f;e[4]===Symbol.for("react.memo_cache_sentinel")?(f={borderBottom:"1px solid",borderColor:"divider"},e[4]=f):f=e[4];let p;e[5]!==d?(p={height:"60px !important",minHeight:"60px !important",gap:"10px",...d},e[5]=d,e[6]=p):p=e[6];let m;e[7]!==o?(m=a.jsx(MUe,{productName:o}),e[7]=o,e[8]=m):m=e[8];let h;e[9]!==s||e[10]!==m?(h=a.jsxs(te,{direction:"row",align:"center",spacing:1,children:[m,s]}),e[9]=s,e[10]=m,e[11]=h):h=e[11];let _;e[12]!==r||e[13]!==h?(_=a.jsxs(te,{justify:"space-between",direction:"row",fullWidth:!0,children:[h,r]}),e[12]=r,e[13]=h,e[14]=_):_=e[14];let g;return e[15]!==p||e[16]!==_?(g=a.jsx(hNe,{elevation:0,color:"inherit",sx:f,children:a.jsx(tN,{sx:p,children:_})}),e[15]=p,e[16]=_,e[17]=g):g=e[17],g}function En(t){const e=he.c(21);let r,n,s,i,o,l,c;e[0]!==t?({onClick:o,disabled:n,value:c,children:r,divider:s,icon:i,...l}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7]);const u=`menu-item-${c}`;let d;e[8]!==i?(d=i&&a.jsx(LO,{sx:{fontSize:"18px"},children:i}),e[8]=i,e[9]=d):d=e[9];let f;e[10]!==r?(f=a.jsx(dA,{children:r}),e[10]=r,e[11]=f):f=e[11];let p;return e[12]!==n||e[13]!==s||e[14]!==o||e[15]!==l||e[16]!==u||e[17]!==d||e[18]!==f||e[19]!==c?(p=a.jsxs(E_,{divider:s,onClick:o,disabled:n,value:c,"data-testid":u,...l,children:[d,f]}),e[12]=n,e[13]=s,e[14]=o,e[15]=l,e[16]=u,e[17]=d,e[18]=f,e[19]=c,e[20]=p):p=e[20],p}function jUe(t){const e=he.c(40),{darkText:r,lightText:n,systemText:s,title:i}=t,o=Nr(EUe),l=Nr(TUe);let c;e[0]!==l?(c=N=>()=>{l(N)},e[0]=l,e[1]=c):c=e[1];const u=c;let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d={px:2,pb:1,pt:.5},e[2]=d):d=e[2];let f;e[3]!==i?(f=a.jsx(_e,{color:"text.secondary",sx:d,children:i}),e[3]=i,e[4]=f):f=e[4];let p;e[5]!==u?(p=u("dark"),e[5]=u,e[6]=p):p=e[6];let m;e[7]===Symbol.for("react.memo_cache_sentinel")?(m=a.jsx(ge.Darkmode,{}),e[7]=m):m=e[7];const h=o==="dark"?"divider":"none";let _;e[8]!==h?(_={backgroundColor:h},e[8]=h,e[9]=_):_=e[9];let g;e[10]!==r||e[11]!==p||e[12]!==_?(g=a.jsx(En,{onClick:p,icon:m,sx:_,children:r}),e[10]=r,e[11]=p,e[12]=_,e[13]=g):g=e[13];let y;e[14]!==u?(y=u("light"),e[14]=u,e[15]=y):y=e[15];let b;e[16]===Symbol.for("react.memo_cache_sentinel")?(b=a.jsx(ge.Lightmode,{}),e[16]=b):b=e[16];const x=o==="light"?"divider":"none";let w;e[17]!==x?(w={backgroundColor:x},e[17]=x,e[18]=w):w=e[18];let C;e[19]!==n||e[20]!==w||e[21]!==y?(C=a.jsx(En,{onClick:y,icon:b,sx:w,children:n}),e[19]=n,e[20]=w,e[21]=y,e[22]=C):C=e[22];let k;e[23]!==u?(k=u("system"),e[23]=u,e[24]=k):k=e[24];let A;e[25]===Symbol.for("react.memo_cache_sentinel")?(A=a.jsx(ge.Monitor,{}),e[25]=A):A=e[25];const P=o==="system"?"divider":"none";let T;e[26]!==P?(T={backgroundColor:P},e[26]=P,e[27]=T):T=e[27];let j;e[28]!==s||e[29]!==k||e[30]!==T?(j=a.jsx(En,{onClick:k,icon:A,sx:T,children:s}),e[28]=s,e[29]=k,e[30]=T,e[31]=j):j=e[31];let R;e[32]!==C||e[33]!==j||e[34]!==f||e[35]!==g?(R=a.jsxs(pv,{children:[f,g,C,j]}),e[32]=C,e[33]=j,e[34]=f,e[35]=g,e[36]=R):R=e[36];let D;e[37]===Symbol.for("react.memo_cache_sentinel")?(D=a.jsx("div",{children:a.jsx(Zr,{size:"small",sx:{fontSize:"22px",mt:"2px"},children:a.jsx(ge.DarkModeToggle,{})})}),e[37]=D):D=e[37];let O;return e[38]!==R?(O=a.jsx(Mn,{opaque:!0,disableFocusListener:!0,enterTouchDelay:0,title:R,children:D}),e[38]=R,e[39]=O):O=e[39],O}function TUe(t){return t.setThemeMode}function EUe(t){return t.themeMode}function wae(){const t=he.c(13),e=Ye();let r;t[0]!==e?(r=e.formatMessage({id:"darkmode.title"}),t[0]=e,t[1]=r):r=t[1];let n;t[2]!==e?(n=e.formatMessage({id:"darkmode.dark"}),t[2]=e,t[3]=n):n=t[3];let s;t[4]!==e?(s=e.formatMessage({id:"darkmode.light"}),t[4]=e,t[5]=s):s=t[5];let i;t[6]!==e?(i=e.formatMessage({id:"darkmode.system"}),t[6]=e,t[7]=i):i=t[7];let o;return t[8]!==r||t[9]!==n||t[10]!==s||t[11]!==i?(o=a.jsx(jUe,{title:r,darkText:n,lightText:s,systemText:i}),t[8]=r,t[9]=n,t[10]=s,t[11]=i,t[12]=o):o=t[12],o}const Tt=()=>!0,Cae=t=>!["","/","/site-loader"].includes(t);function ro({nf:t,rootUrl:e,applyActionUrl:r,persistActionUrl:n,reloadActionUrl:s,factoryResetActionUrl:i}){return{[e]:o=>et({permissions:ie.configuration,activeServicesNames:[t],services:o}),[r]:Tt,[n]:Tt,[s]:Tt,[i]:Tt}}function RUe({nf:t,rootUrl:e,connectionsUrl:r,connectionsDeleteActionUrl:n,connectionsResetActionUrl:s,listenersUrl:i}){return{[e]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[r]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[i]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[n]:Tt,[s]:Tt}}function no({nf:t,rootUrl:e,joinClusterActionUrl:r,leaveClusterActionUrl:n,leaveCpWithoutConsensusActionUrl:s,removeApDeadNodesActionUrl:i,applyBootConfigUrl:o}){return{[e]:l=>et({permissions:ie.configuration,activeServicesNames:[t],services:l}),[o]:Tt,...r&&{[r]:Tt},...n&&{[n]:Tt},...s&&{[s]:Tt},...i&&{[i]:Tt}}}const IUe={[$.urls.amf]:t=>et({permissions:[ie.configuration,ie.monitoring],activeServicesNames:[ue.AMF],services:t}),[$.urls.amfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AMF],services:t}),...RUe({nf:ue.AMF,rootUrl:$.urls.amfStatusNgap,connectionsUrl:$.urls.amfStatusNgapConnections,connectionsDeleteActionUrl:$.urls.amfStatusNgapConnectionsDelete_Action,connectionsResetActionUrl:$.urls.amfStatusNgapConnectionsReset_Action,listenersUrl:$.urls.amfStatusNgapListeners}),...no({nf:ue.AMF,rootUrl:$.urls.amfCluster,applyBootConfigUrl:$.urls.amfClusterApplyBootConfig_Action}),...ro({nf:ue.AMF,rootUrl:$.urls.amfConfiguration,applyActionUrl:$.urls.amfConfigurationApply_Action,persistActionUrl:$.urls.amfConfigurationPersist_Action,reloadActionUrl:$.urls.amfConfigurationReload_Action,factoryResetActionUrl:$.urls.amfConfigurationFactoryReset_Action})},DUe={[$.urls.ausf]:t=>et({permissions:[ie.configuration],activeServicesNames:[ue.AUSF],services:t}),...no({nf:ue.AUSF,rootUrl:$.urls.ausfCluster,applyBootConfigUrl:$.urls.ausfClusterApplyBootConfig_Action}),...ro({nf:ue.AUSF,rootUrl:$.urls.ausfConfiguration,applyActionUrl:$.urls.ausfConfigurationApply_Action,persistActionUrl:$.urls.ausfConfigurationPersist_Action,reloadActionUrl:$.urls.ausfConfigurationReload_Action,factoryResetActionUrl:$.urls.ausfConfigurationFactoryReset_Action})};function Fp({nf:t,rootUrl:e,connectionsUrl:r,peersUrl:n}){return{[e]:s=>et({permissions:ie.monitoring,activeServicesNames:[t],services:s}),[r]:s=>et({permissions:ie.monitoring,activeServicesNames:[t],services:s}),[n]:s=>et({permissions:ie.monitoring,activeServicesNames:[t],services:s})}}function qA({nf:t,rootUrl:e,socketsUrl:r,peersUrl:n,blockedPeersUrl:s,blockedPeersFlushActionUrl:i}){return{[e]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[r]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[n]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),...s&&i&&{[s]:o=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:o}),[i]:Tt}}}const $Ue={[$.urls.bmsc]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.BMSC],services:t}),[$.urls.bmscStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.BMSC],services:t}),...Fp({nf:ue.BMSC,rootUrl:$.urls.bmscStatusDiameter,connectionsUrl:$.urls.bmscStatusDiameterConnections,peersUrl:$.urls.bmscStatusDiameterPeers}),...qA({nf:ue.BMSC,rootUrl:$.urls.bmscStatusGtpc,socketsUrl:$.urls.bmscStatusGtpcSockets,peersUrl:$.urls.bmscStatusGtpcPeers}),...no({nf:ue.BMSC,rootUrl:$.urls.bmscCluster,applyBootConfigUrl:$.urls.bmscClusterApplyBootConfig_Action}),...ro({nf:ue.BMSC,rootUrl:$.urls.bmscConfiguration,applyActionUrl:$.urls.bmscConfigurationApply_Action,persistActionUrl:$.urls.bmscConfigurationPersist_Action,reloadActionUrl:$.urls.bmscConfigurationReload_Action,factoryResetActionUrl:$.urls.bmscConfigurationFactoryReset_Action})};function OUe({nf:t,rootUrl:e}){return{[e]:r=>et({permissions:ie.monitoring,activeServicesNames:[t],services:r})}}const LUe={[$.urls.chf]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.CHF],services:t}),...no({nf:ue.CHF,rootUrl:$.urls.chfCluster,applyBootConfigUrl:$.urls.chfClusterApplyBootConfig_Action}),[$.urls.chfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.CHF],services:t}),...Fp({nf:ue.CHF,rootUrl:$.urls.chfStatusDiameter,connectionsUrl:$.urls.chfStatusDiameterConnections,peersUrl:$.urls.chfStatusDiameterPeers}),...ro({nf:ue.CHF,rootUrl:$.urls.chfConfiguration,applyActionUrl:$.urls.chfConfigurationApply_Action,persistActionUrl:$.urls.chfConfigurationPersist_Action,reloadActionUrl:$.urls.chfConfigurationReload_Action,factoryResetActionUrl:$.urls.chfConfigurationFactoryReset_Action}),[$.urls.chfStatusGtpPrime]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.CHF],services:t}),...OUe({nf:ue.CHF,rootUrl:$.urls.chfStatusGtpPrimeConnections})},NUe={[$.urls.dra]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.DRA],services:t}),[$.urls.draStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.DRA],services:t}),...Fp({nf:ue.DRA,rootUrl:$.urls.draStatusDiameter,connectionsUrl:$.urls.draStatusDiameterConnections,peersUrl:$.urls.draStatusDiameterPeers}),...no({nf:ue.DRA,rootUrl:$.urls.draCluster,applyBootConfigUrl:$.urls.draClusterApplyBootConfig_Action}),...ro({nf:ue.DRA,rootUrl:$.urls.draConfiguration,applyActionUrl:$.urls.draConfigurationApply_Action,persistActionUrl:$.urls.draConfigurationPersist_Action,factoryResetActionUrl:$.urls.draConfigurationFactoryReset_Action,reloadActionUrl:$.urls.draConfigurationReload_Action})},FUe={[$.urls.dsm]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),...ro({nf:ue.DSM,rootUrl:$.urls.dsmConfiguration,applyActionUrl:$.urls.dsmConfigurationApply_Action,persistActionUrl:$.urls.dsmConfigurationPersist_Action,reloadActionUrl:$.urls.dsmConfigurationReload_Action,factoryResetActionUrl:$.urls.dsmConfigurationFactoryReset_Action}),[$.urls.dsmZones]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),[$.urls.dsmZonesEntries]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),[$.urls.dsmZonesDetail]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),[$.urls.dsmZonesCreate_Action]:Tt,[$.urls.dsmZonesDelete_Action]:Tt,[$.urls.dsmZonesDownload]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),...no({nf:ue.DSM,rootUrl:$.urls.dsmCluster,applyBootConfigUrl:$.urls.dsmClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.dsmClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.dsmClusterLeaveCluster_Action})},UUe={[$.urls.eir]:t=>et({permissions:[ie.provisioning,ie.monitoring,ie.configuration,ie.management],activeServicesNames:[ue.EIR],services:t}),[$.urls.eirStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.EIR],services:t}),...Fp({nf:ue.EIR,rootUrl:$.urls.eirStatusDiameter,connectionsUrl:$.urls.eirStatusDiameterConnections,peersUrl:$.urls.eirStatusDiameterPeers}),...ro({nf:ue.EIR,rootUrl:$.urls.eirConfiguration,applyActionUrl:$.urls.eirConfigurationApply_Action,persistActionUrl:$.urls.eirConfigurationPersist_Action,reloadActionUrl:$.urls.eirConfigurationReload_Action,factoryResetActionUrl:$.urls.eirConfigurationFactoryReset_Action}),[$.urls.eirRules]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.EIR],services:t}),[$.urls.eirRulesEntries]:()=>et({permissions:ie.provisioning}),[$.urls.eirRulesDetails]:()=>et({permissions:ie.provisioning}),[$.urls.eirRulesCreateBulk_Action]:Tt,[$.urls.eirRulesCreate_Action]:Tt,[$.urls.eirRulesUpdate_Action]:Tt,[$.urls.eirRulesDelete_Action]:Tt,[$.urls.eirRulesEquipmentConfigurationSet]:()=>et({permissions:ie.provisioning}),[$.urls.eirAutoRules]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.EIR],services:t}),[$.urls.eirAutorulesEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.EIR],services:t}),[$.urls.eirAutorulesCreateBulk_Action]:Tt,[$.urls.eirAutorulesCreate_Action]:Tt,[$.urls.eirAutorulesUpdate_Action]:Tt,[$.urls.eirAutorulesDelete_Action]:Tt,...no({nf:ue.EIR,rootUrl:$.urls.eirCluster,applyBootConfigUrl:$.urls.eirClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.eirClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.eirClusterLeaveCluster_Action})};function nN({nf:t,rootUrl:e,socketsUrl:r}){return{[e]:n=>et({permissions:ie.monitoring,activeServicesNames:[t],services:n}),[r]:n=>et({permissions:ie.monitoring,activeServicesNames:[t],services:n})}}function sN({nf:t,rootUrl:e,createUrl:r,deleteUrl:n}){return{[e]:s=>et({permissions:ie.lawful_interception,activeServicesNames:[t],services:s}),[r]:Tt,[n]:Tt}}const BUe={[$.urls.mme]:t=>et({permissions:[ie.monitoring,ie.configuration,ie.lawful_interception],activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),...Fp({nf:ue.MME,rootUrl:$.urls.mmeStatusDiameter,connectionsUrl:$.urls.mmeStatusDiameterConnections,peersUrl:$.urls.mmeStatusDiameterPeers}),[$.urls.mmeStatusS1ap]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusS1apConnections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusS1apConnectionsDisconnect]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusS1apConnectionsReset]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusS1apListeners]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),...qA({nf:ue.MME,rootUrl:$.urls.mmeStatusGtpc,socketsUrl:$.urls.mmeStatusGtpcSockets,peersUrl:$.urls.mmeStatusGtpcPeers,blockedPeersUrl:$.urls.mmeStatusGtpcBlockedPeers,blockedPeersFlushActionUrl:$.urls.mmeStatusGtpcBlockedPeersFlush_Action}),...nN({nf:ue.MME,rootUrl:$.urls.mmeStatusGtpu,socketsUrl:$.urls.mmeStatusGtpuSockets}),[$.urls.mmeStatusSgs]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusSgsConnections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusSbcap]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusSbcapConnections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusSbcapListeners]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusDns]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusDnsCache]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusDnsCacheFlush]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusM3]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusM3Connections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),...no({nf:ue.MME,rootUrl:$.urls.mmeCluster,applyBootConfigUrl:$.urls.mmeClusterApplyBootConfig_Action}),...ro({nf:ue.MME,rootUrl:$.urls.mmeConfiguration,applyActionUrl:$.urls.mmeConfigurationApply_Action,persistActionUrl:$.urls.mmeConfigurationPersist_Action,reloadActionUrl:$.urls.mmeConfigurationReload_Action,factoryResetActionUrl:$.urls.mmeConfigurationFactoryReset_Action}),...sN({nf:ue.MME,rootUrl:$.urls.mmeLawfulInterception,createUrl:$.urls.mmeLawfulInterceptionCreate_Action,deleteUrl:$.urls.mmeLawfulInterceptionDelete_Action})},zUe={[$.urls.monitoring]:()=>et({permissions:ie.monitoring}),[$.urls.monitoringUeStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AMF,ue.SMF,ue.UDR,ue.MME,ue.UPF,ue.PCF,ue.SGWC],partialActiveServices:!0,services:t}),[$.urls.monitoringUeStatusDetails]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AMF,ue.SMF,ue.UDR,ue.MME,ue.UPF,ue.PCF,ue.SGWC],partialActiveServices:!0,services:t}),[$.urls.monitoringUeStatusDetailsUdmReattach_Action]:Tt,[$.urls.monitoringUeStatusDetailsAmf]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AMF],services:t}),[$.urls.monitoringUeStatusDetailsAmfRemove_Action]:Tt,[$.urls.monitoringUeStatusDetailsSmf]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),[$.urls.monitoringUeStatusDetailsUpf]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),[$.urls.monitoringUeStatusDetailsUdr]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UDR],services:t}),[$.urls.monitoringUeStatusDetailsMme]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.monitoringUeStatusDetailsMmeDisconnect_Action]:Tt,[$.urls.monitoringUeStatusDetailsMmeDetach_Action]:Tt,[$.urls.monitoringUeStatusDetailsMmePurge_Action]:Tt,[$.urls.monitoringUeStatusDetailsSgwc]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),[$.urls.monitoringUeStatusDetailsPcf]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.PCF],services:t}),[$.urls.monitoringCoreStatistics]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GRAFANA],services:t}),[$.urls.monitoringSystem]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GRAFANA],services:t}),[$.urls.monitoringAlerts]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.ALERTMANAGER],services:t})},qUe={[$.urls.network]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusInterfaces]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusNeighbors]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusNeighborsFlush_Action]:Tt,[$.urls.networkStatusRoutes]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusRules]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusSockets]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusBird]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusBirdProtocols]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusBirdBfdSessions]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),...ro({nf:ue.NCM,rootUrl:$.urls.networkConfiguration,applyActionUrl:$.urls.networkConfigurationApply_Action,persistActionUrl:$.urls.networkConfigurationPersist_Action,reloadActionUrl:$.urls.networkConfigurationReload_Action,factoryResetActionUrl:$.urls.networkConfigurationFactoryReset_Action})},VUe={[$.urls.nrf]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.NRF],services:t}),[$.urls.nrfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NRF],services:t}),...ro({nf:ue.NRF,rootUrl:$.urls.nrfConfiguration,applyActionUrl:$.urls.nrfConfigurationApply_Action,persistActionUrl:$.urls.nrfConfigurationPersist_Action,reloadActionUrl:$.urls.nrfConfigurationReload_Action,factoryResetActionUrl:$.urls.nrfConfigurationFactoryReset_Action}),[$.urls.nrfStaticProfiles]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.NRF],services:t}),[$.urls.nrfStaticProfilesDetails]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.NRF],services:t}),[$.urls.nrfStaticProfilesCreate_Action]:Tt,[$.urls.nrfStaticProfilesUpdate_Action]:Tt,[$.urls.nrfStaticProfilesDelete_Action]:Tt,...no({nf:ue.NRF,rootUrl:$.urls.nrfCluster,applyBootConfigUrl:$.urls.nrfClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.nrfClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.nrfClusterLeaveCluster_Action})},HUe={[$.urls.pcf]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.PCF],services:t}),[$.urls.pcfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.PCF],services:t}),...Fp({nf:ue.PCF,rootUrl:$.urls.pcfStatusDiameter,connectionsUrl:$.urls.pcfStatusDiameterConnections,peersUrl:$.urls.pcfStatusDiameterPeers}),...no({nf:ue.PCF,rootUrl:$.urls.pcfCluster,applyBootConfigUrl:$.urls.pcfClusterApplyBootConfig_Action}),...ro({nf:ue.PCF,rootUrl:$.urls.pcfConfiguration,applyActionUrl:$.urls.pcfConfigurationApply_Action,persistActionUrl:$.urls.pcfConfigurationPersist_Action,reloadActionUrl:$.urls.pcfConfigurationReload_Action,factoryResetActionUrl:$.urls.pcfConfigurationFactoryReset_Action})},GUe={[$.urls.platform]:()=>et({permissions:ie.management}),[$.urls.platformAuthentication]:()=>et({permissions:ie.management}),[$.urls.platformAuthenticationStrategies]:()=>et({permissions:ie.management}),[$.urls.platformAuthenticationAuthConfig]:()=>et({permissions:ie.management}),[$.urls.platformAuthenticationTerms]:()=>et({permissions:ie.management}),[$.urls.platformAuthenticationBackendsUpdate_Action]:Tt,[$.urls.platformAuthenticationOpenIdConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationRadiusConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationLdapConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationAuthConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationOpenIdConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationTermsUpdate_Action]:Tt,[$.urls.platformUsers]:()=>et({permissions:ie.management}),[$.urls.platformUsersEntries]:()=>et({permissions:ie.management}),[$.urls.platformUsersDetails]:()=>et({permissions:ie.management}),[$.urls.platformUsersAudits]:()=>et({permissions:ie.management}),[$.urls.platformUsersCreate_Action]:Tt,[$.urls.platformUsersUpdate_Action]:Tt,[$.urls.platformUsersDelete_Action]:Tt,[$.urls.platformUsersPasswordChange_Action]:Tt,[$.urls.platformUsersRevokeTokens_Action]:Tt,[$.urls.platformUsersCurrentUserPasswordChange_Action]:Tt,[$.urls.platformRoles]:()=>et({permissions:ie.management}),[$.urls.platformRolesEntries]:()=>et({permissions:ie.management}),[$.urls.platformRolesCreate_Action]:Tt,[$.urls.platformRolesUpdate_Action]:Tt,[$.urls.platformRolesDelete_Action]:Tt,[$.urls.platformRolesDetails]:()=>et({permissions:ie.management}),[$.urls.platformTls]:()=>et({permissions:ie.management}),[$.urls.platformTlsConfigurationUpdate_Action]:Tt,[$.urls.platformTlsClientCertificateUpdate_Action]:Tt,[$.urls.platformTlsServerCertificateUpdate_Action]:Tt,[$.urls.platformLogShipping]:()=>et({permissions:ie.management}),[$.urls.platformLogShippingApply_Action]:Tt,[$.urls.platformLogShippingFactoryReset_Action]:Tt,[$.urls.platformKpiShipping]:()=>et({permissions:ie.management}),[$.urls.platformKpiShippingApply_Action]:Tt,[$.urls.platformKpiShippingFactoryReset_Action]:Tt,[$.urls.platformAlertShipping]:()=>et({permissions:ie.management}),[$.urls.platformAlertShippingApply_Action]:Tt,[$.urls.platformAlertShippingFactoryReset_Action]:Tt,...no({nf:ue.PLS,rootUrl:$.urls.platformCluster,applyBootConfigUrl:$.urls.platformClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.platformClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.platformClusterLeaveCluster_Action})},WUe={[$.urls.sgwc]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.SGWC],services:t}),[$.urls.sgwcStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),...qA({nf:ue.SGWC,rootUrl:$.urls.sgwcStatusGtpc,socketsUrl:$.urls.sgwcStatusGtpcSockets,peersUrl:$.urls.sgwcStatusGtpcPeers}),[$.urls.sgwcStatusPfcp]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),[$.urls.sgwcStatusPfcpSockets]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),[$.urls.sgwcStatusPfcpPeers]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),...no({nf:ue.SGWC,rootUrl:$.urls.sgwcCluster,applyBootConfigUrl:$.urls.sgwcClusterApplyBootConfig_Action}),...ro({nf:ue.SGWC,rootUrl:$.urls.sgwcConfiguration,applyActionUrl:$.urls.sgwcConfigurationApply_Action,persistActionUrl:$.urls.sgwcConfigurationPersist_Action,reloadActionUrl:$.urls.sgwcConfigurationReload_Action,factoryResetActionUrl:$.urls.sgwcConfigurationFactoryReset_Action})},YUe={[$.urls.smf]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.SMF],services:t}),[$.urls.smfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),...qA({nf:ue.SMF,rootUrl:$.urls.smfStatusGtpc,socketsUrl:$.urls.smfStatusGtpcSockets,peersUrl:$.urls.smfStatusGtpcPeers}),...nN({nf:ue.SMF,rootUrl:$.urls.smfStatusGtpu,socketsUrl:$.urls.smfStatusGtpuSockets}),...no({nf:ue.SMF,rootUrl:$.urls.smfCluster,applyBootConfigUrl:$.urls.smfClusterApplyBootConfig_Action}),[$.urls.smfStatusPfcp]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),[$.urls.smfStatusPfcpSockets]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),[$.urls.smfStatusPfcpPeers]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),...ro({nf:ue.SMF,rootUrl:$.urls.smfConfiguration,applyActionUrl:$.urls.smfConfigurationApply_Action,persistActionUrl:$.urls.smfConfigurationPersist_Action,reloadActionUrl:$.urls.smfConfigurationReload_Action,factoryResetActionUrl:$.urls.smfConfigurationFactoryReset_Action}),...sN({nf:ue.SMF,rootUrl:$.urls.smfLawfulInterception,createUrl:$.urls.smfLawfulInterceptionCreate_Action,deleteUrl:$.urls.smfLawfulInterceptionDelete_Action})},KUe={[$.urls.smsf]:t=>et({permissions:[ie.monitoring,ie.configuration,ie.management],activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMSF],services:t}),...Fp({nf:ue.SMSF,rootUrl:$.urls.smsfStatusDiameter,connectionsUrl:$.urls.smsfStatusDiameterConnections,peersUrl:$.urls.smsfStatusDiameterPeers}),[$.urls.smsfStatusSmpp]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfStatusSmppConnections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMSF],services:t}),...ro({nf:ue.SMSF,rootUrl:$.urls.smsfConfiguration,applyActionUrl:$.urls.smsfConfigurationApply_Action,persistActionUrl:$.urls.smsfConfigurationPersist_Action,reloadActionUrl:$.urls.smsfConfigurationReload_Action,factoryResetActionUrl:$.urls.smsfConfigurationFactoryReset_Action}),[$.urls.smsfSmsBox]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBoxList]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBoxSend_Action]:Tt,[$.urls.smsfSmsBoxMsisdn]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBoxMsisdnDirection]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBoxMsisdnDirectionDelete]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBox]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),...no({nf:ue.SMSF,rootUrl:$.urls.smsfCluster,applyBootConfigUrl:$.urls.smsfClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.smsfClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.smsfClusterLeaveCluster_Action})},QUe={[$.urls.system]:()=>et({permissions:[[ie.management],[ie.monitoring],[ie.backup,ie.provisioning],[ie.backup,ie.configuration]]}),[$.urls.systemLicensing]:t=>et({permissions:ie.management,activeServicesNames:[ue.LICENSED],services:t}),[$.urls.systemLicensingInstall_Action]:Tt,[$.urls.systemLicensingDelete_Action]:Tt,[$.urls.systemBackup]:()=>et({permissions:[[ie.backup,ie.provisioning],[ie.backup,ie.configuration]]}),[$.urls.systemBackupSchedules]:()=>et({permissions:[[ie.backup,ie.configuration],[ie.backup,ie.provisioning]]}),[$.urls.systemBackupSchedulesConfiguration]:()=>et({permissions:[[ie.backup,ie.configuration]]}),[$.urls.systemBackupSchedulesConfigurationBackup_Action]:Tt,[$.urls.systemBackupSchedulesNf]:()=>et({permissions:[[ie.backup,ie.provisioning]]}),[$.urls.systemBackupRestoreSchedules]:()=>et({permissions:[[ie.backup,ie.provisioning],[ie.backup,ie.configuration]]}),[$.urls.systemBackupRestoreSchedulesConfiguration]:()=>et({permissions:[[ie.backup,ie.configuration]]}),[$.urls.systemBackupRestoreSchedulesConfigurationBackup_Action]:Tt,[$.urls.systemBackupRestoreSchedulesConfigurationRestore_Action]:Tt,[$.urls.systemBackupRestoreSchedulesNf]:()=>et({permissions:[[ie.backup,ie.provisioning]]}),[$.urls.systemBackupScheduleBackup_Action]:Tt,[$.urls.systemBackupScheduleRestore_Action]:Tt,[$.urls.systemBackupUpdateConfiguration_Action]:Tt,[$.urls.systemServices]:()=>et({permissions:ie.management}),[$.urls.systemServicesManagement_Action]:Tt,[$.urls.systemUpgrade]:()=>et({permissions:ie.management}),[$.urls.systemUpgradeUpload_Action]:Tt,[$.urls.systemLogs]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsFollow]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsEntries]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsFields]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsFieldsName]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsConfig]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsConfigUpdate_Action]:Tt,[$.urls.systemLogsCursor]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsCursorItem]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemTerminal]:t=>et({canFn:Ue,permissions:ie.management,activeServicesNames:[ue.TERMINAL],services:t}),[$.urls.systemTerminalList]:t=>et({canFn:Ue,permissions:ie.management,activeServicesNames:[ue.TERMINAL],services:t}),[$.urls.restart]:()=>et({permissions:ie.management}),[$.urls.systemBootPartitions]:()=>et({permissions:ie.management}),[$.urls.systemBootPartitionsUpdate_Action]:Tt,[$.urls.systemTroubleshootDump]:()=>et({permissions:ie.management}),[$.urls.systemTroubleshootDumpCreate_Action]:Tt,[$.urls.systemTroubleshootDumpDelete_Action]:Tt},ZUe={[$.urls.udm]:t=>et({permissions:[ie.provisioning,ie.configuration,ie.monitoring],activeServicesNames:[ue.UDM],services:t}),[$.urls.udmStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UDM],services:t}),...Fp({nf:ue.UDM,rootUrl:$.urls.udmStatusDiameter,connectionsUrl:$.urls.udmStatusDiameterConnections,peersUrl:$.urls.udmStatusDiameterPeers}),...ro({nf:ue.UDM,rootUrl:$.urls.udmConfiguration,applyActionUrl:$.urls.udmConfigurationApply_Action,persistActionUrl:$.urls.udmConfigurationPersist_Action,reloadActionUrl:$.urls.udmConfigurationReload_Action,factoryResetActionUrl:$.urls.udmConfigurationFactoryReset_Action}),[$.urls.udmHomeNetworkKeys]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDM],services:t}),[$.urls.udmHomeNetworkKeysCreate_Action]:Tt,[$.urls.udmHomeNetworkKeysDelete_Action]:Tt,[$.urls.udmHomeNetworkKeysUpload_Action]:Tt,...no({nf:ue.UDM,rootUrl:$.urls.udmCluster,applyBootConfigUrl:$.urls.udmClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.udmClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.udmClusterLeaveCluster_Action}),[$.urls.udmPlmnPrefixes]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.UDM],services:t}),[$.urls.udmPlmnPrefix]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.UDM],services:t}),[$.urls.udmPlmnPrefixesCreate_Action]:Tt,[$.urls.udmPlmnPrefixesUpdate_Action]:Tt,[$.urls.udmPlmnPrefixesDelete_Action]:Tt},XUe={[$.urls.udr]:t=>et({permissions:[ie.provisioning,ie.configuration,ie.transport_keys,ie.operator_codes,ie.milenage_constants],activeServicesNames:[ue.UDR],services:t}),...ro({nf:ue.UDR,rootUrl:$.urls.udrConfiguration,applyActionUrl:$.urls.udrConfigurationApply_Action,persistActionUrl:$.urls.udrConfigurationPersist_Action,reloadActionUrl:$.urls.udrConfigurationReload_Action,factoryResetActionUrl:$.urls.udrConfigurationFactoryReset_Action}),[$.urls.udrPlmns]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrPlmnsCreate_Action]:Tt,[$.urls.udrPlmnsDelete_Action]:Tt,[$.urls.udrSupis]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrSupisUpload_Action]:Tt,[$.urls.udrSupisUploadAsync_Action]:Tt,[$.urls.udrSupisDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrSupisCreate_Action]:Tt,[$.urls.udrSupisUpdate_Action]:Tt,[$.urls.udrSupisDelete_Action]:Tt,[$.urls.udrProvisionedDataProfile]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrProvisionedDataProfileDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrProvisionedDataProfileCreate_Action]:Tt,[$.urls.udrProvisionedDataProfileUpdate_Action]:Tt,[$.urls.udrProvisionedDataProfileDelete_Action]:Tt,[$.urls.udrPolicyDataProfile]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrPolicyDataProfileDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrPolicyDataProfileCreate_Action]:Tt,[$.urls.udrPolicyDataProfileUpdate_Action]:Tt,[$.urls.udrPolicyDataProfileDelete_Action]:Tt,[$.urls.udrImsApplicationServerAcls]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsApplicationServerAclsEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsApplicationServerAclsDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsApplicationServerAclsCreate_Action]:Tt,[$.urls.udrImsApplicationServerAclsUpdate_Action]:Tt,[$.urls.udrImsApplicationServerAclsDelete_Action]:Tt,[$.urls.udrImsPrivateIdentities]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesApplicationServersProfiles]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesApplicationServersProfilesCreate_Action]:Tt,[$.urls.udrImsPrivateIdentitiesApplicationServersProfilesUpdate_Action]:Tt,[$.urls.udrImsPrivateIdentitiesApplicationServersProfilesDelete_Action]:Tt,[$.urls.udrImsPrivateIdentitiesEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesPrivateStatus]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesPublicStatus]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesCreate_Action]:Tt,[$.urls.udrImsPrivateIdentitiesCreateBasic_Action]:Tt,[$.urls.udrImsPrivateIdentitiesUpdate_Action]:Tt,[$.urls.udrImsPrivateIdentitiesDelete_Action]:Tt,[$.urls.udrImsServiceProfiles]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsServiceProfilesEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsServiceProfilesDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsServiceProfilesCreate_Action]:Tt,[$.urls.udrImsServiceProfilesUpdate_Action]:Tt,[$.urls.udrImsServiceProfilesDelete_Action]:Tt,[$.urls.udrImsInitialFilters]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsInitialFiltersEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsInitialFiltersDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsInitialFiltersCreate_Action]:Tt,[$.urls.udrImsInitialFiltersUpdate_Action]:Tt,[$.urls.udrImsInitialFiltersDelete_Action]:Tt,[$.urls.udrTransportKeys]:t=>et({permissions:ie.transport_keys,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrTransportKeysEntries]:t=>et({permissions:ie.transport_keys,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrTransportKeysDetails]:t=>et({permissions:ie.transport_keys,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrTransportKeysCreate_Action]:Tt,[$.urls.udrTransportKeysUpdate_Action]:Tt,[$.urls.udrTransportKeysDelete_Action]:Tt,[$.urls.udrOperatorCodes]:t=>et({permissions:ie.operator_codes,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrOperatorCodesEntries]:t=>et({permissions:ie.operator_codes,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrOperatorCodesDetails]:t=>et({permissions:ie.operator_codes,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrOperatorCodesCreate_Action]:Tt,[$.urls.udrOperatorCodesUpdate_Action]:Tt,[$.urls.udrOperatorCodesDelete_Action]:Tt,[$.urls.udrCustomMilenageConstants]:t=>et({permissions:ie.milenage_constants,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrCustomMilenageConstantsUpdate_Action]:Tt,[$.urls.udrCustomMilenageConstantsDelete_Action]:Tt,...no({nf:ue.UDR,rootUrl:$.urls.udrCluster,applyBootConfigUrl:$.urls.udrClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.udrClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.udrClusterLeaveCluster_Action})},JUe={[$.urls.upf]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.UPF],services:t}),[$.urls.upfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),[$.urls.upfStatusPfcp]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),[$.urls.upfStatusPfcpSockets]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),[$.urls.upfStatusPfcpPeers]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),...nN({nf:ue.UPF,rootUrl:$.urls.upfStatusGtpu,socketsUrl:$.urls.upfStatusGtpuSockets}),...no({nf:ue.UPF,rootUrl:$.urls.upfCluster,applyBootConfigUrl:$.urls.upfClusterApplyBootConfig_Action}),...ro({nf:ue.UPF,rootUrl:$.urls.upfConfiguration,applyActionUrl:$.urls.upfConfigurationApply_Action,persistActionUrl:$.urls.upfConfigurationPersist_Action,reloadActionUrl:$.urls.upfConfigurationReload_Action,factoryResetActionUrl:$.urls.upfConfigurationFactoryReset_Action}),...sN({nf:ue.UPF,rootUrl:$.urls.upfLawfulInterception,createUrl:$.urls.upfLawfulInterceptionCreate_Action,deleteUrl:$.urls.upfLawfulInterceptionDelete_Action})},eBe={[$.urls.aaa]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.AAA],services:t}),...no({nf:ue.AAA,rootUrl:$.urls.aaaCluster,applyBootConfigUrl:$.urls.aaaClusterApplyBootConfig_Action}),[$.urls.aaaStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AAA],services:t}),[$.urls.aaaStatusRadius]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AAA],services:t}),...ro({nf:ue.AAA,rootUrl:$.urls.aaaConfiguration,applyActionUrl:$.urls.aaaConfigurationApply_Action,persistActionUrl:$.urls.aaaConfigurationPersist_Action,reloadActionUrl:$.urls.aaaConfigurationReload_Action,factoryResetActionUrl:$.urls.aaaConfigurationFactoryReset_Action})},BW={[$.urls.siteLoader]:Tt,[$.urls.profile]:Tt,[$.urls.home]:()=>et({permissions:ie.monitoring}),...qUe,...eBe,...IUe,...DUe,...$Ue,...LUe,...FUe,...NUe,...UUe,...BUe,...VUe,...HUe,...WUe,...YUe,...KUe,...ZUe,...XUe,...JUe,...zUe,...GUe,...QUe},tBe=Pr(),Lt=(t,e)=>{try{return K6(t,e),!0}catch{return!1}},K6=(t,e)=>{if(!Cae(t))return;if(!BW[t])throw new Error(tBe.formatMessage({id:"route.errors.route_not_managed"},{path:t}));if(!e.length)return;const r=BW[t](e);if(r!==!0)throw r.areServicesActive?Li({type:mn.FORBIDDEN,data:Array.isArray(r.permissions)?r.permissions.join(", "):r.permissions}):Li({type:mn.SERVICE_UNAVAILABLE,data:r.services?.join(", ")})};function et({permissions:t,services:e,activeServicesNames:r,canFn:n=as,partialActiveServices:s=!1}){const i=t?n(t):!0,o=e&&r?u4e({services:e,activeServices:r,partial:s}):!0;return!i||!o?{permissions:t,services:r,hasPermissions:i,areServicesActive:o}:!0}function Aae(){const t=pie();return!Ni.isEmpty(t)}const vt=Pr();function kae(t){return t.filter(e=>!e.disabled).map(e=>e.subItems?{...e,subItems:e.subItems.filter(r=>!r.disabled)}:e).map(e=>!e.subItems||e.subItems&&e.subItems?.length>0?e:void 0).filter(e=>!!e)}function _o(t,e){return!!e.find(r=>r.name===t)?.db_cluster}function rBe({services:t}){return[{value:$.urls.home,icon:a.jsx(ge.Home,{}),label:vt.formatMessage({id:"route.home"}),disabled:!Lt($.urls.home,t)},{value:$.urls.network,icon:a.jsx(ge.NCM,{}),label:vt.formatMessage({id:"route.ncm"}),disabled:!Lt($.urls.network,t),subItems:[{value:$.urls.networkStatus,label:vt.formatMessage({id:"route.ncm.status"}),disabled:!Lt($.urls.networkStatus,t)},{value:$.urls.networkConfiguration,label:vt.formatMessage({id:"route.ncm.configuration"}),disabled:!Lt($.urls.networkConfiguration,t)}]},{value:$.urls.aaa,icon:a.jsx(ge.AAA,{}),label:vt.formatMessage({id:"route.aaa"}),disabled:!Lt($.urls.aaa,t),subItems:[{value:$.urls.aaaStatus,label:vt.formatMessage({id:"route.aaa.status"}),disabled:!Lt($.urls.aaaStatus,t)},{value:$.urls.aaaConfiguration,label:vt.formatMessage({id:"route.aaa.configuration"}),disabled:!Lt($.urls.aaaConfiguration,t)},{value:$.urls.aaaCluster,label:vt.formatMessage({id:"route.aaa.cluster"}),disabled:!Lt($.urls.aaaCluster,t)||!_o(ue.AAA,t)}]},{value:$.urls.amf,icon:a.jsx(ge.AMF,{}),label:vt.formatMessage({id:"route.amf"}),disabled:!Lt($.urls.amf,t),subItems:[{value:$.urls.amfStatus,label:vt.formatMessage({id:"route.amf.status"}),disabled:!Lt($.urls.amfStatus,t)},{value:$.urls.amfConfiguration,label:vt.formatMessage({id:"route.amf.configuration"}),disabled:!Lt($.urls.amfConfiguration,t)},{value:$.urls.amfCluster,label:vt.formatMessage({id:"route.amf.cluster"}),disabled:!Lt($.urls.amfCluster,t)||!_o(ue.AMF,t)}]},{value:$.urls.ausf,icon:a.jsx(ge.AUSF,{}),label:vt.formatMessage({id:"route.ausf"}),disabled:!Lt($.urls.ausf,t),subItems:[{value:$.urls.ausfConfiguration,label:vt.formatMessage({id:"route.ausf.configuration"}),disabled:!Lt($.urls.ausfConfiguration,t)},{value:$.urls.ausfCluster,label:vt.formatMessage({id:"route.ausf.cluster"}),disabled:!Lt($.urls.ausfCluster,t)||!_o(ue.AUSF,t)}]},{value:$.urls.bmsc,icon:a.jsx(ge.BMSC,{}),label:vt.formatMessage({id:"route.bmsc"}),disabled:!Lt($.urls.bmsc,t),subItems:[{value:$.urls.bmscStatus,label:vt.formatMessage({id:"route.bmsc.status"}),disabled:!Lt($.urls.bmscStatus,t)},{value:$.urls.bmscConfiguration,label:vt.formatMessage({id:"route.bmsc.configuration"}),disabled:!Lt($.urls.bmscConfiguration,t)},{value:$.urls.bmscCluster,label:vt.formatMessage({id:"route.bmsc.cluster"}),disabled:!Lt($.urls.bmscCluster,t)||!_o(ue.BMSC,t)}]},{value:$.urls.chf,icon:a.jsx(ge.CHF,{}),label:vt.formatMessage({id:"route.chf"}),disabled:!Lt($.urls.chf,t),subItems:[{value:$.urls.chfStatus,label:vt.formatMessage({id:"route.chf.status"}),disabled:!Lt($.urls.chfStatus,t)},{value:$.urls.chfConfiguration,label:vt.formatMessage({id:"route.chf.configuration"}),disabled:!Lt($.urls.chfConfiguration,t)},{value:$.urls.chfCluster,label:vt.formatMessage({id:"route.chf.cluster"}),disabled:!Lt($.urls.chfCluster,t)||!_o(ue.CHF,t)}]},{value:$.urls.dsm,icon:a.jsx(ge.DSM,{}),label:vt.formatMessage({id:"route.dsm"}),disabled:!Lt($.urls.dsm,t),subItems:[{value:$.urls.dsmConfiguration,label:vt.formatMessage({id:"route.dsm.configuration"}),disabled:!Lt($.urls.dsmConfiguration,t)},{value:$.urls.dsmZones,label:vt.formatMessage({id:"route.dsm.zones"}),disabled:!Lt($.urls.dsmZones,t)},{value:$.urls.dsmCluster,label:vt.formatMessage({id:"route.dsm.cluster"}),disabled:!Lt($.urls.dsmCluster,t)||!_o(ue.DSM,t)}]},{value:$.urls.dra,icon:a.jsx(ge.DRA,{}),label:vt.formatMessage({id:"route.dra"}),disabled:!Lt($.urls.dra,t),subItems:[{value:$.urls.draStatus,label:vt.formatMessage({id:"route.dra.status"}),disabled:!Lt($.urls.draStatus,t)},{value:$.urls.draConfiguration,label:vt.formatMessage({id:"route.dra.configuration"}),disabled:!Lt($.urls.draConfiguration,t)},{value:$.urls.draCluster,label:vt.formatMessage({id:"route.dra.cluster"}),disabled:!Lt($.urls.draCluster,t)||!_o(ue.DRA,t)}]},{value:$.urls.eir,icon:a.jsx(ge.EIR,{}),label:vt.formatMessage({id:"route.eir"}),disabled:!Lt($.urls.eir,t),subItems:[{value:$.urls.eirStatus,label:vt.formatMessage({id:"route.eir.status"}),disabled:!Lt($.urls.eirStatus,t)},{value:$.urls.eirConfiguration,label:vt.formatMessage({id:"route.eir.configuration"}),disabled:!Lt($.urls.eirConfiguration,t)},{value:$.urls.eirRules,label:vt.formatMessage({id:"route.eir.rules"}),disabled:!Lt($.urls.eirRules,t)},{value:$.urls.eirAutoRules,label:vt.formatMessage({id:"route.eir.auto-rules"}),disabled:!Lt($.urls.eirAutoRules,t)},{value:$.urls.eirCluster,label:vt.formatMessage({id:"route.eir.cluster"}),disabled:!Lt($.urls.eirCluster,t)||!_o(ue.EIR,t)}]},{value:$.urls.mme,icon:a.jsx(ge.MME,{}),label:vt.formatMessage({id:"route.mme"}),disabled:!Lt($.urls.mme,t),subItems:[{value:$.urls.mmeStatus,label:vt.formatMessage({id:"route.mme.status"}),disabled:!Lt($.urls.mmeStatus,t)},{value:$.urls.mmeConfiguration,label:vt.formatMessage({id:"route.mme.configuration"}),disabled:!Lt($.urls.mmeConfiguration,t)},{value:$.urls.mmeLawfulInterception,label:vt.formatMessage({id:"route.mme.lawful-interception"}),disabled:!Lt($.urls.mmeLawfulInterception,t)},{value:$.urls.mmeCluster,label:vt.formatMessage({id:"route.mme.cluster"}),disabled:!Lt($.urls.mmeCluster,t)||!_o(ue.MME,t)}]},{value:$.urls.nrf,icon:a.jsx(ge.NRF,{}),label:vt.formatMessage({id:"route.nrf"}),disabled:!Lt($.urls.nrf,t),subItems:[{value:$.urls.nrfStatus,label:vt.formatMessage({id:"route.nrf.status"}),disabled:!Lt($.urls.nrfStatus,t)},{value:$.urls.nrfConfiguration,label:vt.formatMessage({id:"route.nrf.configuration"}),disabled:!Lt($.urls.nrfConfiguration,t)},{value:$.urls.nrfStaticProfiles,label:vt.formatMessage({id:"route.nrf.static-profiles"}),disabled:!Lt($.urls.nrfStaticProfiles,t)},{value:$.urls.nrfCluster,label:vt.formatMessage({id:"route.nrf.cluster"}),disabled:!Lt($.urls.nrfCluster,t)||!_o(ue.NRF,t)}]},{value:$.urls.pcf,icon:a.jsx(ge.PCF,{}),label:vt.formatMessage({id:"route.pcf"}),disabled:!Lt($.urls.pcf,t),subItems:[{value:$.urls.pcfStatus,label:vt.formatMessage({id:"route.pcf.status"}),disabled:!Lt($.urls.pcfStatus,t)},{value:$.urls.pcfConfiguration,label:vt.formatMessage({id:"route.pcf.configuration"}),disabled:!Lt($.urls.pcfConfiguration,t)},{value:$.urls.pcfCluster,label:vt.formatMessage({id:"route.pcf.cluster"}),disabled:!Lt($.urls.pcfCluster,t)||!_o(ue.PCF,t)}]},{value:$.urls.sgwc,icon:a.jsx(ge.SGWC,{}),label:vt.formatMessage({id:"route.sgwc"}),disabled:!Lt($.urls.sgwc,t),subItems:[{value:$.urls.sgwcStatus,label:vt.formatMessage({id:"route.sgwc.status"}),disabled:!Lt($.urls.sgwcStatus,t)},{value:$.urls.sgwcConfiguration,label:vt.formatMessage({id:"route.sgwc.configuration"}),disabled:!Lt($.urls.sgwcConfiguration,t)},{value:$.urls.sgwcCluster,label:vt.formatMessage({id:"route.sgwc.cluster"}),disabled:!Lt($.urls.sgwcCluster,t)||!_o(ue.SGWC,t)}]},{value:$.urls.smf,icon:a.jsx(ge.SMF,{}),label:vt.formatMessage({id:"route.smf"}),disabled:!Lt($.urls.smf,t),subItems:[{value:$.urls.smfStatus,label:vt.formatMessage({id:"route.smf.status"}),disabled:!Lt($.urls.smfStatus,t)},{value:$.urls.smfConfiguration,label:vt.formatMessage({id:"route.smf.configuration"}),disabled:!Lt($.urls.smfConfiguration,t)},{value:$.urls.smfLawfulInterception,label:vt.formatMessage({id:"route.smf.lawful-interception"}),disabled:!Lt($.urls.smfLawfulInterception,t)},{value:$.urls.smfCluster,label:vt.formatMessage({id:"route.smf.cluster"}),disabled:!Lt($.urls.smfCluster,t)||!_o(ue.SMF,t)}]},{value:$.urls.smsf,icon:a.jsx(ge.SMSF,{}),label:vt.formatMessage({id:"route.smsf"}),disabled:!Lt($.urls.smsf,t),subItems:[{value:$.urls.smsfStatus,label:vt.formatMessage({id:"route.smsf.status"}),disabled:!Lt($.urls.smsfStatus,t)},{value:$.urls.smsfConfiguration,label:vt.formatMessage({id:"route.smsf.configuration"}),disabled:!Lt($.urls.smsfConfiguration,t)},{value:$.urls.smsfSmsBox,label:vt.formatMessage({id:"route.smsf.sms-box"}),disabled:!Lt($.urls.smsfSmsBox,t)},{value:$.urls.smsfCluster,label:vt.formatMessage({id:"route.smsf.cluster"}),disabled:!Lt($.urls.smsfCluster,t)||!_o(ue.SMSF,t)}]},{value:$.urls.udm,icon:a.jsx(ge.UDM,{}),label:vt.formatMessage({id:"route.udm"}),disabled:!Lt($.urls.udm,t),subItems:[{value:$.urls.udmStatus,label:vt.formatMessage({id:"route.udm.status"}),disabled:!Lt($.urls.udmStatus,t)},{value:$.urls.udmConfiguration,label:vt.formatMessage({id:"route.udm.configuration"}),disabled:!Lt($.urls.udmConfiguration,t)},{value:$.urls.udmPlmnPrefixes,label:vt.formatMessage({id:"route.udm.plmn-prefixes"}),disabled:!Lt($.urls.udmConfiguration,t)},{value:$.urls.udmHomeNetworkKeys,label:vt.formatMessage({id:"route.udm.home-network-keys"}),disabled:!Lt($.urls.udmHomeNetworkKeys,t)},{value:$.urls.udmCluster,label:vt.formatMessage({id:"route.udm.cluster"}),disabled:!Lt($.urls.udmCluster,t)||!_o(ue.UDM,t)}]},{value:$.urls.udr,icon:a.jsx(ge.UDR,{}),label:vt.formatMessage({id:"route.udr"}),disabled:!Lt($.urls.udr,t),subItems:[{value:$.urls.udrConfiguration,label:vt.formatMessage({id:"route.udr.configuration"}),disabled:!Lt($.urls.udrConfiguration,t)},{value:$.urls.udrPlmns,label:vt.formatMessage({id:"route.udr.plmns"}),disabled:!Lt($.urls.udrPlmns,t)},{value:$.urls.udrSupis,label:vt.formatMessage({id:"route.udr.supis"}),disabled:!Lt($.urls.udrSupis,t)},{value:$.urls.udrProvisionedDataProfile,label:vt.formatMessage({id:"route.udr.provisioned-data-profile"}),disabled:!Lt($.urls.udrProvisionedDataProfile,t)},{value:$.urls.udrPolicyDataProfile,label:vt.formatMessage({id:"route.udr.policy-data-profile"}),disabled:!Lt($.urls.udrPolicyDataProfile,t)},{value:$.urls.udrImsApplicationServerAcls,label:vt.formatMessage({id:"route.udr.ims-application-server-acls"}),disabled:!Lt($.urls.udrImsApplicationServerAcls,t)},{value:$.urls.udrImsPrivateIdentities,label:vt.formatMessage({id:"route.udr.ims-private-identities"}),disabled:!Lt($.urls.udrImsPrivateIdentities,t)},{value:$.urls.udrImsServiceProfiles,label:vt.formatMessage({id:"route.udr.ims-service-profiles"}),disabled:!Lt($.urls.udrImsServiceProfiles,t)},{value:$.urls.udrImsInitialFilters,label:vt.formatMessage({id:"route.udr.ims-initial-filters"}),disabled:!Lt($.urls.udrImsInitialFilters,t)},{value:$.urls.udrTransportKeys,label:vt.formatMessage({id:"route.udr.transport-keys"}),disabled:!Lt($.urls.udrTransportKeys,t)},{value:$.urls.udrOperatorCodes,label:vt.formatMessage({id:"route.udr.operator-codes"}),disabled:!Lt($.urls.udrOperatorCodes,t)},{value:$.urls.udrCustomMilenageConstants,label:vt.formatMessage({id:"route.udr.custom-milenage-constants"}),disabled:!Lt($.urls.udrCustomMilenageConstants,t)},{value:$.urls.udrCluster,label:vt.formatMessage({id:"route.udr.cluster"}),disabled:!Lt($.urls.udrCluster,t)||!_o(ue.UDR,t)}]},{value:$.urls.upf,icon:a.jsx(ge.UPF,{}),label:vt.formatMessage({id:"route.upf"}),disabled:!Lt($.urls.upf,t),subItems:[{value:$.urls.upfStatus,label:vt.formatMessage({id:"route.upf.status"}),disabled:!Lt($.urls.upfStatus,t)},{value:$.urls.upfConfiguration,label:vt.formatMessage({id:"route.upf.configuration"}),disabled:!Lt($.urls.upfConfiguration,t)},{value:$.urls.upfLawfulInterception,label:vt.formatMessage({id:"route.upf.lawful-interception"}),disabled:!Lt($.urls.upfLawfulInterception,t)},{value:$.urls.upfCluster,label:vt.formatMessage({id:"route.upf.cluster"}),disabled:!Lt($.urls.upfCluster,t)||!_o(ue.UPF,t)}]}]}function nBe({services:t}){return[{value:$.urls.monitoring,icon:a.jsx(ge.Monitoring,{}),label:vt.formatMessage({id:"route.monitoring"}),disabled:!Lt($.urls.monitoring,t),subItems:[{value:$.urls.monitoringUeStatus,label:vt.formatMessage({id:"route.monitoring.ue-status"}),icon:a.jsx(ge.UEstatus,{}),disabled:!Lt($.urls.monitoringUeStatus,t)},{value:$.urls.monitoringCoreStatistics,label:vt.formatMessage({id:"route.monitoring.core-statistics"}),icon:a.jsx(ge.Grafana,{}),external:!0,disabled:!Lt($.urls.monitoringCoreStatistics,t)},{value:$.urls.monitoringSystem,icon:a.jsx(ge.Grafana,{}),label:vt.formatMessage({id:"route.monitoring.system"}),external:!0,disabled:!Lt($.urls.monitoringSystem,t)}]},{value:$.urls.platform,icon:a.jsx(ge.Platform,{}),label:vt.formatMessage({id:"route.platform"}),disabled:!Lt($.urls.platform,t),subItems:[{value:$.urls.platformAuthentication,icon:a.jsx(ge.AuthenticationStrategies,{}),label:vt.formatMessage({id:"route.platform.auth"}),disabled:!Lt($.urls.platformAuthentication,t)},{value:$.urls.platformUsers,icon:a.jsx(ge.Users,{}),label:vt.formatMessage({id:"route.platform.users"}),disabled:!Lt($.urls.platformUsers,t)},{value:$.urls.platformRoles,icon:a.jsx(ge.Roles,{}),label:vt.formatMessage({id:"route.platform.roles"}),disabled:!Lt($.urls.platformRoles,t)},{value:$.urls.platformTls,icon:a.jsx(ge.TLS,{}),label:vt.formatMessage({id:"route.platform.tls"}),disabled:!Lt($.urls.platformTls,t)},{value:$.urls.platformLogShipping,label:vt.formatMessage({id:"route.platform.log-shipping"}),icon:a.jsx(ge.Fluentbit,{}),disabled:!Lt($.urls.platformLogShipping,t)},{value:$.urls.platformKpiShipping,label:vt.formatMessage({id:"route.platform.kpi-shipping"}),icon:a.jsx(ge.Prometheus,{}),disabled:!Lt($.urls.platformKpiShipping,t)},{value:$.urls.platformAlertShipping,label:vt.formatMessage({id:"route.platform.alert-shipping"}),icon:a.jsx(ge.Prometheus,{}),disabled:!Lt($.urls.platformAlertShipping,t)},{value:$.urls.platformCluster,label:vt.formatMessage({id:"route.platform.cluster"}),icon:a.jsx(ge.Cluster,{}),disabled:!Lt($.urls.platformCluster,t)}]},{value:$.urls.system,icon:a.jsx(ge.System,{}),label:vt.formatMessage({id:"route.system"}),disabled:!Lt($.urls.system,t),subItems:[{value:$.urls.systemLicensing,label:vt.formatMessage({id:"route.system.licensing"}),disabled:!Lt($.urls.systemLicensing,t),icon:a.jsx(ge.Licensing,{})},{value:$.urls.systemBackup,label:vt.formatMessage({id:"route.system.backup"}),disabled:!Lt($.urls.systemBackup,t),icon:a.jsx(ge.Backup,{})},{value:$.urls.systemServices,label:vt.formatMessage({id:"route.system.services"}),disabled:!Lt($.urls.systemServices,t),icon:a.jsx(ge.Service,{})},{value:$.urls.systemUpgrade,label:vt.formatMessage({id:"route.system.upgrade"}),disabled:!Lt($.urls.systemUpgrade,t),icon:a.jsx(ge.Upgrade,{})},{value:$.urls.systemLogs,icon:a.jsx(ge.Logs,{}),label:vt.formatMessage({id:"route.system.logs"}),disabled:!Lt($.urls.systemLogs,t)},{value:$.urls.systemTerminal,icon:a.jsx(ge.Terminal,{}),label:vt.formatMessage({id:"route.system.terminal"}),disabled:!Lt($.urls.systemTerminal,t)},{value:$.urls.systemTroubleshootDump,icon:a.jsx(ge.Download,{}),label:vt.formatMessage({id:"route.system.troubleshoot_dump"}),disabled:!Lt($.urls.systemTroubleshootDump,t)},{id:"restart",value:$.urls.restart,icon:a.jsx(ge.Refresh,{}),external:!0,_target:"_self",label:vt.formatMessage({id:"route.restart"}),disabled:!Lt($.urls.restart,t)},{id:"boot-partition",value:$.urls.systemBootPartitions,icon:a.jsx(ge.Servers,{}),label:vt.formatMessage({id:"route.boot_partitions"}),disabled:!Lt($.urls.systemBootPartitions,t)}]},{value:$.urls.monitoringAlerts,label:vt.formatMessage({id:"route.monitoring.alerts"}),icon:a.jsx(ge.Alerts,{}),disabled:!Lt($.urls.monitoringAlerts,t)},{value:$.urls.docs,icon:a.jsx(ge.Manual,{}),label:vt.formatMessage({id:"route.docs"}),subItems:[{value:$.urls.docsDatasheet,label:vt.formatMessage({id:"route.docs.datasheet"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsFeatureDescription,label:vt.formatMessage({id:"route.docs.feature-description"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsInstallationGuide,label:vt.formatMessage({id:"route.docs.installation-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsMonitoringGuide,label:vt.formatMessage({id:"route.docs.monitoring-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsProductDescription,label:vt.formatMessage({id:"route.docs.product-description"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsReleaseNotes,label:vt.formatMessage({id:"route.docs.release-notes"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsSecurityGuide,label:vt.formatMessage({id:"route.docs.security-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsTroubleshootingGuide,label:vt.formatMessage({id:"route.docs.troubleshooting-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsUserGuide,label:vt.formatMessage({id:"route.docs.user-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0}]},{value:$.urls.docsOas,icon:a.jsx(ge.OAS,{}),label:vt.formatMessage({id:"route.docs.oas"}),subItems:[{value:$.urls.docsOasAaa,icon:a.jsx(ge.AAA,{}),label:vt.formatMessage({id:"route.docs.oas.aaa"}),external:!0},{value:$.urls.docsOasAmf,icon:a.jsx(ge.AMF,{}),label:vt.formatMessage({id:"route.docs.oas.amf"}),external:!0},{value:$.urls.docsOasAusf,icon:a.jsx(ge.AUSF,{}),label:vt.formatMessage({id:"route.docs.oas.ausf"}),external:!0},{value:$.urls.docsOasBmsc,icon:a.jsx(ge.BMSC,{}),label:vt.formatMessage({id:"route.docs.oas.bmsc"}),external:!0},{value:$.urls.docsOasChf,icon:a.jsx(ge.CHF,{}),label:vt.formatMessage({id:"route.docs.oas.chf"}),external:!0},{value:$.urls.docsOasDra,icon:a.jsx(ge.DRA,{}),label:vt.formatMessage({id:"route.docs.oas.dra"}),external:!0},{value:$.urls.docsOasDsm,icon:a.jsx(ge.DSM,{}),label:vt.formatMessage({id:"route.docs.oas.dsm"}),external:!0},{value:$.urls.docsOasEir,icon:a.jsx(ge.EIR,{}),label:vt.formatMessage({id:"route.docs.oas.eir"}),external:!0},{value:$.urls.docsOasLicensed,icon:a.jsx(ge.Licensing,{}),label:vt.formatMessage({id:"route.docs.oas.licensed"}),external:!0},{value:$.urls.docsOasMme,icon:a.jsx(ge.MME,{}),label:vt.formatMessage({id:"route.docs.oas.mme"}),external:!0},{value:$.urls.docsOasNcm,icon:a.jsx(ge.NCM,{}),label:vt.formatMessage({id:"route.docs.oas.ncm"}),external:!0},{value:$.urls.docsOasNrf,icon:a.jsx(ge.NRF,{}),label:vt.formatMessage({id:"route.docs.oas.nrf"}),external:!0},{value:$.urls.docsOasPcf,icon:a.jsx(ge.PCF,{}),label:vt.formatMessage({id:"route.docs.oas.pcf"}),external:!0},{value:$.urls.docsOasPls,icon:a.jsx(ge.Platform,{}),label:vt.formatMessage({id:"route.docs.oas.pls"}),external:!0},{value:$.urls.docsOasSgwc,icon:a.jsx(ge.SGWC,{}),label:vt.formatMessage({id:"route.docs.oas.sgwc"}),external:!0},{value:$.urls.docsOasSmf,icon:a.jsx(ge.SMF,{}),label:vt.formatMessage({id:"route.docs.oas.smf"}),external:!0},{value:$.urls.docsOasSmsf,icon:a.jsx(ge.SMSF,{}),label:vt.formatMessage({id:"route.docs.oas.smsf"}),external:!0},{value:$.urls.docsOasUdm,icon:a.jsx(ge.UDM,{}),label:vt.formatMessage({id:"route.docs.oas.udm"}),external:!0},{value:$.urls.docsOasUdr,icon:a.jsx(ge.UDR,{}),label:vt.formatMessage({id:"route.docs.oas.udr"}),external:!0},{value:$.urls.docsOasUpf,icon:a.jsx(ge.UPF,{}),label:vt.formatMessage({id:"route.docs.oas.upf"}),external:!0},{value:$.urls.docsOasSwUpdate,icon:a.jsx(ge.Upgrade,{}),label:vt.formatMessage({id:"route.docs.oas.swUpdate"}),external:!0}]}]}const sBe=999;function Iv(t){const e=he.c(7),{badgeContent:r,color:n,children:s,variant:i,max:o,invisible:l}=t,c=n===void 0?"secondary":n,u=o===void 0?sBe:o;let d;return e[0]!==r||e[1]!==s||e[2]!==c||e[3]!==l||e[4]!==u||e[5]!==i?(d=a.jsx(ZNe,{badgeContent:r,color:c,variant:i,max:u,invisible:l,children:s}),e[0]=r,e[1]=s,e[2]=c,e[3]=l,e[4]=u,e[5]=i,e[6]=d):d=e[6],d}const Mae=I.createContext({readOnly:!1}),dn=t=>{const e=he.c(13),{canWrite:r,fullHeight:n,children:s,sx:i}=t,o=!r;let l;e[0]!==o?(l={readOnly:o},e[0]=o,e[1]=l):l=e[1];const[c]=I.useState(l);let u;e[2]!==n?(u=n&&{display:"flex",flexDirection:"column",flexGrow:"1",maxHeight:"100%",overflow:"auto"},e[2]=n,e[3]=u):u=e[3];let d;e[4]!==i||e[5]!==u?(d={...u,...i},e[4]=i,e[5]=u,e[6]=d):d=e[6];let f;e[7]!==s||e[8]!==d?(f=a.jsx(Kd,{style:d,children:s}),e[7]=s,e[8]=d,e[9]=f):f=e[9];let p;return e[10]!==c||e[11]!==f?(p=a.jsx(Mae.Provider,{value:c,children:f}),e[10]=c,e[11]=f,e[12]=p):p=e[12],p},iN=()=>I.useContext(Mae);function Xr(t){const e=he.c(8),{data:r,sx:n}=t;if(!xt(r))return null;let s=r.error.detail,i,o;e[0]!==r.error.errors?(o=r.error.errors??{},e[0]=r.error.errors,e[1]=o):o=e[1];const l=o;if(!Ni.isEmpty(l)&&typeof l=="object"&&"password"in l)s=l.password,i=r.error.detail;else if(!Ni.isEmpty(l)&&typeof l=="object"){let u;e[2]!==l?(u=JSON.stringify(l,null,2),e[2]=l,e[3]=u):u=e[3],s=u,i=r.error.detail}else r.error.title&&(i=r.error.title);let c;return e[4]!==s||e[5]!==n||e[6]!==i?(c=a.jsx(Lr,{severity:"error",title:i,message:s,sx:n,"data-testid":"query-error-alert"}),e[4]=s,e[5]=n,e[6]=i,e[7]=c):c=e[7],c}function Ys(t){const e=he.c(16);let r;e[0]!==t?(r=t===void 0?{}:t,e[0]=t,e[1]=r):r=e[1];const{editLoadTo:n}=r,{dialogClose:s}=Jt(),i=gr(),o=gr(),{load:l,data:c}=i,{data:u,state:d}=o,f=!!n;let p,m;e[2]!==s||e[3]!==u||e[4]!==d?(p=()=>{u&&!xt(u)&&d==="idle"&&s()},m=[s,u,d],e[2]=s,e[3]=u,e[4]=d,e[5]=p,e[6]=m):(p=e[5],m=e[6]),I.useEffect(p,m);let h,_;e[7]!==n||e[8]!==f||e[9]!==l?(h=()=>{f&&l(n)},_=[l,n,f],e[7]=n,e[8]=f,e[9]=l,e[10]=h,e[11]=_):(h=e[10],_=e[11]),I.useEffect(h,_);const g=f&&!c;let y;return e[12]!==i||e[13]!==g||e[14]!==o?(y={dataFetcher:i,upsertFetcher:o,isLoading:g},e[12]=i,e[13]=g,e[14]=o,e[15]=y):y=e[15],y}const iBe=dr().shape({defaultPartition:We().required()});function Dt(t){const e=he.c(6),{animation:r,height:n,width:s,variant:i,sx:o}=t,l=r===void 0?"pulse":r,c=i===void 0?"text":i,u=c==="circular"&&!n?50:n,d=c==="circular"&&!s?50:s;let f;return e[0]!==l||e[1]!==o||e[2]!==u||e[3]!==d||e[4]!==c?(f=a.jsx(mb,{animation:l,height:u,width:d,variant:c,sx:o}),e[0]=l,e[1]=o,e[2]=u,e[3]=d,e[4]=c,e[5]=f):f=e[5],f}function oBe(t){const e=he.c(15),{color:r,disabled:n,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checkedIcon:f,checked:p,label:m}=t;let h;e[0]!==p||e[1]!==f||e[2]!==r||e[3]!==o||e[4]!==c||e[5]!==u||e[6]!==i||e[7]!==l||e[8]!==s||e[9]!==d?(h=a.jsx(fae,{color:r,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checked:p,checkedIcon:f}),e[0]=p,e[1]=f,e[2]=r,e[3]=o,e[4]=c,e[5]=u,e[6]=i,e[7]=l,e[8]=s,e[9]=d,e[10]=h):h=e[10];let _;return e[11]!==n||e[12]!==m||e[13]!==h?(_=a.jsx(Rv,{disabled:n,control:h,label:m}),e[11]=n,e[12]=m,e[13]=h,e[14]=_):_=e[14],_}function aBe(t){const e=he.c(15),{label:r,radioItems:n,row:s,defaultValue:i,value:o,onChange:l}=t;let c;e[0]!==n?(c=n===void 0?[]:n,e[0]=n,e[1]=c):c=e[1];const u=c,d=s===void 0?!0:s;if(!u||!u.length)return null;let f;e[2]!==r?(f=r&&a.jsx(mv,{component:"legend",children:r}),e[2]=r,e[3]=f):f=e[3];let p;e[4]!==u?(p=u.map(lBe),e[4]=u,e[5]=p):p=e[5];let m;e[6]!==i||e[7]!==l||e[8]!==d||e[9]!==p||e[10]!==o?(m=a.jsx(pae,{value:o,defaultValue:i,row:d,onChange:l,children:p}),e[6]=i,e[7]=l,e[8]=d,e[9]=p,e[10]=o,e[11]=m):m=e[11];let h;return e[12]!==f||e[13]!==m?(h=a.jsxs(hv,{component:"fieldset",children:[f,m]}),e[12]=f,e[13]=m,e[14]=h):h=e[14],h}function lBe(t,e){return a.jsx(oBe,{label:t.label,value:t.value,disabled:t.disabled},e)}function Nc(t){const e=he.c(10),{value:r,color:n,type:s,thickness:i,label:o,variant:l,size:c,customColor:u,labelVariant:d}=t,f=s===void 0?"linear":s,p=i===void 0?3.6:i,m=d===void 0?"caption":d;let h;return e[0]!==n||e[1]!==u||e[2]!==o||e[3]!==m||e[4]!==c||e[5]!==p||e[6]!==f||e[7]!==r||e[8]!==l?(h=f==="circular"?a.jsxs(gt,{sx:{position:"relative",display:"inline-flex"},children:[a.jsxs(gt,{sx:{position:"relative",display:"flex"},children:[a.jsx(mC,{sx:{color:cBe},variant:"determinate",thickness:p,value:100,size:c}),a.jsx(mC,{color:n,variant:l,thickness:p,value:r,size:c,sx:{position:"absolute",left:0,top:0,...u&&{color:u}}})]}),a.jsx(gt,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:a.jsx(cn,{variant:m,component:"div",color:"text.secondary",children:o})})]}):a.jsx(R8e,{variant:l,sx:{height:`${p}px`,...u&&{color:u}},color:n,value:r}),e[0]=n,e[1]=u,e[2]=o,e[3]=m,e[4]=c,e[5]=p,e[6]=f,e[7]=r,e[8]=l,e[9]=h):h=e[9],h}function cBe(t){return t.palette.grey[300]}const _s=t=>{const e=he.c(5),{children:r,loading:n}=t;let s;e[0]!==r||e[1]!==n?(s=n?a.jsx(gt,{sx:{display:"flex",justifyContent:"center",p:10},children:a.jsx(Nc,{type:"circular",color:"primary"})}):r,e[0]=r,e[1]=n,e[2]=s):s=e[2];let i;return e[3]!==s?(i=a.jsx(yv,{children:s}),e[3]=s,e[4]=i):i=e[4],i};function uBe(){const t=he.c(30),e=Ye(),{dialogClose:r,confirmationSimpleDialogOpen:n}=Jt();let s;t[0]===Symbol.for("react.memo_cache_sentinel")?(s={editLoadTo:`${$.urls.system}/boot-partitions`},t[0]=s):s=t[0];const{dataFetcher:i,upsertFetcher:o}=Ys(s),{data:l}=i,{data:c,state:u,submit:d}=o,{submit:f}=gr();let p,m;t[1]!==f||t[2]!==c?(p=()=>()=>{c&&!xt(c)&&f(null,{action:$.urls.restart,encType:"application/json",method:"POST"})},m=[f,c],t[1]=f,t[2]=c,t[3]=p,t[4]=m):(p=t[3],m=t[4]),I.useEffect(p,m);let h;t[5]!==n||t[6]!==e||t[7]!==d?(h=C=>{n({title:e.formatMessage({id:"route.system.dialog.confirm_reboot.title"}),description:e.formatMessage({id:"route.system.dialog.confirm_reboot.description"}),onConfirm:()=>{d(C,{action:"/system/boot-partitions-update",method:"PUT",encType:"application/json"})},cancelText:e.formatMessage({id:"confirm_dialog.cancel"}),confirmText:e.formatMessage({id:"confirm_dialog.ok"})})},t[5]=n,t[6]=e,t[7]=d,t[8]=h):h=t[8];const _=h;let g;t[9]!==r?(g=()=>{r()},t[9]=r,t[10]=g):g=t[10];const y=g;if(!l){let C,k;t[11]===Symbol.for("react.memo_cache_sentinel")?(C={mt:1},k=a.jsx(Dt,{variant:"rounded"}),t[11]=C,t[12]=k):(C=t[11],k=t[12]);let A;t[13]===Symbol.for("react.memo_cache_sentinel")?(A=a.jsxs(te,{direction:"row",children:[a.jsx(Dt,{variant:"circular",width:22,height:22}),a.jsx(Dt,{variant:"rounded",width:200})]}),t[13]=A):A=t[13];let P;t[14]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsxs(te,{spacing:3,children:[A,a.jsxs(te,{direction:"row",children:[a.jsx(Dt,{variant:"circular",width:22,height:22}),a.jsx(Dt,{variant:"rounded",width:200})]})]}),t[14]=P):P=t[14];let T;return t[15]===Symbol.for("react.memo_cache_sentinel")?(T=a.jsx(_s,{children:a.jsxs(te,{spacing:4,sx:C,children:[k,P,a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Dt,{variant:"rounded",width:90,height:36}),a.jsx(Dt,{variant:"rounded",width:90,height:36})]})]})}),t[15]=T):T=t[15],T}let b;t[16]!==l.bootPartitions.default?(b={defaultPartition:l.bootPartitions.default},t[16]=l.bootPartitions.default,t[17]=b):b=t[17];let x;t[18]!==y||t[19]!==e||t[20]!==l.bootPartitions.default||t[21]!==l.bootPartitions.primary||t[22]!==l.bootPartitions.secondary||t[23]!==c||t[24]!==u?(x=C=>{const{dirty:k}=C;return a.jsx(dn,{canWrite:Ue(ie.management),children:a.jsxs(te,{spacing:2,children:[a.jsx(_e,{children:e.formatMessage({id:"route.system.dialog.boot_partitions.subtitle"})}),a.jsx(gt,{children:a.jsx(Ke,{name:"defaultPartition",children:A=>{const{field:P,form:T}=A,{setFieldValue:j}=T;return a.jsx(aBe,{row:!1,radioItems:[{value:"primary",label:`${l.bootPartitions.primary} ${l.bootPartitions.default==="primary"?`(${e.formatMessage({id:"common.current"})})`:""}`},{value:"secondary",label:l.bootPartitions.secondary?`${l.bootPartitions.secondary} ${l.bootPartitions.default==="secondary"?`(${e.formatMessage({id:"common.current"})})`:""}`:e.formatMessage({id:"common.empty"}),disabled:!l.bootPartitions.secondary}],value:P.value,onChange:(R,D)=>{j(P.name,D)}})}})}),a.jsx(Xr,{data:c}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{variant:"outlined",text:e.formatMessage({id:"common.form.cancel"}),disabled:u!=="idle",onClick:y}),a.jsx(Ze,{type:"submit",text:e.formatMessage({id:"common.form.submit"}),disabled:!k,loading:u!=="idle"})]})]})})},t[18]=y,t[19]=e,t[20]=l.bootPartitions.default,t[21]=l.bootPartitions.primary,t[22]=l.bootPartitions.secondary,t[23]=c,t[24]=u,t[25]=x):x=t[25];let w;return t[26]!==_||t[27]!==b||t[28]!==x?(w=a.jsx(_s,{children:a.jsx(Wr,{validationSchema:iBe,initialValues:b,onSubmit:_,children:x})}),t[26]=_,t[27]=b,t[28]=x,t[29]=w):w=t[29],w}function dBe(){const t=he.c(35),e=ys(),r=Ye(),{confirmationDialogOpen:n,dialogOpen:s}=Jt(),i=Np(),{submit:o}=gr();i?.services;let l;t[0]!==i?.services?(l=i?.services??[],t[0]=i?.services,t[1]=l):l=t[1];const c=l;let u;t[2]!==i?.alerts?(u=()=>i?.alerts??[],t[2]=i?.alerts,t[3]=u):u=t[3],i?.alerts;let d;t[4]!==u?(d=u(),t[4]=u,t[5]=d):d=t[5];const f=d;let p;t[6]!==c?(p=nBe({services:c}),t[6]=c,t[7]=p):p=t[7];const m=p;let h;t[8]!==m?(h=kae(m),t[8]=m,t[9]=h):h=t[9];const _=h,g=f?.length;let y;t[10]!==e?(y=D=>{D.external?window.open(D.value,D._target||"_blank"):e(D.value)},t[10]=e,t[11]=y):y=t[11];const b=y;let x;t[12]!==n||t[13]!==r||t[14]!==o?(x=()=>{n({title:r.formatMessage({id:"route.system.dialog.restart.title"}),alertMessage:r.formatMessage({id:"route.system.dialog.restart.text"}),onConfirm:()=>{o(null,{action:$.urls.restart,encType:"application/json",method:"POST"})},severity:"warning"})},t[12]=n,t[13]=r,t[14]=o,t[15]=x):x=t[15];const w=x;let C;t[16]!==s||t[17]!==r?(C=()=>{s({title:r.formatMessage({id:"route.system.dialog.boot_partitions.title"}),content:pBe})},t[16]=s,t[17]=r,t[18]=C):C=t[18];const k=C;let A;t[19]!==k||t[20]!==b||t[21]!==w?(A=D=>{e:switch(D.id){case"restart":{w();break e}case"boot-partition":{k();break e}default:b(D)}},t[19]=k,t[20]=b,t[21]=w,t[22]=A):A=t[22];const P=A;let T;if(t[23]!==_||t[24]!==g||t[25]!==P||t[26]!==b){let D;t[28]!==g||t[29]!==P||t[30]!==b?(D=O=>a.jsx(Mn,{opaque:!0,disableFocusListener:!0,enterTouchDelay:0,title:O.subItems?a.jsxs(pv,{children:[a.jsx(_e,{color:"text.secondary",sx:{px:2,pb:1,pt:.5},children:O.label}),a.jsx(gt,{className:"tooltip-items",children:O.subItems.map((N,F)=>{const{label:U,value:z,disabled:H,icon:W}=N;return a.jsx(En,{disabled:H,onClick:()=>P(N),divider:O.subItems&&F===O.subItems.findIndex(fBe)-1,icon:W,children:U},`${z}-${F}`)})})]}):O.label,children:a.jsx(gt,{children:a.jsx(Iv,{badgeContent:O.value===$.urls.monitoringAlerts?g:void 0,color:"error",children:a.jsx(Zr,{size:"small",sx:{fontSize:"20px"},onClick:()=>{O.subItems||b(O)},children:O.icon})})})},O.value),t[28]=g,t[29]=P,t[30]=b,t[31]=D):D=t[31],T=_.map(D),t[23]=_,t[24]=g,t[25]=P,t[26]=b,t[27]=T}else T=t[27];let j;t[32]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(wae,{}),t[32]=j):j=t[32];let R;return t[33]!==T?(R=a.jsxs(te,{direction:"row",spacing:1,nowrap:!0,align:"center",children:[T,j]}),t[33]=T,t[34]=R):R=t[34],R}function fBe(t){return t.id==="restart"}function pBe(){return a.jsx(uBe,{})}function oN(t){const e=Ji.getSiteNode();return!!t.unreachable_peers.find(n=>{if(typeof n=="string"){const s=n.split("@")[1]??n;return e===s}else return e===n.api_address})}function Dv(t){const e=he.c(24),{to:r,initialData:n,search:s}=t,i=gr();let o,l,c;e[0]!==i?({load:l,data:o,...c}=i,e[0]=i,e[1]=o,e[2]=l,e[3]=c):(o=e[1],l=e[2],c=e[3]);const[u,d]=I.useState(n),f=I.useRef(null);let p;e[4]!==l||e[5]!==s||e[6]!==r?(p=()=>{const A=new URLSearchParams(s);A.append("polling","true"),l(`${r}?${A}`)},e[4]=l,e[5]=s,e[6]=r,e[7]=p):p=e[7];const m=p;let h;e[8]!==m?(h=()=>{f.current&&window.clearTimeout(f.current),f.current=window.setTimeout(()=>{m()},$.polling.default)},e[8]=m,e[9]=h):h=e[9];const _=h;let g,y;e[10]===Symbol.for("react.memo_cache_sentinel")?(g=()=>()=>{f.current&&window.clearTimeout(f.current)},y=[],e[10]=g,e[11]=y):(g=e[10],y=e[11]),I.useEffect(g,y);let b,x;e[12]!==o||e[13]!==_?(b=()=>{if(o&&typeof o=="object"&&"__polling_error"in o)return _();o&&d(o),_()},x=[o,_],e[12]=o,e[13]=_,e[14]=b,e[15]=x):(b=e[14],x=e[15]),I.useEffect(b,x);let w,C;e[16]!==m||e[17]!==n?(w=()=>{n||m(),d(n)},C=[m,n],e[16]=m,e[17]=n,e[18]=w,e[19]=C):(w=e[18],C=e[19]),I.useEffect(w,C);let k;return e[20]!==u||e[21]!==l||e[22]!==c?(k={load:l,data:u,...c},e[20]=u,e[21]=l,e[22]=c,e[23]=k):k=e[23],k}function Gr(t){const e=he.c(9);let r;e[0]!==t?(r=t===void 0?{useSearchParams:!0}:t,e[0]=t,e[1]=r):r=e[1];const{useSearchParams:n}=r,s=n===void 0?!0:n,i=zn(),o=Lp("."),{search:l}=to();let c;e[2]!==l||e[3]!==s?(c=s&&{search:l},e[2]=l,e[3]=s,e[4]=c):c=e[4];let u;e[5]!==i||e[6]!==o.pathname||e[7]!==c?(u={to:o.pathname,initialData:i,...c},e[5]=i,e[6]=o.pathname,e[7]=c,e[8]=u):u=e[8];const{data:d}=Dv(u);return d}function ms(t){const e=he.c(13),{id:r,label:n,color:s,variant:i,onDelete:o,size:l,disabled:c,sx:u}=t;let d;e[0]!==u?(d={flexShrink:0,width:"fit-content",...u},e[0]=u,e[1]=d):d=e[1];let f;e[2]!==r||e[3]!==o?(f=o&&r?()=>o(r):void 0,e[2]=r,e[3]=o,e[4]=f):f=e[4];let p;return e[5]!==s||e[6]!==c||e[7]!==n||e[8]!==l||e[9]!==d||e[10]!==f||e[11]!==i?(p=a.jsx(cL,{color:s,sx:d,label:n,variant:i,onDelete:f,size:l,disabled:c}),e[5]=s,e[6]=c,e[7]=n,e[8]=l,e[9]=d,e[10]=f,e[11]=i,e[12]=p):p=e[12],p}function mBe(){const t=he.c(39);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={to:$.urls.siteLoader},t[0]=e):e=t[0];const{data:r}=Dv(e),{popoverOpen:n,popoverClose:s}=Jt(),i=Ye(),{submit:o,state:l}=gr();let c;t[1]===Symbol.for("react.memo_cache_sentinel")?(c=Ji.getSiteNode(),t[1]=c):c=t[1];const[u,d]=I.useState(c);let f;t[2]!==s||t[3]!==o?(f=F=>{if(!F.api_address)return;const{api_address:U}=F;d(U),o({siteNodeAddress:U},{method:"POST",encType:"application/json",action:"/"}),s()},t[2]=s,t[3]=o,t[4]=f):f=t[4];const p=f;let m;e:{if(!r){let U;t[5]===Symbol.for("react.memo_cache_sentinel")?(U=[],t[5]=U):U=t[5],m=U;break e}let F;t[6]!==r.current_node||t[7]!==r.peers||t[8]!==r.unreachable_peers?(F=[...Ni.sortBy([r.current_node,...r.peers],vBe).map(_Be),...r.unreachable_peers.map(gBe)],t[6]=r.current_node,t[7]=r.peers,t[8]=r.unreachable_peers,t[9]=F):F=t[9],m=F}const h=m;let _;t[10]!==u||t[11]!==h?(_=h.find(F=>F.api_address===u),t[10]=u,t[11]=h,t[12]=_):_=t[12];const g=_;let y,b;t[13]!==r?(y=()=>{d(F=>!F&&r?r.current_node.api_address:F)},b=[r],t[13]=r,t[14]=y,t[15]=b):(y=t[14],b=t[15]),I.useEffect(y,b);let x;t[16]!==p||t[17]!==i||t[18]!==n||t[19]!==u||t[20]!==h?(x=F=>{n({anchorEl:F.currentTarget,anchorOrigin:{horizontal:"left",vertical:"bottom"},disableGutters:!0,content:()=>a.jsx(pv,{children:h.map(U=>{const z=u===U.api_address;return a.jsx(En,{onClick:()=>{p(U)},disabled:z||U.unreachable,selected:z,sx:{opacity:U.unreachable?"0.8 !important":"1 !important"},children:a.jsxs(te,{direction:"row",nowrap:!0,align:"center",justify:"space-between",fullWidth:!0,children:[a.jsxs(te,{direction:"row",align:"center",children:[U.unreachable?a.jsx(te,{align:"center",justify:"center",sx:{color:"error.main"},children:a.jsx(ge.StatusErrorSmall,{size:14})}):a.jsx(te,{align:"center",justify:"center",sx:{color:"success.main"},children:a.jsx(ge.StatusSuccessSmall,{size:14})}),a.jsx(te,{align:"center",children:a.jsx(_e,{children:U.name})})]}),a.jsx(te,{direction:"row",align:"center",spacing:.5,sx:{ml:4},children:U.unreachable&&a.jsx(ms,{label:i.formatMessage({id:"cluster.status.unreachable_node"}),size:"small"})})]})},`${U.name}-${U.api_address}`)})})})},t[16]=p,t[17]=i,t[18]=n,t[19]=u,t[20]=h,t[21]=x):x=t[21];const w=x;let C;t[22]!==h?(C=h.filter(hBe),t[22]=h,t[23]=C):C=t[23];const k=C.length;if(h.length<2||!r)return null;const A=g?.name;let P;t[24]===Symbol.for("react.memo_cache_sentinel")?(P={textTransform:"none"},t[24]=P):P=t[24];let T;t[25]===Symbol.for("react.memo_cache_sentinel")?(T=a.jsx(ge.DownArrow,{size:14}),t[25]=T):T=t[25];let j;t[26]!==i||t[27]!==k?(j=k>0&&a.jsx(Mn,{title:i.formatMessage({id:k>1?"cluster.status.unreachable_nodes_count":"cluster.status.unreachable_node_count"},{count:k}),children:a.jsx(gt,{sx:{color:"warning.main",mt:1},children:a.jsx(ge.StatusWarning,{size:"20"})})}),t[26]=i,t[27]=k,t[28]=j):j=t[28];let R;t[29]!==j?(R=a.jsxs(te,{direction:"row",align:"center",spacing:1.5,children:[T,j]}),t[29]=j,t[30]=R):R=t[30];let D;t[31]!==r?(D=a.jsx(a.Fragment,{children:oN(r)?a.jsx(gt,{sx:{color:"error.main"},children:a.jsx(ge.StatusErrorSmall,{size:14})}):a.jsx(gt,{sx:{color:"success.main"},children:a.jsx(ge.StatusSuccessSmall,{size:14})})}),t[31]=r,t[32]=D):D=t[32];const O=l!=="idle";let N;return t[33]!==w||t[34]!==R||t[35]!==D||t[36]!==O||t[37]!==A?(N=a.jsx(Ze,{size:"medium",text:A,variant:"text",sx:P,endIcon:R,startIcon:D,onClick:w,disabled:O}),t[33]=w,t[34]=R,t[35]=D,t[36]=O,t[37]=A,t[38]=N):N=t[38],N}function hBe(t){return t.unreachable}function gBe(t){return typeof t=="string"?{name:"",api_address:t.split("@")[1]??t,unreachable:!0}:{name:t.name,api_address:t.api_address,unreachable:!0}}function _Be(t){return{name:t.name,api_address:t.api_address,unreachable:!1}}function vBe(t){return t.api_address}function Pae(t){const e=he.c(35),{info:r,variant:n,profileCard:s}=t,i=Ye(),o=As(),l=aC(o.breakpoints.down($.appBarMobileBreakpoint))?"5px 0 0 0":"",c=aC(o.breakpoints.down($.appBarMobileBreakpoint))?"100%":"auto",{menuClose:u}=Jt(),d=ys();let f;e[0]===Symbol.for("react.memo_cache_sentinel")?(f=Ih(),e[0]=f):f=e[0];const p=f;let m;e[1]!==i?(m=i.formatMessage({id:"user.menu.profile"}),e[1]=i,e[2]=m):m=e[2];let h;e[3]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(ge.Profile,{}),e[3]=h):h=e[3];let _;e[4]!==u||e[5]!==d?(_=()=>{u(),d($.urls.profile)},e[4]=u,e[5]=d,e[6]=_):_=e[6];let g;e[7]!==m||e[8]!==_?(g={label:m,value:"profile",icon:h,onClick:_},e[7]=m,e[8]=_,e[9]=g):g=e[9];let y;e[10]===Symbol.for("react.memo_cache_sentinel")?(y=a.jsx(ge.Logout,{}),e[10]=y):y=e[10];let b;e[11]!==u||e[12]!==d?(b={label:"Logout",value:"logout",icon:y,onClick:()=>{u(),d($.urls.logout,{replace:!0})}},e[11]=u,e[12]=d,e[13]=b):b=e[13];let x;e[14]!==g||e[15]!==b?(x=[g,b],e[14]=g,e[15]=b,e[16]=x):x=e[16];const w=x;let C;e[17]!==n?(C=n!=="simpleLayout"?a.jsx(mBe,{}):void 0,e[17]=n,e[18]=C):C=e[18];let k;e[19]!==l||e[20]!==c?(k={margin:l,width:c},e[19]=l,e[20]=c,e[21]=k):k=e[21];let A;e[22]!==n?(A=n==="simpleLayout"?a.jsx(wae,{}):a.jsx(dBe,{}),e[22]=n,e[23]=A):A=e[23];let P;e[24]!==s||e[25]!==w?(P=s&&a.jsx(CUe,{fullname:p?.fullname||"",menuItems:w,description:p?.sub?[p?.sub]:[""]}),e[24]=s,e[25]=w,e[26]=P):P=e[26];let T;e[27]!==k||e[28]!==A||e[29]!==P?(T=a.jsxs(te,{direction:"row",align:"center",spacing:1,sx:k,justify:"between",children:[A,P]}),e[27]=k,e[28]=A,e[29]=P,e[30]=T):T=e[30];let j;return e[31]!==r||e[32]!==T||e[33]!==C?(j=a.jsx(PUe,{info:r,siteSelector:C,children:T}),e[31]=r,e[32]=T,e[33]=C,e[34]=j):j=e[34],j}const Ti=t=>{const e=he.c(2),{children:r}=t;let n;return e[0]!==r?(n=a.jsx(vv,{children:r}),e[0]=r,e[1]=n):n=e[1],n};function aN(t){const e=he.c(20),{title:r,children:n,closeOnBackdropClick:s,closeOnEsc:i,onClose:o,fullScreen:l,maxWidth:c,open:u,"data-testid":d,disableAutoFocus:f}=t,p=i===void 0?!0:i;let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m={xs:"250px",sm:"500px"},e[0]=m):m=e[0];let h;e[1]!==l?(h=l&&{height:"calc(100vh - 32px)",width:"calc(100% - 32px)",maxWidth:"1400px"},e[1]=l,e[2]=h):h=e[2];let _;e[3]!==h?(_={".MuiDialog-paper":{m:2,minWidth:m,maxHeight:"calc(100vh - 32px)",boxShadow:"none",...h},my:0},e[3]=h,e[4]=_):_=e[4];const g=_;let y;e[5]!==s||e[6]!==p||e[7]!==o?(y=(C,k)=>{k==="backdropClick"&&!s||k==="escapeKeyDown"&&!p||o&&o(C,k)},e[5]=s,e[6]=p,e[7]=o,e[8]=y):y=e[8];const b=y;let x;e[9]!==r?(x=r&&a.jsx(JL,{children:r}),e[9]=r,e[10]=x):x=e[10];let w;return e[11]!==n||e[12]!==d||e[13]!==f||e[14]!==b||e[15]!==c||e[16]!==u||e[17]!==x||e[18]!==g?(w=a.jsxs(Xne,{open:u,onClose:b,sx:g,maxWidth:c,"data-testid":d,disableAutoFocus:f,children:[x,n]}),e[11]=n,e[12]=d,e[13]=f,e[14]=b,e[15]=c,e[16]=u,e[17]=x,e[18]=g,e[19]=w):w=e[19],w}function yBe(t){const e=he.c(44),{severity:r,onConfirm:n,onCancel:s,title:i,description:o,alertMessage:l,content:c,dataTestid:u,cancelButtonText:d,continueButtonText:f}=t,p=d===void 0?"Cancel":d,m=f===void 0?"Continue":f,{confirmationDialogClose:h}=Jt(),_=Nr(SBe),g=Nr(xBe),y=Nr(bBe),[b,x]=I.useState(!1),w=I.useRef(null);let C,k;e[0]!==_||e[1]!==y||e[2]!==g?(C=()=>{_&&y&&(x(!0),w.current&&(window.clearTimeout(w.current),w.current=null)),_&&!y&&(x(!1),w.current=window.setTimeout(()=>{g(null)},1e3))},k=[_,y,g],e[0]=_,e[1]=y,e[2]=g,e[3]=C,e[4]=k):(C=e[3],k=e[4]),I.useEffect(C,k);let A;e[5]!==h||e[6]!==n?(A=()=>{n(),h()},e[5]=h,e[6]=n,e[7]=A):A=e[7];const P=A;let T;e[8]!==h||e[9]!==s?(T=()=>{s&&s(),h()},e[8]=h,e[9]=s,e[10]=T):T=e[10];const j=T;let R;e[11]!==r?(R=r==="danger"&&{color:"error.main"},e[11]=r,e[12]=R):R=e[12];let D;e[13]!==R?(D={...R,fontWeight:"600"},e[13]=R,e[14]=D):D=e[14];let O;e[15]!==i?(O=i.toLocaleUpperCase(),e[15]=i,e[16]=O):O=e[16];let N;e[17]!==D||e[18]!==O?(N=a.jsx(JL,{sx:D,children:O}),e[17]=D,e[18]=O,e[19]=N):N=e[19];let F;e[20]!==o?(F=a.jsx(_e,{type:"body1",lineHeight:3,children:o}),e[20]=o,e[21]=F):F=e[21];const U=r==="danger"?"error":r||"info";let z;e[22]!==l||e[23]!==U?(z=a.jsx(Lr,{severity:U,message:l}),e[22]=l,e[23]=U,e[24]=z):z=e[24];let H;e[25]!==c||e[26]!==F||e[27]!==z?(H=a.jsxs(_s,{children:[F,z,c]}),e[25]=c,e[26]=F,e[27]=z,e[28]=H):H=e[28];let W;e[29]!==p||e[30]!==j?(W=a.jsx(Ze,{variant:"outlined",text:p,onClick:j}),e[29]=p,e[30]=j,e[31]=W):W=e[31];let K;e[32]!==m||e[33]!==P?(K=a.jsx(Ze,{text:m,onClick:P}),e[32]=m,e[33]=P,e[34]=K):K=e[34];let q;e[35]!==W||e[36]!==K?(q=a.jsxs(Ti,{children:[W,K]}),e[35]=W,e[36]=K,e[37]=q):q=e[37];let X;return e[38]!==u||e[39]!==b||e[40]!==N||e[41]!==H||e[42]!==q?(X=a.jsxs(aN,{open:b,"data-testid":u,children:[N,H,q]}),e[38]=u,e[39]=b,e[40]=N,e[41]=H,e[42]=q,e[43]=X):X=e[43],X}function bBe(t){return t.confirmationDialogOpen}function xBe(t){return t.setConfirmationDialog}function SBe(t){return t.confirmationDialogState}function wBe(t){const e=he.c(29),{title:r,cancelText:n,confirmText:s,description:i,onConfirm:o,onCancel:l}=t,c=r===void 0?"Do you confirm?":r,u=n===void 0?"Cancel":n,d=s===void 0?"Confirm":s,{confirmationSimpleDialogClose:f}=Jt(),p=Nr(kBe),m=Nr(ABe),h=Nr(CBe),[_,g]=I.useState(!1),y=I.useRef(null);let b,x;e[0]!==p||e[1]!==h||e[2]!==m?(b=()=>{p&&h&&(g(!0),y.current&&(window.clearTimeout(y.current),y.current=null)),p&&!h&&(g(!1),y.current=window.setTimeout(()=>{m(null)},1e3))},x=[p,h,m],e[0]=p,e[1]=h,e[2]=m,e[3]=b,e[4]=x):(b=e[3],x=e[4]),I.useEffect(b,x);let w;e[5]!==f||e[6]!==o?(w=()=>{o(),f()},e[5]=f,e[6]=o,e[7]=w):w=e[7];const C=w;let k;e[8]!==f||e[9]!==l?(k=()=>{l&&l(),f()},e[8]=f,e[9]=l,e[10]=k):k=e[10];const A=k;let P;e[11]!==c?(P=a.jsx(JL,{children:c}),e[11]=c,e[12]=P):P=e[12];let T;e[13]!==i?(T=i&&a.jsx(_s,{children:a.jsx(_e,{children:i})}),e[13]=i,e[14]=T):T=e[14];let j;e[15]!==u||e[16]!==A?(j=a.jsx(Ze,{variant:"outlined",text:u,onClick:A}),e[15]=u,e[16]=A,e[17]=j):j=e[17];let R;e[18]!==d||e[19]!==C?(R=a.jsx(Ze,{text:d,onClick:C}),e[18]=d,e[19]=C,e[20]=R):R=e[20];let D;e[21]!==j||e[22]!==R?(D=a.jsxs(Ti,{children:[j,R]}),e[21]=j,e[22]=R,e[23]=D):D=e[23];let O;return e[24]!==_||e[25]!==D||e[26]!==P||e[27]!==T?(O=a.jsxs(aN,{open:_,"data-testid":"confirmation-simple-dialog",children:[P,T,D]}),e[24]=_,e[25]=D,e[26]=P,e[27]=T,e[28]=O):O=e[28],O}function CBe(t){return t.confirmationSimpleDialogOpen}function ABe(t){return t.setConfirmationSimpleDialog}function kBe(t){return t.confirmationSimpleDialogState}function jae(t){const e=he.c(39);let r,n,s,i,o,l;e[0]!==t?({id:l,children:r,open:s,preventClose:i,closeIcon:n,...o}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6]);const c=l===void 0?$6:l,u=Nr(jBe),d=Nr(PBe),f=Nr(MBe),[p,m]=I.useState(!1),h=I.useRef(null),{dialogClose:_}=Jt();let g;e[7]!==u||e[8]!==c?(g=u.includes(c),e[7]=u,e[8]=c,e[9]=g):g=e[9];const y=g;let b;if(e[10]!==d||e[11]!==c){let O;e[13]!==c?(O=N=>N.id===c,e[13]=c,e[14]=O):O=e[14],b=d.find(O),e[10]=d,e[11]=c,e[12]=b}else b=e[12];const x=b;let w,C;e[15]!==x||e[16]!==c||e[17]!==y||e[18]!==s||e[19]!==f?(w=()=>{typeof s<"u"||(x&&y&&(m(!0),h.current&&(window.clearTimeout(h.current),h.current=null)),x&&!y&&(m(!1),h.current=window.setTimeout(()=>{f(c)},1e3)))},C=[x,c,y,s,f],e[15]=x,e[16]=c,e[17]=y,e[18]=s,e[19]=f,e[20]=w,e[21]=C):(w=e[20],C=e[21]),I.useEffect(w,C);let k;e[22]!==_||e[23]!==c||e[24]!==i?(k=(O,N)=>{i&&i(O,N)||_(c)},e[22]=_,e[23]=c,e[24]=i,e[25]=k):k=e[25];const A=k;let P;e[26]!==_||e[27]!==c||e[28]!==i?(P=O=>{i&&i(O)||_(c)},e[26]=_,e[27]=c,e[28]=i,e[29]=P):P=e[29];const T=P,j=!!(p||s);let R;e[30]!==n||e[31]!==T?(R=n&&a.jsx(Zr,{onClick:T,sx:{position:"absolute",right:"16px",top:"8px",zIndex:1e3},children:a.jsx(ge.Close,{})}),e[30]=n,e[31]=T,e[32]=R):R=e[32];let D;return e[33]!==r||e[34]!==A||e[35]!==o||e[36]!==j||e[37]!==R?(D=a.jsxs(aN,{...o,open:j,onClose:A,children:[R,r]}),e[33]=r,e[34]=A,e[35]=o,e[36]=j,e[37]=R,e[38]=D):D=e[38],D}function MBe(t){return t.setDialogsClose}function PBe(t){return t.dialogs}function jBe(t){return t.dialogsOpen}function TBe(t){const e=he.c(21),{onClose:r,children:n,title:s,variant:i,width:o,open:l}=t,c=i===void 0?"temporary":i,u=o===void 0?300:o,d=Nr(IBe),f=Nr(RBe),p=Nr(EBe),[m,h]=I.useState(!1),_=I.useRef(null);let g;e[0]!==r?(g=()=>{r&&r({},"backdropClick")},e[0]=r,e[1]=g):g=e[1];const y=g;let b,x;e[2]!==d||e[3]!==p||e[4]!==f?(b=()=>{d&&p&&(h(!0),_.current&&(window.clearTimeout(_.current),_.current=null)),d&&!p&&(h(!1),_.current=window.setTimeout(()=>{f(null)},1e3))},x=[d,p,f],e[2]=d,e[3]=p,e[4]=f,e[5]=b,e[6]=x):(b=e[5],x=e[6]),I.useEffect(b,x);const w=!!(m||l);let C;e[7]!==u?(C={height:"100vh",position:"relative",width:u},e[7]=u,e[8]=C):C=e[8];let k;e[9]!==y||e[10]!==s?(k=s&&a.jsxs(te,{sx:{mb:2,py:2,px:2,pb:0},spacing:2,children:[a.jsxs(te,{direction:"row",align:"center",spacing:2,nowrap:!0,children:[a.jsx(_e,{type:"h6",sx:{flex:1},children:s}),a.jsx(Zr,{size:"small",onClick:y,children:a.jsx(ge.Close,{})})]}),a.jsx(Oc,{})]}),e[9]=y,e[10]=s,e[11]=k):k=e[11];let A;e[12]!==n||e[13]!==C||e[14]!==k?(A=a.jsxs(te,{sx:C,nowrap:!0,children:[k,n]}),e[12]=n,e[13]=C,e[14]=k,e[15]=A):A=e[15];let P;return e[16]!==r||e[17]!==w||e[18]!==A||e[19]!==c?(P=a.jsx(aae,{variant:c,anchor:"right",onClose:r,open:w,children:A}),e[16]=r,e[17]=w,e[18]=A,e[19]=c,e[20]=P):P=e[20],P}function EBe(t){return t.drawerOpen}function RBe(t){return t.setDrawerState}function IBe(t){return t.drawerState}function DBe(t){const e=he.c(26);let r,n,s,i,o,l;e[0]!==t?({anchorEl:r,onClose:s,children:n,anchorOrigin:l,open:i,...o}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6]);let c;e[7]!==l?(c=l===void 0?{vertical:"bottom",horizontal:"left"}:l,e[7]=l,e[8]=c):c=e[8];const u=c,d=Nr(LBe),f=Nr(OBe),p=Nr($Be),[m,h]=I.useState(!1),_=I.useRef(null);let g,y;e[9]!==p||e[10]!==d||e[11]!==i||e[12]!==f?(g=()=>{typeof i<"u"||(d&&p&&(h(!0),_.current&&(window.clearTimeout(_.current),_.current=null)),d&&!p&&(h(!1),_.current=window.setTimeout(()=>{f(null)},1e3)))},y=[p,d,i,f],e[9]=p,e[10]=d,e[11]=i,e[12]=f,e[13]=g,e[14]=y):(g=e[13],y=e[14]),I.useEffect(g,y);const b=!!(m||i);let x;e[15]!==u.horizontal||e[16]!==o.transformOrigin?(x={vertical:"top",horizontal:u.horizontal,...o.transformOrigin},e[15]=u.horizontal,e[16]=o.transformOrigin,e[17]=x):x=e[17];let w;return e[18]!==r||e[19]!==u||e[20]!==n||e[21]!==s||e[22]!==o||e[23]!==b||e[24]!==x?(w=a.jsx(one,{anchorEl:r,open:b,onClose:s,anchorOrigin:u,transformOrigin:x,...o,children:n}),e[18]=r,e[19]=u,e[20]=n,e[21]=s,e[22]=o,e[23]=b,e[24]=x,e[25]=w):w=e[25],w}function $Be(t){return t.menuOpen}function OBe(t){return t.setMenuState}function LBe(t){return t.menuState}function NBe(t){const e=he.c(23),{anchorOrigin:r,transformOrigin:n,children:s,onClose:i,anchorEl:o,disableGutters:l,overflowVisible:c,open:u}=t;let d;e[0]!==r?(d=r===void 0?{vertical:"bottom",horizontal:"left"}:r,e[0]=r,e[1]=d):d=e[1];const f=d;let p;e[2]!==n?(p=n===void 0?{vertical:"top",horizontal:"left"}:n,e[2]=n,e[3]=p):p=e[3];const m=p,h=Nr(BBe),_=Nr(UBe),g=Nr(FBe),[y,b]=I.useState(!1),x=I.useRef(null);let w,C;e[4]!==g||e[5]!==u||e[6]!==h||e[7]!==_?(w=()=>{typeof u<"u"||(h&&g&&(b(!0),x.current&&(window.clearTimeout(x.current),x.current=null)),h&&!g&&(b(!1),x.current=window.setTimeout(()=>{_(null)},1e3)))},C=[g,u,h,_],e[4]=g,e[5]=u,e[6]=h,e[7]=_,e[8]=w,e[9]=C):(w=e[8],C=e[9]),I.useEffect(w,C);const k=!!(y||u),A=l?0:2,P=c?"visible":"auto";let T;e[10]!==A||e[11]!==P?(T={p:A,overflow:P},e[10]=A,e[11]=P,e[12]=T):T=e[12];let j;e[13]!==s||e[14]!==T?(j=a.jsx(gt,{sx:T,children:s}),e[13]=s,e[14]=T,e[15]=j):j=e[15];let R;return e[16]!==o||e[17]!==f||e[18]!==i||e[19]!==j||e[20]!==k||e[21]!==m?(R=a.jsx(ine,{open:k,anchorEl:o,anchorOrigin:f,transformOrigin:m,onClose:i,children:j}),e[16]=o,e[17]=f,e[18]=i,e[19]=j,e[20]=k,e[21]=m,e[22]=R):R=e[22],R}function FBe(t){return t.popoverOpen}function UBe(t){return t.setPopoverState}function BBe(t){return t.popoverState}function zBe(t){const e=he.c(22),{onClick:r,message:n,severity:s,title:i,onClose:o,noIcon:l,action:c,anchorOrigin:u}=t;let d;e[0]!==u?(d=u===void 0?{vertical:"top",horizontal:"right"}:u,e[0]=u,e[1]=d):d=e[1];const f=d,p=Nr(HBe),m=Nr(VBe),h=Nr(qBe),[_,g]=I.useState(!1),y=I.useRef(null);let b,x;e[2]!==h||e[3]!==m||e[4]!==p?(b=()=>{p&&h&&(g(!0),y.current&&(window.clearTimeout(y.current),y.current=null)),p&&!h&&(g(!1),y.current=window.setTimeout(()=>{m(null)},1e3))},x=[h,p,m],e[2]=h,e[3]=m,e[4]=p,e[5]=b,e[6]=x):(b=e[5],x=e[6]),I.useEffect(b,x);let w;e[7]!==o?(w=A=>{o&&o(A,"clickaway")},e[7]=o,e[8]=w):w=e[8];let C;e[9]!==c||e[10]!==n||e[11]!==l||e[12]!==s||e[13]!==w||e[14]!==i?(C=a.jsx(Vte,{children:a.jsx(Lr,{message:n,onClose:w,severity:s,title:i,action:c,noIcon:l})}),e[9]=c,e[10]=n,e[11]=l,e[12]=s,e[13]=w,e[14]=i,e[15]=C):C=e[15];let k;return e[16]!==f||e[17]!==_||e[18]!==r||e[19]!==o||e[20]!==C?(k=a.jsx(D9e,{autoHideDuration:5e3,open:_,onClick:r,anchorOrigin:f,onClose:o,children:C}),e[16]=f,e[17]=_,e[18]=r,e[19]=o,e[20]=C,e[21]=k):k=e[21],k}function qBe(t){return t.snackbarOpen}function VBe(t){return t.setSnackbarState}function HBe(t){return t.snackbarState}function Tae(){const t=he.c(31),e=Nr(sze),r=Nr(nze),n=Nr(rze),s=Nr(tze),i=Nr(eze),o=Nr(JBe),l=Nr(XBe),c=Nr(ZBe),u=Nr(QBe),d=Nr(KBe),f=Nr(YBe),p=Nr(WBe),m=r?.content,h=i?.content;let _;if(t[0]!==e||t[1]!==p){let A;t[3]!==p?(A=(P,T)=>{if(!P)return null;const j=P.content,R=P.id||"";return a.jsx(jae,{id:R,...P,children:j&&a.jsx(j,{dialogClose:()=>{p(R)}})},`${R}-${T}`)},t[3]=p,t[4]=A):A=t[4],_=e.map(A),t[0]=e,t[1]=p,t[2]=_}else _=t[2];let g;t[5]!==d||t[6]!==s?(g=s&&a.jsx(zBe,{...s,onClose:(A,P)=>{s.onClose&&s.onClose(A,P),d()}}),t[5]=d,t[6]=s,t[7]=g):g=t[7];let y;t[8]!==m||t[9]!==r||t[10]!==c?(y=r&&a.jsx(TBe,{onClose:()=>{c(),r.onClose&&r.onClose()},title:r?.title,width:r?.width,variant:r?.variant,children:r?.content&&a.jsx(m,{})}),t[8]=m,t[9]=r,t[10]=c,t[11]=y):y=t[11];let b;t[12]!==n||t[13]!==u?(b=n&&a.jsx(DBe,{anchorEl:n?.anchorEl,anchorOrigin:n?.anchorOrigin,onClose:u,children:n?.items.map(GBe)}),t[12]=n,t[13]=u,t[14]=b):b=t[14];let x;t[15]!==h||t[16]!==i||t[17]!==f?(x=i&&a.jsx(NBe,{anchorEl:i?.anchorEl,onClose:f,anchorOrigin:i?.anchorOrigin,disableGutters:i?.disableGutters,children:i?.content&&a.jsx(h,{})}),t[15]=h,t[16]=i,t[17]=f,t[18]=x):x=t[18];let w;t[19]!==o?(w=o&&a.jsx(yBe,{...o}),t[19]=o,t[20]=w):w=t[20];let C;t[21]!==l?(C=l&&a.jsx(wBe,{title:l.title,description:l.description,confirmText:l.confirmText,cancelText:l.cancelText,onCancel:l.onCancel,onConfirm:l.onConfirm}),t[21]=l,t[22]=C):C=t[22];let k;return t[23]!==_||t[24]!==g||t[25]!==y||t[26]!==b||t[27]!==x||t[28]!==w||t[29]!==C?(k=a.jsxs(a.Fragment,{children:[_,g,y,b,x,w,C]}),t[23]=_,t[24]=g,t[25]=y,t[26]=b,t[27]=x,t[28]=w,t[29]=C,t[30]=k):k=t[30],k}function GBe(t,e){return a.jsx(En,{...t,children:t.label},`${t.value}-${e}`)}function WBe(t){return t.setDialogsClose}function YBe(t){return t.setPopoverClose}function KBe(t){return t.setSnackbarClose}function QBe(t){return t.setMenuClose}function ZBe(t){return t.setDrawerClose}function XBe(t){return t.confirmationSimpleDialogState}function JBe(t){return t.confirmationDialogState}function eze(t){return t.popoverState}function tze(t){return t.snackbarState}function rze(t){return t.menuState}function nze(t){return t.drawerState}function sze(t){return t.dialogs}const ize=()=>{const t=he.c(30),e=Ye(),r=to(),n=Np();n?.services;let s;t[0]!==n?.services?(s=n?.services??[],t[0]=n?.services,t[1]=s):s=t[1];const i=s;let o;t[2]!==n?.info?.version?(o=()=>n?.info?.version??"-",t[2]=n?.info?.version,t[3]=o):o=t[3],n?.info?.version;let l;t[4]!==o?(l=o(),t[4]=o,t[5]=l):l=t[5];const c=l;n?.info?.hostname;const u=n?.info?.hostname??"-";let d;t[6]!==i?(d=rBe({services:i}),t[6]=i,t[7]=d):d=t[7];const f=d;let p;t[8]!==f?(p=kae(f),t[8]=f,t[9]=p):p=t[9];const m=p;let h;if(t[10]!==r.pathname){e:{const A=r.pathname.split("/");if(A.length>2){h=A.slice(0,3).join("/");break e}h=r.pathname}t[10]=r.pathname,t[11]=h}else h=t[11];const _=h;let g;t[12]===Symbol.for("react.memo_cache_sentinel")?(g={pb:1},t[12]=g):g=t[12];let y;t[13]!==e?(y=e.formatMessage({id:"menu.info.version"}),t[13]=e,t[14]=y):y=t[14];let b;t[15]!==c?(b=a.jsx("strong",{children:c}),t[15]=c,t[16]=b):b=t[16];let x;t[17]!==y||t[18]!==b?(x=a.jsxs(_e,{type:"caption",children:[y,": ",b]}),t[17]=y,t[18]=b,t[19]=x):x=t[19];let w;t[20]!==u||t[21]!==e?(w=u&&a.jsxs(_e,{type:"caption",children:[e.formatMessage({id:"menu.info.hostname"}),": ",a.jsx("strong",{children:u})]}),t[20]=u,t[21]=e,t[22]=w):w=t[22];let C;t[23]!==w||t[24]!==x?(C=a.jsx(te,{sx:g,direction:"row",justify:"space-between",align:"center",children:a.jsxs(te,{direction:"column",spacing:0,children:[x,w]})}),t[23]=w,t[24]=x,t[25]=C):C=t[25];let k;return t[26]!==m||t[27]!==_||t[28]!==C?(k=a.jsx(XFe,{items:m,activeValue:_,footerComponent:C}),t[26]=m,t[27]=_,t[28]=C,t[29]=k):k=t[29],k};var oze=Object.create,Eae=Object.defineProperty,aze=Object.getOwnPropertyDescriptor,lze=Object.getOwnPropertyNames,cze=Object.getPrototypeOf,uze=Object.prototype.hasOwnProperty,dze=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),fze=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of lze(e))!uze.call(t,s)&&s!==r&&Eae(t,s,{get:()=>e[s],enumerable:!(n=aze(e,s))||n.enumerable});return t},pze=(t,e,r)=>(r=t!=null?oze(cze(t)):{},fze(!t||!t.__esModule?Eae(r,"default",{value:t,enumerable:!0}):r,t)),mze=dze((t,e)=>{(function(r,n){typeof t=="object"&&typeof e<"u"?n(t):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.fastUniqueNumbers={}))})(t,function(r){var n=function(m){return function(h){var _=m(h);return h.add(_),_}},s=function(m){return function(h,_){return m.set(h,_),_}},i=Number.MAX_SAFE_INTEGER===void 0?9007199254740991:Number.MAX_SAFE_INTEGER,o=536870912,l=o*2,c=function(m,h){return function(_){var g=h.get(_),y=g===void 0?_.size:g<l?g+1:0;if(!_.has(y))return m(_,y);if(_.size<o){for(;_.has(y);)y=Math.floor(Math.random()*l);return m(_,y)}if(_.size>i)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;_.has(y);)y=Math.floor(Math.random()*i);return m(_,y)}},u=new WeakMap,d=s(u),f=c(d,u),p=n(f);r.addUniqueNumber=p,r.generateUniqueNumber=f})});pze(mze());var Ed=(typeof window>"u"?"undefined":typeof window)=="object",jc={setTimeout:Ed?setTimeout.bind(window):setTimeout,clearTimeout:Ed?clearTimeout.bind(window):clearTimeout,setInterval:Ed?setInterval.bind(window):setInterval,clearInterval:Ed?clearInterval.bind(window):clearInterval};function hze(t){jc.setTimeout=t.setTimeout,jc.clearTimeout=t.clearTimeout,jc.setInterval=t.setInterval,jc.clearInterval=t.clearInterval}var zg={},gze=class{name;closed=!1;mc=new MessageChannel;constructor(e){this.name=e,zg[e]=zg[e]||[],zg[e].push(this),this.mc.port1.start(),this.mc.port2.start(),this.onStorage=this.onStorage.bind(this),window.addEventListener("storage",this.onStorage)}onStorage(e){if(e.storageArea!==window.localStorage||e.key.substring(0,this.name.length)!==this.name||e.newValue===null)return;let r=JSON.parse(e.newValue);this.mc.port2.postMessage(r)}postMessage(e){if(this.closed)throw new Error("InvalidStateError");let r=JSON.stringify(e),n=`${this.name}:${String(Date.now())}${String(Math.random())}`;window.localStorage.setItem(n,r),jc.setTimeout(()=>{window.localStorage.removeItem(n)},500),zg[this.name].forEach(s=>{s!==this&&s.mc.port2.postMessage(JSON.parse(r))})}close(){if(this.closed)return;this.closed=!0,this.mc.port1.close(),this.mc.port2.close(),window.removeEventListener("storage",this.onStorage);let e=zg[this.name].indexOf(this);zg[this.name].splice(e,1)}get onmessage(){return this.mc.port1.onmessage}set onmessage(e){this.mc.port1.onmessage=e}get onmessageerror(){return this.mc.port1.onmessageerror}set onmessageerror(e){this.mc.port1.onmessageerror=e}addEventListener(e,r){return this.mc.port1.addEventListener(e,r)}removeEventListener(e,r){return this.mc.port1.removeEventListener(e,r)}dispatchEvent(e){return this.mc.port1.dispatchEvent(e)}},_ze=typeof window>"u"?void 0:typeof window.BroadcastChannel=="function"?window.BroadcastChannel:gze;function vze(t=0){return new Promise(e=>jc.setTimeout(e,t))}function Rae(){return Math.random().toString(36).substring(2)}var yze=class{options;channel;token=Rae();isLeader=!1;isDead=!1;isApplying=!1;reApply=!1;intervals=[];listeners=[];deferred;constructor(e,r){this.channel=e,this.options=r,this.apply=this.apply.bind(this),this.awaitLeadership=this.awaitLeadership.bind(this),this.sendAction=this.sendAction.bind(this)}async apply(){if(this.isLeader||this.isDead)return!1;if(this.isApplying)return this.reApply=!0,!1;this.isApplying=!0;let e=!1,r=n=>{let{token:s,action:i}=n.data;s!==this.token&&(i===0&&s>this.token&&(e=!0),i===1&&(e=!0))};this.channel.addEventListener("message",r);try{return this.sendAction(0),await vze(this.options.responseTime),this.channel.removeEventListener("message",r),this.isApplying=!1,e?this.reApply?this.apply():!1:(this.assumeLead(),!0)}catch{return!1}}awaitLeadership(){if(this.isLeader)return Promise.resolve();let e=!1,r=null;return new Promise(n=>{let s=()=>{if(e)return;e=!0;try{jc.clearInterval(r)}catch{}let o=this.intervals.indexOf(r);o>=0&&this.intervals.splice(o,1),this.channel.removeEventListener("message",i),n()};r=jc.setInterval(()=>{this.apply().then(()=>{this.isLeader&&s()})},this.options.fallbackInterval),this.intervals.push(r);let i=o=>{let{action:l}=o.data;l===2&&this.apply().then(()=>{this.isLeader&&s()})};this.channel.addEventListener("message",i)})}sendAction(e){this.channel.postMessage({action:e,token:this.token})}assumeLead(){this.isLeader=!0;let e=r=>{let{action:n}=r.data;n===0&&this.sendAction(1)};return this.channel.addEventListener("message",e),this.listeners.push(e),this.sendAction(1)}waitForLeadership(){return this.deferred?this.deferred:(this.deferred=this.awaitLeadership(),this.deferred)}close(){if(!this.isDead){this.isDead=!0,this.isLeader=!1,this.sendAction(2);try{this.listeners.forEach(e=>this.channel.removeEventListener("message",e)),this.intervals.forEach(e=>jc.clearInterval(e))}catch{}}}},bze=class{channel;options;elector;token=Rae();registry=new Map;allIdle=!1;isLastActive=!1;constructor(e){let{channelName:r}=e;if(this.options=e,this.channel=new _ze(r),this.registry.set(this.token,1),e.leaderElection){let n={fallbackInterval:2e3,responseTime:100};this.elector=new yze(this.channel,n),this.elector.waitForLeadership()}this.channel.addEventListener("message",n=>{let{action:s,token:i,data:o}=n.data;switch(s){case 3:this.registry.set(i,2);break;case 4:this.registry.delete(i);break;case 5:this.idle(i);break;case 6:this.active(i);break;case 7:this.prompt(i);break;case 8:this.start(i);break;case 9:this.reset(i);break;case 10:this.activate(i);break;case 11:this.pause(i);break;case 12:this.resume(i);break;case 13:this.options.onMessage(o);break}}),this.send(3)}get isLeader(){if(!this.elector)throw new Error('❌ Leader election is not enabled. To Enable it set the "leaderElection" property to true.');return this.elector.isLeader}prompt(e=this.token){this.registry.set(e,0);let r=[...this.registry.values()].every(n=>n===0);e===this.token&&this.send(7),r&&this.options.onPrompt()}idle(e=this.token){this.registry.set(e,2);let r=[...this.registry.values()].every(n=>n===2);e===this.token&&this.send(5),!this.allIdle&&r&&(this.allIdle=!0,this.options.onIdle())}active(e=this.token){this.allIdle=!1,this.registry.set(e,1);let r=[...this.registry.values()].some(n=>n===1);e===this.token&&this.send(6),r&&this.options.onActive(),this.isLastActive=e===this.token}start(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(8):this.options.start(!0),this.isLastActive=e===this.token}reset(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(9):this.options.reset(!0),this.isLastActive=e===this.token}activate(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(10):this.options.activate(!0),this.isLastActive=e===this.token}pause(e=this.token){e===this.token?this.send(11):this.options.pause(!0)}resume(e=this.token){e===this.token?this.send(12):this.options.resume(!0)}message(e){try{this.channel.postMessage({action:13,token:this.token,data:e})}catch{}}send(e){try{this.channel.postMessage({action:e,token:this.token})}catch{}}close(){this.options.leaderElection&&this.elector.close(),this.send(4),this.channel.close()}},xze=Ed?document:null,Sze=["mousemove","keydown","wheel","DOMMouseScroll","mousewheel","mousedown","touchstart","touchmove","MSPointerDown","MSPointerMove","visibilitychange","focus"];function wze(t,e){let r;function n(...s){r&&clearTimeout(r),r=setTimeout(()=>{t(...s),r=null},e)}return n.cancel=function(){clearTimeout(r)},n}function JE(t,e){let r=0;return function(...n){let s=new Date().getTime();if(!(s-r<e))return r=s,t(...n)}}var Di=()=>Date.now(),qg=2147483647;function Cze({timeout:t=1e3*60*20,promptTimeout:e=0,promptBeforeIdle:r=0,element:n=xze,events:s=Sze,timers:i=void 0,immediateEvents:o=[],onPresenceChange:l=()=>{},onPrompt:c=()=>{},onIdle:u=()=>{},onActive:d=()=>{},onAction:f=()=>{},onMessage:p=()=>{},debounce:m=0,throttle:h=0,eventsThrottle:_=200,startOnMount:g=!0,startManually:y=!1,stopOnIdle:b=!1,crossTab:x=!1,name:w="idle-timer",syncTimers:C=0,leaderElection:k=!1,disabled:A=!1}={}){let P=I.useRef(Di()),T=I.useRef(Di()),j=I.useRef(null),R=I.useRef(null),D=I.useRef(0),O=I.useRef(0),N=I.useRef(0),F=I.useRef(0),U=I.useRef(!1),z=I.useRef(!1),H=I.useRef(!1),W=I.useRef(!0),K=I.useRef(!1),q=I.useRef(null),X=I.useRef(null),Q=I.useRef(t),Y=I.useRef(0);I.useEffect(()=>{if(e&&console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."),r&&e)throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");if(t>=qg)throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${qg}.`);if(e>=qg)throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${qg}.`);if(r>=qg)throw new Error(`❌ The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${qg}.`);if(r>=t)throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${t}.`);if(r?(Q.current=t-r,Y.current=r):(Q.current=t,Y.current=e),!W.current){if(y||A)return;U.current&&(me.current(null,_r),X.current&&X.current.active()),Ve()}},[t,e,r,y,A]);let Z=I.useRef(b);I.useEffect(()=>{Z.current=b},[b]);let re=I.useRef(o),fe=I.useRef(n),de=I.useRef([...new Set([...s,...o]).values()]),se=I.useRef(A);I.useEffect(()=>{se.current=A,!W.current&&(A?ft():y||Ve())},[A]);let le=I.useRef(l);I.useEffect(()=>{le.current=l},[l]);let ee=I.useRef(c);I.useEffect(()=>{ee.current=c},[c]);let J=I.useRef(u);I.useEffect(()=>{J.current=u},[u]);let me=I.useRef(d);I.useEffect(()=>{me.current=d},[d]);let pe=I.useRef(f);I.useEffect(()=>{pe.current=f},[f]);let Se=I.useRef(p);I.useEffect(()=>{Se.current=p},[p]);let ve=I.useMemo(()=>{let st=(wt,Pe)=>pe.current(wt,Pe);return m>0?wze(st,m):h>0?JE(st,h):st},[h,m]),xe=I.useRef();I.useEffect(()=>{x&&C&&(xe.current=JE(()=>{X.current.active()},C))},[x,C]);let qe=()=>{q.current!==null&&(jc.clearTimeout(q.current),q.current=null)},Le=(st,wt=!0)=>{qe(),q.current=jc.setTimeout(nt,st||Q.current),wt&&(R.current=Di())},Te=st=>{!z.current&&!U.current&&(ee.current(st,_r),le.current({type:"active",prompted:!0},_r)),F.current=0,N.current=Di(),z.current=!0,Le(Y.current,!1)},je=()=>{qe(),U.current||(J.current(null,_r),le.current({type:"idle"},_r)),U.current=!0,j.current=Di(),Z.current?$e():z.current&&(N.current=0,z.current=!1)},Ge=st=>{qe(),(U.current||z.current)&&(me.current(st,_r),le.current({type:"active",prompted:!1},_r)),z.current=!1,N.current=0,U.current=!1,D.current+=Di()-j.current,O.current+=Di()-j.current,Me(),Le()},nt=st=>{if(!U.current){ve.cancel&&ve.cancel();let wt=Di()-R.current;if(!(Q.current+Y.current<wt)&&Y.current>0&&!z.current){X.current?X.current.prompt():Te(st);return}X.current?X.current.idle():je();return}X.current?X.current.active():Ge(st)},Re=st=>{if(!g&&!R.current&&(R.current=Di(),me.current(null,_r)),ve(st,_r),z.current)return;if(qe(),!U.current&&re.current.includes(st.type)){nt(st);return}let wt=Di()-R.current;if(U.current&&!b||!U.current&&wt>=Q.current){nt(st);return}H.current=!1,F.current=0,N.current=0,Le(),x&&C&&xe.current()},we=I.useRef(Re);I.useEffect(()=>{let st=K.current;st&&$e(),_>0?we.current=JE(Re,_):we.current=Re,st&&Me()},[_,h,m,pe,x,C]);let Me=()=>{Ed&&fe.current&&(K.current||(de.current.forEach(st=>{fe.current.addEventListener(st,we.current,{capture:!0,passive:!0})}),K.current=!0))},$e=(st=!1)=>{Ed&&fe.current&&(K.current||st)&&(de.current.forEach(wt=>{fe.current.removeEventListener(wt,we.current,{capture:!0})}),K.current=!1)},Ve=I.useCallback(st=>se.current?!1:(qe(),Me(),U.current=!1,z.current=!1,H.current=!1,F.current=0,N.current=0,X.current&&!st&&X.current.start(),Le(),!0),[q,U,se,Q,X]),Ne=I.useCallback(st=>se.current?!1:(qe(),Me(),T.current=Di(),D.current+=Di()-j.current,O.current+=Di()-j.current,D.current=0,U.current=!1,z.current=!1,H.current=!1,F.current=0,N.current=0,X.current&&!st&&X.current.reset(),y||Le(),!0),[q,U,Q,y,se,X]),Oe=I.useCallback(st=>se.current?!1:(qe(),Me(),(U.current||z.current)&&Ge(),U.current=!1,z.current=!1,H.current=!1,F.current=0,N.current=0,T.current=Di(),X.current&&!st&&X.current.activate(),Le(),!0),[q,U,z,se,Q,X]),ft=I.useCallback((st=!1)=>se.current||H.current?!1:(F.current=ar(),H.current=!0,$e(),qe(),X.current&&!st&&X.current.pause(),!0),[q,se,X]),Ct=I.useCallback((st=!1)=>se.current||!H.current?!1:(H.current=!1,z.current||Me(),U.current||Le(F.current),N.current&&(N.current=Di()),X.current&&!st&&X.current.resume(),!0),[q,Q,se,F,X]),Et=I.useCallback((st,wt)=>(X.current?(wt&&Se.current(st,_r),X.current.message(st)):wt&&Se.current(st,_r),!0),[p]),at=I.useCallback(()=>U.current,[U]),$t=I.useCallback(()=>z.current,[z]),Ee=I.useCallback(()=>X.current?X.current.isLeader:null,[X]),Be=I.useCallback(()=>X.current?X.current.isLastActive:null,[X]),qt=I.useCallback(()=>X.current?X.current.token:null,[X]),ar=I.useCallback(()=>{if(H.current)return F.current;let st=F.current?F.current:Y.current+Q.current,wt=R.current?Di()-R.current:0,Pe=Math.floor(st-wt);return Pe<0?0:Math.abs(Pe)},[Q,Y,z,F,R]),hr=I.useCallback(()=>Math.round(Di()-T.current),[T]),ir=I.useCallback(()=>Math.round(Di()-P.current),[P]),cr=I.useCallback(()=>j.current?new Date(j.current):null,[j]),kr=I.useCallback(()=>R.current?new Date(R.current):null,[R]),Rr=I.useCallback(()=>U.current?Math.round(Di()-j.current+D.current):Math.round(D.current),[j,D]),Ut=I.useCallback(()=>U.current?Math.round(Di()-j.current+O.current):Math.round(O.current),[j,O]),fn=I.useCallback(()=>{let st=Math.round(hr()-Rr());return st>=0?st:0},[j,D]),Zt=I.useCallback(()=>{let st=Math.round(ir()-Ut());return st>=0?st:0},[j,D]);I.useEffect(()=>{if(m>0&&h>0)throw new Error("❌ onAction can either be throttled or debounced, not both.");i&&hze(i);let st=()=>{X.current&&X.current.close(),ve.cancel&&ve.cancel(),qe(),$e(!0)};return Ed&&window.addEventListener("beforeunload",st),()=>{Ed&&window.removeEventListener("beforeunload",st),X.current&&X.current.close(),ve.cancel&&ve.cancel(),qe(),$e(!0)}},[]),I.useEffect(()=>{X.current&&X.current.close(),x?X.current=new bze({channelName:w,leaderElection:k,onPrompt:()=>{Te()},onIdle:()=>{je()},onActive:()=>{Ge()},onMessage:st=>{Se.current(st,_r)},start:Ve,reset:Ne,activate:Oe,pause:ft,resume:Ct}):X.current=null},[x,w,k,ee,J,me,Se,Ve,Ne,ft,Ct]),I.useEffect(()=>{W.current||(qe(),$e(!0)),!(y||A)&&(g?Ve():Me())},[y,g,A,W]),I.useEffect(()=>{if(!W.current){let st=[...new Set([...s,...o]).values()];if($e(),de.current=st,fe.current=n,re.current=o,y||A)return;g?Ve():Me()}},[n,JSON.stringify(s),JSON.stringify(o),W,A,y,g]),I.useEffect(()=>{W.current&&(W.current=!1)},[W]);let _r={message:Et,start:Ve,reset:Ne,activate:Oe,pause:ft,resume:Ct,isIdle:at,isPrompted:$t,isLeader:Ee,isLastActiveTab:Be,getTabId:qt,getRemainingTime:ar,getElapsedTime:hr,getTotalElapsedTime:ir,getLastIdleTime:cr,getLastActiveTime:kr,getIdleTime:Rr,getTotalIdleTime:Ut,getActiveTime:fn,getTotalActiveTime:Zt,setOnPresenceChange:st=>{l=st,le.current=st},setOnPrompt:st=>{c=st,ee.current=st},setOnIdle:st=>{u=st,J.current=st},setOnActive:st=>{d=st,me.current=st},setOnAction:st=>{f=st,pe.current=st},setOnMessage:st=>{p=st,Se.current=st}};return _r}var Aze=I.createContext(null);Aze.Consumer;const kze=()=>{const t=window.location.pathname;let e=$.urls.logout;return[$.urls.logout,$.urls.login].includes(t)||(e=`${e}?returnUrl=${t}`),e};function Mze(t){const e=he.c(29),{timeout:r}=t,n=Ye(),s=r*1e3;let i;e:{if(s&&s<$.idleTime.promptTimeout_s){i=s-3e4;break e}i=$.idleTime.promptTimeout_s*1e3}const o=i,[l,c]=I.useState(s),[u,d]=I.useState(!1),f=ys(),{submit:p}=gr();let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=(N,F)=>{F&&c(F.getRemainingTime()),d(!0)},e[0]=m):m=e[0];const h=m;let _;e[1]===Symbol.for("react.memo_cache_sentinel")?(_=()=>{d(!1)},e[1]=_):_=e[1];const g=_;let y;e[2]!==f?(y=()=>{const N=kze();f(N,{replace:!0})},e[2]=f,e[3]=y):y=e[3];const b=y;let x;e[4]!==b||e[5]!==o||e[6]!==s?(x={timeout:s,crossTab:!0,leaderElection:!0,syncTimers:200,promptBeforeIdle:o,onPrompt:h,onActive:g,onIdle:b},e[4]=b,e[5]=o,e[6]=s,e[7]=x):x=e[7];const w=Cze(x);let C;e[8]!==w?(C=()=>{w.activate()},e[8]=w,e[9]=C):C=e[9];const k=C;let A;e[10]!==p?(A=()=>{p(null,{method:"POST",encType:"multipart/form-data",action:"refresh-token"})},e[10]=p,e[11]=A):A=e[11];const P=A;let T,j;e[12]!==o||e[13]!==w?(T=()=>{const N=setInterval(()=>{const F=w.getRemainingTime();c(F),d(U=>U&&F>o?!1:U)},300);return()=>{clearInterval(N)}},j=[o,w],e[12]=o,e[13]=w,e[14]=T,e[15]=j):(T=e[14],j=e[15]),I.useEffect(T,j);let R;e[16]!==n?(R=n.formatMessage({id:"idle-state.modal.title"}),e[16]=n,e[17]=R):R=e[17];let D;e[18]!==k||e[19]!==P||e[20]!==o||e[21]!==n||e[22]!==u||e[23]!==l?(D=u&&a.jsx(_s,{children:a.jsxs(te,{align:"center",spacing:2,children:[a.jsx(_e,{fontWeight:"600",fontSize:"medium",sx:{alignSelf:"flex-start"},children:n.formatMessage({id:"idle-state.modal.message"})}),a.jsx(Nc,{type:"circular",variant:"determinate",value:Math.ceil(l/o*100),label:`${Math.ceil(l/1e3)}s`,labelVariant:"h5",thickness:4,size:140}),a.jsx(Ze,{text:n.formatMessage({id:"idle-state.modal.continue"}),onClick:()=>{k(),P()}})]})}),e[18]=k,e[19]=P,e[20]=o,e[21]=n,e[22]=u,e[23]=l,e[24]=D):D=e[24];let O;return e[25]!==u||e[26]!==R||e[27]!==D?(O=a.jsx(jae,{id:"idleTimerDialog",open:u,disableAutoFocus:!0,title:R,children:D}),e[25]=u,e[26]=R,e[27]=D,e[28]=O):O=e[28],O}const Pze=()=>{const t=he.c(7);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={useSearchParams:!1},t[0]=e):e=t[0];const r=Gr(e),n=As(),s=Nd(n.breakpoints.down($.appBarMobileBreakpoint))?65:0;let i;t[1]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx(rN,{}),t[1]=i):i=t[1];let o;t[2]!==s?(o=c=>a.jsxs("div",{style:{minWidth:"345px",marginTop:s},children:[a.jsx(Pae,{info:c?.info||{hostname:"-",product_name:"-",version:"-"},variant:"appShellLayout",profileCard:!0}),a.jsx(ize,{}),a.jsx(Tae,{}),a.jsx(Bd,{}),!!c?.frontendConfig.ui_inactivity_s&&a.jsx(Mze,{timeout:c.frontendConfig.ui_inactivity_s})]}),t[2]=s,t[3]=o):o=t[3];let l;return t[4]!==r.bootstrap||t[5]!==o?(l=a.jsx(I.Suspense,{children:a.jsx(Qt,{resolve:r.bootstrap,errorElement:i,children:o})}),t[4]=r.bootstrap,t[5]=o,t[6]=l):l=t[6],l},zW=t=>{const e=he.c(6),{profileCard:r}=t,n=zn();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(rN,{}),e[0]=s):s=e[0];let i;e[1]!==r?(i=l=>a.jsxs(a.Fragment,{children:[a.jsx(Tae,{}),a.jsx(Pae,{info:l,variant:"simpleLayout",profileCard:r}),a.jsx(G0,{appBar:!0,fullWidth:!0,fullHeight:!0,children:a.jsx(zA,{transparent:!0,fullHeight:!0,children:a.jsx(Bd,{})})})]}),e[1]=r,e[2]=i):i=e[2];let o;return e[3]!==n.info||e[4]!==i?(o=a.jsx(I.Suspense,{children:a.jsx(Qt,{resolve:n.info,errorElement:s,children:i})}),e[3]=n.info,e[4]=i,e[5]=o):o=e[5],o};async function lN(){return De({options:{url:"/frontend/config",method:"GET"}})}async function ma(){const{services:t}=await lN();return t}async function Iae({nf:t}){const e=`${$.apis.cluster.status(t)}`;return De({options:{url:e,method:"GET"}})}async function jze({node:t,nf:e}){const r=`${$.apis.cluster.join(e)}`;return De({options:{url:r,method:"POST",data:JSON.stringify({node:t})}})}async function Tze({nf:t,force:e}){const r=`${$.apis.cluster.leave(t)}?force=${e}`;return De({options:{url:r,method:"POST"}})}async function Eze({nf:t}){const e=await ma();return Ds({services:e,name:t})?Iae({nf:t}):null}async function Rze(){const t=await ma(),e=yie(t).map(r=>r.name);return $.monitoring.clusters.filter(r=>e.includes(r))}const Q6=Pr();function Ize(){return window.location.pathname.endsWith("/configuration")?rt(window.location.pathname):rt(`${window.location.pathname}${window.location.search}`)}async function Dze({request:t}){const{siteNodeAddress:e}=await t.json();return Ji.setSiteNode(e),Ize()}function $ze(t){return async({request:e})=>{const r=await e.json(),n=await jze({nf:t,node:r.node});if(xt(n))Ar(n.error?.detail||Q6.formatMessage({id:"cluster.dialog.join_ko"}));else{if(t===ue.PLS)throw Ji.deleteSiteNode(),Gb();Nt(Q6.formatMessage({id:"cluster.dialog.join_ok"}))}return Ft(n)}}function Oze(t){return async({request:e})=>{const r=await e.json(),n=await Tze({nf:t,force:r.force});return xt(n)||(t===ue.PLS&&Ji.deleteSiteNode(),Nt(Q6.formatMessage({id:"cluster.dialog.leave_ok"}))),Ft(n)}}const Lze=[{source:ue.LICENSED,group:"platform",sub_group:"licenses",field_name:"licenses_total_count",query:"count(license_status) or vector(0)"},{source:ue.LICENSED,group:"platform",sub_group:"licenses",field_name:"licenses_valid_count",query:"count_values('license_status', license_status==1) or vector(0)"},{source:ue.LICENSED,group:"platform",sub_group:"licenses",field_name:"licenses_expiring_count",query:"count(rr:licensed_license_remaining_days>0 and rr:licensed_license_remaining_days<7) or vector(0)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"total_transmit_bytes",query:"sum(node_network_transmit_bytes_total{device=~'eth[0-9]+'})"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"total_receive_bytes",query:"sum(node_network_receive_bytes_total{device=~'eth[0-9]+'})"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"transmit_rate_bps",query:"sum(irate(node_network_transmit_bytes_total{device=~'eth[0-9]+'}[5m])*8)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"receive_rate_bps",query:"sum(irate(node_network_receive_bytes_total{device=~'eth[0-9]+'}[5m])*8)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"ts_transmit_rate_bps",query_range:"sum(irate(node_network_transmit_bytes_total{device=~'eth[0-9]+'}[5m])*8)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"ts_receive_rate_bps",query_range:"sum(irate(node_network_receive_bytes_total{device=~'eth[0-9]+'}[5m])*8)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network_interfaces",field_name:"interfaces_active_count",query:"count(node_network_up{device=~'eth[0-9]+'} == 1) or vector(0)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network_interfaces",field_name:"interfaces_total_count",query:"count(node_network_up{device=~'eth[0-9]+'}) or vector(0)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"cpu",field_name:"cpu_count",query:"count(count(node_cpu_seconds_total) by (cpu))"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"cpu",field_name:"cpu_busy_perc",query:"(((count(count(node_cpu_seconds_total) by (cpu))) - avg(sum by (mode)(irate(node_cpu_seconds_total{mode='idle'}[5m])))) * 100) / count(count(node_cpu_seconds_total) by (cpu)) > 0"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"cpu",field_name:"ts_cpu_busy_perc",query_range:"(((count(count(node_cpu_seconds_total) by (cpu))) - avg(sum by (mode)(irate(node_cpu_seconds_total{mode='idle'}[5m])))) * 100) / count(count(node_cpu_seconds_total) by (cpu)) > 0"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"memory",field_name:"memory_total_bytes",query:"node_memory_MemTotal_bytes"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"memory",field_name:"memory_available_bytes",query:"node_memory_MemAvailable_bytes"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"memory",field_name:"memory_used_perc",query:"100 - ((node_memory_MemAvailable_bytes * 100) / node_memory_MemTotal_bytes)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"memory",field_name:"ts_memory_used_perc",query_range:"100 - ((node_memory_MemAvailable_bytes * 100) / node_memory_MemTotal_bytes)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"disk",field_name:"disk_total_bytes",query:"node_filesystem_size_bytes{mountpoint='/',fstype!='rootfs'}"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"disk",field_name:"disk_available_bytes",query:"node_filesystem_avail_bytes{mountpoint='/',fstype!='rootfs'}"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"disk",field_name:"disk_used_perc",query:"100 - ((node_filesystem_avail_bytes{mountpoint='/',fstype!='rootfs'} * 100) / node_filesystem_size_bytes{mountpoint='/',fstype!='rootfs'})"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"disk",field_name:"ts_disk_used_perc",query_range:"100 - ((node_filesystem_avail_bytes{mountpoint='/',fstype!='rootfs'} * 100) / node_filesystem_size_bytes{mountpoint='/',fstype!='rootfs'})"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"uptime",field_name:"uptime_seconds",query:"node_time_seconds - node_boot_time_seconds"},{source:ue.PROMETHEUS,group:"platform",sub_group:"alerts",field_name:"alerts_count",query:"sum(ALERTS)"},{source:ue.EIR,group:"control_plane",sub_group:"eir_rules",field_name:"eir_rules_count",query:"sum(eir_rules_status) or vector(0)"},{source:ue.EIR,group:"control_plane",sub_group:"eir_cluster_nodes",field_name:"active_nodes_count",query:"sum(nf_data_layer_cluster_nodes_status{target_type='eir'}) or vector(0)"},{source:ue.EIR,group:"control_plane",sub_group:"eir_cluster_nodes",field_name:"total_nodes_count",query:"count(nf_data_layer_cluster_nodes_status{target_type='eir'}) or vector(0)"},{source:ue.UDR,group:"control_plane",sub_group:"udr_sims",field_name:"provisioned_sims_count",query:"nf_data_layer_table_row_count{table='supi'} or vector(0)"},{source:ue.UDR,group:"control_plane",sub_group:"udr_cluster_nodes",field_name:"active_nodes_count",query:"sum(nf_data_layer_cluster_nodes_status{target_type='udr'}) or vector(0)"},{source:ue.UDR,group:"control_plane",sub_group:"udr_cluster_nodes",field_name:"total_nodes_count",query:"count(nf_data_layer_cluster_nodes_status{target_type='udr'}) or vector(0)"},{source:ue.AMF,group:"control_plane",sub_group:"amf_ue",field_name:"active_ue_count",query:"sum(amf_ran_node_ue) or vector(0)"},{source:ue.AMF,group:"control_plane",sub_group:"amf_ue",field_name:"registered_ue_count",query:"amf_ue_registered or vector(0)"},{source:ue.AMF,group:"control_plane",sub_group:"amf_active_radios",field_name:"active_radios_count",query:"sum(amf_ran_node_status) or vector(0)"},{source:ue.MME,group:"control_plane",sub_group:"mme_ue",field_name:"active_ue_count",query:"mme_s1_enb_active_ue or vector(0)"},{source:ue.MME,group:"control_plane",sub_group:"mme_ue",field_name:"registered_ue_count",query:"mme_ue_registered or vector(0)"},{source:ue.MME,group:"control_plane",sub_group:"mme_active_radios",field_name:"active_radios_count",query:"mme_s1_enb or vector(0)"},{source:ue.SMF,group:"control_plane",sub_group:"smf_users",field_name:"users_count",query:"smf_supi or vector(0)"},{source:ue.SMF,group:"control_plane",sub_group:"smf_users",field_name:"sessions_count",query:"sum(smf_sessions) or vector(0)"},{source:ue.SMF,group:"control_plane",sub_group:"smf_connected_peers",field_name:"connected_peers_count",query:"sum(pfcp_node_status{target_type='smf'}) or vector(0)"},{source:ue.PCF,group:"control_plane",sub_group:"pcf_sessions",field_name:"n7_sessions_count",query:"pcf_n7_sessions or vector(0)"},{source:ue.PCF,group:"control_plane",sub_group:"pcf_sessions",field_name:"n5_sessions_count",query:"pcf_n5_sessions or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"total_load_uplink_bytes",query:"upf_forw_bytes{out_tag='core',in_tag='access'} or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"total_load_downlink_bytes",query:"upf_forw_bytes{out_tag='access',in_tag='core'} or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"throughput_uplink_bps",query:"sum by (out_tag)(rate(upf_forw_bytes{out_tag='core',in_tag='access'}[1m]))*8 or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"throughput_downlink_bps",query:"sum by (out_tag)(rate(upf_forw_bytes{out_tag='access',in_tag='core'}[1m]))*8 or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"ts_throughput_uplink_bps",query_range:"sum by (out_tag)(rate(upf_forw_bytes{out_tag='core',in_tag='access',apn_dnn=~'.+'}[1m]))*8"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"ts_throughput_downlink_bps",query_range:"sum by (out_tag)(rate(upf_forw_bytes{out_tag='access',in_tag='core',apn_dnn=~'.+'}[1m]))*8"},{source:ue.UPF,group:"user_plane",sub_group:"upf_sessions",field_name:"active_sessions",query:"upf_sessions or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_ip",field_name:"ip_total_count",query:"upf_pool_address_total_count or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_ip",field_name:"ip_allocated_count",query:"upf_pool_address_total_allocated or vector(0)"}];var eR,qW;function Dae(){if(qW)return eR;qW=1;var t=Z$(),e=z3();function r(n,s,i){(i!==void 0&&!e(n[s],i)||i===void 0&&!(s in n))&&t(n,s,i)}return eR=r,eR}var eb={exports:{}};eb.exports;var VW;function $ae(){return VW||(VW=1,(function(t,e){var r=Ghe(),n=e&&!e.nodeType&&e,s=n&&!0&&t&&!t.nodeType&&t,i=s&&s.exports===n,o=i?r.Buffer:void 0,l=o?o.allocUnsafe:void 0;function c(u,d){if(d)return u.slice();var f=u.length,p=l?l(f):new u.constructor(f);return u.copy(p),p}t.exports=c})(eb,eb.exports)),eb.exports}var tR,HW;function cN(){if(HW)return tR;HW=1;var t=Whe();function e(r){var n=new r.constructor(r.byteLength);return new t(n).set(new t(r)),n}return tR=e,tR}var rR,GW;function Oae(){if(GW)return rR;GW=1;var t=cN();function e(r,n){var s=n?t(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.length)}return rR=e,rR}var nR,WW;function uN(){if(WW)return nR;WW=1;function t(e,r){var n=-1,s=e.length;for(r||(r=Array(s));++n<s;)r[n]=e[n];return r}return nR=t,nR}var sR,YW;function Nze(){if(YW)return sR;YW=1;var t=Qd(),e=Object.create,r=(function(){function n(){}return function(s){if(!t(s))return{};if(e)return e(s);n.prototype=s;var i=new n;return n.prototype=void 0,i}})();return sR=r,sR}var iR,KW;function dN(){if(KW)return iR;KW=1;var t=Yhe(),e=t(Object.getPrototypeOf,Object);return iR=e,iR}var oR,QW;function Lae(){if(QW)return oR;QW=1;var t=Nze(),e=dN(),r=X$();function n(s){return typeof s.constructor=="function"&&!r(s)?t(e(s)):{}}return oR=n,oR}var aR,ZW;function fN(){if(ZW)return aR;ZW=1;var t=av(),e=lv();function r(n){return e(n)&&t(n)}return aR=r,aR}var lR,XW;function W0(){if(XW)return lR;XW=1;var t=J$(),e=dN(),r=lv(),n="[object Object]",s=Function.prototype,i=Object.prototype,o=s.toString,l=i.hasOwnProperty,c=o.call(Object);function u(d){if(!r(d)||t(d)!=n)return!1;var f=e(d);if(f===null)return!0;var p=l.call(f,"constructor")&&f.constructor;return typeof p=="function"&&p instanceof p&&o.call(p)==c}return lR=u,lR}var cR,JW;function Nae(){if(JW)return cR;JW=1;function t(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}return cR=t,cR}var uR,eY;function Fae(){if(eY)return uR;eY=1;var t=Z$(),e=z3(),r=Object.prototype,n=r.hasOwnProperty;function s(i,o,l){var c=i[o];(!(n.call(i,o)&&e(c,l))||l===void 0&&!(o in i))&&t(i,o,l)}return uR=s,uR}var dR,tY;function $v(){if(tY)return dR;tY=1;var t=Fae(),e=Z$();function r(n,s,i,o){var l=!i;i||(i={});for(var c=-1,u=s.length;++c<u;){var d=s[c],f=o?o(i[d],n[d],d,i,n):void 0;f===void 0&&(f=n[d]),l?e(i,d,f):t(i,d,f)}return i}return dR=r,dR}var fR,rY;function Fze(){if(rY)return fR;rY=1;function t(e){var r=[];if(e!=null)for(var n in Object(e))r.push(n);return r}return fR=t,fR}var pR,nY;function Uze(){if(nY)return pR;nY=1;var t=Qd(),e=X$(),r=Fze(),n=Object.prototype,s=n.hasOwnProperty;function i(o){if(!t(o))return r(o);var l=e(o),c=[];for(var u in o)u=="constructor"&&(l||!s.call(o,u))||c.push(u);return c}return pR=i,pR}var mR,sY;function Ov(){if(sY)return mR;sY=1;var t=Khe(),e=Uze(),r=av();function n(s){return r(s)?t(s,!0):e(s)}return mR=n,mR}var hR,iY;function Bze(){if(iY)return hR;iY=1;var t=$v(),e=Ov();function r(n){return t(n,e(n))}return hR=r,hR}var gR,oY;function zze(){if(oY)return gR;oY=1;var t=Dae(),e=$ae(),r=Oae(),n=uN(),s=Lae(),i=eO(),o=cv(),l=fN(),c=tO(),u=Qhe(),d=Qd(),f=W0(),p=cte(),m=Nae(),h=Bze();function _(g,y,b,x,w,C,k){var A=m(g,b),P=m(y,b),T=k.get(P);if(T){t(g,b,T);return}var j=C?C(A,P,b+"",g,y,k):void 0,R=j===void 0;if(R){var D=o(P),O=!D&&c(P),N=!D&&!O&&p(P);j=P,D||O||N?o(A)?j=A:l(A)?j=n(A):O?(R=!1,j=e(P,!0)):N?(R=!1,j=r(P,!0)):j=[]:f(P)||i(P)?(j=A,i(A)?j=h(A):(!d(A)||u(A))&&(j=s(P))):R=!1}R&&(k.set(P,j),w(j,P,x,C,k),k.delete(P)),t(g,b,j)}return gR=_,gR}var _R,aY;function pN(){if(aY)return _R;aY=1;var t=ute(),e=Dae(),r=Zhe(),n=zze(),s=Qd(),i=Ov(),o=Nae();function l(c,u,d,f,p){c!==u&&r(u,function(m,h){if(p||(p=new t),s(m))n(c,u,h,d,l,f,p);else{var _=f?f(o(c,h),m,h+"",c,u,p):void 0;_===void 0&&(_=m),e(c,h,_)}},i)}return _R=l,_R}var vR,lY;function Uae(){if(lY)return vR;lY=1;function t(e,r,n){switch(n.length){case 0:return e.call(r);case 1:return e.call(r,n[0]);case 2:return e.call(r,n[0],n[1]);case 3:return e.call(r,n[0],n[1],n[2])}return e.apply(r,n)}return vR=t,vR}var yR,cY;function Bae(){if(cY)return yR;cY=1;var t=Uae(),e=Math.max;function r(n,s,i){return s=e(s===void 0?n.length-1:s,0),function(){for(var o=arguments,l=-1,c=e(o.length-s,0),u=Array(c);++l<c;)u[l]=o[s+l];l=-1;for(var d=Array(s+1);++l<s;)d[l]=o[l];return d[s]=i(u),t(n,this,d)}}return yR=r,yR}var bR,uY;function qze(){if(uY)return bR;uY=1;function t(e){return function(){return e}}return bR=t,bR}var xR,dY;function Vze(){if(dY)return xR;dY=1;var t=qze(),e=Xhe(),r=q3(),n=e?function(s,i){return e(s,"toString",{configurable:!0,enumerable:!1,value:t(i),writable:!0})}:r;return xR=n,xR}var SR,fY;function Hze(){if(fY)return SR;fY=1;var t=800,e=16,r=Date.now;function n(s){var i=0,o=0;return function(){var l=r(),c=e-(l-o);if(o=l,c>0){if(++i>=t)return arguments[0]}else i=0;return s.apply(void 0,arguments)}}return SR=n,SR}var wR,pY;function zae(){if(pY)return wR;pY=1;var t=Vze(),e=Hze(),r=e(t);return wR=r,wR}var CR,mY;function Fh(){if(mY)return CR;mY=1;var t=q3(),e=Bae(),r=zae();function n(s,i){return r(e(s,i,t),s+"")}return CR=n,CR}var AR,hY;function mN(){if(hY)return AR;hY=1;var t=z3(),e=av(),r=Jhe(),n=Qd();function s(i,o,l){if(!n(l))return!1;var c=typeof o;return(c=="number"?e(l)&&r(o,l.length):c=="string"&&o in l)?t(l[o],i):!1}return AR=s,AR}var kR,gY;function qae(){if(gY)return kR;gY=1;var t=Fh(),e=mN();function r(n){return t(function(s,i){var o=-1,l=i.length,c=l>1?i[l-1]:void 0,u=l>2?i[2]:void 0;for(c=n.length>3&&typeof c=="function"?(l--,c):void 0,u&&e(i[0],i[1],u)&&(c=l<3?void 0:c,l=1),s=Object(s);++o<l;){var d=i[o];d&&n(s,d,o,c)}return s})}return kR=r,kR}var MR,_Y;function Gze(){if(_Y)return MR;_Y=1;var t=pN(),e=qae(),r=e(function(n,s,i){t(n,s,i)});return MR=r,MR}var Wze=Gze();const Yze=Pi(Wze),Z6={emergency:0,alert:1,critical:2,error:3,warning:4,notice:5,info:6,informational:6,debug:7};function Kze(t){return t.reduce((e,r)=>({...e,[r.labels.alertname]:e[r.labels.alertname]?{...e[r.labels.alertname],items:[...e[r.labels.alertname].items,r],counts:{...e[r.labels.alertname].counts,total:e[r.labels.alertname].counts.total+1,[r.labels.severity]:e[r.labels.alertname].counts[r.labels.severity]+1}}:{items:[r],counts:{total:1,emergency:0,alert:0,critical:0,error:0,warning:0,notice:0,informational:0,info:0,debug:0,[r.labels.severity]:1}}}),{})}var b_=(t=>(t.REGISTERED="REGISTERED",t.SUSPENDED="SUSPENDED",t.UNDISCOVERABLE="UNDISCOVERABLE",t))(b_||{});function Qze(t,e=0){try{switch(t.resultType){case"vector":return t.result[e]?.value[1];case"scalar":return t.result[e];case"string":return t.result[e];case"matrix":return t.result[e]?.values.map(([r,n])=>({timestamp:r,value:n}))}}catch(r){console.error("Cannot extract data from prometheus data",r,t.result);return}}async function Vae(){const t=$.apis.nrf.profiles.status;return De({options:{url:t,method:"GET"}})}async function Hae(){const t=$.apis.nrf.staticProfiles;return De({options:{url:t,method:"GET"}})}async function Zze(t){const e=$.apis.nrf.staticProfiles;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function Xze(t){const e=`${$.apis.nrf.staticProfiles}/${t.nfInstanceId}`;return De({options:{url:e,method:"PUT",data:JSON.stringify(t)}})}async function Jze(t){const e=`${$.apis.nrf.staticProfiles}/${t}`;return De({options:{url:e,method:"DELETE"}})}function X6({group:t,sub_group:e,field_name:r,data:n}){return!t||!e||!n?null:r?{[t]:{[e]:{[r]:n}}}:{[t]:{[e]:n}}}function eqe(t){return Lze.filter(e=>t.includes(e.source)).map(e=>{const r="query_range"in e?`${$.apis.prometheus.query_range({query:e.query_range})}`:`${$.apis.prometheus.query(e.query)}`;return{...e,url:r}})}async function tqe(t){const e=await De({options:{url:t.url,method:"GET"}}),r=Qze(e.data);return X6({...t,data:r})}async function rqe(t){if(!t.includes(ue.NRF))return null;try{const e=await Vae();let r=0,n=0,s=0;return e.forEach(i=>{switch(i.nf_profile.nfStatus){case b_.REGISTERED:r++;break;case b_.SUSPENDED:n++;break;case b_.UNDISCOVERABLE:s++;break}}),X6({group:"control_plane",sub_group:"nrf_profiles",data:{registered_count:r,suspended_count:n,undiscoverable_count:s}})}catch(e){if(e.message!=="canceled")return X6({group:"control_plane",sub_group:"nrf_profiles",data:{registered_count:$.errorKey,suspended_count:$.errorKey,undiscoverable_count:$.errorKey}});throw e}}async function nqe(){const t=await ma(),e=yie(t).map(n=>n.name);return(await Promise.all([...eqe(e).map(async n=>tqe(n)),rqe(e)])).filter(n=>!!n).reduce((n,s)=>Yze(n,s),{})}async function Gae(){const t=$.apis.prometheusAlerts;return(await De({options:{url:t,method:"GET"}})).sort((r,n)=>Z6[r.labels.severity]<Z6[n.labels.severity]?-1:0)}async function Wae(){const[t,e]=await Promise.all([jie(),lN()]),{services:r}=e,n=Ds({services:r,name:ue.ALERTMANAGER});let s=null;if(n&&as(ie.monitoring))try{s=await Gae()}catch(i){console.error(i)}return{info:t,services:r,alerts:s,frontendConfig:e}}const Yae=t=>Object.entries(t).filter(([,e])=>e!=null).reduce((e,[r,n])=>(e[r]=n,e),{}),Kae=t=>!t||t&&Object.keys(t).length===0;async function sqe(t){const e=Object.entries(t);return Promise.all(e.map(([,r])=>r)).then(r=>e.reduce((n,[s],i)=>({...n,[s]:r[i]}),{}))}function hN(t){return!!new URL(t.url).searchParams.has("polling")}async function Wt({loaderArgs:t,deferred:e,data:r}){const{request:n}=t;if(hN(n)||!e)try{const i=await sqe(r);return i===null?{__polling_error:!1}:i}catch{return{__polling_error:!0}}if(e)return Foe(r)}function Na(){const t=he.c(13),[e,r]=hl();let n;e:{let h;t[0]!==e?(h=e.get($.searchParams.pageSize),t[0]=e,t[1]=h):h=t[1];const _=h;if(_&&parseInt(_)){n=parseInt(_);break e}n=$.pageSize}const s=n,i=$.pageSizeOptions,o=iqe;let l;t[2]!==s?(l=h=>{switch(o(h)){case 0:return h.next_token?s*2:s;case 1:return h.next_token?s*3:s*2;case 2:return s*3}},t[2]=s,t[3]=l):l=t[3];const c=l;let u;t[4]!==r?(u=h=>{r(_=>(_.delete($.searchParams.paginationToken),$.pageSizeOptions.includes(h)?_.set($.searchParams.pageSize,h.toString()):_.set($.searchParams.pageSize,$.pageSize.toString()),_),{replace:!0})},t[4]=r,t[5]=u):u=t[5];const d=u;let f;t[6]!==r?(f=h=>_=>{const g=o(h);e:switch(_){case 0:{r(y=>(h.prev_token&&y.set($.searchParams.paginationToken,h.prev_token),y),{replace:!0});break e}case 1:{g===0?r(y=>(h.next_token&&y.set($.searchParams.paginationToken,h.next_token),y),{replace:!0}):r(y=>(h.prev_token&&y.set($.searchParams.paginationToken,h.prev_token),y),{replace:!0});break e}case 2:r(y=>(h.next_token&&y.set($.searchParams.paginationToken,h.next_token),y),{replace:!0})}},t[6]=r,t[7]=f):f=t[7];const p=f;let m;return t[8]!==p||t[9]!==d||t[10]!==c||t[11]!==s?(m={pageSize:s,pageSizeOptions:i,changePageSize:d,changePage:p,getRowsCount:c,getPage:o},t[8]=p,t[9]=d,t[10]=c,t[11]=s,t[12]=m):m=t[12],m}function iqe(t){return t.next_token&&t.prev_token?1:t.next_token?0:t.prev_token?2:0}function Fa(t){const e=new URL(t.request.url),r=e.searchParams.get($.searchParams.pageSize),n=e.searchParams.get($.searchParams.paginationToken);if(!r||r&&!$.pageSizeOptions.includes(+r))throw e.searchParams.set($.searchParams.pageSize,$.pageSize.toString()),rt(e.toString());return{pageSize:r,paginationToken:n}}function Qae(){if(!!Ih())throw rt("/");return!0}function oqe(){if(!!!Ih())throw Gb();return!0}async function aqe({request:t}){const r=new URL(t.url).searchParams.get("returnUrl");await ZTe();let n=$.urls.login;return r&&![$.urls.logout,"/",$.urls.login].includes(r)&&(n=`${n}?returnUrl=${r}`),window.location.href=n,null}function lqe(t){return Qae(),Wt({loaderArgs:t,deferred:!0,data:{frontendConfig:lN(),openIdAuthorization:JTe()}})}async function cqe({request:t}){Qae();const e=new URL(t.url),r=e.searchParams.get("code"),n=e.searchParams.get("iss"),s=e.searchParams.get("session_state")||e.searchParams.get("state");if(!r)throw rt($.urls.login);const i=await e4e({code:r,...n&&{iss:n},...s&&{state:s}});return xt(i)?(Ar(i.error?.detail),rt($.urls.login)):(fie(i),rt($.urls.home))}async function uqe(t){const{pageSize:e,paginationToken:r}=Fa(t),{username:n}=t.params;if(!n)throw Li({type:mn.NOT_FOUND});return Wt({loaderArgs:t,deferred:!0,data:{audits:r4e(n,r||void 0,+e)}})}async function dqe(t){if(Ji.getRestartStatus())throw rt($.urls.restart);oqe();const{request:e}=t;if(!hN(e)){const n=await die();if(oN(n))return Ji.deleteSiteNode(),window.location.href=window.location.pathname,null}return Wt({loaderArgs:t,deferred:!0,data:{bootstrap:Wae()}})}function vY(t){return Wt({loaderArgs:t,deferred:!0,data:{info:jie()}})}const fqe=Pr();async function pqe(t){const{request:e}=t,r=hN(e);try{const n=await die();if(oN(n)&&r){const s=Ji.getSiteNode();Ar(fqe.formatMessage({id:"cluster.site_picker.node_down"},{ip_address:s}))}return n}catch(n){if(r)return{__polling_error:!0};throw n}}const mqe={path:"logout",loader:aqe},Zae=(t,e="")=>{const r=t.path==="/"?t.path:`${e!=="/"?e:""}${t.path&&t.path!=="/"?"/"+t.path:""}`;try{K6(r,[])}catch(n){console.error("FIX ME! ${fullPath}",n)}return{fullPath:r,...t,loader:async n=>{if(Ih()&&!n.request.url.includes($.urls.profile)&&!Aae())throw rt($.urls.unauthorized);if(!Cae(r))return t.loader&&t.loader!==!0?t.loader(n):null;const s=await ma();return K6(r,s),t.loader&&t.loader!==!0?t.loader(n):null},...t.children&&{children:t.children.map(n=>Zae(n,r))}}},en=()=>{const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(gt,{sx:{p:2},children:a.jsx(Tr,{})}),t[0]=e):e=t[0],e};function Or(t){const e=he.c(4),{center:r,fullHeight:n,transparent:s}=t;let i;return e[0]!==r||e[1]!==n||e[2]!==s?(i=a.jsx(lUe,{appBar:!0,navigation:!0,center:r,fullHeight:n,transparent:s}),e[0]=r,e[1]=n,e[2]=s,e[3]=i):i=e[3],i}const Xae=I.createContext(null);function hqe(){const[t,e]=I.useState(null);return I.useEffect(()=>{e(`mui-p-${Math.round(Math.random()*1e5)}`)},[]),t}function gqe(t){const{children:e,value:r}=t,n=hqe(),s=I.useMemo(()=>({idPrefix:n,value:r}),[n,r]);return a.jsx(Xae.Provider,{value:s,children:e})}function Jae(){return I.useContext(Xae)}function ele(t,e){const{idPrefix:r}=t;return r===null?null:`${t.idPrefix}-P-${e}`}function tle(t,e){const{idPrefix:r}=t;return r===null?null:`${t.idPrefix}-T-${e}`}const _qe=I.forwardRef(function(e,r){const{children:n,...s}=e,i=Jae();if(i===null)throw new TypeError("No TabContext provided");const o=I.Children.map(n,l=>I.isValidElement(l)?I.cloneElement(l,{"aria-controls":ele(i,l.props.value),id:tle(i,l.props.value)}):null);return a.jsx(sse,{...s,ref:r,value:i.value,children:o})});function vqe(t){return tr("MuiTabPanel",t)}rr("MuiTabPanel",["root","hidden"]);const yqe=t=>{const{classes:e,hidden:r}=t;return nr({root:["root",r&&"hidden"]},vqe,e)},bqe=Ce("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({padding:t.spacing(3)})),xqe=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTabPanel"}),{children:s,className:i,value:o,keepMounted:l=!1,...c}=n,u={...n},d=yqe(u),f=Jae();if(f===null)throw new TypeError("No TabContext provided");const p=ele(f,o),m=tle(f,o);return a.jsx(bqe,{"aria-labelledby":m,className:lt(d.root,i),hidden:o!==f.value,id:p,ref:r,role:"tabpanel",ownerState:u,...c,children:(l||o===f.value)&&s})});var nn=(t=>(t.DEFAULT="DEFAULT",t.INFO="INFO",t.SUCCESS="SUCCESS",t.WARNING="WARNING",t.ERROR="ERROR",t))(nn||{});function bi(t){const e=he.c(15),{label:r,status:n,asChip:s}=t;let i;e:switch(n){case"SUCCESS":{i="success.main";break e}case"INFO":{i="info.main";break e}case"WARNING":{i="warning.main";break e}case"ERROR":{i="error.main";break e}default:i="divider"}const o=i;if(!r){let f;return e[0]!==o?(f=a.jsx(gt,{sx:{backgroundColor:o,borderRadius:"100px",width:"12px",height:"12px",flex:"0 0 auto"}}),e[0]=o,e[1]=f):f=e[1],f}if(s){let f;e[2]!==o?(f={textTransform:"capitalize",color:"text.primary",fontWeight:"500",backgroundColor:o,px:1,fontSize:"14px"},e[2]=o,e[3]=f):f=e[3];let p;return e[4]!==r||e[5]!==f?(p=a.jsx(ms,{id:r,label:r,size:"small",sx:f}),e[4]=r,e[5]=f,e[6]=p):p=e[6],p}let l;e[7]!==o?(l=a.jsx(gt,{sx:{backgroundColor:o,borderRadius:"100px",width:"12px",height:"12px",flex:"0 0 auto"}}),e[7]=o,e[8]=l):l=e[8];let c;e[9]===Symbol.for("react.memo_cache_sentinel")?(c={textTransform:"capitalize"},e[9]=c):c=e[9];let u;e[10]!==r?(u=a.jsx(_e,{fontWeight:500,lineHeight:"24px",sx:c,type:"body2",children:r}),e[10]=r,e[11]=u):u=e[11];let d;return e[12]!==l||e[13]!==u?(d=a.jsxs(te,{direction:"row",align:"center",nowrap:!0,children:[l,u]}),e[12]=l,e[13]=u,e[14]=d):d=e[14],d}function VA(t){const e=he.c(33),{value:r,tabs:n,centered:s,color:i,onChange:o,fullHeight:l}=t;let c;e[0]!==n?(c=n===void 0?[]:n,e[0]=n,e[1]=c):c=e[1];const u=c,d=s===void 0?!1:s,f=l===void 0?!1:l,[p,m]=I.useState(r||u[0].value);let h,_;e[2]!==r?(h=()=>{r&&m(r)},_=[r],e[2]=r,e[3]=h,e[4]=_):(h=e[3],_=e[4]),I.useEffect(h,_);let g;e[5]!==o?(g=(D,O)=>{m(O),o&&o(O)},e[5]=o,e[6]=g):g=e[6];const y=g;if(!p)return null;let b;e[7]!==f?(b=f&&{height:"100%",maxHeight:"100%",overflow:"auto",display:"flex",flexDirection:"column"},e[7]=f,e[8]=b):b=e[8];let x;e[9]!==b?(x={width:"100%",...b},e[9]=b,e[10]=x):x=e[10];let w;e[11]===Symbol.for("react.memo_cache_sentinel")?(w={position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:0,right:0,height:"1px",backgroundColor:"divider"}},e[11]=w):w=e[11];let C;e[12]===Symbol.for("react.memo_cache_sentinel")?(C={".MuiTabScrollButton-root.Mui-disabled":{opacity:.2}},e[12]=C):C=e[12];let k;e[13]===Symbol.for("react.memo_cache_sentinel")?(k={sx:{height:"4px"}},e[13]=k):k=e[13];let A;e[14]!==u?(A=u.map(Sqe),e[14]=u,e[15]=A):A=e[15];let P;e[16]!==d||e[17]!==i||e[18]!==y||e[19]!==A?(P=a.jsx(gt,{sx:w,children:a.jsx(_qe,{sx:C,variant:"scrollable",allowScrollButtonsMobile:!0,onChange:y,centered:d,indicatorColor:i,TabIndicatorProps:k,children:A})}),e[16]=d,e[17]=i,e[18]=y,e[19]=A,e[20]=P):P=e[20];let T;if(e[21]!==f||e[22]!==u){let D;e[24]!==f?(D=(O,N)=>O.content?a.jsx(xqe,{value:O.value,sx:{p:0,...f&&{flexGrow:"1",maxHeight:"100%",overflow:"auto"}},children:O.content},N):null,e[24]=f,e[25]=D):D=e[25],T=u.map(D),e[21]=f,e[22]=u,e[23]=T}else T=e[23];let j;e[26]!==p||e[27]!==P||e[28]!==T?(j=a.jsxs(gqe,{value:p,children:[P,T]}),e[26]=p,e[27]=P,e[28]=T,e[29]=j):j=e[29];let R;return e[30]!==j||e[31]!==x?(R=a.jsx(gt,{sx:x,children:j}),e[30]=j,e[31]=x,e[32]=R):R=e[32],R}function Sqe(t,e){return a.jsx(p6,{label:a.jsxs(T1e,{direction:"row",alignItems:"center",spacing:1,children:[t.status&&a.jsx(bi,{status:t.status}),t.error&&a.jsx(gt,{color:"error.main",sx:{display:"flex",justifyContent:"flex-end"},children:a.jsx(ge.StatusErrorSmall,{})}),a.jsx("div",{children:t.label})]}),sx:{textTransform:"capitalize",fontSize:"1rem",fontWeight:400,"&.Mui-selected":{fontWeight:600,color:"primary.main"}},disabled:!!t.disabled,value:t.value},e)}const Ao=t=>{const e=he.c(25),{tabs:r,keepQueryParams:n}=t,s=n===void 0?!1:n,i=Lp("."),o=ys(),l=WL(),c=to();let u;e[0]!==s||e[1]!==c.search||e[2]!==o?(u=k=>{s?o(`${k}${c.search}`,{replace:!0}):o(k,{replace:!0})},e[0]=s,e[1]=c.search,e[2]=o,e[3]=u):u=e[3];const d=u;let f;if(e[4]!==i||e[5]!==r){let k;e[7]!==i?(k=A=>({...A,url:`${i.pathname}/${A.url}`}),e[7]=i,e[8]=k):k=e[8],f=r.map(k),e[4]=i,e[5]=r,e[6]=f}else f=e[6];const p=f;let m;if(e[9]!==l||e[10]!==p){let k;e[12]!==l?(k=A=>l.map(Cqe).includes(A),e[12]=l,e[13]=k):k=e[13],m=p.map(wqe).find(k),e[9]=l,e[10]=p,e[11]=m}else m=e[11];const _=m??p[0].url;let g;e[14]===Symbol.for("react.memo_cache_sentinel")?(g={overflow:"hidden"},e[14]=g):g=e[14];let y;e[15]===Symbol.for("react.memo_cache_sentinel")?(y={flex:"0 0 auto"},e[15]=y):y=e[15];let b;e[16]!==d||e[17]!==p||e[18]!==_?(b=p?.length>0&&a.jsx(VA,{value:_,tabs:p.map(Aqe),onChange:d}),e[16]=d,e[17]=p,e[18]=_,e[19]=b):b=e[19];let x;e[20]!==b?(x=a.jsx(te,{sx:y,children:b}),e[20]=b,e[21]=x):x=e[21];let w;e[22]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(te,{fullHeight:!0,sx:{flex:"1 1 auto"},children:a.jsx(Bd,{})}),e[22]=w):w=e[22];let C;return e[23]!==x?(C=a.jsxs(te,{fullHeight:!0,nowrap:!0,sx:g,spacing:0,children:[x,w]}),e[23]=x,e[24]=C):C=e[24],C};function wqe(t){return t.url}function Cqe(t){return t.pathname}function Aqe(t){const{url:e,label:r,status:n}=t;return{value:e,label:r,status:n}}const kqe=t=>{const e=typeof t;return t!==null&&(e==="object"||e==="function")},PR=new Set(["__proto__","prototype","constructor"]),Mqe=new Set("0123456789");function Pqe(t){const e=[];let r="",n="start",s=!1;for(const i of t)switch(i){case"\\":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd")throw new Error("Invalid character after an index");s&&(r+=i),n="property",s=!s;break}case".":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd"){n="property";break}if(s){s=!1,r+=i;break}if(PR.has(r))return[];e.push(r),r="",n="property";break}case"[":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd"){n="index";break}if(s){s=!1,r+=i;break}if(n==="property"){if(PR.has(r))return[];e.push(r),r=""}n="index";break}case"]":{if(n==="index"){e.push(Number.parseInt(r,10)),r="",n="indexEnd";break}if(n==="indexEnd")throw new Error("Invalid character after an index")}default:{if(n==="index"&&!Mqe.has(i))throw new Error("Invalid character in an index");if(n==="indexEnd")throw new Error("Invalid character after an index");n==="start"&&(n="property"),s&&(s=!1,r+="\\"),r+=i}}switch(s&&(r+="\\"),n){case"property":{if(PR.has(r))return[];e.push(r);break}case"index":throw new Error("Index was not closed");case"start":{e.push("");break}}return e}function jqe(t,e){if(typeof e!="number"&&Array.isArray(t)){const r=Number.parseInt(e,10);return Number.isInteger(r)&&t[r]===t[e]}return!1}function Tqe(t,e,r){if(!kqe(t)||typeof e!="string")return t;const n=Pqe(e);if(n.length===0)return r;for(let s=0;s<n.length;s++){const i=n[s];if(jqe(t,i)?t=s===n.length-1?void 0:null:t=t[i],t==null){if(s!==n.length-1)return r;break}}return t===void 0?r:t}function da(t){const e=he.c(29),{disabled:r,color:n,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checkedIcon:f,checked:p,icon:m,indeterminate:h,indeterminateIcon:_,name:g,customColor:y,sx:b,label:x}=t,w=x===void 0?"":x,C=w?"inherit":0;let k;e[0]!==C?(k={mx:C},e[0]=C,e[1]=k):k=e[1];let A;e[2]!==y?(A=y&&{"&.Mui-checked svg":{color:y}},e[2]=y,e[3]=A):A=e[3];let P;e[4]!==b||e[5]!==A?(P={...b,...A},e[4]=b,e[5]=A,e[6]=P):P=e[6];let T;e[7]!==p||e[8]!==f||e[9]!==n||e[10]!==o||e[11]!==c||e[12]!==u||e[13]!==m||e[14]!==h||e[15]!==_||e[16]!==g||e[17]!==i||e[18]!==l||e[19]!==s||e[20]!==P||e[21]!==d?(T=a.jsx(XL,{color:n,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checked:p,checkedIcon:f,icon:m,indeterminate:h,name:g,indeterminateIcon:_,sx:P}),e[7]=p,e[8]=f,e[9]=n,e[10]=o,e[11]=c,e[12]=u,e[13]=m,e[14]=h,e[15]=_,e[16]=g,e[17]=i,e[18]=l,e[19]=s,e[20]=P,e[21]=d,e[22]=T):T=e[22];let j;return e[23]!==p||e[24]!==r||e[25]!==w||e[26]!==k||e[27]!==T?(j=a.jsx(Rv,{disabled:r,sx:k,checked:p,control:T,label:w}),e[23]=p,e[24]=r,e[25]=w,e[26]=k,e[27]=T,e[28]=j):j=e[28],j}const Eqe=I.forwardRef((t,e)=>{const r=he.c(8),{autoScale:n,children:s}=t;let i;r[0]!==n?(i=n&&{height:"calc(100% - 52px)",overflow:"auto",width:"100%",maxHeight:"calc(100% - 52px)",position:"relative"},r[0]=n,r[1]=i):i=r[1];let o;r[2]!==i?(o={...i},r[2]=i,r[3]=o):o=r[3];let l;return r[4]!==s||r[5]!==e||r[6]!==o?(l=a.jsx(uFe,{sx:o,ref:e,children:s}),r[4]=s,r[5]=e,r[6]=o,r[7]=l):l=r[7],l});function Rqe(t){const e=he.c(27),{selectable:r,selectedRows:n,selectedAllRows:s,rowsCount:i,rowsPerPage:o,showFirstLastButton:l,page:c,hidePagination:u,onPageChange:d,rowsPerPageOptions:f,onRowsPerPageChange:p,labelDisplayedRows:m,loading:h,customFooterComponent:_,hideRowsCount:g}=t,y=g===void 0?!1:g,b=h?"0.5":1;let x;e[0]!==b?(x={opacity:b},e[0]=b,e[1]=x):x=e[1];let w;e[2]!==_?(w=_&&a.jsx(gt,{sx:{ml:2,flexGrow:1,justifySelf:"flex-start"},children:_}),e[2]=_,e[3]=w):w=e[3];let C;e[4]!==r||e[5]!==s||e[6]!==n?(C=r&&a.jsxs(gt,{sx:{flexShrink:0,ml:2},children:[n?.length?a.jsxs(_e,{type:"body2",children:[n.length," ",`row${n.length>1?"s":""}`," selected"]}):null,s&&a.jsx(_e,{type:"body2",children:"All rows selected"})]}),e[4]=r,e[5]=s,e[6]=n,e[7]=C):C=e[7];let k;e[8]===Symbol.for("react.memo_cache_sentinel")?(k={flexShrink:0},e[8]=k):k=e[8];let A;e[9]!==u||e[10]!==y||e[11]!==m||e[12]!==d||e[13]!==p||e[14]!==c||e[15]!==i||e[16]!==o||e[17]!==f||e[18]!==l?(A=u?y?null:a.jsx(tN,{variant:"dense",children:a.jsxs(gt,{sx:{marginTop:2,marginBottom:2},children:[a.jsxs(_e,{type:"body2",children:[i," Rows"]})," "]})}):a.jsx(TFe,{rowsPerPageOptions:f||[-1],component:"div",count:i,rowsPerPage:o,page:c,onPageChange:d,onRowsPerPageChange:p,showFirstButton:l,showLastButton:l,labelDisplayedRows:m,sx:{"& .MuiTablePagination-actions":{display:"flex",ml:1},"& .MuiSelect-select":{pt:"5px"}}}),e[9]=u,e[10]=y,e[11]=m,e[12]=d,e[13]=p,e[14]=c,e[15]=i,e[16]=o,e[17]=f,e[18]=l,e[19]=A):A=e[19];let P;e[20]!==A?(P=a.jsx(gt,{sx:k,children:A}),e[20]=A,e[21]=P):P=e[21];let T;return e[22]!==x||e[23]!==w||e[24]!==C||e[25]!==P?(T=a.jsxs(QL,{direction:"row",justifyContent:"flex-end",alignItems:"center",spacing:1,sx:x,children:[w,C,P]}),e[22]=x,e[23]=w,e[24]=C,e[25]=P,e[26]=T):T=e[26],T}const w2=Ce(na,{shouldForwardProp:t=>t!=="loading"})(({theme:t,loading:e})=>({borderBottom:e?"0":`1px solid ${t.palette.divider}`})),Iqe=Ce(FFe)(({theme:t})=>({"&.Mui-active, &":{"& .MuiTableSortLabel-icon":{color:t.palette.primary.main}}}));function Dqe(t){const e=he.c(56),{rowsCount:r,columns:n,order:s,orderBy:i,onSort:o,rowActions:l,loading:c,selectable:u,selectedRows:d,selectedAllRows:f,onSelectedAllRows:p,fullColSpan:m,rowDetail:h,disableSelectAll:_,stickyRowActions:g,dense:y}=t,b=ci();let x;e[0]!==o||e[1]!==s||e[2]!==i?(x=H=>{const K=i===H.key&&s===Gl.ASC?Gl.DESC:Gl.ASC,q=H.key;o&&o(K,q)},e[0]=o,e[1]=s,e[2]=i,e[3]=x):x=e[3];const w=x,C=!!(d&&d.length&&d.length<r&&r>0),k=!!(d&&d.length&&d.length===r&&r>0||f);let A;e[4]!==b.palette.background.paper?(A=br(b.palette.background.paper,.5),e[4]=b.palette.background.paper,e[5]=A):A=e[5];let P;e[6]!==l?.length?(P=l?.length&&{"&:last-child":{backdropFilter:"none"}},e[6]=l?.length,e[7]=P):P=e[7];let T;e[8]!==A||e[9]!==P?(T={"& th":{background:"transparent",backdropFilter:"blur(12px)",backgroundColor:A,...P}},e[8]=A,e[9]=P,e[10]=T):T=e[10];let j;e[11]!==y||e[12]!==c||e[13]!==h?(j=h&&a.jsx(w2,{loading:c,variant:"head",padding:"checkbox",sx:{fontSize:"16px",width:"48px",minWidth:"48px",...y&&{p:1}},children:a.jsx(te,{align:"center",justify:"center",children:a.jsx(ge.Info,{})})}),e[11]=y,e[12]=c,e[13]=h,e[14]=j):j=e[14];let R;e[15]!==y||e[16]!==_||e[17]!==k||e[18]!==C||e[19]!==c||e[20]!==p||e[21]!==u?(R=u&&a.jsx(w2,{loading:c,variant:"head",padding:"checkbox",children:!_&&a.jsx(da,{color:"primary",indeterminate:C,checked:k,onChange:p,disabled:c,size:y?"small":"medium"})}),e[15]=y,e[16]=_,e[17]=k,e[18]=C,e[19]=c,e[20]=p,e[21]=u,e[22]=R):R=e[22];let D;if(e[23]!==n||e[24]!==y||e[25]!==w||e[26]!==c||e[27]!==s||e[28]!==i){let H;e[30]!==y||e[31]!==w||e[32]!==c||e[33]!==s||e[34]!==i?(H=(W,K)=>a.jsx(w2,{align:W.numeric?"right":"left",sortDirection:i===W.key?s:!1,variant:"head",loading:c,sx:{fontWeight:"600",maxWidth:W.maxWidth?`${W.maxWidth}px`:"inherit",minWidth:W.minWidth?`${W.minWidth}px`:"inherit",width:W.width?`${W.width}px`:"inherit",...y&&{p:.5,pr:2}},children:a.jsx(Iqe,{active:W.sortable?i===W.key:!1,direction:i===W.key?s:Gl.ASC,onClick:()=>{W.sortable&&w(W)},sx:W.sortable?void 0:{cursor:"auto","&:hover":{color:"text.primary"},"& .MuiTableSortLabel-icon":{display:"none"}},children:W.label})},`${String(W.key)}-${K}`),e[30]=y,e[31]=w,e[32]=c,e[33]=s,e[34]=i,e[35]=H):H=e[35],D=n.map(H),e[23]=n,e[24]=y,e[25]=w,e[26]=c,e[27]=s,e[28]=i,e[29]=D}else D=e[29];let O;e[36]!==c||e[37]!==l?.length||e[38]!==g||e[39]!==b.palette.background.paper?(O=l?.length?a.jsx(w2,{padding:"checkbox",loading:c,sx:{...g&&{position:"sticky",right:0,backdropFilter:"blur(12px) !important",backgroundColor:`${br(b.palette.background.paper,.5)}`}}}):null,e[36]=c,e[37]=l?.length,e[38]=g,e[39]=b.palette.background.paper,e[40]=O):O=e[40];let N;e[41]!==j||e[42]!==R||e[43]!==D||e[44]!==O?(N=a.jsxs(d_,{children:[j,R,D,O]}),e[41]=j,e[42]=R,e[43]=D,e[44]=O,e[45]=N):N=e[45];let F;e[46]!==T||e[47]!==N?(F=a.jsx(OW,{sx:T,children:N}),e[46]=T,e[47]=N,e[48]=F):F=e[48];let U;e[49]!==y||e[50]!==m||e[51]!==c?(U=c?a.jsx(OW,{sx:{position:"sticky",top:y?"33px":"58px",left:0,right:0,zIndex:3},children:a.jsx(d_,{children:a.jsx(na,{colSpan:m,sx:{p:0,border:0},children:a.jsx(Nc,{color:"primary",thickness:1})})})}):null,e[49]=y,e[50]=m,e[51]=c,e[52]=U):U=e[52];let z;return e[53]!==F||e[54]!==U?(z=a.jsxs(a.Fragment,{children:[F,U]}),e[53]=F,e[54]=U,e[55]=z):z=e[55],z}var Gl=(t=>(t.ASC="asc",t.DESC="desc",t))(Gl||{});const $qe=Array.from({length:4});function Br(t){const e=he.c(153),{order:r,orderBy:n,columns:s,data:i,rowsCount:o,page:l,rowsPerPage:c,rowKey:u,onSort:d,rowActions:f,rowDetail:p,onPageChange:m,showFirstLastButton:h,loading:_,noDataText:g,autoScale:y,selectable:b,selectedRows:x,selectedAllRows:w,onSelectedRow:C,hidePagination:k,hideRowsCount:A,onRowsPerPageChange:P,rowsPerPageOptions:T,labelDisplayedRows:j,disableSelectAll:R,stickyRowActions:D,customRowSx:O,customFooterComponent:N,dense:F,onRowClick:U,containerRef:z}=t,H=r===void 0?"asc":r,W=g===void 0?"No data to display":g,K=As();let q;e[0]!==x?(q=x||[],e[0]=x,e[1]=q):q=e[1];const[X,Q]=I.useState(q),[Y,Z]=I.useState(!!w);let re;e[2]===Symbol.for("react.memo_cache_sentinel")?(re=[],e[2]=re):re=e[2];const[fe,de]=I.useState(re),{menuOpen:se,menuClose:le}=Jt();let ee;e[3]!==f?(ee=f?.filter(Nqe),e[3]=f,e[4]=ee):ee=e[4];const J=ee;let me;e[5]!==f?(me=f?.filter(Lqe),e[5]=f,e[6]=me):me=e[6];const pe=me,Se=Oqe;let ve;e[7]!==m?(ve=(Ae,ze)=>{m&&m(ze)},e[7]=m,e[8]=ve):ve=e[8];const xe=ve;let qe;e[9]!==P?(qe=Ae=>{const ze=Ae.target.value;P&&P(parseInt(ze))},e[9]=P,e[10]=qe):qe=e[10];const Le=qe;let Te;e[11]!==le||e[12]!==se||e[13]!==pe?(Te=(Ae,ze,_t)=>{pe&&(Ae.stopPropagation(),se({anchorEl:Ae.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:pe.filter(jt=>{const{hidden:Gt}=jt;return Gt?!Gt(ze,_t):!0}).map(jt=>{const{label:Gt,onClick:Yt,disabled:Rt,icon:At}=jt;return{label:Gt,value:Gt,disabled:typeof Rt=="function"?Rt(ze,_t):Rt,icon:At,onClick:()=>{le(),Yt(ze,_t)}}})}))},e[11]=le,e[12]=se,e[13]=pe,e[14]=Te):Te=e[14];const je=Te;let Ge;e[15]!==fe?(Ge=Ae=>fe.includes(Ae),e[15]=fe,e[16]=Ge):Ge=e[16];const nt=Ge;let Re;e[17]!==p?(Re=Ae=>p?typeof p.disabled=="function"?p.disabled(Ae):p.disabled:!0,e[17]=p,e[18]=Re):Re=e[18];const we=Re;let Me;e[19]!==nt||e[20]!==fe?(Me=Ae=>{const ze=nt(Ae);let _t;ze?_t=fe.filter(jt=>jt!==Ae):_t=[...fe,Ae],de(_t)},e[19]=nt,e[20]=fe,e[21]=Me):Me=e[21];const $e=Me;let Ve;e[22]!==Y||e[23]!==X?(Ve=Ae=>X.includes(Ae)||Y,e[22]=Y,e[23]=X,e[24]=Ve):Ve=e[24];const Ne=Ve;let Oe;e[25]!==Ne||e[26]!==C||e[27]!==b||e[28]!==X?(Oe=(Ae,ze)=>{if(!b)return;const _t=Ne(Ae);let jt;_t?jt=X.filter(Gt=>Gt!==Ae):jt=[...X,Ae],Q(jt),C&&C(jt,!1,ze,_t?1:0)},e[25]=Ne,e[26]=C,e[27]=b,e[28]=X,e[29]=Oe):Oe=e[29];const ft=Oe;let Ct;e[30]!==C||e[31]!==Y?(Ct=()=>{const Ae=[],ze=!Y;Z(ze),Q(Ae),C&&C(Ae,ze,null,ze?2:3)},e[30]=C,e[31]=Y,e[32]=Ct):Ct=e[32];const Et=Ct,at=s.length+(f?.length?1:0)+(p?1:0)+(b?1:0);let $t,Ee;e[33]!==w?($t=()=>{Z(!!w)},Ee=[w],e[33]=w,e[34]=$t,e[35]=Ee):($t=e[34],Ee=e[35]),I.useEffect($t,Ee);let Be,qt;e[36]!==x?(Be=()=>{x&&Q(x)},qt=[x],e[36]=x,e[37]=Be,e[38]=qt):(Be=e[37],qt=e[38]),I.useEffect(Be,qt);let ar;e[39]!==y?(ar=y&&{overflow:"hidden",maxHeight:"100%"},e[39]=y,e[40]=ar):ar=e[40];const hr=_?"none":"inherit";let ir;e[41]!==ar||e[42]!==hr?(ir={width:"100%",height:"100%",flex:"1 1 auto",...ar,pointerEvents:hr},e[41]=ar,e[42]=hr,e[43]=ir):ir=e[43];const cr=!!p;let kr;e[44]!==s||e[45]!==F||e[46]!==R||e[47]!==at||e[48]!==Et||e[49]!==_||e[50]!==d||e[51]!==H||e[52]!==n||e[53]!==f||e[54]!==o||e[55]!==b||e[56]!==Y||e[57]!==X||e[58]!==D||e[59]!==cr?(kr=a.jsx(Dqe,{rowsCount:o,order:H,orderBy:n,columns:s,onSort:d,rowActions:f,loading:_,selectable:b,disableSelectAll:R,selectedRows:X,selectedAllRows:Y,onSelectedAllRows:Et,fullColSpan:at,rowDetail:cr,stickyRowActions:D,dense:F}),e[44]=s,e[45]=F,e[46]=R,e[47]=at,e[48]=Et,e[49]=_,e[50]=d,e[51]=H,e[52]=n,e[53]=f,e[54]=o,e[55]=b,e[56]=Y,e[57]=X,e[58]=D,e[59]=cr,e[60]=kr):kr=e[60];let Rr;if(e[61]!==s||e[62]!==O||e[63]!==i||e[64]!==F||e[65]!==at||e[66]!==je||e[67]!==$e||e[68]!==ft||e[69]!==k||e[70]!==A||e[71]!==we||e[72]!==nt||e[73]!==Ne||e[74]!==_||e[75]!==U||e[76]!==p||e[77]!==u||e[78]!==b||e[79]!==Y||e[80]!==D||e[81]!==K||e[82]!==J||e[83]!==pe){let Ae;e[85]!==s||e[86]!==O||e[87]!==F||e[88]!==at||e[89]!==je||e[90]!==$e||e[91]!==ft||e[92]!==k||e[93]!==A||e[94]!==we||e[95]!==nt||e[96]!==Ne||e[97]!==_||e[98]!==U||e[99]!==p||e[100]!==u||e[101]!==b||e[102]!==Y||e[103]!==D||e[104]!==K||e[105]!==J||e[106]!==pe?(Ae=(ze,_t)=>{const jt=we(ze),Gt=O?O(ze):{};return a.jsxs(I.Fragment,{children:[a.jsxs(d_,{tabIndex:-1,"data-testid":`row-key-${ze[u]}`,selected:Ne(ze[u]),sx:{opacity:_?.5:1,transition:"opacity 300ms",...U&&{cursor:"pointer","&:hover":{backgroundColor:"divider"}},...k&&A&&{"&:last-child td":{borderBottomColor:"transparent"}},...Gt},onClick:()=>{U&&U(ze)},children:[p&&a.jsx(na,{padding:"checkbox",sx:{p:0,pl:.1,width:"48px",minWidth:"48px",position:"relative"},children:a.jsx(Zr,{size:F?"small":"medium",onClick:()=>{$e(ze[u])},disabled:jt,sx:{p:0,pl:.1,position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",borderRadius:0,...jt&&{opacity:.4}},children:nt(ze[u])?a.jsx(ge.Minus,{}):a.jsx(ge.Plus,{})})}),b&&a.jsx(na,{padding:"checkbox",children:a.jsx(da,{color:"primary",size:F?"small":"medium",checked:Ne(ze[u]),onChange:()=>ft(ze[u],ze),disabled:Y})}),s.map((Yt,Rt)=>a.jsx(na,{align:Yt.numeric?"right":"left",sx:{maxWidth:Yt.maxWidth?`${Yt.maxWidth}px`:"inherit",minWidth:Yt.minWidth?`${Yt.minWidth}px`:"inherit",width:Yt.width?`${Yt.width}px`:"inherit",wordBreak:Yt.wordBreak?Yt.wordBreak:"inherit",whiteSpace:Yt.whiteSpace?Yt.whiteSpace:"inherit",...F&&{py:0,pl:.5,pr:2}},children:Se(Yt,ze,_t)},`${String(Yt.key)}-${Rt}-${_t}`)),J||pe?a.jsx(na,{align:"right",sx:{...D&&{position:"sticky",backdropFilter:"blur(12px) !important",backgroundColor:`${br(K.palette.background.paper,.5)}`,borderLeft:"1px solid",borderLeftColor:"divider",right:0,px:1.5,py:0}},children:a.jsxs(te,{direction:"row",nowrap:!0,align:"center",justify:"flex-end",children:[J?.map((Yt,Rt)=>a.jsx(hae,{title:Yt.label,children:a.jsx("div",{children:a.jsx(Zr,{size:"small",onClick:()=>Yt.onClick(ze,_t),disabled:typeof Yt.disabled=="function"?Yt.disabled(ze,_t):Yt.disabled,children:Yt.icon})})},Rt)),!!pe?.length&&a.jsx(Zr,{size:"small",onClick:Yt=>je(Yt,ze,_t),children:a.jsx(ge.More,{size:24})})]})}):null]}),p&&!we(ze)&&a.jsx(d_,{children:a.jsx(na,{colSpan:at,sx:{p:0,borderBottom:0},children:a.jsx(Qb,{in:nt(ze[u]),children:a.jsx(gt,{sx:{p:F?1:2,pl:F?6:8,borderBottom:"1px solid",borderColor:"divider"},children:p.content(ze)})})})})]},`${ze[u]}-${_t}}`)},e[85]=s,e[86]=O,e[87]=F,e[88]=at,e[89]=je,e[90]=$e,e[91]=ft,e[92]=k,e[93]=A,e[94]=we,e[95]=nt,e[96]=Ne,e[97]=_,e[98]=U,e[99]=p,e[100]=u,e[101]=b,e[102]=Y,e[103]=D,e[104]=K,e[105]=J,e[106]=pe,e[107]=Ae):Ae=e[107],Rr=i.map(Ae),e[61]=s,e[62]=O,e[63]=i,e[64]=F,e[65]=at,e[66]=je,e[67]=$e,e[68]=ft,e[69]=k,e[70]=A,e[71]=we,e[72]=nt,e[73]=Ne,e[74]=_,e[75]=U,e[76]=p,e[77]=u,e[78]=b,e[79]=Y,e[80]=D,e[81]=K,e[82]=J,e[83]=pe,e[84]=Rr}else Rr=e[84];let Ut;e[108]!==s||e[109]!==i.length||e[110]!==_||e[111]!==f?.length||e[112]!==p||e[113]!==b?(Ut=!i.length&&_?$qe.map((Ae,ze)=>a.jsxs(d_,{children:[p&&a.jsx(na,{children:a.jsx(Dt,{variant:"rectangular"})}),b&&a.jsx(na,{children:a.jsx(Dt,{variant:"rectangular"})}),s.map((_t,jt)=>a.jsx(na,{children:a.jsx(Dt,{variant:"rectangular"})},`${String(_t.key)}-${jt}-${ze}`)),f?.length?a.jsx(na,{children:a.jsx(Dt,{variant:"rectangular"})}):null]},`skeleton-${ze}`)):null,e[108]=s,e[109]=i.length,e[110]=_,e[111]=f?.length,e[112]=p,e[113]=b,e[114]=Ut):Ut=e[114];let fn;e[115]!==i.length||e[116]!==at||e[117]!==_||e[118]!==W?(fn=!i.length&&!_?a.jsx(d_,{children:a.jsx(na,{colSpan:at,sx:{p:2,border:0},children:a.jsx(Lr,{severity:"info",message:W,sx:{backgroundColor:"divider"}})})}):null,e[115]=i.length,e[116]=at,e[117]=_,e[118]=W,e[119]=fn):fn=e[119];let Zt;e[120]!==Rr||e[121]!==Ut||e[122]!==fn?(Zt=a.jsxs(rFe,{children:[Rr,Ut,fn]}),e[120]=Rr,e[121]=Ut,e[122]=fn,e[123]=Zt):Zt=e[123];let _r;e[124]!==y||e[125]!==kr||e[126]!==Zt?(_r=a.jsxs(Z9e,{stickyHeader:y,children:[kr,Zt]}),e[124]=y,e[125]=kr,e[126]=Zt,e[127]=_r):_r=e[127];let st;e[128]!==y||e[129]!==z||e[130]!==_r?(st=a.jsx(Eqe,{autoScale:y,ref:z,children:_r}),e[128]=y,e[129]=z,e[130]=_r,e[131]=st):st=e[131];let wt;e[132]!==N||e[133]!==i.length||e[134]!==xe||e[135]!==Le||e[136]!==k||e[137]!==A||e[138]!==j||e[139]!==_||e[140]!==l||e[141]!==o||e[142]!==c||e[143]!==T||e[144]!==b||e[145]!==Y||e[146]!==X||e[147]!==h?(wt=i.length>0&&a.jsx(Rqe,{customFooterComponent:N,selectable:b,selectedRows:X,selectedAllRows:Y,rowsCount:o,rowsPerPage:c,page:l,showFirstLastButton:h,hidePagination:k,hideRowsCount:A,onPageChange:xe,onRowsPerPageChange:Le,rowsPerPageOptions:T,labelDisplayedRows:j,loading:_}),e[132]=N,e[133]=i.length,e[134]=xe,e[135]=Le,e[136]=k,e[137]=A,e[138]=j,e[139]=_,e[140]=l,e[141]=o,e[142]=c,e[143]=T,e[144]=b,e[145]=Y,e[146]=X,e[147]=h,e[148]=wt):wt=e[148];let Pe;return e[149]!==ir||e[150]!==st||e[151]!==wt?(Pe=a.jsxs(gt,{sx:ir,children:[st,wt]}),e[149]=ir,e[150]=st,e[151]=wt,e[152]=Pe):Pe=e[152],Pe}function Oqe(t,e,r){const n=Tqe(e,t.key.toString()),s=typeof n>"u"||n===null;return t.cellRender?t.cellRender(e,r):s?"":a.jsx(_e,{type:"body2",children:`${n}`})}function Lqe(t){return t.wrapped}function Nqe(t){return!t.wrapped}function Fqe(){const t=he.c(19),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"aaa.status.radius.local_addr"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"local_addr",label:s},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"aaa.status.radius.local_port"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"local_port",label:o},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==i||t[9]!==l?(c=[i,l],t[8]=i,t[9]=l,t[10]=c):c=t[10];const u=c;let d;t[11]===Symbol.for("react.memo_cache_sentinel")?(d=a.jsx(mb,{variant:"rounded",height:"100%",sx:{m:2}}),t[11]=d):d=t[11];let f;t[12]===Symbol.for("react.memo_cache_sentinel")?(f=a.jsx(en,{}),t[12]=f):f=t[12];let p;t[13]!==u||t[14]!==n.state?(p=h=>a.jsx(Br,{autoScale:!0,data:h||[],orderBy:"local_addr",page:0,loading:n.state!=="idle",rowsCount:h?.length,rowsPerPage:h?.length,rowKey:"local_addr",columns:u,hidePagination:!0}),t[13]=u,t[14]=n.state,t[15]=p):p=t[15];let m;return t[16]!==r.radiusStatus||t[17]!==p?(m=a.jsx(I.Suspense,{fallback:d,children:a.jsx(Qt,{resolve:r.radiusStatus,errorElement:f,children:p})}),t[16]=r.radiusStatus,t[17]=p,t[18]=m):m=t[18],m}const Uqe=async()=>{const t=`${$.apis.aaa.radius.status}`;return De({options:{url:t,method:"GET"}})};async function Bqe(t){return Wt({loaderArgs:t,deferred:!0,data:{radiusStatus:Uqe()}})}const yY=Pr();function zqe(t){const{dev:e,port:r,host:n,tos:s,name:i}=t;return{erlang:{distribution:{host:n,name:i,port:+r,...e!==""&&{dev:e},...s!==""&&{tos:+s}}}}}function qqe(t){const{dev:e,port:r,host:n,tos:s,name:i}=t.erlang.distribution;return{dev:e??"",port:+r,host:n,tos:s??"",name:i}}const Vqe=dr().shape({dev:We(),host:We().required(yY.formatMessage({id:"network_configuration.form.errors.required"})),name:We().required(yY.formatMessage({id:"network_configuration.form.errors.required"})),port:kn().required().min(1025).max(65535),tos:kn().min(0).max(255)}),Hqe=Pr(),Gqe=dr().shape({node:We().required(Hqe.formatMessage({id:"cluster.form.errors.required"})).strict(!0)}),Wqe=dr().shape({force:li()});function Yqe(t){const e=he.c(6);let r,n;e[0]!==t?({children:r,...n}=t,e[0]=t,e[1]=r,e[2]=n):(r=e[1],n=e[2]);let s;return e[3]!==r||e[4]!==n?(s=a.jsx(dne,{...n,children:r}),e[3]=r,e[4]=n,e[5]=s):s=e[5],s}function dt(t){const e=he.c(86);let r,n,s,i,o,l,c,u,d,f,p,m,h,_,g,y,b,x,w,C,k,A,P,T,j;e[0]!==t?({color:n,disabled:s,size:k,variant:j,label:u,error:i,fullWidth:o,helperText:l,multiline:f,name:p,value:T,placeholder:y,required:x,onChange:h,onKeyDown:_,onBlur:m,InputProps:r,tooltip:A,type:P,min:d,pattern:g,sx:C,inputProps:c,showPasswordVisibility:w,...b}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d,e[10]=f,e[11]=p,e[12]=m,e[13]=h,e[14]=_,e[15]=g,e[16]=y,e[17]=b,e[18]=x,e[19]=w,e[20]=C,e[21]=k,e[22]=A,e[23]=P,e[24]=T,e[25]=j):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9],f=e[10],p=e[11],m=e[12],h=e[13],_=e[14],g=e[15],y=e[16],b=e[17],x=e[18],w=e[19],C=e[20],k=e[21],A=e[22],P=e[23],T=e[24],j=e[25]);const R=k===void 0?"small":k,[D,O]=I.useState(!1);let N;e[26]!==D?(N=()=>{O(!D)},e[26]=D,e[27]=N):N=e[27];const F=N,U=iN(),z=!!f;let H;e[28]!==p?(H=p&&{"data-testid":`field-${p}`},e[28]=p,e[29]=H):H=e[29];let W;e[30]!==p?(W=p&&{"data-testid":`field-input-${p}`},e[30]=p,e[31]=W):W=e[31];let K;e[32]!==d||e[33]!==P?(K=P==="number"&&{step:"any",min:d},e[32]=d,e[33]=P,e[34]=K):K=e[34];let q;e[35]!==P?(q=P==="time"&&{step:"1"},e[35]=P,e[36]=q):q=e[36];let X;e[37]!==c||e[38]!==g||e[39]!==W||e[40]!==K||e[41]!==q?(X={...W,pattern:g,...K,...q,...c},e[37]=c,e[38]=g,e[39]=W,e[40]=K,e[41]=q,e[42]=X):X=e[42];const Q=U&&U,Y=D?void 0:P;let Z;e[43]!==r?.endAdornment||e[44]!==A?(Z=A&&{endAdornment:a.jsxs(gt,{sx:{display:"flex",alignItems:"center"},children:[r?.endAdornment,a.jsx(Mn,{title:A,arrow:!0,children:a.jsx("span",{children:a.jsx(ge.Info,{})})})]})},e[43]=r?.endAdornment,e[44]=A,e[45]=Z):Z=e[45];let re;e[46]!==F||e[47]!==p||e[48]!==D||e[49]!==w?(re=w&&{endAdornment:a.jsx(Yqe,{position:"end",children:a.jsx(Zr,{"data-testid":`field-${p}-button-showPassword`,"aria-label":"toggle password visibility",onClick:F,children:D?a.jsx(ge.PasswordHide,{}):a.jsx(ge.PasswordView,{})})})},e[46]=F,e[47]=p,e[48]=D,e[49]=w,e[50]=re):re=e[50];let fe;e[51]!==r||e[52]!==Y||e[53]!==Z||e[54]!==re||e[55]!==Q?(fe={...Q,type:Y,...Z,...re,...r},e[51]=r,e[52]=Y,e[53]=Z,e[54]=re,e[55]=Q,e[56]=fe):fe=e[56];let de;e[57]===Symbol.for("react.memo_cache_sentinel")?(de={opacity:.7},e[57]=de):de=e[57];let se;e[58]!==A?(se=A&&{".MuiAutocomplete-endAdornment":{position:"relative"},input:{width:"calc(100% - 40px)"}},e[58]=A,e[59]=se):se=e[59];let le;e[60]!==C||e[61]!==se?(le={...C,position:"relative",".Mui-disabled":de,...se},e[60]=C,e[61]=se,e[62]=le):le=e[62];let ee;return e[63]!==n||e[64]!==s||e[65]!==i||e[66]!==o||e[67]!==l||e[68]!==u||e[69]!==f||e[70]!==p||e[71]!==m||e[72]!==h||e[73]!==_||e[74]!==y||e[75]!==b||e[76]!==x||e[77]!==R||e[78]!==fe||e[79]!==le||e[80]!==z||e[81]!==H||e[82]!==X||e[83]!==T||e[84]!==j?(ee=a.jsx(k0,{...b,name:p,value:T,color:n,disabled:s,size:R,variant:j,label:u,error:i,fullWidth:o,helperText:l,multiline:z,maxRows:f,minRows:f,placeholder:y,required:x,onChange:h,onKeyDown:_,onBlur:m,...H,inputProps:X,InputProps:fe,sx:le}),e[63]=n,e[64]=s,e[65]=i,e[66]=o,e[67]=l,e[68]=u,e[69]=f,e[70]=p,e[71]=m,e[72]=h,e[73]=_,e[74]=y,e[75]=b,e[76]=x,e[77]=R,e[78]=fe,e[79]=le,e[80]=z,e[81]=H,e[82]=X,e[83]=T,e[84]=j,e[85]=ee):ee=e[85],ee}function xr(t){const e=he.c(68),{sx:r,expanded:n,disableGutters:s,square:i,title:o,content:l,onChange:c,spacing:u,reversedArrow:d,subtitle:f,actions:p,actionsComponent:m,elevation:h,error:_,unmountOnExit:g,modalElevation:y}=t,b=n===void 0?!1:n,x=s===void 0?!1:s,w=g===void 0?!1:g,[C,k]=I.useState(b),{menuOpen:A,menuClose:P}=Jt();let T;e[0]!==c?(T=(xe,qe)=>{c&&c(xe,qe),k(qe)},e[0]=c,e[1]=T):T=e[1];const j=T;let R;e[2]!==p||e[3]!==P||e[4]!==A?(R=xe=>{p&&(xe.stopPropagation(),A({anchorEl:xe.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:p.map(qe=>{const{label:Le,onClick:Te,disabled:je,icon:Ge}=qe;return{label:Le,value:Le,disabled:typeof je=="function"?je():je,icon:Ge,onClick:()=>{P(),Te()}}})}))},e[2]=p,e[3]=P,e[4]=A,e[5]=R):R=e[5];const D=R;let O,N;e[6]!==b?(O=()=>{k(b)},N=[b],e[6]=b,e[7]=O,e[8]=N):(O=e[7],N=e[8]),I.useEffect(O,N);let F,U;e[9]===Symbol.for("react.memo_cache_sentinel")?(F={display:"none !important"},U={width:"100%"},e[9]=F,e[10]=U):(F=e[9],U=e[10]);let z;e[11]!==_?(z=_&&{border:"2px solid",borderColor:"error.main"},e[11]=_,e[12]=z):z=e[12];let H;e[13]!==h||e[14]!==y?(H=h&&y&&{backgroundImage:xe=>xe.palette.mode==="dark"?`linear-gradient(${br("#fff",+hh(24+h*24))}, ${br("#fff",+hh(24+h*24))})`:"none"},e[13]=h,e[14]=y,e[15]=H):H=e[15];let W;e[16]!==r||e[17]!==z||e[18]!==H?(W={"&:before":F,"& .MuiAccordion-region":U,...z,...H,...r},e[16]=r,e[17]=z,e[18]=H,e[19]=W):W=e[19];let K;e[20]!==w?(K={transition:{unmountOnExit:w}},e[20]=w,e[21]=K):K=e[21];let q;e[22]!==d?(q=d&&{flexDirection:"row-reverse"},e[22]=d,e[23]=q):q=e[23];let X;e[24]!==q?(X={...q},e[24]=q,e[25]=X):X=e[25];let Q;e[26]===Symbol.for("react.memo_cache_sentinel")?(Q=a.jsx(ge.DownArrow,{}),e[26]=Q):Q=e[26];let Y;e[27]!==d?(Y=d&&{ml:2},e[27]=d,e[28]=Y):Y=e[28];let Z;e[29]!==Y?(Z={...Y},e[29]=Y,e[30]=Z):Z=e[30];let re;e[31]!==o?(re=typeof o=="string"?a.jsx(_e,{type:"subtitle1",color:"text.secondary",children:o}):o,e[31]=o,e[32]=re):re=e[32];let fe;e[33]!==f||e[34]!==Z||e[35]!==re?(fe=a.jsxs(te,{sx:Z,spacing:0,children:[re,f]}),e[33]=f,e[34]=Z,e[35]=re,e[36]=fe):fe=e[36];let de;e[37]!==p||e[38]!==m?(de=m&&a.jsx(gt,{sx:{flex:"0 0 auto",...!p&&{pr:2}},children:m}),e[37]=p,e[38]=m,e[39]=de):de=e[39];let se;e[40]!==p?.length||e[41]!==D||e[42]!==d?(se=!!p?.length&&a.jsx(gt,{sx:{flex:"0 0 auto",...!d&&{pr:2}},children:a.jsx(Zr,{component:"span",role:"button",onClick:D,children:a.jsx(ge.More,{})})}),e[40]=p?.length,e[41]=D,e[42]=d,e[43]=se):se=e[43];let le;e[44]!==de||e[45]!==se?(le=a.jsxs(te,{direction:"row",align:"center",children:[de,se]}),e[44]=de,e[45]=se,e[46]=le):le=e[46];let ee;e[47]!==fe||e[48]!==le?(ee=a.jsxs(te,{justify:"space-between",align:"center",fullWidth:!0,direction:"row",children:[fe,le]}),e[47]=fe,e[48]=le,e[49]=ee):ee=e[49];let J;e[50]!==X||e[51]!==ee?(J=a.jsx(dNe,{sx:X,expandIcon:Q,children:ee}),e[50]=X,e[51]=ee,e[52]=J):J=e[52];let me;e[53]!==l?(me=a.jsx(iNe,{children:l}),e[53]=l,e[54]=me):me=e[54];let pe;e[55]!==x||e[56]!==h||e[57]!==C||e[58]!==j||e[59]!==i||e[60]!==W||e[61]!==K||e[62]!==J||e[63]!==me?(pe=a.jsxs(tNe,{sx:W,disableGutters:x,expanded:C,onChange:j,square:i,elevation:h,slotProps:K,children:[J,me]}),e[55]=x,e[56]=h,e[57]=C,e[58]=j,e[59]=i,e[60]=W,e[61]=K,e[62]=J,e[63]=me,e[64]=pe):pe=e[64];const Se=pe;let ve;return e[65]!==Se||e[66]!==u?(ve=u?a.jsx("div",{children:Se}):Se,e[65]=Se,e[66]=u,e[67]=ve):ve=e[67],ve}function Jn(t){const e=he.c(17),{sx:r,spacing:n,children:s,exclusive:i}=t,o=n===void 0?0:n,l=i===void 0?!0:i,[c,u]=I.useState(null);let d,f;e[0]!==s||e[1]!==l?(d=()=>{l&&I.Children.forEach(s,(h,_)=>{h.props.expanded&&u(_)})},f=[s,l],e[0]=s,e[1]=l,e[2]=d,e[3]=f):(d=e[2],f=e[3]),I.useEffect(d,f);let p;if(e[4]!==s||e[5]!==l||e[6]!==c||e[7]!==o){let h;e[9]!==l||e[10]!==c||e[11]!==o?(h=(_,g)=>{let y={disableGutters:o?!0:!_.props.disableGutters,group:!0,spacing:o};return l&&(y={...y,expanded:c===g,onChange:(b,x)=>{_.props.onChange&&_.props.onChange(b,x),u(g)}}),I.cloneElement(_,y)},e[9]=l,e[10]=c,e[11]=o,e[12]=h):h=e[12],p=I.Children.map(s,h),e[4]=s,e[5]=l,e[6]=c,e[7]=o,e[8]=p}else p=e[8];let m;return e[13]!==o||e[14]!==r||e[15]!==p?(m=a.jsx(te,{sx:r,spacing:o,children:p}),e[13]=o,e[14]=r,e[15]=p,e[16]=m):m=e[16],m}function Kqe(t){const e=he.c(12),{nf:r}=t,n=Ye(),{dialogClose:s}=Jt(),{upsertFetcher:i}=Ys(),{submit:o,data:l,state:c}=i;let u;e[0]===Symbol.for("react.memo_cache_sentinel")?(u={force:!1},e[0]=u):u=e[0];let d;e[1]!==r||e[2]!==o?(d=m=>{const{force:h}=m;o({force:h},{method:"POST",encType:"application/json",action:`${r===ue.PLS?"platform":r}/cluster/leave-cluster`})},e[1]=r,e[2]=o,e[3]=d):d=e[3];let f;e[4]!==l||e[5]!==s||e[6]!==n||e[7]!==c?(f=()=>a.jsxs(_s,{children:[a.jsx(_e,{sx:{mb:1},children:n.formatMessage({id:"cluster.dialog.leave.description"})}),a.jsx(dn,{canWrite:Ue(ie.configuration),children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"force",children:m=>{const{field:h,form:_}=m,{setFieldValue:g}=_;return a.jsx(da,{size:"small",label:n.formatMessage({id:"cluster.dialog.leave.force"}),checked:h.value,onChange:(y,b)=>{g(h.name,b)}})}}),a.jsx(Xr,{data:l}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:n.formatMessage({id:"cluster.dialog.leave.cancel"}),variant:"outlined",onClick:()=>s()}),a.jsx(Ze,{text:n.formatMessage({id:"cluster.dialog.leave.confirm"}),type:"submit",loading:c!=="idle"})]})]})})]}),e[4]=l,e[5]=s,e[6]=n,e[7]=c,e[8]=f):f=e[8];let p;return e[9]!==d||e[10]!==f?(p=a.jsx(Wr,{validationSchema:Wqe,initialValues:u,onSubmit:d,children:f}),e[9]=d,e[10]=f,e[11]=p):p=e[11],p}const Qqe=t=>{const e=he.c(50),{data:r,onClusterJoin:n,clusterJoinLoading:s,disabled:i,nf:o}=t,l=ci(),c=Ye(),{confirmationDialogOpen:u,confirmationDialogClose:d,popoverOpen:f,popoverClose:p,dialogOpen:m}=Jt();let h;e[0]!==d||e[1]!==u||e[2]!==c||e[3]!==p?(h=async(W,K)=>{const q=await W();Object.keys(q).length===0&&u({title:c.formatMessage({id:"cluster.dialog.join.title"}),alertMessage:c.formatMessage({id:"cluster.dialog.join.description"}),onCancel:d,onConfirm:()=>{p(),K()},severity:"danger",cancelButtonText:c.formatMessage({id:"cluster.dialog.join.cancel"}),continueButtonText:c.formatMessage({id:"cluster.dialog.join.confirm"})})},e[0]=d,e[1]=u,e[2]=c,e[3]=p,e[4]=h):h=e[4];const _=h;let g;e[5]!==m||e[6]!==c||e[7]!==o?(g=()=>{m({title:c.formatMessage({id:"cluster.dialog.leave.title"}),content:()=>a.jsx(Kqe,{nf:o})})},e[5]=m,e[6]=c,e[7]=o,e[8]=g):g=e[8];const y=g;let b;e[9]!==s||e[10]!==i||e[11]!==_||e[12]!==c||e[13]!==o||e[14]!==n||e[15]!==p||e[16]!==f?(b=W=>{const K=function(X){const{node:Q}=X;n&&n({node:`${o}@${Q}`})};f({anchorEl:W.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},content:()=>a.jsx(Wr,{onSubmit:K,initialValues:{node:""},validationSchema:Gqe,children:q=>{const{submitForm:X,validateForm:Q}=q;return a.jsx(dn,{canWrite:Ue(ie.configuration),children:a.jsxs(te,{sx:{minWidth:"430px"},children:[a.jsx(Ke,{name:"node",children:Y=>{const{field:Z,meta:re}=Y;return a.jsx(a.Fragment,{children:a.jsx(dt,{...Z,label:c.formatMessage({id:"cluster.form.node"}),size:"small",error:!!re.error,helperText:re.error,disabled:i,placeholder:c.formatMessage({id:"cluster.form.node_placeholder"})})})}}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{variant:"outlined",type:"reset",size:"medium",disabled:!Ue(ie.configuration)||i,onClick:p,text:c.formatMessage({id:"cluster.buttons.cancel"})}),a.jsx(Ze,{type:"button",size:"medium",text:c.formatMessage({id:"cluster.buttons.join"}),onClick:()=>void _(Q,X),disabled:!Ue(ie.configuration)||i,loading:s})]})]})})}})})},e[9]=s,e[10]=i,e[11]=_,e[12]=c,e[13]=o,e[14]=n,e[15]=p,e[16]=f,e[17]=b):b=e[17];const x=b,w=Zqe,C=Xqe;let k;e[18]!==c?(k=c.formatMessage({id:"cluster.buttons.leave_cluster"}),e[18]=c,e[19]=k):k=e[19];const A=i||r.nodes.length===1;let P;e[20]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(ge.Shift,{}),e[20]=P):P=e[20];let T;e[21]!==y||e[22]!==k||e[23]!==A?(T=a.jsx(Ze,{variant:"outlined",text:k,onClick:y,disabled:A,startIcon:P}),e[21]=y,e[22]=k,e[23]=A,e[24]=T):T=e[24];let j;e[25]!==c?(j=c.formatMessage({id:"cluster.buttons.join_cluster"}),e[25]=c,e[26]=j):j=e[26];let R;e[27]===Symbol.for("react.memo_cache_sentinel")?(R=a.jsx(ge.Cluster,{}),e[27]=R):R=e[27];let D;e[28]!==s||e[29]!==i||e[30]!==x||e[31]!==j?(D=a.jsx(Ze,{text:j,startIcon:R,onClick:x,disabled:i,loading:s}),e[28]=s,e[29]=i,e[30]=x,e[31]=j,e[32]=D):D=e[32];let O;e[33]!==D||e[34]!==T?(O=a.jsx(hs,{children:a.jsxs(te,{direction:"row",spacing:1,justify:"flex-end",children:[T,D]})}),e[33]=D,e[34]=T,e[35]=O):O=e[35];let N;e[36]!==c?(N=c.formatMessage({id:"cluster.title"}),e[36]=c,e[37]=N):N=e[37];let F;e[38]!==r||e[39]!==c||e[40]!==l?(F=C(r).map(W=>{const K=W.repositories?.every(Jqe),q=W.repositories.reduce(eVe,0),X=W.repositories.reduce(tVe,0);return a.jsx(xr,{elevation:2,title:W.name,sx:{...!K&&{border:`1px solid ${l.palette.warning.main} !important`}},subtitle:a.jsxs(te,{direction:"row",align:"center",justify:"space-between",nowrap:!0,spacing:2,children:[a.jsxs(te,{direction:"row",align:"center",spacing:1,children:[a.jsx(_e,{children:c.formatMessage({id:"cluster.status.repositories"})}),!!q&&a.jsx(bi,{label:`${q}`,status:nn.SUCCESS}),!!X&&a.jsx(bi,{label:`${X}`,status:nn.ERROR})]}),a.jsxs(te,{direction:"row",align:"center",children:[W.name===r.current_node&&a.jsx(ms,{label:c.formatMessage({id:"cluster.status.current_node"}),size:"small"}),!K&&a.jsx(Mn,{title:c.formatMessage({id:"cluster.status.repo_with_errors"}),children:a.jsx(gt,{sx:{color:"warning"},children:a.jsx(ge.StatusWarning,{})})})]})]}),content:a.jsxs(a.Fragment,{children:[!!W.repositories&&!!W.repositories.length&&a.jsx(te,{spacing:2,divided:!0,children:W.repositories.map(Q=>a.jsxs(te,{nowrap:!0,justify:"space-between",direction:"row",align:"center",children:[a.jsxs(te,{direction:"row",nowrap:!0,spacing:1,children:[a.jsx(bi,{label:Q.name,status:w(Q.status)}),Q.status==="ERROR"&&a.jsx(Mn,{title:"Repo has error!",children:a.jsx(gt,{sx:{color:"error"},children:a.jsx(ge.StatusError,{})})})]}),a.jsx(_e,{sx:{backgroundColor:Q.type==="CP"?l.palette.boy.light:l.palette.girl.light,color:Q.type==="CP"?l.palette.boy.contrastText:l.palette.girl.contrastText,fontWeight:"bold",fontSize:"12px",borderRadius:5,px:1},children:Q.type})]},Q.name))}),!W.repositories?.length&&a.jsx(Lr,{severity:"warning",title:c.formatMessage({id:"cluster.message.no_repo"})})]})},W.name)}),e[38]=r,e[39]=c,e[40]=l,e[41]=F):F=e[41];let U;e[42]!==F?(U=a.jsx(Kt,{children:a.jsx(Jn,{spacing:2,exclusive:!1,children:F})}),e[42]=F,e[43]=U):U=e[43];let z;e[44]!==N||e[45]!==U?(z=a.jsx(pr,{title:N,children:U}),e[44]=N,e[45]=U,e[46]=z):z=e[46];let H;return e[47]!==O||e[48]!==z?(H=a.jsxs(a.Fragment,{children:[O,z]}),e[47]=O,e[48]=z,e[49]=H):H=e[49],H};function Zqe(t){switch(t){case"UP":return nn.SUCCESS;case"DOWN":return nn.ERROR;case"ERROR":return nn.ERROR;default:return nn.DEFAULT}}function Xqe(t){const e=t.nodes.find(n=>n.name===t.current_node),r=t.nodes.filter(n=>n.name!==t.current_node);return e?[e,...r]:r}function Jqe(t){return t.status==="UP"}function eVe(t,e){return e.status==="UP"?t+1:t}function tVe(t,e){return e.status!=="UP"?t+1:t}function al(t){const e=he.c(4),{children:r,spacing:n,sx:s}=t,i=n===void 0?2:n;let o;return e[0]!==r||e[1]!==i||e[2]!==s?(o=a.jsx(ca,{container:!0,spacing:i,sx:s,children:r}),e[0]=r,e[1]=i,e[2]=s,e[3]=o):o=e[3],o}function Is(t){const e=he.c(5),{children:r,size:n,zeroMinWidth:s,sx:i}=t;let o;return e[0]!==r||e[1]!==n||e[2]!==i||e[3]!==s?(o=a.jsx(ca,{item:!0,...n,zeroMinWidth:s,sx:i,children:r}),e[0]=r,e[1]=n,e[2]=i,e[3]=s,e[4]=o):o=e[4],o}function rVe(t){const e=he.c(18),{data:r,onSubmit:n,error:s,disabled:i,loading:o}=t,l=Ye();let c;e[0]!==n?(c=_=>{n&&n(_)},e[0]=n,e[1]=c):c=e[1];const u=c;let d;e[2]!==l?(d=l.formatMessage({id:"network_configuration.fieldset"}),e[2]=l,e[3]=d):d=e[3];let f;e[4]!==r?(f=qqe(r),e[4]=r,e[5]=f):f=e[5];let p;e[6]!==i||e[7]!==s||e[8]!==l||e[9]!==o?(p=_=>{const{dirty:g}=_;return a.jsx(dn,{canWrite:Ue(ie.configuration),children:a.jsxs(te,{direction:"column",spacing:2,align:"flex-start",children:[a.jsxs(al,{children:[a.jsx(Is,{size:{xs:12},children:a.jsx(Ke,{name:"name",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.name"}),size:"small",error:!!x.error,helperText:x.error,sx:{display:"none"}})}})}),a.jsx(Is,{size:{xs:12,sm:6},children:a.jsx(Ke,{name:"host",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.host"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}})}),a.jsx(Is,{size:{xs:12,sm:6},children:a.jsx(Ke,{name:"port",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.port"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}})}),a.jsx(Is,{size:{xs:12,sm:6},children:a.jsx(Ke,{name:"dev",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.dev"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}})}),a.jsx(Is,{size:{xs:12,sm:6},children:a.jsx(Ke,{name:"tos",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.tos"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}})})]}),a.jsx(Xr,{data:s,sx:{width:"100%"}}),a.jsx(Ze,{type:"submit",text:l.formatMessage({id:"network_configuration.buttons.persist_and_reboot"}),disabled:!Ue(ie.configuration)||i||!g,loading:o})]})})},e[6]=i,e[7]=s,e[8]=l,e[9]=o,e[10]=p):p=e[10];let m;e[11]!==u||e[12]!==f||e[13]!==p?(m=a.jsx(Kt,{children:a.jsx(Wr,{initialValues:f,validationSchema:Vqe,onSubmit:u,enableReinitialize:!0,children:p})}),e[11]=u,e[12]=f,e[13]=p,e[14]=m):m=e[14];let h;return e[15]!==d||e[16]!==m?(h=a.jsx(pr,{title:d,children:m}),e[15]=d,e[16]=m,e[17]=h):h=e[17],h}function nVe(){const t=he.c(18),e=Gr(),{submit:r,data:n,state:s}=gr(),{submit:i,state:o}=gr(),l=s!=="idle"||o!=="idle";let c;t[0]!==r?(c=y=>{r(zqe(y),{method:"PUT",encType:"application/json",action:"apply-boot-config"})},t[0]=r,t[1]=c):c=t[1];const u=c;let d;t[2]!==i?(d=y=>{const{node:b}=y;i({node:b},{method:"POST",encType:"application/json",action:"join-cluster"})},t[2]=i,t[3]=d):d=t[3];const f=d;let p;t[4]===Symbol.for("react.memo_cache_sentinel")?(p=a.jsx(mb,{variant:"rounded",sx:{height:"267px"}}),t[4]=p):p=t[4];let m;t[5]===Symbol.for("react.memo_cache_sentinel")?(m=a.jsxs(te,{spacing:2,children:[p,a.jsx(mb,{variant:"rounded",sx:{height:"187px"}})]}),t[5]=m):m=t[5];let h;t[6]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(Tr,{}),t[6]=h):h=t[6];let _;t[7]!==n||t[8]!==s||t[9]!==o||t[10]!==l||t[11]!==u||t[12]!==f||t[13]!==e.clusterStatus?(_=y=>a.jsxs(te,{spacing:2,children:[a.jsx(rVe,{data:y,onSubmit:u,disabled:l,loading:s!=="idle",error:n}),a.jsx(I.Suspense,{fallback:a.jsx(mb,{variant:"rounded",sx:{height:"187px"}}),children:a.jsx(Qt,{resolve:e.clusterStatus,errorElement:a.jsx(Tr,{}),children:b=>a.jsx(a.Fragment,{children:b&&a.jsx(Qqe,{nf:y.erlang.distribution.name,data:b,onClusterJoin:f,clusterJoinLoading:o!=="idle",disabled:l})})})})]}),t[7]=n,t[8]=s,t[9]=o,t[10]=l,t[11]=u,t[12]=f,t[13]=e.clusterStatus,t[14]=_):_=t[14];let g;return t[15]!==e.bootConfig||t[16]!==_?(g=a.jsx(I.Suspense,{fallback:m,children:a.jsx(Qt,{resolve:e.bootConfig,errorElement:h,children:_})}),t[15]=e.bootConfig,t[16]=_,t[17]=g):g=t[17],g}async function sVe(t){const e=$.apis.boot_config(t);return De({options:{url:e,method:"GET"}})}async function iVe({nf:t,values:e}){const r=$.apis.boot_config(t);return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}function oVe(t){return async({request:e})=>{const r=await e.json(),n=await iVe({nf:t,values:r});return xt(n)?Ar():Nt(),Ft(n)}}function aVe(t,e={clusterStatus:!1}){return function(r){return Wt({deferred:!0,loaderArgs:r,data:{bootConfig:sVe(t),clusterStatus:e.clusterStatus?Iae({nf:t}):null}})}}const bY=Pr();function vr({to:t,labelIntl:e,labelIntlParams:r,icon:n,captionIntl:s,captionIntlParams:i}){return{breadcrumb:{to:t,label:bY.formatMessage({id:e},r),icon:n,...s&&{caption:bY.formatMessage({id:s},i)}}}}function so(t,e={dbCluster:!1}){const r=t===ue.PLS?"platform":t;return{path:"cluster",loader:aVe(t,{clusterStatus:e.dbCluster}),errorElement:a.jsx(Tr,{}),element:a.jsx(nVe,{},t),shouldRevalidate:({actionResult:n})=>!xt(n),handle:vr({labelIntl:`route.${r}.cluster`,to:`/${r}/path`}),children:[{path:"apply-boot-config",action:oVe(t),loader:()=>rt("..")},...e.dbCluster?[{path:"join-cluster",action:$ze(t),loader:()=>rt("..")},{path:"leave-cluster",action:Oze(t),loader:()=>rt("..")}]:[]]}}function bb(){return bb=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},bb.apply(null,arguments)}var lp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"||typeof self<"u"?self:{};function Y0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var xY,SY={exports:{}};var jR,wY,CY,lVe=(xY||(xY=1,jR=SY,(function(){var t={}.hasOwnProperty;function e(){for(var r=[],n=0;n<arguments.length;n++){var s=arguments[n];if(s){var i=typeof s;if(i==="string"||i==="number")r.push(s);else if(Array.isArray(s)){if(s.length){var o=e.apply(null,s);o&&r.push(o)}}else if(i==="object")if(s.toString===Object.prototype.toString)for(var l in s)t.call(s,l)&&s[l]&&r.push(l);else r.push(s.toString())}}return r.join(" ")}jR.exports?(e.default=e,jR.exports=e):window.classNames=e})()),SY.exports),J6=Y0(lVe),AY,wc=Y0((function(){if(CY)return wY;CY=1;var t=/^\s+|\s+$/g,e=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,n=/^0o[0-7]+$/i,s=parseInt,i=Object.prototype.toString;function o(c){var u=typeof c;return!!c&&(u=="object"||u=="function")}function l(c){if(typeof c=="number")return c;if((function(f){return typeof f=="symbol"||(function(p){return!!p&&typeof p=="object"})(f)&&i.call(f)=="[object Symbol]"})(c))return NaN;if(o(c)){var u=typeof c.valueOf=="function"?c.valueOf():c;c=o(u)?u+"":u}if(typeof c!="string")return c===0?c:+c;c=c.replace(t,"");var d=r.test(c);return d||n.test(c)?s(c.slice(2),d?2:8):e.test(c)?NaN:+c}return wY=function(c,u,d){return d===void 0&&(d=u,u=void 0),d!==void 0&&(d=(d=l(d))==d?d:0),u!==void 0&&(u=(u=l(u))==u?u:0),(function(f,p,m){return f==f&&(m!==void 0&&(f=f<=m?f:m),p!==void 0&&(f=f>=p?f:p)),f})(l(c),u,d)}})()),TR={exports:{}},cVe=(AY||(AY=1,(function(t,e){var r="__lodash_hash_undefined__",n=9007199254740991,s="[object Arguments]",i="[object Array]",o="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",f="[object Number]",p="[object Object]",m="[object Promise]",h="[object RegExp]",_="[object Set]",g="[object String]",y="[object Symbol]",b="[object WeakMap]",x="[object ArrayBuffer]",w="[object DataView]",C=/^\[object .+?Constructor\]$/,k=/^(?:0|[1-9]\d*)$/,A={};A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A[s]=A[i]=A[x]=A[o]=A[w]=A[l]=A[c]=A[u]=A[d]=A[f]=A[p]=A[h]=A[_]=A[g]=A[b]=!1;var P=typeof lp=="object"&&lp&&lp.Object===Object&&lp,T=typeof self=="object"&&self&&self.Object===Object&&self,j=P||T||Function("return this")(),R=e&&!e.nodeType&&e,D=R&&t&&!t.nodeType&&t,O=D&&D.exports===R,N=O&&P.process,F=(function(){try{return N&&N.binding&&N.binding("util")}catch{}})(),U=F&&F.isTypedArray;function z(ke,He){for(var ut=-1,It=ke==null?0:ke.length;++ut<It;)if(He(ke[ut],ut,ke))return!0;return!1}function H(ke){var He=-1,ut=Array(ke.size);return ke.forEach(function(It,wr){ut[++He]=[wr,It]}),ut}function W(ke){var He=-1,ut=Array(ke.size);return ke.forEach(function(It){ut[++He]=It}),ut}var K,q,X,Q=Array.prototype,Y=Function.prototype,Z=Object.prototype,re=j["__core-js_shared__"],fe=Y.toString,de=Z.hasOwnProperty,se=(K=/[^.]+$/.exec(re&&re.keys&&re.keys.IE_PROTO||""))?"Symbol(src)_1."+K:"",le=Z.toString,ee=RegExp("^"+fe.call(de).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),J=O?j.Buffer:void 0,me=j.Symbol,pe=j.Uint8Array,Se=Z.propertyIsEnumerable,ve=Q.splice,xe=me?me.toStringTag:void 0,qe=Object.getOwnPropertySymbols,Le=J?J.isBuffer:void 0,Te=(q=Object.keys,X=Object,function(ke){return q(X(ke))}),je=st(j,"DataView"),Ge=st(j,"Map"),nt=st(j,"Promise"),Re=st(j,"Set"),we=st(j,"WeakMap"),Me=st(Object,"create"),$e=ze(je),Ve=ze(Ge),Ne=ze(nt),Oe=ze(Re),ft=ze(we),Ct=me?me.prototype:void 0,Et=Ct?Ct.valueOf:void 0;function at(ke){var He=-1,ut=ke==null?0:ke.length;for(this.clear();++He<ut;){var It=ke[He];this.set(It[0],It[1])}}function $t(ke){var He=-1,ut=ke==null?0:ke.length;for(this.clear();++He<ut;){var It=ke[He];this.set(It[0],It[1])}}function Ee(ke){var He=-1,ut=ke==null?0:ke.length;for(this.clear();++He<ut;){var It=ke[He];this.set(It[0],It[1])}}function Be(ke){var He=-1,ut=ke==null?0:ke.length;for(this.__data__=new Ee;++He<ut;)this.add(ke[He])}function qt(ke){var He=this.__data__=new $t(ke);this.size=He.size}function ar(ke,He){var ut=Gt(ke),It=!ut&&jt(ke),wr=!ut&&!It&&Yt(ke),Cr=!ut&&!It&&!wr&&ot(ke),sn=ut||It||wr||Cr,pn=sn?(function(Vr,Fr){for(var Qn=-1,Er=Array(Vr);++Qn<Vr;)Er[Qn]=Fr(Qn);return Er})(ke.length,String):[],jn=pn.length;for(var es in ke)!de.call(ke,es)||sn&&(es=="length"||wr&&(es=="offset"||es=="parent")||Cr&&(es=="buffer"||es=="byteLength"||es=="byteOffset")||Ae(es,jn))||pn.push(es);return pn}function hr(ke,He){for(var ut=ke.length;ut--;)if(_t(ke[ut][0],He))return ut;return-1}function ir(ke){return ke==null?ke===void 0?"[object Undefined]":"[object Null]":xe&&xe in Object(ke)?(function(He){var ut=de.call(He,xe),It=He[xe];try{He[xe]=void 0;var wr=!0}catch{}var Cr=le.call(He);return wr&&(ut?He[xe]=It:delete He[xe]),Cr})(ke):(function(He){return le.call(He)})(ke)}function cr(ke){return or(ke)&&ir(ke)==s}function kr(ke,He,ut,It,wr){return ke===He||(ke==null||He==null||!or(ke)&&!or(He)?ke!=ke&&He!=He:(function(Cr,sn,pn,jn,es,Vr){var Fr=Gt(Cr),Qn=Gt(sn),Er=Fr?i:Pe(Cr),on=Qn?i:Pe(sn),Ei=(Er=Er==s?p:Er)==p,ha=(on=on==s?p:on)==p,Zn=Er==on;if(Zn&&Yt(Cr)){if(!Yt(sn))return!1;Fr=!0,Ei=!1}if(Zn&&!Ei)return Vr||(Vr=new qt),Fr||ot(Cr)?fn(Cr,sn,pn,jn,es,Vr):(function(ns,Gn,Wu,zo,sf,$s,Ui){switch(Wu){case w:if(ns.byteLength!=Gn.byteLength||ns.byteOffset!=Gn.byteOffset)return!1;ns=ns.buffer,Gn=Gn.buffer;case x:return!(ns.byteLength!=Gn.byteLength||!$s(new pe(ns),new pe(Gn)));case o:case l:case f:return _t(+ns,+Gn);case c:return ns.name==Gn.name&&ns.message==Gn.message;case h:case g:return ns==Gn+"";case d:var Po=H;case _:var yl=1&zo;if(Po||(Po=W),ns.size!=Gn.size&&!yl)return!1;var co=Ui.get(ns);if(co)return co==Gn;zo|=2,Ui.set(ns,Gn);var jo=fn(Po(ns),Po(Gn),zo,sf,$s,Ui);return Ui.delete(ns),jo;case y:if(Et)return Et.call(ns)==Et.call(Gn)}return!1})(Cr,sn,Er,pn,jn,es,Vr);if(!(1&pn)){var Fi=Ei&&de.call(Cr,"__wrapped__"),lo=ha&&de.call(sn,"__wrapped__");if(Fi||lo){var Ki=Fi?Cr.value():Cr,Yp=lo?sn.value():sn;return Vr||(Vr=new qt),es(Ki,Yp,pn,jn,Vr)}}return!!Zn&&(Vr||(Vr=new qt),(function(ns,Gn,Wu,zo,sf,$s){var Ui=1&Wu,Po=Zt(ns),yl=Po.length,co=Zt(Gn),jo=co.length;if(yl!=jo&&!Ui)return!1;for(var Yu=yl;Yu--;){var To=Po[Yu];if(!(Ui?To in Gn:de.call(Gn,To)))return!1}var Wh=$s.get(ns);if(Wh&&$s.get(Gn))return Wh==Gn;var Ku=!0;$s.set(ns,Gn),$s.set(Gn,ns);for(var of=Ui;++Yu<yl;){var Yc=ns[To=Po[Yu]],af=Gn[To];if(zo)var Yh=Ui?zo(af,Yc,To,Gn,ns,$s):zo(Yc,af,To,ns,Gn,$s);if(!(Yh===void 0?Yc===af||sf(Yc,af,Wu,zo,$s):Yh)){Ku=!1;break}of||(of=To=="constructor")}if(Ku&&!of){var Va=ns.constructor,Eo=Gn.constructor;Va==Eo||!("constructor"in ns)||!("constructor"in Gn)||typeof Va=="function"&&Va instanceof Va&&typeof Eo=="function"&&Eo instanceof Eo||(Ku=!1)}return $s.delete(ns),$s.delete(Gn),Ku})(Cr,sn,pn,jn,es,Vr))})(ke,He,ut,It,kr,wr))}function Rr(ke){return!(!zt(ke)||(function(He){return!!se&&se in He})(ke))&&(Rt(ke)?ee:C).test(ze(ke))}function Ut(ke){if(ut=(He=ke)&&He.constructor,It=typeof ut=="function"&&ut.prototype||Z,He!==It)return Te(ke);var He,ut,It,wr=[];for(var Cr in Object(ke))de.call(ke,Cr)&&Cr!="constructor"&&wr.push(Cr);return wr}function fn(ke,He,ut,It,wr,Cr){var sn=1&ut,pn=ke.length,jn=He.length;if(pn!=jn&&!(sn&&jn>pn))return!1;var es=Cr.get(ke);if(es&&Cr.get(He))return es==He;var Vr=-1,Fr=!0,Qn=2&ut?new Be:void 0;for(Cr.set(ke,He),Cr.set(He,ke);++Vr<pn;){var Er=ke[Vr],on=He[Vr];if(It)var Ei=sn?It(on,Er,Vr,He,ke,Cr):It(Er,on,Vr,ke,He,Cr);if(Ei!==void 0){if(Ei)continue;Fr=!1;break}if(Qn){if(!z(He,function(ha,Zn){if(Fi=Zn,!Qn.has(Fi)&&(Er===ha||wr(Er,ha,ut,It,Cr)))return Qn.push(Zn);var Fi})){Fr=!1;break}}else if(Er!==on&&!wr(Er,on,ut,It,Cr)){Fr=!1;break}}return Cr.delete(ke),Cr.delete(He),Fr}function Zt(ke){return(function(He,ut,It){var wr=ut(He);return Gt(He)?wr:(function(Cr,sn){for(var pn=-1,jn=sn.length,es=Cr.length;++pn<jn;)Cr[es+pn]=sn[pn];return Cr})(wr,It(He))})(ke,ct,wt)}function _r(ke,He){var ut,It,wr=ke.__data__;return((It=typeof(ut=He))=="string"||It=="number"||It=="symbol"||It=="boolean"?ut!=="__proto__":ut===null)?wr[typeof He=="string"?"string":"hash"]:wr.map}function st(ke,He){var ut=(function(It,wr){return It?.[wr]})(ke,He);return Rr(ut)?ut:void 0}at.prototype.clear=function(){this.__data__=Me?Me(null):{},this.size=0},at.prototype.delete=function(ke){var He=this.has(ke)&&delete this.__data__[ke];return this.size-=He?1:0,He},at.prototype.get=function(ke){var He=this.__data__;if(Me){var ut=He[ke];return ut===r?void 0:ut}return de.call(He,ke)?He[ke]:void 0},at.prototype.has=function(ke){var He=this.__data__;return Me?He[ke]!==void 0:de.call(He,ke)},at.prototype.set=function(ke,He){var ut=this.__data__;return this.size+=this.has(ke)?0:1,ut[ke]=Me&&He===void 0?r:He,this},$t.prototype.clear=function(){this.__data__=[],this.size=0},$t.prototype.delete=function(ke){var He=this.__data__,ut=hr(He,ke);return!(ut<0||(ut==He.length-1?He.pop():ve.call(He,ut,1),--this.size,0))},$t.prototype.get=function(ke){var He=this.__data__,ut=hr(He,ke);return ut<0?void 0:He[ut][1]},$t.prototype.has=function(ke){return hr(this.__data__,ke)>-1},$t.prototype.set=function(ke,He){var ut=this.__data__,It=hr(ut,ke);return It<0?(++this.size,ut.push([ke,He])):ut[It][1]=He,this},Ee.prototype.clear=function(){this.size=0,this.__data__={hash:new at,map:new(Ge||$t),string:new at}},Ee.prototype.delete=function(ke){var He=_r(this,ke).delete(ke);return this.size-=He?1:0,He},Ee.prototype.get=function(ke){return _r(this,ke).get(ke)},Ee.prototype.has=function(ke){return _r(this,ke).has(ke)},Ee.prototype.set=function(ke,He){var ut=_r(this,ke),It=ut.size;return ut.set(ke,He),this.size+=ut.size==It?0:1,this},Be.prototype.add=Be.prototype.push=function(ke){return this.__data__.set(ke,r),this},Be.prototype.has=function(ke){return this.__data__.has(ke)},qt.prototype.clear=function(){this.__data__=new $t,this.size=0},qt.prototype.delete=function(ke){var He=this.__data__,ut=He.delete(ke);return this.size=He.size,ut},qt.prototype.get=function(ke){return this.__data__.get(ke)},qt.prototype.has=function(ke){return this.__data__.has(ke)},qt.prototype.set=function(ke,He){var ut=this.__data__;if(ut instanceof $t){var It=ut.__data__;if(!Ge||It.length<199)return It.push([ke,He]),this.size=++ut.size,this;ut=this.__data__=new Ee(It)}return ut.set(ke,He),this.size=ut.size,this};var wt=qe?function(ke){return ke==null?[]:(ke=Object(ke),(function(He,ut){for(var It=-1,wr=He==null?0:He.length,Cr=0,sn=[];++It<wr;){var pn=He[It];ut(pn,It,He)&&(sn[Cr++]=pn)}return sn})(qe(ke),function(He){return Se.call(ke,He)}))}:function(){return[]},Pe=ir;function Ae(ke,He){return!!(He=He??n)&&(typeof ke=="number"||k.test(ke))&&ke>-1&&ke%1==0&&ke<He}function ze(ke){if(ke!=null){try{return fe.call(ke)}catch{}try{return ke+""}catch{}}return""}function _t(ke,He){return ke===He||ke!=ke&&He!=He}(je&&Pe(new je(new ArrayBuffer(1)))!=w||Ge&&Pe(new Ge)!=d||nt&&Pe(nt.resolve())!=m||Re&&Pe(new Re)!=_||we&&Pe(new we)!=b)&&(Pe=function(ke){var He=ir(ke),ut=He==p?ke.constructor:void 0,It=ut?ze(ut):"";if(It)switch(It){case $e:return w;case Ve:return d;case Ne:return m;case Oe:return _;case ft:return b}return He});var jt=cr((function(){return arguments})())?cr:function(ke){return or(ke)&&de.call(ke,"callee")&&!Se.call(ke,"callee")},Gt=Array.isArray,Yt=Le||function(){return!1};function Rt(ke){if(!zt(ke))return!1;var He=ir(ke);return He==u||He=="[object GeneratorFunction]"||He=="[object AsyncFunction]"||He=="[object Proxy]"}function At(ke){return typeof ke=="number"&&ke>-1&&ke%1==0&&ke<=n}function zt(ke){var He=typeof ke;return ke!=null&&(He=="object"||He=="function")}function or(ke){return ke!=null&&typeof ke=="object"}var ot=U?(function(ke){return function(He){return ke(He)}})(U):function(ke){return or(ke)&&At(ke.length)&&!!A[ir(ke)]};function ct(ke){return(He=ke)!=null&&At(He.length)&&!Rt(He)?ar(ke):Ut(ke);var He}t.exports=function(ke,He){return kr(ke,He)}})(TR,TR.exports)),TR.exports),uVe=Y0(cVe);function kY(t,e,r){return t[e]?t[e][0]?t[e][0][r]:t[e][r]:e==="contentBoxSize"?t.contentRect[r==="inlineSize"?"width":"height"]:void 0}function dVe(t){t===void 0&&(t={});var e=t.onResize,r=I.useRef(void 0);r.current=e;var n=t.round||Math.round,s=I.useRef(),i=I.useState({width:void 0,height:void 0}),o=i[0],l=i[1],c=I.useRef(!1);I.useEffect(function(){return c.current=!1,function(){c.current=!0}},[]);var u=I.useRef({width:void 0,height:void 0}),d=(function(f,p){var m=I.useRef(null),h=I.useRef(null);h.current=p;var _=I.useRef(null);I.useEffect(function(){g()});var g=I.useCallback(function(){var y=_.current,b=h.current,x=y||(b?b instanceof Element?b:b.current:null);m.current&&m.current.element===x&&m.current.subscriber===f||(m.current&&m.current.cleanup&&m.current.cleanup(),m.current={element:x,subscriber:f,cleanup:x?f(x):void 0})},[f]);return I.useEffect(function(){return function(){m.current&&m.current.cleanup&&(m.current.cleanup(),m.current=null)}},[]),I.useCallback(function(y){_.current=y,g()},[g])})(I.useCallback(function(f){return s.current&&s.current.box===t.box&&s.current.round===n||(s.current={box:t.box,round:n,instance:new ResizeObserver(function(p){var m=p[0],h=t.box==="border-box"?"borderBoxSize":t.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",_=kY(m,h,"inlineSize"),g=kY(m,h,"blockSize"),y=_?n(_):void 0,b=g?n(g):void 0;if(u.current.width!==y||u.current.height!==b){var x={width:y,height:b};u.current.width=y,u.current.height=b,r.current?r.current(x):c.current||l(x)}})}),s.current.instance.observe(f,{box:t.box}),function(){s.current&&s.current.instance.unobserve(f)}},[t.box,n]),t.ref);return I.useMemo(function(){return{ref:d,width:o.width,height:o.height}},[d,o.width,o.height])}var fVe="allotment-module_splitView__L-yRc",pVe="allotment-module_sashContainer__fzwJF",mVe="allotment-module_splitViewContainer__rQnVa",rle="allotment-module_splitViewView__MGZ6O",hVe="allotment-module_vertical__WSwwa",gVe="allotment-module_horizontal__7doS8",_Ve="allotment-module_separatorBorder__x-rDS";let ky,nle=!1,sle=!1;typeof navigator=="object"&&(ky=navigator.userAgent,sle=ky.indexOf("Macintosh")>=0,nle=(ky.indexOf("Macintosh")>=0||ky.indexOf("iPad")>=0||ky.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0);const ile=nle,vVe=sle,MY=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?I.useLayoutEffect:I.useEffect;let yVe=class{constructor(){this._size=void 0}getSize(){return this._size}setSize(e){this._size=e}};function C2(t,e){const r=t.length,n=r-e.length;return n>=0&&t.slice(n,r)===e}var PY,jY={exports:{}},TY,EY,bVe=(PY||(PY=1,(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}function s(c,u,d){this.fn=c,this.context=u,this.once=d||!1}function i(c,u,d,f,p){if(typeof d!="function")throw new TypeError("The listener must be a function");var m=new s(d,f||c,p),h=r?r+u:u;return c._events[h]?c._events[h].fn?c._events[h]=[c._events[h],m]:c._events[h].push(m):(c._events[h]=m,c._eventsCount++),c}function o(c,u){--c._eventsCount==0?c._events=new n:delete c._events[u]}function l(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1)),l.prototype.eventNames=function(){var c,u,d=[];if(this._eventsCount===0)return d;for(u in c=this._events)e.call(c,u)&&d.push(r?u.slice(1):u);return Object.getOwnPropertySymbols?d.concat(Object.getOwnPropertySymbols(c)):d},l.prototype.listeners=function(c){var u=r?r+c:c,d=this._events[u];if(!d)return[];if(d.fn)return[d.fn];for(var f=0,p=d.length,m=new Array(p);f<p;f++)m[f]=d[f].fn;return m},l.prototype.listenerCount=function(c){var u=r?r+c:c,d=this._events[u];return d?d.fn?1:d.length:0},l.prototype.emit=function(c,u,d,f,p,m){var h=r?r+c:c;if(!this._events[h])return!1;var _,g,y=this._events[h],b=arguments.length;if(y.fn){switch(y.once&&this.removeListener(c,y.fn,void 0,!0),b){case 1:return y.fn.call(y.context),!0;case 2:return y.fn.call(y.context,u),!0;case 3:return y.fn.call(y.context,u,d),!0;case 4:return y.fn.call(y.context,u,d,f),!0;case 5:return y.fn.call(y.context,u,d,f,p),!0;case 6:return y.fn.call(y.context,u,d,f,p,m),!0}for(g=1,_=new Array(b-1);g<b;g++)_[g-1]=arguments[g];y.fn.apply(y.context,_)}else{var x,w=y.length;for(g=0;g<w;g++)switch(y[g].once&&this.removeListener(c,y[g].fn,void 0,!0),b){case 1:y[g].fn.call(y[g].context);break;case 2:y[g].fn.call(y[g].context,u);break;case 3:y[g].fn.call(y[g].context,u,d);break;case 4:y[g].fn.call(y[g].context,u,d,f);break;default:if(!_)for(x=1,_=new Array(b-1);x<b;x++)_[x-1]=arguments[x];y[g].fn.apply(y[g].context,_)}}return!0},l.prototype.on=function(c,u,d){return i(this,c,u,d,!1)},l.prototype.once=function(c,u,d){return i(this,c,u,d,!0)},l.prototype.removeListener=function(c,u,d,f){var p=r?r+c:c;if(!this._events[p])return this;if(!u)return o(this,p),this;var m=this._events[p];if(m.fn)m.fn!==u||f&&!m.once||d&&m.context!==d||o(this,p);else{for(var h=0,_=[],g=m.length;h<g;h++)(m[h].fn!==u||f&&!m[h].once||d&&m[h].context!==d)&&_.push(m[h]);_.length?this._events[p]=_.length===1?_[0]:_:o(this,p)}return this},l.prototype.removeAllListeners=function(c){var u;return c?(u=r?r+c:c,this._events[u]&&o(this,u)):(this._events=new n,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=r,l.EventEmitter=l,t.exports=l})(jY)),jY.exports),gN=Y0(bVe);function RY(t,e){const r=t.indexOf(e);r>-1&&(t.splice(r,1),t.unshift(e))}function ER(t,e){const r=t.indexOf(e);r>-1&&(t.splice(r,1),t.push(e))}function Il(t,e,r=1){const n=Math.max(0,Math.ceil((e-t)/r)),s=new Array(n);let i=-1;for(;++i<n;)s[i]=t+i*r;return s}var xVe=Y0((function(){if(EY)return TY;EY=1;var t=/^\s+|\s+$/g,e=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,n=/^0o[0-7]+$/i,s=parseInt,i=typeof lp=="object"&&lp&&lp.Object===Object&&lp,o=typeof self=="object"&&self&&self.Object===Object&&self,l=i||o||Function("return this")(),c=Object.prototype.toString,u=Math.max,d=Math.min,f=function(){return l.Date.now()};function p(h){var _=typeof h;return!!h&&(_=="object"||_=="function")}function m(h){if(typeof h=="number")return h;if((function(y){return typeof y=="symbol"||(function(b){return!!b&&typeof b=="object"})(y)&&c.call(y)=="[object Symbol]"})(h))return NaN;if(p(h)){var _=typeof h.valueOf=="function"?h.valueOf():h;h=p(_)?_+"":_}if(typeof h!="string")return h===0?h:+h;h=h.replace(t,"");var g=r.test(h);return g||n.test(h)?s(h.slice(2),g?2:8):e.test(h)?NaN:+h}return TY=function(h,_,g){var y,b,x,w,C,k,A=0,P=!1,T=!1,j=!0;if(typeof h!="function")throw new TypeError("Expected a function");function R(U){var z=y,H=b;return y=b=void 0,A=U,w=h.apply(H,z)}function D(U){var z=U-k;return k===void 0||z>=_||z<0||T&&U-A>=x}function O(){var U=f();if(D(U))return N(U);C=setTimeout(O,(function(z){var H=_-(z-k);return T?d(H,x-(z-A)):H})(U))}function N(U){return C=void 0,j&&y?R(U):(y=b=void 0,w)}function F(){var U=f(),z=D(U);if(y=arguments,b=this,k=U,z){if(C===void 0)return(function(H){return A=H,C=setTimeout(O,_),P?R(H):w})(k);if(T)return C=setTimeout(O,_),R(k)}return C===void 0&&(C=setTimeout(O,_)),w}return _=m(_)||0,p(g)&&(P=!!g.leading,x=(T="maxWait"in g)?u(m(g.maxWait)||0,_):x,j="trailing"in g?!!g.trailing:j),F.cancel=function(){C!==void 0&&clearTimeout(C),A=0,y=k=b=C=void 0},F.flush=function(){return C===void 0?w:N(f())},F}})()),SVe="sash-module_sash__K-9lB",wVe="sash-module_disabled__Hm-wx",CVe="sash-module_mac__Jf6OJ",IY="sash-module_vertical__pB-rs",AVe="sash-module_minimum__-UKxp",kVe="sash-module_maximum__TCWxD",DY="sash-module_horizontal__kFbiw",RR="sash-module_hover__80W6I",IR="sash-module_active__bJspD";let Vl=(function(t){return t.Vertical="VERTICAL",t.Horizontal="HORIZONTAL",t})({}),rl=(function(t){return t.Disabled="DISABLED",t.Minimum="MINIMUM",t.Maximum="MAXIMUM",t.Enabled="ENABLED",t})({}),ole=ile?20:8;const ale=new gN;let $Y=class extends gN{get state(){return this._state}set state(e){this._state!==e&&(this.el.classList.toggle(wVe,e===rl.Disabled),this.el.classList.toggle("sash-disabled",e===rl.Disabled),this.el.classList.toggle(AVe,e===rl.Minimum),this.el.classList.toggle("sash-minimum",e===rl.Minimum),this.el.classList.toggle(kVe,e===rl.Maximum),this.el.classList.toggle("sash-maximum",e===rl.Maximum),this._state=e,this.emit("enablementChange",e))}constructor(e,r,n){var s;super(),this.el=void 0,this.layoutProvider=void 0,this.orientation=void 0,this.size=void 0,this.hoverDelay=300,this.hoverDelayer=xVe(i=>i.classList.add("sash-hover",RR),this.hoverDelay),this._state=rl.Enabled,this.onPointerStart=i=>{const o=i.pageX,l=i.pageY,c={startX:o,currentX:o,startY:l,currentY:l};this.el.classList.add("sash-active",IR),this.emit("start",c),this.el.setPointerCapture(i.pointerId);const u=f=>{f.preventDefault();const p={startX:o,currentX:f.pageX,startY:l,currentY:f.pageY};this.emit("change",p)},d=f=>{f.preventDefault(),this.el.classList.remove("sash-active",IR),this.hoverDelayer.cancel(),this.emit("end"),this.el.releasePointerCapture(f.pointerId),window.removeEventListener("pointermove",u),window.removeEventListener("pointerup",d)};window.addEventListener("pointermove",u),window.addEventListener("pointerup",d)},this.onPointerDoublePress=()=>{this.emit("reset")},this.onMouseEnter=()=>{this.el.classList.contains(IR)?(this.hoverDelayer.cancel(),this.el.classList.add("sash-hover",RR)):this.hoverDelayer(this.el)},this.onMouseLeave=()=>{this.hoverDelayer.cancel(),this.el.classList.remove("sash-hover",RR)},this.el=document.createElement("div"),this.el.classList.add("sash",SVe),this.el.dataset.testid="sash",e.append(this.el),vVe&&this.el.classList.add("sash-mac",CVe),this.el.addEventListener("pointerdown",this.onPointerStart),this.el.addEventListener("dblclick",this.onPointerDoublePress),this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("mouseleave",this.onMouseLeave),typeof n.size=="number"?(this.size=n.size,n.orientation===Vl.Vertical?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=ole,ale.on("onDidChangeGlobalSize",i=>{this.size=i,this.layout()})),this.layoutProvider=r,this.orientation=(s=n.orientation)!=null?s:Vl.Vertical,this.orientation===Vl.Horizontal?(this.el.classList.add("sash-horizontal",DY),this.el.classList.remove("sash-vertical",IY)):(this.el.classList.remove("sash-horizontal",DY),this.el.classList.add("sash-vertical",IY)),this.layout()}layout(){if(this.orientation===Vl.Vertical){const e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{const e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}dispose(){this.el.removeEventListener("pointerdown",this.onPointerStart),this.el.removeEventListener("dblclick",this.onPointerDoublePress),this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("mouseleave",()=>this.onMouseLeave),this.el.remove()}},$C;var DR;(DR=$C||($C={})).Distribute={type:"distribute"},DR.Split=function(t){return{type:"split",index:t}},DR.Invisible=function(t){return{type:"invisible",cachedVisibleSize:t}};let Ul=(function(t){return t.Normal="NORMAL",t.Low="LOW",t.High="HIGH",t})({}),lle=class{constructor(e,r,n){this.container=void 0,this.view=void 0,this._size=void 0,this._cachedVisibleSize=void 0,this.container=e,this.view=r,this.container.classList.add("split-view-view",rle),this.container.dataset.testid="split-view-view",typeof n=="number"?(this._size=n,this._cachedVisibleSize=void 0,e.classList.add("split-view-view-visible")):(this._size=0,this._cachedVisibleSize=n.cachedVisibleSize)}set size(e){this._size=e}get size(){return this._size}get priority(){return this.view.priority}get snap(){return!!this.view.snap}get cachedVisibleSize(){return this._cachedVisibleSize}get visible(){return this._cachedVisibleSize===void 0}setVisible(e,r){e!==this.visible&&(e?(this.size=wc(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize=typeof r=="number"?r:this.size,this.size=0),this.container.classList.toggle("split-view-view-visible",e),this.view.setVisible&&this.view.setVisible(e))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}set enabled(e){this.container.style.pointerEvents=e?"":"none"}layout(e){this.layoutContainer(e),this.view.layout(this.size,e)}},MVe=class extends lle{layoutContainer(e){this.container.style.left=`${e}px`,this.container.style.width=`${this.size}px`}},PVe=class extends lle{layoutContainer(e){this.container.style.top=`${e}px`,this.container.style.height=`${this.size}px`}},jVe=class extends gN{get startSnappingEnabled(){return this._startSnappingEnabled}set startSnappingEnabled(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())}get endSnappingEnabled(){return this._endSnappingEnabled}set endSnappingEnabled(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())}constructor(e,r={},n,s,i){var o,l;if(super(),this.onDidChange=void 0,this.onDidDragStart=void 0,this.onDidDragEnd=void 0,this.orientation=void 0,this.sashContainer=void 0,this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.sashDragState=void 0,this.proportionalLayout=void 0,this.getSashOrthogonalSize=void 0,this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.onSashEnd=c=>{this.emit("sashchange",c),this.saveProportions();for(const u of this.viewItems)u.enabled=!0},this.orientation=(o=r.orientation)!=null?o:Vl.Vertical,this.proportionalLayout=(l=r.proportionalLayout)!=null?l:!0,this.getSashOrthogonalSize=r.getSashOrthogonalSize,n&&(this.onDidChange=n),s&&(this.onDidDragStart=s),i&&(this.onDidDragEnd=i),this.sashContainer=document.createElement("div"),this.sashContainer.classList.add("sash-container",pVe),e.prepend(this.sashContainer),r.descriptor){this.size=r.descriptor.size;for(const[c,u]of r.descriptor.views.entries()){const d=u.size,f=u.container,p=u.view;this.addView(f,p,d,c,!0)}this.contentSize=this.viewItems.reduce((c,u)=>c+u.size,0),this.saveProportions()}}addView(e,r,n,s=this.viewItems.length,i){let o;o=typeof n=="number"?n:n.type==="split"?this.getViewSize(n.index)/2:n.type==="invisible"?{cachedVisibleSize:n.cachedVisibleSize}:r.minimumSize;const l=this.orientation===Vl.Vertical?new PVe(e,r,o):new MVe(e,r,o);if(this.viewItems.splice(s,0,l),this.viewItems.length>1){const c=this.orientation===Vl.Vertical?new $Y(this.sashContainer,{getHorizontalSashTop:f=>this.getSashPosition(f),getHorizontalSashWidth:this.getSashOrthogonalSize},{orientation:Vl.Horizontal}):new $Y(this.sashContainer,{getVerticalSashLeft:f=>this.getSashPosition(f),getVerticalSashHeight:this.getSashOrthogonalSize},{orientation:Vl.Vertical}),u=this.orientation===Vl.Vertical?f=>({sash:c,start:f.startY,current:f.currentY}):f=>({sash:c,start:f.startX,current:f.currentX});c.on("start",f=>{var p;this.emit("sashDragStart"),this.onSashStart(u(f));const m=this.viewItems.map(h=>h.size);(p=this.onDidDragStart)==null||p.call(this,m)}),c.on("change",f=>this.onSashChange(u(f))),c.on("end",()=>{var f;this.emit("sashDragEnd"),this.onSashEnd(this.sashItems.findIndex(m=>m.sash===c));const p=this.viewItems.map(m=>m.size);(f=this.onDidDragEnd)==null||f.call(this,p)}),c.on("reset",()=>{const f=this.sashItems.findIndex(g=>g.sash===c),p=Il(f,-1,-1),m=Il(f+1,this.viewItems.length),h=this.findFirstSnapIndex(p),_=this.findFirstSnapIndex(m);(typeof h!="number"||this.viewItems[h].visible)&&(typeof _!="number"||this.viewItems[_].visible)&&this.emit("sashreset",f)});const d={sash:c};this.sashItems.splice(s-1,0,d)}i||this.relayout(),i||typeof n=="number"||n.type!=="distribute"||this.distributeViewSizes()}removeView(e,r){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");const n=this.viewItems.splice(e,1)[0].view;if(this.viewItems.length>=1){const s=Math.max(e-1,0);this.sashItems.splice(s,1)[0].sash.dispose()}return this.relayout(),r&&r.type==="distribute"&&this.distributeViewSizes(),n}moveView(e,r,n){const s=this.getViewCachedVisibleSize(r),i=s===void 0?this.getViewSize(r):$C.Invisible(s),o=this.removeView(r);this.addView(e,o,i,n)}getViewCachedVisibleSize(e){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");return this.viewItems[e].cachedVisibleSize}layout(e=this.size){const r=Math.max(this.size,this.contentSize);if(this.size=e,this.proportions)for(let n=0;n<this.viewItems.length;n++){const s=this.viewItems[n];s.size=wc(Math.round(this.proportions[n]*e),s.minimumSize,s.maximumSize)}else{const n=Il(0,this.viewItems.length),s=n.filter(o=>this.viewItems[o].priority===Ul.Low),i=n.filter(o=>this.viewItems[o].priority===Ul.High);this.resize(this.viewItems.length-1,e-r,void 0,s,i)}this.distributeEmptySpace(),this.layoutViews()}resizeView(e,r){if(e<0||e>=this.viewItems.length)return;const n=Il(0,this.viewItems.length).filter(l=>l!==e),s=[...n.filter(l=>this.viewItems[l].priority===Ul.Low),e],i=n.filter(l=>this.viewItems[l].priority===Ul.High),o=this.viewItems[e];r=Math.round(r),r=wc(r,o.minimumSize,Math.min(o.maximumSize,this.size)),o.size=r,this.relayout(s,i)}resizeViews(e){for(let r=0;r<e.length;r++){const n=this.viewItems[r];let s=e[r];s=Math.round(s),s=wc(s,n.minimumSize,Math.min(n.maximumSize,this.size)),n.size=s}this.contentSize=this.viewItems.reduce((r,n)=>r+n.size,0),this.saveProportions(),this.layout(this.size)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}isViewVisible(e){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");return this.viewItems[e].visible}setViewVisible(e,r){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");this.viewItems[e].setVisible(r),this.distributeEmptySpace(e),this.layoutViews(),this.saveProportions()}distributeViewSizes(){const e=[];let r=0;for(const l of this.viewItems)l.maximumSize-l.minimumSize>0&&(e.push(l),r+=l.size);const n=Math.floor(r/e.length);for(const l of e)l.size=wc(n,l.minimumSize,l.maximumSize);const s=Il(0,this.viewItems.length),i=s.filter(l=>this.viewItems[l].priority===Ul.Low),o=s.filter(l=>this.viewItems[l].priority===Ul.High);this.relayout(i,o)}dispose(){this.sashItems.forEach(e=>e.sash.dispose()),this.sashItems=[],this.sashContainer.remove()}relayout(e,r){const n=this.viewItems.reduce((s,i)=>s+i.size,0);this.resize(this.viewItems.length-1,this.size-n,void 0,e,r),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}onSashStart({sash:e,start:r}){const n=this.sashItems.findIndex(s=>s.sash===e);(s=>{const i=this.viewItems.map(b=>b.size);let o,l,c=Number.NEGATIVE_INFINITY,u=Number.POSITIVE_INFINITY;const d=Il(n,-1,-1),f=Il(n+1,this.viewItems.length),p=d.reduce((b,x)=>b+(this.viewItems[x].minimumSize-i[x]),0),m=d.reduce((b,x)=>b+(this.viewItems[x].viewMaximumSize-i[x]),0),h=f.length===0?Number.POSITIVE_INFINITY:f.reduce((b,x)=>b+(i[x]-this.viewItems[x].minimumSize),0),_=f.length===0?Number.NEGATIVE_INFINITY:f.reduce((b,x)=>b+(i[x]-this.viewItems[x].viewMaximumSize),0);c=Math.max(p,_),u=Math.min(h,m);const g=this.findFirstSnapIndex(d),y=this.findFirstSnapIndex(f);if(typeof g=="number"){const b=this.viewItems[g],x=Math.floor(b.viewMinimumSize/2);o={index:g,limitDelta:b.visible?c-x:c+x,size:b.size}}if(typeof y=="number"){const b=this.viewItems[y],x=Math.floor(b.viewMinimumSize/2);l={index:y,limitDelta:b.visible?u+x:u-x,size:b.size}}this.sashDragState={start:s,current:s,index:n,sizes:i,minDelta:c,maxDelta:u,snapBefore:o,snapAfter:l}})(r)}onSashChange({current:e}){const{index:r,start:n,sizes:s,minDelta:i,maxDelta:o,snapBefore:l,snapAfter:c}=this.sashDragState;this.sashDragState.current=e;const u=e-n;this.resize(r,u,s,void 0,void 0,i,o,l,c),this.distributeEmptySpace(),this.layoutViews()}getSashPosition(e){let r=0;for(let n=0;n<this.sashItems.length;n++)if(r+=this.viewItems[n].size,this.sashItems[n].sash===e)return r;return 0}resize(e,r,n=this.viewItems.map(d=>d.size),s,i,o=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY,c,u){if(e<0||e>=this.viewItems.length)return 0;const d=Il(e,-1,-1),f=Il(e+1,this.viewItems.length);if(i)for(const A of i)RY(d,A),RY(f,A);if(s)for(const A of s)ER(d,A),ER(f,A);const p=d.map(A=>this.viewItems[A]),m=d.map(A=>n[A]),h=f.map(A=>this.viewItems[A]),_=f.map(A=>n[A]),g=d.reduce((A,P)=>A+(this.viewItems[P].minimumSize-n[P]),0),y=d.reduce((A,P)=>A+(this.viewItems[P].maximumSize-n[P]),0),b=f.length===0?Number.POSITIVE_INFINITY:f.reduce((A,P)=>A+(n[P]-this.viewItems[P].minimumSize),0),x=f.length===0?Number.NEGATIVE_INFINITY:f.reduce((A,P)=>A+(n[P]-this.viewItems[P].maximumSize),0),w=Math.max(g,x,o),C=Math.min(b,y,l);let k=!1;if(c){const A=this.viewItems[c.index],P=r>=c.limitDelta;k=P!==A.visible,A.setVisible(P,c.size)}if(!k&&u){const A=this.viewItems[u.index],P=r<u.limitDelta;k=P!==A.visible,A.setVisible(P,u.size)}if(k)return this.resize(e,r,n,s,i,o,l);for(let A=0,P=r=wc(r,w,C);A<p.length;A++){const T=p[A],j=wc(m[A]+P,T.minimumSize,T.maximumSize);P-=j-m[A],T.size=j}for(let A=0,P=r;A<h.length;A++){const T=h[A],j=wc(_[A]-P,T.minimumSize,T.maximumSize);P+=j-_[A],T.size=j}return r}distributeEmptySpace(e){const r=this.viewItems.reduce((u,d)=>u+d.size,0);let n=this.size-r;const s=Il(0,this.viewItems.length),i=[],o=s.filter(u=>this.viewItems[u].priority===Ul.Low),l=s.filter(u=>this.viewItems[u].priority===Ul.Normal),c=s.filter(u=>this.viewItems[u].priority===Ul.High);i.push(...c,...l,...o),typeof e=="number"&&ER(i,e);for(let u=0;n!==0&&u<i.length;u++){const d=this.viewItems[i[u]],f=wc(d.size+n,d.minimumSize,d.maximumSize);n-=f-d.size,d.size=f}}layoutViews(){var e;this.contentSize=this.viewItems.reduce((n,s)=>n+s.size,0);let r=0;for(const n of this.viewItems)n.layout(r),r+=n.size;(e=this.onDidChange)!=null&&e.call(this,this.viewItems.map(n=>n.size)),this.sashItems.forEach(n=>n.sash.layout()),this.updateSashEnablement()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(e=>e.size/this.contentSize))}updateSashEnablement(){let e=!1;const r=this.viewItems.map(c=>e=c.size-c.minimumSize>0||e);e=!1;const n=this.viewItems.map(c=>e=c.maximumSize-c.size>0||e),s=[...this.viewItems].reverse();e=!1;const i=s.map(c=>e=c.size-c.minimumSize>0||e).reverse();e=!1;const o=s.map(c=>e=c.maximumSize-c.size>0||e).reverse();let l=0;for(let c=0;c<this.sashItems.length;c++){const{sash:u}=this.sashItems[c];l+=this.viewItems[c].size;const d=!(r[c]&&o[c+1]),f=!(n[c]&&i[c+1]);if(d&&f){const p=Il(c,-1,-1),m=Il(c+1,this.viewItems.length),h=this.findFirstSnapIndex(p),_=this.findFirstSnapIndex(m),g=typeof h=="number"&&!this.viewItems[h].visible,y=typeof _=="number"&&!this.viewItems[_].visible;g&&i[c]&&(l>0||this.startSnappingEnabled)?u.state=rl.Minimum:y&&r[c]&&(l<this.contentSize||this.endSnappingEnabled)?u.state=rl.Maximum:u.state=rl.Disabled}else u.state=d&&!f?rl.Minimum:!d&&f?rl.Maximum:rl.Enabled}}findFirstSnapIndex(e){for(const r of e){const n=this.viewItems[r];if(n.visible&&n.snap)return r}for(const r of e){const n=this.viewItems[r];if(n.visible&&n.maximumSize-n.minimumSize>0)return;if(!n.visible&&n.snap)return r}}},Vg=class{constructor(e){this.size=void 0,this.size=e}getPreferredSize(){return this.size}},OY=class{constructor(e,r){this.proportion=void 0,this.layoutService=void 0,this.proportion=e,this.layoutService=r}getPreferredSize(){return this.proportion*this.layoutService.getSize()}},A2=class{getPreferredSize(){}},LY=class{get preferredSize(){return this.layoutStrategy.getPreferredSize()}set preferredSize(e){if(typeof e=="number")this.layoutStrategy=new Vg(e);else if(typeof e=="string"){const r=e.trim();if(C2(r,"%")){const n=Number(r.slice(0,-1))/100;this.layoutStrategy=new OY(n,this.layoutService)}else if(C2(r,"px")){const n=Number(r.slice(0,-2))/100;this.layoutStrategy=new Vg(n)}else if(typeof Number.parseFloat(r)=="number"){const n=Number.parseFloat(r);this.layoutStrategy=new Vg(n)}else this.layoutStrategy=new A2}else this.layoutStrategy=new A2}constructor(e,r){var n;if(this.minimumSize=0,this.maximumSize=Number.POSITIVE_INFINITY,this.element=void 0,this.priority=void 0,this.snap=void 0,this.layoutService=void 0,this.layoutStrategy=void 0,this.layoutService=e,this.element=r.element,this.minimumSize=typeof r.minimumSize=="number"?r.minimumSize:30,this.maximumSize=typeof r.maximumSize=="number"?r.maximumSize:Number.POSITIVE_INFINITY,typeof r.preferredSize=="number")this.layoutStrategy=new Vg(r.preferredSize);else if(typeof r.preferredSize=="string"){const s=r.preferredSize.trim();if(C2(s,"%")){const i=Number(s.slice(0,-1))/100;this.layoutStrategy=new OY(i,this.layoutService)}else if(C2(s,"px")){const i=Number(s.slice(0,-2));this.layoutStrategy=new Vg(i)}else if(typeof Number.parseFloat(s)=="number"){const i=Number.parseFloat(s);this.layoutStrategy=new Vg(i)}else this.layoutStrategy=new A2}else this.layoutStrategy=new A2;this.priority=(n=r.priority)!=null?n:Ul.Normal,this.snap=typeof r.snap=="boolean"&&r.snap}layout(e){}};function NY(t){return t.minSize!==void 0||t.maxSize!==void 0||t.preferredSize!==void 0||t.priority!==void 0||t.visible!==void 0}const _N=I.forwardRef(({className:t,children:e},r)=>Yn.createElement("div",{ref:r,className:J6("split-view-view",rle,t)},e));_N.displayName="Allotment.Pane";const cle=I.forwardRef(({children:t,className:e,id:r,maxSize:n=1/0,minSize:s=30,proportionalLayout:i=!0,separator:o=!0,sizes:l,defaultSizes:c=l,snap:u=!1,vertical:d=!1,onChange:f,onReset:p,onVisibleChange:m,onDragStart:h,onDragEnd:_},g)=>{const y=I.useRef(null),b=I.useRef([]),x=I.useRef(new Map),w=I.useRef(null),C=I.useRef(new Map),k=I.useRef(new yVe),A=I.useRef([]),[P,T]=I.useState(!1),j=I.useMemo(()=>Yn.Children.toArray(t).filter(Yn.isValidElement),[t]),R=I.useCallback(D=>{var O,N;const F=(O=A.current)==null?void 0:O[D];return typeof F?.preferredSize=="number"&&((N=w.current)!=null&&N.resizeView(D,Math.round(F.preferredSize)),!0)},[]);return I.useImperativeHandle(g,()=>({reset:()=>{if(p)p();else{var D;(D=w.current)==null||D.distributeViewSizes();for(let O=0;O<A.current.length;O++)R(O)}},resize:D=>{var O;(O=w.current)==null||O.resizeViews(D)}})),MY(()=>{let D=!0;c&&C.current.size!==c.length&&(D=!1,console.warn(`Expected ${c.length} children based on defaultSizes but found ${C.current.size}`)),D&&c&&(b.current=j.map(F=>F.key));const O=bb({orientation:d?Vl.Vertical:Vl.Horizontal,proportionalLayout:i},D&&c&&{descriptor:{size:c.reduce((F,U)=>F+U,0),views:c.map((F,U)=>{var z,H,W,K;const q=x.current.get(b.current[U]),X=new LY(k.current,bb({element:document.createElement("div"),minimumSize:(z=q?.minSize)!=null?z:s,maximumSize:(H=q?.maxSize)!=null?H:n,priority:(W=q?.priority)!=null?W:Ul.Normal},q?.preferredSize&&{preferredSize:q?.preferredSize},{snap:(K=q?.snap)!=null?K:u}));return A.current.push(X),{container:[...C.current.values()][U],size:F,view:X}})}});w.current=new jVe(y.current,O,f,h,_),w.current.on("sashDragStart",()=>{var F;(F=y.current)==null||F.classList.add("split-view-sash-dragging")}),w.current.on("sashDragEnd",()=>{var F;(F=y.current)==null||F.classList.remove("split-view-sash-dragging")}),w.current.on("sashchange",F=>{if(m&&w.current){const U=j.map(z=>z.key);for(let z=0;z<U.length;z++){const H=x.current.get(U[z]);H?.visible!==void 0&&H.visible!==w.current.isViewVisible(z)&&m(z,w.current.isViewVisible(z))}}}),w.current.on("sashreset",F=>{if(p)p();else{var U;if(R(F)||R(F+1))return;(U=w.current)==null||U.distributeViewSizes()}});const N=w.current;return()=>{N.dispose()}},[]),MY(()=>{if(P){const Q=j.map(de=>de.key),Y=[...b.current],Z=Q.filter(de=>!b.current.includes(de)),re=Q.filter(de=>b.current.includes(de)),fe=b.current.map(de=>!Q.includes(de));for(let de=fe.length-1;de>=0;de--){var D;fe[de]&&((D=w.current)!=null&&D.removeView(de),Y.splice(de,1),A.current.splice(de,1))}for(const de of Z){var O,N,F,U,z;const se=x.current.get(de),le=new LY(k.current,bb({element:document.createElement("div"),minimumSize:(O=se?.minSize)!=null?O:s,maximumSize:(N=se?.maxSize)!=null?N:n,priority:(F=se?.priority)!=null?F:Ul.Normal},se?.preferredSize&&{preferredSize:se?.preferredSize},{snap:(U=se?.snap)!=null?U:u}));(z=w.current)!=null&&z.addView(C.current.get(de),le,$C.Distribute,Q.findIndex(ee=>ee===de)),Y.splice(Q.findIndex(ee=>ee===de),0,de),A.current.splice(Q.findIndex(ee=>ee===de),0,le)}for(;!uVe(Q,Y);)for(const[de,se]of Q.entries()){const le=Y.findIndex(ee=>ee===se);if(le!==de){var H;(H=w.current)==null||H.moveView(C.current.get(se),le,de);const ee=Y[le];Y.splice(le,1),Y.splice(de,0,ee);break}}for(const de of Z){var W;const se=Q.findIndex(ee=>ee===de),le=A.current[se].preferredSize;le!==void 0&&((W=w.current)==null||W.resizeView(se,le))}for(const de of[...Z,...re]){var K,q;const se=x.current.get(de),le=Q.findIndex(ee=>ee===de);se&&NY(se)&&se.visible!==void 0&&((K=w.current)==null?void 0:K.isViewVisible(le))!==se.visible&&((q=w.current)==null||q.setViewVisible(le,se.visible))}for(const de of re){const se=x.current.get(de),le=Q.findIndex(ee=>ee===de);if(se&&NY(se)){var X;se.preferredSize!==void 0&&A.current[le].preferredSize!==se.preferredSize&&(A.current[le].preferredSize=se.preferredSize);let ee=!1;se.minSize!==void 0&&A.current[le].minimumSize!==se.minSize&&(A.current[le].minimumSize=se.minSize,ee=!0),se.maxSize!==void 0&&A.current[le].maximumSize!==se.maxSize&&(A.current[le].maximumSize=se.maxSize,ee=!0),ee&&((X=w.current)==null||X.layout())}}(Z.length>0||fe.length>0)&&(b.current=Q)}},[j,P,n,s,u]),I.useEffect(()=>{w.current&&(w.current.onDidChange=f)},[f]),I.useEffect(()=>{w.current&&(w.current.onDidDragStart=h)},[h]),I.useEffect(()=>{w.current&&(w.current.onDidDragEnd=_)},[_]),dVe({ref:y,onResize:({width:D,height:O})=>{var N;D&&O&&((N=w.current)!=null&&N.layout(d?O:D),k.current.setSize(d?O:D),T(!0))}}),I.useEffect(()=>{ile&&TVe(20)},[]),Yn.createElement("div",{ref:y,className:J6("split-view",d?"split-view-vertical":"split-view-horizontal",{"split-view-separator-border":o},fVe,d?hVe:gVe,{[_Ve]:o},e),id:r},Yn.createElement("div",{className:J6("split-view-container",mVe)},Yn.Children.toArray(t).map(D=>{if(!Yn.isValidElement(D))return null;const O=D.key;return D.type.displayName==="Allotment.Pane"?(x.current.set(O,D.props),Yn.cloneElement(D,{key:O,ref:N=>{const F=D.ref;F&&(F.current=N),N?C.current.set(O,N):C.current.delete(O)}})):Yn.createElement(_N,{key:O,ref:N=>{N?C.current.set(O,N):C.current.delete(O)}},D)})))});function TVe(t){const e=wc(t,4,20),r=wc(t,1,8);document.documentElement.style.setProperty("--sash-size",e+"px"),document.documentElement.style.setProperty("--sash-hover-size",r+"px"),(function(n){ole=n,ale.emit("onDidChangeGlobalSize",n)})(e)}cle.displayName="Allotment";var $R=Object.assign(cle,{Pane:_N});function ts(t){return typeof t!="object"||t===null||typeof t.lastModified=="number"&&typeof File<"u"&&t instanceof File||typeof t.getMonth=="function"&&typeof Date<"u"&&t instanceof Date?!1:!Array.isArray(t)}function EVe(t){return t.additionalItems===!0&&console.warn("additionalItems=true is currently not supported"),ts(t.additionalItems)}function FY(t){if(t==="")return;if(t===null)return null;if(/\.$/.test(t)||/\.0$/.test(t)||/\.\d*0$/.test(t))return t;const e=Number(t);return typeof e=="number"&&!Number.isNaN(e)?e:t}const Uh="__additional_property",e$="additionalProperties",Lv="allOf",Tc="anyOf",zd="const",RVe="default",HA="dependencies",IVe="enum",aa="__errors",cp="$id",DVe="if",gp="items",$Ve="_$junk_option_schema_id$_",Yw="$name",ll="oneOf",vi="properties",OVe="required",OC="submitButtonOptions",Hi="$ref",vN="__rjsf_additionalProperties",ule="__rjsf_rootSchema",LVe="ui:field",yN="ui:widget",xb="ui:options",NVe="ui:globalOptions";function Dn(t={},e={}){return Object.keys(t).filter(r=>r.indexOf("ui:")===0).reduce((r,n)=>{const s=t[n];return n===yN&&ts(s)?(console.error("Setting options via ui:widget object is no longer supported, use ui:options instead"),r):n===xb&&ts(s)?{...r,...s}:{...r,[n.substring(3)]:s}},{...e})}function bN(t,e={},r){if(!t.additionalProperties)return!1;const{expandable:n=!0}=Dn(e);return n===!1?n:t.maxProperties!==void 0&&r?Object.keys(r).length<t.maxProperties:!0}function LC(t){const e={[aa]:[],addError(r){this[aa].push(r)}};if(Array.isArray(t))return t.reduce((r,n,s)=>({...r,[s]:LC(n)}),e);if(ph(t)){const r=t;return Object.keys(r).reduce((n,s)=>({...n,[s]:LC(r[s])}),e)}return e}var FVe="__lodash_hash_undefined__";function UVe(t){return this.__data__.set(t,FVe),this}function BVe(t){return this.__data__.has(t)}function G_(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new khe;++e<r;)this.add(t[e])}G_.prototype.add=G_.prototype.push=UVe;G_.prototype.has=BVe;function zVe(t,e){for(var r=-1,n=t==null?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function xN(t,e){return t.has(e)}var qVe=1,VVe=2;function dle(t,e,r,n,s,i){var o=r&qVe,l=t.length,c=e.length;if(l!=c&&!(o&&c>l))return!1;var u=i.get(t),d=i.get(e);if(u&&d)return u==e&&d==t;var f=-1,p=!0,m=r&VVe?new G_:void 0;for(i.set(t,e),i.set(e,t);++f<l;){var h=t[f],_=e[f];if(n)var g=o?n(_,h,f,e,t,i):n(h,_,f,t,e,i);if(g!==void 0){if(g)continue;p=!1;break}if(m){if(!zVe(e,function(y,b){if(!xN(m,b)&&(h===y||s(h,y,r,n,i)))return m.push(b)})){p=!1;break}}else if(!(h===_||s(h,_,r,n,i))){p=!1;break}}return i.delete(t),i.delete(e),p}function HVe(t){var e=-1,r=Array(t.size);return t.forEach(function(n,s){r[++e]=[s,n]}),r}function SN(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var GVe=1,WVe=2,YVe="[object Boolean]",KVe="[object Date]",QVe="[object Error]",ZVe="[object Map]",XVe="[object Number]",JVe="[object RegExp]",eHe="[object Set]",tHe="[object String]",rHe="[object Symbol]",nHe="[object ArrayBuffer]",sHe="[object DataView]",UY=sC?sC.prototype:void 0,OR=UY?UY.valueOf:void 0;function iHe(t,e,r,n,s,i,o){switch(r){case sHe:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case nHe:return!(t.byteLength!=e.byteLength||!i(new ZF(t),new ZF(e)));case YVe:case KVe:case XVe:return K$(+t,+e);case QVe:return t.name==e.name&&t.message==e.message;case JVe:case tHe:return t==e+"";case ZVe:var l=HVe;case eHe:var c=n&GVe;if(l||(l=SN),t.size!=e.size&&!c)return!1;var u=o.get(t);if(u)return u==e;n|=WVe,o.set(t,e);var d=dle(l(t),l(e),n,s,i,o);return o.delete(t),d;case rHe:if(OR)return OR.call(t)==OR.call(e)}return!1}var oHe=1,aHe=Object.prototype,lHe=aHe.hasOwnProperty;function cHe(t,e,r,n,s,i){var o=r&oHe,l=XF(t),c=l.length,u=XF(e),d=u.length;if(c!=d&&!o)return!1;for(var f=c;f--;){var p=l[f];if(!(o?p in e:lHe.call(e,p)))return!1}var m=i.get(t),h=i.get(e);if(m&&h)return m==e&&h==t;var _=!0;i.set(t,e),i.set(e,t);for(var g=o;++f<c;){p=l[f];var y=t[p],b=e[p];if(n)var x=o?n(b,y,p,e,t,i):n(y,b,p,t,e,i);if(!(x===void 0?y===b||s(y,b,r,n,i):x)){_=!1;break}g||(g=p=="constructor")}if(_&&!g){var w=t.constructor,C=e.constructor;w!=C&&"constructor"in t&&"constructor"in e&&!(typeof w=="function"&&w instanceof w&&typeof C=="function"&&C instanceof C)&&(_=!1)}return i.delete(t),i.delete(e),_}var uHe=1,BY="[object Arguments]",zY="[object Array]",k2="[object Object]",dHe=Object.prototype,qY=dHe.hasOwnProperty;function fHe(t,e,r,n,s,i){var o=Da(t),l=Da(e),c=o?zY:LD(t),u=l?zY:LD(e);c=c==BY?k2:c,u=u==BY?k2:u;var d=c==k2,f=u==k2,p=c==u;if(p&&Rb(t)){if(!Rb(e))return!1;o=!0,d=!1}if(p&&!d)return i||(i=new ab),o||U3(t)?dle(t,e,r,n,s,i):iHe(t,e,c,r,n,s,i);if(!(r&uHe)){var m=d&&qY.call(t,"__wrapped__"),h=f&&qY.call(e,"__wrapped__");if(m||h){var _=m?t.value():t,g=h?e.value():e;return i||(i=new ab),s(_,g,r,n,i)}}return p?(i||(i=new ab),cHe(t,e,r,n,s,i)):!1}function GA(t,e,r,n,s){return t===e?!0:t==null||e==null||!Ib(t)&&!Ib(e)?t!==t&&e!==e:fHe(t,e,r,n,GA,s)}function pHe(t,e,r){r=typeof r=="function"?r:void 0;var n=r?r(t,e):void 0;return n===void 0?GA(t,e,void 0,r):!!n}function Bs(t,e){return pHe(t,e,(r,n)=>{if(typeof r=="function"&&typeof n=="function")return!0})}var mHe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hHe=/^\w*$/;function wN(t,e){if(Da(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||Xee(t)?!0:hHe.test(t)||!mHe.test(t)||e!=null&&t in Object(e)}function Nv(t,e){return Da(t)?t:wN(t,e)?[t]:Mhe(Jee(t))}function WA(t,e){e=Nv(e,t);for(var r=0,n=e.length;t!=null&&r<n;)t=t[ov(e[r++])];return r&&r==n?t:void 0}function $r(t,e,r){var n=t==null?void 0:WA(t,e);return n===void 0?r:n}var gHe="[object Map]",_He="[object Set]",vHe=Object.prototype,yHe=vHe.hasOwnProperty;function W_(t){if(t==null)return!0;if(B3(t)&&(Da(t)||typeof t=="string"||typeof t.splice=="function"||Rb(t)||U3(t)||Db(t)))return!t.length;var e=LD(t);if(e==gHe||e==_He)return!t.size;if(Phe(t))return!jhe(t).length;for(var r in t)if(yHe.call(t,r))return!1;return!0}var My={},VY;function bHe(){if(VY)return My;VY=1;var t=/~/,e=/~[01]/g;function r(u){switch(u){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+u)}function n(u){return t.test(u)?u.replace(e,r):u}function s(u,d,f){for(var p,m,h=1,_=d.length;h<_;){if(d[h]==="constructor"||d[h]==="prototype"||d[h]==="__proto__")return u;if(p=n(d[h++]),m=_>h,typeof u[p]>"u"&&(Array.isArray(u)&&p==="-"&&(p=u.length),m&&(d[h]!==""&&d[h]<1/0||d[h]==="-"?u[p]=[]:u[p]={})),!m)break;u=u[p]}var g=u[p];return f===void 0?delete u[p]:u[p]=f,g}function i(u){if(typeof u=="string"){if(u=u.split("/"),u[0]==="")return u;throw new Error("Invalid JSON pointer.")}else if(Array.isArray(u)){for(const d of u)if(typeof d!="string"&&typeof d!="number")throw new Error("Invalid JSON pointer. Must be of type string or number.");return u}throw new Error("Invalid JSON pointer.")}function o(u,d){if(typeof u!="object")throw new Error("Invalid input object.");d=i(d);var f=d.length;if(f===1)return u;for(var p=1;p<f;){if(u=u[n(d[p++])],f===p)return u;if(typeof u!="object"||u===null)return}}function l(u,d,f){if(typeof u!="object")throw new Error("Invalid input object.");if(d=i(d),d.length===0)throw new Error("Invalid JSON pointer for set.");return s(u,d,f)}function c(u){var d=i(u);return{get:function(f){return o(f,d)},set:function(f,p){return l(f,d,p)}}}return My.get=o,My.set=l,My.compile=c,My}var xHe=bHe();const SHe=Pi(xHe);function wHe(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function CHe(t,e,r){var n=-1,s=t.length;e<0&&(e=-e>s?0:s+e),r=r>s?s:r,r<0&&(r+=s),s=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(s);++n<s;)i[n]=t[n+e];return i}function AHe(t,e){return e.length<2?t:WA(t,CHe(e,0,-1))}function fle(t,e){return e=Nv(e,t),t=AHe(t,e),t==null||delete t[ov(wHe(e))]}function kHe(t){return ph(t)?void 0:t}var HY=sC?sC.isConcatSpreadable:void 0;function MHe(t){return Da(t)||Db(t)||!!(HY&&t&&t[HY])}function K0(t,e,r,n,s){var i=-1,o=t.length;for(r||(r=MHe),s||(s=[]);++i<o;){var l=t[i];e>0&&r(l)?e>1?K0(l,e-1,r,n,s):The(s,l):n||(s[s.length]=l)}return s}function PHe(t){var e=t==null?0:t.length;return e?K0(t,1):[]}function jHe(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var GY=Math.max;function ple(t,e,r){return e=GY(e===void 0?t.length-1:e,0),function(){for(var n=arguments,s=-1,i=GY(n.length-e,0),o=Array(i);++s<i;)o[s]=n[e+s];s=-1;for(var l=Array(e+1);++s<e;)l[s]=n[s];return l[e]=r(o),jHe(t,this,l)}}function THe(t){return function(){return t}}function YA(t){return t}var EHe=JF?function(t,e){return JF(t,"toString",{configurable:!0,enumerable:!1,value:THe(e),writable:!0})}:YA,RHe=800,IHe=16,DHe=Date.now;function $He(t){var e=0,r=0;return function(){var n=DHe(),s=IHe-(n-r);if(r=n,s>0){if(++e>=RHe)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var mle=$He(EHe);function hle(t){return mle(ple(t,void 0,PHe),t+"")}var OHe=1,LHe=2,NHe=4,NC=hle(function(t,e){var r={};if(t==null)return r;var n=!1;e=ete(e,function(i){return i=Nv(i,t),n||(n=i.length>1),i}),tte(t,rte(t),r),n&&(r=Ehe(r,OHe|LHe|NHe,kHe));for(var s=e.length;s--;)fle(r,e[s]);return r});function CN(t,e){const r=e[t];return[NC(e,[t]),r]}function gle(t,e={},r=[]){const n=t||"";let s;if(n.startsWith("#"))s=decodeURIComponent(n.substring(1));else throw new Error(`Could not find a definition for ${t}.`);const i=SHe.get(e,s);if(i===void 0)throw new Error(`Could not find a definition for ${t}.`);const o=i[Hi];if(o){if(r.includes(o)){if(r.length===1)throw new Error(`Definition for ${t} is a circular reference`);const[d,...f]=r,p=[...f,n,d].join(" -> ");throw new Error(`Definition for ${d} contains a circular reference through ${p}`)}const[l,c]=CN(Hi,i),u=gle(c,e,[...r,n]);return Object.keys(l).length>0?{...l,...u}:u}return i}function _le(t,e={}){return gle(t,e,[])}var FHe=Object.prototype,UHe=FHe.hasOwnProperty;function BHe(t,e){return t!=null&&UHe.call(t,e)}function vle(t,e,r){e=Nv(e,t);for(var n=-1,s=e.length,i=!1;++n<s;){var o=ov(e[n]);if(!(i=t!=null&&r(t,o)))break;t=t[o]}return i||++n!=s?i:(s=t==null?0:t.length,!!s&&Rhe(s)&&Q$(o,s)&&(Da(t)||Db(t)))}function ia(t,e){return t!=null&&vle(t,e,BHe)}var zHe="[object Number]";function yle(t){return typeof t=="number"||Ib(t)&&nte(t)==zHe}var qHe="[object String]";function KA(t){return typeof t=="string"||!Da(t)&&Ib(t)&&nte(t)==qHe}function VHe(t,e,r,n){var s=-1,i=t==null?0:t.length;for(n&&i&&(r=t[++s]);++s<i;)r=e(r,t[s],s,t);return r}function HHe(t){return function(e,r,n){for(var s=-1,i=Object(e),o=n(e),l=o.length;l--;){var c=o[++s];if(r(i[c],c,i)===!1)break}return e}}var ble=HHe();function xle(t,e){return t&&ble(t,e,Fm)}function GHe(t,e){return function(r,n){if(r==null)return r;if(!B3(r))return t(r,n);for(var s=r.length,i=-1,o=Object(r);++i<s&&n(o[i],i,o)!==!1;);return r}}var Sle=GHe(xle),WHe=1,YHe=2;function KHe(t,e,r,n){var s=r.length,i=s;if(t==null)return!i;for(t=Object(t);s--;){var o=r[s];if(o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++s<i;){o=r[s];var l=o[0],c=t[l],u=o[1];if(o[2]){if(c===void 0&&!(l in t))return!1}else{var d=new ab,f;if(!(f===void 0?GA(u,c,WHe|YHe,n,d):f))return!1}}return!0}function wle(t){return t===t&&!Ci(t)}function QHe(t){for(var e=Fm(t),r=e.length;r--;){var n=e[r],s=t[n];e[r]=[n,s,wle(s)]}return e}function Cle(t,e){return function(r){return r==null?!1:r[t]===e&&(e!==void 0||t in Object(r))}}function ZHe(t){var e=QHe(t);return e.length==1&&e[0][2]?Cle(e[0][0],e[0][1]):function(r){return r===t||KHe(r,t,e)}}function XHe(t,e){return t!=null&&e in Object(t)}function Ale(t,e){return t!=null&&vle(t,e,XHe)}var JHe=1,eGe=2;function tGe(t,e){return wN(t)&&wle(e)?Cle(ov(t),e):function(r){var n=$r(r,t);return n===void 0&&n===e?Ale(r,t):GA(e,n,JHe|eGe)}}function rGe(t){return function(e){return e?.[t]}}function nGe(t){return function(e){return WA(e,t)}}function sGe(t){return wN(t)?rGe(ov(t)):nGe(t)}function AN(t){return typeof t=="function"?t:t==null?YA:typeof t=="object"?Da(t)?tGe(t[0],t[1]):ZHe(t):sGe(t)}function iGe(t,e,r,n,s){return s(t,function(i,o,l){r=n?(n=!1,i):e(r,i,o,l)}),r}function oGe(t,e,r){var n=Da(t)?VHe:iGe,s=arguments.length<3;return n(t,AN(e),r,s,Sle)}function kle(t){return typeof t=="function"?t:YA}var aGe=/\s/;function lGe(t){for(var e=t.length;e--&&aGe.test(t.charAt(e)););return e}var cGe=/^\s+/;function uGe(t){return t&&t.slice(0,lGe(t)+1).replace(cGe,"")}var WY=NaN,dGe=/^[-+]0x[0-9a-f]+$/i,fGe=/^0b[01]+$/i,pGe=/^0o[0-7]+$/i,mGe=parseInt;function hGe(t){if(typeof t=="number")return t;if(Xee(t))return WY;if(Ci(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Ci(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=uGe(t);var r=fGe.test(t);return r||pGe.test(t)?mGe(t.slice(2),r?2:8):dGe.test(t)?WY:+t}var YY=1/0,gGe=17976931348623157e292;function _Ge(t){if(!t)return t===0?t:0;if(t=hGe(t),t===YY||t===-YY){var e=t<0?-1:1;return e*gGe}return t===t?t:0}function vGe(t){var e=_Ge(t),r=e%1;return e===e?r?e-r:e:0}var yGe=9007199254740991,LR=4294967295,bGe=Math.min;function Mle(t,e){if(t=vGe(t),t<1||t>yGe)return[];var r=LR,n=bGe(t,LR);e=kle(e),t-=LR;for(var s=Ihe(n,e);++r<t;)e(r);return s}function Ple(t,e,r){var n;if(t&&r){const s=$r(t,r);if(s===void 0)return;for(let i=0;i<e.length;i++){const o=e[i],l=$r(o,[vi,r],{});if(!(l.type==="object"||l.type==="array")&&(l.const===s||!((n=l.enum)===null||n===void 0)&&n.includes(s)))return i}}}function jle(t,e,r,n,s){if(e===void 0)return 0;const i=Ple(e,r,s);if(yle(i))return i;for(let o=0;o<r.length;o++){const l=r[o];if(s&&ia(l,[vi,s])){const c=$r(e,s),u=$r(l,[vi,s],{});if(t.isValid(u,c,n))return o}else if(l[vi]){const c={anyOf:Object.keys(l[vi]).map(d=>({required:[d]}))};let u;if(l.anyOf){const{...d}=l;d.allOf?d.allOf=d.allOf.slice():d.allOf=[],d.allOf.push(c),u=d}else u=Object.assign({},l,c);if(delete u.required,t.isValid(u,e,n))return o}else if(t.isValid(l,e,n))return o}return 0}function kN(t,e,r,n,s){return jle(t,e,r,n,s)}function MN(t,e,r,n){if(!Ci(t))return t;e=Nv(e,t);for(var s=-1,i=e.length,o=i-1,l=t;l!=null&&++s<i;){var c=ov(e[s]),u=r;if(c==="__proto__"||c==="constructor"||c==="prototype")return t;if(s!=o){var d=l[c];u=n?n(d,c,l):void 0,u===void 0&&(u=Ci(d)?d:Q$(e[s+1])?[]:{})}Dhe(l,c,u),l=l[c]}return t}function yo(t,e,r){return t==null?t:MN(t,e,r)}function xGe(t,e,r){var n=Da(t),s=n||Rb(t)||U3(t);if(e=AN(e),r==null){var i=t&&t.constructor;s?r=n?new i:[]:Ci(t)?r=ste(i)?$he(Ohe(t)):{}:r={}}return(s?ite:xle)(t,function(o,l,c){return e(r,o,l,c)}),r}function t$(t,e,r){(r!==void 0&&!K$(t[e],r)||r===void 0&&!(e in t))&&Lhe(t,e,r)}function FC(t){return Ib(t)&&B3(t)}function r$(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}function SGe(t){return tte(t,ote(t))}function wGe(t,e,r,n,s,i,o){var l=r$(t,r),c=r$(e,r),u=o.get(c);if(u){t$(t,r,u);return}var d=i?i(l,c,r+"",t,e,o):void 0,f=d===void 0;if(f){var p=Da(c),m=!p&&Rb(c),h=!p&&!m&&U3(c);d=c,p||m||h?Da(l)?d=l:FC(l)?d=Nhe(l):m?(f=!1,d=Fhe(c,!0)):h?(f=!1,d=Uhe(c,!0)):d=[]:ph(c)||Db(c)?(d=l,Db(l)?d=SGe(l):(!Ci(l)||ste(l))&&(d=Bhe(c))):f=!1}f&&(o.set(c,d),s(d,c,n,i,o),o.delete(c)),t$(t,r,d)}function Tle(t,e,r,n,s){t!==e&&ble(e,function(i,o){if(s||(s=new ab),Ci(i))wGe(t,e,o,r,Tle,n,s);else{var l=n?n(r$(t,o),i,o+"",t,e,s):void 0;l===void 0&&(l=i),t$(t,o,l)}},ote)}function PN(t,e){return mle(ple(t,e,YA),t+"")}function CGe(t,e,r){if(!Ci(r))return!1;var n=typeof e;return(n=="number"?B3(r)&&Q$(e,r.length):n=="string"&&e in r)?K$(r[e],t):!1}function AGe(t){return PN(function(e,r){var n=-1,s=r.length,i=s>1?r[s-1]:void 0,o=s>2?r[2]:void 0;for(i=t.length>3&&typeof i=="function"?(s--,i):void 0,o&&CGe(r[0],r[1],o)&&(i=s<3?void 0:i,s=1),e=Object(e);++n<s;){var l=r[n];l&&t(e,l,n,i)}return e})}var kGe=AGe(function(t,e,r){Tle(t,e,r)}),MGe=1/0;function PGe(t){var e=t==null?0:t.length;return e?K0(t,MGe):[]}function jGe(t,e,r,n){for(var s=t.length,i=r+-1;++i<s;)if(e(t[i],i,t))return i;return-1}function TGe(t){return t!==t}function EGe(t,e,r){for(var n=r-1,s=t.length;++n<s;)if(t[n]===e)return n;return-1}function RGe(t,e,r){return e===e?EGe(t,e,r):jGe(t,TGe,r)}function Ele(t,e){var r=t==null?0:t.length;return!!r&&RGe(t,e,0)>-1}function IGe(){}var DGe=1/0,$Ge=IP&&1/SN(new IP([,-0]))[1]==DGe?function(t){return new IP(t)}:IGe,OGe=200;function Rle(t,e,r){var n=-1,s=Ele,i=t.length,o=!0,l=[],c=l;if(i>=OGe){var u=$Ge(t);if(u)return SN(u);o=!1,s=xN,c=new G_}else c=l;e:for(;++n<i;){var d=t[n],f=d;if(d=d!==0?d:0,o&&f===f){for(var p=c.length;p--;)if(c[p]===f)continue e;l.push(d)}else s(c,f,r)||(c!==l&&c.push(f),l.push(d))}return l}function LGe(t){return t&&t.length?Rle(t):[]}var NR,KY;function Ile(){if(KY)return NR;KY=1;function t(e,r){for(var n=-1,s=e==null?0:e.length;++n<s&&r(e[n],n,e)!==!1;);return e}return NR=t,NR}var FR,QY;function NGe(){if(QY)return FR;QY=1;var t=$v(),e=dte();function r(n,s){return n&&t(s,e(s),n)}return FR=r,FR}var UR,ZY;function FGe(){if(ZY)return UR;ZY=1;var t=$v(),e=Ov();function r(n,s){return n&&t(s,e(s),n)}return UR=r,UR}var BR,XY;function UGe(){if(XY)return BR;XY=1;var t=$v(),e=fte();function r(n,s){return t(n,e(n),s)}return BR=r,BR}var zR,JY;function Dle(){if(JY)return zR;JY=1;var t=pte(),e=dN(),r=fte(),n=ege(),s=Object.getOwnPropertySymbols,i=s?function(o){for(var l=[];o;)t(l,r(o)),o=e(o);return l}:n;return zR=i,zR}var qR,eK;function BGe(){if(eK)return qR;eK=1;var t=$v(),e=Dle();function r(n,s){return t(n,e(n),s)}return qR=r,qR}var VR,tK;function $le(){if(tK)return VR;tK=1;var t=tge(),e=Dle(),r=Ov();function n(s){return t(s,r,e)}return VR=n,VR}var HR,rK;function zGe(){if(rK)return HR;rK=1;var t=Object.prototype,e=t.hasOwnProperty;function r(n){var s=n.length,i=new n.constructor(s);return s&&typeof n[0]=="string"&&e.call(n,"index")&&(i.index=n.index,i.input=n.input),i}return HR=r,HR}var GR,nK;function qGe(){if(nK)return GR;nK=1;var t=cN();function e(r,n){var s=n?t(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.byteLength)}return GR=e,GR}var WR,sK;function VGe(){if(sK)return WR;sK=1;var t=/\w*$/;function e(r){var n=new r.constructor(r.source,t.exec(r));return n.lastIndex=r.lastIndex,n}return WR=e,WR}var YR,iK;function HGe(){if(iK)return YR;iK=1;var t=mte(),e=t?t.prototype:void 0,r=e?e.valueOf:void 0;function n(s){return r?Object(r.call(s)):{}}return YR=n,YR}var KR,oK;function GGe(){if(oK)return KR;oK=1;var t=cN(),e=qGe(),r=VGe(),n=HGe(),s=Oae(),i="[object Boolean]",o="[object Date]",l="[object Map]",c="[object Number]",u="[object RegExp]",d="[object Set]",f="[object String]",p="[object Symbol]",m="[object ArrayBuffer]",h="[object DataView]",_="[object Float32Array]",g="[object Float64Array]",y="[object Int8Array]",b="[object Int16Array]",x="[object Int32Array]",w="[object Uint8Array]",C="[object Uint8ClampedArray]",k="[object Uint16Array]",A="[object Uint32Array]";function P(T,j,R){var D=T.constructor;switch(j){case m:return t(T);case i:case o:return new D(+T);case h:return e(T,R);case _:case g:case y:case b:case x:case w:case C:case k:case A:return s(T,R);case l:return new D;case c:case f:return new D(T);case u:return r(T);case d:return new D;case p:return n(T)}}return KR=P,KR}var QR,aK;function WGe(){if(aK)return QR;aK=1;var t=V3(),e=lv(),r="[object Map]";function n(s){return e(s)&&t(s)==r}return QR=n,QR}var ZR,lK;function YGe(){if(lK)return ZR;lK=1;var t=WGe(),e=jh(),r=rO(),n=r&&r.isMap,s=n?e(n):t;return ZR=s,ZR}var XR,cK;function KGe(){if(cK)return XR;cK=1;var t=V3(),e=lv(),r="[object Set]";function n(s){return e(s)&&t(s)==r}return XR=n,XR}var JR,uK;function QGe(){if(uK)return JR;uK=1;var t=KGe(),e=jh(),r=rO(),n=r&&r.isSet,s=n?e(n):t;return JR=s,JR}var e5,dK;function Ole(){if(dK)return e5;dK=1;var t=ute(),e=Ile(),r=Fae(),n=NGe(),s=FGe(),i=$ae(),o=uN(),l=UGe(),c=BGe(),u=rge(),d=$le(),f=V3(),p=zGe(),m=GGe(),h=Lae(),_=cv(),g=tO(),y=YGe(),b=Qd(),x=QGe(),w=dte(),C=Ov(),k=1,A=2,P=4,T="[object Arguments]",j="[object Array]",R="[object Boolean]",D="[object Date]",O="[object Error]",N="[object Function]",F="[object GeneratorFunction]",U="[object Map]",z="[object Number]",H="[object Object]",W="[object RegExp]",K="[object Set]",q="[object String]",X="[object Symbol]",Q="[object WeakMap]",Y="[object ArrayBuffer]",Z="[object DataView]",re="[object Float32Array]",fe="[object Float64Array]",de="[object Int8Array]",se="[object Int16Array]",le="[object Int32Array]",ee="[object Uint8Array]",J="[object Uint8ClampedArray]",me="[object Uint16Array]",pe="[object Uint32Array]",Se={};Se[T]=Se[j]=Se[Y]=Se[Z]=Se[R]=Se[D]=Se[re]=Se[fe]=Se[de]=Se[se]=Se[le]=Se[U]=Se[z]=Se[H]=Se[W]=Se[K]=Se[q]=Se[X]=Se[ee]=Se[J]=Se[me]=Se[pe]=!0,Se[O]=Se[N]=Se[Q]=!1;function ve(xe,qe,Le,Te,je,Ge){var nt,Re=qe&k,we=qe&A,Me=qe&P;if(Le&&(nt=je?Le(xe,Te,je,Ge):Le(xe)),nt!==void 0)return nt;if(!b(xe))return xe;var $e=_(xe);if($e){if(nt=p(xe),!Re)return o(xe,nt)}else{var Ve=f(xe),Ne=Ve==N||Ve==F;if(g(xe))return i(xe,Re);if(Ve==H||Ve==T||Ne&&!je){if(nt=we||Ne?{}:h(xe),!Re)return we?c(xe,s(nt,xe)):l(xe,n(nt,xe))}else{if(!Se[Ve])return je?xe:{};nt=m(xe,Ve,Re)}}Ge||(Ge=new t);var Oe=Ge.get(xe);if(Oe)return Oe;Ge.set(xe,nt),x(xe)?xe.forEach(function(Et){nt.add(ve(Et,qe,Le,Et,xe,Ge))}):y(xe)&&xe.forEach(function(Et,at){nt.set(at,ve(Et,qe,Le,at,xe,Ge))});var ft=Me?we?d:u:we?C:w,Ct=$e?void 0:ft(xe);return e(Ct||xe,function(Et,at){Ct&&(at=Et,Et=xe[at]),r(nt,at,ve(Et,qe,Le,at,xe,Ge))}),nt}return e5=ve,e5}var t5,fK;function ZGe(){if(fK)return t5;fK=1;var t=Ole(),e=1,r=4;function n(s){return t(s,e|r)}return t5=n,t5}var r5,pK;function Lle(){if(pK)return r5;pK=1;var t=nge();function e(r,n){return t(r,n)}return r5=e,r5}var n5,mK;function XGe(){if(mK)return n5;mK=1;var t=mte(),e=eO(),r=cv(),n=t?t.isConcatSpreadable:void 0;function s(i){return r(i)||e(i)||!!(n&&i&&i[n])}return n5=s,n5}var s5,hK;function jN(){if(hK)return s5;hK=1;var t=pte(),e=XGe();function r(n,s,i,o,l){var c=-1,u=n.length;for(i||(i=e),l||(l=[]);++c<u;){var d=n[c];s>0&&i(d)?s>1?r(d,s-1,i,o,l):t(l,d):o||(l[l.length]=d)}return l}return s5=r,s5}var i5,gK;function JGe(){if(gK)return i5;gK=1;var t=av();function e(r,n){return function(s,i){if(s==null)return s;if(!t(s))return r(s,i);for(var o=s.length,l=n?o:-1,c=Object(s);(n?l--:++l<o)&&i(c[l],l,c)!==!1;);return s}}return i5=e,i5}var o5,_K;function Nle(){if(_K)return o5;_K=1;var t=sge(),e=JGe(),r=e(t);return o5=r,o5}var a5,vK;function eWe(){if(vK)return a5;vK=1;var t=Nle(),e=av();function r(n,s){var i=-1,o=e(n)?Array(n.length):[];return t(n,function(l,c,u){o[++i]=s(l,c,u)}),o}return a5=r,a5}var l5,yK;function tWe(){if(yK)return l5;yK=1;function t(e,r){var n=e.length;for(e.sort(r);n--;)e[n]=e[n].value;return e}return l5=t,l5}var c5,bK;function rWe(){if(bK)return c5;bK=1;var t=hte();function e(r,n){if(r!==n){var s=r!==void 0,i=r===null,o=r===r,l=t(r),c=n!==void 0,u=n===null,d=n===n,f=t(n);if(!u&&!f&&!l&&r>n||l&&c&&d&&!u&&!f||i&&c&&d||!s&&d||!o)return 1;if(!i&&!l&&!f&&r<n||f&&s&&o&&!i&&!l||u&&s&&o||!c&&o||!d)return-1}return 0}return c5=e,c5}var u5,xK;function nWe(){if(xK)return u5;xK=1;var t=rWe();function e(r,n,s){for(var i=-1,o=r.criteria,l=n.criteria,c=o.length,u=s.length;++i<c;){var d=t(o[i],l[i]);if(d){if(i>=u)return d;var f=s[i];return d*(f=="desc"?-1:1)}}return r.index-n.index}return u5=e,u5}var d5,SK;function sWe(){if(SK)return d5;SK=1;var t=Th(),e=gte(),r=ige(),n=eWe(),s=tWe(),i=jh(),o=nWe(),l=q3(),c=cv();function u(d,f,p){f.length?f=t(f,function(_){return c(_)?function(g){return e(g,_.length===1?_[0]:_)}:_}):f=[l];var m=-1;f=t(f,i(r));var h=n(d,function(_,g,y){var b=t(f,function(x){return x(_)});return{criteria:b,index:++m,value:_}});return s(h,function(_,g){return o(_,g,p)})}return d5=u,d5}var f5,wK;function Fle(){if(wK)return f5;wK=1;var t=jN(),e=sWe(),r=Fh(),n=mN(),s=r(function(i,o){if(i==null)return[];var l=o.length;return l>1&&n(i,o[0],o[1])?o=[]:l>2&&n(o[0],o[1],o[2])&&(o=[o[0]]),e(i,t(o,1),[])});return f5=s,f5}var p5,CK;function iWe(){if(CK)return p5;CK=1;function t(e,r,n,s){for(var i=e.length,o=n+(s?1:-1);s?o--:++o<i;)if(r(e[o],o,e))return o;return-1}return p5=t,p5}var m5,AK;function oWe(){if(AK)return m5;AK=1;function t(e){return e!==e}return m5=t,m5}var h5,kK;function aWe(){if(kK)return h5;kK=1;function t(e,r,n){for(var s=n-1,i=e.length;++s<i;)if(e[s]===r)return s;return-1}return h5=t,h5}var g5,MK;function Ule(){if(MK)return g5;MK=1;var t=iWe(),e=oWe(),r=aWe();function n(s,i,o){return i===i?r(s,i,o):t(s,e,o)}return g5=n,g5}var _5,PK;function TN(){if(PK)return _5;PK=1;var t=Ule();function e(r,n){var s=r==null?0:r.length;return!!s&&t(r,n,0)>-1}return _5=e,_5}var v5,jK;function EN(){if(jK)return v5;jK=1;function t(e,r,n){for(var s=-1,i=e==null?0:e.length;++s<i;)if(n(r,e[s]))return!0;return!1}return v5=t,v5}var y5,TK;function lWe(){if(TK)return y5;TK=1;function t(){}return y5=t,y5}var b5,EK;function cWe(){if(EK)return b5;EK=1;var t=oge(),e=lWe(),r=_te(),n=1/0,s=t&&1/r(new t([,-0]))[1]==n?function(i){return new t(i)}:e;return b5=s,b5}var x5,RK;function Ble(){if(RK)return x5;RK=1;var t=nO(),e=TN(),r=EN(),n=sO(),s=cWe(),i=_te(),o=200;function l(c,u,d){var f=-1,p=e,m=c.length,h=!0,_=[],g=_;if(d)h=!1,p=r;else if(m>=o){var y=u?null:s(c);if(y)return i(y);h=!1,p=n,g=new t}else g=u?[]:_;e:for(;++f<m;){var b=c[f],x=u?u(b):b;if(b=d||b!==0?b:0,h&&x===x){for(var w=g.length;w--;)if(g[w]===x)continue e;u&&g.push(x),_.push(b)}else p(g,x,d)||(g!==_&&g.push(x),_.push(b))}return _}return x5=l,x5}var S5,IK;function RN(){if(IK)return S5;IK=1;var t=Ble();function e(r){return r&&r.length?t(r):[]}return S5=e,S5}var w5,DK;function IN(){if(DK)return w5;DK=1;var t=Ble();function e(r,n){return n=typeof n=="function"?n:void 0,r&&r.length?t(r,void 0,n):[]}return w5=e,w5}var C5,$K;function uWe(){if($K)return C5;$K=1;var t=Fh(),e=z3(),r=mN(),n=Ov(),s=Object.prototype,i=s.hasOwnProperty,o=t(function(l,c){l=Object(l);var u=-1,d=c.length,f=d>2?c[2]:void 0;for(f&&r(c[0],c[1],f)&&(d=1);++u<d;)for(var p=c[u],m=n(p),h=-1,_=m.length;++h<_;){var g=m[h],y=l[g];(y===void 0||e(y,s[g])&&!i.call(l,g))&&(l[g]=p[g])}return l});return C5=o,C5}var A5,OK;function zle(){if(OK)return A5;OK=1;var t=nO(),e=TN(),r=EN(),n=Th(),s=jh(),i=sO(),o=Math.min;function l(c,u,d){for(var f=d?r:e,p=c[0].length,m=c.length,h=m,_=Array(m),g=1/0,y=[];h--;){var b=c[h];h&&u&&(b=n(b,s(u))),g=o(b.length,g),_[h]=!d&&(u||p>=120&&b.length>=120)?new t(h&&b):void 0}b=c[0];var x=-1,w=_[0];e:for(;++x<p&&y.length<g;){var C=b[x],k=u?u(C):C;if(C=d||C!==0?C:0,!(w?i(w,k):f(y,k,d))){for(h=m;--h;){var A=_[h];if(!(A?i(A,k):f(c[h],k,d)))continue e}w&&w.push(k),y.push(C)}}return y}return A5=l,A5}var k5,LK;function qle(){if(LK)return k5;LK=1;var t=fN();function e(r){return t(r)?r:[]}return k5=e,k5}var M5,NK;function Vle(){if(NK)return M5;NK=1;function t(e){var r=e==null?0:e.length;return r?e[r-1]:void 0}return M5=t,M5}var P5,FK;function Hle(){if(FK)return P5;FK=1;var t=Th(),e=zle(),r=Fh(),n=qle(),s=Vle(),i=r(function(o){var l=s(o),c=t(o,n);return l=typeof l=="function"?l:void 0,l&&c.pop(),c.length&&c[0]===o[0]?e(c,void 0,l):[]});return P5=i,P5}var j5,UK;function dWe(){if(UK)return j5;UK=1;var t=J$(),e=lv(),r="[object Boolean]";function n(s){return s===!0||s===!1||e(s)&&t(s)==r}return j5=n,j5}var T5,BK;function DN(){if(BK)return T5;BK=1;var t=Lle(),e=Fle(),r=RN(),n=IN(),s=uWe(),i=Hle(),o=W0(),l=dWe(),c=O=>Array.isArray(O)?O:[O],u=O=>O===void 0,d=O=>o(O)||Array.isArray(O)?Object.keys(O):[],f=(O,N)=>O.hasOwnProperty(N),p=O=>e(r(O)),m=O=>u(O)||Array.isArray(O)&&O.length===0,h=(O,N,F,U)=>N&&f(N,F)&&O&&f(O,F)&&U(O[F],N[F]),_=(O,N)=>u(O)&&N===0||u(N)&&O===0||t(O,N),g=(O,N)=>u(O)&&N===!1||u(N)&&O===!1||t(O,N),y=O=>u(O)||t(O,{})||O===!0,b=O=>u(O)||t(O,{}),x=O=>u(O)||o(O)||O===!0||O===!1;function w(O,N){return m(O)&&m(N)?!0:t(p(O),p(N))}function C(O,N){return O=c(O),N=c(N),t(p(O),p(N))}function k(O,N,F,U){var z=r(d(O).concat(d(N)));return b(O)&&b(N)?!0:b(O)&&d(N).length||b(N)&&d(O).length?!1:z.every(function(H){var W=O[H],K=N[H];return Array.isArray(W)&&Array.isArray(K)?t(p(O),p(N)):Array.isArray(W)&&!Array.isArray(K)||Array.isArray(K)&&!Array.isArray(W)?!1:h(O,N,H,U)})}function A(O,N,F,U){return o(O)&&o(N)?U(O,N):Array.isArray(O)&&Array.isArray(N)?k(O,N,F,U):t(O,N)}function P(O,N,F,U){var z=n(O,U),H=n(N,U),W=i(z,H,U);return W.length===Math.max(z.length,H.length)}var T={title:t,uniqueItems:g,minLength:_,minItems:_,minProperties:_,required:w,enum:w,type:C,items:A,anyOf:P,allOf:P,oneOf:P,properties:k,patternProperties:k,dependencies:k},j=["properties","patternProperties","dependencies","uniqueItems","minLength","minItems","minProperties","required"],R=["additionalProperties","additionalItems","contains","propertyNames","not"];function D(O,N,F){if(F=s(F,{ignore:[]}),y(O)&&y(N))return!0;if(!x(O)||!x(N))throw new Error("Either of the values are not a JSON schema.");if(O===N)return!0;if(l(O)&&l(N))return O===N;if(O===void 0&&N===!1||N===void 0&&O===!1||u(O)&&!u(N)||!u(O)&&u(N))return!1;var U=r(Object.keys(O).concat(Object.keys(N)));if(F.ignore.length&&(U=U.filter(H=>F.ignore.indexOf(H)===-1)),!U.length)return!0;function z(H,W){return D(H,W,F)}return U.every(function(H){var W=O[H],K=N[H];if(R.indexOf(H)!==-1)return D(W,K,F);var q=T[H];if(q||(q=t),t(W,K))return!0;if(j.indexOf(H)===-1&&(!f(O,H)&&f(N,H)||f(O,H)&&!f(N,H)))return W===K;var X=q(W,K,H,z);if(!l(X))throw new Error("Comparer must return true or false");return X})}return T5=D,T5}var E5,zK;function $N(){if(zK)return E5;zK=1;function t(e){return Object.prototype.toString.call(e)==="[object Array]"}return E5=Array.isArray||t,E5}var R5,qK;function fWe(){if(qK)return R5;qK=1;function t(e){return(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")&&e.valueOf()===e.valueOf()}return R5=t,R5}var I5,VK;function pWe(){if(VK)return I5;VK=1;var t=fWe();function e(r){return t(r)&&r%1===0}return I5=e,I5}var D5,HK;function Gle(){if(HK)return D5;HK=1;var t=$N(),e=pWe();function r(n){var s;if(!t(n)||(s=n.length,!s))return!1;for(var i=0;i<s;i++)if(!e(n[i]))return!1;return!0}return D5=r,D5}var $5,GK;function Wle(){if(GK)return $5;GK=1;function t(e){return typeof e=="function"}return $5=t,$5}var O5,WK;function mWe(){if(WK)return O5;WK=1;var t=$N(),e=Gle(),r=Wle(),n=Math.pow(2,31)-1;function s(l,c){var u=1,d;if(l===0)return c;if(c===0)return l;for(;l%2===0&&c%2===0;)l=l/2,c=c/2,u=u*2;for(;l%2===0;)l=l/2;for(;c;){for(;c%2===0;)c=c/2;l>c&&(d=c,c=l,l=d),c=c-l}return u*l}function i(l,c){var u=0,d;if(l===0)return c;if(c===0)return l;for(;(l&1)===0&&(c&1)===0;)l>>>=1,c>>>=1,u++;for(;(l&1)===0;)l>>>=1;for(;c;){for(;(c&1)===0;)c>>>=1;l>c&&(d=c,c=l,l=d),c=c-l}return l<<u}function o(){var l=arguments.length,c,u,d,f,p,m,h;for(c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];if(e(c)){if(l===2)return p=c[0],m=c[1],p<0&&(p=-p),m<0&&(m=-m),p<=n&&m<=n?i(p,m):s(p,m);d=c}else if(t(c[0]))if(l>1){if(d=c[0],u=c[1],!r(u))throw new TypeError("gcd()::invalid input argument. Accessor must be a function. Value: `"+u+"`.")}else d=c[0];else throw new TypeError("gcd()::invalid input argument. Must provide an array of integers. Value: `"+c[0]+"`.");if(f=d.length,f<2)return null;if(u){for(p=new Array(f),h=0;h<f;h++)p[h]=u(d[h],h);d=p}if(l<3&&!e(d))throw new TypeError("gcd()::invalid input argument. Accessed array values must be integers. Value: `"+d+"`.");for(h=0;h<f;h++)p=d[h],p<0&&(d[h]=-p);for(p=d[0],h=1;h<f;h++)m=d[h],m<=n&&p<=n?p=i(p,m):p=s(p,m);return p}return O5=o,O5}var L5,YK;function hWe(){if(YK)return L5;YK=1;var t=mWe(),e=$N(),r=Gle(),n=Wle();function s(){var i=arguments.length,o,l,c,u,d,f,p;for(o=new Array(i),p=0;p<i;p++)o[p]=arguments[p];if(r(o)){if(i===2)return d=o[0],f=o[1],d<0&&(d=-d),f<0&&(f=-f),d===0||f===0?0:d/t(d,f)*f;c=o}else if(e(o[0]))if(i>1){if(c=o[0],l=o[1],!n(l))throw new TypeError("lcm()::invalid input argument. Accessor must be a function. Value: `"+l+"`.")}else c=o[0];else throw new TypeError("lcm()::invalid input argument. Must provide an array of integers. Value: `"+o[0]+"`.");if(u=c.length,u<2)return null;if(l){for(d=new Array(u),p=0;p<u;p++)d[p]=l(c[p],p);c=d}if(i<3&&!r(c))throw new TypeError("lcm()::invalid input argument. Accessed array values must be integers. Value: `"+c+"`.");for(p=0;p<u;p++)d=c[p],d<0&&(c[p]=-d);for(d=c[0],p=1;p<u;p++){if(f=c[p],d===0||f===0)return 0;d=d/t(d,f)*f}return d}return L5=s,L5}var N5,KK;function gWe(){if(KK)return N5;KK=1;var t=pN(),e=Qd();function r(n,s,i,o,l,c){return e(n)&&e(s)&&(c.set(s,n),t(n,s,void 0,r,c),c.delete(s)),n}return N5=r,N5}var F5,QK;function _We(){if(QK)return F5;QK=1;var t=pN(),e=qae(),r=e(function(n,s,i,o){t(n,s,i,o)});return F5=r,F5}var U5,ZK;function vWe(){if(ZK)return U5;ZK=1;var t=Uae(),e=Fh(),r=gWe(),n=_We(),s=e(function(i){return i.push(void 0,r),t(n,void 0,i)});return U5=s,U5}var B5,XK;function ON(){if(XK)return B5;XK=1;var t=jN();function e(r){var n=r==null?0:r.length;return n?t(r,1):[]}return B5=e,B5}var z5,JK;function Yle(){if(JK)return z5;JK=1;var t=jN(),e=1/0;function r(n){var s=n==null?0:n.length;return s?t(n,e):[]}return z5=r,z5}var q5,eQ;function yWe(){if(eQ)return q5;eQ=1;var t=Th(),e=zle(),r=Fh(),n=qle(),s=r(function(i){var o=t(i,n);return o.length&&o[0]===i[0]?e(o):[]});return q5=s,q5}var V5,tQ;function bWe(){if(tQ)return V5;tQ=1;function t(e,r,n,s){for(var i=n-1,o=e.length;++i<o;)if(s(e[i],r))return i;return-1}return V5=t,V5}var H5,rQ;function xWe(){if(rQ)return H5;rQ=1;var t=Th(),e=Ule(),r=bWe(),n=jh(),s=uN(),i=Array.prototype,o=i.splice;function l(c,u,d,f){var p=f?r:e,m=-1,h=u.length,_=c;for(c===u&&(u=s(u)),d&&(_=t(c,n(d)));++m<h;)for(var g=0,y=u[m],b=d?d(y):y;(g=p(_,b,g,f))>-1;)_!==c&&o.call(_,g,1),o.call(c,g,1);return c}return H5=l,H5}var G5,nQ;function SWe(){if(nQ)return G5;nQ=1;var t=xWe();function e(r,n){return r&&r.length&&n&&n.length?t(r,n):r}return G5=e,G5}var W5,sQ;function wWe(){if(sQ)return W5;sQ=1;var t=q3();function e(r){return typeof r=="function"?r:t}return W5=e,W5}var Y5,iQ;function Kle(){if(iQ)return Y5;iQ=1;var t=Ile(),e=Nle(),r=wWe(),n=cv();function s(i,o){var l=n(i)?t:e;return l(i,r(o))}return Y5=s,Y5}var K5,oQ;function CWe(){if(oQ)return K5;oQ=1;var t=nO(),e=TN(),r=EN(),n=Th(),s=jh(),i=sO(),o=200;function l(c,u,d,f){var p=-1,m=e,h=!0,_=c.length,g=[],y=u.length;if(!_)return g;d&&(u=n(u,s(d))),f?(m=r,h=!1):u.length>=o&&(m=i,h=!1,u=new t(u));e:for(;++p<_;){var b=c[p],x=d==null?b:d(b);if(b=f||b!==0?b:0,h&&x===x){for(var w=y;w--;)if(u[w]===x)continue e;g.push(b)}else m(u,x,f)||g.push(b)}return g}return K5=l,K5}var Q5,aQ;function AWe(){if(aQ)return Q5;aQ=1;var t=CWe(),e=Fh(),r=fN(),n=e(function(s,i){return r(s)?t(s,i):[]});return Q5=n,Q5}var Z5,lQ;function Qle(){if(lQ)return Z5;lQ=1;const t=ON(),e=Yle(),r=W0(),n=RN(),s=IN(),i=AWe();function o(_){for(const g in _)u(_,g)&&m(_[g])&&delete _[g];return _}const l=_=>n(e(_.map(d))),c=(_,g)=>_.map(y=>y&&y[g]),u=(_,g)=>Object.prototype.hasOwnProperty.call(_,g),d=_=>r(_)||Array.isArray(_)?Object.keys(_):[],f=_=>_!==void 0,p=_=>r(_)||_===!0||_===!1,m=_=>!d(_).length&&_!==!1&&_!==!0;return Z5={allUniqueKeys:l,deleteUndefinedProps:o,getValues:c,has:u,isEmptySchema:m,isSchema:p,keys:d,notUndefined:f,uniqWith:s,withoutArr:(_,...g)=>i.apply(null,[_].concat(t(g)))},Z5}var X5,cQ;function kWe(){if(cQ)return X5;cQ=1;const t=DN(),e=Kle(),{allUniqueKeys:r,deleteUndefinedProps:n,getValues:s,keys:i,notUndefined:o,uniqWith:l,withoutArr:c}=Qle();function u(f){e(f,function(p,m){p===!1&&delete f[m]})}function d(f,p){return r(f).reduce(function(h,_){const g=s(f,_),y=l(g.filter(o),t);return h[_]=p(y,_),h},{})}return X5={keywords:["properties","patternProperties","additionalProperties"],resolver(f,p,m,h){h.ignoreAdditionalProperties||(f.forEach(function(g){const y=f.filter(C=>C!==g),b=i(g.properties),w=i(g.patternProperties).map(C=>new RegExp(C));y.forEach(function(C){const k=i(C.properties),A=k.filter(T=>w.some(j=>j.test(T)));c(k,b,A).forEach(function(T){C.properties[T]=m.properties([C.properties[T],g.additionalProperties],T)})})}),f.forEach(function(g){const y=f.filter(x=>x!==g),b=i(g.patternProperties);g.additionalProperties===!1&&y.forEach(function(x){const w=i(x.patternProperties);c(w,b).forEach(k=>delete x.patternProperties[k])})}));const _={additionalProperties:m.additionalProperties(f.map(g=>g.additionalProperties)),patternProperties:d(f.map(g=>g.patternProperties),m.patternProperties),properties:d(f.map(g=>g.properties),m.properties)};return _.additionalProperties===!1&&u(_.properties),n(_)}},X5}var J5,uQ;function MWe(){if(uQ)return J5;uQ=1;const t=DN(),e=Kle(),{allUniqueKeys:r,deleteUndefinedProps:n,has:s,isSchema:i,notUndefined:o,uniqWith:l}=Qle();function c(p){e(p,function(m,h){m===!1&&p.splice(h,1)})}function u(p,m){return p.map(function(h){if(h)if(Array.isArray(h.items)){const _=h.items[m];if(i(_))return _;if(s(h,"additionalItems"))return h.additionalItems}else return h.items})}function d(p){return p.map(function(m){if(m)return Array.isArray(m.items)?m.additionalItems:m.items})}function f(p,m,h){return r(h).reduce(function(g,y){const b=u(p,y),x=l(b.filter(o),t);return g[y]=m(x,y),g},[])}return J5={keywords:["items","additionalItems"],resolver(p,m,h){const _=p.map(x=>x.items),g=_.filter(o),y={};g.every(i)?y.items=h.items(_):y.items=f(p,h.items,_);let b;return g.every(Array.isArray)?b=p.map(x=>x.additionalItems):g.some(Array.isArray)&&(b=d(p)),b&&(y.additionalItems=h.additionalItems(b)),y.additionalItems===!1&&Array.isArray(y.items)&&c(y.items),n(y)}},J5}var eI,dQ;function PWe(){if(dQ)return eI;dQ=1;const t=ZGe(),e=DN(),r=hWe(),n=vWe(),s=ON(),i=Yle(),o=yWe(),l=Hle(),c=Lle(),u=W0(),d=SWe(),f=Fle(),p=RN(),m=IN(),h=kWe(),_=MWe(),g=(se,le)=>se.indexOf(le)!==-1,y=se=>u(se)||se===!0||se===!1,b=se=>se===!1,x=se=>se===!0,w=(se,le,ee)=>ee(se),C=se=>f(p(i(se))),k=se=>se!==void 0,A=se=>p(i(se.map(H))),P=se=>se[0],T=se=>C(se),j=se=>Math.max.apply(Math,se),R=se=>Math.min.apply(Math,se),D=se=>se.some(x),O=se=>m(s(se),c);function N(se){return function(le,ee){return e({[se]:le},{[se]:ee})}}function F(se){let{allOf:le=[],...ee}=se;return ee=u(se)?ee:se,[ee,...le.map(F)]}function U(se,le){return se.map(ee=>ee&&ee[le])}function z(se,le){return se.map(function(ee,J){try{return le(ee,J)}catch{return}}).filter(k)}function H(se){return u(se)||Array.isArray(se)?Object.keys(se):[]}function W(se,le){if(le=le||[],!se.length)return le;const ee=se.slice(0).shift(),J=se.slice(1);return le.length?W(J,s(le.map(me=>ee.map(pe=>[pe].concat(me))))):W(J,ee.map(me=>me))}function K(se,le){let ee;try{ee=se.map(function(J){return JSON.stringify(J,null,2)}).join(`
/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js.bak:321:`,jJe="️",TJe="‍",$I="￼";let pw=null,mw=null;function EJe(t=[]){const e={};sl.groups=e;const r=new sl;pw==null&&(pw=fX(wJe)),mw==null&&(mw=fX(CJe)),sr(r,"'",s3),sr(r,"{",kb),sr(r,"}",Mb),sr(r,"[",qC),sr(r,"]",VC),sr(r,"(",HC),sr(r,")",GC),sr(r,"<",WC),sr(r,">",YC),sr(r,"（",KC),sr(r,"）",QC),sr(r,"「",ZC),sr(r,"」",XC),sr(r,"『",JC),sr(r,"』",e3),sr(r,"＜",t3),sr(r,"＞",r3),sr(r,"&",n3),sr(r,"*",i3),sr(r,"@",Qf),sr(r,"`",a3),sr(r,"^",l3),sr(r,":",ep),sr(r,",",JN),sr(r,"$",c3),sr(r,".",bu),sr(r,"=",u3),sr(r,"!",e7),sr(r,"-",Fl),sr(r,"%",Pb),sr(r,"|",d3),sr(r,"+",f3),sr(r,"#",p3),sr(r,"?",jb),sr(r,'"',t7),sr(r,"/",xu),sr(r,";",r7),sr(r,"~",Tb),sr(r,"_",m3),sr(r,"\\",o3),sr(r,"・",Yce);const n=pi(r,kd,ZN,{[a$]:!0});pi(n,kd,n);const s=pi(n,Ad,Gce,{[Ab]:!0}),i=pi(n,Dy,Wce,{[tb]:!0}),o=pi(r,Ad,Pd,{[l$]:!0});pi(o,kd,s),pi(o,Ad,o),pi(s,kd,s),pi(s,Ad,s);const l=pi(r,Dy,d$,{[c$]:!0});pi(l,Ad),pi(l,kd,i),pi(l,Dy,l),pi(i,kd,i),pi(i,Ad),pi(i,Dy,i);const c=sr(r,DI,XN,{[EI]:!0}),u=sr(r,dX,m$,{[EI]:!0}),d=pi(r,II,m$,{[EI]:!0});sr(r,$I,d),sr(u,DI,c),sr(u,$I,d),pi(u,II,d),sr(d,dX),sr(d,DI),pi(d,II,d),sr(d,$I,d);const f=pi(r,RI,Kce,{[Hce]:!0});sr(f,"#"),pi(f,RI,f),sr(f,jJe,f);const p=sr(f,TJe);sr(p,"#"),pi(p,RI,f);const m=[[Ad,o],[kd,s]],h=[[Ad,null],[Dy,l],[kd,i]];for(let _=0;_<pw.length;_++)Hf(r,pw[_],f$,Pd,m);for(let _=0;_<mw.length;_++)Hf(r,mw[_],p$,d$,h);Xm(f$,{tld:!0,ascii:!0},e),Xm(p$,{utld:!0,alpha:!0},e),Hf(r,"file",Jw,Pd,m),Hf(r,"mailto",Jw,Pd,m),Hf(r,"http",s_,Pd,m),Hf(r,"https",s_,Pd,m),Hf(r,"ftp",s_,Pd,m),Hf(r,"ftps",s_,Pd,m),Xm(Jw,{scheme:!0,ascii:!0},e),Xm(s_,{slashscheme:!0,ascii:!0},e),t=t.sort((_,g)=>_[0]>g[0]?1:-1);for(let _=0;_<t.length;_++){const g=t[_][0],b=t[_][1]?{[AJe]:!0}:{[kJe]:!0};g.indexOf("-")>=0?b[u$]=!0:Ad.test(g)?kd.test(g)?b[Ab]=!0:b[l$]=!0:b[a$]=!0,uX(r,g,g,b)}return uX(r,"localhost",o0,{ascii:!0}),r.jd=new sl(h3),{start:r,tokens:Object.assign({groups:e},Qce)}}function Zce(t,e){const r=RJe(e.replace(/[A-Z]/g,l=>l.toLowerCase())),n=r.length,s=[];let i=0,o=0;for(;o<n;){let l=t,c=null,u=0,d=null,f=-1,p=-1;for(;o<n&&(c=l.go(r[o]));)l=c,l.accepts()?(f=0,p=0,d=l):f>=0&&(f+=r[o].length,p++),u+=r[o].length,i+=r[o].length,o++;i-=f,o-=p,u-=f,s.push({t:d.t,v:e.slice(i-u,i),s:i-u,e:i})}return s}function RJe(t){const e=[],r=t.length;let n=0;for(;n<r;){let s=t.charCodeAt(n),i,o=s<55296||s>56319||n+1===r||(i=t.charCodeAt(n+1))<56320||i>57343?t[n]:t.slice(n,n+2);e.push(o),n+=o.length}return e}function Hf(t,e,r,n,s){let i;const o=e.length;for(let l=0;l<o-1;l++){const c=e[l];t.j[c]?i=t.j[c]:(i=new sl(n),i.jr=s.slice(),t.j[c]=i),t=i}return i=new sl(r),i.jr=s.slice(),t.j[e[o-1]]=i,i}function fX(t){const e=[],r=[];let n=0,s="0123456789";for(;n<t.length;){let i=0;for(;s.indexOf(t[n+i])>=0;)i++;if(i>0){e.push(r.join(""));for(let o=parseInt(t.substring(n,n+i),10);o>0;o--)r.pop();n+=i}else r.push(t[n]),n++}return e}const a0={defaultProtocol:"http",events:null,format:pX,formatHref:pX,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function n7(t,e=null){let r=Object.assign({},a0);t&&(r=Object.assign(r,t instanceof n7?t.o:t));const n=r.ignoreTags,s=[];for(let i=0;i<n.length;i++)s.push(n[i].toUpperCase());this.o=r,e&&(this.defaultRender=e),this.ignoreTags=s}n7.prototype={o:a0,ignoreTags:[],defaultRender(t){return t},check(t){return this.get("validate",t.toString(),t)},get(t,e,r){const n=e!=null;let s=this.o[t];return s&&(typeof s=="object"?(s=r.t in s?s[r.t]:a0[t],typeof s=="function"&&n&&(s=s(e,r))):typeof s=="function"&&n&&(s=s(e,r.t,r)),s)},getObj(t,e,r){let n=this.o[t];return typeof n=="function"&&e!=null&&(n=n(e,r.t,r)),n},render(t){const e=t.render(this);return(this.get("render",null,t)||this.defaultRender)(e,t.t,t)}};function pX(t){return t}function Xce(t,e){this.t="token",this.v=t,this.tk=e}Xce.prototype={isLink:!1,toString(){return this.v},toHref(t){return this.toString()},toFormattedString(t){const e=this.toString(),r=t.get("truncate",e,this),n=t.get("format",e,this);return r&&n.length>r?n.substring(0,r)+"…":n},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=a0.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,r=this.toHref(t.get("defaultProtocol")),n=t.get("formatHref",r,this),s=t.get("tagName",r,e),i=this.toFormattedString(t),o={},l=t.get("className",r,e),c=t.get("target",r,e),u=t.get("rel",r,e),d=t.getObj("attributes",r,e),f=t.getObj("events",r,e);return o.href=n,l&&(o.class=l),c&&(o.target=c),u&&(o.rel=u),d&&Object.assign(o,d),{tagName:s,attributes:o,content:i,eventListeners:f}}};function ak(t,e){class r extends Xce{constructor(s,i){super(s,i),this.t=t}}for(const n in e)r.prototype[n]=e[n];return r.t=t,r}const mX=ak("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),hX=ak("text"),IJe=ak("nl"),hw=ak("url",{isLink:!0,toHref(t=a0.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==o0&&t[1].t===ep}}),Dl=t=>new sl(t);function DJe({groups:t}){const e=t.domain.concat([n3,i3,Qf,o3,a3,l3,c3,u3,Fl,ZN,Pb,d3,f3,p3,xu,h3,Tb,m3]),r=[s3,ep,JN,bu,e7,Pb,jb,t7,r7,WC,YC,kb,Mb,VC,qC,HC,GC,KC,QC,ZC,XC,JC,e3,t3,r3],n=[n3,s3,i3,o3,a3,l3,c3,u3,Fl,kb,Mb,Pb,d3,f3,p3,jb,xu,h3,Tb,m3],s=Dl(),i=sr(s,Tb);Cn(i,n,i),Cn(i,t.domain,i);const o=Dl(),l=Dl(),c=Dl();Cn(s,t.domain,o),Cn(s,t.scheme,l),Cn(s,t.slashscheme,c),Cn(o,n,i),Cn(o,t.domain,o);const u=sr(o,Qf);sr(i,Qf,u),sr(l,Qf,u),sr(c,Qf,u);const d=sr(i,bu);Cn(d,n,i),Cn(d,t.domain,i);const f=Dl();Cn(u,t.domain,f),Cn(f,t.domain,f);const p=sr(f,bu);Cn(p,t.domain,f);const m=Dl(mX);Cn(p,t.tld,m),Cn(p,t.utld,m),sr(u,o0,m);const h=sr(f,Fl);sr(h,Fl,h),Cn(h,t.domain,f),Cn(m,t.domain,f),sr(m,bu,p),sr(m,Fl,h);const _=sr(m,ep);Cn(_,t.numeric,mX);const g=sr(o,Fl),y=sr(o,bu);sr(g,Fl,g),Cn(g,t.domain,o),Cn(y,n,i),Cn(y,t.domain,o);const b=Dl(hw);Cn(y,t.tld,b),Cn(y,t.utld,b),Cn(b,t.domain,o),Cn(b,n,i),sr(b,bu,y),sr(b,Fl,g),sr(b,Qf,u);const x=sr(b,ep),w=Dl(hw);Cn(x,t.numeric,w);const C=Dl(hw),k=Dl();Cn(C,e,C),Cn(C,r,k),Cn(k,e,C),Cn(k,r,k),sr(b,xu,C),sr(w,xu,C);const A=sr(l,ep),P=sr(c,ep),T=sr(P,xu),j=sr(T,xu);Cn(l,t.domain,o),sr(l,bu,y),sr(l,Fl,g),Cn(c,t.domain,o),sr(c,bu,y),sr(c,Fl,g),Cn(A,t.domain,C),sr(A,xu,C),sr(A,jb,C),Cn(j,t.domain,C),Cn(j,e,C),sr(j,xu,C);const R=[[kb,Mb],[qC,VC],[HC,GC],[WC,YC],[KC,QC],[ZC,XC],[JC,e3],[t3,r3]];for(let D=0;D<R.length;D++){const[O,N]=R[D],F=sr(C,O);sr(k,O,F),sr(F,N,C);const U=Dl(hw);Cn(F,e,U);const z=Dl();Cn(F,r),Cn(U,e,U),Cn(U,r,z),Cn(z,e,U),Cn(z,r,z),sr(U,N,C),sr(z,N,C)}return sr(s,o0,b),sr(s,XN,IJe),{start:s,tokens:Qce}}function $Je(t,e,r){let n=r.length,s=0,i=[],o=[];for(;s<n;){let l=t,c=null,u=null,d=0,f=null,p=-1;for(;s<n&&!(c=l.go(r[s].t));)o.push(r[s++]);for(;s<n&&(u=c||l.go(r[s].t));)c=null,l=u,l.accepts()?(p=0,f=l):p>=0&&p++,s++,d++;if(p<0)s-=d,s<n&&(o.push(r[s]),s++);else{o.length>0&&(i.push(OI(hX,e,o)),o=[]),s-=p,d-=p;const m=f.t,h=r.slice(s-d,s);i.push(OI(m,e,h))}}return o.length>0&&i.push(OI(hX,e,o)),i}function OI(t,e,r){const n=r[0].s,s=r[r.length-1].e,i=e.slice(n,s);return new t(i,r)}const Oo={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function OJe(){Oo.scanner=EJe(Oo.customSchemes);for(let t=0;t<Oo.tokenQueue.length;t++)Oo.tokenQueue[t][1]({scanner:Oo.scanner});Oo.parser=DJe(Oo.scanner.tokens);for(let t=0;t<Oo.pluginQueue.length;t++)Oo.pluginQueue[t][1]({scanner:Oo.scanner,parser:Oo.parser});return Oo.initialized=!0,Oo}function Jce(t){return Oo.initialized||OJe(),$Je(Oo.parser.start,t,Zce(Oo.scanner.start,t))}Jce.scan=Zce;function LJe(t,e,r){const n=Jce(t),s=[];for(let i=0;i<n.length;i++){const o=n[i];if(o.t==="nl"&&e.get("nl2br")){const l=`__linkify-el-${r.elementId++}`;s.push(I.createElement("br",{key:l}))}else if(!o.isLink||!e.check(o))s.push(o.toString());else{let l=e.render(o);if(!("key"in l.props)){const c=`__linkify-el-${r.elementId++}`,u=Object.assign({key:c},l.props);l=I.cloneElement(l,u)}s.push(l)}}return s}function eue(t,e,r){if(I.Children.count(t.props.children)===0)return t;const n=[];I.Children.forEach(t.props.children,o=>{typeof o=="string"?n.push.apply(n,LJe(o,e,r)):I.isValidElement(o)?typeof o.type=="string"&&e.ignoreTags.indexOf(o.type.toUpperCase())>=0?n.push(o):n.push(eue(o,e,r)):n.push(o)});const s=`__linkify-el-${r.elementId++}`,i=Object.assign({key:s},t.props);return I.cloneElement(t,i,n)}const NJe=t=>{let e=0;const r=({tagName:c,attributes:u,content:d})=>(u.key=`__linkify-lnk-${e++}`,u.class&&(u.className=u.class,delete u.class),I.createElement(c,u,d)),n={key:"__linkify-wrapper"};for(const c in t)c!=="options"&&c!=="as"&&c!=="tagName"&&c!=="children"&&(n[c]=t[c]);const s=new n7(t.options,r),i=t.as||t.tagName||I.Fragment||"span",o=t.children,l=I.createElement(i,n,o);return eue(l,s,{elementId:0})};function g3(t){const e=he.c(10),{description:r,band:n}=t;let s;if(e[0]!==r){e:{if(!r){s=null;break e}const l=r.toString();if(l.includes(D6)){const[c,u]=l.toString().split(D6);let d;e[2]!==c||e[3]!==u?(d={defaultText:c,descriptionText:u},e[2]=c,e[3]=u,e[4]=d):d=e[4],s=d}else{let c;e[5]!==l?(c={defaultText:null,descriptionText:l},e[5]=l,e[6]=c):c=e[6],s=c}}e[0]=r,e[1]=s}else s=e[1];const i=s;let o;return e[7]!==n||e[8]!==i?(o=i?a.jsxs(te,{direction:"column",sx:{backgroundColor:"divider",px:2,py:1.5,flex:"0 0 auto","&:last-child":{borderRadius:"0 0 10px 10px"},...!n&&{p:0,my:.5,backgroundColor:"transparent"},color:"text.secondary"},spacing:0,nowrap:!0,children:[i.descriptionText&&a.jsxs(te,{direction:"row",nowrap:!0,align:"flex-start",children:[a.jsx(te,{sx:{flex:"0 0 auto",color:"grey.600",pt:n?.2:.5},align:"center",justify:"center",children:a.jsx(ge.Info,{size:n?20:16})}),a.jsx(_e,{color:"inherit",type:"body2",sx:{"& a":{color:"primary.main"}},children:a.jsx(NJe,{options:{target:"blank"},children:i.descriptionText})})]}),i.defaultText&&a.jsxs(te,{direction:"row",nowrap:!0,align:"flex-start",children:[a.jsx(te,{sx:{flex:"0 0 auto",color:"grey.600",pt:n?.2:.5},align:"center",justify:"center",children:a.jsx(ge.Catalog,{size:n?20:16})}),a.jsx(_e,{type:"body2",fontWeight:500,color:"inherit",children:i.defaultText})]})]}):null,e[7]=n,e[8]=i,e[9]=o):o=e[9],o}function tue(t){const e=he.c(26),{schema:r,objKeys:n,objData:s,objErrors:i,onClick:o,title:l,id:c,isErrored:u,registry:d}=t;let f;e[0]!==r?(f=Bce(r),e[0]=r,e[1]=f):f=e[1];const p=f,m=r.description;let h;if(e[2]!==n||e[3]!==r.properties){let C;e[5]!==r.properties?(C=k=>{const A=r.properties?.[k];return!A||A===!0||Ah(A)?null:k},e[5]=r.properties,e[6]=C):C=e[6],h=n.map(C).filter(UJe),e[2]=n,e[3]=r.properties,e[4]=h}else h=e[4];const _=h;let g;e:{if(!Uce(r)){let k;e[7]===Symbol.for("react.memo_cache_sentinel")?(k=[],e[7]=k):k=e[7],g=k;break e}let C;e[8]!==s||e[9]!==_?(C=Object.keys(s).filter(k=>!_.includes(k)),e[8]=s,e[9]=_,e[10]=C):C=e[10],g=C}const y=g;let b;e[11]!==y||e[12]!==_?(b=[..._,...y],e[11]=y,e[12]=_,e[13]=b):b=e[13];const x=b;let w;return e[14]!==m||e[15]!==x||e[16]!==c||e[17]!==p||e[18]!==u||e[19]!==s||e[20]!==i||e[21]!==o||e[22]!==d||e[23]!==r||e[24]!==l?(w=p?null:a.jsxs(pr,{title:a.jsx(X0,{title:l,isObject:!0,id:c,isErrored:u}),folder:!0,headerActionsComponent:a.jsx(Ze,{onClick:o,text:"edit",size:"small",startIcon:a.jsx(ge.Edit,{}),variant:"outlined"}),error:u,elevation:2,sx:{mb:3},children:[m?a.jsx(g3,{description:m,id:c,schema:r,registry:null,band:!0}):a.jsx(a.Fragment,{}),x.length>0?a.jsx(te,{spacing:0,children:x.map(C=>{const k=r.properties?.[C]||r.additionalProperties;let A;k&&k!==!0&&k?.title?A=k.title:A=C,A=Zl(A);let P=s?.[C];const T=k&&k!==!0&&k.type==="object",j=k&&k!==!0&&k.type==="array"&&!(i0(k)||zC(k)),R=k&&k!==!0&&QN(k),D=k&&k!==!0&&"discriminator"in k,O=!j&&!T&&!D,N=i?Object.keys(i).includes(C):!1;if(j)P=VN({items:P,schema:k,registry:d});else if(k&&k!==!0&&(i0(k)||zC(k)))P=P?.length?a.jsx(gt,{children:a.jsx(ks,{size:"small",items:P.map(FJe)})},C):a.jsx(_e,{type:"body2",children:"—"});else if(R){const F=k.format?.split(":"),U=F?.[1],z=F?.[2];P=a.jsx(ms,{label:`${U} script ${z?" (base64)":""}`,size:"small",color:"info"},C)}else P=a.jsx(_e,{type:"body2",sx:{wordBreak:"break-all"},children:P!==void 0?`${P}`:"—"},C);return a.jsxs(te,{direction:"row",align:"center",justify:"space-between",sx:{flex:"1 1 auto",px:2,py:.5,borderBottom:"1px solid",borderColor:"divider","&:last-child":{borderBottom:0}},nowrap:!0,children:[a.jsxs(te,{direction:"row",align:"center",sx:{color:N?"error.main":"text.secondary"},nowrap:!0,children:[j&&a.jsx(ge.Stack,{size:24}),T&&a.jsx(ge.List,{size:24}),D&&a.jsx(ge.Directions,{size:20}),O&&a.jsx(te,{sx:{width:"24px",height:"24px",flex:"0 0 auto",pt:"1px"},align:"center",justify:"center",nowrap:!0,children:a.jsx(ge.Circle,{size:12})}),a.jsx(_e,{type:"body2",fontWeight:"600",sx:{wordBreak:"break-all"},color:N?"error.main":"text.primary",noWrap:!0,children:A}),j&&a.jsx(_e,{type:"caption",sx:{fontWeight:"600",px:.5,backgroundColor:"divider",color:"text.primary",borderRadius:1,overflow:"hidden",whiteSpace:"nowrap",textAlign:"center"},children:P?.length})]}),O&&P]},C)})}):a.jsx(a.Fragment,{})]}),e[14]=m,e[15]=x,e[16]=c,e[17]=p,e[18]=u,e[19]=s,e[20]=i,e[21]=o,e[22]=d,e[23]=r,e[24]=l,e[25]=w):w=e[25],w}function FJe(t){return{id:t,label:t}}function UJe(t){return!!t}function BJe(t){const e=he.c(18),{schema:r,children:n,paths:s,index:i,registry:o}=t,l=n.props,c=zr(zJe);let u;e[0]!==c||e[1]!==s?(u=()=>{s&&c({id:s.selectableItemId})},e[0]=c,e[1]=s,e[2]=u):u=e[2];const d=u;let f;e:{if(!r.properties){let x;e[3]===Symbol.for("react.memo_cache_sentinel")?(x=[],e[3]=x):x=e[3],f=x;break e}let b;e[4]!==r.properties?(b=Object.keys(r.properties),e[4]=r.properties,e[5]=b):b=e[5],f=b}const p=f;let m;e[6]!==l.errorSchema?(m=Object.keys(l.errorSchema||{}),e[6]=l.errorSchema,e[7]=m):m=e[7];const h=m.length>0,_=l.formData,g=`#${i} - ${l.schema.title||l.name}`;let y;return e[8]!==l.errorSchema||e[9]!==_||e[10]!==d||e[11]!==h||e[12]!==s.selectableItemId||e[13]!==p||e[14]!==o||e[15]!==r||e[16]!==g?(y=a.jsx(a.Fragment,{children:a.jsx(tue,{isErrored:h,id:s.selectableItemId,schema:r,objKeys:p,objData:_,objErrors:l.errorSchema,title:g,onClick:d,registry:o})}),e[8]=l.errorSchema,e[9]=_,e[10]=d,e[11]=h,e[12]=s.selectableItemId,e[13]=p,e[14]=o,e[15]=r,e[16]=g,e[17]=y):y=e[17],y}function zJe(t){return t.handleSelectNode}function qJe(t){const e=he.c(40),{children:r,disabled:n,hasToolbar:s,hasCopy:i,hasMoveDown:o,hasMoveUp:l,hasRemove:c,index:u,onCopyIndexClick:d,onDropIndexClick:f,onReorderClick:p,readonly:m,uiSchema:h,registry:_,schema:g,parentIdSchema:y}=t,b=zr(HJe),x=r.props,{CopyButton:w,MoveDownButton:C,MoveUpButton:k,RemoveButton:A}=_.templates.ButtonTemplates;let P;e[0]===Symbol.for("react.memo_cache_sentinel")?(P={flex:1,paddingLeft:6,paddingRight:6,fontWeight:"600",minWidth:0},e[0]=P):P=e[0];const T=P;let j;e:{if(!b){j=void 0;break e}let W,K;if(e[1]!==u||e[2]!==y.$id||e[3]!==b){const Q=y.$id.split(".").slice(2),Z=[...b.split("."),...Q,u];W=Array.from(Z).map(VJe),K=Array.from(Z),e[1]=u,e[2]=y.$id,e[3]=b,e[4]=W,e[5]=K}else W=e[4],K=e[5];const q=K.join(".");let X;e[6]!==W||e[7]!==q?(X={selectableItemPath:W,selectableItemId:q},e[6]=W,e[7]=q,e[8]=X):X=e[8],j=X}const R=j;let D;e[9]!==x.errorSchema?(D=Object.keys(x.errorSchema||{}),e[9]=x.errorSchema,e[10]=D):D=e[10];const O=D.length>0,N=g.type==="object";if(!R)return null;let F;e[11]!==w||e[12]!==C||e[13]!==k||e[14]!==A||e[15]!==n||e[16]!==i||e[17]!==o||e[18]!==l||e[19]!==c||e[20]!==s||e[21]!==u||e[22]!==d||e[23]!==f||e[24]!==p||e[25]!==m||e[26]!==_||e[27]!==h?(F=s&&a.jsxs(te,{direction:"row",justify:"flex-end",children:[(l||o||i)&&a.jsxs(SJe,{children:[(l||o)&&a.jsx(k,{style:T,disabled:n||m||!l,onClick:p(u,u-1),uiSchema:h,registry:_}),(l||o)&&a.jsx(C,{style:T,disabled:n||m||!o,onClick:p(u,u+1),uiSchema:h,registry:_}),i&&a.jsx(w,{style:T,disabled:n||m,onClick:d(u),uiSchema:h,registry:_})]},u),c&&a.jsx(A,{style:T,disabled:n||m,onClick:f(u),uiSchema:h,registry:_})]}),e[11]=w,e[12]=C,e[13]=k,e[14]=A,e[15]=n,e[16]=i,e[17]=o,e[18]=l,e[19]=c,e[20]=s,e[21]=u,e[22]=d,e[23]=f,e[24]=p,e[25]=m,e[26]=_,e[27]=h,e[28]=F):F=e[28];let U;e[29]!==r||e[30]!==N||e[31]!==R||e[32]!==t?(U=N?a.jsx(BJe,{...t,paths:R}):r,e[29]=r,e[30]=N,e[31]=R,e[32]=t,e[33]=U):U=e[33];let z;e[34]!==U?(z=a.jsx(Kt,{children:U}),e[34]=U,e[35]=z):z=e[35];let H;return e[36]!==O||e[37]!==F||e[38]!==z?(H=a.jsx(pr,{error:O,elevation:3,footerActionsComponent:F,children:z}),e[36]=O,e[37]=F,e[38]=z,e[39]=H):H=e[39],H}function VJe(t){return t.toString()}function HJe(t){return t.selectedId}function rue(t){const e=he.c(50),{title:r,idSchema:n,children:s,isErrored:i,headerActionsComponent:o,isArray:l,description:c}=t,u=zr(GJe),d=n.$id===wo;let f;if(e[0]!==n.$id||e[1]!==u){f=n.$id===u;const w=u?.split(".")||[],C=w[w.length-1];w&&C&&n.$id===`${wo}.${C}`&&(f=!0),e[0]=n.$id,e[1]=u,e[2]=f}else f=e[2];let p;e[3]!==f||e[4]!==u?(p=w=>{if(!u||!f)return;const C=w.schemaFields[u];if(C&&C.type===ol.DISCRIMINATOR)return C},e[3]=f,e[4]=u,e[5]=p):p=e[5];const m=zr(p);if(d){let w;return e[6]!==s||e[7]!==n.$id?(w=a.jsx(gt,{"data-id":n.$id,children:s}),e[6]=s,e[7]=n.$id,e[8]=w):w=e[8],w}else if(f){let w;e[9]!==l||e[10]!==i?(w=l&&!i&&{borderBottom:"1px solid",borderColor:"divider"},e[9]=l,e[10]=i,e[11]=w):w=e[11];let C;e[12]!==i?(C=i&&{border:"2px solid",borderColor:"error.main"},e[12]=i,e[13]=C):C=e[13];let k;e[14]!==w||e[15]!==C?(k={flex:"1 1 auto",...w,...C},e[14]=w,e[15]=C,e[16]=k):k=e[16];let A;e[17]!==m||e[18]!==o||e[19]!==r?(A=!m&&a.jsxs(te,{justify:"space-between",sx:{borderBottom:"1px solid",borderBottomColor:"divider",px:2,py:1,flex:"0 0 auto"},direction:"row",align:"center",fullWidth:!0,children:[r,o]}),e[17]=m,e[18]=o,e[19]=r,e[20]=A):A=e[20];let P;e[21]!==c||e[22]!==n?(P=c&&a.jsx(g3,{description:c,band:!0,id:n.$id,schema:n,registry:null}),e[21]=c,e[22]=n,e[23]=P):P=e[23];let T;e[24]!==s||e[25]!==l?(T=l?s:a.jsx(Kt,{children:s}),e[24]=s,e[25]=l,e[26]=T):T=e[26];let j;return e[27]!==n.$id||e[28]!==k||e[29]!==A||e[30]!==P||e[31]!==T?(j=a.jsxs(te,{"data-id":n.$id,spacing:0,fullHeight:!0,sx:k,nowrap:!0,children:[A,P,T]}),e[27]=n.$id,e[28]=k,e[29]=A,e[30]=P,e[31]=T,e[32]=j):j=e[32],j}const h=d?0:2;let _;e[33]===Symbol.for("react.memo_cache_sentinel")?(_={mb:1.5,maxWidth:"100%"},e[33]=_):_=e[33];let g;e[34]!==c||e[35]!==n?(g=c&&a.jsx(g3,{description:c,band:!0,id:n.$id,schema:n,registry:null}),e[34]=c,e[35]=n,e[36]=g):g=e[36];let y;e[37]!==s||e[38]!==l?(y=l?a.jsx(a.Fragment,{children:s}):a.jsx(Kt,{children:s}),e[37]=s,e[38]=l,e[39]=y):y=e[39];let b;e[40]!==g||e[41]!==y?(b=a.jsxs(a.Fragment,{children:[g,y]}),e[40]=g,e[41]=y,e[42]=b):b=e[42];let x;return e[43]!==o||e[44]!==n.$id||e[45]!==i||e[46]!==h||e[47]!==b||e[48]!==r?(x=a.jsx(pr,{title:r,error:i,folder:!0,"data-id":n.$id,elevation:h,headerActionsComponent:o,sx:_,children:b}),e[43]=o,e[44]=n.$id,e[45]=i,e[46]=h,e[47]=b,e[48]=r,e[49]=x):x=e[49],x}function GJe(t){return t.selectedId}function WJe(t){const e=he.c(103),{canAdd:r,disabled:n,idSchema:s,uiSchema:i,items:o,onAddClick:l,readonly:c,registry:u,schema:d,title:f}=t,p=zr(JJe),m=zr(XJe);let h;e[0]!==o||e[1]!==u||e[2]!==d?(h=VN({items:o.map(ZJe),schema:d,registry:u}),e[0]=o,e[1]=u,e[2]=d,e[3]=h):h=e[3];const _=h,g=QJe;let y;e[4]!==_?(y=(we,Me,$e)=>{if(we!==null&&typeof we=="object"&&"__index__"in we){const Ve=$e==="UP"?Me-1:Me+1;return _[Ve].__index__}return $e==="UP"?Me-1:Me+1},e[4]=_,e[5]=y):y=e[5];const b=y;let x;e[6]!==i?(x=Dn(i),e[6]=i,e[7]=x):x=e[7];const w=x,{ButtonTemplates:C}=u.templates,{AddButton:k}=C;let A;e[8]!==o?(A=o.reduce(KJe,{}),e[8]=o,e[9]=A):A=e[9];const P=A;let T;e[10]!==P?(T=Object.keys(P),e[10]=P,e[11]=T):T=e[11];const j=T.length>0;let R;e[12]!==s.$id||e[13]!==p?(R=we=>{if(!p)return;const Me=s.$id.split(".").slice(2),Ve=[...p.split("."),...Me,we];return{selectableItemPath:Array.from(Ve).map(YJe),selectableItemId:Array.from(Ve).join(".")}},e[12]=s.$id,e[13]=p,e[14]=R):R=e[14];const D=R;let O;e[15]!==D||e[16]!==m?(O=(we,Me)=>{const $e=g(we,Me),Ve=D($e);if(Ve)return setTimeout(()=>{m({id:Ve.selectableItemId})},0)},e[15]=D,e[16]=m,e[17]=O):O=e[17];let N;e[18]===Symbol.for("react.memo_cache_sentinel")?(N=a.jsx(ge.Edit,{}),e[18]=N):N=e[18];let F;e[19]!==O?(F={label:"Edit",onClick:O,icon:N},e[19]=O,e[20]=F):F=e[20];let U,z;e[21]!==o?(U=(we,Me)=>{const $e=g(we,Me),{onCopyIndexClick:Ve}=o[$e];return Ve($e)()},z=(we,Me)=>{const $e=g(we,Me),{disabled:Ve,readonly:Ne}=o[$e];return!!(Ve||Ne)},e[21]=o,e[22]=U,e[23]=z):(U=e[22],z=e[23]);let H;e[24]===Symbol.for("react.memo_cache_sentinel")?(H=a.jsx(ge.Copy,{}),e[24]=H):H=e[24];let W;e[25]!==U||e[26]!==z?(W={label:"Copy",onClick:U,disabled:z,icon:H,wrapped:!0},e[25]=U,e[26]=z,e[27]=W):W=e[27];let K;e[28]!==b||e[29]!==o?(K=(we,Me)=>{const $e=g(we,Me),{onReorderClick:Ve}=o[$e];return Ve($e,b(we,Me,"UP"))()},e[28]=b,e[29]=o,e[30]=K):K=e[30];let q;e[31]!==o?(q=(we,Me)=>{const $e=g(we,Me),{disabled:Ve,readonly:Ne,hasMoveUp:Oe}=o[$e];return Ve||Ne||!Oe},e[31]=o,e[32]=q):q=e[32];let X;e[33]===Symbol.for("react.memo_cache_sentinel")?(X=a.jsx(ge.UpArrow,{}),e[33]=X):X=e[33];let Q;e[34]!==K||e[35]!==q?(Q={label:"Up",onClick:K,disabled:q,icon:X,wrapped:!0},e[34]=K,e[35]=q,e[36]=Q):Q=e[36];let Y;e[37]!==b||e[38]!==o?(Y=(we,Me)=>{const $e=g(we,Me),{onReorderClick:Ve}=o[$e];return Ve($e,b(we,Me,"DOWN"))()},e[37]=b,e[38]=o,e[39]=Y):Y=e[39];let Z;e[40]!==o?(Z=(we,Me)=>{const $e=g(we,Me),{disabled:Ve,readonly:Ne,hasMoveDown:Oe}=o[$e];return Ve||Ne||!Oe},e[40]=o,e[41]=Z):Z=e[41];let re;e[42]===Symbol.for("react.memo_cache_sentinel")?(re=a.jsx(ge.DownArrow,{}),e[42]=re):re=e[42];let fe;e[43]!==Y||e[44]!==Z?(fe={label:"Down",onClick:Y,disabled:Z,icon:re,wrapped:!0},e[43]=Y,e[44]=Z,e[45]=fe):fe=e[45];let de,se;e[46]!==o?(de=(we,Me)=>{const $e=g(we,Me),{onDropIndexClick:Ve}=o[$e];return setTimeout(()=>{Ve($e)()},0)},se=(we,Me)=>{const $e=g(we,Me),{disabled:Ve,readonly:Ne}=o[$e];return!!(Ve||Ne)},e[46]=o,e[47]=de,e[48]=se):(de=e[47],se=e[48]);let le;e[49]===Symbol.for("react.memo_cache_sentinel")?(le=a.jsx(ge.Trash,{}),e[49]=le):le=e[49];let ee;e[50]!==de||e[51]!==se?(ee={label:"Remove",onClick:de,disabled:se,icon:le,wrapped:!0},e[50]=de,e[51]=se,e[52]=ee):ee=e[52];let J;e[53]!==F||e[54]!==W||e[55]!==Q||e[56]!==fe||e[57]!==ee?(J=[F,W,Q,fe,ee],e[53]=F,e[54]=W,e[55]=Q,e[56]=fe,e[57]=ee,e[58]=J):J=e[58];const pe=J;let Se;e[59]===Symbol.for("react.memo_cache_sentinel")?(Se=[],e[59]=Se):Se=e[59];let ve=Se;if(d.items&&!Array.isArray(d.items)&&d.items!==!0){let we,Me;if(e[60]!==D||e[61]!==m||e[62]!==o||e[63]!==d.items){let $e={};const Ve=d.items.allOf||d.items.anyOf||d.items.oneOf;let Ne;e[66]!==d.items?(Ne=qu(d.items),e[66]=d.items,e[67]=Ne):Ne=e[67],we=Ne,d.items.properties?$e=d.items.properties:Ve&&Ve.forEach(Oe=>{Oe===!0||Oe===!1||Oe.properties&&Oe.type==="object"&&($e={...$e,...Oe.properties})}),Me=Object.keys($e||{}).filter(Oe=>{const ft=$e?.[Oe];return ft&&ft!==!0&&!Ve?!Ah(ft):!0}).map(Oe=>{const ft=Oe,Ct=$e?.[Oe],Et=Zl(Oe),at={key:ft,label:Et,numeric:!1,minWidth:"150"};return Ct&&typeof Ct=="object"&&(at.numeric=Ct.type==="number",at.label=Zl(Ct.title||Oe)),at.cellRender=($t,Ee)=>{const Be=D(Ee),qt=$t[ft],ar=Ct&&Ct!==!0&&i0(Ct),hr=Ct&&Ct!==!0&&zC(Ct),ir=qt&&Ct&&Ct!==!0&&QN(Ct);if(ar||hr)return Array.isArray(qt)?a.jsx("span",{children:qt.join(", ")||"—"}):a.jsx("span",{children:"-"});const cr=!!o[Ee].children.props.errorSchema?.[ft];if(typeof qt=="object"||Array.isArray(qt))return a.jsx(Ze,{variant:"text",size:"small",startIcon:Array.isArray(qt)?a.jsx(ge.Stack,{size:24}):a.jsx(ge.List,{size:24}),onClick:()=>{Be&&m({id:`${Be.selectableItemId}.${Oe}`})},text:Array.isArray(qt)?`${qt.length} item${qt.length!==1?"s":""}`:""});if(ir){const kr=Ct.format?.split(":"),Rr=kr?.[1],Ut=kr?.[2];return a.jsx(ms,{label:`${Rr} script ${Ut?" (base64)":"—"}`,size:"small",color:cr?"error":"info"})}return we===Oe?a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ge.Directions,{size:16}),a.jsx(_e,{type:"body2",color:cr?"error":"text.primary",children:`${qt??"—"}`})]}):a.jsx(_e,{type:"body2",color:cr?"error":"text.primary",children:`${qt??"—"}`})},at}),e[60]=D,e[61]=m,e[62]=o,e[63]=d.items,e[64]=we,e[65]=Me}else we=e[64],Me=e[65];if(ve=Me,we){let $e;e[68]!==ve||e[69]!==we?($e=ve.filter(Ct=>Ct.key===we),e[68]=ve,e[69]=we,e[70]=$e):$e=e[70];const Ve=$e;let Ne;e[71]!==ve||e[72]!==we?(Ne=ve.filter(Ct=>Ct.key!==we),e[71]=ve,e[72]=we,e[73]=Ne):Ne=e[73];const Oe=Ne;let ft;e[74]!==Ve||e[75]!==Oe?(ft=[...Ve,...Oe],e[74]=Ve,e[75]=Oe,e[76]=ft):ft=e[76],ve=ft}}const xe=ve,qe=!!xe.length,Le=w.title||f;let Te;e[77]!==s.$id||e[78]!==j||e[79]!==Le?(Te=a.jsx(X0,{id:s.$id,title:Le,isErrored:j,isArray:!0}),e[77]=s.$id,e[78]=j,e[79]=Le,e[80]=Te):Te=e[80];let je;e[81]!==k||e[82]!==r||e[83]!==n||e[84]!==l||e[85]!==c||e[86]!==u||e[87]!==i?(je=r&&a.jsx(k,{className:"array-item-add",onClick:l,disabled:n||c,uiSchema:i,registry:u}),e[81]=k,e[82]=r,e[83]=n,e[84]=l,e[85]=c,e[86]=u,e[87]=i,e[88]=je):je=e[88];const Ge=w.description||d.description;let nt;e[89]!==xe||e[90]!==s||e[91]!==o||e[92]!==_||e[93]!==pe?(nt=xe.length?a.jsx(Br,{columns:xe,rowsCount:_.length,rowsPerPage:_.length,orderBy:xe[0].key,page:0,hidePagination:!0,rowKey:xe[0].key,data:_,rowActions:pe,stickyRowActions:!0,hideRowsCount:!0}):a.jsx(te,{children:o.map(we=>{const{key:Me,...$e}=we;return a.jsx(qJe,{...$e,parentIdSchema:s},Me)})}),e[89]=xe,e[90]=s,e[91]=o,e[92]=_,e[93]=pe,e[94]=nt):nt=e[94];let Re;return e[95]!==s||e[96]!==j||e[97]!==qe||e[98]!==Te||e[99]!==je||e[100]!==Ge||e[101]!==nt?(Re=a.jsx(rue,{idSchema:s,isErrored:j,isArray:qe,title:Te,headerActionsComponent:je,description:Ge,children:nt}),e[95]=s,e[96]=j,e[97]=qe,e[98]=Te,e[99]=je,e[100]=Ge,e[101]=nt,e[102]=Re):Re=e[102],Re}function YJe(t){return t.toString()}function KJe(t,e){const r=e.children.props.errorSchema;return{...t,...r}}function QJe(t,e){return t!==null&&typeof t=="object"&&"__index__"in t?t.__index__:e}function ZJe(t){return t.children.props.formData}function XJe(t){return t.handleSelectNode}function JJe(t){return t.selectedId}function Fv(t){const e=he.c(29),{value:r,label:n,error:s,language:i,onChange:o,showError:l,sx:c,readonly:u}=t,d=l===void 0?!0:l,f=$Ee(),p=ci();let m;e[0]!==f?(m=()=>{f&&(f.languages.html.registerHTMLLanguageService("xml",{format:{wrapLineLength:0,preserveNewLines:!1,tabSize:2}},{documentFormattingEdits:!0}),f.languages.setLanguageConfiguration("xml",{indentationRules:{increaseIndentPattern:new RegExp(`<(?!\\?|[^>]*\\/>)([-_.A-Za-z0-9]+)(?=\\s|>)\\b[^>]*>(?!.*<\\/\\1>)|<!--(?!.*-->)|\\{[^}"']*$`),decreaseIndentPattern:new RegExp("^\\s*(<\\/(?!html)[-_.A-Za-z0-9]+\\b[^>]*>|-->|})")}}))},e[0]=f,e[1]=m):m=e[1];let h;e[2]!==i||e[3]!==f?(h=[i,f],e[2]=i,e[3]=f,e[4]=h):h=e[4],I.useEffect(m,h);let _;e[5]!==s||e[6]!==n?(_=n&&a.jsx(_e,{color:s?"error":"text.secondary",sx:{flex:"0 0 auto"},children:n}),e[5]=s,e[6]=n,e[7]=_):_=e[7];const g=s?"error.main":"grey.400";let y;e[8]!==c||e[9]!==g?(y={p:1,flex:"1 1 auto",width:"100%",border:"1px solid",borderColor:g,borderRadius:1,...c},e[8]=c,e[9]=g,e[10]=y):y=e[10];const b=p.palette.mode==="light"?"light":"vs-dark";let x;e[11]!==u?(x={automaticLayout:!0,autoClosingBrackets:"always",autoClosingQuotes:"always",autoIndent:"full",formatOnPaste:!0,formatOnType:!0,detectIndentation:!0,readOnly:u},e[11]=u,e[12]=x):x=e[12];let w;e[13]!==i||e[14]!==o||e[15]!==b||e[16]!==x||e[17]!==r?(w=a.jsx(SL,{theme:b,defaultValue:r,language:i,onChange:o,options:x}),e[13]=i,e[14]=o,e[15]=b,e[16]=x,e[17]=r,e[18]=w):w=e[18];let C;e[19]!==y||e[20]!==w?(C=a.jsx(gt,{sx:y,children:w}),e[19]=y,e[20]=w,e[21]=C):C=e[21];let k;e[22]!==s||e[23]!==d?(k=d&&s&&a.jsx(_e,{color:"error",type:"caption",sx:{pl:1.5,flex:"0 0 auto"},children:s}),e[22]=s,e[23]=d,e[24]=k):k=e[24];let A;return e[25]!==C||e[26]!==k||e[27]!==_?(A=a.jsxs(te,{fullHeight:!0,fullWidth:!0,nowrap:!0,spacing:.5,children:[_,C,k]}),e[25]=C,e[26]=k,e[27]=_,e[28]=A):A=e[28],A}function eet(t){const e=he.c(15),{schema:r,rawErrors:n,value:s,onChange:i,label:o,readonly:l}=t,{format:c}=r;let u;e[0]!==c?(u=c?.split(":"),e[0]=c,e[1]=u):u=e[1];const d=u,f=d?.[0]==="code",p=d?.[1],m=d?.[2]==="base64";let h;e:{if(m){const C=s||"";let k;e[2]!==C?(k=atob(C),e[2]=C,e[3]=k):k=e[3],h=k;break e}h=s}const _=h;let g;e[4]!==m||e[5]!==i?(g=C=>{if(C)return i(m?btoa(C):C)},e[4]=m,e[5]=i,e[6]=g):g=e[6];const y=g;if(!f||!p)return null;let b;e[7]===Symbol.for("react.memo_cache_sentinel")?(b={height:"500px"},e[7]=b):b=e[7];const x=n?.[0];let w;return e[8]!==_||e[9]!==y||e[10]!==o||e[11]!==p||e[12]!==l||e[13]!==x?(w=a.jsx(gt,{sx:b,children:a.jsx(Fv,{value:_,language:p,error:x,showError:!1,onChange:y,label:o,readonly:l})}),e[8]=_,e[9]=y,e[10]=o,e[11]=p,e[12]=l,e[13]=x,e[14]=w):w=e[14],w}function tet(t){const e=he.c(4),{schema:r}=t;if(QN(r)){let i;return e[0]!==t?(i=a.jsx(eet,{...t}),e[0]=t,e[1]=i):i=e[1],i}let s;return e[2]!==t?(s=a.jsx(Mce,{...t}),e[2]=t,e[3]=s):s=e[3],s}function ret(t){const e=he.c(4),{onClick:r,disabled:n}=t;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(ge.Add,{}),e[0]=s):s=e[0];let i;return e[1]!==n||e[2]!==r?(i=a.jsx(Ze,{onClick:r,size:"small",text:"Add new",disabled:n,startIcon:s,variant:"outlined"}),e[1]=n,e[2]=r,e[3]=i):i=e[3],i}function net(t){const e=he.c(4),{onClick:r,disabled:n}=t;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(ge.DownArrow,{}),e[0]=s):s=e[0];let i;return e[1]!==n||e[2]!==r?(i=a.jsx(Ze,{onClick:r,size:"small",text:"Down",variant:"outlined",disabled:n,startIcon:s}),e[1]=n,e[2]=r,e[3]=i):i=e[3],i}function set(t){const e=he.c(4),{onClick:r,disabled:n}=t;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(ge.UpArrow,{}),e[0]=s):s=e[0];let i;return e[1]!==n||e[2]!==r?(i=a.jsx(Ze,{onClick:r,size:"small",text:"Up",variant:"outlined",disabled:n,startIcon:s}),e[1]=n,e[2]=r,e[3]=i):i=e[3],i}function iet(t){const e=he.c(4),{onClick:r,disabled:n}=t;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(ge.Trash,{}),e[0]=s):s=e[0];let i;return e[1]!==n||e[2]!==r?(i=a.jsx(Ze,{onClick:r,size:"small",text:"Remove",variant:"outlined",disabled:n,startIcon:s}),e[1]=n,e[2]=r,e[3]=i):i=e[3],i}function oet(){return null}function aet(t){const e=he.c(28),r=ci(),n=mce(t.schema);let s;e[0]!==t.schema.type?(s=Array.isArray(t.schema.type)&&t.schema.type.find(cet),e[0]=t.schema.type,e[1]=s):s=e[1];const i=s,o=t.schema.anyOf&&t.description;if(n)return null;let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l={mb:3},e[2]=l):l=e[2];let c;e[3]!==t.schema.deprecated||e[4]!==r?(c=t.schema.deprecated&&{backgroundColor:br(r.palette.warning.main,.2),borderRadius:1,p:.5},e[3]=t.schema.deprecated,e[4]=r,e[5]=c):c=e[5];let u;e[6]!==c?(u={"& .form-group.field.field-string, & .form-group.field.field-boolean, & .form-group.field.field-integer":l,...c},e[6]=c,e[7]=u):u=e[7];let d;e[8]!==t.schema.deprecated?(d=t.schema.deprecated&&a.jsx(Lr,{title:"Deprecated",severity:"warning"}),e[8]=t.schema.deprecated,e[9]=d):d=e[9];let f;e[10]!==i?(f=i&&{padding:2,border:"1px solid",borderColor:"divider",borderRadius:1,mb:3},e[10]=i,e[11]=f):f=e[11];let p;e[12]!==f?(p={...f},e[12]=f,e[13]=p):p=e[13];let m;e[14]!==i||e[15]!==t?(m=i&&a.jsx(gt,{sx:{flex:"0 0 auto",ml:-.5},children:a.jsx(da,{label:"Set to Null",checked:t.formData===null,onChange:(b,x)=>{t.onChange(x?null:void 0)},size:"small"})}),e[14]=i,e[15]=t,e[16]=m):m=e[16];const h=o?void 0:t.description;let _;e[17]!==t||e[18]!==h?(_=a.jsx(Pce,{...t,description:h}),e[17]=t,e[18]=h,e[19]=_):_=e[19];let g;e[20]!==p||e[21]!==m||e[22]!==_?(g=a.jsxs(te,{fullWidth:!0,spacing:0,sx:p,children:[m,_]}),e[20]=p,e[21]=m,e[22]=_,e[23]=g):g=e[23];let y;return e[24]!==g||e[25]!==u||e[26]!==d?(y=a.jsxs(te,{sx:u,"data-id":"field",spacing:1.5,children:[d,g]}),e[24]=g,e[25]=u,e[26]=d,e[27]=y):y=e[27],y}function cet(t){return t!=="null"}function uet(t,e){const r=e.indexOf(t[t.length-1]);return t.length===1&&t[0]===wo?[...e.slice(r+1)]:r!==-1?[...t,...e.slice(r+1)]:[...t,...e]}function det(t){const e=he.c(38),{errorSchema:r,description:n,properties:s,disabled:i,readonly:o,uiSchema:l,idSchema:c,schema:u,formData:d,onAddClick:f,registry:p,title:m}=t,h=zr(met),_=zr(pet),{ButtonTemplates:g}=p.templates,{AddButton:y}=g,b=c.$id===wo;let x;e[0]!==h?(x=N=>{if(!h)return;const F=N.split("."),U=h.split("."),z=uet(U,F);return{selectableItemPath:z.map(fet),selectableItemId:z.join(".")}},e[0]=h,e[1]=x):x=e[1];const w=x;let C;e[2]!==w||e[3]!==_?(C=N=>{const F=w(N);F&&_({id:F.selectableItemId})},e[2]=w,e[3]=_,e[4]=C):C=e[4];const k=C;let A;e[5]!==r?(A=Object.keys(r||{}),e[5]=r,e[6]=A):A=e[6];const P=A.length>0;let T;e[7]!==c.$id||e[8]!==P||e[9]!==m?(T=a.jsx(X0,{id:c.$id,title:m,isObject:!0,isErrored:P}),e[7]=c.$id,e[8]=P,e[9]=m,e[10]=T):T=e[10];let j;e[11]!==y||e[12]!==i||e[13]!==d||e[14]!==f||e[15]!==o||e[16]!==p||e[17]!==u||e[18]!==l?(j=bN(u,l,d)&&a.jsx(y,{className:"object-property-expand",onClick:f(u),disabled:i||o,uiSchema:l,registry:p}),e[11]=y,e[12]=i,e[13]=d,e[14]=f,e[15]=o,e[16]=p,e[17]=u,e[18]=l,e[19]=j):j=e[19];let R;if(e[20]!==k||e[21]!==b||e[22]!==s||e[23]!==p){let N;e[25]!==k||e[26]!==b||e[27]!==p?(N=(F,U)=>{const z=F.content.props,H=z.schema,W=H.title||z.name,K=z.formData,q=Object.keys(H.properties||[]),X=H.type==="object"&&!b,Q=z.idSchema.$id,Y=z.errorSchema,Z=Object.keys(Y||{}).length>0;return Ah(H)?null:F.hidden?F.content:X?a.jsx(tue,{id:Q,schema:H,objKeys:q,objData:K,objErrors:Y,onClick:()=>k(Q),title:W,isErrored:Z,registry:p},`${Q}-${U}`):a.jsx(gt,{sx:{mb:1.5,"&:last-child":{mb:0}},"data-id":"object-box",children:F.content},`${Q}-${U}`)},e[25]=k,e[26]=b,e[27]=p,e[28]=N):N=e[28],R=s.map(N),e[20]=k,e[21]=b,e[22]=s,e[23]=p,e[24]=R}else R=e[24];let D;e[29]!==R?(D=a.jsx(a.Fragment,{children:R}),e[29]=R,e[30]=D):D=e[30];let O;return e[31]!==n||e[32]!==c||e[33]!==P||e[34]!==T||e[35]!==j||e[36]!==D?(O=a.jsx(rue,{idSchema:c,title:T,description:n,isErrored:P,headerActionsComponent:j,children:D}),e[31]=n,e[32]=c,e[33]=P,e[34]=T,e[35]=j,e[36]=D,e[37]=O):O=e[37],O}function fet(t){return t?.toString()}function pet(t){return t.handleSelectNode}function met(t){return t.selectedId}function het(t){const e=new Set;function r(n){if(typeof n!="object"||n===null)return;const s=n;"discriminator"in s&&typeof s.discriminator=="object"&&s.discriminator&&"propertyName"in s.discriminator&&typeof s.discriminator.propertyName=="string"&&s.discriminator.propertyName&&e.add(s.discriminator.propertyName);for(const i in s)r(s[i])}return r(t),e}function qs(t){const e=he.c(79);let r,n,s,i,o,l,c,u,d,f,p,m,h,_,g,y,b,x,w,C,k,A,P;e[0]!==t?({disabled:o,variant:P,label:f,error:l,fullWidth:c,name:h,value:A,size:w,required:x,onChange:_,children:n,multiple:m,open:g,id:d,labelId:p,autoWidth:r,helperText:u,renderValue:b,color:s,defaultValue:i,tooltip:k,sx:C,...y}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d,e[10]=f,e[11]=p,e[12]=m,e[13]=h,e[14]=_,e[15]=g,e[16]=y,e[17]=b,e[18]=x,e[19]=w,e[20]=C,e[21]=k,e[22]=A,e[23]=P):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9],f=e[10],p=e[11],m=e[12],h=e[13],_=e[14],g=e[15],y=e[16],b=e[17],x=e[18],w=e[19],C=e[20],k=e[21],A=e[22],P=e[23]);const T=iN();let j;e[24]!==w?(j=w==="small"&&{"&.MuiInputLabel-animated ":{transform:"translate(14px, 8px) scale(1)","&.MuiInputLabel-shrink":{transform:"translate(14px, -9px) scale(0.75)"}}},e[24]=w,e[25]=j):j=e[25];let R;e[26]!==j?(R={...j},e[26]=j,e[27]=R):R=e[27];let D;e[28]!==f||e[29]!==p||e[30]!==R?(D=a.jsx(GO,{id:p,sx:R,children:f}),e[28]=f,e[29]=p,e[30]=R,e[31]=D):D=e[31];const O=T&&T;let N;e[32]!==h?(N=h&&{"data-testid":`field-${h}`},e[32]=h,e[33]=N):N=e[33];let F;e[34]!==k?(F=k&&{endAdornment:a.jsx(gt,{sx:{position:"relative",right:12,display:"flex",alignItems:"center"},children:a.jsx(Mn,{title:k,arrow:!0,children:a.jsx("span",{children:a.jsx(ge.Info,{})})})})},e[34]=k,e[35]=F):F=e[35];let U;e[36]!==w?(U=w==="small"&&{m:0,p:0},e[36]=w,e[37]=U):U=e[37];let z;e[38]!==k?(z=k&&{".MuiSelect-icon":{position:"relative",right:16}},e[38]=k,e[39]=z):z=e[39];let H;e[40]!==U||e[41]!==z?(H={...U,m:0,p:0,...z},e[40]=U,e[41]=z,e[42]=H):H=e[42];const W=`field-input-${h}`;let K;e[43]!==W?(K={"data-testid":W},e[43]=W,e[44]=K):K=e[44];let q;e[45]!==r||e[46]!==n||e[47]!==s||e[48]!==i||e[49]!==o||e[50]!==l||e[51]!==c||e[52]!==d||e[53]!==f||e[54]!==p||e[55]!==m||e[56]!==h||e[57]!==_||e[58]!==g||e[59]!==y||e[60]!==b||e[61]!==x||e[62]!==w||e[63]!==K||e[64]!==O||e[65]!==N||e[66]!==F||e[67]!==H||e[68]!==A||e[69]!==P?(q=a.jsx(yA,{...y,labelId:p,id:d,value:A,open:g,label:f,name:h,disabled:o,variant:P,error:l,fullWidth:c,required:x,onChange:_,multiple:m,autoWidth:r,renderValue:b,defaultValue:i,color:s,...O,...N,size:w,...F,sx:H,inputProps:K,children:n}),e[45]=r,e[46]=n,e[47]=s,e[48]=i,e[49]=o,e[50]=l,e[51]=c,e[52]=d,e[53]=f,e[54]=p,e[55]=m,e[56]=h,e[57]=_,e[58]=g,e[59]=y,e[60]=b,e[61]=x,e[62]=w,e[63]=K,e[64]=O,e[65]=N,e[66]=F,e[67]=H,e[68]=A,e[69]=P,e[70]=q):q=e[70];let X;e[71]!==l||e[72]!==u?(X=u&&a.jsx(gv,{error:l,children:u}),e[71]=l,e[72]=u,e[73]=X):X=e[73];let Q;return e[74]!==C||e[75]!==q||e[76]!==X||e[77]!==D?(Q=a.jsxs(hv,{fullWidth:!0,sx:C,children:[D,q,X]}),e[74]=C,e[75]=q,e[76]=X,e[77]=D,e[78]=Q):Q=e[78],Q}function get(t){const e=he.c(51),{id:r,options:n,label:s,hideLabel:i,required:o,disabled:l,schema:c,readonly:u,value:d,multiple:f,name:p,onChange:m,size:h,rawErrors:_,registry:g}=t;let y;e[0]!==_?(y=_===void 0?[]:_,e[0]=_,e[1]=y):y=e[1];const b=y,{enumOptions:x,enumDisabled:w,emptyValue:C}=n,{rootSchema:k}=g;let A,P,T,j;if(e[2]!==x||e[3]!==f||e[4]!==p||e[5]!==m||e[6]!==C||e[7]!==k||e[8]!==d){const K=het(k);let q;e[13]!==f?(q=f?[]:"",e[13]=f,e[14]=q):q=e[14],A=q;let X;e[15]!==x||e[16]!==m||e[17]!==C?(X=Y=>{const{target:Z}=Y,{value:re}=Z,fe=Gi(re,x,C);m(fe)},e[15]=x,e[16]=m,e[17]=C,e[18]=X):X=e[18],P=X;let Q;e[19]!==x||e[20]!==f||e[21]!==d?(Q=ZA(d,x,f),e[19]=x,e[20]=f,e[21]=d,e[22]=Q):Q=e[22],T=Q,j=K.has(p)&&x?.length===1&&d,e[2]=x,e[3]=f,e[4]=p,e[5]=m,e[6]=C,e[7]=k,e[8]=d,e[9]=A,e[10]=P,e[11]=T,e[12]=j}else A=e[9],P=e[10],T=e[11],j=e[12];if(j){let K;e[23]===Symbol.for("react.memo_cache_sentinel")?(K={alignSelf:"start"},e[23]=K):K=e[23];let q;return e[24]!==d?(q=a.jsx(ms,{sx:K,label:d}),e[24]=d,e[25]=q):q=e[25],q}let R;e[26]!==i||e[27]!==s?(R=Up(s||void 0,i,!1)||"",e[26]=i,e[27]=s,e[28]=R):R=e[28];const D=`${R}`,O=typeof T>"u"?A:T,N=l||u,F=b.length>0;let U;e[29]!==r?(U=Ua(r),e[29]=r,e[30]=U):U=e[30];let z;e[31]!==f||e[32]!==o||e[33]!==c?(z=!f&&c.default===void 0&&!o&&a.jsx(En,{value:"",children:"---"}),e[31]=f,e[32]=o,e[33]=c,e[34]=z):z=e[34];let H;e[35]!==w||e[36]!==x?(H=Array.isArray(x)&&x.map((K,q)=>{const{value:X,label:Q}=K,Y=Array.isArray(w)&&w.indexOf(X)!==-1;return a.jsx(En,{value:String(q),disabled:Y,children:Q},q)}),e[35]=w,e[36]=x,e[37]=H):H=e[37];let W;return e[38]!==P||e[39]!==r||e[40]!==f||e[41]!==o||e[42]!==h||e[43]!==z||e[44]!==H||e[45]!==D||e[46]!==O||e[47]!==N||e[48]!==F||e[49]!==U?(W=a.jsxs(qs,{id:r,name:r,label:D,value:O,required:o,disabled:N,multiple:f,error:F,onChange:P,size:h,fullWidth:!1,"aria-describedby":U,children:[z,H]}),e[38]=P,e[39]=r,e[40]=f,e[41]=o,e[42]=h,e[43]=z,e[44]=H,e[45]=D,e[46]=O,e[47]=N,e[48]=F,e[49]=U,e[50]=W):W=e[50],W}function _et(){const t=he.c(16),e=zr(wet),r=zr(xet),n=zr(bet),s=zr(yet),i=zr(vet);let o;t[0]!==s?(o=x=>{const w=RZe(x.formData);s(w)},t[0]=s,t[1]=o):o=t[1];const l=o;let c;t[2]===Symbol.for("react.memo_cache_sentinel")?(c={ObjectFieldTemplate:det,TitleFieldTemplate:X0,DescriptionFieldTemplate:g3,ArrayFieldTemplate:WJe,FieldTemplate:aet,BaseInputTemplate:tet,ButtonTemplates:{AddButton:ret,RemoveButton:iet,MoveDownButton:net,MoveUpButton:set,SubmitButton:oet}},t[2]=c):c=t[2];const u=c;let d;t[3]===Symbol.for("react.memo_cache_sentinel")?(d={ArrayField:tJe,AnyOfField:cX,OneOfField:cX},t[3]=d):d=t[3];const f=d;let p;t[4]===Symbol.for("react.memo_cache_sentinel")?(p={select:get},t[4]=p):p=t[4];const m=p;if(!e||!n){let x;return t[5]===Symbol.for("react.memo_cache_sentinel")?(x=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[5]=x):x=t[5],x}let h;t[6]===Symbol.for("react.memo_cache_sentinel")?(h={overflow:"hidden"},t[6]=h):h=t[6];let _;t[7]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(gt,{sx:{flex:"0 0 auto",borderBottom:"1px solid",borderColor:"divider",px:2,py:1},children:a.jsx(vJe,{})}),t[7]=_):_=t[7];let g;t[8]===Symbol.for("react.memo_cache_sentinel")?(g={overflow:"auto","& .form-group > .MuiFormControl-root":{mt:0},"& .form-group.field":{"&.field-array, &.field-object":{maxWidth:"100%"}}},t[8]=g):g=t[8];let y;t[9]===Symbol.for("react.memo_cache_sentinel")?(y={arrayMinItems:{populate:"requiredOnly"},emptyObjectFields:"populateRequiredDefaults"},t[9]=y):y=t[9];let b;return t[10]!==l||t[11]!==r||t[12]!==n||t[13]!==e||t[14]!==i?(b=a.jsxs(te,{fullHeight:!0,direction:"column",nowrap:!0,sx:h,spacing:0,children:[_,a.jsx(gt,{sx:g,children:a.jsx(EZe,{schema:e,validator:Nce,formData:r,onChange:l,liveValidate:!0,showErrorList:!1,noHtml5Validate:!0,idSeparator:".",templates:u,fields:f,widgets:m,transformErrors:jce,experimental_defaultFormStateBehavior:y,uiSchema:i},n)})]}),t[10]=l,t[11]=r,t[12]=n,t[13]=e,t[14]=i,t[15]=b):b=t[15],b}function vet(t){return t.selectedUiSchema||void 0}function yet(t){return t.handleDataChange}function bet(t){return t.selectedId}function xet(t){return t.selectedData}function wet(t){return t.selectedSchema}const zp=t=>{const e=he.c(3),{children:r}=t;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={flexGrow:1,overflowY:"auto",pt:1,px:2,pb:2},e[0]=n):n=e[0];let s;return e[1]!==r?(s=a.jsx(te,{direction:"column",nowrap:!0,sx:n,children:r}),e[1]=r,e[2]=s):s=e[2],s};function kh(t){const e=he.c(25);let r,n,s,i,o,l,c,u,d;e[0]!==t?({color:n,disabled:s,size:c,value:d,children:r,onClick:i,sx:u,single:l,...o}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9]);let f;e[10]!==l||e[11]!==c?(f=c==="small"&&{height:40,...l&&{width:40}},e[10]=l,e[11]=c,e[12]=f):f=e[12];let p;e[13]!==u||e[14]!==f?(p={...u,...f},e[13]=u,e[14]=f,e[15]=p):p=e[15];let m;return e[16]!==r||e[17]!==n||e[18]!==s||e[19]!==i||e[20]!==o||e[21]!==c||e[22]!==p||e[23]!==d?(m=a.jsx(VFe,{color:n,disabled:s,size:c,value:d,onClick:i,...o,sx:p,children:r}),e[16]=r,e[17]=n,e[18]=s,e[19]=i,e[20]=o,e[21]=c,e[22]=p,e[23]=d,e[24]=m):m=e[24],m}function lk(t){const e=he.c(19);let r,n,s,i,o,l;e[0]!==t?({value:l,onChange:s,children:r,"data-testid":n,innerSelection:o,...i}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6]);const c=o===void 0?!0:o,[u,d]=I.useState(l);let f;e[7]!==c||e[8]!==s?(f=(g,y)=>{c&&d(y),s&&s(y)},e[7]=c,e[8]=s,e[9]=f):f=e[9];const p=f;let m,h;e[10]!==l?(m=()=>{d(l)},h=[l],e[10]=l,e[11]=m,e[12]=h):(m=e[11],h=e[12]),I.useEffect(m,h);let _;return e[13]!==r||e[14]!==n||e[15]!==p||e[16]!==i||e[17]!==u?(_=a.jsx(YFe,{value:u,onChange:p,"data-testid":n,...i,children:r}),e[13]=r,e[14]=n,e[15]=p,e[16]=i,e[17]=u,e[18]=_):_=e[18],_}function Cet(){const t=he.c(13),e=zr(ket),r=zr(Aet);let n;t[0]!==r?(n=f=>{r(f)},t[0]=r,t[1]=n):n=t[1];const s=e===nl.JSON_VIEW_MODE;let i;t[2]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx(ge.Tree,{size:24}),t[2]=i):i=t[2];let o;t[3]!==s?(o=a.jsx(kh,{value:nl.JSON_VIEW_MODE,disabled:s,children:i},nl.JSON_VIEW_MODE),t[3]=s,t[4]=o):o=t[4];const l=e===nl.EDITOR_VIEW_MODE;let c;t[5]===Symbol.for("react.memo_cache_sentinel")?(c=a.jsx(ge.Code,{size:24}),t[5]=c):c=t[5];let u;t[6]!==l?(u=a.jsx(kh,{value:nl.EDITOR_VIEW_MODE,disabled:l,children:c},nl.EDITOR_VIEW_MODE),t[6]=l,t[7]=u):u=t[7];let d;return t[8]!==n||t[9]!==o||t[10]!==u||t[11]!==e?(d=a.jsxs(lk,{color:"primary",value:e,onChange:n,exclusive:!0,children:[o,u]}),t[8]=n,t[9]=o,t[10]=u,t[11]=e,t[12]=d):d=t[12],d}function Aet(t){return t.setViewMode}function ket(t){return t.viewMode}function Met(t){const e=he.c(36),{toolbarActions:r,actionError:n}=t,s=zr(Det),i=zr(Iet),o=zr(Ret),l=zr(Eet),c=zr(Tet),{drawerOpen:u,drawerClose:d,popoverOpen:f}=Jt(),p=zr(jet);let m;e[0]!==d||e[1]!==u||e[2]!==i||e[3]!==c||e[4]!==p?(m=()=>{u({width:600,title:`${i.length} Error${i.length!==1?"s":""}`,content:()=>a.jsx(zp,{children:i.map(T=>{const{id:j}=IZe(T),R=j?.split("."),D=R?.map((O,N)=>{const F=R?.slice(0,N+1).join(".");let U=!1;function z(W){const K=R?.slice(0,W+1).join("."),q=p[K];return q||(U=!0,z(W-1))}const H=z(N);return{text:O,trail:F,schemaField:H,parentSchemaField:U}})||[];return a.jsx(gt,{onClick:()=>{c({id:D[D.length-1].schemaField.id}),d()},sx:{cursor:"pointer"},children:a.jsx(Lr,{severity:"error",message:T.message,title:D.map(Pet).join(" / ")})},T.property)})})})},e[0]=d,e[1]=u,e[2]=i,e[3]=c,e[4]=p,e[5]=m):m=e[5];const h=m;let _;e[6]!==n||e[7]!==f?(_=T=>{f({anchorEl:T.currentTarget,anchorOrigin:{vertical:"top",horizontal:"right"},content:()=>a.jsx(a.Fragment,{children:n})})},e[6]=n,e[7]=f,e[8]=_):_=e[8];const g=_;let y;e[9]===Symbol.for("react.memo_cache_sentinel")?(y={px:2,py:1,borderTop:"1px solid",borderColor:"divider"},e[9]=y):y=e[9];let b;e[10]===Symbol.for("react.memo_cache_sentinel")?(b=a.jsx(Cet,{}),e[10]=b):b=e[10];let x;e[11]!==i.length||e[12]!==h||e[13]!==l?(x=l===nl.JSON_VIEW_MODE&&i.length>0&&a.jsx(gt,{onClick:h,sx:{cursor:"pointer"},children:a.jsx(Lr,{severity:"error",title:`${i.length} Error${i.length>1?"s":""}`})}),e[11]=i.length,e[12]=h,e[13]=l,e[14]=x):x=e[14];let w;e[15]!==o||e[16]!==l?(w=l===nl.EDITOR_VIEW_MODE&&o>0&&a.jsx(Lr,{severity:"error",title:`${o} Error${o>1?"s":""}`}),e[15]=o,e[16]=l,e[17]=w):w=e[17];let C;e[18]!==o||e[19]!==i.length||e[20]!==l?(C=(l===nl.EDITOR_VIEW_MODE&&o===0||l===nl.JSON_VIEW_MODE&&i.length===0)&&a.jsx(Lr,{severity:"success",title:"No Errors"}),e[18]=o,e[19]=i.length,e[20]=l,e[21]=C):C=e[21];let k;e[22]!==x||e[23]!==w||e[24]!==C?(k=a.jsxs(te,{direction:"row",children:[b,a.jsxs(te,{justify:"center",children:[x,w,C]})]}),e[22]=x,e[23]=w,e[24]=C,e[25]=k):k=e[25];let A;e[26]!==n||e[27]!==s||e[28]!==o||e[29]!==i.length||e[30]!==g||e[31]!==r?(A=r&&a.jsxs(te,{direction:"row",children:[r?.map(T=>{const{name:j,onClick:R,disabledOnErrors:D,variant:O,...N}=T;return a.jsx(Ze,{variant:O,text:j,onClick:()=>{R(s)},disabled:D?i.length>0||o>0:!1,...N},j)}),n&&a.jsx(gt,{onClick:g,sx:{cursor:"pointer"},children:a.jsx(Lr,{severity:"error",title:"Error"})})]}),e[26]=n,e[27]=s,e[28]=o,e[29]=i.length,e[30]=g,e[31]=r,e[32]=A):A=e[32];let P;return e[33]!==k||e[34]!==A?(P=a.jsx(gt,{sx:y,children:a.jsxs(te,{align:"center",justify:"space-between",fullWidth:!0,direction:"row",nowrap:!0,children:[k,A]})}),e[33]=k,e[34]=A,e[35]=P):P=e[35],P}function Pet(t){const{text:e,schemaField:r,parentSchemaField:n}=t;return Zl(n?e:r?.title||e)}function jet(t){return t.schemaFields}function Tet(t){return t.handleSelectNode}function Eet(t){return t.viewMode}function Ret(t){return t.editorErrors}function Iet(t){return t.errors}function Det(t){return t.data}function $et(t){const e=he.c(61),{title:r,type:n,id:s,itemsLength:i,deprecated:o}=t,l=ci(),c=zr(Uet),u=zr(Fet);let d;e[0]!==s?(d=Q=>Q.selectedId===s,e[0]=s,e[1]=d):d=e[1];const f=zr(d);let p;e[2]!==s?(p=Q=>Q.expandedIds.includes(s),e[2]=s,e[3]=p):p=e[3];const m=zr(p),h=s===wo,_=n===ol.DISCRIMINATOR,g=n===ol.LEAF,y=n===ol.ARRAY,b=n===ol.OBJECT,x=i===0;let w;e[4]!==s||e[5]!==h?(w=Q=>Q.expandedIds.includes(s.split(".").slice(0,-1).join("."))||h,e[4]=s,e[5]=h,e[6]=w):w=e[6];const C=zr(w);let k;e[7]!==s||e[8]!==n?(k=Q=>{const Y=Q.schemaFields[s];if(Y&&n!==Y.type&&Y.type===ol.DISCRIMINATOR)return Y},e[7]=s,e[8]=n,e[9]=k):k=e[9];const A=zr(k);let P;e[10]!==r?(P=Zl(r),e[10]=r,e[11]=P):P=e[11];const T=P;let j;e[12]!==s||e[13]!==h?(j=Q=>{const Y=Q.errors;if(h&&Y?.length)return!0;const Z=s.replace(wo,"");if(!Y||!Z)return!1;const re=Z.split(".");return Y.map(Net).map(Let).filter(Oet).some(fe=>re.every((de,se)=>fe[se]===de))},e[12]=s,e[13]=h,e[14]=j):j=e[14];const R=zr(j);if(!C||_||_)return null;let D;e[15]!==f||e[16]!==l?(D=f?Ic(l.palette.primary.main,.1):"transparent",e[15]=f,e[16]=l,e[17]=D):D=e[17];let O;e[18]===Symbol.for("react.memo_cache_sentinel")?(O={backgroundColor:"action.hover"},e[18]=O):O=e[18];let N;e[19]!==o?(N=o&&{"& p":{textDecoration:"line-through"}},e[19]=o,e[20]=N):N=e[20];let F;e[21]!==D||e[22]!==N?(F={backgroundColor:D,borderRadius:1,borderTopRightRadius:0,borderBottomRightRadius:0,mt:"1px",flex:"0 0 auto","&:hover":O,cursor:"pointer",...N},e[21]=D,e[22]=N,e[23]=F):F=e[23];let U;e[24]!==c||e[25]!==s||e[26]!==g?(U=()=>{let Q=s;g&&(Q=s.split(".").slice(0,-1).join(".")),c({id:Q})},e[24]=c,e[25]=s,e[26]=g,e[27]=U):U=e[27];let z;e[28]!==s||e[29]!==x||e[30]!==m||e[31]!==y||e[32]!==b||e[33]!==u?(z=(y||b)&&!x?a.jsx(te,{sx:{fontSize:"16px",p:1,cursor:"pointer"},onClick:Q=>{Q.stopPropagation(),u({id:s,expanded:!m})},children:m?a.jsx(ge.DownArrow,{}):a.jsx(ge.RightArrow,{})}):a.jsx(gt,{sx:{p:1},children:a.jsx(gt,{sx:{width:"16px",height:"16px"}})}),e[28]=s,e[29]=x,e[30]=m,e[31]=y,e[32]=b,e[33]=u,e[34]=z):z=e[34];let H;e[35]!==T||e[36]!==f||e[37]!==R||e[38]!==h||e[39]!==y||e[40]!==b||e[41]!==i?(H=(y||b)&&a.jsxs(te,{direction:"row",nowrap:!0,align:"center",children:[a.jsx(te,{sx:{flex:"0 0 auto",color:R?"error.main":f?"primary.main":"text.primary",fontSize:"24px"},align:"center",justify:"center",nowrap:!0,children:h?a.jsx(ge.Tree,{}):y?a.jsx(ge.Stack,{}):a.jsx(ge.List,{})}),a.jsx(_e,{type:"body1",sx:{textTransform:"none",overflow:"hidden",whiteSpace:"nowrap"},color:R?"error":f?"primary.main":"text.primary",fontWeight:R||f?"600":"400",children:T}),y&&a.jsx(_e,{type:"caption",sx:{fontWeight:"600",px:.5,backgroundColor:"divider",color:"text.primary",borderRadius:1,overflow:"hidden",whiteSpace:"nowrap",textAlign:"center"},children:i})]}),e[35]=T,e[36]=f,e[37]=R,e[38]=h,e[39]=y,e[40]=b,e[41]=i,e[42]=H):H=e[42];let W;e[43]!==A||e[44]!==T||e[45]!==f||e[46]!==R||e[47]!==g?(W=g&&a.jsxs(te,{direction:"row",nowrap:!0,align:"center",sx:{flex:"0 0 auto"},children:[a.jsx(te,{sx:{flex:"0 0 auto",color:R?"error.main":"text.secondary",fontSize:"12px",height:"24px",width:"24px"},align:"center",justify:"center",nowrap:!0,children:a.jsx(ge.Circle,{})}),a.jsx(_e,{type:"body1",sx:{flex:"0 0 auto"},color:R?"error":"text.primary",fontWeight:R||f?"600":"400",children:A?.discriminatorTitle?`${Zl(A.discriminatorTitle)}`:T})]}),e[43]=A,e[44]=T,e[45]=f,e[46]=R,e[47]=g,e[48]=W):W=e[48];let K;e[49]!==A?(K=!!A&&a.jsxs(te,{direction:"row",nowrap:!0,spacing:0,align:"center",sx:{ml:1,backgroundColor:"divider",color:"text.primary",borderRadius:1,overflow:"hidden",whiteSpace:"nowrap",flex:"0 0 auto"},children:[a.jsx(te,{sx:{width:"24px",height:"24px",flex:"0 0 auto"},align:"center",justify:"center",nowrap:!0,children:a.jsx(ge.Directions,{size:14})}),a.jsx(_e,{type:"caption",sx:{textTransform:"none",fontWeight:"600",flex:"0 0 auto",pr:.8},children:Zl(A.title)})]}),e[49]=A,e[50]=K):K=e[50];let q;e[51]!==o?(q=o&&a.jsxs(te,{align:"center",direction:"row",sx:{ml:1,px:.5,borderRadius:.5,color:"warning.contrastText",backgroundColor:"warning.main"},nowrap:!0,children:[a.jsx(ge.StatusWarningSmall,{size:16}),a.jsx(_e,{type:"caption",color:"warning",children:"Deprecated"})]}),e[51]=o,e[52]=q):q=e[52];let X;return e[53]!==F||e[54]!==U||e[55]!==z||e[56]!==H||e[57]!==W||e[58]!==K||e[59]!==q?(X=a.jsxs(te,{align:"center",direction:"row",justify:"flex-start",spacing:0,sx:F,onClick:U,nowrap:!0,children:[z,H,W,K,q]}),e[53]=F,e[54]=U,e[55]=z,e[56]=H,e[57]=W,e[58]=K,e[59]=q,e[60]=X):X=e[60],X}function Oet(t){return!!t}function Let(t){return t?t.split("."):""}function Net(t){return t.property}function Fet(t){return t.setExpandedId}function Uet(t){return t.handleSelectNode}function Bet(t){const e=he.c(7),{children:r,type:n,id:s}=t;let i;e[0]!==s?(i=u=>u.expandedIds.includes(s),e[0]=s,e[1]=i):i=e[1];const o=zr(i);if(n===ol.DISCRIMINATOR){let u;return e[2]!==r?(u=a.jsx(a.Fragment,{children:r}),e[2]=r,e[3]=u):u=e[3],u}if(!o)return null;let l;e[4]===Symbol.for("react.memo_cache_sentinel")?(l={pl:1.5},e[4]=l):l=e[4];let c;return e[5]!==r?(c=a.jsx(gt,{sx:l,children:r}),e[5]=r,e[6]=c):c=e[6],c}function ck(t){const e=he.c(10),{title:r,type:n,id:s,schema:i,discriminatorTitle:o}=t,l=zr(zet);let c,u;e[0]!==o||e[1]!==s||e[2]!==i||e[3]!==l||e[4]!==r||e[5]!==n?(c=()=>{n!==ol.LEAF&&l({id:s,schema:i,title:r,type:n,discriminatorTitle:o})},u=[o,s,i,l,r,n],e[0]=o,e[1]=s,e[2]=i,e[3]=l,e[4]=r,e[5]=n,e[6]=c,e[7]=u):(c=e[6],u=e[7]),I.useEffect(c,u);let d;return e[8]!==t?(d=a.jsxs(a.Fragment,{children:[a.jsx($et,{...t}),a.jsx(Bet,{...t})]}),e[8]=t,e[9]=d):d=e[9],d}function zet(t){return t.setSchemaFields}function gX(t){const e=he.c(25),{registry:r,formData:n,options:s,baseType:i,schema:o,idSchema:l,name:c}=t,{schemaUtils:u}=r,d=l.$id===wo,f=t.registry.fields.SchemaField;let p;e[0]!==o?(p=qu(o),e[0]=o,e[1]=p):p=e[1];const m=p;let h;if(e[2]!==n||e[3]!==s||e[4]!==u){let j;e[6]!==n||e[7]!==u?(j=R=>u.retrieveSchema(R,n),e[6]=n,e[7]=u,e[8]=j):j=e[8],h=s.map(j),e[2]=n,e[3]=s,e[4]=u,e[5]=h}else h=e[5];const _=h,g=u.getClosestMatchingOption(n,s,0,m),y=g>=0&&_[g]||null;let b;e:{if(y){let j;e[9]!==i||e[10]!==y?(j=y.type?y:{...y,type:i},e[9]=i,e[10]=y,e[11]=j):j=e[11],b=j;break e}b=null}const x=b;let w;const{title:C}=_[g];C?w=C:w=`Option ${g+1}`;const k=w,A=!!o.deprecated;let P;e[12]!==f||e[13]!==k||e[14]!==l.$id||e[15]!==A||e[16]!==d||e[17]!==c||e[18]!==y||e[19]!==x||e[20]!==t||e[21]!==o?(P=y&&x&&a.jsx(a.Fragment,{children:a.jsx(ck,{id:l.$id,title:k||"root",schema:o,type:ol.DISCRIMINATOR,discriminatorTitle:o.title||c,isRoot:d,deprecated:A,children:a.jsx(f,{...t,schema:x})},l.$id)}),e[12]=f,e[13]=k,e[14]=l.$id,e[15]=A,e[16]=d,e[17]=c,e[18]=y,e[19]=x,e[20]=t,e[21]=o,e[22]=P):P=e[22];let T;return e[23]!==P?(T=a.jsx(a.Fragment,{children:P}),e[23]=P,e[24]=T):T=e[24],T}function qet(){const t=he.c(5),e=zr(Wet),r=zr(Get),n=zr(Het),s=zr(Vet);let i;return t[0]!==s||t[1]!==r||t[2]!==n||t[3]!==e?(i=[...e].length>1?a.jsxs(te,{sx:{flex:"0 0 auto",borderTop:"1px solid",borderColor:"divider",px:2,py:1.5},direction:"column",align:"flex-start",justify:"space-between",spacing:.3,children:[a.jsx(_e,{type:"caption",fontWeight:"600",children:"View Level"}),a.jsx(lk,{color:"primary",value:r,onChange:o=>{n(o)},exclusive:!0,sx:{height:"32px"},children:[...e].map(o=>a.jsx(kh,{value:o,disabled:r===o||s,children:o},o))})]}):null,t[0]=s,t[1]=r,t[2]=n,t[3]=e,t[4]=i):i=t[4],i}function Vet(t){return!!t.errors.length}function Het(t){return t.setSelectedViewLevel}function Get(t){return t.selectedViewLevel}function Wet(t){return t.viewLevels}function Yet(t){const e=he.c(16),{items:r,idSchema:n,title:s,schema:i,registry:o}=t,c=n.$id===wo;let u;e[0]!==r||e[1]!==o||e[2]!==i?(u=VN({items:r.map(Qet),schema:i,registry:o}),e[0]=r,e[1]=o,e[2]=i,e[3]=u):u=e[3];const d=u,f=!!i.deprecated,p=n.$id,m=n.$id,h=d.length;let _;e[4]!==r?(_=r.map(Ket),e[4]=r,e[5]=_):_=e[5];let g;e[6]!==_?(g=a.jsx(a.Fragment,{children:_}),e[6]=_,e[7]=g):g=e[7];let y;return e[8]!==n.$id||e[9]!==f||e[10]!==c||e[11]!==d.length||e[12]!==i||e[13]!==g||e[14]!==s?(y=a.jsx(ck,{id:p,title:s,type:ol.ARRAY,schema:i,isRoot:c,itemsLength:h,deprecated:f,children:g},m),e[8]=n.$id,e[9]=f,e[10]=c,e[11]=d.length,e[12]=i,e[13]=g,e[14]=s,e[15]=y):y=e[15],y}function Ket(t,e){return a.jsx(I.Fragment,{children:t.children},e)}function Qet(t){return t.children.props.formData}function Zet(t){const e=he.c(14),{children:r,id:n,schema:s,label:i,hidden:o}=t,l=mce(s);let c;e[0]!==s?(c=s.type!=="array"&&s.type!=="object"&&s.type!==void 0||!s.type&&s.enum||s.items&&s.type==="array"&&!Array.isArray(s.items)&&s.items!==!0&&s.items.enum||i0(s)||Fce(s),e[0]=s,e[1]=c):c=e[1];const u=c,d=!!s.deprecated;if(o||l||Bce(s)){let m;e[2]===Symbol.for("react.memo_cache_sentinel")?(m={display:"none"},e[2]=m):m=e[2];let h;return e[3]!==r?(h=a.jsx(gt,{sx:m,children:r}),e[3]=r,e[4]=h):h=e[4],h}let f;e[5]!==r||e[6]!==n||e[7]!==d||e[8]!==u||e[9]!==i||e[10]!==s?(f=u?a.jsx(ck,{id:n,type:ol.LEAF,schema:s,title:i,isRoot:!1,deprecated:d}):r,e[5]=r,e[6]=n,e[7]=d,e[8]=u,e[9]=i,e[10]=s,e[11]=f):f=e[11];let p;return e[12]!==f?(p=a.jsx(a.Fragment,{children:f}),e[12]=f,e[13]=p):p=e[13],p}function Xet(t){const e=he.c(16),{title:r,properties:n,idSchema:s,schema:i,formData:o}=t,l=s.$id,c=l===wo;let u;e[0]!==l?(u=g=>g.expandedIds.includes(l),e[0]=l,e[1]=u):u=e[1];const d=zr(u);let f;e[2]!==o||e[3]!==i||e[4]!==r?(f=zce(i,o)||r||"root",e[2]=o,e[3]=i,e[4]=r,e[5]=f):f=e[5];const p=f,m=!!i.deprecated;let h;e[6]!==d||e[7]!==n?(h=d?a.jsx(te,{spacing:0,direction:"column",justify:"flex-start",children:n.map(ett)}):n.map(Jet),e[6]=d,e[7]=n,e[8]=h):h=e[8];let _;return e[9]!==s.$id||e[10]!==m||e[11]!==c||e[12]!==p||e[13]!==i||e[14]!==h?(_=a.jsx(ck,{id:s.$id,title:p,isRoot:c,schema:i,type:ol.OBJECT,deprecated:m,children:h},s.$id),e[9]=s.$id,e[10]=m,e[11]=c,e[12]=p,e[13]=i,e[14]=h,e[15]=_):_=e[15],_}function Jet(t,e){const{content:r}=t;return a.jsx(I.Fragment,{children:r},e)}function ett(t,e){const{content:r}=t;return a.jsx(I.Fragment,{children:r},e)}function ttt(){return null}const rtt=I.memo(function(e){const r=he.c(18),{data:n}=e,s=zr(ott),i=zr(att),o=zr(ltt),l=zr(ctt),c=I.useRef(null),u=I.useRef(!1);let d;r[0]===Symbol.for("react.memo_cache_sentinel")?(d={AnyOfField:gX,OneOfField:gX},r[0]=d):d=r[0];const f=d;let p;r[1]===Symbol.for("react.memo_cache_sentinel")?(p={FieldTemplate:Zet,ObjectFieldTemplate:Xet,ArrayFieldTemplate:Yet,ButtonTemplates:{SubmitButton:ttt}},r[1]=p):p=r[1];const m=p;let h;r[2]!==l?(h=k=>{u.current||(l(k.formData),u.current=!0)},r[2]=l,r[3]=h):h=r[3];const _=h;let g,y;r[4]!==n||r[5]!==s||r[6]!==o?(g=()=>{if(c.current?.validate&&s){const{errors:k}=c.current.validate(n,s);o(k)}},y=[n,c,s,o],r[4]=n,r[5]=s,r[6]=o,r[7]=g,r[8]=y):(g=r[7],y=r[8]),I.useEffect(g,y);let b,x;if(r[9]!==o?(b=()=>()=>{o([])},x=[o],r[9]=o,r[10]=b,r[11]=x):(b=r[10],x=r[11]),I.useEffect(b,x),!s)return null;let w;r[12]===Symbol.for("react.memo_cache_sentinel")?(w={arrayMinItems:{populate:"requiredOnly"},emptyObjectFields:"populateRequiredDefaults"},r[12]=w):w=r[12];let C;return r[13]!==n||r[14]!==_||r[15]!==s||r[16]!==i?(C=a.jsx(kce,{schema:s,validator:Nce,formData:n,liveValidate:!1,noHtml5Validate:!1,noValidate:!0,showErrorList:"top",onChange:_,ref:c,idSeparator:".",fields:f,templates:m,transformErrors:jce,experimental_defaultFormStateBehavior:w,uiSchema:i}),r[13]=n,r[14]=_,r[15]=s,r[16]=i,r[17]=C):C=r[17],C});function ntt(){const t=he.c(12),e=zr(itt),r=I.useDeferredValue(e),n=zr(stt);let s;t[0]===Symbol.for("react.memo_cache_sentinel")?(s={position:"relative"},t[0]=s):s=t[0];let i;t[1]!==n?(i=!n[wo]&&a.jsx(pr,{sx:{position:"absolute",left:0,bottom:0,top:0,right:0,zIndex:999,p:2},children:a.jsxs(te,{spacing:1,children:[a.jsx(Dt,{variant:"rounded",height:"24px"}),a.jsxs(te,{sx:{pl:2},spacing:1,children:[a.jsx(Dt,{variant:"rounded",height:"24px"}),a.jsxs(te,{sx:{pl:2},spacing:1,children:[a.jsx(Dt,{variant:"rounded",height:"24px"}),a.jsxs(te,{sx:{pl:2},spacing:1,children:[a.jsx(Dt,{variant:"rounded",height:"24px"}),a.jsx(Dt,{variant:"rounded",height:"24px"})]}),a.jsx(Dt,{variant:"rounded",height:"24px"})]}),a.jsx(Dt,{variant:"rounded",height:"24px"}),a.jsx(Dt,{variant:"rounded",height:"24px"}),a.jsxs(te,{sx:{pl:2},spacing:1,children:[a.jsx(Dt,{variant:"rounded",height:"24px"}),a.jsx(Dt,{variant:"rounded",height:"24px"})]})]})]})}),t[1]=n,t[2]=i):i=t[2];let o;t[3]===Symbol.for("react.memo_cache_sentinel")?(o={flex:"1 1 auto",overflow:"auto",p:2,pr:0},t[3]=o):o=t[3];let l;t[4]!==r?(l=r&&a.jsx(rtt,{data:r}),t[4]=r,t[5]=l):l=t[5];let c;t[6]!==l?(c=a.jsx(gt,{sx:o,children:l}),t[6]=l,t[7]=c):c=t[7];let u;t[8]===Symbol.for("react.memo_cache_sentinel")?(u=a.jsx(qet,{}),t[8]=u):u=t[8];let d;return t[9]!==i||t[10]!==c?(d=a.jsxs(te,{spacing:0,fullHeight:!0,fullWidth:!0,nowrap:!0,sx:s,children:[i,c,u]}),t[9]=i,t[10]=c,t[11]=d):d=t[11],d}function stt(t){return t.schemaFields}function itt(t){return t.data}function ott(t){return t.schema}function att(t){return t.uiSchema||void 0}function ltt(t){return t.setErrors}function ctt(t){return t.setData}function utt(t){const e=he.c(37),{$ref:r,schema:n,data:s,toolbarActions:i,uiSchema:o,actionError:l}=t,c=zr(htt),u=zr(mtt),d=zr(ptt),f=zr(ftt),p=zr(dtt),m=ci();let h;e[0]!==r||e[1]!==s||e[2]!==c||e[3]!==n||e[4]!==o?(h=()=>{c({$ref:r,schema:n,data:s,uiSchema:o||{}})},e[0]=r,e[1]=s,e[2]=c,e[3]=n,e[4]=o,e[5]=h):h=e[5];let _;e[6]!==r||e[7]!==s||e[8]!==c||e[9]!==u||e[10]!==n||e[11]!==o?(_=[r,s,c,u,n,o],e[6]=r,e[7]=s,e[8]=c,e[9]=u,e[10]=n,e[11]=o,e[12]=_):_=e[12],I.useEffect(h,_);let g,y;e[13]!==u?(g=()=>()=>{u()},y=[u],e[13]=u,e[14]=g,e[15]=y):(g=e[14],y=e[15]),I.useEffect(g,y);let b;e[16]!==m.palette.divider||e[17]!==m.palette.primary.main?(b={overflow:"hidden","--separator-border":m.palette.divider,"--focus-border":m.palette.primary.main},e[16]=m.palette.divider,e[17]=m.palette.primary.main,e[18]=b):b=e[18];let x;e[19]===Symbol.for("react.memo_cache_sentinel")?(x={flex:"1 1 auto"},e[19]=x):x=e[19];let w;e[20]!==d||e[21]!==f||e[22]!==p?(w=p===nl.JSON_VIEW_MODE&&a.jsxs($R,{children:[a.jsx($R.Pane,{preferredSize:300,minSize:200,maxSize:400,children:a.jsx(ntt,{},f)}),a.jsx($R.Pane,{children:a.jsx(_et,{},`${d??"no-selection"}-${f}`)})]}),e[20]=d,e[21]=f,e[22]=p,e[23]=w):w=e[23];let C;e[24]!==p?(C=p===nl.EDITOR_VIEW_MODE&&a.jsx(AYe,{}),e[24]=p,e[25]=C):C=e[25];let k;e[26]!==w||e[27]!==C?(k=a.jsxs(gt,{sx:x,children:[w,C]}),e[26]=w,e[27]=C,e[28]=k):k=e[28];let A;e[29]===Symbol.for("react.memo_cache_sentinel")?(A={flex:"0 0 auto"},e[29]=A):A=e[29];let P;e[30]!==l||e[31]!==i?(P=a.jsx(gt,{sx:A,children:a.jsx(Met,{toolbarActions:i,actionError:l})}),e[30]=l,e[31]=i,e[32]=P):P=e[32];let T;return e[33]!==P||e[34]!==b||e[35]!==k?(T=a.jsxs(te,{fullHeight:!0,fullWidth:!0,nowrap:!0,sx:b,spacing:0,children:[k,P]}),e[33]=P,e[34]=b,e[35]=k,e[36]=T):T=e[36],T}function dtt(t){return t.viewMode}function ftt(t){return t.selectedViewLevel}function ptt(t){return t.selectedId}function mtt(t){return t.reset}function htt(t){return t.initialize}const nue=I.memo(utt),gtt={[ue.AAA]:"#/components/schemas/AAAConfig",[ue.AMF]:"#/components/schemas/AMFConfig",[ue.AUSF]:"#/components/schemas/AusfConfig",[ue.BMSC]:"#/components/schemas/BmscConfig",[ue.CHF]:"#/components/schemas/CHFConfig",[ue.DRA]:"#/components/schemas/DRAConfiguration",[ue.DSM]:"#/components/schemas/DsmConfig",[ue.EIR]:"#/components/schemas/EirConfig",[ue.MME]:"#/components/schemas/MMEConfiguration",[ue.NCM]:"#/components/schemas/NCMConfig",[ue.NRF]:"#/components/schemas/NRFConfig",[ue.PCF]:"#/components/schemas/PCFConfig",[ue.SGWC]:"#/components/schemas/SGWConfiguration",[ue.SMF]:"#/components/schemas/SMFConfig",[ue.SMSF]:"#/components/schemas/SmsfConfig",[ue.UDM]:"#/components/schemas/UdmConfig",[ue.UDR]:"#/components/schemas/UdrConfig",[ue.UPF]:"#/components/schemas/UPFConfiguration"};function _tt(t){const e=he.c(56),{nf:r}=t,n=zn(),{submit:s,state:i,data:o}=gr(),{submit:l,state:c,data:u}=gr();let d;e[0]===Symbol.for("react.memo_cache_sentinel")?(d={key:"fetcher-factory-reset"},e[0]=d):d=e[0];const{submit:f,state:p,data:m}=gr(d);let h;e[1]===Symbol.for("react.memo_cache_sentinel")?(h={key:"fetcher-reload"},e[1]=h):h=e[1];const{submit:_,state:g,data:y}=gr(h),b=ys(),x=gtt[r]||null;let w;e[2]!==s?(w=async ee=>{ee&&s(ee,{method:"POST",encType:"application/json",action:"apply"})},e[2]=s,e[3]=w):w=e[3];const C=w;let k;e[4]!==l?(k=async()=>{l(null,{method:"POST",encType:"application/json",action:"persist"})},e[4]=l,e[5]=k):k=e[5];const A=k;let P;e[6]!==f||e[7]!==b?(P=async()=>{f(null,{method:"POST",encType:"application/json",action:"factory-reset"}),b(".")},e[6]=f,e[7]=b,e[8]=P):P=e[8];const T=P;let j;e[9]!==_?(j=async()=>{_(null,{method:"POST",encType:"application/json",action:"reload"})},e[9]=_,e[10]=j):j=e[10];const R=j,D=g==="submitting"||g==="loading";let O;e[11]!==R||e[12]!==D?(O={name:"Reload",variant:"outlined",onClick:R,loading:D},e[11]=R,e[12]=D,e[13]=O):O=e[13];const N=p==="submitting"||p==="loading";let F;e[14]!==T||e[15]!==N?(F={name:"Factory Reset",variant:"outlined",onClick:T,loading:N},e[14]=T,e[15]=N,e[16]=F):F=e[16];const U=c==="submitting"||c==="loading";let z;e[17]!==A||e[18]!==U?(z={name:"Persist",variant:"outlined",onClick:A,loading:U},e[17]=A,e[18]=U,e[19]=z):z=e[19];const H=i==="submitting"||i==="loading";let W;e[20]!==C||e[21]!==H?(W={name:"Apply",onClick:C,loading:H,disabledOnErrors:!0},e[20]=C,e[21]=H,e[22]=W):W=e[22];let K;e[23]!==F||e[24]!==z||e[25]!==W||e[26]!==O?(K=[O,F,z,W],e[23]=F,e[24]=z,e[25]=W,e[26]=O,e[27]=K):K=e[27];const q=K;let X;e[28]===Symbol.for("react.memo_cache_sentinel")?(X={api_version:{"ui:widget":"hidden"},commit_timestamp:{"ui:widget":"hidden"}},e[28]=X):X=e[28];const Q=X;let Y;e:{if(xt(o)||xt(u)||xt(m)||xt(y)){let ee;e[29]===Symbol.for("react.memo_cache_sentinel")?(ee={maxWidth:"1000px"},e[29]=ee):ee=e[29];let J;e[30]!==o?(J=a.jsx(Xr,{data:o}),e[30]=o,e[31]=J):J=e[31];let me;e[32]!==u?(me=a.jsx(Xr,{data:u}),e[32]=u,e[33]=me):me=e[33];let pe;e[34]!==m?(pe=a.jsx(Xr,{data:m}),e[34]=m,e[35]=pe):pe=e[35];let Se;e[36]!==y?(Se=a.jsx(Xr,{data:y}),e[36]=y,e[37]=Se):Se=e[37];let ve;e[38]!==J||e[39]!==me||e[40]!==pe||e[41]!==Se?(ve=a.jsxs(te,{nowrap:!0,sx:ee,children:[J,me,pe,Se]}),e[38]=J,e[39]=me,e[40]=pe,e[41]=Se,e[42]=ve):ve=e[42],Y=ve;break e}Y=null}const Z=Y;if(!x)throw new Error(`NF "${r}" not supported`);let re;e[43]===Symbol.for("react.memo_cache_sentinel")?(re=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),e[43]=re):re=e[43];let fe;e[44]===Symbol.for("react.memo_cache_sentinel")?(fe=a.jsx(Tr,{}),e[44]=fe):fe=e[44];let de;e[45]!==Z||e[46]!==r||e[47]!==x||e[48]!==q?(de=ee=>{const[J,me]=ee;return a.jsx(te,{fullHeight:!0,nowrap:!0,spacing:0,children:a.jsx(nue,{$ref:x,data:me,schema:J,toolbarActions:q,uiSchema:Q,actionError:Z},r)})},e[45]=Z,e[46]=r,e[47]=x,e[48]=q,e[49]=de):de=e[49];let se;e[50]!==n.configuration||e[51]!==de?(se=a.jsx(Qt,{resolve:n.configuration,errorElement:fe,children:de}),e[50]=n.configuration,e[51]=de,e[52]=se):se=e[52];let le;return e[53]!==r||e[54]!==se?(le=a.jsx(I.Suspense,{fallback:re,children:se},r),e[53]=r,e[54]=se,e[55]=le):le=e[55],le}async function vtt(t){const e=$.apis.nfOAS.replace("{nf}",t);return De({options:{url:e,method:"GET"}})}async function ytt(t){const e=$.apis.nfConfig.replace("{nf}",t);return De({options:{url:e,method:"GET"}})}async function btt({nf:t,values:e}){const r=$.apis.nfConfig.replace("{nf}",t);return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}async function xtt({nf:t}){const e=$.apis.nfConfigPersist.replace("{nf}",t);return De({options:{url:e,method:"POST"}})}async function Stt({nf:t}){const e=$.apis.nfConfigFactoryReset.replace("{nf}",t);return De({options:{url:e,method:"POST"}})}async function wtt({nf:t}){const e=$.apis.nfRestart.replace("{nf}",t);return De({options:{url:e,method:"POST"}})}function Ctt(t){return async({request:e})=>{const r=await e.json(),n=await btt({nf:t,values:r});return xt(n)?Ar():Nt(),Ft(n)}}function Att(t){return async()=>{const e=await xtt({nf:t});return xt(e)?Ar():Nt(),Ft(e)}}function ktt(t){return async()=>{const e=await Stt({nf:t});return xt(e)?Ar():Nt(),Ft(e)}}function Mtt(t){return async()=>{const e=await wtt({nf:t});return xt(e)?Ar():Nt(),Ft(e)}}async function Ptt(t){return Foe({configuration:Promise.all([vtt(t),ytt(t)])})}function io(t){return{path:"configuration",handle:vr({to:`/${t}/configuration`,labelIntl:`route.${t}.configuration`}),loader:async()=>Ptt(t),shouldRevalidate:({actionResult:e})=>!xt(e),element:a.jsx(_tt,{nf:t},t),children:[{path:"apply",action:Ctt(t),loader:()=>rt("..")},{path:"persist",action:Att(t),loader:()=>rt("..")},{path:"factory-reset",action:ktt(t),loader:()=>rt("..")},{path:"reload",action:Mtt(t),loader:()=>rt("..")}]}}const jtt=Pr(),Ttt={path:"aaa",handle:vr({labelIntl:"route.aaa",icon:a.jsx(ge.AAA,{})}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.AAA)]},{element:a.jsx(Or,{fullHeight:!0}),children:[io(ue.AAA),{path:"status",handle:vr({labelIntl:"route.aaa.status",to:$.urls.aaaStatus}),element:a.jsx(Ao,{tabs:[{url:"radius",label:jtt.formatMessage({id:"route.aaa.status.radius"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"radius",replace:!0})},{path:"radius",element:a.jsx(Fqe,{}),loader:Bqe,errorElement:a.jsx(en,{})}]}]}]};function s7(t){const e=he.c(17);let r,n,s,i;e[0]!==t?({children:r,listItemActions:s,divided:n,...i}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i):(r=e[1],n=e[2],s=e[3],i=e[4]);const{menuOpen:o,menuClose:l}=Jt();let c;e[5]!==s||e[6]!==l||e[7]!==o?(c=(p,m,h)=>{s&&o({anchorEl:p.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:s.map(_=>{const{label:g,onClick:y,disabled:b,icon:x}=_;return{label:g,value:g,disabled:typeof b=="function"?b(m):b,icon:x,onClick:()=>{l(),y(m,h)}}})})},e[5]=s,e[6]=l,e[7]=o,e[8]=c):c=e[8];const u=c;let d;e[9]!==r||e[10]!==n||e[11]!==u||e[12]!==s?(d=I.Children.map(r,(p,m)=>{const h={divided:!!(n&&m<I.Children.toArray(r).length-1),...s&&{handleOpenListItemActions:u}};return I.cloneElement(p,h)}),e[9]=r,e[10]=n,e[11]=u,e[12]=s,e[13]=d):d=e[13];let f;return e[14]!==i||e[15]!==d?(f=a.jsx(_h,{...i,children:d}),e[14]=i,e[15]=d,e[16]=f):f=e[16],f}function i7(t){const e=he.c(35),{index:r,item:n,listKey:s,selected:i,onClick:o,primaryText:l,secondaryText:c,divided:u,handleOpenListItemActions:d,endIcon:f,decorator:p,sx:m}=t;let h;e[0]!==o?(h=!o&&{":hover":{background:"transparent",cursor:"auto"}},e[0]=o,e[1]=h):h=e[1];let _;e[2]!==i?(_=i&&{backgroundColor:Ett},e[2]=i,e[3]=_):_=e[3];let g;e[4]!==m||e[5]!==h||e[6]!==_?(g={display:"flex",transition:"background-color 0.35s",...h,..._,...m},e[4]=m,e[5]=h,e[6]=_,e[7]=g):g=e[7];const y=!o;let b;e[8]===Symbol.for("react.memo_cache_sentinel")?(b={my:"2px"},e[8]=b):b=e[8];let x;e[9]!==i?(x=i&&{fontWeight:600},e[9]=i,e[10]=x):x=e[10];let w;e[11]!==x?(w={primary:{sx:{typography:"body1",...x}}},e[11]=x,e[12]=w):w=e[12];let C;e[13]!==l||e[14]!==c||e[15]!==w?(C=a.jsx(dA,{primary:l,secondary:c,sx:b,slotProps:w}),e[13]=l,e[14]=c,e[15]=w,e[16]=C):C=e[16];let k;e[17]!==d||e[18]!==r||e[19]!==n||e[20]!==s||e[21]!==t?(k=d&&a.jsx(gt,{sx:{width:{xs:"64px",md:"32px"}},children:a.jsx(Zr,{onClick:T=>{T.stopPropagation(),d(T,t,r||0)},"data-testid":`list-dropdown-tools-${s&&n?n[s]:r}`,size:"small",children:a.jsx(ge.More,{})})}),e[17]=d,e[18]=r,e[19]=n,e[20]=s,e[21]=t,e[22]=k):k=e[22];let A;e[23]!==f?(A=f&&a.jsx(gt,{sx:{width:{xs:"64px",md:"32px",display:"flex",alignItems:"center",justifyContent:"flex-end"}},children:f}),e[23]=f,e[24]=A):A=e[24];let P;return e[25]!==p||e[26]!==u||e[27]!==o||e[28]!==i||e[29]!==g||e[30]!==y||e[31]!==C||e[32]!==k||e[33]!==A?(P=a.jsxs(Vne,{selected:i,onClick:o,sx:g,divider:u,disableRipple:y,children:[p,C,k,A]}),e[25]=p,e[26]=u,e[27]=o,e[28]=i,e[29]=g,e[30]=y,e[31]=C,e[32]=k,e[33]=A,e[34]=P):P=e[34],P}function Ett(t){return`${t.palette.action.hover} !important`}const la=t=>{const e=he.c(39),{navs:r}=t,n=Lp("."),s=ys(),i=WL();let o;e[0]!==s?(o=N=>{s(N,{replace:!0})},e[0]=s,e[1]=o):o=e[1];const l=o;let c;if(e[2]!==r||e[3]!==n){let N;e[5]!==n?(N=F=>({...F,url:`${n.pathname}/${F.url}`}),e[5]=n,e[6]=N):N=e[6],c=r.map(N),e[2]=r,e[3]=n,e[4]=c}else c=e[4];const u=c;let d;e[7]!==i?(d=N=>!!i.find(F=>F.pathname===N),e[7]=i,e[8]=d):d=e[8];const f=d;let p;if(e[9]!==f||e[10]!==u){let N;e[12]!==f?(N=F=>f(F.url),e[12]=f,e[13]=N):N=e[13],p=u.find(N),e[9]=f,e[10]=u,e[11]=p}else p=e[11];const m=p;let h;e[14]===Symbol.for("react.memo_cache_sentinel")?(h={height:"100%",overflow:"hidden"},e[14]=h):h=e[14];let _;e[15]!==f||e[16]!==l||e[17]!==u?(_=u?.length>1&&a.jsx(Is,{size:{xs:3,lg:2},sx:{height:"100%",overflow:"hidden"},children:a.jsx(gt,{sx:{borderRight:"1px solid",borderColor:"divider",height:"100%",overflow:"auto"},children:a.jsx(s7,{disablePadding:!0,children:u.map(N=>{const{url:F,label:U,status:z}=N,H=z?a.jsx(gt,{sx:{pr:1},children:a.jsx(bi,{status:z})}):null;return a.jsx(i7,{primaryText:U,selected:f(F),onClick:()=>l(F),endIcon:a.jsx(ge.RightArrow,{}),decorator:a.jsx(gt,{sx:{pr:1},children:H})},F)})})})}),e[15]=f,e[16]=l,e[17]=u,e[18]=_):_=e[18];const g=r?.length>1?9:12,y=r?.length>1?10:12;let b;e[19]!==g||e[20]!==y?(b={xs:g,lg:y},e[19]=g,e[20]=y,e[21]=b):b=e[21];let x;e[22]===Symbol.for("react.memo_cache_sentinel")?(x={height:"100%",overflow:"hidden"},e[22]=x):x=e[22];let w;e[23]===Symbol.for("react.memo_cache_sentinel")?(w={overflow:"hidden"},e[23]=w):w=e[23];let C;e[24]===Symbol.for("react.memo_cache_sentinel")?(C={flex:"0 0 auto",px:2,py:.5,borderBottom:"1px solid",borderColor:"divider",height:"48px"},e[24]=C):C=e[24];const k=m?.title?m?.title:m?.label;let A;e[25]!==k?(A=a.jsx(_e,{type:"h6",fontWeight:600,children:k}),e[25]=k,e[26]=A):A=e[26];let P;e[27]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx("div",{id:sue}),e[27]=P):P=e[27];let T;e[28]!==A?(T=a.jsxs(te,{direction:"row",justify:"space-between",align:"center",fullWidth:!0,sx:C,children:[A,P]}),e[28]=A,e[29]=T):T=e[29];let j;e[30]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(gt,{sx:{flex:"1 1 auto",maxHeight:"100%",overflow:"hidden"},children:a.jsx(Bd,{})}),e[30]=j):j=e[30];let R;e[31]!==T?(R=a.jsxs(te,{fullHeight:!0,sx:w,spacing:0,nowrap:!0,fullWidth:!0,children:[T,j]}),e[31]=T,e[32]=R):R=e[32];let D;e[33]!==R||e[34]!==b?(D=a.jsx(Is,{size:b,sx:x,children:R}),e[33]=R,e[34]=b,e[35]=D):D=e[35];let O;return e[36]!==D||e[37]!==_?(O=a.jsxs(al,{spacing:0,sx:h,children:[_,D]}),e[36]=D,e[37]=_,e[38]=O):O=e[38],O},sue="master-detail-header-actions";function o7(t){const e=he.c(2),{children:r}=t;let n;if(e[0]!==r){const s=document.querySelector(`#${sue}`);n=s&&aA.createPortal(a.jsx(a.Fragment,{children:r}),s),e[0]=r,e[1]=n}else n=e[1];return n}function Rtt({sst:t,sd:e}){if(!t&&!e)return"";let r="";return t&&(r+=t),e&&(r+=`-${e}`),r}const Itt=t=>{const e=he.c(24),{row:r}=t,n=Ye();let s;e[0]!==r.supported_ta_list?(s=r.supported_ta_list?.reduce(Ltt,[])??[],e[0]=r.supported_ta_list,e[1]=s):s=e[1];const o=s;let l;e[2]!==n?(l=n.formatMessage({id:"ngap.status.connections.row_detail.tac"}),e[2]=n,e[3]=l):l=e[3];let c;e[4]!==l?(c={key:"tac",label:l},e[4]=l,e[5]=c):c=e[5];let u;e[6]!==n?(u=n.formatMessage({id:"ngap.status.connections.row_detail.broadcast_plmns"}),e[6]=n,e[7]=u):u=e[7];let d;e[8]!==n?(d=y=>{const{broadcast_plmns:b}=y;return b?a.jsx(te,{direction:"column",divided:!0,children:b.map(x=>{const{plmn:w,nssai:C}=x;return a.jsxs(te,{direction:"row",align:"baseline",spacing:4,children:[a.jsxs(te,{direction:"row",align:"baseline",children:[a.jsx(_e,{fontWeight:"600",type:"body2",children:n.formatMessage({id:"ngap.status.connections.row_detail.broadcast_plmns.plmn"})}),a.jsx(_e,{type:"body2",children:w})]}),C?.length?a.jsxs(te,{direction:"row",align:"baseline",nowrap:!0,children:[a.jsx(_e,{fontWeight:"600",type:"body2",children:n.formatMessage({id:"ngap.status.connections.row_detail.broadcast_plmns.nssais"})}),a.jsx(ks,{size:"small",items:C?.map(Ntt)||[]})]}):a.jsx(a.Fragment,{})]},w)})}):a.jsx(a.Fragment,{})},e[8]=n,e[9]=d):d=e[9];let f;e[10]!==u||e[11]!==d?(f={key:"broadcast_plmns",label:u,cellRender:d},e[10]=u,e[11]=d,e[12]=f):f=e[12];let p;e[13]!==c||e[14]!==f?(p=[c,f],e[13]=c,e[14]=f,e[15]=p):p=e[15];const m=p;let h;e[16]!==n?(h=n.formatMessage({id:"ngap.status.connections.supported_ta_list"}),e[16]=n,e[17]=h):h=e[17];let _;e[18]!==m||e[19]!==o?(_=a.jsx(Br,{data:o,orderBy:"tac",page:0,rowsCount:o.length,rowsPerPage:o.length,rowKey:"tac",columns:m,hidePagination:!0,hideRowsCount:!0}),e[18]=m,e[19]=o,e[20]=_):_=e[20];let g;return e[21]!==h||e[22]!==_?(g=a.jsx(pr,{dense:!0,folder:!0,title:h,children:_}),e[21]=h,e[22]=_,e[23]=g):g=e[23],g};function Dtt(t){return Rtt(t)}function $tt(t){return!!t}function Ott(t,e){return[...t,{plmn:e.plmn,nssai:e.nssai?.map(Dtt).filter($tt)||[]}]}function Ltt(t,e){return[...t,{tac:e.tac,broadcast_plmns:e.broadcast_plmns.reduce(Ott,[])}]}function Ntt(t){return{label:`${t}`,id:`${t}`}}function Ftt(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var eC={exports:{}},Utt=eC.exports,_X;function Btt(){return _X||(_X=1,(function(t,e){(function(r,n){t.exports=n()})(Utt,(function(){var r;function n(){return r.apply(null,arguments)}function s(L){r=L}function i(L){return L instanceof Array||Object.prototype.toString.call(L)==="[object Array]"}function o(L){return L!=null&&Object.prototype.toString.call(L)==="[object Object]"}function l(L,G){return Object.prototype.hasOwnProperty.call(L,G)}function c(L){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(L).length===0;var G;for(G in L)if(l(L,G))return!1;return!0}function u(L){return L===void 0}function d(L){return typeof L=="number"||Object.prototype.toString.call(L)==="[object Number]"}function f(L){return L instanceof Date||Object.prototype.toString.call(L)==="[object Date]"}function p(L,G){var ne=[],ae,ye=L.length;for(ae=0;ae<ye;++ae)ne.push(G(L[ae],ae));return ne}function m(L,G){for(var ne in G)l(G,ne)&&(L[ne]=G[ne]);return l(G,"toString")&&(L.toString=G.toString),l(G,"valueOf")&&(L.valueOf=G.valueOf),L}function h(L,G,ne,ae){return Ix(L,G,ne,ae,!0).utc()}function _(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(L){return L._pf==null&&(L._pf=_()),L._pf}var y;Array.prototype.some?y=Array.prototype.some:y=function(L){var G=Object(this),ne=G.length>>>0,ae;for(ae=0;ae<ne;ae++)if(ae in G&&L.call(this,G[ae],ae,G))return!0;return!1};function b(L){var G=null,ne=!1,ae=L._d&&!isNaN(L._d.getTime());if(ae&&(G=g(L),ne=y.call(G.parsedDateParts,function(ye){return ye!=null}),ae=G.overflow<0&&!G.empty&&!G.invalidEra&&!G.invalidMonth&&!G.invalidWeekday&&!G.weekdayMismatch&&!G.nullInput&&!G.invalidFormat&&!G.userInvalidated&&(!G.meridiem||G.meridiem&&ne),L._strict&&(ae=ae&&G.charsLeftOver===0&&G.unusedTokens.length===0&&G.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(L))L._isValid=ae;else return ae;return L._isValid}function x(L){var G=h(NaN);return L!=null?m(g(G),L):g(G).userInvalidated=!0,G}var w=n.momentProperties=[],C=!1;function k(L,G){var ne,ae,ye,Ie=w.length;if(u(G._isAMomentObject)||(L._isAMomentObject=G._isAMomentObject),u(G._i)||(L._i=G._i),u(G._f)||(L._f=G._f),u(G._l)||(L._l=G._l),u(G._strict)||(L._strict=G._strict),u(G._tzm)||(L._tzm=G._tzm),u(G._isUTC)||(L._isUTC=G._isUTC),u(G._offset)||(L._offset=G._offset),u(G._pf)||(L._pf=g(G)),u(G._locale)||(L._locale=G._locale),Ie>0)for(ne=0;ne<Ie;ne++)ae=w[ne],ye=G[ae],u(ye)||(L[ae]=ye);return L}function A(L){k(this,L),this._d=new Date(L._d!=null?L._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),C===!1&&(C=!0,n.updateOffset(this),C=!1)}function P(L){return L instanceof A||L!=null&&L._isAMomentObject!=null}function T(L){n.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+L)}function j(L,G){var ne=!0;return m(function(){if(n.deprecationHandler!=null&&n.deprecationHandler(null,L),ne){var ae=[],ye,Ie,St,Sr=arguments.length;for(Ie=0;Ie<Sr;Ie++){if(ye="",typeof arguments[Ie]=="object"){ye+=`
/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js.bak:328:In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gue(t,e){if(t){if(typeof t=="string")return _$(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _$(t,e)}}function _$(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Tst(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],s=!0,i=!1,o,l;try{for(r=r.call(t);!(s=(o=r.next()).done)&&(n.push(o.value),!(e&&n.length===e));s=!0);}catch(c){i=!0,l=c}finally{try{!s&&r.return!=null&&r.return()}finally{if(i)throw l}}return n}}function Est(t){if(Array.isArray(t))return t}function DX(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),r.push.apply(r,n)}return r}function si(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?DX(Object(r),!0).forEach(function(n){v$(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):DX(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function v$(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function y3(t,e){if(t==null)return{};var r=Rst(t,e),n,s;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(s=0;s<i.length;s++)n=i[s],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function Rst(t,e){if(t==null)return{};var r={},n=Object.keys(t),s,i;for(i=0;i<n.length;i++)s=n[i],!(e.indexOf(s)>=0)&&(r[s]=t[s]);return r}var l7=I.forwardRef(function(t,e){var r=t.children,n=y3(t,xst),s=vue(n),i=s.open,o=y3(s,Sst);return I.useImperativeHandle(e,function(){return{open:i}},[i]),Yn.createElement(I.Fragment,null,r(si(si({},o),{},{open:i})))});l7.displayName="Dropzone";var _ue={disabled:!1,getFilesFromEvent:znt,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};l7.defaultProps=_ue;l7.propTypes={children:Je.func,accept:Je.objectOf(Je.arrayOf(Je.string)),multiple:Je.bool,preventDropOnDocument:Je.bool,noClick:Je.bool,noKeyboard:Je.bool,noDrag:Je.bool,noDragEventsBubbling:Je.bool,minSize:Je.number,maxSize:Je.number,maxFiles:Je.number,disabled:Je.bool,getFilesFromEvent:Je.func,onFileDialogCancel:Je.func,onFileDialogOpen:Je.func,useFsAccessApi:Je.bool,autoFocus:Je.bool,onDragEnter:Je.func,onDragLeave:Je.func,onDragOver:Je.func,onDrop:Je.func,onDropAccepted:Je.func,onDropRejected:Je.func,onError:Je.func,validator:Je.func};var y$={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function vue(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=si(si({},_ue),t),r=e.accept,n=e.disabled,s=e.getFilesFromEvent,i=e.maxSize,o=e.minSize,l=e.multiple,c=e.maxFiles,u=e.onDragEnter,d=e.onDragLeave,f=e.onDragOver,p=e.onDrop,m=e.onDropAccepted,h=e.onDropRejected,_=e.onFileDialogCancel,g=e.onFileDialogOpen,y=e.useFsAccessApi,b=e.autoFocus,x=e.preventDropOnDocument,w=e.noClick,C=e.noKeyboard,k=e.noDrag,A=e.noDragEventsBubbling,P=e.onError,T=e.validator,j=I.useMemo(function(){return vst(r)},[r]),R=I.useMemo(function(){return _st(r)},[r]),D=I.useMemo(function(){return typeof g=="function"?g:$X},[g]),O=I.useMemo(function(){return typeof _=="function"?_:$X},[_]),N=I.useRef(null),F=I.useRef(null),U=I.useReducer(Ist,y$),z=UI(U,2),H=z[0],W=z[1],K=H.isFocused,q=H.isFileDialogActive,X=I.useRef(typeof window<"u"&&window.isSecureContext&&y&&gst()),Q=function(){!X.current&&q&&setTimeout(function(){if(F.current){var we=F.current.files;we.length||(W({type:"closeDialog"}),O())}},300)};I.useEffect(function(){return window.addEventListener("focus",Q,!1),function(){window.removeEventListener("focus",Q,!1)}},[F,q,O,X]);var Y=I.useRef([]),Z=function(we){N.current&&N.current.contains(we.target)||(we.preventDefault(),Y.current=[])};I.useEffect(function(){return x&&(document.addEventListener("dragover",IX,!1),document.addEventListener("drop",Z,!1)),function(){x&&(document.removeEventListener("dragover",IX),document.removeEventListener("drop",Z))}},[N,x]),I.useEffect(function(){return!n&&b&&N.current&&N.current.focus(),function(){}},[N,b,n]);var re=I.useCallback(function(Re){P?P(Re):console.error(Re)},[P]),fe=I.useCallback(function(Re){Re.preventDefault(),Re.persist(),Te(Re),Y.current=[].concat(Ast(Y.current),[Re.target]),_w(Re)&&Promise.resolve(s(Re)).then(function(we){if(!(v3(Re)&&!A)){var Me=we.length,$e=Me>0&&fst({files:we,accept:j,minSize:o,maxSize:i,multiple:l,maxFiles:c,validator:T}),Ve=Me>0&&!$e;W({isDragAccept:$e,isDragReject:Ve,isDragActive:!0,type:"setDraggedFiles"}),u&&u(Re)}}).catch(function(we){return re(we)})},[s,u,re,A,j,o,i,l,c,T]),de=I.useCallback(function(Re){Re.preventDefault(),Re.persist(),Te(Re);var we=_w(Re);if(we&&Re.dataTransfer)try{Re.dataTransfer.dropEffect="copy"}catch{}return we&&f&&f(Re),!1},[f,A]),se=I.useCallback(function(Re){Re.preventDefault(),Re.persist(),Te(Re);var we=Y.current.filter(function($e){return N.current&&N.current.contains($e)}),Me=we.indexOf(Re.target);Me!==-1&&we.splice(Me,1),Y.current=we,!(we.length>0)&&(W({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),_w(Re)&&d&&d(Re))},[N,d,A]),le=I.useCallback(function(Re,we){var Me=[],$e=[];Re.forEach(function(Ve){var Ne=fue(Ve,j),Oe=UI(Ne,2),ft=Oe[0],Ct=Oe[1],Et=pue(Ve,o,i),at=UI(Et,2),$t=at[0],Ee=at[1],Be=T?T(Ve):null;if(ft&&$t&&!Be)Me.push(Ve);else{var qt=[Ct,Ee];Be&&(qt=qt.concat(Be)),$e.push({file:Ve,errors:qt.filter(function(ar){return ar})})}}),(!l&&Me.length>1||l&&c>=1&&Me.length>c)&&(Me.forEach(function(Ve){$e.push({file:Ve,errors:[dst]})}),Me.splice(0)),W({acceptedFiles:Me,fileRejections:$e,isDragReject:$e.length>0,type:"setFiles"}),p&&p(Me,$e,we),$e.length>0&&h&&h($e,we),Me.length>0&&m&&m(Me,we)},[W,l,j,o,i,c,p,m,h,T]),ee=I.useCallback(function(Re){Re.preventDefault(),Re.persist(),Te(Re),Y.current=[],_w(Re)&&Promise.resolve(s(Re)).then(function(we){v3(Re)&&!A||le(we,Re)}).catch(function(we){return re(we)}),W({type:"reset"})},[s,le,re,A]),J=I.useCallback(function(){if(X.current){W({type:"openDialog"}),D();var Re={multiple:l,types:R};window.showOpenFilePicker(Re).then(function(we){return s(we)}).then(function(we){le(we,null),W({type:"closeDialog"})}).catch(function(we){yst(we)?(O(we),W({type:"closeDialog"})):bst(we)?(X.current=!1,F.current?(F.current.value=null,F.current.click()):re(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):re(we)});return}F.current&&(W({type:"openDialog"}),D(),F.current.value=null,F.current.click())},[W,D,O,y,le,re,R,l]),me=I.useCallback(function(Re){!N.current||!N.current.isEqualNode(Re.target)||(Re.key===" "||Re.key==="Enter"||Re.keyCode===32||Re.keyCode===13)&&(Re.preventDefault(),J())},[N,J]),pe=I.useCallback(function(){W({type:"focus"})},[]),Se=I.useCallback(function(){W({type:"blur"})},[]),ve=I.useCallback(function(){w||(hst()?setTimeout(J,0):J())},[w,J]),xe=function(we){return n?null:we},qe=function(we){return C?null:xe(we)},Le=function(we){return k?null:xe(we)},Te=function(we){A&&we.stopPropagation()},je=I.useMemo(function(){return function(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},we=Re.refKey,Me=we===void 0?"ref":we,$e=Re.role,Ve=Re.onKeyDown,Ne=Re.onFocus,Oe=Re.onBlur,ft=Re.onClick,Ct=Re.onDragEnter,Et=Re.onDragOver,at=Re.onDragLeave,$t=Re.onDrop,Ee=y3(Re,wst);return si(si(v$({onKeyDown:qe(gu(Ve,me)),onFocus:qe(gu(Ne,pe)),onBlur:qe(gu(Oe,Se)),onClick:xe(gu(ft,ve)),onDragEnter:Le(gu(Ct,fe)),onDragOver:Le(gu(Et,de)),onDragLeave:Le(gu(at,se)),onDrop:Le(gu($t,ee)),role:typeof $e=="string"&&$e!==""?$e:"presentation"},Me,N),!n&&!C?{tabIndex:0}:{}),Ee)}},[N,me,pe,Se,ve,fe,de,se,ee,C,k,n]),Ge=I.useCallback(function(Re){Re.stopPropagation()},[]),nt=I.useMemo(function(){return function(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},we=Re.refKey,Me=we===void 0?"ref":we,$e=Re.onChange,Ve=Re.onClick,Ne=y3(Re,Cst),Oe=v$({accept:j,multiple:l,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:xe(gu($e,ee)),onClick:xe(gu(Ve,Ge)),tabIndex:-1},Me,F);return si(si({},Oe),Ne)}},[F,r,l,ee,n]);return si(si({},H),{},{isFocused:K&&!n,getRootProps:je,getInputProps:nt,rootRef:N,inputRef:F,open:xe(J)})}function Ist(t,e){switch(e.type){case"focus":return si(si({},t),{},{isFocused:!0});case"blur":return si(si({},t),{},{isFocused:!1});case"openDialog":return si(si({},y$),{},{isFileDialogActive:!0});case"closeDialog":return si(si({},t),{},{isFileDialogActive:!1});case"setDraggedFiles":return si(si({},t),{},{isDragActive:e.isDragActive,isDragAccept:e.isDragAccept,isDragReject:e.isDragReject});case"setFiles":return si(si({},t),{},{acceptedFiles:e.acceptedFiles,fileRejections:e.fileRejections,isDragReject:e.isDragReject});case"reset":return si({},y$);default:return t}}function $X(){}const Z_=t=>{const e=he.c(81),{name:r,label:n,onChange:s,accept:i,maxFiles:o,multiple:l,onDropAccepted:c,onDropRejected:u,minSize:d,maxSize:f,noDrag:p,disabled:m,onError:h,validator:_,value:g,size:y,sx:b,formError:x}=t,w=n===void 0?"Drag and drop or click to upload your file":n;let C;e[0]!==g?(C=g||[],e[0]=g,e[1]=C):C=e[1];const[k,A]=I.useState(C);let P,T;e[2]!==g?(P=()=>{g&&A(g)},T=[g],e[2]=g,e[3]=P,e[4]=T):(P=e[3],T=e[4]),I.useEffect(P,T);let j;e[5]!==l||e[6]!==s?(j=Re=>{A(we=>{const Me=l?[...we,...Re]:[...Re];return s&&s(Me),Me})},e[5]=l,e[6]=s,e[7]=j):j=e[7];const R=j;let D;e[8]!==i||e[9]!==m||e[10]!==R||e[11]!==o||e[12]!==f||e[13]!==d||e[14]!==l||e[15]!==p||e[16]!==c||e[17]!==u||e[18]!==h||e[19]!==_?(D={onDrop:R,accept:i,maxFiles:o,multiple:l,onDropAccepted:c,onDropRejected:u,minSize:d,maxSize:f,noDrag:p,disabled:m,onError:h,validator:_},e[8]=i,e[9]=m,e[10]=R,e[11]=o,e[12]=f,e[13]=d,e[14]=l,e[15]=p,e[16]=c,e[17]=u,e[18]=h,e[19]=_,e[20]=D):D=e[20];const{getRootProps:O,getInputProps:N,isDragActive:F,fileRejections:U}=vue(D);let z;e[21]!==s?(z=Re=>{A(we=>{const Me=we?.filter($e=>$e.name!==Re);return s&&s(Me),Me})},e[21]=s,e[22]=z):z=e[22];const H=z;let W;e[23]!==k?(W=k.map(Dst),e[23]=k,e[24]=W):W=e[24];const K=W;let q;e[25]!==U?(q=new Map,U.forEach(Re=>{const{errors:we}=Re,Me=we[0];q.set(Me.code,Me.message)}),e[25]=U,e[26]=q):q=e[26];let X;e[27]!==q?(X=Array.from(q),e[27]=q,e[28]=X):X=e[28];const Q=X;let Y;y==="small"?Y=K.length?"3px":"6px":Y=K.length?"11px":"14px";const Z=Y;let re;e[29]===Symbol.for("react.memo_cache_sentinel")?(re={position:"relative"},e[29]=re):re=e[29];const fe=`field-${r}`;let de;e[30]!==m?(de=!m&&{cursor:"pointer","&:hover":{borderColor:"text.primary"}},e[30]=m,e[31]=de):de=e[31];let se;e[32]!==F?(se=F&&{borderColor:"primary.main",backgroundColor:"primary.light"},e[32]=F,e[33]=se):se=e[33];let le;e[34]!==U.length||e[35]!==x?(le=(U.length||x)&&{borderColor:"error.main"},e[34]=U.length,e[35]=x,e[36]=le):le=e[36];let ee;e[37]!==Z||e[38]!==b||e[39]!==de||e[40]!==se||e[41]!==le?(ee={py:Z,px:1.75,borderWidth:"2px",borderRadius:"4px",borderColor:"divider",borderStyle:"dashed",outline:"none",...de,...se,...le,...b},e[37]=Z,e[38]=b,e[39]=de,e[40]=se,e[41]=le,e[42]=ee):ee=e[42];let J;e[43]!==O?(J=O(),e[43]=O,e[44]=J):J=e[44];let me;e[45]!==N?(me=N(),e[45]=N,e[46]=me):me=e[46];let pe;e[47]!==r?(pe=r&&{"data-testid":`field-${r}`},e[47]=r,e[48]=pe):pe=e[48];let Se;e[49]!==me||e[50]!==pe?(Se=a.jsx("input",{...me,...pe}),e[49]=me,e[50]=pe,e[51]=Se):Se=e[51];let ve;e[52]!==m||e[53]!==K||e[54]!==H||e[55]!==w||e[56]!==o||e[57]!==l?(ve=K.length?a.jsx(gt,{sx:{position:"relative",top:w?"2px":"1px"},children:a.jsx(ks,{onDelete:H,items:K,size:"small",disabled:m})}):a.jsxs(_e,{children:[w,l&&` (${o?`max ${o}`:"multiple"} files can be uploaded)`]}),e[52]=m,e[53]=K,e[54]=H,e[55]=w,e[56]=o,e[57]=l,e[58]=ve):ve=e[58];let xe;e[59]!==ee||e[60]!==J||e[61]!==Se||e[62]!==ve?(xe=a.jsxs(gt,{sx:ee,...J,children:[Se,ve]}),e[59]=ee,e[60]=J,e[61]=Se,e[62]=ve,e[63]=xe):xe=e[63];let qe;e[64]===Symbol.for("react.memo_cache_sentinel")?(qe={ml:1.75},e[64]=qe):qe=e[64];let Le;e[65]!==i||e[66]!==Q.length||e[67]!==x?(Le=i&&!Q.length&&!x&&a.jsxs(_e,{type:"caption",color:"text.secondary",children:["Only ",Object.keys(i).join(",")," files are accepted"]}),e[65]=i,e[66]=Q.length,e[67]=x,e[68]=Le):Le=e[68];let Te;e[69]!==Q?(Te=Q.map($st),e[69]=Q,e[70]=Te):Te=e[70];let je;e[71]!==x?(je=x&&a.jsx(_e,{color:"error.main",type:"caption",children:x}),e[71]=x,e[72]=je):je=e[72];let Ge;e[73]!==Le||e[74]!==Te||e[75]!==je?(Ge=a.jsxs(gt,{sx:qe,children:[Le,Te,je]}),e[73]=Le,e[74]=Te,e[75]=je,e[76]=Ge):Ge=e[76];let nt;return e[77]!==fe||e[78]!==xe||e[79]!==Ge?(nt=a.jsxs("section",{style:re,"data-testid":fe,children:[xe,Ge]}),e[77]=fe,e[78]=xe,e[79]=Ge,e[80]=nt):nt=e[80],nt};function Dst(t){return{id:t.name,label:t.name+" - "+a7(t.size)}}function $st(t,e){const[,r]=t;return a.jsx(_e,{color:"error.main",type:"caption",children:r},e)}function ti(t){const e=he.c(11),{color:r,disabled:n,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checked:f}=t,p=r===void 0?"primary":r;let m;return e[0]!==f||e[1]!==p||e[2]!==o||e[3]!==c||e[4]!==n||e[5]!==u||e[6]!==i||e[7]!==l||e[8]!==s||e[9]!==d?(m=a.jsx(W9e,{color:p,disabled:n,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checked:f}),e[0]=f,e[1]=p,e[2]=o,e[3]=c,e[4]=n,e[5]=u,e[6]=i,e[7]=l,e[8]=s,e[9]=d,e[10]=m):m=e[10],m}const Ost=()=>{const t=he.c(11),e=Ye(),{dialogClose:r}=Jt(),{upsertFetcher:n}=Ys(),{submit:s,data:i,state:o}=n;let l;t[0]!==s?(l=m=>{const{files:h,server:_,name:g,fileUpload:y,fileContent:b}=m;let x;y?x=h[0]:x=new File([b],g);const w=new FormData;w.set("server",_),w.set("file",x),s(w,{method:"POST",encType:"multipart/form-data",action:`${$.urls.dsmZones}/create`})},t[0]=s,t[1]=l):l=t[1];const c=l;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u={files:[],server:"",fileUpload:!0,name:"",fileContent:""},t[2]=u):u=t[2];const d=u;let f;t[3]!==i||t[4]!==r||t[5]!==e||t[6]!==o?(f=m=>{const{dirty:h}=m;return a.jsxs(Kd,{style:{display:"flex",flexDirection:"column",flexGrow:"1",maxHeight:"100%",overflow:"auto"},children:[a.jsx(_s,{children:a.jsxs(te,{spacing:2,fullHeight:!0,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"server",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"dsm_zones.upload.form.server"}),size:"medium",error:!!y.error,helperText:y.error})}}),a.jsx(Ke,{name:"fileUpload",children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:g.value,onChange:(x,w)=>{b(g.name,w)}}),a.jsx(_e,{children:e.formatMessage({id:"dsm_zones.upload.form.file.upload"})})]})}}),a.jsx(Ke,{name:"name",children:_=>{const{field:g,meta:y,form:b}=_,{values:x}=b;return x.fileUpload?null:a.jsx(dt,{...g,label:e.formatMessage({id:"dsm_zones.upload.form.name"}),size:"medium",error:!!y.error,helperText:y.error})}}),a.jsx(Ke,{name:"fileContent",children:_=>{const{field:g,meta:y,form:b}=_,{values:x,setFieldValue:w}=b;return x.fileUpload?null:a.jsx(Fv,{value:g.value,label:e.formatMessage({id:"dsm_zones.upload.form.file.content"}),error:y.error,language:"plaintext",onChange:C=>{w(g.name,C)}})}}),a.jsx(Ke,{name:"files",children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x,values:w}=b;return w.fileUpload?a.jsxs(a.Fragment,{children:[a.jsx(Lr,{severity:"info",message:e.formatMessage({id:"dsm_zones.upload.form.description"})}),a.jsx(Z_,{...g,label:e.formatMessage({id:"dsm_zones.upload.form.file"}),size:"medium",maxFiles:1,multiple:!1,disabled:o!=="idle",onChange:C=>{setTimeout(()=>{if(!C.length){x(g.name,[]);return}x(g.name,C)},0)},formError:y.error})]}):null}}),a.jsx(Xr,{data:i})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:e.formatMessage({id:"dialog_with_form.buttons.cancel"}),variant:"outlined",disabled:o!=="idle",onClick:()=>r()}),a.jsx(Ze,{text:e.formatMessage({id:"dialog_with_form.buttons.submit"}),type:"submit",disabled:!h,loading:o!=="idle"})]})})]})},t[3]=i,t[4]=r,t[5]=e,t[6]=o,t[7]=f):f=t[7];let p;return t[8]!==c||t[9]!==f?(p=a.jsx(Wr,{initialValues:d,validationSchema:ynt,onSubmit:c,children:f}),t[8]=c,t[9]=f,t[10]=p):p=t[10],p},OX=Pr(),_l=t=>Ue(t)?{label:OX.formatMessage({id:"common.edit"}),icon:a.jsx(ge.Edit,{})}:{label:OX.formatMessage({id:"common.view"}),icon:a.jsx(ge.Info,{})},Lst=()=>{const t=he.c(57),e=Ye(),{dialogOpen:r}=Jt(),{openConfirmDialog:n}=di(),s=zn(),i=gr();let o;t[0]!==r||t[1]!==e?(o=()=>{r({title:e.formatMessage({id:"dsm_zones.upload.form.title"}),fullScreen:!0,content:Nst})},t[0]=r,t[1]=e,t[2]=o):o=t[2];const l=o;let c;t[3]!==r||t[4]!==e?(c=q=>{r({title:e.formatMessage({id:"dsm_zones.upload.form.edit.title"}),fullScreen:!0,content:()=>a.jsx(bnt,{dsmZone:q})})},t[3]=r,t[4]=e,t[5]=c):c=t[5];const u=c;let d;t[6]!==i||t[7]!==e||t[8]!==n?(d=q=>{const{name:X,server:Q}=q;n({text:e.formatMessage({id:"dsm_zones.delete.dialog.confirm"}),onConfirm:()=>{i.submit({name:X,server:Q},{method:"DELETE",encType:"application/json",action:`${$.urls.dsmZones}/delete`})}})},t[6]=i,t[7]=e,t[8]=n,t[9]=d):d=t[9];const f=d;let p;t[10]!==i?(p=q=>{const{name:X,server:Q}=q;i.submit({name:X,server:Q},{method:"POST",encType:"application/json",action:`${$.urls.dsmZones}/download`})},t[10]=i,t[11]=p):p=t[11];const m=p;let h;t[12]!==e?(h=e.formatMessage({id:"dsm_zones.table.id"}),t[12]=e,t[13]=h):h=t[13];let _;t[14]!==h?(_={key:"server",label:h},t[14]=h,t[15]=_):_=t[15];let g;t[16]!==e?(g=e.formatMessage({id:"dsm_zones.table.name"}),t[16]=e,t[17]=g):g=t[17];let y;t[18]!==g?(y={key:"name",label:g},t[18]=g,t[19]=y):y=t[19];let b;t[20]!==_||t[21]!==y?(b=[_,y],t[20]=_,t[21]=y,t[22]=b):b=t[22];const x=b;let w;t[23]===Symbol.for("react.memo_cache_sentinel")?(w=_l(ie.management),t[23]=w):w=t[23];let C;t[24]!==u?(C={...w,onClick:q=>void u(q)},t[24]=u,t[25]=C):C=t[25];let k;t[26]!==e?(k=e.formatMessage({id:"dsm_zones.table.actions.download"}),t[26]=e,t[27]=k):k=t[27];let A;t[28]===Symbol.for("react.memo_cache_sentinel")?(A=a.jsx(ge.Download,{}),t[28]=A):A=t[28];let P;t[29]!==m?(P=q=>void m(q),t[29]=m,t[30]=P):P=t[30];let T;t[31]!==k||t[32]!==P?(T={label:k,icon:A,onClick:P,wrapped:!0},t[31]=k,t[32]=P,t[33]=T):T=t[33];let j;t[34]!==e?(j=e.formatMessage({id:"dsm_zones.table.actions.delete"}),t[34]=e,t[35]=j):j=t[35];let R,D;t[36]===Symbol.for("react.memo_cache_sentinel")?(R=a.jsx(ge.Trash,{}),D=Ue(ie.management),t[36]=R,t[37]=D):(R=t[36],D=t[37]);let O;t[38]!==f?(O=q=>void f(q),t[38]=f,t[39]=O):O=t[39];let N;t[40]!==j||t[41]!==O?(N={label:j,icon:R,disabled:!D,onClick:O,wrapped:!0},t[40]=j,t[41]=O,t[42]=N):N=t[42];let F;t[43]!==C||t[44]!==T||t[45]!==N?(F=[C,T,N],t[43]=C,t[44]=T,t[45]=N,t[46]=F):F=t[46];const U=F;let z;t[47]===Symbol.for("react.memo_cache_sentinel")?(z=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[47]=z):z=t[47];let H;t[48]===Symbol.for("react.memo_cache_sentinel")?(H=a.jsx(Tr,{}),t[48]=H):H=t[48];let W;t[49]!==x||t[50]!==l||t[51]!==e||t[52]!==U?(W=q=>a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{startIcon:a.jsx(ge.Add,{}),disabled:!Ue(ie.management),text:e.formatMessage({id:"dsm_zones.upload.buttons.new"}),onClick:l})}),a.jsx(Br,{autoScale:!0,data:q,orderBy:"server",columns:x,rowActions:U,stickyRowActions:!0,page:0,labelDisplayedRows:Fst,rowsCount:q.length,rowsPerPage:q.length,rowKey:"server"})]}),t[49]=x,t[50]=l,t[51]=e,t[52]=U,t[53]=W):W=t[53];let K;return t[54]!==s.zones||t[55]!==W?(K=a.jsx(I.Suspense,{fallback:z,children:a.jsx(Qt,{resolve:s.zones,errorElement:H,children:W})}),t[54]=s.zones,t[55]=W,t[56]=K):K=t[56],K};function Nst(){return a.jsx(Ost,{})}function Fst(){return""}function c7(t,e=""){const r=document.createElement("a");r.href=t,r.download=e,document.body.appendChild(r),r.click(),document.body.removeChild(r)}function yue(t,e,r="text/plain"){const n=window.URL.createObjectURL(new Blob([t],{type:r}));c7(n,e)}function Ust(){const t=$.apis.dsm.zones;return De({options:{url:t,method:"GET"}})}function Bst(t,e){const r=`${$.apis.dsm.zones}/${t}`,n=new FormData;return n.append("file",e),De({options:{url:r,method:"POST",data:n,headers:{"content-type":"multipart/form-data"}}})}function zst(t,e){const r=`${$.apis.dsm.zones}/${t}/${e}`;return De({options:{url:r,method:"DELETE"}})}async function bue(t,e){const r=`${$.apis.dsm.zones}/${t}/${e}`;return{content:await De({options:{url:r,method:"GET"}})}}const xue=Pr();async function qst({request:t}){const e=await t.formData(),r=e.get("server"),n=e.get("file"),s=await Bst(r,n);return xt(s)||Nt(),Ft(s)}async function Vst({request:t}){const{server:e,name:r}=await t.json(),n=await zst(e,r);return xt(n)?Ar(n.error.detail||xue.formatMessage({id:"dsm_zones.delete.result.message_ko"})):Nt(),Ft(n)}async function Hst({request:t}){const{server:e,name:r}=await t.json(),n=await bue(e,r);return xt(n)?Ar(n.error.detail||xue.formatMessage({id:"dsm_zones.download.result.message_ko"})):yue(n.content,r),Ft(n)}function Gst(t){return Wt({loaderArgs:t,deferred:!0,data:{zones:Ust()}})}function Wst(t){const{server:e,name:r}=t.params;return!e||!r?null:Wt({loaderArgs:t,deferred:!0,data:{zone:bue(e,r)}})}const Yst={path:"dsm",handle:vr({labelIntl:"route.dsm",icon:a.jsx(ge.DSM,{})}),children:[{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.DSM,{dbCluster:!0})]},{element:a.jsx(Or,{fullHeight:!0}),children:[io(ue.DSM),{path:"zones",handle:vr({labelIntl:"route.dsm.zones",to:"/dms/zones"}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:Gst,element:a.jsx(Lst,{})},{path:":server/:name",loader:Wst,element:a.jsx(ur,{to:$.urls.dsmZones,replace:!0})},{path:"create",action:qst,loader:()=>rt("..")},{path:"delete",action:Vst,loader:()=>rt("..")},{path:"download",action:Hst,loader:()=>rt("..")}]}]}]},Kst=t=>{const e=he.c(17),{onCancel:r,onSubmit:n,validationSchema:s,renderComponentForm:i,initialValues:o,submitButtonText:l,cancelButtonText:c,validateOnChange:u,validateOnBlur:d,isReadonly:f,isLoading:p}=t,m=Ye();let h;e[0]!==n?(h=async y=>n(y),e[0]=n,e[1]=h):h=e[1];let _;e[2]!==c||e[3]!==m||e[4]!==p||e[5]!==f||e[6]!==i||e[7]!==l?(_=y=>{const{isSubmitting:b,dirty:x}=y;return a.jsxs(Kd,{style:{display:"flex",flexDirection:"column",flexGrow:"1",maxHeight:"100%",overflow:"auto"},children:[a.jsx(_s,{children:i()}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:c||m.formatMessage({id:"dialog_with_form.buttons.cancel"}),type:"reset",variant:"outlined",disabled:b}),!f&&a.jsx(Ze,{text:l||m.formatMessage({id:"dialog_with_form.buttons.submit"}),type:"submit",disabled:b||!x||p,loading:b||p})]})})]})},e[2]=c,e[3]=m,e[4]=p,e[5]=f,e[6]=i,e[7]=l,e[8]=_):_=e[8];let g;return e[9]!==o||e[10]!==r||e[11]!==h||e[12]!==_||e[13]!==d||e[14]!==u||e[15]!==s?(g=a.jsx(Wr,{initialValues:o,validationSchema:s,onSubmit:h,onReset:r,validateOnChange:u,validateOnBlur:d,children:_}),e[9]=o,e[10]=r,e[11]=h,e[12]=_,e[13]=d,e[14]=u,e[15]=s,e[16]=g):g=e[16],g},Sue=t=>{const e=he.c(24),{description:r,exampleFileUrl:n,filesLabel:s,max:i,accept:o,acceptEncrypted:l,alert:c}=t,u=Ye();let d;e[0]!==r||e[1]!==n||e[2]!==u?(d=r||(n?u.formatMessage({id:"form_import_files.description"}):void 0),e[0]=r,e[1]=n,e[2]=u,e[3]=d):d=e[3];let f;e[4]!==n?(f=n&&a.jsx("a",{href:n,target:"_blank",rel:"noreferrer",children:"example"}),e[4]=n,e[5]=f):f=e[5];let p;e[6]!==d||e[7]!==f?(p=a.jsxs(_e,{children:[d,f]}),e[6]=d,e[7]=f,e[8]=p):p=e[8];let m;e[9]!==c?(m=c&&a.jsx(Lr,{...c}),e[9]=c,e[10]=m):m=e[10];let h;e[11]!==o||e[12]!==s||e[13]!==u||e[14]!==i?(h=a.jsx(Ke,{name:"files",children:y=>{const{field:b,meta:x,form:w}=y,{setFieldValue:C,isSubmitting:k}=w;return a.jsx(Z_,{...b,label:s||u.formatMessage({id:"form_import_files.file"}),size:"medium",accept:o,maxFiles:i,multiple:i>1,disabled:k,onChange:A=>{setTimeout(()=>{if(!A.length){C(b.name,[]);return}C(b.name,A)},0)},formError:x.error})}}),e[11]=o,e[12]=s,e[13]=u,e[14]=i,e[15]=h):h=e[15];let _;e[16]!==l||e[17]!==u?(_=l&&a.jsx(Ke,{name:"encrypted",children:y=>{const{field:b,form:x}=y,{setFieldValue:w,isSubmitting:C}=x;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:b.value,onChange:(k,A)=>{w(b.name,A)},disabled:C}),a.jsx(_e,{children:u.formatMessage({id:"form_import_files.encrypted"})})]})}}),e[16]=l,e[17]=u,e[18]=_):_=e[18];let g;return e[19]!==p||e[20]!==m||e[21]!==h||e[22]!==_?(g=a.jsxs(te,{spacing:2,children:[p,m,h,_]}),e[19]=p,e[20]=m,e[21]=h,e[22]=_,e[23]=g):g=e[23],g},wue=t=>{const e=he.c(20),{onSubmit:r,onCancel:n,...s}=t,i=Ye(),o=Kst,l=()=>a.jsx(Sue,{...s});let c;e[0]!==i?(c=i.formatMessage({id:"form_import_files.save"}),e[0]=i,e[1]=c):c=e[1];let u;e[2]!==i?(u=i.formatMessage({id:"form_import_files.cancel"}),e[2]=i,e[3]=u):u=e[3];let d;e[4]!==r?(d=async g=>r(g),e[4]=r,e[5]=d):d=e[5];const f=dr().shape({files:yr().min(s.min,i.formatMessage({id:"form_import_files.min"},{num:s.min})).max(s.max,i.formatMessage({id:"form_import_files.max"},{num:s.max})).required(s.requiredMessage?s.requiredMessage:i.formatMessage({id:"form_import_files.required"})),...s.acceptEncrypted&&{encrypted:li()}});let p;e[6]===Symbol.for("react.memo_cache_sentinel")?(p=[],e[6]=p):p=e[6];let m;e[7]!==s.acceptEncrypted?(m=s.acceptEncrypted&&{encrypted:!1},e[7]=s.acceptEncrypted,e[8]=m):m=e[8];let h;e[9]!==m?(h={files:p,...m},e[9]=m,e[10]=h):h=e[10];let _;return e[11]!==o||e[12]!==n||e[13]!==l||e[14]!==c||e[15]!==u||e[16]!==d||e[17]!==f||e[18]!==h?(_=a.jsx(o,{renderComponentForm:l,submitButtonText:c,cancelButtonText:u,onSubmit:d,onCancel:n,validationSchema:f,initialValues:h}),e[11]=o,e[12]=n,e[13]=l,e[14]=c,e[15]=u,e[16]=d,e[17]=f,e[18]=h,e[19]=_):_=e[19],_},x_=Pr();var Cue=(t=>(t.WHITELISTED="WHITELISTED",t.GREYLISTED="GREYLISTED",t.BLACKLISTED="BLACKLISTED",t))(Cue||{});const J0=Object.keys(Cue),Qst=dr().shape({supi:We().strict(!0).matches(new RegExp($.regex.supi)).required(x_.formatMessage({id:"eir_autorules.new_rule.form_errors.required"}))}),Zst=dr().shape({pei:We().required(x_.formatMessage({id:"eir_rules.new_rule.form_errors.required"})).strict(!0).matches(/^(imei-[0-9]{8}|imei-[0-9]{14,15}|mac((-[0-9a-fA-F]{2}){6})(-untrusted)?|eui((-[0-9a-fA-F]{2}){8}))$/),supi:We().strict(!0).matches(new RegExp($.regex.supi)),status:We().required(x_.formatMessage({id:"eir_rules.new_rule.form_errors.required"})),enabled:li().required(x_.formatMessage({id:"eir_rules.new_rule.form_errors.required"}))}),Xst=dr().shape({status:We().required(x_.formatMessage({id:"eir_rules.edit_rule.form_errors.required"})),enabled:li().required(x_.formatMessage({id:"eir_rules.edit_rule.form_errors.required"}))}),Jst=()=>{const t=he.c(13),e=Ye(),{dialogClose:r}=Jt(),{upsertFetcher:n}=Ys(),{data:s,state:i,submit:o}=n;let l;t[0]!==o?(l=m=>{const{supi:h}=m;h&&o({supi:h},{action:`${$.urls.eirAutoRules}/create`,method:"POST",encType:"application/json"})},t[0]=o,t[1]=l):l=t[1];const c=l;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u={supi:""},t[2]=u):u=t[2];let d;t[3]!==r?(d=()=>r(),t[3]=r,t[4]=d):d=t[4];let f;t[5]!==s||t[6]!==e||t[7]!==i?(f=()=>a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"supi",children:m=>{const{field:h,meta:_}=m;return a.jsx(dt,{...h,label:e.formatMessage({id:"eir_autorules.new_rule.supi"}),size:"small",error:!!_.error,helperText:_.error,disabled:i!=="idle"})}}),a.jsx(Xr,{data:s})]}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{"data-testid":"new-autorule-button-cancel",text:e.formatMessage({id:"eir_autorules.new_rule.cancel"}),type:"reset",variant:"outlined",disabled:i!=="idle"||!Ue(ie.provisioning)}),a.jsx(Ze,{"data-testid":"new-autorule-button-save",text:e.formatMessage({id:"eir_autorules.new_rule.save"}),type:"submit",disabled:i!=="idle"||!Ue(ie.provisioning)})]})]})}),t[5]=s,t[6]=e,t[7]=i,t[8]=f):f=t[8];let p;return t[9]!==c||t[10]!==d||t[11]!==f?(p=a.jsx(te,{padding:2,children:a.jsx(Wr,{initialValues:u,validationSchema:Qst,onSubmit:c,onReset:d,children:f})}),t[9]=c,t[10]=d,t[11]=f,t[12]=p):p=t[12],p},eit=()=>{const t=he.c(31),e=Ye(),{dialogOpen:r,dialogClose:n}=Jt(),{upsertFetcher:s}=Ys(),{state:i,submit:o}=s;let l;t[0]!==o?(l=k=>{const A=new FormData;A.append("file",k),o(A,{action:$.urls.eirAutorulesCreateBulk_Action,method:"POST",encType:"multipart/form-data"})},t[0]=o,t[1]=l):l=t[1];const c=l;let u;t[2]!==r||t[3]!==e?(u=()=>{r({title:e.formatMessage({id:"eir_autorules.toolbar.new_autorule"}),content:tit,closeOnBackdropClick:!1})},t[2]=r,t[3]=e,t[4]=u):u=t[4];const d=u;let f;t[5]!==n||t[6]!==r||t[7]!==c||t[8]!==e?(f=()=>{r({title:e.formatMessage({id:"eir_autorules.toolbar.import_rules"}),content:()=>a.jsx(wue,{onSubmit:k=>c(k.files[0]),onCancel:()=>n(),min:1,max:1,filesLabel:e.formatMessage({id:"eir_autorules.import.file"}),accept:{"text/csv":[".csv"]},requiredMessage:e.formatMessage({id:"eir_autorules.import.form_errors.required"}),description:e.formatMessage({id:"eir_autorules.import.description"}),exampleFileUrl:"/files/eir_autorules_provisioning_example.csv"}),closeOnBackdropClick:!1})},t[5]=n,t[6]=r,t[7]=c,t[8]=e,t[9]=f):f=t[9];const p=f;let m;t[10]!==e?(m=e.formatMessage({id:"eir_autorules.toolbar.import_rules"}),t[10]=e,t[11]=m):m=t[11];let h;t[12]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(ge.Upload,{}),t[12]=h):h=t[12];let _;t[13]!==i?(_=i!=="idle"||!Ue(ie.provisioning),t[13]=i,t[14]=_):_=t[14];let g;t[15]!==p||t[16]!==m||t[17]!==_?(g=a.jsx(Ze,{"data-testid":"toolbar-button-import-rules",variant:"outlined",text:m,startIcon:h,onClick:p,disabled:_}),t[15]=p,t[16]=m,t[17]=_,t[18]=g):g=t[18];let y;t[19]!==e?(y=e.formatMessage({id:"eir_autorules.toolbar.new_autorule"}),t[19]=e,t[20]=y):y=t[20];let b;t[21]===Symbol.for("react.memo_cache_sentinel")?(b=a.jsx(ge.Add,{}),t[21]=b):b=t[21];let x;t[22]!==i?(x=i!=="idle"||!Ue(ie.provisioning),t[22]=i,t[23]=x):x=t[23];let w;t[24]!==d||t[25]!==x||t[26]!==y?(w=a.jsx(Ze,{"data-testid":"toolbar-button-new-autorule",text:y,startIcon:b,onClick:d,disabled:x}),t[24]=d,t[25]=x,t[26]=y,t[27]=w):w=t[27];let C;return t[28]!==w||t[29]!==g?(C=a.jsxs(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:[g,w]}),t[28]=w,t[29]=g,t[30]=C):C=t[30],C};function tit(){return a.jsx(Jst,{})}const rit=()=>{const t=he.c(47),e=Ye(),{openConfirmDialog:r}=di(),n=Gr(),s=On(),{submit:i,state:o}=gr(),{pageSize:l,pageSizeOptions:c,changePageSize:u,changePage:d,getRowsCount:f,getPage:p}=Na();let m;t[0]!==i||t[1]!==e||t[2]!==r?(m=async z=>{const{supi:H}=z;H&&r({text:e.formatMessage({id:"eir_autorules.actions.confirm_delete"}),onConfirm:()=>{i({supi:H},{action:$.urls.eirAutorulesDelete_Action,method:"POST",encType:"application/json"})}})},t[0]=i,t[1]=e,t[2]=r,t[3]=m):m=t[3];const h=m;let _;t[4]!==e?(_=e.formatMessage({id:"eir_autorules.table.header.supi"}),t[4]=e,t[5]=_):_=t[5];let g;t[6]!==_?(g={key:"supi",label:_,cellRender:nit},t[6]=_,t[7]=g):g=t[7];let y;t[8]!==e?(y=e.formatMessage({id:"eir_autorules.table.header.created_at"}),t[8]=e,t[9]=y):y=t[9];let b;t[10]!==y?(b={key:"created_at",label:y,cellRender:sit},t[10]=y,t[11]=b):b=t[11];let x;t[12]!==e?(x=e.formatMessage({id:"eir_autorules.table.header.modified_at"}),t[12]=e,t[13]=x):x=t[13];let w;t[14]!==x?(w={key:"modified_at",label:x,cellRender:iit},t[14]=x,t[15]=w):w=t[15];let C;t[16]!==g||t[17]!==b||t[18]!==w?(C=[g,b,w],t[16]=g,t[17]=b,t[18]=w,t[19]=C):C=t[19];const k=C;let A;t[20]!==e?(A=e.formatMessage({id:"eir_autorules.actions.delete"}),t[20]=e,t[21]=A):A=t[21];let P;t[22]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(ge.Trash,{}),t[22]=P):P=t[22];let T;t[23]!==h?(T=z=>void h(z),t[23]=h,t[24]=T):T=t[24];let j;t[25]!==o||t[26]!==s.state?(j=s.state!=="idle"||o!=="idle"||!Ue(ie.provisioning),t[25]=o,t[26]=s.state,t[27]=j):j=t[27];let R;t[28]!==T||t[29]!==j||t[30]!==A?(R=[{label:A,icon:P,onClick:T,disabled:j}],t[28]=T,t[29]=j,t[30]=A,t[31]=R):R=t[31];const D=R;let O;t[32]===Symbol.for("react.memo_cache_sentinel")?(O=a.jsx(te,{sx:{height:"100%"},children:a.jsx(Dt,{variant:"rounded",height:"100%"})}),t[32]=O):O=t[32];let N;t[33]===Symbol.for("react.memo_cache_sentinel")?(N=a.jsx(Tr,{}),t[33]=N):N=t[33];let F;t[34]!==d||t[35]!==u||t[36]!==k||t[37]!==o||t[38]!==p||t[39]!==f||t[40]!==l||t[41]!==c||t[42]!==D?(F=z=>{const{data:H,metadata:W}=z;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(eit,{})}),a.jsx(Br,{autoScale:!0,loading:o!=="idle",orderBy:"supi",columns:k,data:H,page:p(W),labelDisplayedRows:oit,rowsCount:f(W),rowsPerPage:l,onRowsPerPageChange:u,rowsPerPageOptions:c,rowKey:"supi",rowActions:D,stickyRowActions:!0,onPageChange:d(W)})]})},t[34]=d,t[35]=u,t[36]=k,t[37]=o,t[38]=p,t[39]=f,t[40]=l,t[41]=c,t[42]=D,t[43]=F):F=t[43];let U;return t[44]!==n.autorules||t[45]!==F?(U=a.jsx(I.Suspense,{fallback:O,children:a.jsx(Qt,{resolve:n.autorules,errorElement:N,children:F})}),t[44]=n.autorules,t[45]=F,t[46]=U):U=t[46],U};function nit(t){const{supi:e}=t;return e?a.jsx(_e,{fontSize:"body2",children:e}):a.jsx(_e,{fontSize:"body2",children:"*"})}function sit(t){const{created_at:e}=t;return a.jsx(_e,{fontSize:"body2",children:Mr(e)})}function iit(t){const{modified_at:e}=t;return a.jsx(_e,{fontSize:"body2",children:Mr(e)})}function oit(){return""}const ait=t=>{const e=he.c(30),{ruleId:r}=t,n=Ye(),{dialogClose:s}=Jt(),i=`${$.urls.eirRules}/${r}`;let o;e[0]!==i?(o={editLoadTo:i},e[0]=i,e[1]=o):o=e[1];const{dataFetcher:l,upsertFetcher:c,isLoading:u}=Ys(o),{data:d,state:f}=l,{data:p,state:m,submit:h}=c;let _;e[2]!==r||e[3]!==h?(_=async C=>{const{status:k,enabled:A}=C;!C||!r||!k||!A||h({id:r,enabled:A,status:k},{action:`${$.urls.eirRules}/update`,method:"POST",encType:"application/json"})},e[2]=r,e[3]=h,e[4]=_):_=e[4];const g=_;let y;e:{if(!d){let O;e[5]===Symbol.for("react.memo_cache_sentinel")?(O={status:"GREYLISTED",enabled:!0,pei:"",autorule:!1,created_at:"",modified_at:"",supi:""},e[5]=O):O=e[5],y=O;break e}const C=d.eirRule?.status??"WHITELISTED",k=d.eirRule.enabled??!0,A=d.eirRule?.pei??"",P=d.eirRule?.autorule??!1,T=d.eirRule?.created_at??"",j=d.eirRule?.modified_at??"",R=d.eirRule?.supi??"";let D;e[6]!==P||e[7]!==T||e[8]!==j||e[9]!==R||e[10]!==C||e[11]!==k||e[12]!==A?(D={status:C,enabled:k,pei:A,autorule:P,created_at:T,modified_at:j,supi:R},e[6]=P,e[7]=T,e[8]=j,e[9]=R,e[10]=C,e[11]=k,e[12]=A,e[13]=D):D=e[13],y=D}const b=y;let x;e[14]!==p||e[15]!==s||e[16]!==m||e[17]!==b.autorule||e[18]!==b.created_at||e[19]!==b.modified_at||e[20]!==b.pei||e[21]!==b.supi||e[22]!==n||e[23]!==u||e[24]!==f?(x=()=>a.jsxs(dn,{canWrite:Ue(ie.provisioning),children:[a.jsx(_s,{loading:u,children:a.jsxs(te,{spacing:2,children:[a.jsx(dt,{disabled:!0,label:n.formatMessage({id:"eir_rules.edit_rule.created_at"}),size:"small",value:Mr(b.created_at),name:"created_at"}),a.jsx(dt,{disabled:!0,label:n.formatMessage({id:"eir_rules.edit_rule.modified_at"}),size:"small",value:Mr(b.modified_at),name:"modified_at"}),a.jsx(dt,{disabled:!0,label:n.formatMessage({id:"eir_rules.edit_rule.autorule"}),size:"small",value:b.autorule,name:"autorule"}),a.jsx(dt,{disabled:!0,label:n.formatMessage({id:"eir_rules.edit_rule.pei"}),size:"small",value:b.pei,name:"pei"}),a.jsx(dt,{disabled:!0,label:n.formatMessage({id:"eir_rules.edit_rule.supi"}),size:"small",value:b.supi,name:"supi"}),a.jsx(Ke,{name:"status",children:C=>{const{field:k,meta:A}=C;return a.jsx(qs,{...k,label:n.formatMessage({id:"eir_rules.edit_rule.status"}),size:"small",error:!!A.error,helperText:A.error,disabled:m!=="idle"||f!=="idle",children:J0.map(P=>a.jsx(En,{value:P,children:n.formatMessage({id:`eir_rules.edit_rule.status.${P}`})},P))})}}),a.jsx(Ke,{name:"enabled",children:C=>{const{field:k,meta:A}=C;return a.jsxs(qs,{...k,label:n.formatMessage({id:"eir_rules.edit_rule.enabled"}),size:"small",error:!!A.error,helperText:A.error,disabled:m!=="idle"||f!=="idle",children:[a.jsx(En,{value:"true",children:n.formatMessage({id:"eir_rules.edit_rule.enabled.true"})}),a.jsx(En,{value:"false",children:n.formatMessage({id:"eir_rules.edit_rule.enabled.false"})})]})}}),a.jsx(Xr,{data:p})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{"data-testid":"edit-rule-button-cancel",text:n.formatMessage({id:"eir_rules.edit_rule.cancel"}),variant:"outlined",disabled:m!=="idle"||f!=="idle"||!Ue(ie.provisioning),onClick:()=>s()}),a.jsx(Ze,{"data-testid":"edit-rule-button-save",text:n.formatMessage({id:"eir_rules.edit_rule.save"}),type:"submit",disabled:m!=="idle"||f!=="idle"||!Ue(ie.provisioning)})]})})]}),e[14]=p,e[15]=s,e[16]=m,e[17]=b.autorule,e[18]=b.created_at,e[19]=b.modified_at,e[20]=b.pei,e[21]=b.supi,e[22]=n,e[23]=u,e[24]=f,e[25]=x):x=e[25];let w;return e[26]!==g||e[27]!==b||e[28]!==x?(w=a.jsx(Wr,{initialValues:b,validationSchema:Xst,enableReinitialize:!0,onSubmit:g,children:x}),e[26]=g,e[27]=b,e[28]=x,e[29]=w):w=e[29],w},u7=()=>{const t=he.c(2),[e]=hl();let r;return t[0]!==e?(r=Object.fromEntries(Object.entries(Object.fromEntries(e)).filter(lit)),t[0]=e,t[1]=r):r=t[1],r};function lit(t){const[,e]=t;return!!e}const cit=()=>{const t=he.c(13),e=Ye(),{dialogClose:r}=Jt(),{upsertFetcher:n}=Ys(),{data:s,state:i,submit:o}=n;let l;t[0]!==o?(l=m=>{const{supi:h,..._}=m;o({..._,...h&&{supi:h}},{action:`${$.urls.eirRules}/create`,method:"POST",encType:"application/json"})},t[0]=o,t[1]=l):l=t[1];const c=l;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u={pei:"",supi:"",status:"WHITELISTED",enabled:!0},t[2]=u):u=t[2];let d;t[3]!==r?(d=()=>r(),t[3]=r,t[4]=d):d=t[4];let f;t[5]!==s||t[6]!==e||t[7]!==i?(f=()=>a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"pei",children:m=>{const{field:h,meta:_}=m;return a.jsx(dt,{...h,label:e.formatMessage({id:"eir_rules.new_rule.pei"}),size:"small",error:!!_.error,helperText:_.error,disabled:i!=="idle"})}}),a.jsx(Ke,{name:"supi",children:m=>{const{field:h,meta:_}=m;return a.jsx(dt,{...h,label:e.formatMessage({id:"eir_rules.new_rule.supi"}),size:"small",error:!!_.error,helperText:_.error,disabled:i!=="idle"})}}),a.jsx(Ke,{name:"status",children:m=>{const{field:h,meta:_}=m;return a.jsx(qs,{...h,label:e.formatMessage({id:"eir_rules.new_rule.status"}),size:"small",error:!!_.error,helperText:_.error,disabled:i!=="idle",children:J0.map(g=>a.jsx(En,{value:g,children:e.formatMessage({id:`eir_rules.new_rule.status.${g}`})},g))})}}),a.jsx(Ke,{name:"enabled",children:m=>{const{field:h,meta:_}=m;return a.jsxs(qs,{...h,label:e.formatMessage({id:"eir_rules.new_rule.enabled"}),size:"small",error:!!_.error,helperText:_.error,disabled:i!=="idle",children:[a.jsx(En,{value:"true",children:e.formatMessage({id:"eir_rules.new_rule.enabled.true"})}),a.jsx(En,{value:"false",children:e.formatMessage({id:"eir_rules.new_rule.enabled.false"})})]})}}),a.jsx(Xr,{data:s})]}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{"data-testid":"new-rule-button-cancel",text:e.formatMessage({id:"eir_rules.new_rule.cancel"}),type:"reset",variant:"outlined",disabled:i!=="idle"||!Ue(ie.provisioning)}),a.jsx(Ze,{"data-testid":"new-rule-button-save",text:e.formatMessage({id:"eir_rules.new_rule.save"}),type:"submit",disabled:i!=="idle"||!Ue(ie.provisioning)})]})]})}),t[5]=s,t[6]=e,t[7]=i,t[8]=f):f=t[8];let p;return t[9]!==c||t[10]!==d||t[11]!==f?(p=a.jsx(te,{padding:2,children:a.jsx(Wr,{initialValues:u,validationSchema:Zst,onSubmit:c,onReset:d,children:f})}),t[9]=c,t[10]=d,t[11]=f,t[12]=p):p=t[12],p};function d7({filter:t,keysToExclude:e=[$.searchParams.pageSize,$.searchParams.paginationToken]}){const r=Object.keys(t??{}).filter(n=>!e?.includes(n));return Object.keys(r).length}const f7=t=>{const e=he.c(3),{children:r}=t;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={px:2,pb:2},e[0]=n):n=e[0];let s;return e[1]!==r?(s=a.jsx(te,{direction:"row",justify:"flex-end",spacing:2,nowrap:!0,sx:n,children:r}),e[1]=r,e[2]=s):s=e[2],s},uit=()=>{const t=he.c(33),e=Ye(),[r,n]=hl();let s;t[0]!==r?(s=r.get("supi"),t[0]=r,t[1]=s):s=t[1];const[i,o]=I.useState(s==="*"),{drawerClose:l}=Jt();let c;t[2]!==l||t[3]!==n||t[4]!==i?(c=w=>{n(C=>{const k=new URLSearchParams;k.set($.searchParams.pageSize,C.get($.searchParams.pageSize)||$.pageSize.toString()),w.pei&&k.set("pei",w.pei);const A=i?"*":w.supi;return A&&k.set("supi",A),w.status&&k.set("status",w.status),w.enabled&&k.set("enabled",w.enabled),w.autorule&&k.set("autorule",w.autorule),k},{replace:!0}),l()},t[2]=l,t[3]=n,t[4]=i,t[5]=c):c=t[5];const u=c;let d;t[6]!==l||t[7]!==n?(d=()=>{n(dit,{replace:!0}),l()},t[6]=l,t[7]=n,t[8]=d):d=t[8];const f=d;let p;t[9]!==r?(p=r.get("pei")??"",t[9]=r,t[10]=p):p=t[10];let m;t[11]!==r?(m=r.get("pei")??"",t[11]=r,t[12]=m):m=t[12];let h;t[13]!==r?(h=r.get("status")??"",t[13]=r,t[14]=h):h=t[14];let _;t[15]!==r?(_=r.get("enabled")??"",t[15]=r,t[16]=_):_=t[16];let g;t[17]!==r?(g=r.get("autorule")??"",t[17]=r,t[18]=g):g=t[18];let y;t[19]!==p||t[20]!==m||t[21]!==h||t[22]!==_||t[23]!==g?(y={pei:p,supi:m,status:h,enabled:_,autorule:g},t[19]=p,t[20]=m,t[21]=h,t[22]=_,t[23]=g,t[24]=y):y=t[24];let b;t[25]!==e||t[26]!==i?(b=()=>a.jsxs(dn,{canWrite:as(ie.provisioning),fullHeight:!0,children:[a.jsx(zp,{children:a.jsx(te,{spacing:2,children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"pei",children:w=>{const{field:C}=w;return a.jsx(dt,{...C,value:C.value||"",label:e.formatMessage({id:"eir_rules.filters.pei"}),size:"small"})}}),a.jsx(Ke,{name:"supi",children:w=>{const{field:C,form:k}=w,{setFieldValue:A}=k,P=()=>{i?A("supi",""):A("supi","*"),o(fit)};return a.jsxs(te,{direction:"row",justify:"stretch",nowrap:!0,align:"center",children:[a.jsx(dt,{...C,value:C.value||"",label:e.formatMessage({id:"eir_rules.filters.supi"}),size:"small",disabled:i,sx:{flexGrow:1}}),a.jsxs(te,{direction:"row",align:"center",sx:{marginLeft:"0px !important",mt:"4px"},nowrap:!0,children:[a.jsx(ti,{onChange:P,value:i,checked:i,size:"small"}),a.jsx(Mn,{title:e.formatMessage({id:"eir_rules.filters.supi.all_tooltip"}),arrow:!0,placement:"top",children:a.jsx(gt,{children:a.jsx(te,{align:"center",children:a.jsx(ge.QuestionMark,{fontSize:"16px"})})})})]})]})}}),a.jsx(Ke,{name:"status",children:w=>{const{field:C,form:k}=w,{setFieldValue:A}=k;return a.jsx(rn,{value:C.value,name:C.name,label:e.formatMessage({id:"eir_rules.filters.status"}),multiple:!1,size:"small",freeSolo:!1,options:["",...J0],onChange:(P,T)=>{A(C.name,T||"")},fullWidth:!0})}}),a.jsx(Ke,{name:"enabled",children:w=>{const{field:C,form:k}=w,{setFieldValue:A}=k;return a.jsx(rn,{value:C.value,name:C.name,label:e.formatMessage({id:"eir_rules.filters.enabled"}),multiple:!1,size:"small",freeSolo:!1,options:["","true","false"],onChange:(P,T)=>{A(C.name,T||"")},fullWidth:!0})}}),a.jsx(Ke,{name:"autorule",children:w=>{const{field:C,form:k}=w,{setFieldValue:A}=k;return a.jsx(rn,{value:C.value,name:C.name,label:e.formatMessage({id:"eir_rules.filters.autorule"}),multiple:!1,size:"small",freeSolo:!1,options:["","true","false"],onChange:(P,T)=>{A(C.name,T||"")},fullWidth:!0})}})]})})}),a.jsxs(f7,{children:[a.jsx(Ze,{"data-testid":"filter-rule-button-reset",text:e.formatMessage({id:"eir_rules.filters.buttons.reset"}),variant:"outlined",disabled:!as(ie.provisioning),type:"reset"}),a.jsx(Ze,{"data-testid":"filter-rule-button-apply",text:e.formatMessage({id:"eir_rules.filters.buttons.apply"}),type:"submit",disabled:!as(ie.provisioning)})]})]}),t[25]=e,t[26]=i,t[27]=b):b=t[27];let x;return t[28]!==f||t[29]!==u||t[30]!==y||t[31]!==b?(x=a.jsx(Wr,{initialValues:y,onSubmit:u,onReset:f,children:b}),t[28]=f,t[29]=u,t[30]=y,t[31]=b,t[32]=x):x=t[32],x};function dit(t){const e=new URLSearchParams;return e.set($.searchParams.pageSize,t.get($.searchParams.pageSize)||$.pageSize.toString()),e}function fit(t){return!t}const pit=t=>{const e=he.c(66),{configuration:r,isDisabled:n}=t,s=n===void 0?!1:n,i=Ye(),o=On(),{dialogOpen:l,dialogClose:c,drawerOpen:u}=Jt(),{upsertFetcher:d}=Ys(),{state:f,submit:p}=d,{upsertFetcher:m}=Ys(),{state:h,submit:_}=m,g=u7();let y;e[0]!==p?(y=se=>{const le=new FormData;le.append("file",se),p(le,{action:$.urls.eirRulesCreateBulk_Action,method:"POST",encType:"multipart/form-data"})},e[0]=p,e[1]=y):y=e[1];const b=y;let x;e[2]!==l||e[3]!==i?(x=()=>{l({title:i.formatMessage({id:"eir_rules.toolbar.new_rule"}),content:mit,closeOnBackdropClick:!1})},e[2]=l,e[3]=i,e[4]=x):x=e[4];const w=x;let C;e[5]!==c||e[6]!==l||e[7]!==b||e[8]!==i?(C=()=>{l({title:i.formatMessage({id:"eir_rules.toolbar.import_rules"}),content:()=>a.jsx(wue,{onSubmit:se=>b(se.files[0]),onCancel:()=>c(),min:1,max:1,filesLabel:i.formatMessage({id:"eir_rules.import.file"}),accept:{"text/csv":[".csv"]},requiredMessage:i.formatMessage({id:"eir_rules.import.form_errors.required"}),description:i.formatMessage({id:"eir_rules.import.description"}),exampleFileUrl:"/files/eir_rules_provisioning_example.csv"}),closeOnBackdropClick:!1})},e[5]=c,e[6]=l,e[7]=b,e[8]=i,e[9]=C):C=e[9];const k=C;let A;e[10]!==u||e[11]!==i?(A=()=>{u({title:i.formatMessage({id:"eir_rules.toolbar.filters"}),content:hit})},e[10]=u,e[11]=i,e[12]=A):A=e[12];const P=A;let T;e[13]!==r.single_rule_per_pei||e[14]!==_?(T=async()=>{_({single_rule_per_pei:!r.single_rule_per_pei},{action:$.urls.eirRulesEquipmentConfigurationSet,method:"POST",encType:"application/json"})},e[13]=r.single_rule_per_pei,e[14]=_,e[15]=T):T=e[15];const j=T;let R;e[16]!==r||e[17]!==j||e[18]!==i||e[19]!==s||e[20]!==o||e[21]!==f||e[22]!==h?(R=r?a.jsxs(te,{direction:"row",align:"center",sx:{mr:1},spacing:0,justify:"flex-start",children:[a.jsx(ti,{checked:r?.single_rule_per_pei,"data-testid":"toolbar-switch-single-rule-per-pei",onChange:()=>void j(),size:"small",disabled:s||o.state!=="idle"||f!=="idle"||h!=="idle"||!Ue(ie.provisioning)}),a.jsx(_e,{type:"body2",children:i.formatMessage({id:"eir_rules.toolbar.configuration"})})]}):null,e[16]=r,e[17]=j,e[18]=i,e[19]=s,e[20]=o,e[21]=f,e[22]=h,e[23]=R):R=e[23];let D;e[24]!==g?(D=d7({filter:g}),e[24]=g,e[25]=D):D=e[25];const O=!D;let N;e[26]!==i?(N=i.formatMessage({id:"eir_rules.toolbar.filters"}),e[26]=i,e[27]=N):N=e[27];let F;e[28]===Symbol.for("react.memo_cache_sentinel")?(F=a.jsx(ge.Filter,{}),e[28]=F):F=e[28];let U;e[29]===Symbol.for("react.memo_cache_sentinel")?(U={width:"100%"},e[29]=U):U=e[29];const z=s||o.state!=="idle"||f!=="idle"||h!=="idle";let H;e[30]!==P||e[31]!==N||e[32]!==z?(H=a.jsx(Ze,{"data-testid":"toolbar-button-filters",variant:"outlined",text:N,startIcon:F,onClick:P,sx:U,disabled:z}),e[30]=P,e[31]=N,e[32]=z,e[33]=H):H=e[33];let W;e[34]!==O||e[35]!==H?(W=a.jsx(Iv,{variant:"dot",invisible:O,children:H}),e[34]=O,e[35]=H,e[36]=W):W=e[36];let K;e[37]!==i?(K=i.formatMessage({id:"eir_rules.toolbar.import_rules"}),e[37]=i,e[38]=K):K=e[38];let q;e[39]===Symbol.for("react.memo_cache_sentinel")?(q=a.jsx(ge.Upload,{}),e[39]=q):q=e[39];let X;e[40]!==s||e[41]!==o||e[42]!==f||e[43]!==h?(X=s||o.state!=="idle"||f!=="idle"||h!=="idle"||!Ue(ie.provisioning),e[40]=s,e[41]=o,e[42]=f,e[43]=h,e[44]=X):X=e[44];let Q;e[45]!==k||e[46]!==K||e[47]!==X?(Q=a.jsx(Ze,{"data-testid":"toolbar-button-import-rules",variant:"outlined",text:K,startIcon:q,onClick:k,disabled:X}),e[45]=k,e[46]=K,e[47]=X,e[48]=Q):Q=e[48];let Y;e[49]!==i?(Y=i.formatMessage({id:"eir_rules.toolbar.new_rule"}),e[49]=i,e[50]=Y):Y=e[50];let Z;e[51]===Symbol.for("react.memo_cache_sentinel")?(Z=a.jsx(ge.Add,{}),e[51]=Z):Z=e[51];let re;e[52]!==s||e[53]!==o||e[54]!==f||e[55]!==h?(re=s||o.state!=="idle"||f!=="idle"||h!=="idle"||!Ue(ie.provisioning),e[52]=s,e[53]=o,e[54]=f,e[55]=h,e[56]=re):re=e[56];let fe;e[57]!==w||e[58]!==Y||e[59]!==re?(fe=a.jsx(Ze,{"data-testid":"toolbar-button-new-rule",text:Y,startIcon:Z,onClick:w,disabled:re}),e[57]=w,e[58]=Y,e[59]=re,e[60]=fe):fe=e[60];let de;return e[61]!==W||e[62]!==Q||e[63]!==fe||e[64]!==R?(de=a.jsxs(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:[R,W,Q,fe]}),e[61]=W,e[62]=Q,e[63]=fe,e[64]=R,e[65]=de):de=e[65],de};function mit(){return a.jsx(cit,{})}function hit(){return a.jsx(uit,{})}const git=()=>{const t=he.c(78),e=Ye(),{openConfirmDialog:r}=di(),n=Gr(),s=On(),i=gr(),{pageSize:o,pageSizeOptions:l,changePageSize:c,changePage:u,getRowsCount:d,getPage:f}=Na(),{dialogOpen:p}=Jt();let m;t[0]!==i||t[1]!==e||t[2]!==r?(m=async le=>{const{id:ee}=le;ee&&r({text:e.formatMessage({id:"eir_rules.actions.confirm_delete"}),onConfirm:()=>{i.submit({id:ee},{action:$.urls.eirRulesDelete_Action,method:"POST",encType:"application/json"})}})},t[0]=i,t[1]=e,t[2]=r,t[3]=m):m=t[3];const h=m;let _;t[4]!==e?(_=e.formatMessage({id:"eir_rules.table.header.pei"}),t[4]=e,t[5]=_):_=t[5];let g;t[6]!==_?(g={key:"pei",label:_},t[6]=_,t[7]=g):g=t[7];let y;t[8]!==e?(y=e.formatMessage({id:"eir_rules.table.header.supi"}),t[8]=e,t[9]=y):y=t[9];let b;t[10]!==y?(b={key:"supi",label:y,cellRender:_it},t[10]=y,t[11]=b):b=t[11];let x;t[12]!==e?(x=e.formatMessage({id:"eir_rules.table.header.status"}),t[12]=e,t[13]=x):x=t[13];let w;t[14]!==x?(w={key:"status",label:x},t[14]=x,t[15]=w):w=t[15];let C;t[16]!==e?(C=e.formatMessage({id:"eir_rules.table.header.enabled"}),t[16]=e,t[17]=C):C=t[17];let k;t[18]!==C?(k={key:"enabled",label:C},t[18]=C,t[19]=k):k=t[19];let A;t[20]!==e?(A=e.formatMessage({id:"eir_rules.table.header.created_at"}),t[20]=e,t[21]=A):A=t[21];let P;t[22]!==A?(P={key:"created_at",label:A},t[22]=A,t[23]=P):P=t[23];let T;t[24]!==e?(T=e.formatMessage({id:"eir_rules.table.header.modified_at"}),t[24]=e,t[25]=T):T=t[25];let j;t[26]!==T?(j={key:"modified_at",label:T},t[26]=T,t[27]=j):j=t[27];let R;t[28]!==e?(R=e.formatMessage({id:"eir_rules.table.header.autorule"}),t[28]=e,t[29]=R):R=t[29];let D;t[30]!==R?(D={key:"autorule",label:R,cellRender:vit,width:"80"},t[30]=R,t[31]=D):D=t[31];let O;t[32]!==P||t[33]!==j||t[34]!==D||t[35]!==g||t[36]!==b||t[37]!==w||t[38]!==k?(O=[g,b,w,k,P,j,D],t[32]=P,t[33]=j,t[34]=D,t[35]=g,t[36]=b,t[37]=w,t[38]=k,t[39]=O):O=t[39];const N=O;let F;t[40]===Symbol.for("react.memo_cache_sentinel")?(F=_l(ie.provisioning),t[40]=F):F=t[40];const U=s.state!=="idle"||i.state!=="idle";let z;t[41]!==p||t[42]!==e?(z=le=>{p({title:e.formatMessage({id:"eir_rules.edit_rule.title"}),content:()=>a.jsx(ait,{ruleId:le.id}),closeOnBackdropClick:!1})},t[41]=p,t[42]=e,t[43]=z):z=t[43];let H;t[44]!==U||t[45]!==z?(H={...F,disabled:U,onClick:z},t[44]=U,t[45]=z,t[46]=H):H=t[46];let W;t[47]!==e?(W=e.formatMessage({id:"eir_rules.actions.delete"}),t[47]=e,t[48]=W):W=t[48];let K;t[49]===Symbol.for("react.memo_cache_sentinel")?(K=a.jsx(ge.Trash,{}),t[49]=K):K=t[49];let q;t[50]!==i.state||t[51]!==s.state?(q=s.state!=="idle"||i.state!=="idle"||!Ue(ie.provisioning),t[50]=i.state,t[51]=s.state,t[52]=q):q=t[52];let X;t[53]!==h?(X=le=>void h(le),t[53]=h,t[54]=X):X=t[54];let Q;t[55]!==W||t[56]!==q||t[57]!==X?(Q={label:W,icon:K,disabled:q,onClick:X},t[55]=W,t[56]=q,t[57]=X,t[58]=Q):Q=t[58];let Y;t[59]!==H||t[60]!==Q?(Y=[H,Q],t[59]=H,t[60]=Q,t[61]=Y):Y=t[61];const Z=Y;let re;t[62]===Symbol.for("react.memo_cache_sentinel")?(re=a.jsx(te,{sx:{height:"100%"},children:a.jsx(Dt,{variant:"rounded",height:"100%"})}),t[62]=re):re=t[62];let fe;t[63]===Symbol.for("react.memo_cache_sentinel")?(fe=a.jsx(Tr,{}),t[63]=fe):fe=t[63];let de;t[64]!==u||t[65]!==c||t[66]!==N||t[67]!==n.equipmentConfiguration||t[68]!==i.state||t[69]!==f||t[70]!==d||t[71]!==o||t[72]!==l||t[73]!==Z?(de=le=>{const{data:ee,metadata:J}=le;return a.jsxs(a.Fragment,{children:[a.jsx(I.Suspense,{fallback:a.jsx(Dt,{variant:"rounded",height:"38px"}),children:a.jsx(Qt,{resolve:n.equipmentConfiguration,errorElement:a.jsx(Tr,{}),children:me=>a.jsx(hs,{children:a.jsx(pit,{configuration:me,isDisabled:i.state!=="idle"})})})}),a.jsx(Br,{autoScale:!0,loading:i.state!=="idle",orderBy:"pei",columns:N,data:ee,page:f(J),labelDisplayedRows:yit,rowsCount:d(J),rowsPerPage:o,onRowsPerPageChange:c,rowsPerPageOptions:l,rowKey:"id",rowActions:Z,stickyRowActions:!0,onPageChange:u(J)})]})},t[64]=u,t[65]=c,t[66]=N,t[67]=n.equipmentConfiguration,t[68]=i.state,t[69]=f,t[70]=d,t[71]=o,t[72]=l,t[73]=Z,t[74]=de):de=t[74];let se;return t[75]!==n.rules||t[76]!==de?(se=a.jsx(I.Suspense,{fallback:re,children:a.jsx(Qt,{resolve:n.rules,errorElement:fe,children:de})}),t[75]=n.rules,t[76]=de,t[77]=se):se=t[77],se};function _it(t){const{supi:e}=t;return e?a.jsx(_e,{type:"body2",children:e}):a.jsx(_e,{children:"*"})}function vit(t){const{autorule:e}=t;return e?a.jsx(_e,{align:"center",children:a.jsx(ge.Magic,{})}):a.jsx(a.Fragment,{})}function yit(){return""}const bit=async({status:t,enabled:e,autorule:r,supi:n,pei:s,pageSize:i,paginationToken:o})=>{const l=new URLSearchParams({...i&&{max_results:i},...s&&{pei_icont:s},...n&&n!=="*"&&{supi_icont:n},...t&&J0.includes(t)&&{status_eq:t},...e==="true"&&{enabled_true:"true"},...e==="false"&&{enabled_false:"false"},...r==="true"&&{autorule_true:"true"},...r==="false"&&{autorule_false:"false"},...o&&{pagination_token:o}}),c=`${$.apis.eir.rules}?${l}`;return De({options:{url:c,method:"GET",cache:!1}})};async function xit({id:t}){const e=`${$.apis.eir.rules}/${encodeURIComponent(t)}`;return De({options:{url:e,method:"GET"}})}const Sit=async t=>{const e=$.apis.eir.rules;return De({options:{url:e,method:"POST",data:JSON.stringify(t),cache:!1}})},wit=async({id:t,...e})=>{const r=`${$.apis.eir.rules}/${t}`;return De({options:{url:r,method:"PATCH",data:JSON.stringify(e),cache:!1}})},Cit=async t=>{const e=`${$.apis.eir.rules}/${t}`;return De({options:{url:e,method:"DELETE",cache:!1}})},Ait=async t=>{const e=$.apis.eir.rules;return De({options:{url:e,method:"PATCH",headers:{"content-type":"multipart/form-data"},data:t,cache:!1}})},kit=async()=>{const t=`${$.apis.eir.equipmentRuleConfiguration}`;return De({options:{url:t,method:"GET",cache:!1}})},Mit=async t=>{const e=`${$.apis.eir.equipmentRuleConfiguration}`;return De({options:{url:e,method:"PUT",data:JSON.stringify(t)}})},Pit=async({pageSize:t=$.pageSize,paginationToken:e}={pageSize:$.pageSize})=>{let r=`${$.apis.eir.autorules}?max_results=${t}`;return e&&(r+=`&pagination_token=${e}`),De({options:{url:r,method:"GET",cache:!1}})},jit=async t=>{const e=$.apis.eir.autorules;return De({options:{url:e,method:"POST",data:JSON.stringify(t),cache:!1}})},Tit=async t=>{const e=`${$.apis.eir.autorules}/${t}`;return De({options:{url:e,method:"DELETE",cache:!1}})},Eit=async t=>{const e=$.apis.eir.autorules;return De({options:{url:e,method:"PATCH",headers:{"content-type":"multipart/form-data"},data:t,cache:!1}})};async function Rit({request:t}){const e=await t.json(),r=await Sit(e);return xt(r)?Ar():Nt(),Ft(r)}async function Iit({request:t}){const e=await t.json(),r=await wit(e);return xt(r)?Ar():Nt(),Ft(r)}async function Dit({request:t}){const{id:e}=await t.json(),r=await Cit(e);return xt(r)?Ar():Nt(),Ft(r)}async function $it({request:t}){const e=await t.formData(),r=await Ait(e);return xt(r)?Ar():Nt(),Ft(r)}async function Oit({request:t}){const e=await t.json(),r=await Mit(e);return xt(r)?Ar():Nt(),Ft(r)}async function Lit({request:t}){const e=await t.json(),r=await jit(e);return xt(r)?Ar():Nt(),Ft(r)}async function Nit({request:t}){const{supi:e}=await t.json(),r=await Tit(e);return xt(r)?Ar():Nt(),Ft(r)}async function Fit({request:t}){const e=await t.formData(),r=await Eit(e);return xt(r)?Ar():Nt(),Ft(r)}async function Uit(t){const e=new URL(t.request.url),r=e.searchParams.get("pei"),n=e.searchParams.get("supi"),s=e.searchParams.get("status"),i=e.searchParams.get("enabled"),o=e.searchParams.get("autorule"),{pageSize:l,paginationToken:c}=Fa(t);return s&&!J0.includes(s)?(e.searchParams.delete("status"),rt(e.href)):i&&!["true","false"].includes(i)?(e.searchParams.delete("enabled"),rt(e.href)):o&&!["true","false"].includes(o)?(e.searchParams.delete("autorule"),rt(e.href)):Wt({loaderArgs:t,deferred:!0,data:{rules:bit({pageSize:l,paginationToken:c,pei:r,supi:n,status:s,enabled:i,autorule:o}),equipmentConfiguration:kit()}})}async function Bit(t){const{id:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{eirRule:xit({id:e})}}):null}async function zit(t){const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{autorules:Pit({pageSize:e,paginationToken:r})}})}const qit=Pr(),Vit={path:"eir",handle:vr({labelIntl:"route.eir",icon:a.jsx(ge.EIR,{})}),children:[{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.EIR,{dbCluster:!0})]},{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{path:"status",handle:vr({labelIntl:"route.eir.status",to:"/eir/status"}),element:a.jsx(Ao,{tabs:[{url:"diameter",label:qit.formatMessage({id:"route.diameter"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"diameter",replace:!0})},qp({path:"diameter",nf:ue.EIR})]},io(ue.EIR),{path:"rules",handle:vr({labelIntl:"route.eir.rules",to:"/eir/rules"}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:Uit,element:a.jsx(git,{})},{path:":id",loader:Bit,element:a.jsx(ur,{to:"/eir/rules",replace:!0})},{action:Rit,path:"create",loader:()=>rt("..")},{action:Iit,path:"update",loader:()=>rt("..")},{action:Dit,path:"delete",loader:()=>rt("..")},{action:$it,path:"create-bulk",loader:()=>rt("..")},{action:Oit,path:"equipment-configuration-set",loader:()=>rt("..")}]},{path:"auto-rules",handle:vr({labelIntl:"route.eir.auto-rules",to:"/eir/auto-rules"}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:zit,element:a.jsx(rit,{})},{action:Lit,path:"create",loader:()=>rt("..")},{action:Nit,path:"delete",loader:()=>rt("..")},{action:Fit,path:"create-bulk",loader:()=>rt("..")}]}]}]};function Aue(t){const e=he.c(6),{value:r,language:n}=t,s=ci();let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i={p:1,flex:"1 1 auto",width:"100%",border:"1px solid",borderColor:"grey.400",borderRadius:1},e[0]=i):i=e[0];const o=s.palette.mode==="light"?"light":"vs-dark";let l;e[1]===Symbol.for("react.memo_cache_sentinel")?(l={automaticLayout:!0,autoClosingBrackets:"always",autoClosingQuotes:"always",autoIndent:"full",formatOnPaste:!0,formatOnType:!0,detectIndentation:!0,readOnly:!0},e[1]=l):l=e[1];let c;return e[2]!==n||e[3]!==o||e[4]!==r?(c=a.jsx(te,{fullHeight:!0,fullWidth:!0,nowrap:!0,spacing:.5,children:a.jsx(gt,{sx:i,children:a.jsx(SL,{value:r,language:n,theme:o,options:l})})}),e[2]=n,e[3]=o,e[4]=r,e[5]=c):c=e[5],c}function Hit(t){const e=he.c(22),{domain:r}=t,n=Ye(),{dialogClose:s}=Jt();let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i={to:"mme/status/dns/cache"},e[0]=i):i=e[0];const{data:o}=Dv(i);o?.cache;let l;e[1]!==o?.cache||e[2]!==r?(l=o?.cache.find(g=>g.query?.domain===r),e[1]=o?.cache,e[2]=r,e[3]=l):l=e[3];const c=l;let u;e[4]!==c?(u=c&&a.jsx(Aue,{value:JSON.stringify(c??null,null,2),language:"json"}),e[4]=c,e[5]=u):u=e[5];let d;e[6]!==c||e[7]!==n?(d=!c&&a.jsx(Lr,{severity:"warning",message:n.formatMessage({id:"mme.dns.status.cache.no_data"})}),e[6]=c,e[7]=n,e[8]=d):d=e[8];let f;e[9]!==u||e[10]!==d?(f=a.jsx(_s,{children:a.jsxs(te,{fullHeight:!0,align:"center",justify:"center",children:[u,d]})}),e[9]=u,e[10]=d,e[11]=f):f=e[11];let p;e[12]!==n?(p=n.formatMessage({id:"info_dialog.close"}),e[12]=n,e[13]=p):p=e[13];let m;e[14]!==s?(m=()=>{s()},e[14]=s,e[15]=m):m=e[15];let h;e[16]!==p||e[17]!==m?(h=a.jsx(Ti,{children:a.jsx(Ze,{text:p,onClick:m})}),e[16]=p,e[17]=m,e[18]=h):h=e[18];let _;return e[19]!==f||e[20]!==h?(_=a.jsxs(a.Fragment,{children:[f,h]}),e[19]=f,e[20]=h,e[21]=_):_=e[21],_}function Git(){const t=he.c(35),e=Ye(),{dialogOpen:r}=Jt(),n=Gr(),s=On(),i=gl();let o;t[0]!==i?(o=async()=>{i({},{method:"POST",encType:"application/json",action:"flush"})},t[0]=i,t[1]=o):o=t[1];const l=o;let c;t[2]!==e?(c=e.formatMessage({id:"mme.dns.status.cache.query.domain"}),t[2]=e,t[3]=c):c=t[3];let u;t[4]!==c?(u={key:"query.domain",label:c,cellRender:Kit},t[4]=c,t[5]=u):u=t[5];let d;t[6]!==e?(d=e.formatMessage({id:"mme.dns.status.cache.query.type"}),t[6]=e,t[7]=d):d=t[7];let f;t[8]!==d?(f={key:"query.type",label:d,cellRender:Yit},t[8]=d,t[9]=f):f=t[9];let p;t[10]!==e?(p=e.formatMessage({id:"mme.dns.status.cache.expiration"}),t[10]=e,t[11]=p):p=t[11];let m;t[12]!==e?(m=A=>{const{expired:P,expires_s:T}=A;return a.jsx(a.Fragment,{children:P?a.jsx(bi,{label:e.formatMessage({id:"mme.dns.status.cache.expired"}),status:nn.ERROR}):T&&a.jsx(_e,{type:"body2",children:Mr(T)})})},t[12]=e,t[13]=m):m=t[13];let h;t[14]!==p||t[15]!==m?(h={key:"expires",label:p,cellRender:m},t[14]=p,t[15]=m,t[16]=h):h=t[16];let _;t[17]!==u||t[18]!==f||t[19]!==h?(_=[u,f,h],t[17]=u,t[18]=f,t[19]=h,t[20]=_):_=t[20];const g=_;let y;t[21]!==r||t[22]!==e?(y=A=>[{label:e.formatMessage({id:"mme.dns.status.cache.details"}),icon:a.jsx(ge.Details,{}),disabled:Wit,onClick:P=>{const{query:T}=P,j=A.find(R=>R.query?.domain===T?.domain);r({fullScreen:!0,title:`${j?j.query?.domain:""}`,content:()=>a.jsx(Hit,{domain:T?.domain})})}}],t[21]=r,t[22]=e,t[23]=y):y=t[23];const b=y;let x;t[24]===Symbol.for("react.memo_cache_sentinel")?(x=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[24]=x):x=t[24];let w;t[25]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(en,{}),t[25]=w):w=t[25];let C;t[26]!==g||t[27]!==l||t[28]!==e||t[29]!==s.state||t[30]!==b?(C=A=>a.jsx(a.Fragment,{children:a.jsx(Br,{autoScale:!0,data:A||[],orderBy:"query",page:0,loading:s.state!=="idle",rowsCount:A?.length,rowsPerPage:A?.length,rowKey:"query",columns:g,hidePagination:!0,rowActions:b(A),stickyRowActions:!0,customFooterComponent:a.jsx(gt,{sx:{px:1},children:a.jsx(Ze,{startIcon:a.jsx(ge.Clear,{}),disabled:s.state==="loading"||!Ue(ie.monitoring),loading:s.state==="submitting",variant:"outlined",onClick:()=>void l(),text:e.formatMessage({id:"mme.dns.status.cache.actions.flush_cache"})})})})}),t[26]=g,t[27]=l,t[28]=e,t[29]=s.state,t[30]=b,t[31]=C):C=t[31];let k;return t[32]!==n.dnsCache||t[33]!==C?(k=a.jsx(I.Suspense,{fallback:x,children:a.jsx(Qt,{resolve:n.dnsCache,errorElement:w,children:C})}),t[32]=n.dnsCache,t[33]=C,t[34]=k):k=t[34],k}function Wit(){return!Ue(ie.monitoring)}function Yit(t){const{query:e}=t;return a.jsx(_e,{type:"body2",children:e?.type&&e.type.toUpperCase()})}function Kit(t){const{query:e}=t;return a.jsx(_e,{type:"body2",children:e?.domain})}const Qit=WIe("table",{shouldForwardProp:t=>t!=="showBorder"})(({theme:t})=>({borderSpacing:0,borderCollapse:"collapse","td, th":{borderBottom:`1px solid ${t.palette.divider}`},"tr:last-child td":{borderBottom:"none"}}));function Zit(t){const e=he.c(27),{columns:r,data:n,title:s}=t;let i;e[0]!==r.length?(i=_=>_===0?"left":_===r.length-1?"right":"center",e[0]=r.length,e[1]=i):i=e[1];const o=i;let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l={width:"max-content"},e[2]=l):l=e[2];let c;e[3]!==s?(c=s&&a.jsx(_e,{align:"center",fontSize:"small",fontWeight:"600",children:s}),e[3]=s,e[4]=c):c=e[4];let u;if(e[5]!==r||e[6]!==o){let _;e[8]!==o?(_=(g,y)=>{const{label:b}=g;return a.jsx("th",{children:a.jsx(_e,{align:o(y),fontSize:"small",fontWeight:600,children:b})},y)},e[8]=o,e[9]=_):_=e[9],u=r.map(_),e[5]=r,e[6]=o,e[7]=u}else u=e[7];let d;e[10]!==u?(d=a.jsx("thead",{children:a.jsx("tr",{children:u})}),e[10]=u,e[11]=d):d=e[11];let f;if(e[12]!==r||e[13]!==n||e[14]!==o){let _;e[16]!==r||e[17]!==o?(_=(g,y)=>a.jsx("tr",{children:r.map((b,x)=>{const{key:w}=b;return a.jsx("td",{children:a.jsx(_e,{align:o(x),fontSize:"small",children:`${g[w]}`})},x)})},y),e[16]=r,e[17]=o,e[18]=_):_=e[18],f=n.map(_),e[12]=r,e[13]=n,e[14]=o,e[15]=f}else f=e[15];let p;e[19]!==f?(p=a.jsx("tbody",{children:f}),e[19]=f,e[20]=p):p=e[20];let m;e[21]!==d||e[22]!==p?(m=a.jsxs(Qit,{children:[d,p]}),e[21]=d,e[22]=p,e[23]=m):m=e[23];let h;return e[24]!==c||e[25]!==m?(h=a.jsxs(te,{spacing:0,sx:l,children:[c,m]}),e[24]=c,e[25]=m,e[26]=h):h=e[26],h}function Xit(t){const e=he.c(17),{data:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"mme.m3.status.connections.m3_sessions.cl.id"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==s?(i={key:"mce_id",label:s},e[2]=s,e[3]=i):i=e[3];let o;e[4]!==n?(o=n.formatMessage({id:"mme.m3.status.connections.m3_sessions.cl.plmn"}),e[4]=n,e[5]=o):o=e[5];let l;e[6]!==o?(l={key:"plmn",label:o},e[6]=o,e[7]=l):l=e[7];let c;e[8]!==i||e[9]!==l?(c=[i,l],e[8]=i,e[9]=l,e[10]=c):c=e[10];const u=c;let d;e[11]!==n?(d=n.formatMessage({id:"mme.m3.status.connections.m3_sessions.cl"}),e[11]=n,e[12]=d):d=e[12];let f;return e[13]!==u||e[14]!==r||e[15]!==d?(f=a.jsx(Zit,{columns:u,data:r,title:d}),e[13]=u,e[14]=r,e[15]=d,e[16]=f):f=e[16],f}function Jit(t){const e=he.c(40),{row:r}=t,n=Ye();let s;e[0]!==n||e[1]!==r.id?(s=r.id&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.id"})}),a.jsx(_e,{fontSize:"small",children:r.id})]}),e[0]=n,e[1]=r.id,e[2]=s):s=e[2];let i;e[3]!==n||e[4]!==r.mce_name?(i=r.mce_name&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.mce_name"})}),a.jsx(_e,{fontSize:"small",children:r.mce_name})]}),e[3]=n,e[4]=r.mce_name,e[5]=i):i=e[5];let o;e[6]!==n||e[7]!==r.service_areas?(o=r.service_areas&&r.service_areas.length&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.service_areas"})}),r.service_areas.map(tot)]}),e[6]=n,e[7]=r.service_areas,e[8]=o):o=e[8];let l;e[9]!==n||e[10]!==r.global_mce_id?(l=r.global_mce_id?.mce_id&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.global_mce_id.id"})}),a.jsx(_e,{fontSize:"small",children:r.global_mce_id.mce_id})]}),e[9]=n,e[10]=r.global_mce_id,e[11]=l):l=e[11];let c;e[12]!==n||e[13]!==r.global_mce_id?(c=r.global_mce_id?.plmn&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.global_mce_id.plmn"})}),a.jsx(_e,{fontSize:"small",children:r.global_mce_id.plmn})]}),e[12]=n,e[13]=r.global_mce_id,e[14]=c):c=e[14];let u;e[15]!==n||e[16]!==r.m3_sessions?(u=r.m3_sessions?.tmgi&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.m3_sessions.tmgi"})}),a.jsx(_e,{fontSize:"small",children:r.m3_sessions.tmgi})]}),e[15]=n,e[16]=r.m3_sessions,e[17]=u):u=e[17];let d;e[18]!==n||e[19]!==r.m3_sessions?(d=r.m3_sessions?.flow!==void 0&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.m3_sessions.flow"})}),a.jsx(_e,{fontSize:"small",children:r.m3_sessions.flow})]}),e[18]=n,e[19]=r.m3_sessions,e[20]=d):d=e[20];let f;e[21]!==n||e[22]!==r.m3_sessions?(f=r.m3_sessions?.sas&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.m3_sessions.sas"})}),r.m3_sessions.sas.map(eot)]}),e[21]=n,e[22]=r.m3_sessions,e[23]=f):f=e[23];let p;e[24]!==r.m3_sessions?(p=r.m3_sessions?.cl&&a.jsx(Is,{size:{xs:6,sm:4,md:3,lg:2},children:a.jsx(Xit,{data:r.m3_sessions.cl})}),e[24]=r.m3_sessions,e[25]=p):p=e[25];let m;e[26]!==n||e[27]!==r.m3_sessions_count?(m=r.m3_sessions_count&&a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:"mme.m3.status.connections.m3_sessions_count"})}),a.jsx(_e,{fontSize:"small",children:r.m3_sessions_count})]}),e[26]=n,e[27]=r.m3_sessions_count,e[28]=m):m=e[28];let h;return e[29]!==s||e[30]!==m||e[31]!==i||e[32]!==o||e[33]!==l||e[34]!==c||e[35]!==u||e[36]!==d||e[37]!==f||e[38]!==p?(h=a.jsxs(al,{children:[s,i,o,l,c,u,d,f,p,m]}),e[29]=s,e[30]=m,e[31]=i,e[32]=o,e[33]=l,e[34]=c,e[35]=u,e[36]=d,e[37]=f,e[38]=p,e[39]=h):h=e[39],h}function eot(t,e){return a.jsx(_e,{fontSize:"small",children:t},e)}function tot(t,e){return a.jsx(_e,{fontSize:"small",children:t},e)}function rot(){const t=he.c(42),e=Ye(),r=Gr();let n;t[0]!==e?(n=e.formatMessage({id:"mme.m3.status.connections.connection_id"}),t[0]=e,t[1]=n):n=t[1];let s;t[2]!==n?(s={key:"connection_id",label:n},t[2]=n,t[3]=s):s=t[3];let i;t[4]!==e?(i=e.formatMessage({id:"mme.m3.status.connections.local_addrs"}),t[4]=e,t[5]=i):i=t[5];let o;t[6]!==i?(o={key:"local_addrs",label:i,cellRender:oot},t[6]=i,t[7]=o):o=t[7];let l;t[8]!==e?(l=e.formatMessage({id:"mme.m3.status.connections.local_port"}),t[8]=e,t[9]=l):l=t[9];let c;t[10]!==l?(c={key:"local_port",label:l},t[10]=l,t[11]=c):c=t[11];let u;t[12]!==e?(u=e.formatMessage({id:"mme.m3.status.connections.remote_addrs"}),t[12]=e,t[13]=u):u=t[13];let d;t[14]!==u?(d={key:"remote_addrs",label:u,cellRender:sot},t[14]=u,t[15]=d):d=t[15];let f;t[16]!==e?(f=e.formatMessage({id:"mme.m3.status.connections.remote_port"}),t[16]=e,t[17]=f):f=t[17];let p;t[18]!==f?(p={key:"remote_port",label:f},t[18]=f,t[19]=p):p=t[19];let m;t[20]!==e?(m=e.formatMessage({id:"mme.m3.status.connections.transport_name"}),t[20]=e,t[21]=m):m=t[21];let h;t[22]!==m?(h={key:"transport_name",label:m},t[22]=m,t[23]=h):h=t[23];let _;t[24]!==e?(_=e.formatMessage({id:"mme.m3.status.connections.connection_ts"}),t[24]=e,t[25]=_):_=t[25];let g;t[26]!==_?(g={key:"connection_ts",label:_},t[26]=_,t[27]=g):g=t[27];let y;t[28]!==s||t[29]!==h||t[30]!==g||t[31]!==o||t[32]!==c||t[33]!==d||t[34]!==p?(y=[s,o,c,d,p,h,g],t[28]=s,t[29]=h,t[30]=g,t[31]=o,t[32]=c,t[33]=d,t[34]=p,t[35]=y):y=t[35];const b=y;let x;t[36]===Symbol.for("react.memo_cache_sentinel")?(x=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[36]=x):x=t[36];let w;t[37]!==b?(w=k=>a.jsx(Br,{autoScale:!0,data:k||[],orderBy:"connection_id",page:0,rowsCount:k?.length,rowsPerPage:k?.length,rowKey:"connection_id",columns:b,hidePagination:!0,rowDetail:{content:not}}),t[37]=b,t[38]=w):w=t[38];let C;return t[39]!==r.connections||t[40]!==w?(C=a.jsx(I.Suspense,{fallback:x,children:a.jsx(Qt,{resolve:r.connections,children:w})}),t[39]=r.connections,t[40]=w,t[41]=C):C=t[41],C}function not(t){return a.jsx(Jit,{row:t})}function sot(t){const{remote_addrs:e}=t,r=e.map(iot);return a.jsx(ks,{size:"small",items:r})}function iot(t){return{label:`${t}`,id:`${t}`}}function oot(t){const{local_addrs:e}=t,r=e.map(aot);return a.jsx(ks,{size:"small",items:r})}function aot(t){return{label:`${t}`,id:`${t}`}}function lot(){const t=he.c(88),e=Ye(),r=Gr(),n=gl(),s=On();let i;t[0]!==n?(i=async ee=>{n({enbId:ee},{method:"POST",encType:"application/json",action:"disconnect"})},t[0]=n,t[1]=i):i=t[1];const o=i;let l;t[2]!==n?(l=async ee=>{n({enbId:ee},{method:"POST",encType:"application/json",action:"reset"})},t[2]=n,t[3]=l):l=t[3];const c=l;let u;t[4]!==e?(u=e.formatMessage({id:"mme.s1ap.status.connections.local_addrs"}),t[4]=e,t[5]=u):u=t[5];let d;t[6]!==u?(d={key:"local_addrs",label:u,cellRender:_ot},t[6]=u,t[7]=d):d=t[7];let f;t[8]!==e?(f=e.formatMessage({id:"mme.s1ap.status.connections.local_port"}),t[8]=e,t[9]=f):f=t[9];let p;t[10]!==f?(p={key:"local_port",label:f},t[10]=f,t[11]=p):p=t[11];let m;t[12]!==e?(m=e.formatMessage({id:"mme.s1ap.status.connections.remote_addrs"}),t[12]=e,t[13]=m):m=t[13];let h;t[14]!==m?(h={key:"remote_addrs",label:m,cellRender:hot},t[14]=m,t[15]=h):h=t[15];let _;t[16]!==e?(_=e.formatMessage({id:"mme.s1ap.status.connections.remote_port"}),t[16]=e,t[17]=_):_=t[17];let g;t[18]!==_?(g={key:"remote_port",label:_},t[18]=_,t[19]=g):g=t[19];let y;t[20]!==e?(y=e.formatMessage({id:"mme.s1ap.status.connections.enb_name"}),t[20]=e,t[21]=y):y=t[21];let b;t[22]!==y?(b={key:"enb_name",label:y},t[22]=y,t[23]=b):b=t[23];let x;t[24]!==e?(x=e.formatMessage({id:"mme.s1ap.status.connections.transport_name"}),t[24]=e,t[25]=x):x=t[25];let w;t[26]!==x?(w={key:"transport_name",label:x},t[26]=x,t[27]=w):w=t[27];let C;t[28]!==e?(C=e.formatMessage({id:"mme.s1ap.status.connections.srb_count"}),t[28]=e,t[29]=C):C=t[29];let k;t[30]!==C?(k={key:"srb_count",label:C},t[30]=C,t[31]=k):k=t[31];let A;t[32]!==e?(A=e.formatMessage({id:"mme.s1ap.status.connections.connection_ts"}),t[32]=e,t[33]=A):A=t[33];let P;t[34]!==A?(P={key:"connection_ts",label:A,cellRender:mot},t[34]=A,t[35]=P):P=t[35];let T;t[36]!==e?(T=e.formatMessage({id:"mme.s1ap.status.connections.connection_id"}),t[36]=e,t[37]=T):T=t[37];let j;t[38]!==T?(j={key:"connection_id",label:T},t[38]=T,t[39]=j):j=t[39];let R;t[40]!==e?(R=e.formatMessage({id:"mme.s1ap.status.connections.global_enb_id"}),t[40]=e,t[41]=R):R=t[41];let D;t[42]!==R?(D={key:"global_enb_id",label:R,cellRender:pot},t[42]=R,t[43]=D):D=t[43];let O;t[44]!==e?(O=e.formatMessage({id:"mme.s1ap.status.connections.tai"}),t[44]=e,t[45]=O):O=t[45];let N;t[46]!==O?(N={key:"tai",label:O,cellRender:dot},t[46]=O,t[47]=N):N=t[47];let F;t[48]!==b||t[49]!==w||t[50]!==k||t[51]!==P||t[52]!==j||t[53]!==D||t[54]!==N||t[55]!==d||t[56]!==p||t[57]!==h||t[58]!==g?(F=[d,p,h,g,b,w,k,P,j,D,N],t[48]=b,t[49]=w,t[50]=k,t[51]=P,t[52]=j,t[53]=D,t[54]=N,t[55]=d,t[56]=p,t[57]=h,t[58]=g,t[59]=F):F=t[59];const U=F;let z;t[60]!==e?(z=e.formatMessage({id:"mme.s1ap.status.connections.actions.disconnect"}),t[60]=e,t[61]=z):z=t[61];let H;t[62]===Symbol.for("react.memo_cache_sentinel")?(H=a.jsx(ge.Disconnect,{}),t[62]=H):H=t[62];let W;t[63]!==o?(W=async ee=>{const{id:J}=ee;J&&o(J)},t[63]=o,t[64]=W):W=t[64];let K;t[65]!==z||t[66]!==W?(K={label:z,icon:H,disabled:uot,onClick:W},t[65]=z,t[66]=W,t[67]=K):K=t[67];let q;t[68]!==e?(q=e.formatMessage({id:"mme.s1ap.status.connections.actions.reset"}),t[68]=e,t[69]=q):q=t[69];let X;t[70]===Symbol.for("react.memo_cache_sentinel")?(X=a.jsx(ge.Refresh,{}),t[70]=X):X=t[70];let Q;t[71]!==c?(Q=async ee=>{const{id:J}=ee;J&&c(J)},t[71]=c,t[72]=Q):Q=t[72];let Y;t[73]!==q||t[74]!==Q?(Y={label:q,icon:X,disabled:cot,onClick:Q},t[73]=q,t[74]=Q,t[75]=Y):Y=t[75];let Z;t[76]!==K||t[77]!==Y?(Z=[K,Y],t[76]=K,t[77]=Y,t[78]=Z):Z=t[78];const re=Z;let fe;t[79]===Symbol.for("react.memo_cache_sentinel")?(fe=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[79]=fe):fe=t[79];let de;t[80]===Symbol.for("react.memo_cache_sentinel")?(de=a.jsx(en,{}),t[80]=de):de=t[80];let se;t[81]!==U||t[82]!==s.state||t[83]!==re?(se=ee=>a.jsx(Br,{autoScale:!0,data:ee||[],orderBy:"id",page:0,loading:s.state!=="idle",rowsCount:ee?.length,rowsPerPage:ee?.length,rowKey:"id",columns:U,hidePagination:!0,rowActions:re,stickyRowActions:!0}),t[81]=U,t[82]=s.state,t[83]=re,t[84]=se):se=t[84];let le;return t[85]!==r.connections||t[86]!==se?(le=a.jsx(I.Suspense,{fallback:fe,children:a.jsx(Qt,{resolve:r.connections,errorElement:de,children:se})}),t[85]=r.connections,t[86]=se,t[87]=le):le=t[87],le}function cot(){return!Ue(ie.monitoring)}function uot(){return!Ue(ie.monitoring)}function dot(t){const{tai:e}=t;return a.jsx(ks,{size:"small",items:e?.map(fot)||[]})}function fot(t){return{label:`${t.tac} | ${t.plmn} (${t.rat})`,id:`${t.tac}-${t.plmn}-${t.rat}`}}function pot(t){const{global_enb_id:e}=t;return e?a.jsx(_e,{type:"body2",children:`${e.id} | ${e.plmn} (${e.type})`}):a.jsx(a.Fragment,{})}function mot(t){const{connection_ts:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function hot(t){const{remote_addrs:e}=t;return a.jsx(ks,{size:"small",items:e?.map(got)||[]})}function got(t){return{label:`${t}`,id:`${t}`}}function _ot(t){const{local_addrs:e}=t;return a.jsx(ks,{size:"small",items:e?.map(vot)||[]})}function vot(t){return{label:`${t}`,id:`${t}`}}function yot(){const t=he.c(29),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"mme.s1ap.status.listeners.transport_name"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"transport_name",label:s},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"mme.s1ap.status.listeners.local_addrs"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"local_addrs",label:o,cellRender:bot},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==e?(c=e.formatMessage({id:"mme.s1ap.status.listeners.local_port"}),t[8]=e,t[9]=c):c=t[9];let u;t[10]!==c?(u={key:"local_port",label:c},t[10]=c,t[11]=u):u=t[11];let d;t[12]!==e?(d=e.formatMessage({id:"mme.s1ap.status.listeners.dev"}),t[12]=e,t[13]=d):d=t[13];let f;t[14]!==d?(f={key:"dev",label:d},t[14]=d,t[15]=f):f=t[15];let p;t[16]!==i||t[17]!==l||t[18]!==u||t[19]!==f?(p=[i,l,u,f],t[16]=i,t[17]=l,t[18]=u,t[19]=f,t[20]=p):p=t[20];const m=p;let h;t[21]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[21]=h):h=t[21];let _;t[22]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(en,{}),t[22]=_):_=t[22];let g;t[23]!==m||t[24]!==n.state?(g=b=>a.jsx(Br,{autoScale:!0,data:b||[],orderBy:"transport_name",page:0,loading:n.state!=="idle",rowsCount:b?.length,rowsPerPage:b?.length,rowKey:"transport_name",columns:m,hidePagination:!0}),t[23]=m,t[24]=n.state,t[25]=g):g=t[25];let y;return t[26]!==r.listeners||t[27]!==g?(y=a.jsx(I.Suspense,{fallback:h,children:a.jsx(Qt,{resolve:r.listeners,errorElement:_,children:g})}),t[26]=r.listeners,t[27]=g,t[28]=y):y=t[28],y}function bot(t){const{local_addrs:e}=t;return a.jsx(ks,{size:"small",items:e?.map(xot)||[]})}function xot(t){return{label:`${t}`,id:`${t}`}}function Sot(){const t=he.c(44),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"mme.sbcap.status.connections.local_addrs"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"local_addrs",label:s,cellRender:kot},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"mme.sbcap.status.connections.local_port"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"local_port",label:o},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==e?(c=e.formatMessage({id:"mme.sbcap.status.connections.remote_addrs"}),t[8]=e,t[9]=c):c=t[9];let u;t[10]!==c?(u={key:"remote_addrs",label:c,cellRender:Cot},t[10]=c,t[11]=u):u=t[11];let d;t[12]!==e?(d=e.formatMessage({id:"mme.sbcap.status.connections.remote_port"}),t[12]=e,t[13]=d):d=t[13];let f;t[14]!==d?(f={key:"remote_port",label:d},t[14]=d,t[15]=f):f=t[15];let p;t[16]!==e?(p=e.formatMessage({id:"mme.sbcap.status.connections.transport_name"}),t[16]=e,t[17]=p):p=t[17];let m;t[18]!==p?(m={key:"transport_name",label:p},t[18]=p,t[19]=m):m=t[19];let h;t[20]!==e?(h=e.formatMessage({id:"mme.sbcap.status.connections.connection_ts"}),t[20]=e,t[21]=h):h=t[21];let _;t[22]!==h?(_={key:"connection_ts",label:h,cellRender:wot},t[22]=h,t[23]=_):_=t[23];let g;t[24]!==e?(g=e.formatMessage({id:"mme.sbcap.status.connections.connection_id"}),t[24]=e,t[25]=g):g=t[25];let y;t[26]!==g?(y={key:"connection_id",label:g},t[26]=g,t[27]=y):y=t[27];let b;t[28]!==i||t[29]!==_||t[30]!==y||t[31]!==l||t[32]!==u||t[33]!==f||t[34]!==m?(b=[i,l,u,f,m,_,y],t[28]=i,t[29]=_,t[30]=y,t[31]=l,t[32]=u,t[33]=f,t[34]=m,t[35]=b):b=t[35];const x=b;let w;t[36]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[36]=w):w=t[36];let C;t[37]===Symbol.for("react.memo_cache_sentinel")?(C=a.jsx(en,{}),t[37]=C):C=t[37];let k;t[38]!==x||t[39]!==n.state?(k=P=>a.jsx(Br,{autoScale:!0,data:P||[],orderBy:"connection_id",page:0,loading:n.state!=="idle",rowsCount:P?.length,rowsPerPage:P?.length,rowKey:"connection_id",columns:x,hidePagination:!0,stickyRowActions:!0}),t[38]=x,t[39]=n.state,t[40]=k):k=t[40];let A;return t[41]!==r.connections||t[42]!==k?(A=a.jsx(I.Suspense,{fallback:w,children:a.jsx(Qt,{resolve:r.connections,errorElement:C,children:k})}),t[41]=r.connections,t[42]=k,t[43]=A):A=t[43],A}function wot(t){const{connection_ts:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function Cot(t){const{remote_addrs:e}=t;return a.jsx(ks,{size:"small",items:e?.map(Aot)||[]})}function Aot(t){return{label:`${t}`,id:`${t}`}}function kot(t){const{local_addrs:e}=t;return a.jsx(ks,{size:"small",items:e?.map(Mot)||[]})}function Mot(t){return{label:`${t}`,id:`${t}`}}function Pot(){const t=he.c(29),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"mme.sbcap.status.listeners.transport_name"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"transport_name",label:s},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"mme.sbcap.status.listeners.local_addrs"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"local_addrs",label:o,cellRender:jot},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==e?(c=e.formatMessage({id:"mme.sbcap.status.listeners.local_port"}),t[8]=e,t[9]=c):c=t[9];let u;t[10]!==c?(u={key:"local_port",label:c},t[10]=c,t[11]=u):u=t[11];let d;t[12]!==e?(d=e.formatMessage({id:"mme.sbcap.status.listeners.dev"}),t[12]=e,t[13]=d):d=t[13];let f;t[14]!==d?(f={key:"dev",label:d},t[14]=d,t[15]=f):f=t[15];let p;t[16]!==i||t[17]!==l||t[18]!==u||t[19]!==f?(p=[i,l,u,f],t[16]=i,t[17]=l,t[18]=u,t[19]=f,t[20]=p):p=t[20];const m=p;let h;t[21]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[21]=h):h=t[21];let _;t[22]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(en,{}),t[22]=_):_=t[22];let g;t[23]!==m||t[24]!==n.state?(g=b=>a.jsx(Br,{autoScale:!0,data:b||[],orderBy:"transport_name",page:0,loading:n.state!=="idle",rowsCount:b?.length,rowsPerPage:b?.length,rowKey:"transport_name",columns:m,hidePagination:!0}),t[23]=m,t[24]=n.state,t[25]=g):g=t[25];let y;return t[26]!==r.listeners||t[27]!==g?(y=a.jsx(I.Suspense,{fallback:h,children:a.jsx(Qt,{resolve:r.listeners,errorElement:_,children:g})}),t[26]=r.listeners,t[27]=g,t[28]=y):y=t[28],y}function jot(t){const{local_addrs:e}=t;return a.jsx(ks,{size:"small",items:e?.map(Tot)||[]})}function Tot(t){return{label:`${t}`,id:`${t}`}}function Eot(){const t=he.c(34),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"mme.sgs.status.connections.local_addrs"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"local_addrs",label:s,cellRender:Dot},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"mme.sgs.status.connections.local_port"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"local_port",label:o},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==e?(c=e.formatMessage({id:"mme.sgs.status.connections.remote_addrs"}),t[8]=e,t[9]=c):c=t[9];let u;t[10]!==c?(u={key:"remote_addrs",label:c,cellRender:Rot},t[10]=c,t[11]=u):u=t[11];let d;t[12]!==e?(d=e.formatMessage({id:"mme.sgs.status.connections.remote_port"}),t[12]=e,t[13]=d):d=t[13];let f;t[14]!==d?(f={key:"remote_port",label:d},t[14]=d,t[15]=f):f=t[15];let p;t[16]!==e?(p=e.formatMessage({id:"mme.sgs.status.connections.connection_id"}),t[16]=e,t[17]=p):p=t[17];let m;t[18]!==p?(m={key:"connection_id",label:p},t[18]=p,t[19]=m):m=t[19];let h;t[20]!==i||t[21]!==l||t[22]!==u||t[23]!==f||t[24]!==m?(h=[i,l,u,f,m],t[20]=i,t[21]=l,t[22]=u,t[23]=f,t[24]=m,t[25]=h):h=t[25];const _=h;let g;t[26]===Symbol.for("react.memo_cache_sentinel")?(g=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[26]=g):g=t[26];let y;t[27]===Symbol.for("react.memo_cache_sentinel")?(y=a.jsx(en,{}),t[27]=y):y=t[27];let b;t[28]!==_||t[29]!==n.state?(b=w=>a.jsx(Br,{autoScale:!0,data:w||[],orderBy:"connection_id",page:0,loading:n.state!=="idle",rowsCount:w?.length,rowsPerPage:w?.length,rowKey:"connection_id",columns:_,hidePagination:!0,stickyRowActions:!0}),t[28]=_,t[29]=n.state,t[30]=b):b=t[30];let x;return t[31]!==r.connections||t[32]!==b?(x=a.jsx(I.Suspense,{fallback:g,children:a.jsx(Qt,{resolve:r.connections,errorElement:y,children:b})}),t[31]=r.connections,t[32]=b,t[33]=x):x=t[33],x}function Rot(t){const{remote_addrs:e}=t;return a.jsx(ks,{size:"small",items:e?.map(Iot)||[]})}function Iot(t){return{label:`${t}`,id:`${t}`}}function Dot(t){const{local_addrs:e}=t;return a.jsx(ks,{size:"small",items:e?.map($ot)||[]})}function $ot(t){return{label:`${t}`,id:`${t}`}}async function Oot(){const t=$.apis.mme.s1ap.status.connections;return De({options:{url:t,method:"GET"}})}async function Lot({enbId:t}){const e=$.apis.mme.s1ap.status.disconnect(t);return De({options:{url:e,method:"POST"}})}async function Not({enbId:t}){const e=$.apis.mme.s1ap.status.reset(t);return De({options:{url:e,method:"POST"}})}async function Fot(){const t=$.apis.mme.s1ap.status.listeners;return De({options:{url:t,method:"GET"}})}async function Uot(){const t=$.apis.mme.sgs.status.connections;return De({options:{url:t,method:"GET"}})}async function Bot(){const t=$.apis.mme.sbcap.status.connections;return De({options:{url:t,method:"GET"}})}async function zot(){const t=$.apis.mme.sbcap.status.listeners;return De({options:{url:t,method:"GET"}})}async function qot(){const t=$.apis.mme.dns.status.cache;return De({options:{url:t,method:"GET"}})}async function Vot(){const t=$.apis.mme.dns.status.cacheFlush;return De({options:{url:t,method:"POST"}})}async function Hot(t){const e=$.apis.mme.imsi.status.ue(t);return De({options:{url:e,method:"GET"}})}async function Got(t){const e=$.apis.mme.imsi.status.disconnect(t);return De({options:{url:e,method:"POST"}})}async function Wot(t,e){const r=$.apis.mme.imsi.status.detach(t,e);return De({options:{url:r,method:"POST"}})}async function Yot(t,e){const r=$.apis.mme.imsi.status.purge(t,e);return De({options:{url:r,method:"POST"}})}async function Kot(){const t=$.apis.mme.m3.status.connections;return De({options:{url:t,method:"GET"}})}function Qot(){return async({request:t})=>{const e=await t.json(),{enbId:r}=e,n=await Lot({enbId:r});return xt(n)?Ar():Nt(),Ft(n)}}function Zot(){return async({request:t})=>{const e=await t.json(),{enbId:r}=e,n=await Not({enbId:r});return xt(n)?Ar():Nt(),Ft(n)}}async function Xot(){const t=await Vot();return xt(t)?Ar():Nt(),Ft(t)}async function Jot(t){return Wt({loaderArgs:t,deferred:!0,data:{connections:Oot()}})}async function eat(t){return Wt({loaderArgs:t,deferred:!0,data:{listeners:Fot()}})}async function tat(t){return Wt({loaderArgs:t,deferred:!0,data:{connections:Uot()}})}async function rat(t){return Wt({loaderArgs:t,deferred:!0,data:{connections:Bot()}})}async function nat(t){return Wt({loaderArgs:t,deferred:!0,data:{listeners:zot()}})}async function sat(t){return Wt({loaderArgs:t,deferred:!0,data:{dnsCache:qot()}})}async function iat(t){return Wt({loaderArgs:t,deferred:!0,data:{connections:Kot()}})}const oat=dr().shape({x1_ca:yr().of(oa()).min(1),x1_key:yr().of(oa()).min(1),x1_cert:yr().of(oa()).min(1),x2_ca:yr().of(oa()).min(1),x2_key:yr().of(oa()).min(1),x2_cert:yr().of(oa()).min(1),x1_uids:yr().of(We()).min(1)});function b$(t){return{[`${t}_ca`]:yr().of(oa()).when([`${t}_key`,`${t}_cert`],(e,r,n)=>e?.length>0||r?.length>0?n.min(1):n),[`${t}_key`]:yr().of(oa()).when([`${t}_ca`,`${t}_cert`],(e,r,n)=>e?.length>0||r?.length>0?n.min(1):n),[`${t}_cert`]:yr().of(oa()).when([`${t}_ca`,`${t}_key`],(e,r,n)=>e?.length>0||r?.length>0?n.min(1):n)}}function x$(t){return[[`${t}_ca`,`${t}_key`],[`${t}_ca`,`${t}_cert`],[`${t}_key`,`${t}_cert`]]}const aat=dr().shape({x1_ca:yr().of(oa()).min(1),x1_key:yr().of(oa()).min(1),x1_cert:yr().of(oa()).min(1),x2_ca:yr().of(oa()).min(1),x2_key:yr().of(oa()).min(1),x2_cert:yr().of(oa()).min(1),x1_uids:yr().of(We()).min(1),...b$("t3")},[...x$("t3")]),lat=dr().shape({...b$("x3"),...b$("t3")},[...x$("x3"),...x$("t3")]),kue=async t=>new Promise((e,r)=>{const n=new FileReader;n.onload=()=>n.result?e(n.result):r(n.error),n.onerror=()=>r(n.error),n.readAsText(t)}),vw=t=>{const e=he.c(7),{name:r,disabled:n}=t,s=n===void 0?!1:n,i=Ye();let o;e[0]!==s||e[1]!==i||e[2]!==r?(o=c=>{const{field:u,meta:d,form:f}=c,{setFieldValue:p}=f;return a.jsxs(te,{direction:"column",children:[a.jsx(_e,{children:i.formatMessage({id:`lawful_interception.form.${r}`})}),a.jsx(Z_,{...u,label:i.formatMessage({id:"form_import_files.file"}),size:"medium",accept:{"application/x-pem-file":[".pem"]},maxFiles:1,multiple:!1,disabled:s,onChange:m=>{setTimeout(()=>{if(!m.length){p(u.name,[]);return}p(u.name,m)},0)},formError:d.error})]})},e[0]=s,e[1]=i,e[2]=r,e[3]=o):o=e[3];let l;return e[4]!==r||e[5]!==o?(l=a.jsx(Ke,{name:r,children:o}),e[4]=r,e[5]=o,e[6]=l):l=e[6],l};function cat(t){const e=he.c(31),{nf:r}=t,n=Ye(),{openConfirmDialog:s}=di(),i=zn(),o=gr();let l;e:{switch(r){case ue.MME:{let A;e[0]===Symbol.for("react.memo_cache_sentinel")?(A=["x1_ca","x1_key","x1_cert","x2_ca","x2_key","x2_cert"],e[0]=A):A=e[0],l=A;break e}case ue.SMF:{let A;e[1]===Symbol.for("react.memo_cache_sentinel")?(A=["x1_ca","x1_key","x1_cert","x2_ca","x2_key","x2_cert","t3_ca","t3_key","t3_cert"],e[1]=A):A=e[1],l=A;break e}case ue.UPF:{let A;e[2]===Symbol.for("react.memo_cache_sentinel")?(A=["x3_ca","x3_key","x3_cert","t3_ca","t3_key","t3_cert"],e[2]=A):A=e[2],l=A;break e}}l=void 0}const c=l;let u;e[3]!==c?(u=A=>c.reduce(async(P,T)=>{try{const j=await P,R=await kue(A[T][0]),D=btoa(R);return{...j,[T]:D}}catch{return{...await P}}},{}),e[3]=c,e[4]=u):u=e[4];const d=u;let f;e[5]!==o||e[6]!==d||e[7]!==r?(f=async A=>{const P=await d(A);let T;e:switch(r){case ue.MME:{T={x1:{ca:P.x1_ca,key:P.x1_key,cert:P.x1_cert},x2:{ca:P.x2_ca,key:P.x2_key,cert:P.x2_cert},...A.x1_uids.length>0&&{x1_uids:A.x1_uids}};break e}case ue.SMF:{T={x1:{ca:P.x1_ca,key:P.x1_key,cert:P.x1_cert},x2:{ca:P.x2_ca,key:P.x2_key,cert:P.x2_cert},...P.t3_ca&&P.t3_ca&&P.t3_cert&&{t3:{ca:P.t3_ca,key:P.t3_key,cert:P.t3_cert}},...A.x1_uids.length>0&&{x1_uids:A.x1_uids}};break e}case ue.UPF:T={...P.t3_ca&&P.t3_ca&&P.t3_cert&&{t3:{ca:P.t3_ca,key:P.t3_key,cert:P.t3_cert}},...P.x3_ca&&P.x3_key&&P.x3_cert&&{x3:{ca:P.x3_ca,key:P.x3_key,cert:P.x3_cert}}}}o.submit(T,{method:"POST",encType:"application/json",action:"create"})},e[5]=o,e[6]=d,e[7]=r,e[8]=f):f=e[8];const p=f;let m;e[9]!==o||e[10]!==n||e[11]!==s?(m=()=>{s({text:n.formatMessage({id:"lawful_interception.actions.confirm_delete"}),onConfirm:()=>{o.submit(null,{method:"DELETE",encType:"application/json",action:"delete"})}})},e[9]=o,e[10]=n,e[11]=s,e[12]=m):m=e[12];const h=m;let _;e:{switch(r){case ue.MME:{let A;e[13]===Symbol.for("react.memo_cache_sentinel")?(A={x1_ca:[],x1_key:[],x1_cert:[],x2_ca:[],x2_key:[],x2_cert:[],x1_uids:[]},e[13]=A):A=e[13],_=A;break e}case ue.SMF:{let A;e[14]===Symbol.for("react.memo_cache_sentinel")?(A={x1_ca:[],x1_key:[],x1_cert:[],x2_ca:[],x2_key:[],x2_cert:[],x1_uids:[],t3_ca:[],t3_key:[],t3_cert:[]},e[14]=A):A=e[14],_=A;break e}case ue.UPF:{let A;e[15]===Symbol.for("react.memo_cache_sentinel")?(A={x3_ca:[],x3_key:[],x3_cert:[],t3_ca:[],t3_key:[],t3_cert:[]},e[15]=A):A=e[15],_=A;break e}}_=void 0}const g=_;let y;e:{switch(r){case ue.MME:{y=oat;break e}case ue.SMF:{y=aat;break e}case ue.UPF:{y=lat;break e}}y=void 0}const b=y;let x;e[16]===Symbol.for("react.memo_cache_sentinel")?(x=a.jsx(Dt,{variant:"rounded",height:"1226px"}),e[16]=x):x=e[16];let w;e[17]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(Tr,{}),e[17]=w):w=e[17];let C;e[18]!==o.data||e[19]!==o.state||e[20]!==c||e[21]!==h||e[22]!==p||e[23]!==g||e[24]!==n||e[25]!==r||e[26]!==b?(C=A=>a.jsx(Wr,{initialValues:g,validationSchema:b,enableReinitialize:!0,onSubmit:p,children:P=>{const{dirty:T}=P;return a.jsxs(dn,{canWrite:Ue(ie.lawful_interception),children:[a.jsx(hs,{children:a.jsx(te,{direction:"row",spacing:2,align:"center",children:!!A&&a.jsxs(a.Fragment,{children:[A.provisioned?a.jsx(bi,{status:nn.SUCCESS,asChip:!0,label:n.formatMessage({id:"lawful_interception.provisioned"})}):a.jsx(bi,{status:nn.ERROR,asChip:!0,label:n.formatMessage({id:"lawful_interception.not_provisioned"})}),a.jsx(Ze,{variant:"outlined",text:n.formatMessage({id:"lawful_interception.actions.delete"}),startIcon:a.jsx(ge.Trash,{}),disabled:!A?.provisioned||o.state!=="idle"||!Ue(ie.lawful_interception),onClick:h})]})})}),(r===ue.MME||r===ue.SMF)&&a.jsx(Kt,{title:n.formatMessage({id:"lawful_interception.form.title.x1"}),children:a.jsxs(te,{spacing:2,fullWidth:!0,align:"stretch",children:[c.filter(pat).map(j=>a.jsx(vw,{name:j,disabled:o.state!=="idle"},j)),a.jsx(_e,{children:n.formatMessage({id:"lawful_interception.form.title.x1_uids"})}),a.jsx(Ke,{name:"x1_uids",children:j=>{const{field:R,meta:D,form:O}=j,{setFieldValue:N}=O;return a.jsx(rn,{name:R.name,value:R.value,label:n.formatMessage({id:"lawful_interception.form.x1_uids"}),multiple:!0,size:"small",freeSolo:!0,options:[],onChange:(F,U)=>{N(R.name,U)},error:!!D.error,helperText:D.error,disabled:o.state!=="idle",fullWidth:!0})}})]})}),(r===ue.MME||r===ue.SMF)&&a.jsx(Kt,{title:n.formatMessage({id:"lawful_interception.form.title.x2"}),children:a.jsx(te,{spacing:2,fullWidth:!0,align:"stretch",children:c.filter(fat).map(j=>a.jsx(vw,{name:j,disabled:o.state!=="idle"},j))})}),(r===ue.SMF||r===ue.UPF)&&a.jsx(Kt,{title:n.formatMessage({id:"lawful_interception.form.title.t3"}),children:a.jsx(te,{spacing:2,fullWidth:!0,align:"stretch",children:c.filter(dat).map(j=>a.jsx(vw,{name:j,disabled:o.state!=="idle"},j))})}),r===ue.UPF&&a.jsx(Kt,{title:n.formatMessage({id:"lawful_interception.form.title.x3"}),children:a.jsx(te,{spacing:2,fullWidth:!0,align:"stretch",children:c.filter(uat).map(j=>a.jsx(vw,{name:j,disabled:o.state!=="idle"},j))})}),a.jsxs(Kt,{children:[a.jsx(Xr,{data:o.data}),a.jsx(Ze,{type:"submit",text:n.formatMessage({id:"lawful_interception.buttons.save"}),disabled:!T||!Ue(ie.lawful_interception),loading:o.state!=="idle",sx:{alignSelf:"flex-start"}})]})]})}}),e[18]=o.data,e[19]=o.state,e[20]=c,e[21]=h,e[22]=p,e[23]=g,e[24]=n,e[25]=r,e[26]=b,e[27]=C):C=e[27];let k;return e[28]!==i.status||e[29]!==C?(k=a.jsx(I.Suspense,{fallback:x,children:a.jsx(Qt,{resolve:i.status,errorElement:w,children:C})}),e[28]=i.status,e[29]=C,e[30]=k):k=e[30],k}function uat(t){return t.includes("x3")}function dat(t){return t.includes("t3")}function fat(t){return t.includes("x2")}function pat(t){return t.includes("x1")}async function mat(t){const e=$.apis.lawful_interception.keyMaterial(t);return De({options:{url:e,method:"GET",cache:!1}})}async function hat(t,e){const r=$.apis.lawful_interception.keyMaterial(t);return De({options:{url:r,method:"POST",data:JSON.stringify(e)}})}async function gat(t){const e=$.apis.lawful_interception.keyMaterial(t);return De({options:{url:e,method:"DELETE"}})}const _at=t=>async({request:e})=>{const r=await e.json(),n=await hat(t,r);return xt(n)||Nt(),Ft(n)},vat=t=>async()=>{const e=await gat(t);return xt(e)?Ar(e.error.detail||Pr().formatMessage({id:"lawful_interception.remove_ko"})):Nt(),Ft(e)},yat=t=>async e=>Wt({loaderArgs:e,deferred:!0,data:{status:mat(t)}});function p7(t){return{path:"lawful-interception",loader:yat(t),element:a.jsx(cat,{nf:t}),handle:vr({labelIntl:`route.${t}.lawful-interception`,to:"lawful-interception"}),children:[{path:"create",action:_at(t),loader:()=>rt("..")},{path:"delete",action:vat(t),loader:()=>rt("..")}]}}const bat=t=>{const e=he.c(5),{row:r}=t,n=Ye();let s;e[0]!==n||e[1]!==r.counters?(s=r.counters?Object.entries(r.counters).map(l=>{const[c,u]=l;return a.jsxs(Is,{size:{xs:6,sm:4,md:3,lg:2},children:[a.jsx(_e,{fontSize:"small",fontWeight:"600",children:n.formatMessage({id:`gtpu.status.sockets.counters.${c}`})}),a.jsx(_e,{fontSize:"small",children:u})]},c)}):a.jsx(a.Fragment,{}),e[0]=n,e[1]=r.counters,e[2]=s):s=e[2];const i=s;let o;return e[3]!==i?(o=a.jsx(al,{children:i}),e[3]=i,e[4]=o):o=e[4],o};function xat(){const t=he.c(34),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"gtpu.status.sockets.transport_name"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"transport_name",label:s},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"gtpu.status.sockets.local_addr"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"local_addr",label:o},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==e?(c=e.formatMessage({id:"gtpu.status.sockets.local_port"}),t[8]=e,t[9]=c):c=t[9];let u;t[10]!==c?(u={key:"local_port",label:c},t[10]=c,t[11]=u):u=t[11];let d;t[12]!==e?(d=e.formatMessage({id:"gtpu.status.sockets.created"}),t[12]=e,t[13]=d):d=t[13];let f;t[14]!==d?(f={key:"created",label:d,cellRender:Cat},t[14]=d,t[15]=f):f=t[15];let p;t[16]!==e?(p=e.formatMessage({id:"gtpu.status.sockets.counters"}),t[16]=e,t[17]=p):p=t[17];let m;t[18]!==p?(m={key:"counters",label:p,cellRender:wat},t[18]=p,t[19]=m):m=t[19];let h;t[20]!==i||t[21]!==l||t[22]!==u||t[23]!==f||t[24]!==m?(h=[i,l,u,f,m],t[20]=i,t[21]=l,t[22]=u,t[23]=f,t[24]=m,t[25]=h):h=t[25];const _=h;let g;t[26]===Symbol.for("react.memo_cache_sentinel")?(g=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[26]=g):g=t[26];let y;t[27]===Symbol.for("react.memo_cache_sentinel")?(y=a.jsx(en,{}),t[27]=y):y=t[27];let b;t[28]!==_||t[29]!==n.state?(b=w=>a.jsx(Br,{autoScale:!0,data:w||[],orderBy:"transport_name",page:0,loading:n.state!=="idle",rowsCount:w?.length,rowsPerPage:w?.length,rowKey:"transport_name",rowDetail:{content:Sat},columns:_,hidePagination:!0}),t[28]=_,t[29]=n.state,t[30]=b):b=t[30];let x;return t[31]!==r.sockets||t[32]!==b?(x=a.jsx(I.Suspense,{fallback:g,children:a.jsx(Qt,{resolve:r.sockets,errorElement:y,children:b})}),t[31]=r.sockets,t[32]=b,t[33]=x):x=t[33],x}function Sat(t){return a.jsx(bat,{row:t})}function wat(t){const{counters:e}=t;return e?a.jsx(_e,{type:"body2",children:Object.keys(e).length}):a.jsx(a.Fragment,{})}function Cat(t){const{created:e}=t;if(!e)return a.jsx(a.Fragment,{});const r=new Date(e*1e3);return a.jsx(_e,{type:"body2",children:Mr(r)})}async function Aat({nf:t}){const e=$.apis.gtpu.status.sockets(t);return De({options:{url:e,method:"GET"}})}function kat({nf:t}){return async e=>Wt({loaderArgs:e,deferred:!0,data:{sockets:Aat({nf:t})}})}function m7({path:t,nf:e}){const r=Pr();return{path:t,element:a.jsx(la,{navs:[{url:"sockets",label:r.formatMessage({id:"route.gtpu.sockets"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"sockets",replace:!0})},{path:"sockets",loader:kat({nf:e}),errorElement:a.jsx(en,{}),element:a.jsx(xat,{})}]}}const Xo=Pr(),Mat={path:"mme",handle:vr({labelIntl:"route.mme",icon:a.jsx(ge.MME,{})}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{element:a.jsx(Or,{fullHeight:!0}),children:[{path:"status",handle:vr({labelIntl:"route.mme.status",to:$.urls.mmeStatus}),element:a.jsx(Ao,{tabs:[{url:"diameter",label:Xo.formatMessage({id:"route.diameter"})},{url:"s1ap",label:Xo.formatMessage({id:"route.mme.status.s1ap"})},{url:"gtpc",label:Xo.formatMessage({id:"route.mme.status.gtpc"})},{url:"gtpu",label:Xo.formatMessage({id:"route.mme.status.gtpu"})},{url:"sgs",label:Xo.formatMessage({id:"route.mme.status.sgs"})},{url:"sbcap",label:Xo.formatMessage({id:"route.mme.status.sbcap"})},{url:"dns",label:Xo.formatMessage({id:"route.mme.status.dns"})},{url:"m3",label:Xo.formatMessage({id:"route.mme.status.m3"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"diameter",replace:!0})},qp({path:"diameter",nf:ue.MME}),{path:"s1ap",element:a.jsx(la,{navs:[{url:"connections",label:Xo.formatMessage({id:"route.mme.status.s1ap.connections"})},{url:"listeners",label:Xo.formatMessage({id:"route.mme.status.s1ap.listeners"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"connections",replace:!0})},{path:"connections",loader:Jot,errorElement:a.jsx(en,{}),element:a.jsx(lot,{}),children:[{action:Qot(),path:"disconnect",loader:()=>rt("..")},{action:Zot(),path:"reset",loader:()=>rt("..")}]},{path:"listeners",loader:eat,errorElement:a.jsx(en,{}),element:a.jsx(yot,{})}]},uk({path:"gtpc",nf:ue.MME,showBlockedPeers:!0}),m7({path:"gtpu",nf:ue.MME}),{path:"sgs",element:a.jsx(la,{navs:[{url:"connections",label:Xo.formatMessage({id:"route.mme.status.sgs.connections"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"connections",replace:!0})},{path:"connections",loader:tat,errorElement:a.jsx(en,{}),element:a.jsx(Eot,{})}]},{path:"sbcap",element:a.jsx(la,{navs:[{url:"connections",label:Xo.formatMessage({id:"route.mme.status.sbcap.connections"})},{url:"listeners",label:Xo.formatMessage({id:"route.mme.status.sbcap.listeners"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"connections",replace:!0})},{path:"connections",loader:rat,errorElement:a.jsx(en,{}),element:a.jsx(Sot,{})},{path:"listeners",loader:nat,errorElement:a.jsx(en,{}),element:a.jsx(Pot,{})}]},{path:"dns",element:a.jsx(la,{navs:[{url:"cache",label:Xo.formatMessage({id:"route.mme.status.dns.cache"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"cache",replace:!0})},{path:"cache",loader:sat,errorElement:a.jsx(en,{}),element:a.jsx(Git,{}),children:[{action:Xot,path:"flush",loader:()=>rt("..")}]}]},{path:"m3",element:a.jsx(la,{navs:[{url:"connections",label:Xo.formatMessage({id:"route.mme.status.m3.connections"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"connections",replace:!0})},{path:"connections",loader:iat,errorElement:a.jsx(en,{}),element:a.jsx(rot,{})}]}]},io(ue.MME)]},{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.MME)]},{element:a.jsx(Or,{center:!0}),children:[p7(ue.MME)]}]},LX=Pr(),S$=new RegExp($.regex.supi),Pat=t=>S$.test(t),jat=dr().shape({id:We().strict(!0).matches(S$,LX.formatMessage({id:"device_status.form.errors.format"},{value:`${S$.toString()}`})).required(LX.formatMessage({id:"device_status.form.errors.required"}))}),Tat=()=>{const t=he.c(39),e=ys(),r=Ye(),n=On(),{id:s}=ko(),{submit:i,state:o}=gr(),l=zn();let c;t[0]!==s||t[1]!==i?(c=()=>{s&&i({supi:s},{method:"POST",encType:"application/json",action:`${s}/udm-re-attach`})},t[0]=s,t[1]=i,t[2]=c):c=t[2];const u=c;let d;t[3]!==e?(d=j=>{e(j.id)},t[3]=e,t[4]=d):d=t[4];const f=d;let p;t[5]===Symbol.for("react.memo_cache_sentinel")?(p={overflow:"hidden"},t[5]=p):p=t[5];let m;t[6]===Symbol.for("react.memo_cache_sentinel")?(m={borderBottom:"1px solid",borderColor:"divider",px:2,py:1.5},t[6]=m):m=t[6];let h;t[7]===Symbol.for("react.memo_cache_sentinel")?(h={flex:"1 1 auto"},t[7]=h):h=t[7];const _=s||"";let g;t[8]!==_?(g={id:_},t[8]=_,t[9]=g):g=t[9];let y;t[10]===Symbol.for("react.memo_cache_sentinel")?(y=as(ie.monitoring),t[10]=y):y=t[10];let b;t[11]!==r||t[12]!==n.state?(b=a.jsx(dn,{canWrite:y,children:a.jsx(Ke,{name:"id",children:j=>{const{field:R,meta:D}=j;return a.jsxs(te,{direction:"row",spacing:0,fullWidth:!0,nowrap:!0,children:[a.jsx(dt,{...R,label:r.formatMessage({id:"device_status.form.id"}),size:"small",error:!!D.error,helperText:D.error,sx:{flex:"1 1 auto",fieldset:{borderRightColor:"rgba(51, 51, 51, 0.5)",borderTopRightRadius:"0px",borderBottomRightRadius:"0px"}}}),a.jsx(Ze,{type:"submit",text:"search",startIcon:a.jsx(ge.Search,{}),disabled:n.state!=="idle"||!as(ie.monitoring),sx:{mt:"4px",height:"40px",borderTopLeftRadius:"0px",borderBottomLeftRadius:"0px"}})]})}})}),t[11]=r,t[12]=n.state,t[13]=b):b=t[13];let x;t[14]!==f||t[15]!==g||t[16]!==b?(x=a.jsx(gt,{sx:h,children:a.jsx(Wr,{initialValues:g,enableReinitialize:!0,validationSchema:jat,onSubmit:f,children:b})}),t[14]=f,t[15]=g,t[16]=b,t[17]=x):x=t[17];let w;t[18]!==u||t[19]!==s||t[20]!==r||t[21]!==o?(w=j=>a.jsx(a.Fragment,{children:s&&j.includes(ue.UDM)&&a.jsx(Ze,{text:r.formatMessage({id:"device_status.reAttach"}),variant:"outlined",onClick:u,loading:o!=="idle",sx:{mt:"4px",height:"40px"}})}),t[18]=u,t[19]=s,t[20]=r,t[21]=o,t[22]=w):w=t[22];let C;t[23]!==l.services||t[24]!==w?(C=a.jsx(I.Suspense,{children:a.jsx(Qt,{resolve:l.services,children:w})}),t[23]=l.services,t[24]=w,t[25]=C):C=t[25];let k;t[26]!==C||t[27]!==x?(k=a.jsx(gt,{sx:m,children:a.jsxs(te,{spacing:2,align:"flex-start",justify:"space-between",fullWidth:!0,direction:"row",nowrap:!0,children:[x,C]})}),t[26]=C,t[27]=x,t[28]=k):k=t[28];let A;t[29]!==s||t[30]!==r||t[31]!==n.state?(A=!s&&n.state==="idle"&&a.jsx(gt,{sx:{p:2},children:a.jsx(Lr,{severity:"info",message:r.formatMessage({id:"device_status.noDataHint"})})}),t[29]=s,t[30]=r,t[31]=n.state,t[32]=A):A=t[32];let P;t[33]!==n.state?(P=n.state==="idle"?a.jsx(gt,{sx:{flex:"1 1 auto",overflow:"hidden"},children:a.jsx(Bd,{})}):a.jsx(Dt,{variant:"rectangular",width:"100%",sx:{flex:"1 1 auto"}}),t[33]=n.state,t[34]=P):P=t[34];let T;return t[35]!==k||t[36]!==A||t[37]!==P?(T=a.jsxs(te,{nowrap:!0,fullHeight:!0,sx:p,spacing:0,children:[k,A,P]}),t[35]=k,t[36]=A,t[37]=P,t[38]=T):T=t[38],T};var rb=(t=>(t.REQUESTED="REQUESTED",t.NOT_REQUESTED="NOT_REQUESTED",t))(rb||{});function zh(){const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(Kt,{children:a.jsx(Lr,{severity:"error",message:Pr().formatMessage({id:"device_status.not_found"})})}),t[0]=e):e=t[0],e}function Qe(t){const e=he.c(7),{label:r,value:n}=t;if(n===void 0)return null;let s;e[0]!==r?(s=a.jsx(_e,{color:"text.secondary",type:"body2",fontWeight:600,children:r}),e[0]=r,e[1]=s):s=e[1];let i;e[2]!==n?(i=Array.isArray(n)&&n.length>0?n.map(Eat):a.jsx(_e,{type:"body2",children:`${n}`}),e[2]=n,e[3]=i):i=e[3];let o;return e[4]!==s||e[5]!==i?(o=a.jsxs(te,{spacing:0,children:[s,i]}),e[4]=s,e[5]=i,e[6]=o):o=e[6],o}function Eat(t,e){return a.jsx(_e,{type:"body2",children:`${t}`},e)}function Rat(){const t=he.c(16),e=Gr(),r=gl(),n=gr(),s=Ye(),{menuOpen:i,menuClose:o}=Jt();let l;t[0]!==r?(l=(_,g)=>{r({id:_,reregister:g},{method:"POST",encType:"application/json",action:"amf-remove"})},t[0]=r,t[1]=l):l=t[1];const c=l;let u;t[2]!==c||t[3]!==s||t[4]!==o||t[5]!==i?(u=(_,g)=>{i({anchorEl:_?.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:[{label:s.formatMessage({id:"device_status.amf.remove.reregister_requested"}),value:rb.REQUESTED,onClick:()=>{o(),c(g,rb.REQUESTED)}},{label:s.formatMessage({id:"device_status.amf.remove.reregister_not_requested"}),value:rb.NOT_REQUESTED,onClick:()=>{o(),c(g,rb.NOT_REQUESTED)}}]})},t[2]=c,t[3]=s,t[4]=o,t[5]=i,t[6]=u):u=t[6];const d=u;let f;t[7]===Symbol.for("react.memo_cache_sentinel")?(f=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[7]=f):f=t[7];let p;t[8]===Symbol.for("react.memo_cache_sentinel")?(p=a.jsx(zh,{}),t[8]=p):p=t[8];let m;t[9]!==n||t[10]!==d||t[11]!==s?(m=_=>a.jsxs(a.Fragment,{children:[a.jsx(o7,{children:_.supi&&a.jsx(Ze,{text:s.formatMessage({id:"device_status.amf.remove"}),size:"small",onClick:g=>{_.supi&&d(g,_.supi)},loading:n.state!=="idle",variant:"outlined",endIcon:a.jsx(ge.DownArrow,{size:14})})}),a.jsx(Kt,{sx:{overflow:"auto",height:"100%"},children:a.jsxs(te,{children:[a.jsxs(te,{children:[a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.5gGuti"}),value:_["5gGuti"]}),a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.supi"}),value:_.supi}),a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.amfUeNgapID"}),value:_.amfUeNgapID}),a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.ranUeNgapID"}),value:_.ranUeNgapID}),a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.cmState"}),value:_.cmState}),a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.mmState"}),value:_.mmState})]}),_.ueLocation&&a.jsxs(a.Fragment,{children:[a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,sx:{borderRadius:1},title:s.formatMessage({id:"device_status.amf.ueLocation.nrLocation.ncgi"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.ueLocation.ncgi.nrCellId"}),value:_.ueLocation.nrLocation?.ncgi?.nrCellId}),a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.ueLocation.ncgi.plmn"}),value:`${_.ueLocation.nrLocation?.ncgi?.plmnId.mcc}${_.ueLocation.nrLocation?.ncgi?.plmnId.mnc}`})]})}),a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,sx:{borderRadius:1},title:s.formatMessage({id:"device_status.amf.ueLocation.nrLocation.tai"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.ueLocation.tai.plmn"}),value:`${_.ueLocation.nrLocation?.tai?.plmnId.mcc}${_.ueLocation.nrLocation?.tai?.plmnId.mnc}`}),a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.ueLocation.tai.tac"}),value:_.ueLocation.nrLocation?.tai?.tac})]})})]}),_.smContexts&&_.smContexts.length>0&&a.jsxs(te,{children:[a.jsx(_e,{type:"body1",color:"grey.600",children:s.formatMessage({id:"device_status.amf.smContexts"})}),a.jsx(Jn,{exclusive:!1,spacing:1,children:_.smContexts.map(g=>a.jsx(xr,{elevation:2,title:`${s.formatMessage({id:"device_status.amf.smContext"})} - ${g.pduSessionId}`,content:a.jsxs(te,{children:[a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.smContexts.pduSessionId"}),value:g.pduSessionId}),a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.smContexts.dnn"}),value:g.dnn}),g.sNssai&&a.jsx(Qe,{label:s.formatMessage({id:"device_status.amf.smContexts.sNssai"}),value:g.sNssai.sd?`${g.sNssai.sst}-${g.sNssai.sd}`:g.sNssai.sst})]})},g.pduSessionId))})]})]})})]}),t[9]=n,t[10]=d,t[11]=s,t[12]=m):m=t[12];let h;return t[13]!==e.amfStatus||t[14]!==m?(h=a.jsx(I.Suspense,{fallback:f,children:a.jsx(Qt,{resolve:e.amfStatus,errorElement:p,children:m})}),t[13]=e.amfStatus,t[14]=m,t[15]=h):h=t[15],h}function Iat(){const t=he.c(8),e=Gr(),r=to(),n=ys(),{id:s}=ko();let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx(Tr,{}),t[0]=i):i=t[0];let o;t[1]!==s||t[2]!==r.pathname||t[3]!==n?(o=c=>{const{activeTabs:u,startLocation:d}=c,f=r.pathname.split("/").at(-1);return s===f?(n(d,{replace:!0}),null):a.jsx(la,{navs:u})},t[1]=s,t[2]=r.pathname,t[3]=n,t[4]=o):o=t[4];let l;return t[5]!==e.tabs||t[6]!==o?(l=a.jsx(I.Suspense,{children:a.jsx(Qt,{resolve:e.tabs,errorElement:i,children:o})}),t[5]=e.tabs,t[6]=o,t[7]=l):l=t[7],l}var nb=(t=>(t.REQUIRED="required",t.NOT_REQUIRED="not_required",t))(nb||{}),sb=(t=>(t.REQUIRED="required",t.NOT_REQUIRED="not_required",t))(sb||{});function Dat(t){const e=he.c(24),{decor:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.mme.decor"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==n?(i=n.formatMessage({id:"device_status.mme.decor.computed_usage_type"}),e[2]=n,e[3]=i):i=e[3];const o=r?.computed_usage_type;let l;e[4]!==i||e[5]!==o?(l=a.jsx(Qe,{label:i,value:o}),e[4]=i,e[5]=o,e[6]=l):l=e[6];let c;e[7]!==n?(c=n.formatMessage({id:"device_status.mme.decor.rerouted"}),e[7]=n,e[8]=c):c=e[8];const u=r?.rerouted;let d;e[9]!==c||e[10]!==u?(d=a.jsx(Qe,{label:c,value:u}),e[9]=c,e[10]=u,e[11]=d):d=e[11];let f;e[12]!==l||e[13]!==d?(f=a.jsxs(te,{children:[l,d]}),e[12]=l,e[13]=d,e[14]=f):f=e[14];let p;e[15]!==r||e[16]!==n?(p=r?.state&&a.jsx(xr,{elevation:3,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.decor.state"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.decor.state.static"}),value:r.state.static}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.decor.state.hss"}),value:r.state.hss}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.decor.state.ue"}),value:r.state.ue}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.decor.state.mme"}),value:r.state.mme})]})}),e[15]=r,e[16]=n,e[17]=p):p=e[17];let m;e[18]!==f||e[19]!==p?(m=a.jsxs(te,{spacing:2,children:[f,p]}),e[18]=f,e[19]=p,e[20]=m):m=e[20];let h;return e[21]!==s||e[22]!==m?(h=a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,title:s,content:m}),e[21]=s,e[22]=m,e[23]=h):h=e[23],h}function $at(t){const e=he.c(20),{esm:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.mme.esm"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==n?(i=n.formatMessage({id:"device_status.mme.esm.sgw_fqdn"}),e[2]=n,e[3]=i):i=e[3];const o=r?.sgw_fqdn;let l;e[4]!==i||e[5]!==o?(l=a.jsx(Qe,{label:i,value:o}),e[4]=i,e[5]=o,e[6]=l):l=e[6];let c;e[7]!==r||e[8]!==n?(c=r?.ue_ambr&&a.jsx(xr,{elevation:3,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.esm.ue_ambr"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.ue_ambr.ul"}),value:r.ue_ambr.ul}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.ue_ambr.dl"}),value:r.ue_ambr.dl})]})}),e[7]=r,e[8]=n,e[9]=c):c=e[9];let u;e[10]!==r||e[11]!==n?(u=r?.bearers&&r?.bearers.length>0&&a.jsxs(te,{children:[a.jsx(_e,{type:"body1",color:"grey.600",children:n.formatMessage({id:"device_status.mme.esm.bearers"})}),a.jsx(Jn,{exclusive:!1,spacing:1,children:r.bearers.map(p=>a.jsx(xr,{elevation:3,title:`${n.formatMessage({id:"device_status.mme.esm.bearer"})} - ${p.ebi}`,content:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.bearer.ebi"}),value:p.ebi}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.bearer.apn"}),value:p.apn}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.bearer.context_id"}),value:p.context_id}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.bearer.pdn_addr"}),value:p.pdn_addr})]}),p.apn_ambr&&a.jsx(xr,{elevation:4,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.esm.bearer.apn_ambr"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.bearer.apn_ambr.ul"}),value:p.apn_ambr.ul}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.bearer.apn_ambr.dl"}),value:p.apn_ambr.ul})]})}),p.rabs&&p.rabs.length>0&&a.jsxs(te,{children:[a.jsx(_e,{type:"body1",color:"grey.600",children:n.formatMessage({id:"device_status.mme.esm.bearer.rabs"})}),a.jsx(Jn,{exclusive:!1,spacing:1,children:p.rabs.map(m=>a.jsx(xr,{elevation:5,disableGutters:!0,expanded:!0,title:`${n.formatMessage({id:"device_status.mme.esm.bearer.rab"})} #${m.ebi}`,content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.bearer.rab.ebi"}),value:m.ebi}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.esm.bearer.rab.qos.qci"}),value:m.qos?.qci})]})}))})]})]})},p.ebi))})]}),e[10]=r,e[11]=n,e[12]=u):u=e[12];let d;e[13]!==l||e[14]!==c||e[15]!==u?(d=a.jsxs(te,{spacing:2,children:[l,c,u]}),e[13]=l,e[14]=c,e[15]=u,e[16]=d):d=e[16];let f;return e[17]!==s||e[18]!==d?(f=a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,title:s,content:d}),e[17]=s,e[18]=d,e[19]=f):f=e[19],f}function Oat(t){const e=he.c(24),{profile:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.mme.profile"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==n?(i=n.formatMessage({id:"device_status.mme.profile.hss_host"}),e[2]=n,e[3]=i):i=e[3];const o=r?.hss_host;let l;e[4]!==i||e[5]!==o?(l=a.jsx(Qe,{label:i,value:o}),e[4]=i,e[5]=o,e[6]=l):l=e[6];let c;e[7]!==n?(c=n.formatMessage({id:"device_status.mme.profile.hss_realm"}),e[7]=n,e[8]=c):c=e[8];const u=r?.hss_realm;let d;e[9]!==c||e[10]!==u?(d=a.jsx(Qe,{label:c,value:u}),e[9]=c,e[10]=u,e[11]=d):d=e[11];let f;e[12]!==l||e[13]!==d?(f=a.jsxs(te,{children:[l,d]}),e[12]=l,e[13]=d,e[14]=f):f=e[14];let p;e[15]!==n||e[16]!==r?(p=r?.subscription&&a.jsx(xr,{elevation:3,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.profile.subscription"}),content:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.status"}),value:r.subscription.status}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.status"}),value:r.subscription.status}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.mode"}),value:r.subscription.mode}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.usage_type"}),value:r.subscription.usage_type})]}),r.subscription.ue_ambr&&a.jsx(xr,{elevation:4,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.profile.subscription.ue_ambr"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.ue_ambr.dl"}),value:r.subscription.ue_ambr.dl}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.ue_ambr.ul"}),value:r.subscription.ue_ambr.ul})]})}),r.subscription.config&&a.jsx(xr,{elevation:4,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.profile.subscription.config"}),content:a.jsxs(te,{spacing:2,children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.default_context_id"}),value:r.subscription.config.default_context_id}),r.subscription.config.apns&&r.subscription.config.apns.length>0&&a.jsxs(te,{children:[a.jsx(_e,{type:"body1",color:"grey.600",children:n.formatMessage({id:"device_status.mme.profile.subscription.config.apns"})}),a.jsx(Jn,{exclusive:!1,spacing:1,children:r.subscription.config.apns.map(_=>a.jsx(xr,{elevation:5,title:`${_.apn} - ${_.pdn_type}`,content:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.apn"}),value:_.apn}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.context_id"}),value:_.context_id}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.pdn_type"}),value:_.pdn_type}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.data_mode"}),value:_.data_mode}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.non_ip"}),value:_.non_ip}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.non_ip_method"}),value:_.non_ip_method})]}),a.jsx(xr,{elevation:6,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.qos"}),content:a.jsxs(te,{spacing:2,children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.qos.qci"}),value:_.qos?.qci}),_.qos?.arp&&a.jsx(xr,{elevation:7,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.qos.arp"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.qos.arp.priority_level"}),value:_.qos.arp.priority_level}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.qos.arp.preemption_capability"}),value:_.qos.arp.preemption_capability}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.qos.arp.preemption_vulnerability"}),value:_.qos.arp.preemption_vulnerability})]})})]})}),_.apn_ambr&&a.jsx(xr,{elevation:6,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.apn_ambr"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.apn_ambr.ul"}),value:_.apn_ambr.ul}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.mme.profile.subscription.config.apn.apn_ambr.dl"}),value:_.apn_ambr.ul})]})})]})},_.context_id))})]})]})})]})}),e[15]=n,e[16]=r,e[17]=p):p=e[17];let m;e[18]!==f||e[19]!==p?(m=a.jsxs(te,{spacing:2,children:[f,p]}),e[18]=f,e[19]=p,e[20]=m):m=e[20];let h;return e[21]!==s||e[22]!==m?(h=a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,title:s,content:m}),e[21]=s,e[22]=m,e[23]=h):h=e[23],h}function Lat(){const t=he.c(29),e=Gr(),r=gl(),n=gr(),s=gr(),i=gr(),{menuOpen:o,menuClose:l}=Jt(),c=Ye();let u;t[0]!==r?(u=A=>()=>{r({imsi:A},{method:"POST",encType:"application/json",action:"mme-disconnect"})},t[0]=r,t[1]=u):u=t[1];const d=u;let f;t[2]!==r?(f=(A,P)=>{r({imsi:A,reattach:P},{method:"POST",encType:"application/json",action:"mme-detach"})},t[2]=r,t[3]=f):f=t[3];const p=f;let m;t[4]!==p||t[5]!==c||t[6]!==l||t[7]!==o?(m=(A,P)=>{o({anchorEl:A?.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:[{label:c.formatMessage({id:"device_status.mme.detach.reattach_required"}),value:nb.REQUIRED,onClick:()=>{l(),p(P,nb.REQUIRED)}},{label:c.formatMessage({id:"device_status.mme.detach.reattach_not_required"}),value:nb.NOT_REQUIRED,onClick:()=>{l(),p(P,nb.NOT_REQUIRED)}}]})},t[4]=p,t[5]=c,t[6]=l,t[7]=o,t[8]=m):m=t[8];const h=m;let _;t[9]!==r?(_=(A,P)=>{r({imsi:A,reattach:P},{method:"POST",encType:"application/json",action:"mme-purge"})},t[9]=r,t[10]=_):_=t[10];const g=_;let y;t[11]!==g||t[12]!==c||t[13]!==l||t[14]!==o?(y=(A,P)=>{o({anchorEl:A?.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:[{label:c.formatMessage({id:"device_status.mme.purge.reattach_required"}),value:sb.REQUIRED,onClick:()=>{l(),g(P,sb.REQUIRED)}},{label:c.formatMessage({id:"device_status.mme.purge.reattach_not_required"}),value:sb.NOT_REQUIRED,onClick:()=>{l(),g(P,sb.NOT_REQUIRED)}}]})},t[11]=g,t[12]=c,t[13]=l,t[14]=o,t[15]=y):y=t[15];const b=y;let x;t[16]===Symbol.for("react.memo_cache_sentinel")?(x=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[16]=x):x=t[16];let w;t[17]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(zh,{}),t[17]=w):w=t[17];let C;t[18]!==s.state||t[19]!==n.state||t[20]!==i.state||t[21]!==h||t[22]!==d||t[23]!==b||t[24]!==c?(C=A=>a.jsxs(a.Fragment,{children:[a.jsx(o7,{children:a.jsxs(te,{direction:"row",children:[a.jsx(Ze,{text:c.formatMessage({id:"device_status.mme.disconnect"}),size:"small",onClick:d(A.imsi),loading:n.state!=="idle",variant:"outlined"}),a.jsx(Ze,{text:c.formatMessage({id:"device_status.mme.detach"}),size:"small",onClick:P=>{h(P,A.imsi)},loading:s.state!=="idle",variant:"outlined",endIcon:a.jsx(ge.DownArrow,{size:14})}),a.jsx(Ze,{text:c.formatMessage({id:"device_status.mme.purge"}),size:"small",onClick:P=>{b(P,A.imsi)},loading:i.state!=="idle",variant:"outlined",endIcon:a.jsx(ge.DownArrow,{size:14})})]})}),a.jsx(Kt,{sx:{overflow:"auto",height:"100%"},children:a.jsxs(te,{children:[a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.imsi"}),value:A.imsi}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.imeisv"}),value:A.imeisv}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.profile.subscription.msisdn"}),value:A.profile?.subscription?.msisdn}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.profile.subscription.mode"}),value:A.profile?.subscription?.mode}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.age_of_location_info"}),value:A.age_of_location_info}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.ecm_state"}),value:A.ecm_state}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.emm_state"}),value:A.emm_state}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.last_radio_contact"}),value:A.last_radio_contact}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.pending_procedure"}),value:A.pending_procedure}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.sgs_state"}),value:A.sgs_state}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.drx"}),value:A.drx}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.guti"}),value:A.guti}),A.uli&&A.uli.tai&&a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,sx:{borderRadius:1},title:c.formatMessage({id:"device_status.mme.uli.tai"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.uli.tai.plmn"}),value:A.uli.tai.plmn}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.uli.tai.tac"}),value:A.uli.tai.tac})]})}),A.uli&&A.uli.ecgi&&a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,sx:{borderRadius:1},title:c.formatMessage({id:"device_status.mme.uli.ecgi"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.uli.ecgi.plmn"}),value:A.uli.ecgi.plmn}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.uli.ecgi.eci"}),value:A.uli.ecgi.eci})]})}),A.profile&&a.jsx(Oat,{profile:A.profile}),A.decor&&a.jsx(Dat,{decor:A.decor}),A.esm&&a.jsx($at,{esm:A.esm}),A.psm&&a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,sx:{borderRadius:1},title:c.formatMessage({id:"device_status.mme.psm"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.psm.psm"}),value:A.psm.psm}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.psm.idle_since_ms"}),value:A.psm.idle_since_ms}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.psm.t3324"}),value:A.psm.t3324})]})}),A.edrx&&a.jsx(xr,{elevation:2,disableGutters:!0,expanded:!0,sx:{borderRadius:1},title:c.formatMessage({id:"device_status.mme.edrx"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.edrx.mode"}),value:A.edrx.mode}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.edrx.window"}),value:A.edrx.window}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.edrx.window_s"}),value:A.edrx.window_s}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.edrx.cycle"}),value:A.edrx.cycle}),a.jsx(Qe,{label:c.formatMessage({id:"device_status.mme.edrx.cycle_s"}),value:A.edrx.cycle_s})]})})]})})]}),t[18]=s.state,t[19]=n.state,t[20]=i.state,t[21]=h,t[22]=d,t[23]=b,t[24]=c,t[25]=C):C=t[25];let k;return t[26]!==e.mmeStatus||t[27]!==C?(k=a.jsx(I.Suspense,{fallback:x,children:a.jsx(Qt,{resolve:e.mmeStatus,errorElement:w,children:C})}),t[26]=e.mmeStatus,t[27]=C,t[28]=k):k=t[28],k}function Nat(t){const e=he.c(14),{activeAppSessions:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.pcf.active_app_sessions"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==s?(i=a.jsx(_e,{type:"body1",color:"grey.600",children:s}),e[2]=s,e[3]=i):i=e[3];let o;if(e[4]!==r||e[5]!==n){let u;e[7]!==n?(u=d=>a.jsx(xr,{title:n.formatMessage({id:"device_status.pcf.active_app_session"},{id:d.id}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.interface_type"}),value:d.interface_type}),a.jsxs(te,{children:[a.jsx(_e,{type:"body1",color:"grey.600",children:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules"})}),d.rules&&d.rules.length>0&&a.jsx(Jn,{exclusive:!0,children:d.rules.map(f=>a.jsx(xr,{expanded:!0,disableGutters:!0,title:n.formatMessage({id:"device_status.pcf.active_app_sessions.rule"},{id:f.rule_id}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.rule_id"}),value:f.rule_id}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.qos_id"}),value:f.qos_id}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.qos_5qi"}),value:f.qos_5qi}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.qos_gbrDl"}),value:f.qos_gbrDl}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.qos_gbrUl"}),value:f.qos_gbrUl}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.qos_maxbrDl"}),value:f.qos_maxbrDl}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.qos_maxbrUl"}),value:f.qos_maxbrUl}),f.flow_infos&&f.flow_infos.length>0&&a.jsxs(te,{children:[a.jsx(_e,{type:"body1",color:"grey.600",children:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.flow_infos"})}),a.jsx(Jn,{exclusive:!0,children:f.flow_infos.map((p,m)=>a.jsx(xr,{title:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.flow_info"},{id:m}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.flow_infos.description"}),value:p.description}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.pcf.active_app_sessions.rules.flow_infos.direction"}),value:p.direction})]})},m))})]})]})},f.rule_id))})]})]})},d.id),e[7]=n,e[8]=u):u=e[8],o=r.map(u),e[4]=r,e[5]=n,e[6]=o}else o=e[6];let l;e[9]!==o?(l=a.jsx(Jn,{exclusive:!0,spacing:1,children:o}),e[9]=o,e[10]=l):l=e[10];let c;return e[11]!==i||e[12]!==l?(c=a.jsxs(te,{children:[i,l]}),e[11]=i,e[12]=l,e[13]=c):c=e[13],c}function Fat(){const t=he.c(7),e=Ye(),r=Gr();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[0]=n):n=t[0];let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(zh,{}),t[1]=s):s=t[1];let i;t[2]!==e?(i=l=>a.jsx(gt,{sx:{overflow:"auto",height:"100%"},children:a.jsx(Jn,{exclusive:!0,children:l.map(c=>a.jsx(xr,{sx:{borderBottom:"1px solid",borderColor:"divider",boxShadow:0,borderRadius:0,"&:last-of-type":{borderRadius:0}},title:e.formatMessage({id:"device_status.pcf.pdu_session"},{id:c.pdu_session_id}),content:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{children:[a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.pdu_session_id"}),value:c.pdu_session_id}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.pdu_session_type"}),value:c.pdu_session_type}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.supi"}),value:c.supi}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.dnn"}),value:c.dnn}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.ipv4_addr"}),value:c.ipv4_addr}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.ipv6_addr"}),value:c.ipv6_addr}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.is_emergency"}),value:c.is_emergency}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.pei"}),value:c.pei}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.plmn"}),value:`${c.plmn?.mcc}${c.plmn?.mnc}`}),c.snssai&&a.jsx(Qe,{label:e.formatMessage({id:"device_status.pcf.snssai"}),value:c.snssai.sd?`${c.snssai.sst}-${c.snssai.sd}`:c.snssai.sst})]}),c.active_app_sessions&&c.active_app_sessions.length>0&&a.jsx(Nat,{activeAppSessions:c.active_app_sessions})]})},c.pdu_session_id))})}),t[2]=e,t[3]=i):i=t[3];let o;return t[4]!==r.pcfStatus||t[5]!==i?(o=a.jsx(I.Suspense,{fallback:n,children:a.jsx(Qt,{resolve:r.pcfStatus,errorElement:s,children:i})}),t[4]=r.pcfStatus,t[5]=i,t[6]=o):o=t[6],o}function Uat(t){const e=he.c(10),{dedicatedBearers:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.sgwc.session.dedicated_bearers"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==s?(i=a.jsx(_e,{type:"body1",color:"grey.600",children:s}),e[2]=s,e[3]=i):i=e[3];let o;e[4]!==r||e[5]!==n?(o=r&&a.jsx(Jn,{exclusive:!1,spacing:1,children:r.map(c=>a.jsx(xr,{elevation:2,title:`${n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer"})} - ${c.ebi}`,content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.ebi"}),value:c.ebi}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.lebi"}),value:c.lebi}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.rat"}),value:c.rat}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.apn"}),value:c.apn}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.ambr.uplink"}),value:c?.ambr?.uplink}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.ambr.downlink"}),value:c?.ambr?.downlink}),a.jsx(xr,{elevation:3,disableGutters:!0,title:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.qos"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.qos.ambr.uplink"}),value:c?.qos?.ambr?.uplink}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.qos.ambr.downlink"}),value:c?.qos?.ambr?.downlink}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.qos.arp.preemption_capability"}),value:c?.qos?.arp?.preemption_capability}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.qos.arp.preemption_vulnerability"}),value:c?.qos?.arp?.preemption_vulnerability}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.qos.arp.priority"}),value:c?.qos?.arp?.priority}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.sgwc.session.dedicated_bearer.qos.qci"}),value:c?.qos?.qci})]})})]})},c.ebi))}),e[4]=r,e[5]=n,e[6]=o):o=e[6];let l;return e[7]!==i||e[8]!==o?(l=a.jsxs(te,{children:[i,o]}),e[7]=i,e[8]=o,e[9]=l):l=e[9],l}function Bat(t){const e=he.c(85),{defaultBearer:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.sgwc.session.default_bearer"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==n?(i=n.formatMessage({id:"device_status.sgwc.session.default_bearer.ebi"}),e[2]=n,e[3]=i):i=e[3];const o=r?.ebi;let l;e[4]!==i||e[5]!==o?(l=a.jsx(Qe,{label:i,value:o}),e[4]=i,e[5]=o,e[6]=l):l=e[6];let c;e[7]!==n?(c=n.formatMessage({id:"device_status.sgwc.session.default_bearer.lebi"}),e[7]=n,e[8]=c):c=e[8];const u=r?.lebi;let d;e[9]!==c||e[10]!==u?(d=a.jsx(Qe,{label:c,value:u}),e[9]=c,e[10]=u,e[11]=d):d=e[11];let f;e[12]!==n?(f=n.formatMessage({id:"device_status.sgwc.session.default_bearer.rat"}),e[12]=n,e[13]=f):f=e[13];const p=r?.rat;let m;e[14]!==f||e[15]!==p?(m=a.jsx(Qe,{label:f,value:p}),e[14]=f,e[15]=p,e[16]=m):m=e[16];let h;e[17]!==n?(h=n.formatMessage({id:"device_status.sgwc.session.default_bearer.apn"}),e[17]=n,e[18]=h):h=e[18];const _=r?.apn;let g;e[19]!==h||e[20]!==_?(g=a.jsx(Qe,{label:h,value:_}),e[19]=h,e[20]=_,e[21]=g):g=e[21];let y;e[22]!==n?(y=n.formatMessage({id:"device_status.sgwc.session.default_bearer.ambr.uplink"}),e[22]=n,e[23]=y):y=e[23];const b=r?.ambr?.uplink;let x;e[24]!==y||e[25]!==b?(x=a.jsx(Qe,{label:y,value:b}),e[24]=y,e[25]=b,e[26]=x):x=e[26];let w;e[27]!==n?(w=n.formatMessage({id:"device_status.sgwc.session.default_bearer.ambr.downlink"}),e[27]=n,e[28]=w):w=e[28];const C=r?.ambr?.downlink;let k;e[29]!==w||e[30]!==C?(k=a.jsx(Qe,{label:w,value:C}),e[29]=w,e[30]=C,e[31]=k):k=e[31];let A;e[32]!==n?(A=n.formatMessage({id:"device_status.sgwc.session.default_bearer.qos"}),e[32]=n,e[33]=A):A=e[33];let P;e[34]!==n?(P=n.formatMessage({id:"device_status.sgwc.session.default_bearer.qos.ambr.uplink"}),e[34]=n,e[35]=P):P=e[35];const T=r?.qos?.ambr?.uplink;let j;e[36]!==P||e[37]!==T?(j=a.jsx(Qe,{label:P,value:T}),e[36]=P,e[37]=T,e[38]=j):j=e[38];let R;e[39]!==n?(R=n.formatMessage({id:"device_status.sgwc.session.default_bearer.qos.ambr.downlink"}),e[39]=n,e[40]=R):R=e[40];const D=r?.qos?.ambr?.downlink;let O;e[41]!==R||e[42]!==D?(O=a.jsx(Qe,{label:R,value:D}),e[41]=R,e[42]=D,e[43]=O):O=e[43];let N;e[44]!==n?(N=n.formatMessage({id:"device_status.sgwc.session.default_bearer.qos.arp.preemption_capability"}),e[44]=n,e[45]=N):N=e[45];const F=r?.qos?.arp?.preemption_capability;let U;e[46]!==N||e[47]!==F?(U=a.jsx(Qe,{label:N,value:F}),e[46]=N,e[47]=F,e[48]=U):U=e[48];let z;e[49]!==n?(z=n.formatMessage({id:"device_status.sgwc.session.default_bearer.qos.arp.preemption_vulnerability"}),e[49]=n,e[50]=z):z=e[50];const H=r?.qos?.arp?.preemption_vulnerability;let W;e[51]!==z||e[52]!==H?(W=a.jsx(Qe,{label:z,value:H}),e[51]=z,e[52]=H,e[53]=W):W=e[53];let K;e[54]!==n?(K=n.formatMessage({id:"device_status.sgwc.session.default_bearer.qos.arp.priority"}),e[54]=n,e[55]=K):K=e[55];const q=r?.qos?.arp?.priority;let X;e[56]!==K||e[57]!==q?(X=a.jsx(Qe,{label:K,value:q}),e[56]=K,e[57]=q,e[58]=X):X=e[58];let Q;e[59]!==n?(Q=n.formatMessage({id:"device_status.sgwc.session.default_bearer.qos.qci"}),e[59]=n,e[60]=Q):Q=e[60];const Y=r?.qos?.qci;let Z;e[61]!==Q||e[62]!==Y?(Z=a.jsx(Qe,{label:Q,value:Y}),e[61]=Q,e[62]=Y,e[63]=Z):Z=e[63];let re;e[64]!==j||e[65]!==O||e[66]!==U||e[67]!==W||e[68]!==X||e[69]!==Z?(re=a.jsxs(te,{children:[j,O,U,W,X,Z]}),e[64]=j,e[65]=O,e[66]=U,e[67]=W,e[68]=X,e[69]=Z,e[70]=re):re=e[70];let fe;e[71]!==A||e[72]!==re?(fe=a.jsx(xr,{elevation:3,disableGutters:!0,title:A,content:re}),e[71]=A,e[72]=re,e[73]=fe):fe=e[73];let de;e[74]!==m||e[75]!==g||e[76]!==x||e[77]!==k||e[78]!==l||e[79]!==fe||e[80]!==d?(de=a.jsxs(te,{children:[l,d,m,g,x,k,fe]}),e[74]=m,e[75]=g,e[76]=x,e[77]=k,e[78]=l,e[79]=fe,e[80]=d,e[81]=de):de=e[81];let se;return e[82]!==s||e[83]!==de?(se=a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,title:s,content:de}),e[82]=s,e[83]=de,e[84]=se):se=e[84],se}function zat(){const t=he.c(7),e=Gr(),r=Ye();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[0]=n):n=t[0];let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(zh,{}),t[1]=s):s=t[1];let i;t[2]!==r?(i=l=>a.jsx(gt,{sx:{overflow:"auto",height:"100%"},children:a.jsx(Jn,{exclusive:!0,children:l.map(c=>a.jsx(xr,{sx:{borderBottom:"1px solid",borderColor:"divider",boxShadow:0,borderRadius:0,"&:last-of-type":{borderRadius:0}},title:`${r.formatMessage({id:"device_status.sgwc.session"})} - ${c.id}`,content:a.jsxs(te,{children:[a.jsxs(te,{children:[a.jsx(Qe,{label:r.formatMessage({id:"device_status.sgwc.session.id"}),value:c.id}),a.jsx(Qe,{label:r.formatMessage({id:"device_status.sgwc.session.id_type"}),value:c.id_type}),a.jsx(Qe,{label:r.formatMessage({id:"device_status.sgwc.session.upf_ip"}),value:c.upf_ip}),a.jsx(Qe,{label:r.formatMessage({id:"device_status.sgwc.session.mme_ip"}),value:c.mme_ip}),a.jsx(Qe,{label:r.formatMessage({id:"device_status.sgwc.session.pgw_ip"}),value:c.pgw_ip})]}),c.default_bearer&&a.jsx(Bat,{defaultBearer:c.default_bearer}),c.dedicated_bearers&&c.dedicated_bearers.length>0&&a.jsx(Uat,{dedicatedBearers:c.dedicated_bearers})]})},c.id))})}),t[2]=r,t[3]=i):i=t[3];let o;return t[4]!==e.sgwcStatus||t[5]!==i?(o=a.jsx(I.Suspense,{fallback:n,children:a.jsx(Qt,{resolve:e.sgwcStatus,errorElement:s,children:i})}),t[4]=e.sgwcStatus,t[5]=i,t[6]=o):o=t[6],o}function qat(){const t=he.c(7),e=Ye(),r=Gr();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[0]=n):n=t[0];let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(zh,{}),t[1]=s):s=t[1];let i;t[2]!==e?(i=l=>a.jsx(gt,{sx:{overflow:"auto",height:"100%"},children:a.jsx(Jn,{exclusive:!0,children:l.map(c=>a.jsx(xr,{sx:{borderBottom:"1px solid",borderColor:"divider",boxShadow:0,borderRadius:0,"&:last-of-type":{borderRadius:0}},title:`${e.formatMessage({id:"device_status.smf.pduSession"})} - ${c.pduSessionId}`,content:a.jsxs(te,{children:[a.jsxs(te,{children:[a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.pduSessionId"}),value:c.pduSessionId}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.pduSessionType"}),value:c.pduSessionType}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.supi"}),value:c.supi}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.dnn"}),value:c.dnn}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.ue_ipv6_prefix"}),value:c.ue_ipv6_prefix}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.ue_ipv4_address"}),value:c.ue_ipv4_address}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.detectedMacAddresses"}),value:c.detected_mac_addresses}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.sNssai"}),value:c.sNssai.sd?`${c.sNssai.sst}-${c.sNssai.sd}`:c.sNssai.sst})]}),c.n4c&&c.n4c.local_fseid&&a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,title:e.formatMessage({id:"device_status.smf.n4c.localFseid"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.n4c.localFseid.ipv4"}),value:c.n4c.local_fseid.ipv4}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.n4c.localFseid.ipv6"}),value:c.n4c.local_fseid.ipv6}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.n4c.localFseid.seid"}),value:c.n4c.local_fseid.seid})]})}),c.n4c&&c.n4c.remote_fseid&&a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,title:e.formatMessage({id:"device_status.smf.n4c.remoteFseid"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.n4c.remoteFseid.ipv4"}),value:c.n4c.remote_fseid.ipv4}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.n4c.remoteFseid.ipv6"}),value:c.n4c.remote_fseid.ipv6}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.n4c.remoteFseid.seid"}),value:c.n4c.remote_fseid.seid})]})}),c.charging&&a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,title:e.formatMessage({id:"device_status.smf.charging"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.charging.chargingChar"}),value:c.charging.charging_char}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.charging.chargingDataRef"}),value:c.charging.charging_data_ref}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.smf.charging.sequenceNum"}),value:c.charging.sequence_num})]})})]})},c.pduSessionId))})}),t[2]=e,t[3]=i):i=t[3];let o;return t[4]!==r.smfStatus||t[5]!==i?(o=a.jsx(I.Suspense,{fallback:n,children:a.jsx(Qt,{resolve:r.smfStatus,errorElement:s,children:i})}),t[4]=r.smfStatus,t[5]=i,t[6]=o):o=t[6],o}function Vat(t){const e=he.c(44),{aaa:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.udrSupiStatus.aaa"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==n?(i=n.formatMessage({id:"device_status.udrSupiStatus.aaa.dataSubscriptionNotificationFailure"}),e[2]=n,e[3]=i):i=e[3];const o=r?.data_subscription_notification_failure;let l;e[4]!==i||e[5]!==o?(l=a.jsx(Qe,{label:i,value:o}),e[4]=i,e[5]=o,e[6]=l):l=e[6];let c;e[7]!==n?(c=n.formatMessage({id:"device_status.udrSupiStatus.aaa.host"}),e[7]=n,e[8]=c):c=e[8];const u=r?.host;let d;e[9]!==c||e[10]!==u?(d=a.jsx(Qe,{label:c,value:u}),e[9]=c,e[10]=u,e[11]=d):d=e[11];let f;e[12]!==n?(f=n.formatMessage({id:"device_status.udrSupiStatus.aaa.plmn"}),e[12]=n,e[13]=f):f=e[13];const p=`${r?.plmn.mcc}${r?.plmn.mnc}`;let m;e[14]!==f||e[15]!==p?(m=a.jsx(Qe,{label:f,value:p}),e[14]=f,e[15]=p,e[16]=m):m=e[16];let h;e[17]!==n?(h=n.formatMessage({id:"device_status.udrSupiStatus.aaa.ratType"}),e[17]=n,e[18]=h):h=e[18];const _=r?.rat_type;let g;e[19]!==h||e[20]!==_?(g=a.jsx(Qe,{label:h,value:_}),e[19]=h,e[20]=_,e[21]=g):g=e[21];let y;e[22]!==n?(y=n.formatMessage({id:"device_status.udrSupiStatus.aaa.realm"}),e[22]=n,e[23]=y):y=e[23];const b=r?.realm;let x;e[24]!==y||e[25]!==b?(x=a.jsx(Qe,{label:y,value:b}),e[24]=y,e[25]=b,e[26]=x):x=e[26];let w;e[27]!==n?(w=n.formatMessage({id:"device_status.udrSupiStatus.aaa.registeredAt"}),e[27]=n,e[28]=w):w=e[28];const C=r?.registered_at;let k;e[29]!==C?(k=Mr(C),e[29]=C,e[30]=k):k=e[30];let A;e[31]!==w||e[32]!==k?(A=a.jsx(Qe,{label:w,value:k}),e[31]=w,e[32]=k,e[33]=A):A=e[33];let P;e[34]!==m||e[35]!==g||e[36]!==x||e[37]!==A||e[38]!==l||e[39]!==d?(P=a.jsxs(te,{children:[l,d,m,g,x,A]}),e[34]=m,e[35]=g,e[36]=x,e[37]=A,e[38]=l,e[39]=d,e[40]=P):P=e[40];let T;return e[41]!==s||e[42]!==P?(T=a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,title:s,content:P}),e[41]=s,e[42]=P,e[43]=T):T=e[43],T}function Hat(t){const e=he.c(44),{amf:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.udrSupiStatus.amf"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==n?(i=n.formatMessage({id:"device_status.udrSupiStatus.amf.amfInstanceID"}),e[2]=n,e[3]=i):i=e[3];const o=r?.amf_instance_id;let l;e[4]!==i||e[5]!==o?(l=a.jsx(Qe,{label:i,value:o}),e[4]=i,e[5]=o,e[6]=l):l=e[6];let c;e[7]!==n?(c=n.formatMessage({id:"device_status.udrSupiStatus.amf.pei"}),e[7]=n,e[8]=c):c=e[8];const u=r?.pei;let d;e[9]!==c||e[10]!==u?(d=a.jsx(Qe,{label:c,value:u}),e[9]=c,e[10]=u,e[11]=d):d=e[11];let f;e[12]!==n?(f=n.formatMessage({id:"device_status.udrSupiStatus.amf.dataSubscriptionNotificationFailure"}),e[12]=n,e[13]=f):f=e[13];const p=r?.data_subscription_notification_failure;let m;e[14]!==f||e[15]!==p?(m=a.jsx(Qe,{label:f,value:p}),e[14]=f,e[15]=p,e[16]=m):m=e[16];let h;e[17]!==n?(h=n.formatMessage({id:"device_status.udrSupiStatus.amf.ratType"}),e[17]=n,e[18]=h):h=e[18];const _=r?.rat_type;let g;e[19]!==h||e[20]!==_?(g=a.jsx(Qe,{label:h,value:_}),e[19]=h,e[20]=_,e[21]=g):g=e[21];let y;e[22]!==n?(y=n.formatMessage({id:"device_status.udrSupiStatus.amf.registeredAt"}),e[22]=n,e[23]=y):y=e[23];const b=r?.registered_at;let x;e[24]!==b?(x=Mr(b),e[24]=b,e[25]=x):x=e[25];let w;e[26]!==y||e[27]!==x?(w=a.jsx(Qe,{label:y,value:x}),e[26]=y,e[27]=x,e[28]=w):w=e[28];let C;e[29]!==m||e[30]!==g||e[31]!==w||e[32]!==l||e[33]!==d?(C=a.jsxs(te,{children:[l,d,m,g,w]}),e[29]=m,e[30]=g,e[31]=w,e[32]=l,e[33]=d,e[34]=C):C=e[34];let k;e[35]!==r||e[36]!==n?(k=r?.guami&&a.jsx(xr,{elevation:3,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.udrSupiStatus.amf.guami"}),content:a.jsxs(te,{spacing:2,children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.amf.guami.amfID"}),value:r.guami.amf_id}),a.jsx(xr,{elevation:4,expanded:!0,disableGutters:!0,title:n.formatMessage({id:"device_status.udrSupiStatus.amf.guami.plmn"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.amf.guami.plmn.mcc"}),value:r.guami.plmn.mcc}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.amf.guami.plmn.mnc"}),value:r.guami.plmn.mnc}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.amf.guami.plmn.nid"}),value:r.guami.plmn.nid})]})})]})}),e[35]=r,e[36]=n,e[37]=k):k=e[37];let A;e[38]!==C||e[39]!==k?(A=a.jsxs(te,{spacing:2,children:[C,k]}),e[38]=C,e[39]=k,e[40]=A):A=e[40];let P;return e[41]!==s||e[42]!==A?(P=a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,title:s,content:A}),e[41]=s,e[42]=A,e[43]=P):P=e[43],P}function Gat(t){const e=he.c(56),{mme:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.udrSupiStatus.mme"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==n?(i=n.formatMessage({id:"device_status.udrSupiStatus.mme.host"}),e[2]=n,e[3]=i):i=e[3];const o=r?.host;let l;e[4]!==i||e[5]!==o?(l=a.jsx(Qe,{label:i,value:o}),e[4]=i,e[5]=o,e[6]=l):l=e[6];let c;e[7]!==n?(c=n.formatMessage({id:"device_status.udrSupiStatus.mme.realm"}),e[7]=n,e[8]=c):c=e[8];const u=r?.realm;let d;e[9]!==c||e[10]!==u?(d=a.jsx(Qe,{label:c,value:u}),e[9]=c,e[10]=u,e[11]=d):d=e[11];let f;e[12]!==n?(f=n.formatMessage({id:"device_status.udrSupiStatus.mme.pei"}),e[12]=n,e[13]=f):f=e[13];const p=r?.pei;let m;e[14]!==f||e[15]!==p?(m=a.jsx(Qe,{label:f,value:p}),e[14]=f,e[15]=p,e[16]=m):m=e[16];let h;e[17]!==n?(h=n.formatMessage({id:"device_status.udrSupiStatus.mme.registeredForSms"}),e[17]=n,e[18]=h):h=e[18];const _=r?.registered_for_sms;let g;e[19]!==h||e[20]!==_?(g=a.jsx(Qe,{label:h,value:_}),e[19]=h,e[20]=_,e[21]=g):g=e[21];let y;e[22]!==n?(y=n.formatMessage({id:"device_status.udrSupiStatus.mme.dataSubscriptionNotificationFailure"}),e[22]=n,e[23]=y):y=e[23];const b=r?.data_subscription_notification_failure;let x;e[24]!==y||e[25]!==b?(x=a.jsx(Qe,{label:y,value:b}),e[24]=y,e[25]=b,e[26]=x):x=e[26];let w;e[27]!==n?(w=n.formatMessage({id:"device_status.udrSupiStatus.mme.ratType"}),e[27]=n,e[28]=w):w=e[28];const C=r?.rat_type;let k;e[29]!==w||e[30]!==C?(k=a.jsx(Qe,{label:w,value:C}),e[29]=w,e[30]=C,e[31]=k):k=e[31];let A;e[32]!==n?(A=n.formatMessage({id:"device_status.udrSupiStatus.mme.plmn"}),e[32]=n,e[33]=A):A=e[33];const P=`${r?.plmn.mcc}${r?.plmn.mnc}`;let T;e[34]!==A||e[35]!==P?(T=a.jsx(Qe,{label:A,value:P}),e[34]=A,e[35]=P,e[36]=T):T=e[36];let j;e[37]!==n?(j=n.formatMessage({id:"device_status.udrSupiStatus.mme.registeredAt"}),e[37]=n,e[38]=j):j=e[38];const R=r?.registered_at;let D;e[39]!==R?(D=Mr(R),e[39]=R,e[40]=D):D=e[40];let O;e[41]!==j||e[42]!==D?(O=a.jsx(Qe,{label:j,value:D}),e[41]=j,e[42]=D,e[43]=O):O=e[43];let N;e[44]!==m||e[45]!==g||e[46]!==x||e[47]!==k||e[48]!==T||e[49]!==O||e[50]!==l||e[51]!==d?(N=a.jsxs(te,{children:[l,d,m,g,x,k,T,O]}),e[44]=m,e[45]=g,e[46]=x,e[47]=k,e[48]=T,e[49]=O,e[50]=l,e[51]=d,e[52]=N):N=e[52];let F;return e[53]!==s||e[54]!==N?(F=a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,title:s,content:N}),e[53]=s,e[54]=N,e[55]=F):F=e[55],F}function Wat(t){const e=he.c(13),{mwdStatus:r}=t,n=Ye();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={borderRadius:1},e[0]=s):s=e[0];let i;e[1]!==n?(i=n.formatMessage({id:"device_status.udrInfo.mwdStatus"}),e[1]=n,e[2]=i):i=e[2];let o;e[3]!==n?(o=n.formatMessage({id:"device_status.udrInfo.mwdStatus.host"}),e[3]=n,e[4]=o):o=e[4];let l;e[5]!==r?(l=r.map(Yat),e[5]=r,e[6]=l):l=e[6];let c;e[7]!==o||e[8]!==l?(c=a.jsx(Qe,{label:o,value:l}),e[7]=o,e[8]=l,e[9]=c):c=e[9];let u;return e[10]!==i||e[11]!==c?(u=a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,sx:s,title:i,content:c}),e[10]=i,e[11]=c,e[12]=u):u=e[12],u}function Yat(t){return t.host}function Kat(t){const e=he.c(53),{sgsn:r}=t,n=Ye();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={borderRadius:1},e[0]=s):s=e[0];let i;e[1]!==n?(i=n.formatMessage({id:"device_status.udrSupiStatus.sgsn"}),e[1]=n,e[2]=i):i=e[2];let o;e[3]!==n?(o=n.formatMessage({id:"device_status.udrSupiStatus.sgsn.dataSubscriptionNotificationFailure"}),e[3]=n,e[4]=o):o=e[4];const l=`${r?.data_subscription_notification_failure}`;let c;e[5]!==o||e[6]!==l?(c=a.jsx(Qe,{label:o,value:l}),e[5]=o,e[6]=l,e[7]=c):c=e[7];let u;e[8]!==n?(u=n.formatMessage({id:"device_status.udrSupiStatus.sgsn.plmn"}),e[8]=n,e[9]=u):u=e[9];const d=`${r?.plmn.mcc}${r?.plmn.mnc}`;let f;e[10]!==u||e[11]!==d?(f=a.jsx(Qe,{label:u,value:d}),e[10]=u,e[11]=d,e[12]=f):f=e[12];let p;e[13]!==n?(p=n.formatMessage({id:"device_status.udrSupiStatus.sgsn.ratType"}),e[13]=n,e[14]=p):p=e[14];const m=r?.rat_type;let h;e[15]!==m||e[16]!==p?(h=a.jsx(Qe,{label:p,value:m}),e[15]=m,e[16]=p,e[17]=h):h=e[17];let _;e[18]!==n?(_=n.formatMessage({id:"device_status.udrSupiStatus.sgsn.registeredAt"}),e[18]=n,e[19]=_):_=e[19];const g=r?.registered_at;let y;e[20]!==g?(y=Mr(g),e[20]=g,e[21]=y):y=e[21];let b;e[22]!==_||e[23]!==y?(b=a.jsx(Qe,{label:_,value:y}),e[22]=_,e[23]=y,e[24]=b):b=e[24];let x;e[25]!==n||e[26]!==r?(x=r&&"host"in r&&a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.sgsn.host"}),value:r.host}),e[25]=n,e[26]=r,e[27]=x):x=e[27];let w;e[28]!==n||e[29]!==r?(w=r&&"pei"in r&&a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.sgsn.pei"}),value:r.pei}),e[28]=n,e[29]=r,e[30]=w):w=e[30];let C;e[31]!==n||e[32]!==r?(C=r&&"realm"in r&&a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.sgsn.realm"}),value:r.realm}),e[31]=n,e[32]=r,e[33]=C):C=e[33];let k;e[34]!==n||e[35]!==r?(k=r&&"address"in r&&a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.sgsn.address"}),value:r.address}),e[34]=n,e[35]=r,e[36]=k):k=e[36];let A;e[37]!==n||e[38]!==r?(A=r&&"number"in r&&a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.sgsn.number"}),value:r.number}),e[37]=n,e[38]=r,e[39]=A):A=e[39];let P;e[40]!==h||e[41]!==b||e[42]!==x||e[43]!==w||e[44]!==C||e[45]!==k||e[46]!==A||e[47]!==c||e[48]!==f?(P=a.jsxs(te,{children:[c,f,h,b,x,w,C,k,A]}),e[40]=h,e[41]=b,e[42]=x,e[43]=w,e[44]=C,e[45]=k,e[46]=A,e[47]=c,e[48]=f,e[49]=P):P=e[49];let T;return e[50]!==i||e[51]!==P?(T=a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,sx:s,title:i,content:P}),e[50]=i,e[51]=P,e[52]=T):T=e[52],T}function Qat(t){const e=he.c(5),{smf:r}=t,n=Ye();let s;e[0]!==n||e[1]!==r?(s=r&&r.length>0&&a.jsx(Jn,{spacing:1,children:r.map(o=>{const{smf_instance_id:l,pdu_sessions:c}=o;return a.jsx(xr,{elevation:2,title:n.formatMessage({id:"device_status.udrSupiStatus.smf"},{id:l}),content:a.jsxs(te,{children:[a.jsx(_e,{type:"body1",color:"grey.600",children:n.formatMessage({id:"device_status.udrSupiStatus.smf.pdu_sessions"})}),a.jsx(Jn,{spacing:1,children:c.map(u=>{const{pdu_session_id:d,dnn:f,emergency_services:p,registered_at:m,single_nssai:h}=u;return a.jsx(xr,{elevation:3,title:n.formatMessage({id:"device_status.udrSupiStatus.smf.pdu_session"},{id:d}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.smf.pdu_session.dnn"}),value:f}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.smf.pdu_session.emergency_services"}),value:p}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.smf.pdu_session.registered_at"}),value:Mr(m)}),a.jsx(xr,{expanded:!0,elevation:4,title:n.formatMessage({id:"device_status.udrSupiStatus.smf.pdu_session.single_nssai"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.smf.pdu_session.single_nssai.sd"}),value:h.sd}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.udrSupiStatus.smf.pdu_session.single_nssai.sst"}),value:h.sst})]})})]})},d)})})]})},l)})}),e[0]=n,e[1]=r,e[2]=s):s=e[2];let i;return e[3]!==s?(i=a.jsx(a.Fragment,{children:s}),e[3]=s,e[4]=i):i=e[4],i}function Zat(t){const e=he.c(38),{vlr:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.udrSupiStatus.vlr"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==n?(i=n.formatMessage({id:"device_status.udrSupiStatus.vlr.data_subscription_notification_failure"}),e[2]=n,e[3]=i):i=e[3];const o=r?.data_subscription_notification_failure;let l;e[4]!==i||e[5]!==o?(l=a.jsx(Qe,{label:i,value:o}),e[4]=i,e[5]=o,e[6]=l):l=e[6];let c;e[7]!==n?(c=n.formatMessage({id:"device_status.udrSupiStatus.vlr.msc_number"}),e[7]=n,e[8]=c):c=e[8];const u=r?.msc_number;let d;e[9]!==c||e[10]!==u?(d=a.jsx(Qe,{label:c,value:u}),e[9]=c,e[10]=u,e[11]=d):d=e[11];let f;e[12]!==n?(f=n.formatMessage({id:"device_status.udrSupiStatus.vlr.number"}),e[12]=n,e[13]=f):f=e[13];const p=r?.number;let m;e[14]!==f||e[15]!==p?(m=a.jsx(Qe,{label:f,value:p}),e[14]=f,e[15]=p,e[16]=m):m=e[16];let h;e[17]!==n?(h=n.formatMessage({id:"device_status.udrSupiStatus.vlr.plmn"}),e[17]=n,e[18]=h):h=e[18];const _=`${r?.plmn.mcc}${r?.plmn.mnc}`;let g;e[19]!==h||e[20]!==_?(g=a.jsx(Qe,{label:h,value:_}),e[19]=h,e[20]=_,e[21]=g):g=e[21];let y;e[22]!==n?(y=n.formatMessage({id:"device_status.udrSupiStatus.vlr.registered_at"}),e[22]=n,e[23]=y):y=e[23];const b=r?.registered_at;let x;e[24]!==b?(x=Mr(b),e[24]=b,e[25]=x):x=e[25];let w;e[26]!==y||e[27]!==x?(w=a.jsx(Qe,{label:y,value:x}),e[26]=y,e[27]=x,e[28]=w):w=e[28];let C;e[29]!==m||e[30]!==g||e[31]!==w||e[32]!==l||e[33]!==d?(C=a.jsx(te,{spacing:2,children:a.jsxs(te,{children:[l,d,m,g,w]})}),e[29]=m,e[30]=g,e[31]=w,e[32]=l,e[33]=d,e[34]=C):C=e[34];let k;return e[35]!==s||e[36]!==C?(k=a.jsx(xr,{elevation:2,expanded:!0,disableGutters:!0,title:s,content:C}),e[35]=s,e[36]=C,e[37]=k):k=e[37],k}function Xat(){const t=he.c(4),e=Gr();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[0]=r):r=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(zh,{}),t[1]=n):n=t[1];let s;return t[2]!==e.udrStatus?(s=a.jsx(I.Suspense,{fallback:r,children:a.jsx(Qt,{resolve:e.udrStatus,errorElement:n,children:Jat})}),t[2]=e.udrStatus,t[3]=s):s=t[3],s}function Jat(t){const{udrSupiStatus:e,mwdStatus:r}=t;return a.jsx(Kt,{sx:{overflow:"auto",height:"100%"},children:a.jsxs(te,{children:[e.location.aaa&&a.jsx(Vat,{aaa:e.location.aaa}),e.location.amf&&a.jsx(Hat,{amf:e.location.amf}),e.location.mme&&a.jsx(Gat,{mme:e.location.mme}),e.location.vlr&&a.jsx(Zat,{vlr:e.location.vlr}),e.location.sgsn&&a.jsx(Kat,{sgsn:e.location.sgsn}),r.length>0&&a.jsx(Wat,{mwdStatus:r}),e.sessions.smf&&e.sessions.smf.length>0&&a.jsx(Qat,{smf:e.sessions.smf})]})})}function elt(t){const e=he.c(10),{farList:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.upfSession.far"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==s?(i=a.jsx(_e,{type:"body1",color:"grey.600",children:s}),e[2]=s,e[3]=i):i=e[3];let o;e[4]!==r||e[5]!==n?(o=r&&a.jsx(Jn,{exclusive:!1,spacing:1,children:r.map(c=>a.jsx(xr,{elevation:2,title:`${n.formatMessage({id:"device_status.upfSession.far.item_id"})} - ${c.id}`,content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.far.id"}),value:c.id}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.far.apply_actions"}),value:c.apply_actions}),c.forwarding_params&&a.jsx(xr,{elevation:3,disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.upfSession.far.forwarding_params"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.far.forwarding_params.network_instance"}),value:c.forwarding_params.network_instance}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.far.forwarding_params.destination_iface"}),value:c.forwarding_params.destination_iface}),c.forwarding_params.ohc&&a.jsx(xr,{disableGutters:!0,expanded:!0,title:n.formatMessage({id:"device_status.upfSession.far.forwarding_params.ohc"}),content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.far.forwarding_params.ohc.hdr"}),value:c.forwarding_params.ohc.hdr}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.far.forwarding_params.ohc.teid"}),value:c.forwarding_params.ohc.teid}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.far.forwarding_params.ohc.ipv4"}),value:c.forwarding_params.ohc.ipv4})]})})]})})]})},c.id))}),e[4]=r,e[5]=n,e[6]=o):o=e[6];let l;return e[7]!==i||e[8]!==o?(l=a.jsxs(te,{children:[i,o]}),e[7]=i,e[8]=o,e[9]=l):l=e[9],l}function tlt(t){const e=he.c(10),{pdrList:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"device_status.upfSession.pdr"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==s?(i=a.jsx(_e,{type:"body1",color:"grey.600",children:s}),e[2]=s,e[3]=i):i=e[3];let o;e[4]!==n||e[5]!==r?(o=r&&a.jsx(Jn,{exclusive:!1,spacing:1,children:r.map(c=>a.jsx(xr,{elevation:2,title:`${n.formatMessage({id:"device_status.upfSession.pdr.item_id"})} - ${c.id}`,content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.id"}),value:c.id}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.far_id"}),value:c.far_id}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.ohr"}),value:c.ohr}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.source_iface"}),value:c.source_iface}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.network_instance"}),value:c.network_instance}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.qfi"}),value:c.qfi}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.vrf_index"}),value:c.vrf_index}),c.pdi&&a.jsx(xr,{elevation:3,title:`${n.formatMessage({id:"device_status.upfSession.pdr.pdi"})}`,content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.pdi.pdi_type"}),value:c.pdi.pdi_type}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.pdi.ip"}),value:c.pdi.ip})," ",a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.pdi.teid"}),value:c.pdi.teid})," ",a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.pdi.vrf"}),value:c.pdi.vrf})]})}),c.ue_ip_addr&&a.jsx(xr,{elevation:3,title:`${n.formatMessage({id:"device_status.upfSession.pdr.ue_ip_addr"})}`,content:a.jsxs(te,{children:[a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.ue_ip_addr.ipv4"}),value:c.ue_ip_addr.ipv4}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.ue_ip_addr.ipv6"}),value:c.ue_ip_addr.ipv6}),a.jsx(Qe,{label:n.formatMessage({id:"device_status.upfSession.pdr.ue_ip_addr.sd"}),value:c.ue_ip_addr.sd})]})})]})},c.id))}),e[4]=n,e[5]=r,e[6]=o):o=e[6];let l;return e[7]!==i||e[8]!==o?(l=a.jsxs(te,{spacing:1,children:[i,o]}),e[7]=i,e[8]=o,e[9]=l):l=e[9],l}function rlt(){const t=he.c(7),e=Ye(),r=Gr();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[0]=n):n=t[0];let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(zh,{}),t[1]=s):s=t[1];let i;t[2]!==e?(i=l=>a.jsx(gt,{sx:{overflow:"auto",height:"100%"},children:a.jsx(Jn,{exclusive:!1,children:l.map(c=>a.jsx(xr,{title:`${e.formatMessage({id:"device_status.upfSession.seid"})} - ${c.seid}`,sx:{borderBottom:"1px solid",borderColor:"divider",boxShadow:0,borderRadius:0,"&:last-of-type":{borderRadius:0}},content:a.jsxs(te,{children:[a.jsxs(te,{children:[a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.seid"}),value:c.seid}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.apn_dnn"}),value:c.apn_dnn}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.pdn_type"}),value:c.pdn_type}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.framed_routes"}),value:c.framed_routes}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.managed_routes"}),value:c.managed_routes}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.mac_addrs"}),value:c.mac_addrs})]}),a.jsx(xr,{elevation:2,title:`${e.formatMessage({id:"device_status.upfSessioon.user_id"})}`,content:a.jsxs(te,{children:[a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.user_id.imsi"}),value:c.user_id?.imsi}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.user_id.imei"}),value:c.user_id?.imei}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.user_id.msisdn"}),value:c.user_id?.msisdn}),a.jsx(Qe,{label:e.formatMessage({id:"device_status.upfSession.user_id.nai"}),value:c.user_id?.nai})]})}),c.pdr&&c.pdr.length>0&&a.jsx(tlt,{pdrList:c.pdr}),c.far&&c.far.length>0&&a.jsx(elt,{farList:c.far})]})},c.seid))})}),t[2]=e,t[3]=i):i=t[3];let o;return t[4]!==r.upfStatus||t[5]!==i?(o=a.jsx(I.Suspense,{fallback:n,children:a.jsx(Qt,{resolve:r.upfStatus,errorElement:s,children:i})}),t[4]=r.upfStatus,t[5]=i,t[6]=o):o=t[6],o}var BI,NX;function nlt(){if(NX)return BI;NX=1;var t=J$(),e=lv(),r="[object RegExp]";function n(s){return e(s)&&t(s)==r}return BI=n,BI}var zI,FX;function slt(){if(FX)return zI;FX=1;var t=nlt(),e=jh(),r=rO(),n=r&&r.isRegExp,s=n?e(n):t;return zI=s,zI}var qI,UX;function ilt(){if(UX)return qI;UX=1;var t=dge(),e=t("length");return qI=e,qI}var VI,BX;function olt(){if(BX)return VI;BX=1;var t="\\ud800-\\udfff",e="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",s=e+r+n,i="\\ufe0e\\ufe0f",o="["+t+"]",l="["+s+"]",c="\\ud83c[\\udffb-\\udfff]",u="(?:"+l+"|"+c+")",d="[^"+t+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",m="\\u200d",h=u+"?",_="["+i+"]?",g="(?:"+m+"(?:"+[d,f,p].join("|")+")"+_+h+")*",y=_+h+g,b="(?:"+[d+l+"?",l,f,p,o].join("|")+")",x=RegExp(c+"(?="+c+")|"+b+y,"g");function w(C){for(var k=x.lastIndex=0;x.test(C);)++k;return k}return VI=w,VI}var HI,zX;function alt(){if(zX)return HI;zX=1;var t=ilt(),e=yte(),r=olt();function n(s){return e(s)?r(s):t(s)}return HI=n,HI}var GI,qX;function llt(){if(qX)return GI;qX=1;var t=/\s/;function e(r){for(var n=r.length;n--&&t.test(r.charAt(n)););return n}return GI=e,GI}var WI,VX;function clt(){if(VX)return WI;VX=1;var t=llt(),e=/^\s+/;function r(n){return n&&n.slice(0,t(n)+1).replace(e,"")}return WI=r,WI}var YI,HX;function ult(){if(HX)return YI;HX=1;var t=clt(),e=Qd(),r=hte(),n=NaN,s=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,l=parseInt;function c(u){if(typeof u=="number")return u;if(r(u))return n;if(e(u)){var d=typeof u.valueOf=="function"?u.valueOf():u;u=e(d)?d+"":d}if(typeof u!="string")return u===0?u:+u;u=t(u);var f=i.test(u);return f||o.test(u)?l(u.slice(2),f?2:8):s.test(u)?n:+u}return YI=c,YI}var KI,GX;function dlt(){if(GX)return KI;GX=1;var t=ult(),e=1/0,r=17976931348623157e292;function n(s){if(!s)return s===0?s:0;if(s=t(s),s===e||s===-e){var i=s<0?-1:1;return i*r}return s===s?s:0}return KI=n,KI}var QI,WX;function flt(){if(WX)return QI;WX=1;var t=dlt();function e(r){var n=t(r),s=n%1;return n===n?s?n-s:n:0}return QI=e,QI}var ZI,YX;function plt(){if(YX)return ZI;YX=1;var t=fge(),e=pge(),r=yte(),n=Qd(),s=slt(),i=alt(),o=mge(),l=flt(),c=hge(),u=30,d="...",f=/\w*$/;function p(m,h){var _=u,g=d;if(n(h)){var y="separator"in h?h.separator:y;_="length"in h?l(h.length):_,g="omission"in h?t(h.omission):g}m=c(m);var b=m.length;if(r(m)){var x=o(m);b=x.length}if(_>=b)return m;var w=_-i(g);if(w<1)return g;var C=x?e(x,0,w).join(""):m.slice(0,w);if(y===void 0)return C+g;if(x&&(w+=C.length-w),s(y)){if(m.slice(w).search(y)){var k,A=C;for(y.global||(y=RegExp(y.source,c(f.exec(y))+"g")),y.lastIndex=0;k=y.exec(A);)var P=k.index;C=C.slice(0,P===void 0?w:P)}}else if(m.indexOf(t(y),w)!=w){var T=C.lastIndexOf(y);T>-1&&(C=C.slice(0,T))}return C+g}return ZI=p,ZI}var mlt=plt();const hlt=Pi(mlt),glt=()=>{const t=he.c(46),e=Ye(),r=Gr(),n=_lt;let s;t[0]!==e?(s=e.formatMessage({id:"landing.alerts.title.severity"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==e?(i=R=>a.jsx(Lr,{severity:n(R.labels.severity),message:e.formatMessage({id:`landing.alerts.severity.${R.labels.severity}`}),sx:{maxWidth:"160px",".MuiAlert-message":{wordBreak:"keep-all"}}}),t[2]=e,t[3]=i):i=t[3];let o;t[4]!==s||t[5]!==i?(o={key:"labels.severity",label:s,cellRender:i,wordBreak:"keep-all"},t[4]=s,t[5]=i,t[6]=o):o=t[6];let l;t[7]!==e?(l=e.formatMessage({id:"landing.alerts.title.name"}),t[7]=e,t[8]=l):l=t[8];let c;t[9]!==l?(c={key:"labels.alertname",label:l,cellRender:vlt},t[9]=l,t[10]=c):c=t[10];let u;t[11]!==e?(u=e.formatMessage({id:"landing.alerts.title.summary"}),t[11]=e,t[12]=u):u=t[12];let d;t[13]!==u?(d={key:"annotations.summary",label:u,cellRender:ylt},t[13]=u,t[14]=d):d=t[14];let f;t[15]!==e?(f=e.formatMessage({id:"landing.alerts.title.state"}),t[15]=e,t[16]=f):f=t[16];let p;t[17]!==f?(p={key:"status.state",label:f},t[17]=f,t[18]=p):p=t[18];let m;t[19]!==e?(m=e.formatMessage({id:"landing.alerts.title.firedAt"}),t[19]=e,t[20]=m):m=t[20];let h;t[21]!==m?(h={key:"startsAt",label:m,cellRender:blt},t[21]=m,t[22]=h):h=t[22];let _;t[23]!==e?(_=e.formatMessage({id:"landing.alerts.title.stillActiveAt"}),t[23]=e,t[24]=_):_=t[24];let g;t[25]!==_?(g={key:"updatedAt",label:_,cellRender:xlt},t[25]=_,t[26]=g):g=t[26];let y;t[27]!==h||t[28]!==g||t[29]!==o||t[30]!==c||t[31]!==d||t[32]!==p?(y=[o,c,d,p,h,g],t[27]=h,t[28]=g,t[29]=o,t[30]=c,t[31]=d,t[32]=p,t[33]=y):y=t[33];const b=y;let x;t[34]===Symbol.for("react.memo_cache_sentinel")?(x={flex:"1 1 auto"},t[34]=x):x=t[34];let w;t[35]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(Dt,{variant:"rounded",sx:{height:"52px"}}),t[35]=w):w=t[35];let C;t[36]===Symbol.for("react.memo_cache_sentinel")?(C=a.jsx(Dt,{variant:"rounded",sx:{height:"52px"}}),t[36]=C):C=t[36];let k;t[37]===Symbol.for("react.memo_cache_sentinel")?(k=a.jsx(Dt,{variant:"rounded",sx:{height:"52px"}}),t[37]=k):k=t[37];let A;t[38]===Symbol.for("react.memo_cache_sentinel")?(A=a.jsxs(te,{sx:x,spacing:2,children:[w,C,k,a.jsx(Dt,{variant:"rounded",sx:{height:"52px"}})]}),t[38]=A):A=t[38];let P;t[39]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(Tr,{}),t[39]=P):P=t[39];let T;t[40]!==b||t[41]!==e?(T=R=>a.jsxs(a.Fragment,{children:[R.length===0&&a.jsx(Lr,{severity:"info",title:e.formatMessage({id:"landing.alerts.no_alerts"})}),R.length>0&&a.jsx(Jn,{exclusive:!1,spacing:2,children:Object.entries(Kze(R)).map(D=>{const[O,N]=D,{items:F,counts:U}=N,{total:z,...H}=U;return a.jsx(xr,{title:a.jsxs(te,{direction:"row",align:"center",spacing:1.5,children:[a.jsxs(te,{direction:"row",align:"center",spacing:.5,children:[a.jsx(_e,{type:"subtitle1",fontWeight:"600",children:O}),a.jsx(ms,{label:z,size:"small"})]}),a.jsx(te,{direction:"row",spacing:1,children:Object.keys(Z6).map(W=>H[W]>0?a.jsx(Lr,{severity:n(W),message:`${e.formatMessage({id:`landing.alerts.severity.${W}`})} ${H[W]!==z?H[W]:""}`,sx:{padding:"2px 8px !important",".MuiAlert-icon":{mr:"4px"},".MuiAlert-message":{wordBreak:"keep-all"},".MuiAlert-message .MuiTypography-root":{fontSize:14}}},W):null)})]}),content:a.jsx(Br,{autoScale:!0,columns:b,data:F,noDataText:e.formatMessage({id:"landing.alerts.no_alerts"}),orderBy:"labels.alertname",hidePagination:!0,rowsCount:F?.length||0,rowsPerPage:F?.length||0,rowKey:"labels.alertname",page:0})},O)})})]}),t[40]=b,t[41]=e,t[42]=T):T=t[42];let j;return t[43]!==r.alerts||t[44]!==T?(j=a.jsx(I.Suspense,{fallback:A,children:a.jsx(Qt,{resolve:r.alerts,errorElement:P,children:T})}),t[43]=r.alerts,t[44]=T,t[45]=j):j=t[45],j};function _lt(t){return["emergency","alert","critical","error"].includes(t)?"error":["warning","notice"].includes(t)?"warning":["info","informational"].includes(t)?"info":"success"}function vlt(t){return a.jsxs(te,{direction:"row",nowrap:!0,align:"center",children:[a.jsx(_e,{type:"body2",children:t.labels.alertname}),t.annotations.description&&a.jsx(Mn,{arrow:!0,title:t.annotations.description,children:a.jsx("span",{children:a.jsx(te,{direction:"row",nowrap:!0,align:"center",justify:"center",children:a.jsx(ge.QuestionMark,{size:18})})})})]})}function ylt(t){return a.jsx(Mn,{arrow:!0,title:t.annotations.summary,children:a.jsx("div",{children:hlt(t.annotations.summary,{length:50})})})}function blt(t){return a.jsx(_e,{type:"body2",children:Mr(t.startsAt)})}function xlt(t){return a.jsx(_e,{type:"body2",children:Mr(t.updatedAt)})}const Mue=async t=>{const e=`${$.apis.amf.supis}/${t}`;return De({options:{url:e,method:"GET"}})},Slt=async(t,e)=>{const r=`${$.apis.amf.supis}/${t}/remove?reregister=${e}`;return De({options:{url:r,method:"POST"}})};async function wlt(t){const e=$.apis.udm.supiReAttach(t);return De({options:{url:e,method:"POST"}})}async function Clt({pageSize:t=$.pageSize,paginationToken:e}={pageSize:$.pageSize}){let r=`${$.apis.udm.homeNetworkKeys}?max_results=${t}`;return e&&(r+=`&pagination_token=${e}`),De({options:{url:r,method:"GET",cache:!1}})}async function Alt(t){const e=`${$.apis.udm.homeNetworkKeys}`;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function klt(t){const e=`${$.apis.udm.homeNetworkKeys}/upload`,r=new FormData;return r.append("file",t),De({options:{url:e,method:"POST",headers:{"content-type":"multipart/form-data"},data:r}})}async function Mlt(t){const e=`${$.apis.udm.homeNetworkKeys}/${t}`;return De({options:{url:e,method:"DELETE"}})}function Plt(t){const e=`${$.apis.udm.plmnPrefixes}/${t}`;return De({options:{url:e,method:"GET"}})}function jlt({paginationToken:t,pageSize:e}={}){const r=new URLSearchParams({...t&&{pagination_token:t},...e&&{max_results:`${e}`}}),n=`${$.apis.udm.plmnPrefixes}?${r.size?r.toString():""}`;return De({options:{url:n,method:"GET"}})}function Tlt(t){const e=$.apis.udm.plmnPrefixes;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}function Elt(t,e){const r=`${$.apis.udm.plmnPrefixes}/${t}`;return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}function Rlt(t){const e=`${$.apis.udm.plmnPrefixes}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function Ilt({request:t}){const{id:e,reregister:r}=await t.json(),n=await Slt(e,r);return xt(n)?Ar(n.error.detail):Nt(),Ft(n)}async function Dlt({request:t}){const{supi:e}=await t.json(),r=await wlt(e);return xt(r)?Ar(r.error.detail):Nt(),Ft(r)}async function $lt({request:t}){const{imsi:e}=await t.json(),r=await Got(e);return xt(r)?Ar(r.error.detail):Nt(),Ft(r)}async function Olt({request:t}){const{imsi:e,reattach:r}=await t.json(),n=await Wot(e,r);return xt(n)?Ar(n.error.detail):Nt(),Ft(n)}async function Llt({request:t}){const{imsi:e,reattach:r}=await t.json(),n=await Yot(e,r);return xt(n)?Ar(n.error.detail):Nt(),Ft(n)}async function Nlt(t){const e=$.apis.pcf.monitoring.supiInfo(t);return De({options:{url:e,method:"GET"}})}async function Flt(t){const e=$.apis.sgwc.status(t);return De({options:{url:e,method:"GET"}})}const Pue=async t=>{const e=`${$.apis.smf.status}/${t}`;return De({options:{url:e,method:"GET"}})};async function Ult({applicationServer:t,dataReferenceEq:e}={}){const r=new URLSearchParams;return t&&r.set("application_server_icont",t),e&&r.set("data_reference_eq",e),De({options:{url:`${$.apis.udr.imsApplicationServerAcl}${r.size?"?"+r.toString():""}`,method:"GET",cache:!1}})}async function Blt({id:t}){const e=`${$.apis.udr.imsApplicationServerAcl}/${t}`;return De({options:{url:e,method:"GET"}})}async function zlt(t){const e=$.apis.udr.imsApplicationServerAcl;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function qlt(t){const{id:e,...r}=t,n=`${$.apis.udr.imsApplicationServerAcl}/${e}`;return De({options:{url:n,method:"PUT",data:JSON.stringify(r)}})}async function Vlt(t){const e=`${$.apis.udr.imsApplicationServerAcl}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function Hlt({public_identity:t,...e}){const r=`${$.apis.udr.imsApplicationServerProfiles(t)}`;return De({options:{url:r,method:"POST",data:JSON.stringify(e)}})}async function Glt({public_identity:t,service_indication:e,service_data:r}){const n=`${$.apis.udr.imsApplicationServerProfiles(t)}/${e}`;return De({options:{url:n,method:"PUT",data:JSON.stringify({service_data:r})}})}async function Wlt({public_identity:t,service_indication:e}){const r=`${$.apis.udr.imsApplicationServerProfiles(t)}/${e}`;return De({options:{url:r,method:"DELETE"}})}async function Ylt({pageSize:t=$.pageSize,paginationToken:e}={pageSize:$.pageSize}){let r=`${$.apis.udr.imsInitialFilters}?max_results=${t}`;return e&&(r+=`&pagination_token=${e}`),De({options:{url:r,method:"GET",cache:!1}})}async function Klt({id:t}){const e=`${$.apis.udr.imsInitialFilters}/${t}`;return De({options:{url:e,method:"GET"}})}async function Qlt(t){const e=$.apis.udr.imsInitialFilters;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function Zlt(t){const{id:e,...r}=t,n=`${$.apis.udr.imsInitialFilters}/${e}`;return De({options:{url:n,method:"PUT",data:JSON.stringify(r)}})}async function Xlt(t){const e=`${$.apis.udr.imsInitialFilters}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function Jlt({pageSize:t=$.pageSize,paginationToken:e}={pageSize:$.pageSize}){let r=`${$.apis.udr.imsPrivateIdentities}?max_results=${t}`;return e&&(r+=`&pagination_token=${e}`),De({options:{url:r,method:"GET",cache:!1}})}async function jue({name:t}){const e=`${$.apis.udr.imsPrivateIdentities}/${t}`;return De({options:{url:e,method:"GET"}})}async function ect(t){const e=$.apis.udr.imsPrivateIdentities;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function tct(t){const e=$.apis.udr.imsBasicPrivateIdentities;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function rct(t){const{name:e,isOverridingKeys:r,...n}=t,s=`${$.apis.udr.imsPrivateIdentities}/${e}/?preserve_keys=${!r}`;return De({options:{url:s,method:"PUT",data:JSON.stringify(n)}})}async function nct(t){const e=`${$.apis.udr.imsPrivateIdentities}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function sct(t){const e=`${$.apis.udr.status.imsPrivateIdentities}/${t}`;return De({options:{url:e,method:"GET"}})}async function ict(t){const e=`${$.apis.udr.status.imsPublicIdentities}/${t}`;return De({options:{url:e,method:"GET"}})}async function oct({pageSize:t=$.pageSize,paginationToken:e}={pageSize:$.pageSize}){let r=`${$.apis.udr.imsServiceProfiles}?max_results=${t}`;return e&&(r+=`&pagination_token=${e}`),De({options:{url:r,method:"GET",cache:!1}})}async function act({id:t}){const e=`${$.apis.udr.imsServiceProfiles}/${t}`;return De({options:{url:e,method:"GET"}})}async function lct(t){const e=$.apis.udr.imsServiceProfiles;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function cct(t){const{id:e,...r}=t,n=`${$.apis.udr.imsServiceProfiles}/${e}`;return De({options:{url:n,method:"PUT",data:JSON.stringify(r)}})}async function uct(t){const e=`${$.apis.udr.imsServiceProfiles}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function dct(t){const e=$.apis.udr.mwdStatus;return De({options:{url:e,method:"POST",data:JSON.stringify({supi:t})}})}async function fct({pageSize:t,paginationToken:e}={}){const r=new URLSearchParams;return t&&r.set("max_results",t.toString()),e&&r.set("pagination_token",e),De({options:{url:`${$.apis.udr.plmns}${r.size?"?"+r.toString():""}`,method:"GET"}})}async function pct(t,e){const r=$.apis.udr.plmns;return De({options:{url:r,method:"POST",data:JSON.stringify({mcc:t,mnc:e})}})}async function mct(t,e){const r=`${$.apis.udr.plmns}/${t}-${e}`;return De({options:{url:r,method:"DELETE"}})}async function hct(t){const e=`${$.apis.udr.policyDataProfiles}/${t}`;return De({options:{url:e,method:"GET"}})}async function h7({paginationToken:t,pageSize:e}={}){const r=new URLSearchParams;return e&&r.set("max_results",e.toString()),t&&r.set("pagination_token",t),De({options:{url:`${$.apis.udr.policyDataProfiles}${r.size?"?"+r.toString():""}`,method:"GET"}})}async function gct(t){const e=$.apis.udr.policyDataProfiles;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function _ct(t){const{uuid:e,...r}=t,n=`${$.apis.udr.policyDataProfiles}/${e}`;return De({options:{url:n,method:"PUT",data:JSON.stringify(r)}})}async function vct(t){const e=`${$.apis.udr.policyDataProfiles}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function g7({pageSize:t,paginationToken:e}={}){const r=new URLSearchParams;return t&&r.set("max_results",t.toString()),e&&r.set("pagination_token",e),De({options:{url:`${$.apis.udr.provisionedDataProfiles}${r.size?"?"+r.toString():""}`,method:"GET"}})}async function yct(t){const e=`${$.apis.udr.provisionedDataProfiles}/${t}`;return De({options:{url:e,method:"GET"}})}async function bct(t){const e=$.apis.udr.provisionedDataProfiles;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function xct(t,e){const r=`${$.apis.udr.provisionedDataProfiles}/${t}`;return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}async function Sct(t){const e=`${$.apis.udr.provisionedDataProfiles}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function wct(t){const e=`${$.apis.udr.supiStatus}/${t}`;return De({options:{url:e,method:"GET"}})}async function Cct(t){const e=`${$.apis.udr.supis}/${t}`;return De({options:{url:e,method:"GET"}})}async function Act({pageSize:t,paginationToken:e,supi_icont:r,supi_noticont:n,supi_iend:s,gpsi_icont:i,gpsi_noticont:o,gpsi_iend:l,status_eq:c}={}){const u=new URLSearchParams;return t&&u.set("max_results",t.toString()),e&&u.set("pagination_token",e),r&&u.set("supi_icont",r),n&&u.set("supi_noticont",n),s&&u.set("supi_iend",s),i&&u.set("gpsi_icont",i),o&&u.set("gpsi_noticont",o),l&&u.set("gpsi_iend",l),c&&u.set("status_eq",c),De({options:{url:`${$.apis.udr.supis}${u.size?"?"+u.toString():""}`,method:"GET"}})}async function kct(t){const e=$.apis.udr.supis;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function Mct(t,e){const r=`${$.apis.udr.supis}/${t}`;return De({options:{url:r,method:"PATCH",data:JSON.stringify(e)}})}async function Pct(t){const e=`${$.apis.udr.supis}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function jct(t){const e=$.apis.udr.supisBulkImport,r=new FormData;return r.append("file",t),De({options:{url:e,method:"POST",headers:{"content-type":"multipart/form-data"},data:r}})}async function Tct(t){const e=$.apis.bulkImportSupisCheck(t);return De({options:{url:e,method:"GET"}})}async function Ect({pageSize:t,paginationToken:e,supi_icont:r,supi_noticont:n,supi_iend:s,gpsi_icont:i,gpsi_noticont:o,gpsi_iend:l,status_eq:c}){const[u,d,f]=await Promise.all([Act({pageSize:t,paginationToken:e,supi_icont:r,supi_noticont:n,supi_iend:s,gpsi_icont:i,gpsi_noticont:o,gpsi_iend:l,status_eq:c}),h7({pageSize:1e4}),g7({pageSize:1e4})]);return{supiList:u,policyDataProfileList:d,provisionedDataProfileList:f}}async function KX(t){const[e,r,n]=await Promise.all([t?Cct(t):void 0,h7({pageSize:1e4}),g7({pageSize:1e4})]);return{supi:e,policyDataProfileList:r,provisionedDataProfileList:n}}async function Rct({pageSize:t=$.pageSize,paginationToken:e}={pageSize:$.pageSize}){let r=`${$.apis.udr.transportKeys}?max_results=${t}`;return e&&(r+=`&pagination_token=${e}`),De({options:{url:r,method:"GET",cache:!1}})}async function Ict({id:t}){const e=`${$.apis.udr.transportKeys}/${encodeURIComponent(t)}`;return De({options:{url:e,method:"GET"}})}async function Dct(t){const e=$.apis.udr.transportKeys;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function $ct(t){const{id:e,...r}=t,n=`${$.apis.udr.transportKeys}/${encodeURIComponent(e)}`;return De({options:{url:n,method:"PUT",data:JSON.stringify(r)}})}async function Oct(t){const e=`${$.apis.udr.transportKeys}/${encodeURIComponent(t)}`;return De({options:{url:e,method:"DELETE"}})}async function Lct(){const t=$.apis.udr.milenageConstants;return De({options:{url:t,method:"GET"}})}async function Nct(t){const e=$.apis.udr.milenageConstants;return De({options:{url:e,method:"PUT",data:JSON.stringify(t)}})}async function Fct(){const t=$.apis.udr.milenageConstants;return De({options:{url:t,method:"DELETE"}})}function Uct({pageSize:t,paginationToken:e}={}){const r=new URLSearchParams;return t&&r.set("max_results",t.toString()),e&&r.set("pagination_token",e),De({options:{url:`${$.apis.udr.operatorKeys}${r.size?"?"+r.toString():""}`,method:"GET"}})}async function Bct(t){const e=$.apis.udr.operatorKeys;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function zct({id:t,...e}){const r=`${$.apis.udr.operatorKeys}/${t}`;return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}async function qct(t){const e=`${$.apis.udr.operatorKeys}/${t}`;return De({options:{url:e,method:"DELETE"}})}async function Vct(t){const e=`${$.apis.upf.sessions}/supi/${t}`;return De({options:{url:e,method:"GET"}})}const Hct=[ue.AMF,ue.SMF,ue.UDR,ue.UDM,ue.UPF,ue.MME,ue.SGWC,ue.PCF];async function Tue(){const t=await ma(),e=[];return Hct.forEach(r=>{Ds({services:t,name:r})&&e.push(r)}),e}async function Tm(t,e){try{return await t(e),nn.SUCCESS}catch{return nn.ERROR}}async function Gct(t){const e=t.split("-")[1],[r,n,s,i,o,l,c]=await Promise.all([Tm(Mue,t),Tm(Pue,t),Tm(Eue,t),Tm(Rue,t),Tm(Iue,e),Tm(Due,e),Tm($ue,t)]);return{[ue.AMF]:r,[ue.SMF]:n,[ue.UDR]:i,[ue.UPF]:s,[ue.MME]:o,[ue.SGWC]:l,[ue.PCF]:c}}async function Wct(t){const e=await Tue(),r=await Gct(t),n=[];return e.filter(s=>s!==ue.UDM).forEach(s=>{n.push({url:s,label:Pr().formatMessage({id:`device_status.tabs.${s}`}),status:r[s]})}),{activeTabs:n,startLocation:n[0]?.url}}async function Eue(t){const e=await Vct(t);if(Ni.isEmpty(e))throw Li({type:mn.REMOTE_NOT_FOUND});return e}async function Rue(t){const[e,r]=await Promise.all([wct(t),dct(t)]);if(Ni.isEmpty(e.location))throw Li({type:mn.REMOTE_NOT_FOUND});return{udrSupiStatus:e,mwdStatus:r}}async function Iue(t){const e=await Hot(t);if(Ni.isEmpty(e))throw Li({type:mn.REMOTE_NOT_FOUND});return e}async function Due(t){const e=await Flt(t);if(Ni.isEmpty(e))throw Li({type:mn.REMOTE_NOT_FOUND});return e}async function $ue(t){const e=await Nlt(t);if(Ni.isEmpty(e))throw Li({type:mn.REMOTE_NOT_FOUND});return e}async function Yct(t){return Wt({loaderArgs:t,deferred:!0,data:{services:Tue()}})}async function Kct(t){const{id:e}=t.params;return e?Pat(e)?Wt({loaderArgs:t,deferred:!0,data:{tabs:Wct(e)}}):rt(".."):null}async function Qct(t){const{id:e}=t.params;if(!e)return null;const r=await ma();return Ds({services:r,name:ue.AMF})?Wt({loaderArgs:t,deferred:!0,data:{amfStatus:Mue(e)}}):rt("..")}async function Zct(t){const{id:e}=t.params;if(!e)return null;const r=await ma();return Ds({services:r,name:ue.SMF})?Wt({loaderArgs:t,deferred:!0,data:{smfStatus:Pue(e)}}):rt("..")}async function Xct(t){const{id:e}=t.params;if(!e)return null;const r=await ma();return Ds({services:r,name:ue.UPF})?Wt({loaderArgs:t,deferred:!0,data:{upfStatus:Eue(e)}}):rt("..")}async function Jct(t){const{id:e}=t.params;if(!e)return null;const r=await ma();return Ds({services:r,name:ue.UDR})?Wt({loaderArgs:t,deferred:!0,data:{udrStatus:Rue(e)}}):rt("..")}async function eut(t){const{id:e}=t.params;if(!e)return null;const r=await ma();if(!Ds({services:r,name:ue.MME}))return rt("..");const n=e.split("-")[1];return Wt({loaderArgs:t,deferred:!0,data:{mmeStatus:Iue(n)}})}async function tut(t){const{id:e}=t.params;if(!e)return null;const r=await ma();if(!Ds({services:r,name:ue.SGWC}))return rt("..");const n=e.split("-")[1];return Wt({loaderArgs:t,deferred:!0,data:{sgwcStatus:Due(n)}})}async function rut(t){const{id:e}=t.params;if(!e)return null;const r=await ma();return Ds({services:r,name:ue.PCF})?Wt({loaderArgs:t,deferred:!0,data:{pcfStatus:$ue(e)}}):rt("..")}async function _7(){const t=`${$.apis.ncm.status.vrfs}`;return De({options:{url:t,method:"GET"}})}async function nut({filter:t}={}){const e=`${$.apis.ncm.status.interfaces}${t?"?"+new URLSearchParams(t):""}`;return De({options:{url:e,method:"GET"}})}async function sut({filter:t}={}){const e=`${$.apis.ncm.status.neighbors}${t?"?"+new URLSearchParams(t):""}`;return De({options:{url:e,method:"GET"}})}async function iut({filter:t}={}){const e=`${$.apis.ncm.status.routes}${t?"?"+new URLSearchParams(t):""}`;return De({options:{url:e,method:"GET"}})}async function out({filter:t}={}){const e=`${$.apis.ncm.status.rules}${t?"?"+new URLSearchParams(t):""}`;return De({options:{url:e,method:"GET"}})}async function aut({filter:t}={}){const e=`${$.apis.ncm.status.sockets}${t?"?"+new URLSearchParams(t):""}`;return De({options:{url:e,method:"GET"}})}async function lut(){const t=`${$.apis.ncm.status.ntp}`;return De({options:{url:t,method:"GET"}})}async function cut(){const t=`${$.apis.ncm.status.bird}`;return De({options:{url:t,method:"GET"}})}async function uut({filter:t}={}){const[e,r]=await Promise.all([nut({filter:t}),_7()]);return{interfaces:e,vrfs:r}}async function dut({filter:t}={}){const[e,r]=await Promise.all([sut({filter:t}),_7()]);return{neighbors:e,vrfs:r}}async function fut({filter:t}={}){const[e,r]=await Promise.all([iut({filter:t}),_7()]);return{routes:e,vrfs:r}}async function put(){const t=$.apis.ncm.network.neighborsFlush;return await De({options:{url:t,method:"POST"}})}async function mut(t){const e=$.monitoring.clusters.reduce((r,n)=>({...r,[n]:Eze({nf:n})}),{});return Wt({loaderArgs:t,deferred:!0,data:{monitoring:nqe(),services:ma(),activeClusters:Rze(),ncmStatusNtp:lut(),...e}})}async function hut(t){return Wt({loaderArgs:t,deferred:!0,data:{alerts:Gae()}})}const gut={path:"monitoring",handle:vr({labelIntl:"route.monitoring",icon:a.jsx(ge.Monitoring,{})}),children:[{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,element:a.jsx(ur,{to:"alerts",replace:!0})},{path:"ue-status",handle:vr({labelIntl:"route.monitoring.ue-status",to:$.urls.monitoringUeStatus}),loader:Yct,element:a.jsx(Tat,{}),children:[{path:":id",loader:Kct,element:a.jsx(Iat,{}),children:[{path:"udm-re-attach",action:Dlt,loader:()=>rt("..")},{path:"amf",loader:Qct,element:a.jsx(Rat,{}),children:[{path:"amf-remove",action:Ilt,loader:()=>rt("..")}]},{path:"smf",loader:Zct,element:a.jsx(qat,{})},{path:"upf",loader:Xct,element:a.jsx(rlt,{})},{path:"udr",loader:Jct,element:a.jsx(Xat,{})},{path:"mme",loader:eut,element:a.jsx(Lat,{}),children:[{path:"mme-disconnect",action:$lt,loader:()=>rt("..")},{path:"mme-detach",action:Olt,loader:()=>rt("..")},{path:"mme-purge",action:Llt,loader:()=>rt("..")}]},{path:"sgwc",loader:tut,element:a.jsx(zat,{})},{path:"pcf",loader:rut,element:a.jsx(Fat,{})}]}]}]},{element:a.jsx(Or,{transparent:!0}),children:[{path:"alerts",handle:vr({labelIntl:"route.monitoring.alerts",to:$.urls.monitoringAlerts}),loader:hut,element:a.jsx(glt,{})}]}]},_ut=t=>{const e=he.c(39),{sessions:r}=t,n=Ye();let s;e[0]!==n?(s=n.formatMessage({id:"ncm_status.tabs.bird.bfd_sessions.sessions.ip_address"}),e[0]=n,e[1]=s):s=e[1];let i;e[2]!==s?(i={key:"ip_address",label:s},e[2]=s,e[3]=i):i=e[3];let o;e[4]!==n?(o=n.formatMessage({id:"ncm_status.tabs.bird.bfd_sessions.sessions.interface"}),e[4]=n,e[5]=o):o=e[5];let l;e[6]!==o?(l={key:"interface",label:o},e[6]=o,e[7]=l):l=e[7];let c;e[8]!==n?(c=n.formatMessage({id:"ncm_status.tabs.bird.bfd_sessions.sessions.state"}),e[8]=n,e[9]=c):c=e[9];let u;e[10]!==c?(u={key:"state",label:c},e[10]=c,e[11]=u):u=e[11];let d;e[12]!==n?(d=n.formatMessage({id:"ncm_status.tabs.bird.bfd_sessions.sessions.since"}),e[12]=n,e[13]=d):d=e[13];let f;e[14]!==d?(f={key:"since",label:d},e[14]=d,e[15]=f):f=e[15];let p;e[16]!==n?(p=n.formatMessage({id:"ncm_status.tabs.bird.bfd_sessions.sessions.interval"}),e[16]=n,e[17]=p):p=e[17];let m;e[18]!==p?(m={key:"interval",label:p},e[18]=p,e[19]=m):m=e[19];let h;e[20]!==n?(h=n.formatMessage({id:"ncm_status.tabs.bird.bfd_sessions.sessions.timeout"}),e[20]=n,e[21]=h):h=e[21];let _;e[22]!==h?(_={key:"timeout",label:h},e[22]=h,e[23]=_):_=e[23];let g;e[24]!==m||e[25]!==_||e[26]!==i||e[27]!==l||e[28]!==u||e[29]!==f?(g=[i,l,u,f,m,_],e[24]=m,e[25]=_,e[26]=i,e[27]=l,e[28]=u,e[29]=f,e[30]=g):g=e[30];const y=g;let b;e[31]!==n?(b=n.formatMessage({id:"ncm_status.tabs.bird.bfd_sessions.sessions"}),e[31]=n,e[32]=b):b=e[32];let x;e[33]!==y||e[34]!==r?(x=a.jsx(Br,{data:r,orderBy:"ip_address",page:0,rowsCount:r.length,rowsPerPage:r.length,rowKey:"ip_address",columns:y,hidePagination:!0,hideRowsCount:!0}),e[33]=y,e[34]=r,e[35]=x):x=e[35];let w;return e[36]!==b||e[37]!==x?(w=a.jsx(pr,{title:b,folder:!0,dense:!0,elevation:2,children:x}),e[36]=b,e[37]=x,e[38]=w):w=e[38],w},Oue=()=>{const t=he.c(2);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={p:2},t[0]=e):e=t[0];let r;return t[1]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(te,{fullHeight:!0,sx:e,children:a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}})}),t[1]=r):r=t[1],r},vut=I.memo(function(){const e=he.c(11),r=Ye(),n=Gr();let s;e[0]!==r?(s=r.formatMessage({id:"ncm_status.tabs.bird.bfd_sessions.name"}),e[0]=r,e[1]=s):s=e[1];let i;e[2]!==s?(i=[{key:"name",label:s}],e[2]=s,e[3]=i):i=e[3];const o=i;let l;e[4]===Symbol.for("react.memo_cache_sentinel")?(l=a.jsx(Oue,{}),e[4]=l):l=e[4];let c;e[5]===Symbol.for("react.memo_cache_sentinel")?(c=a.jsx(en,{}),e[5]=c):c=e[5];let u;e[6]!==o?(u=f=>{const{bfd_sessions:p}=f;return a.jsx(Br,{autoScale:!0,data:p||[],orderBy:"name",page:0,rowsCount:p?.length,rowsPerPage:p?.length,rowKey:"name",columns:o,hidePagination:!0,rowDetail:{content:yut}})},e[6]=o,e[7]=u):u=e[7];let d;return e[8]!==n.bird||e[9]!==u?(d=a.jsx(I.Suspense,{fallback:l,children:a.jsx(Qt,{resolve:n.bird,errorElement:c,children:u})}),e[8]=n.bird,e[9]=u,e[10]=d):d=e[10],d});function yut(t){const{sessions:e}=t;return a.jsx(_ut,{sessions:e})}const but=I.memo(function(){const e=he.c(38),r=Ye(),n=Gr();let s;e[0]!==r?(s=r.formatMessage({id:"ncm_status.tabs.bird.protocols.name"}),e[0]=r,e[1]=s):s=e[1];let i;e[2]!==s?(i={key:"name",label:s},e[2]=s,e[3]=i):i=e[3];let o;e[4]!==r?(o=r.formatMessage({id:"ncm_status.tabs.bird.protocols.proto"}),e[4]=r,e[5]=o):o=e[5];let l;e[6]!==o?(l={key:"proto",label:o},e[6]=o,e[7]=l):l=e[7];let c;e[8]!==r?(c=r.formatMessage({id:"ncm_status.tabs.bird.protocols.table"}),e[8]=r,e[9]=c):c=e[9];let u;e[10]!==c?(u={key:"table",label:c},e[10]=c,e[11]=u):u=e[11];let d;e[12]!==r?(d=r.formatMessage({id:"ncm_status.tabs.bird.protocols.state"}),e[12]=r,e[13]=d):d=e[13];let f;e[14]!==d?(f={key:"state",label:d},e[14]=d,e[15]=f):f=e[15];let p;e[16]!==r?(p=r.formatMessage({id:"ncm_status.tabs.bird.protocols.since"}),e[16]=r,e[17]=p):p=e[17];let m;e[18]!==p?(m={key:"since",label:p},e[18]=p,e[19]=m):m=e[19];let h;e[20]!==r?(h=r.formatMessage({id:"ncm_status.tabs.bird.protocols.info"}),e[20]=r,e[21]=h):h=e[21];let _;e[22]!==h?(_={key:"info",label:h},e[22]=h,e[23]=_):_=e[23];let g;e[24]!==i||e[25]!==_||e[26]!==l||e[27]!==u||e[28]!==f||e[29]!==m?(g=[i,l,u,f,m,_],e[24]=i,e[25]=_,e[26]=l,e[27]=u,e[28]=f,e[29]=m,e[30]=g):g=e[30];const y=g;let b;e[31]===Symbol.for("react.memo_cache_sentinel")?(b=a.jsx(Oue,{}),e[31]=b):b=e[31];let x;e[32]===Symbol.for("react.memo_cache_sentinel")?(x=a.jsx(en,{}),e[32]=x):x=e[32];let w;e[33]!==y?(w=k=>{const{protocols:A}=k;return a.jsx(Br,{autoScale:!0,data:A||[],orderBy:"name",page:0,rowsCount:A?.length,rowsPerPage:A?.length,rowKey:"name",columns:y,hidePagination:!0})},e[33]=y,e[34]=w):w=e[34];let C;return e[35]!==n.bird||e[36]!==w?(C=a.jsx(I.Suspense,{fallback:b,children:a.jsx(Qt,{resolve:n.bird,errorElement:x,children:w})}),e[35]=n.bird,e[36]=w,e[37]=C):C=e[37],C}),ex=t=>{const e=he.c(14),{initialSortingState:r,getColumnValue:n,getColumnType:s}=t,[i,o]=I.useState(r);let l;e[0]!==n?(l=(g,y,b,x)=>x*n(g,b).localeCompare(n(y,b)),e[0]=n,e[1]=l):l=e[1];const c=l;let u;e[2]!==n?(u=(g,y,b,x)=>x*(n(g,b)>n(y,b)?1:-1),e[2]=n,e[3]=u):u=e[3];const d=u;let f;e[4]!==s||e[5]!==d||e[6]!==c?(f=(g,y)=>{const{column:b,direction:x}=y,w=s(b),C=x===Gl.ASC?1:-1;return[...g].sort((k,A)=>w==="string"?c(k,A,b,C):d(k,A,b,C))},e[4]=s,e[5]=d,e[6]=c,e[7]=f):f=e[7];const p=f;let m;e[8]===Symbol.for("react.memo_cache_sentinel")?(m=g=>{const{column:y,direction:b}=g;o(x=>({column:y,direction:x.column!==y?Gl.ASC:b}))},e[8]=m):m=e[8];const h=m;let _;return e[9]!==d||e[10]!==p||e[11]!==i||e[12]!==c?(_={stringSort:c,numberSort:d,sort:p,updateSorting:h,sorting:i,setSorting:o},e[9]=d,e[10]=p,e[11]=i,e[12]=c,e[13]=_):_=e[13],_};function Uv({urlOrSearchParams:t}){let e;try{e=new URL(t).searchParams}catch{e=new URLSearchParams(t)}return Object.fromEntries(e)}function Lue(t){return t==="true"}const tp="all",tx=t=>{const e=he.c(34),{vrfs:r,filterKeys:n}=t,s=Ye(),{search:i}=to();let o;e[0]!==i?(o=Uv({urlOrSearchParams:i}),e[0]=i,e[1]=o):o=e[1];const l=o,c=ys();let u;e[2]!==l.table||e[3]!==n?(u=!!n&&n.includes("table")&&l.table!==void 0,e[2]=l.table,e[3]=n,e[4]=u):u=e[4];const[d,f]=I.useState(u),[p,m]=I.useState(l.table);let h;e[5]!==l||e[6]!==c?(h=R=>{const D=Object.fromEntries(Object.entries({...l,...R}).filter(xut)),O=new URLSearchParams(D),N=`${D?`?${O}`:""}`;c(N)},e[5]=l,e[6]=c,e[7]=h):h=e[7];const _=h;let g;e[8]!==_?(g=R=>{_({vrf:R!==tp?R:void 0})},e[8]=_,e[9]=g):g=e[9];const y=g;let b;e[10]!==_?(b=R=>{f(R==="table"),R!=="table"&&m(void 0),_(R==="table"?{vrf:void 0}:{vrf:void 0,table:void 0})},e[10]=_,e[11]=b):b=e[11];const x=b;let w;e[12]!==_?(w=R=>{m(R),_({table:R})},e[12]=_,e[13]=w):w=e[13];const C=w,k=n&&n.includes("vrf")?"space-between":"flex-end";let A;e[14]===Symbol.for("react.memo_cache_sentinel")?(A={flex:"0 0 auto"},e[14]=A):A=e[14];let P;e[15]!==l.vrf||e[16]!==n||e[17]!==x||e[18]!==C||e[19]!==y||e[20]!==s||e[21]!==d||e[22]!==p||e[23]!==r?(P=(!n||n&&n.includes("vrf"))&&a.jsxs(te,{direction:"row",nowrap:!0,children:[n&&n.includes("table")&&a.jsxs(a.Fragment,{children:[a.jsx(gt,{sx:{width:"150px"},children:a.jsxs(qs,{label:s.formatMessage({id:"ncm_status.filter.type"}),size:"small",value:d?"table":"vrf",onChange:R=>x(R.target.value),children:[a.jsx(En,{value:"vrf",children:s.formatMessage({id:"ncm_status.filter.vrf"})},"vrf"),a.jsx(En,{value:"table",children:s.formatMessage({id:"ncm_status.filter.table"})},"table")]})}),d&&a.jsx(gt,{sx:{width:"150px"},children:a.jsx(dt,{size:"small",placeholder:s.formatMessage({id:"ncm_status.filter.table"}),value:p,onChange:R=>C(R.target.value)})})]}),!d&&r&&a.jsx(gt,{sx:{width:"150px"},children:a.jsxs(qs,{label:s.formatMessage({id:"ncm_status.filter.vrf"}),size:"small",value:l.vrf||tp,onChange:R=>y(R.target.value),children:[a.jsx(En,{value:tp,children:tp},tp),r.map(Sut)]})})]}),e[15]=l.vrf,e[16]=n,e[17]=x,e[18]=C,e[19]=y,e[20]=s,e[21]=d,e[22]=p,e[23]=r,e[24]=P):P=e[24];let T;e[25]!==l.family||e[26]!==n||e[27]!==_||e[28]!==s?(T=(!n||n?.includes("family"))&&a.jsxs(lk,{value:l.family,onChange:R=>_({family:R}),exclusive:!0,color:"primary",children:[a.jsx(kh,{value:"inet",children:s.formatMessage({id:"ncm_status.filter.family.inet"})}),a.jsx(kh,{value:"inet6",children:s.formatMessage({id:"ncm_status.filter.family.inet6"})})]}),e[25]=l.family,e[26]=n,e[27]=_,e[28]=s,e[29]=T):T=e[29];let j;return e[30]!==T||e[31]!==k||e[32]!==P?(j=a.jsxs(te,{direction:"row",justify:k,sx:A,children:[P,T]}),e[30]=T,e[31]=k,e[32]=P,e[33]=j):j=e[33],j};function xut(t){const[,e]=t;return!!e}function Sut(t){return a.jsx(En,{value:t.name??tp,children:`${t.name??tp}${t.table?" ("+t.table+")":""}`},t.name??tp)}const rx=()=>{const t=he.c(4);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={flex:"0 0 auto",borderBottom:"1px solid",borderColor:"divider",p:2},t[0]=e):e=t[0];let r;t[1]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(gt,{sx:e,children:a.jsx(Dt,{variant:"rounded",sx:{height:"44px"}})}),t[1]=r):r=t[1];let n;t[2]===Symbol.for("react.memo_cache_sentinel")?(n={flex:"1 1 auto",p:2},t[2]=n):n=t[2];let s;return t[3]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsxs(te,{nowrap:!0,fullHeight:!0,children:[r,a.jsx(gt,{sx:n,children:a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}})})]}),t[3]=s):s=t[3],s},wut=t=>{const e=he.c(14),{linkInfo:r}=t,n=Ye();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={maxHeight:"400px",overflow:"auto",p:1},e[0]=s):s=e[0];let i;e[1]!==n||e[2]!==r.info_data?(i=!!r.info_data&&a.jsxs(te,{align:"normal",nowrap:!0,spacing:.5,children:[a.jsx(_e,{fontWeight:"800",fontSize:"medium",sx:{textTransform:"uppercase"},children:n.formatMessage({id:"ncm_status.tabs.network_interfaces.linkinfo.info_data"})}),Object.entries(r.info_data).filter(Cut).map(Aut)]}),e[1]=n,e[2]=r.info_data,e[3]=i):i=e[3];let o;e[4]!==n||e[5]!==r.info_slave_kind?(o=!!r.info_slave_kind&&a.jsxs(te,{align:"normal",nowrap:!0,spacing:.5,children:[a.jsx(_e,{fontWeight:"800",fontSize:"medium",sx:{textTransform:"uppercase"},children:n.formatMessage({id:"ncm_status.tabs.network_interfaces.linkinfo.info_slave_kind"})}),a.jsx(_e,{fontWeight:"600",fontSize:"medium",children:r.info_slave_kind})]}),e[4]=n,e[5]=r.info_slave_kind,e[6]=o):o=e[6];let l;e[7]!==n||e[8]!==r.info_slave_data?(l=!!r.info_slave_data&&a.jsxs(te,{align:"normal",nowrap:!0,spacing:.5,children:[a.jsx(_e,{fontWeight:"800",fontSize:"medium",sx:{textTransform:"uppercase"},children:n.formatMessage({id:"ncm_status.tabs.network_interfaces.linkinfo.info_slave_data"})}),Object.entries(r.info_slave_data).filter(kut).map(Mut)]}),e[7]=n,e[8]=r.info_slave_data,e[9]=l):l=e[9];let c;return e[10]!==i||e[11]!==o||e[12]!==l?(c=a.jsxs(te,{justify:"stretch",align:"normal",nowrap:!0,sx:s,spacing:3,children:[i,o,l]}),e[10]=i,e[11]=o,e[12]=l,e[13]=c):c=e[13],c};function Cut(t){return t!==void 0}function Aut(t){const[e,r]=t;return a.jsxs(te,{align:"normal",nowrap:!0,spacing:1,direction:"row",children:[a.jsxs(_e,{fontWeight:"500",fontSize:"medium",children:[e,":"]}),a.jsx(_e,{fontWeight:"600",fontSize:"medium",children:r})]},e)}function kut(t){return t!==void 0}function Mut(t){const[e,r]=t;return a.jsxs(te,{align:"normal",nowrap:!0,spacing:1,direction:"row",children:[a.jsxs(_e,{fontWeight:"500",fontSize:"medium",children:[e,":"]}),a.jsx(_e,{fontWeight:"600",fontSize:"medium",children:r})]},e)}const Put=t=>{const e=he.c(7),{linkInfo:r}=t;let n;e[0]!==r.info_kind?(n=a.jsx(_e,{type:"body2",children:r.info_kind}),e[0]=r.info_kind,e[1]=n):n=e[1];let s;e[2]!==r?(s=r.info_data||r.info_slave_data||r.info_slave_kind?a.jsx(Mn,{title:a.jsx(wut,{linkInfo:r}),opaque:!0,children:a.jsx(Zr,{sx:{cursor:"default"},children:a.jsx(ge.Info,{size:18})})}):null,e[2]=r,e[3]=s):s=e[3];let i;return e[4]!==n||e[5]!==s?(i=a.jsxs(te,{direction:"row",spacing:.5,align:"center",nowrap:!0,children:[n,s]}),e[4]=n,e[5]=s,e[6]=i):i=e[6],i},jut=I.memo(function(){const e=he.c(55),r=Ye(),n=Gr(),s=On(),i=Eut,o=Rut;let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l={initialSortingState:{direction:Gl.ASC,column:"ifindex"},getColumnValue:i,getColumnType:o},e[0]=l):l=e[0];const{sort:c,updateSorting:u,sorting:d}=ex(l);let f;e[1]!==u?(f=(W,K)=>{u({column:K,direction:W})},e[1]=u,e[2]=f):f=e[2];const p=f;let m;e[3]!==r?(m=r.formatMessage({id:"ncm_status.tabs.network_interfaces.id"}),e[3]=r,e[4]=m):m=e[4];let h;e[5]!==m?(h={label:m,key:"ifindex",sortable:!0},e[5]=m,e[6]=h):h=e[6];let _;e[7]!==r?(_=r.formatMessage({id:"ncm_status.tabs.network_interfaces.interface"}),e[7]=r,e[8]=_):_=e[8];let g;e[9]!==_?(g={label:_,key:"ifname",sortable:!0},e[9]=_,e[10]=g):g=e[10];let y;e[11]!==r?(y=r.formatMessage({id:"ncm_status.tabs.network_interfaces.interface_type"}),e[11]=r,e[12]=y):y=e[12];let b;e[13]!==y?(b={label:y,key:"linkinfo.info_kind",sortable:!0,cellRender:Iut},e[13]=y,e[14]=b):b=e[14];let x;e[15]!==r?(x=r.formatMessage({id:"ncm_status.tabs.network_interfaces.mtu"}),e[15]=r,e[16]=x):x=e[16];let w;e[17]!==x?(w={label:x,key:"mtu",sortable:!0},e[17]=x,e[18]=w):w=e[18];let C;e[19]!==r?(C=r.formatMessage({id:"ncm_status.tabs.network_interfaces.status"}),e[19]=r,e[20]=C):C=e[20];let k;e[21]!==C?(k={label:C,key:"flags",sortable:!0,cellRender:Dut},e[21]=C,e[22]=k):k=e[22];let A;e[23]!==r?(A=r.formatMessage({id:"ncm_status.tabs.network_interfaces.address"}),e[23]=r,e[24]=A):A=e[24];let P;e[25]!==A?(P={label:A,key:"address",sortable:!0},e[25]=A,e[26]=P):P=e[26];let T;e[27]!==r?(T=r.formatMessage({id:"ncm_status.tabs.network_interfaces.ip_address"}),e[27]=r,e[28]=T):T=e[28];let j;e[29]!==T?(j={label:T,key:"addr_info",sortable:!0,cellRender:Out},e[29]=T,e[30]=j):j=e[30];let R;e[31]!==r?(R=r.formatMessage({id:"ncm_status.tabs.network_interfaces.master"}),e[31]=r,e[32]=R):R=e[32];let D;e[33]!==R?(D={label:R,key:"master",sortable:!0},e[33]=R,e[34]=D):D=e[34];let O;e[35]!==k||e[36]!==P||e[37]!==j||e[38]!==D||e[39]!==h||e[40]!==g||e[41]!==b||e[42]!==w?(O=[h,g,b,w,k,P,j,D],e[35]=k,e[36]=P,e[37]=j,e[38]=D,e[39]=h,e[40]=g,e[41]=b,e[42]=w,e[43]=O):O=e[43];const N=O;let F;e[44]===Symbol.for("react.memo_cache_sentinel")?(F=a.jsx(rx,{}),e[44]=F):F=e[44];let U;e[45]===Symbol.for("react.memo_cache_sentinel")?(U=a.jsx(en,{}),e[45]=U):U=e[45];let z;e[46]!==N||e[47]!==p||e[48]!==s.state||e[49]!==c||e[50]!==d?(z=W=>{const{interfaces:K,vrfs:q}=W;return a.jsxs(te,{nowrap:!0,fullHeight:!0,spacing:0,sx:{overflow:"auto",width:"100%"},children:[a.jsx(gt,{sx:{flex:"0 0 auto",borderBottom:"1px solid",borderColor:"divider",p:2},children:a.jsx(tx,{vrfs:q,filterKeys:["vrf","family"]})}),a.jsx(Br,{autoScale:!0,loading:s.state!=="idle",columns:N,rowKey:"ifindex",page:0,hidePagination:!0,data:c(K,d),rowsCount:K?.length||0,rowsPerPage:K?.length||0,orderBy:d.column,onSort:p,order:d.direction})]})},e[46]=N,e[47]=p,e[48]=s.state,e[49]=c,e[50]=d,e[51]=z):z=e[51];let H;return e[52]!==n.interfacesStatus||e[53]!==z?(H=a.jsx(I.Suspense,{fallback:F,children:a.jsx(Qt,{resolve:n.interfacesStatus,errorElement:U,children:z})}),e[52]=n.interfacesStatus,e[53]=z,e[54]=H):H=e[54],H});function Tut(t){return`${t.local}/${t.prefixlen}`}function Eut(t,e){switch(e){case"linkinfo":return t.linkinfo?.info_kind??"";case"addr_info":return t.addr_info?.map(Tut).sort().at(0)??"";case"flags":return t.flags?.join(", ")??"";case"address":case"master":return t[e]??"";default:return t[e]}}function Rut(t){switch(t){case"ifname":case"linkinfo":case"flags":case"address":case"addr_info":case"master":return"string";default:return"number"}}function Iut(t){return a.jsx(Put,{linkInfo:t.linkinfo})}function Dut(t){const{flags:e}=t;return a.jsx(_e,{type:"body2",children:e?.join(", ")})}function $ut(t){return a.jsx(_e,{type:"body2",children:`${t.local}/${t.prefixlen}`},`${t.local}/${t.prefixlen}`)}function Out(t){const{addr_info:e}=t;return a.jsx(a.Fragment,{children:e?.map($ut)})}const Lut=I.memo(function(){const e=he.c(39),r=Ye(),n=Gr(),s=On(),{submit:i}=gr();let o;e[0]!==i?(o=()=>{i({},{method:"POST",encType:"application/json",action:"flush"})},e[0]=i,e[1]=o):o=e[1];const l=o,c=Nut,u=Fut;let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d={initialSortingState:{direction:Gl.ASC,column:"dst"},getColumnValue:c,getColumnType:u},e[2]=d):d=e[2];const{sort:f,updateSorting:p,sorting:m}=ex(d);let h;e[3]!==p?(h=(N,F)=>{p({column:F,direction:N})},e[3]=p,e[4]=h):h=e[4];const _=h;let g;e[5]!==r?(g=r.formatMessage({id:"ncm_status.tabs.neighbors.dst"}),e[5]=r,e[6]=g):g=e[6];let y;e[7]!==g?(y={label:g,key:"dst",sortable:!0},e[7]=g,e[8]=y):y=e[8];let b;e[9]!==r?(b=r.formatMessage({id:"ncm_status.tabs.neighbors.lladdr"}),e[9]=r,e[10]=b):b=e[10];let x;e[11]!==b?(x={label:b,key:"lladdr",sortable:!0},e[11]=b,e[12]=x):x=e[12];let w;e[13]!==r?(w=r.formatMessage({id:"ncm_status.tabs.neighbors.dev"}),e[13]=r,e[14]=w):w=e[14];let C;e[15]!==w?(C={label:w,key:"dev",sortable:!0},e[15]=w,e[16]=C):C=e[16];let k;e[17]!==r?(k=r.formatMessage({id:"ncm_status.tabs.neighbors.state"}),e[17]=r,e[18]=k):k=e[18];let A;e[19]!==k?(A={label:k,key:"state",sortable:!0},e[19]=k,e[20]=A):A=e[20];let P;e[21]!==A||e[22]!==y||e[23]!==x||e[24]!==C?(P=[y,x,C,A],e[21]=A,e[22]=y,e[23]=x,e[24]=C,e[25]=P):P=e[25];const T=P;let j;e[26]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(rx,{}),e[26]=j):j=e[26];let R;e[27]===Symbol.for("react.memo_cache_sentinel")?(R=a.jsx(en,{}),e[27]=R):R=e[27];let D;e[28]!==T||e[29]!==l||e[30]!==_||e[31]!==r||e[32]!==s.state||e[33]!==f||e[34]!==m?(D=N=>{const{neighbors:F,vrfs:U}=N;return a.jsxs(te,{nowrap:!0,fullHeight:!0,spacing:0,children:[a.jsx(gt,{sx:{flex:"0 0 auto",borderBottom:"1px solid",borderColor:"divider",p:2},children:a.jsx(tx,{vrfs:U,filterKeys:["vrf","family"]})}),a.jsx(gt,{sx:{flex:"1 1 auto",height:"100%",overflow:"hidden"},children:a.jsx(Br,{autoScale:!0,loading:s.state!=="idle",columns:T,rowKey:"lladdr",page:0,hidePagination:!0,data:f(F,m),rowsCount:F?.length||0,rowsPerPage:F?.length||0,orderBy:m.column,onSort:_,order:m.direction,customFooterComponent:a.jsx(gt,{sx:{px:1},children:a.jsx(Ze,{startIcon:a.jsx(ge.Clear,{}),disabled:s.state==="loading"||!Ue(ie.monitoring),loading:s.state==="submitting",variant:"outlined",onClick:()=>l(),text:r.formatMessage({id:"ncm_status.tabs.neighbors.actions.flush"})})})})})]})},e[28]=T,e[29]=l,e[30]=_,e[31]=r,e[32]=s.state,e[33]=f,e[34]=m,e[35]=D):D=e[35];let O;return e[36]!==n.neighborsStatus||e[37]!==D?(O=a.jsx(I.Suspense,{fallback:j,children:a.jsx(Qt,{resolve:n.neighborsStatus,errorElement:R,children:D})}),e[36]=n.neighborsStatus,e[37]=D,e[38]=O):O=e[38],O});function Nut(t,e){switch(e){case"state":return t[e]?.sort()?.join(", ");default:return t[e]??""}}function Fut(){return"string"}const Uut=I.memo(function(){const e=he.c(39),r=Ye(),n=Gr(),s=On();let i;e[0]!==r?(i=r.formatMessage({id:"ncm_status.tabs.routes.dst"}),e[0]=r,e[1]=i):i=e[1];let o;e[2]!==i?(o={label:i,key:"dst"},e[2]=i,e[3]=o):o=e[3];let l;e[4]!==r?(l=r.formatMessage({id:"ncm_status.tabs.routes.gateway"}),e[4]=r,e[5]=l):l=e[5];let c;e[6]!==l?(c={label:l,key:"gateway"},e[6]=l,e[7]=c):c=e[7];let u;e[8]!==r?(u=r.formatMessage({id:"ncm_status.tabs.routes.dev"}),e[8]=r,e[9]=u):u=e[9];let d;e[10]!==u?(d={label:u,key:"dev"},e[10]=u,e[11]=d):d=e[11];let f;e[12]!==r?(f=r.formatMessage({id:"ncm_status.tabs.routes.prefsrc"}),e[12]=r,e[13]=f):f=e[13];let p;e[14]!==f?(p={label:f,key:"prefsrc"},e[14]=f,e[15]=p):p=e[15];let m;e[16]!==r?(m=r.formatMessage({id:"ncm_status.tabs.routes.metric"}),e[16]=r,e[17]=m):m=e[17];let h;e[18]!==m?(h={label:m,key:"metric"},e[18]=m,e[19]=h):h=e[19];let _;e[20]!==r?(_=r.formatMessage({id:"ncm_status.tabs.routes.protocol"}),e[20]=r,e[21]=_):_=e[21];let g;e[22]!==_?(g={label:_,key:"protocol"},e[22]=_,e[23]=g):g=e[23];let y;e[24]!==o||e[25]!==g||e[26]!==c||e[27]!==d||e[28]!==p||e[29]!==h?(y=[o,c,d,p,h,g],e[24]=o,e[25]=g,e[26]=c,e[27]=d,e[28]=p,e[29]=h,e[30]=y):y=e[30];const b=y;let x;e[31]===Symbol.for("react.memo_cache_sentinel")?(x=a.jsx(rx,{}),e[31]=x):x=e[31];let w;e[32]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(en,{}),e[32]=w):w=e[32];let C;e[33]!==b||e[34]!==s.state?(C=A=>{const{routes:P,vrfs:T}=A;return a.jsxs(te,{nowrap:!0,fullHeight:!0,spacing:0,children:[a.jsx(gt,{sx:{flex:"0 0 auto",borderBottom:"1px solid",borderColor:"divider",p:2},children:a.jsx(tx,{vrfs:T,filterKeys:["vrf","family","table"]})}),a.jsx(gt,{sx:{flex:"1 1 auto",height:"100%",overflow:"hidden"},children:a.jsx(Br,{autoScale:!0,loading:s.state!=="idle",columns:b,rowKey:"dst",page:0,hidePagination:!0,data:P,rowsCount:P?.length||0,rowsPerPage:P?.length||0,orderBy:"dst"})})]})},e[33]=b,e[34]=s.state,e[35]=C):C=e[35];let k;return e[36]!==n.routesStatus||e[37]!==C?(k=a.jsx(I.Suspense,{fallback:x,children:a.jsx(Qt,{resolve:n.routesStatus,errorElement:w,children:C})}),e[36]=n.routesStatus,e[37]=C,e[38]=k):k=e[38],k}),But=I.memo(function(){const e=he.c(30),r=Ye(),n=Gr(),s=On(),i=zut,o=qut;let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l={initialSortingState:{direction:Gl.ASC,column:"priority"},getColumnValue:i,getColumnType:o},e[0]=l):l=e[0];const{sort:c,updateSorting:u,sorting:d}=ex(l);let f;e[1]!==u?(f=(T,j)=>{u({column:j,direction:T})},e[1]=u,e[2]=f):f=e[2];const p=f;let m;e[3]!==r?(m=r.formatMessage({id:"ncm_status.tabs.rules.priority"}),e[3]=r,e[4]=m):m=e[4];let h;e[5]!==m?(h={label:m,key:"priority",sortable:!0},e[5]=m,e[6]=h):h=e[6];let _;e[7]!==r?(_=r.formatMessage({id:"ncm_status.tabs.rules.rule"}),e[7]=r,e[8]=_):_=e[8];let g;e[9]!==_?(g={label:_,key:"action",cellRender:Vut},e[9]=_,e[10]=g):g=e[10];let y;e[11]!==r?(y=r.formatMessage({id:"ncm_status.tabs.rules.family"}),e[11]=r,e[12]=y):y=e[12];let b;e[13]!==y?(b={label:y,key:"family",sortable:!0},e[13]=y,e[14]=b):b=e[14];let x;e[15]!==h||e[16]!==g||e[17]!==b?(x=[h,g,b],e[15]=h,e[16]=g,e[17]=b,e[18]=x):x=e[18];const w=x;let C;e[19]===Symbol.for("react.memo_cache_sentinel")?(C=a.jsx(rx,{}),e[19]=C):C=e[19];let k;e[20]===Symbol.for("react.memo_cache_sentinel")?(k=a.jsx(en,{}),e[20]=k):k=e[20];let A;e[21]!==w||e[22]!==p||e[23]!==s.state||e[24]!==c||e[25]!==d?(A=T=>a.jsxs(te,{nowrap:!0,fullHeight:!0,spacing:0,children:[a.jsx(gt,{sx:{flex:"0 0 auto",borderBottom:"1px solid",borderColor:"divider",p:2},children:a.jsx(tx,{filterKeys:["family"]})}),a.jsx(gt,{sx:{flex:"1 1 auto",height:"100%",overflow:"hidden"},children:a.jsx(Br,{autoScale:!0,loading:s.state!=="idle",columns:w,rowKey:"priority",page:0,hidePagination:!0,data:c(T,d),rowsCount:T?.length||0,rowsPerPage:T?.length||0,orderBy:d.column,onSort:p,order:d.direction})})]}),e[21]=w,e[22]=p,e[23]=s.state,e[24]=c,e[25]=d,e[26]=A):A=e[26];let P;return e[27]!==n.rules||e[28]!==A?(P=a.jsx(I.Suspense,{fallback:C,children:a.jsx(Qt,{resolve:n.rules,errorElement:k,children:A})}),e[27]=n.rules,e[28]=A,e[29]=P):P=e[29],P});function zut(t,e){return t[e]?.toString()??""}function qut(t){switch(t){case"priority":return"number";default:return"string"}}function Vut(t){const e=[];if(t.src){let r=`from ${t.src}`;t.srclen&&(r=r+`/${t.srclen}`),e.push(r)}if(t.dst){let r=`to ${t.dst}`;t.dstlen&&(r=r+`/${t.dstlen}`),e.push(r)}return t.iif&&e.push(`iif ${t.iif}`),t.oif&&e.push(`oif ${t.oif}`),t.l3mdev===null?e.push("lookup [l3mdev-table]"):e.push(`lookup ${t.table}`),t.action&&e.push(`${t.action}`),t.protocol&&e.push(`proto ${t.protocol}`),a.jsx(_e,{type:"body2",children:e.join(" ")})}const Hut=I.memo(function(){const e=he.c(40),r=Ye(),n=Gr(),s=On(),i=Gut,o=Wut;let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l={initialSortingState:{direction:Gl.ASC,column:"protocol"},getColumnValue:i,getColumnType:o},e[0]=l):l=e[0];const{sort:c,updateSorting:u,sorting:d}=ex(l);let f;e[1]!==u?(f=(O,N)=>{u({column:N,direction:O})},e[1]=u,e[2]=f):f=e[2];const p=f;let m;e[3]!==r?(m=r.formatMessage({id:"ncm_status.tabs.sockets.local_address"}),e[3]=r,e[4]=m):m=e[4];let h;e[5]!==m?(h={label:m,key:"local_address",sortable:!0,cellRender:Yut},e[5]=m,e[6]=h):h=e[6];let _;e[7]!==r?(_=r.formatMessage({id:"ncm_status.tabs.sockets.peer_address"}),e[7]=r,e[8]=_):_=e[8];let g;e[9]!==_?(g={label:_,key:"peer_address",sortable:!0,cellRender:Kut},e[9]=_,e[10]=g):g=e[10];let y;e[11]!==r?(y=r.formatMessage({id:"ncm_status.tabs.sockets.protocol"}),e[11]=r,e[12]=y):y=e[12];let b;e[13]!==y?(b={label:y,key:"protocol",sortable:!0},e[13]=y,e[14]=b):b=e[14];let x;e[15]!==r?(x=r.formatMessage({id:"ncm_status.tabs.sockets.state"}),e[15]=r,e[16]=x):x=e[16];let w;e[17]!==x?(w={label:x,key:"state",sortable:!0},e[17]=x,e[18]=w):w=e[18];let C;e[19]!==r?(C=r.formatMessage({id:"ncm_status.tabs.sockets.process"}),e[19]=r,e[20]=C):C=e[20];let k;e[21]!==C?(k={label:C,key:"process",sortable:!0,cellRender:Qut},e[21]=C,e[22]=k):k=e[22];let A;e[23]!==k||e[24]!==h||e[25]!==g||e[26]!==b||e[27]!==w?(A=[h,g,b,w,k],e[23]=k,e[24]=h,e[25]=g,e[26]=b,e[27]=w,e[28]=A):A=e[28];const P=A;let T;e[29]===Symbol.for("react.memo_cache_sentinel")?(T=a.jsx(rx,{}),e[29]=T):T=e[29];let j;e[30]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(en,{}),e[30]=j):j=e[30];let R;e[31]!==P||e[32]!==p||e[33]!==s.state||e[34]!==c||e[35]!==d?(R=O=>a.jsxs(te,{nowrap:!0,fullHeight:!0,spacing:0,children:[a.jsx(gt,{sx:{flex:"0 0 auto",borderBottom:"1px solid",borderColor:"divider",p:2},children:a.jsx(tx,{filterKeys:["family"]})}),a.jsx(gt,{sx:{flex:"1 1 auto",height:"100%",overflow:"hidden"},children:a.jsx(Br,{autoScale:!0,loading:s.state!=="idle",columns:P,rowKey:"local_address",page:0,hidePagination:!0,data:c(O,d),rowsCount:O?.length||0,rowsPerPage:O?.length||0,orderBy:d.column,onSort:p,order:d.direction})})]}),e[31]=P,e[32]=p,e[33]=s.state,e[34]=c,e[35]=d,e[36]=R):R=e[36];let D;return e[37]!==n.sockets||e[38]!==R?(D=a.jsx(I.Suspense,{fallback:T,children:a.jsx(Qt,{resolve:n.sockets,errorElement:j,children:R})}),e[37]=n.sockets,e[38]=R,e[39]=D):D=e[39],D});function Gut(t,e){switch(e){case"process":return t[e]?.join(", ")??"";default:return t[e]??""}}function Wut(){return"string"}function Yut(t){const{local_address:e,local_port:r,interface:n}=t;return a.jsxs(_e,{type:"body2",children:[e,":",r,n?`%${n}`:""]})}function Kut(t){const{peer_address:e,peer_port:r}=t;return a.jsxs(_e,{type:"body2",children:[e,":",r]})}function Qut(t){const{process:e}=t;return e?.[0]&&a.jsxs(_e,{type:"body2",children:[e?.[0]?.name," (",e?.[0]?.pid,")"]})}async function Zut(){const t=await put();return xt(t)?Ar():Nt(),Ft(t)}async function Xut(t){const{kind:e,vrf:r,master:n,parent:s,family:i}=Uv({urlOrSearchParams:t.request.url}),o={...e&&{kind:e},...r&&{vrf:r},...n&&{master:n},...s&&{parent:s},...i&&{family:i}};return Wt({loaderArgs:t,deferred:!0,data:{interfacesStatus:uut({filter:o})}})}async function Jut(t){const{vrf:e,family:r}=Uv({urlOrSearchParams:t.request.url}),n={...e&&{vrf:e},...r&&{family:r}};return Wt({loaderArgs:t,deferred:!0,data:{neighborsStatus:dut({filter:n})}})}async function edt(t){const{vrf:e,family:r,table:n}=Uv({urlOrSearchParams:t.request.url}),s={...r&&{family:r},...n&&{table:n},...e&&!n&&{vrf:e}};return Wt({loaderArgs:t,deferred:!0,data:{routesStatus:fut({filter:s})}})}async function tdt(t){const{family:e}=Uv({urlOrSearchParams:t.request.url}),r={...e&&{family:e}};return Wt({loaderArgs:t,deferred:!0,data:{rules:out({filter:r})}})}async function rdt(t){const{family:e,proto:r}=Uv({urlOrSearchParams:t.request.url}),n={...e&&{family:e},...r&&{proto:r}};return Wt({loaderArgs:t,deferred:!0,data:{sockets:aut({filter:n})}})}async function QX(t){return Wt({loaderArgs:t,deferred:!0,data:{bird:cut()}})}const Gf=Pr(),ndt={path:"network",handle:vr({labelIntl:"route.ncm",icon:a.jsx(ge.NCM,{})}),children:[{element:a.jsx(Or,{fullHeight:!0}),children:[io(ue.NCM),{path:"status",handle:vr({to:"status",labelIntl:"route.ncm.status"}),errorElement:a.jsx(Tr,{}),element:a.jsx(Ao,{keepQueryParams:!0,tabs:[{url:"interfaces",label:Gf.formatMessage({id:"route.ncm.status.interfaces"})},{url:"neighbors",label:Gf.formatMessage({id:"route.ncm.status.neighbors"})},{url:"routes",label:Gf.formatMessage({id:"route.ncm.status.routes"})},{url:"rules",label:Gf.formatMessage({id:"route.ncm.status.rules"})},{url:"sockets",label:Gf.formatMessage({id:"route.ncm.status.sockets"})},{url:"bird",label:Gf.formatMessage({id:"route.ncm.status.bird"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"interfaces",replace:!0})},{path:"interfaces",errorElement:a.jsx(Tr,{}),element:a.jsx(jut,{}),loader:Xut},{path:"neighbors",errorElement:a.jsx(Tr,{}),element:a.jsx(Lut,{}),loader:Jut,children:[{action:Zut,path:"flush",loader:()=>rt("..")}]},{path:"routes",errorElement:a.jsx(Tr,{}),element:a.jsx(Uut,{}),loader:edt},{path:"rules",errorElement:a.jsx(Tr,{}),element:a.jsx(But,{}),loader:tdt},{path:"sockets",errorElement:a.jsx(Tr,{}),element:a.jsx(Hut,{}),loader:rdt},{path:"bird",errorElement:a.jsx(Tr,{}),element:a.jsx(la,{navs:[{url:"protocols",label:Gf.formatMessage({id:"route.ncm.status.bird.protocols"})},{url:"bfd-sessions",label:Gf.formatMessage({id:"route.ncm.status.bird.bfd_sessions"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"protocols",replace:!0})},{path:"protocols",element:a.jsx(but,{}),loader:QX},{path:"bfd-sessions",element:a.jsx(vut,{}),loader:QX}]}]}]}]},Si=Pr();var Nue=(t=>(t.IPV4="IPV4",t.IPV6="IPV6",t.IPV4V6="IPV4V6",t.UNSTRUCTURED="UNSTRUCTURED",t.ETHERNET="ETHERNET",t))(Nue||{});const sdt=Object.keys(Nue);var v7=(t=>(t["5G_EIR"]="5G_EIR",t.AF="AF",t.AMF="AMF",t.AUSF="AUSF",t.BSF="BSF",t.CBCF="CBCF",t.CHF="CHF",t.DRA="DRA",t.GMLC="GMLC",t.HSS="HSS",t.ICSCF="ICSCF",t.IMS_AS="IMS_AS",t.LMF="LMF",t.MME="MME",t.N3IWF="N3IWF",t.NEF="NEF",t.NRF="NRF",t.NSSAAF="NSSAAF",t.NSSF="NSSF",t.NWDAF="NWDAF",t.PCF="PCF",t.PCSCF="PCSCF",t.SCSAS="SCSAS",t.SCSCF="SCSCF",t.SEPP="SEPP",t.SMF="SMF",t.SMSF="SMSF",t.SOR_AF="SOR_AF",t.SPAF="SPAF",t.SCEF="SCEF",t.SCP="SCP",t.UCMF="UCMF",t.UDM="UDM",t.UDR="UDR",t.UDSF="UDSF",t.UPF="UPF",t))(v7||{});const idt=Object.keys(v7);var Eb=(t=>(t.REGISTERED="REGISTERED",t.SUSPENDED="SUSPENDED",t.UNDISCOVERABLE="UNDISCOVERABLE",t))(Eb||{});const odt=Object.keys(Eb);var b3=(t=>(t.N3="N3",t.N6="N6",t.N9="N9",t.DATA_FORWARDING="DATA_FORWARDING",t))(b3||{});function adt({sst:t,sd:e,sdRanges:r}){if(!t&&!e&&!r?.length)return;let n="";return t&&(n+=t),e&&(n+=`-${e}`),r?.length&&(n+=`-(${r.map(s=>{let i="";return s.start&&(i+=`${s.start}`),s.end&&(i+=`-${s.end}`),i}).join(", ")})`),n}function ldt({sst:t,sd:e}){if(!t&&!e)return;let r="";return t&&(r+=t),e&&(r+=`-${e}`),r}function ZX({start:t,end:e}){return{_uuid:gn(),start:t??"",end:e??""}}function XX({start:t,end:e}){return{...t&&{start:t},...e&&{end:e}}}function cdt({nid:t,tac:e,plmnId:r}){return{_uuid:gn(),nid:t,tac:e,plmnId:{mcc:r.mcc??"",mnc:r.mnc??""}}}function udt({nid:t,tac:e,plmnId:r}){return{...t&&{nid:t},tac:e,plmnId:r}}function ddt({dnnUpfInfoList:t,redundantTransport:e,sNssai:r}){return{_uuid:gn(),sNssai:{sst:r.sst,...r.sd&&{sd:r.sd}},dnnUpfInfoList:t?.map(n=>({_uuid:gn(),dnn:n.dnn,pduSessionTypes:n.pduSessionTypes||[],ipv4AddressRanges:n.ipv4AddressRanges?.map(ZX)||[],ipv6PrefixRanges:n.ipv6PrefixRanges?.map(ZX)||[]})),redundantTransport:e||!1}}function fdt({sNssai:t,dnnUpfInfoList:e,redundantTransport:r}){return{sNssai:{sst:t.sst,...t.sd&&{sd:t.sd}},...r&&{redundantTransport:r},dnnUpfInfoList:e?.map(({dnn:n,pduSessionTypes:s,ipv6PrefixRanges:i,ipv4AddressRanges:o})=>{const l=o?.filter(u=>!!u.start||!!u.end)||[],c=i?.filter(u=>!!u.start||!!u.end)||[];return{dnn:n,...!!s?.length&&{pduSessionTypes:s}||[],...!!l?.length&&{ipv4AddressRanges:l?.map(XX)}||[],...!!c?.length&&{ipv6PrefixRanges:c?.map(XX)}||[]}})}}function pdt({interfaceType:t,networkInstance:e}){return{_uuid:gn(),interfaceType:t,networkInstance:e}}function mdt({interfaceType:t,networkInstance:e}){return{...t&&{interfaceType:t},networkInstance:e}}function hdt(t){return{nfType:t?.nfType||"",fqdn:t?.fqdn||"",ipv4Addresses:t?.ipv4Addresses||[],ipv6Addresses:t?.ipv6Addresses||[],nfInstanceId:t?.nfInstanceId||"",nfInstanceName:t?.nfInstanceName||"",nfStatus:t?.nfStatus||"",priority:t?.priority||"",capacity:t?.capacity||"",locality:t?.locality||"",sNssais:t?.sNssais?.map(e=>({sst:e.sst,sd:e.sd||"",sdRanges:e.sdRanges?.map(r=>({_uuid:gn(),start:r.start||"",end:r.end||""}))||[],isRangesActive:!!e.sdRanges?.length,_uuid:gn()}))||[],plmnList:t?.plmnList?.map(e=>({_uuid:gn(),mnc:e.mnc||"",mcc:e.mcc||""})),...t?.upfInfoList&&{upfInfoList:Object.entries(t?.upfInfoList)?.map(([e,r])=>({_uuid:e,taiList:r.taiList?.map(cdt)||[],sNssaiUpfInfoList:r.sNssaiUpfInfoList.map(ddt),ueIpAddrInd:r.ueIpAddrInd,interfaceUpfInfoList:r.interfaceUpfInfoList?.map(pdt)||[]}))}}}function JX(t){return{nfType:t.nfType,nfStatus:t.nfStatus,...t.nfInstanceId&&{nfInstanceId:t.nfInstanceId},...t.nfInstanceName&&{nfInstanceName:t.nfInstanceName},...t.fqdn&&{fqdn:t.fqdn},...t.ipv4Addresses&&!!t.ipv4Addresses.length&&{ipv4Addresses:t.ipv4Addresses},...t.ipv6Addresses&&!!t.ipv6Addresses.length&&{ipv6Addresses:t.ipv6Addresses},...t.priority&&{priority:t.priority},...t.capacity&&{capacity:t.capacity},...t.locality&&{locality:t.locality},...t.sNssais&&!!t.sNssais?.length&&{sNssais:t.sNssais?.map(r=>({sst:r.sst,...r.sd&&!r.isRangesActive&&{sd:r.sd},...!!r.sdRanges?.length&&r.isRangesActive&&{sdRanges:r.sdRanges.map(({start:n,end:s})=>({start:n,end:s}))}}))},...t.plmnList&&!!t.plmnList?.length&&{plmnList:t.plmnList?.map(r=>({mnc:r.mnc,mcc:r.mcc}))},...t.upfInfoList&&!!t.upfInfoList?.length&&{upfInfoList:t.upfInfoList.reduce((r,{_uuid:n,taiList:s,sNssaiUpfInfoList:i,ueIpAddrInd:o,interfaceUpfInfoList:l})=>({...r,[n]:{...!!s?.length&&{taiList:s.map(udt)},ueIpAddrInd:o??!1,...i&&{sNssaiUpfInfoList:i.map(fdt)},...!!l?.length&&{interfaceUpfInfoList:l.map(mdt)}}}),{})}}}const gdt=dr().shape({nfInstanceId:We().matches(new RegExp($.regex.uuid)),nfType:We().required(Si.formatMessage({id:"validation.required"})),nfStatus:We().required(Si.formatMessage({id:"validation.required"})),fqdn:We().test("oneOfFqdnIpsRequired",Si.formatMessage({id:"nrf_static_profile.form.errors.fqdn_ips_at_least_one"}),(t,e)=>!!e.parent.fqdn||!!e.parent.ipv4Addresses?.length||!!e.parent.ipv6Addresses?.length),ipv4Addresses:yr().of(We().matches(new RegExp($.regex.ipv4Addr))).test("oneOfFqdnIpsRequired",Si.formatMessage({id:"nrf_static_profile.form.errors.fqdn_ips_at_least_one"}),(t,e)=>!!e.parent.fqdn||!!e.parent.ipv4Addresses?.length||!!e.parent.ipv6Addresses?.length),ipv6Addresses:yr().of(We().matches(new RegExp($.regex.ipv6Addr))).test("oneOfFqdnIpsRequired",Si.formatMessage({id:"nrf_static_profile.form.errors.fqdn_ips_at_least_one"}),(t,e)=>!!e.parent.fqdn||!!e.parent.ipv4Addresses?.length||!!e.parent.ipv6Addresses?.length),nfInstanceName:We(),priority:kn().min(0).max(65535),capacity:kn().min(0).max(65535),locality:We(),sNssais:yr().of(dr().shape({sst:kn().required(Si.formatMessage({id:"validation.required"})).min(0).max(255),isRangesActive:li(),sd:We().matches(new RegExp($.regex.sd)),sdRanges:yr().of(dr().shape({start:We().matches(new RegExp($.regex.sd)).required(Si.formatMessage({id:"validation.required"})),end:We().matches(new RegExp($.regex.sd)).required(Si.formatMessage({id:"validation.required"}))}))})),plmnList:yr().of(dr().shape({mcc:We().matches(new RegExp($.regex.mcc)).required(Si.formatMessage({id:"validation.required"})),mnc:We().matches(new RegExp($.regex.mnc)).required(Si.formatMessage({id:"validation.required"}))})),upfInfoList:yr().of(dr().shape({ueIpAddrInd:li(),interfaceUpfInfoList:yr().of(dr().shape({networkInstance:We(),interfaceType:We().required(Si.formatMessage({id:"validation.required"}))})),taiList:yr().of(dr().shape({plmnId:dr().shape({mcc:We().required(Si.formatMessage({id:"validation.required"})).matches(new RegExp($.regex.mcc)),mnc:We().required(Si.formatMessage({id:"validation.required"})).matches(new RegExp($.regex.mnc))}),tac:We().required(Si.formatMessage({id:"validation.required"})).matches(new RegExp($.regex.tac))})),sNssaiUpfInfoList:yr().of(dr().shape({sNssai:dr().shape({sd:We().matches(new RegExp($.regex.sd)),sst:kn().required(Si.formatMessage({id:"validation.required"})).min(0).max(255)}),dnnUpfInfoList:yr().of(dr().shape({dnn:We().required(Si.formatMessage({id:"validation.required"})),pduSessionTypes:yr().of(We()),ipv4AddressRanges:yr().of(dr().shape({start:We().required(Si.formatMessage({id:"validation.required"})).matches(new RegExp($.regex.ipv4Addr)),end:We().required(Si.formatMessage({id:"validation.required"})).matches(new RegExp($.regex.ipv4Addr))})),ipv6PrefixRanges:yr().of(dr().shape({start:We().required(Si.formatMessage({id:"validation.required"})).matches(new RegExp($.regex.ipv6Prefix)),end:We().required(Si.formatMessage({id:"validation.required"})).matches(new RegExp($.regex.ipv6Prefix))}))})).min(1),redundantTransport:li()})).required().min(1)})).when("$nfType",(t,e)=>t==="UPF"?e.required(Si.formatMessage({id:"validation.required"})):e)}),_dt=t=>{const e=he.c(13),{i:r}=t,n=Ye(),s=`plmnList[${r}].mcc`;let i;e[0]!==n?(i=f=>{const{field:p,meta:m,form:h}=f,{isSubmitting:_}=h;return a.jsx(dt,{...p,required:!0,label:n.formatMessage({id:"nrf_static_profile.form.plmnList.mcc"}),size:"small",error:!!m.error,helperText:m.error,disabled:_,sx:{width:"50%"}})},e[0]=n,e[1]=i):i=e[1];let o;e[2]!==s||e[3]!==i?(o=a.jsx(Ke,{name:s,children:i}),e[2]=s,e[3]=i,e[4]=o):o=e[4];const l=`plmnList[${r}].mnc`;let c;e[5]!==n?(c=f=>{const{field:p,meta:m,form:h}=f,{isSubmitting:_}=h;return a.jsx(dt,{...p,required:!0,label:n.formatMessage({id:"nrf_static_profile.form.plmnList.mnc"}),size:"small",error:!!m.error,helperText:m.error,disabled:_,sx:{width:"50%"}})},e[5]=n,e[6]=c):c=e[6];let u;e[7]!==l||e[8]!==c?(u=a.jsx(Ke,{name:l,children:c}),e[7]=l,e[8]=c,e[9]=u):u=e[9];let d;return e[10]!==o||e[11]!==u?(d=a.jsxs(te,{direction:"row",nowrap:!0,fullWidth:!0,children:[o,u]}),e[10]=o,e[11]=u,e[12]=d):d=e[12],d},vdt=t=>{const e=he.c(28),{i:r}=t,n=Ye(),{values:s,isSubmitting:i}=_0(),o=ydt,l=bdt,c=`sNssais[${r}].sst`;let u;e[0]!==n||e[1]!==i?(u=y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,required:!0,label:n.formatMessage({id:"nrf_static_profile.form.sNssais.sst"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})},e[0]=n,e[1]=i,e[2]=u):u=e[2];let d;e[3]!==c||e[4]!==u?(d=a.jsx(Ke,{name:c,children:u}),e[3]=c,e[4]=u,e[5]=d):d=e[5];const f=`sNssais[${r}].isRangesActive`;let p;e[6]!==r||e[7]!==n||e[8]!==i?(p=y=>{const{field:b,form:x}=y,{setFieldValue:w}=x;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(_e,{children:n.formatMessage({id:"nrf_static_profile.form.sNssais.isRangesActiveFalse"})}),a.jsx(ti,{checked:!!b.value,onChange:(C,k)=>{w(b.name,k),k?(w(`sNssais[${r}].sd`,""),w(`sNssais[${r}].sdRanges`,[{_uuid:gn(),start:"",end:""}])):(w(`sNssais[${r}].sdRanges`,[]),w(`sNssais[${r}].sd`,""))},disabled:i||!Ue(ie.provisioning)}),a.jsx(_e,{children:n.formatMessage({id:"nrf_static_profile.form.sNssais.isRangesActiveTrue"})})]})},e[6]=r,e[7]=n,e[8]=i,e[9]=p):p=e[9];let m;e[10]!==f||e[11]!==p?(m=a.jsx(Ke,{name:f,children:p}),e[10]=f,e[11]=p,e[12]=m):m=e[12];let h;e[13]!==r||e[14]!==n||e[15]!==i||e[16]!==s.sNssais?(h=!s.sNssais?.[r].isRangesActive&&a.jsx(Ke,{name:`sNssais[${r}].sd`,children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,label:n.formatMessage({id:"nrf_static_profile.form.sNssais.sd"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}}),e[13]=r,e[14]=n,e[15]=i,e[16]=s.sNssais,e[17]=h):h=e[17];let _;e[18]!==r||e[19]!==n||e[20]!==i||e[21]!==s.sNssais?(_=!!s.sNssais?.[r].isRangesActive&&a.jsx(oi,{name:`sNssais[${r}].sdRanges`,children:y=>{const{remove:b,push:x,form:w}=y,{getFieldMeta:C,errors:k}=w,A=P=>!C(P)?.error;return a.jsx(pr,{title:n.formatMessage({id:"nrf_static_profile.section.sNssais.sdRanges.title"}),headerActionsComponent:a.jsx(Ze,{text:n.formatMessage({id:"nrf_static_profile.section.sNssais.sdRanges.range_add"}),type:"button",variant:"outlined",onClick:()=>o(x),disabled:i}),children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:1,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[a.jsx(te,{children:!A(`sNssais[${r}].sdRanges`)&&a.jsxs(a.Fragment,{children:[a.jsx(_e,{color:"error",children:n.formatMessage({id:"nrf_static_profile.form.sNssais.form_errors.has_errors"})}),typeof k[`sNssais[${r}].sdRanges`]=="string"&&a.jsx(_e,{color:"error",paragraph:!1,children:a.jsx("ul",{children:a.jsx("li",{children:k[`sNssais[${r}].sdRanges`]})})})]})}),!!s.sNssais?.length&&s.sNssais[r].sdRanges?.map((P,T)=>a.jsxs(te,{direction:"row",align:"flex-start",nowrap:!0,children:[a.jsx(Ke,{name:`sNssais[${r}].sdRanges[${T}].start`,children:j=>{const{field:R,meta:D}=j;return a.jsx(dt,{...R,required:!0,label:n.formatMessage({id:"nrf_static_profile.form.sNssais.sdRanges.start"}),size:"small",error:!!D.error,helperText:D.error,disabled:i||!Ue(ie.provisioning),sx:{width:"50%"}})}}),a.jsx(Ke,{name:`sNssais[${r}].sdRanges[${T}].end`,children:j=>{const{field:R,meta:D}=j;return a.jsx(dt,{required:!0,...R,label:n.formatMessage({id:"nrf_static_profile.form.sNssais.sdRanges.end"}),size:"small",error:!!D.error,helperText:D.error,disabled:i||!Ue(ie.provisioning),sx:{width:"50%"}})}}),a.jsx(Zr,{onClick:()=>l(b,T),disabled:i,children:a.jsx(ge.Trash,{})})]},P._uuid)),!s.sNssais?.length&&a.jsx(_e,{children:n.formatMessage({id:"nrf_static_profile.section.sNssais.sdRanges.no_ranges"})})]})})})})}}),e[18]=r,e[19]=n,e[20]=i,e[21]=s.sNssais,e[22]=_):_=e[22];let g;return e[23]!==d||e[24]!==m||e[25]!==h||e[26]!==_?(g=a.jsxs(te,{children:[d,m,h,_]}),e[23]=d,e[24]=m,e[25]=h,e[26]=_,e[27]=g):g=e[27],g};function ydt(t){const e={_uuid:gn(),start:"",end:""};t(e)}function bdt(t,e){t(e)}function xdt(t){const e=he.c(17),{children:r,index:n,parentFieldName:s,interfaceTypeOptions:i}=t,o=Ye(),l=`${s}[${n}].interfaceType`;let c;e[0]!==i||e[1]!==o?(c=_=>{const{field:g,meta:y,form:b}=_,{isSubmitting:x}=b;return a.jsx(qs,{...g,label:o.formatMessage({id:"nrf_static_profile.form.upfInfoList.interfaceUpfInfoList.interface_type"}),size:"small",error:!!y.error,helperText:y.error,disabled:x||!Ue(ie.provisioning),required:!0,children:i.map(Sdt)})},e[0]=i,e[1]=o,e[2]=c):c=e[2];let u;e[3]!==l||e[4]!==c?(u=a.jsx(Ke,{name:l,children:c}),e[3]=l,e[4]=c,e[5]=u):u=e[5];const d=`${s}[${n}].networkInstance`;let f;e[6]!==o?(f=_=>{const{field:g,meta:y,form:b}=_,{isSubmitting:x}=b;return a.jsx(dt,{...g,label:o.formatMessage({id:"nrf_static_profile.form.upfInfoList.interfaceUpfInfoList.network_instance"}),size:"small",error:!!y.error,helperText:y.error,fullWidth:!0,disabled:x||!Ue(ie.provisioning)})},e[6]=o,e[7]=f):f=e[7];let p;e[8]!==d||e[9]!==f?(p=a.jsx(Ke,{name:d,children:f}),e[8]=d,e[9]=f,e[10]=p):p=e[10];let m;e[11]!==u||e[12]!==p?(m=a.jsxs(te,{fullWidth:!0,children:[u,p]}),e[11]=u,e[12]=p,e[13]=m):m=e[13];let h;return e[14]!==r||e[15]!==m?(h=a.jsxs(te,{direction:"row",align:"flex-start",divided:!0,nowrap:!0,fullWidth:!0,children:[m,r]}),e[14]=r,e[15]=m,e[16]=h):h=e[16],h}function Sdt(t){return a.jsx(En,{value:t,children:t},t)}function wdt(t){const e=he.c(12),{upfIndex:r}=t,n=Ye();let s;e[0]!==r?(s=(f,p)=>{const m=Object.values(b3).filter(h=>!f?.upfInfoList?.[r].interfaceUpfInfoList.find(_=>_.interfaceType===h));return p?.interfaceType&&m.push(p.interfaceType),Array.from(new Set(m)).sort(Adt).filter(Cdt)},e[0]=r,e[1]=s):s=e[1];const i=s;let o;e[2]!==i?(o=(f,p)=>{const m={_uuid:gn(),interfaceType:i(p)[0],networkInstance:""};f(m)},e[2]=i,e[3]=o):o=e[3];const l=o,c=`upfInfoList[${r}].interfaceUpfInfoList`;let u;e[4]!==i||e[5]!==l||e[6]!==n||e[7]!==r?(u=f=>{const{remove:p,push:m,form:h}=f,{getFieldMeta:_,isSubmitting:g,errors:y,values:b}=h,x=b,w=C=>!_(C)?.error;return a.jsx(pr,{title:n.formatMessage({id:"nrf_static_profile.section.upf.interfaceUpfInfoList.title"}),headerActionsComponent:a.jsx(Ze,{text:n.formatMessage({id:"nrf_static_profile.section.upf.interfaceUpfInfoList.interface_add"}),type:"button",variant:"outlined",onClick:()=>l(m,x),disabled:g||!i(x).length||!Ue(ie.provisioning)}),children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:2,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[a.jsx(te,{children:!w(`upfInfoList[${r}].interfaceUpfInfoList`)&&a.jsxs(a.Fragment,{children:[a.jsx(_e,{color:"error",children:n.formatMessage({id:"nrf_static_profile.form.upfInfoList.form_errors.has_errors"})}),typeof y[`upfInfoList[${r}].interfaceUpfInfoList`]=="string"&&a.jsx(_e,{color:"error",children:a.jsx("ul",{children:a.jsx("li",{children:y[`upfInfoList[${r}].interfaceUpfInfoList`]})})})]})}),a.jsx(te,{divided:!0,spacing:3,children:!!x?.upfInfoList?.[r].interfaceUpfInfoList?.length&&x.upfInfoList[r].interfaceUpfInfoList?.map((C,k)=>a.jsx(xdt,{parentFieldName:`upfInfoList[${r}].interfaceUpfInfoList`,index:k,interfaceTypeOptions:i(x,C),children:a.jsx(Zr,{onClick:()=>p(k),disabled:g||!Ue(ie.provisioning),children:a.jsx(ge.Trash,{})})},C._uuid))}),!x?.upfInfoList?.[r].interfaceUpfInfoList?.length&&a.jsx(_e,{children:n.formatMessage({id:"nrf_static_profile.section.upf.interfaceUpfInfoList.no_interfaces"})})]})})})})},e[4]=i,e[5]=l,e[6]=n,e[7]=r,e[8]=u):u=e[8];let d;return e[9]!==c||e[10]!==u?(d=a.jsx(oi,{name:c,children:u}),e[9]=c,e[10]=u,e[11]=d):d=e[11],d}function Cdt(t){return!!t}function Adt(t,e){return t===b3.DATA_FORWARDING?1:e===b3.DATA_FORWARDING?-1:t>e?1:-1}const kdt=t=>{const e=he.c(16),{parentFieldName:r,startLabel:n,endLabel:s,index:i,children:o}=t,l=`${r}[${i}].start`;let c;e[0]!==n?(c=_=>{const{field:g,meta:y,form:b}=_,{isSubmitting:x}=b;return a.jsx(dt,{...g,required:!0,label:n,size:"small",error:!!y.error,helperText:y.error,fullWidth:!0,disabled:x||!Ue(ie.provisioning)})},e[0]=n,e[1]=c):c=e[1];let u;e[2]!==l||e[3]!==c?(u=a.jsx(Ke,{name:l,children:c}),e[2]=l,e[3]=c,e[4]=u):u=e[4];const d=`${r}[${i}].end`;let f;e[5]!==s?(f=_=>{const{field:g,meta:y,form:b}=_,{isSubmitting:x}=b;return a.jsx(dt,{...g,required:!0,size:"small",label:s,error:!!y.error,helperText:y.error,fullWidth:!0,disabled:x||!Ue(ie.provisioning)})},e[5]=s,e[6]=f):f=e[6];let p;e[7]!==d||e[8]!==f?(p=a.jsx(Ke,{name:d,children:f}),e[7]=d,e[8]=f,e[9]=p):p=e[9];let m;e[10]!==u||e[11]!==p?(m=a.jsxs(te,{fullWidth:!0,children:[u,p]}),e[10]=u,e[11]=p,e[12]=m):m=e[12];let h;return e[13]!==o||e[14]!==m?(h=a.jsxs(te,{direction:"row",align:"flex-start",divided:!0,nowrap:!0,fullWidth:!0,children:[m,o]}),e[13]=o,e[14]=m,e[15]=h):h=e[15],h},eJ=t=>{const e=he.c(15),{fieldName:r,startLabel:n,endLabel:s,addLabel:i,noItemsLabel:o,titleLabel:l,listValue:c}=t,{getFieldMeta:u}=_0(),d=Mdt,f=Pdt;let p;e[0]!==r||e[1]!==u?(p=()=>!u(r)?.error,e[0]=r,e[1]=u,e[2]=p):p=e[2];const m=p;let h;e[3]!==i||e[4]!==s||e[5]!==r||e[6]!==m||e[7]!==c||e[8]!==o||e[9]!==n||e[10]!==l?(h=g=>{const{remove:y,push:b,form:x}=g,{isSubmitting:w}=x;return a.jsx(pr,{title:l,headerActionsComponent:a.jsx(Ze,{text:i,type:"button",variant:"outlined",onClick:()=>d(b),disabled:w||!Ue(ie.provisioning)}),error:!m(),children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:2,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[a.jsx(te,{divided:!0,spacing:3,children:!!c.length&&c?.map((C,k)=>a.jsx(kdt,{parentFieldName:r,startLabel:n,endLabel:s,index:k,children:a.jsx(Zr,{onClick:()=>f(y,k),disabled:w||!Ue(ie.provisioning),children:a.jsx(ge.Trash,{})})},C._uuid))}),!c?.length&&a.jsx(_e,{children:o})]})})})})},e[3]=i,e[4]=s,e[5]=r,e[6]=m,e[7]=c,e[8]=o,e[9]=n,e[10]=l,e[11]=h):h=e[11];let _;return e[12]!==r||e[13]!==h?(_=a.jsx(oi,{name:r,children:h}),e[12]=r,e[13]=h,e[14]=_):_=e[14],_};function Mdt(t){const e={_uuid:gn(),start:"",end:""};t(e)}function Pdt(t,e){t(e)}const jdt=t=>{const e=he.c(61),{upfIndex:r,sliceIndex:n,dnnIndex:s}=t,i=Ye(),{values:o}=_0(),l=`upfInfoList[${r}].sNssaiUpfInfoList[${n}].dnnUpfInfoList[${s}].dnn`;let c;e[0]!==i?(c=N=>{const{field:F,meta:U,form:z}=N,{isSubmitting:H}=z;return a.jsx(dt,{...F,required:!0,label:i.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.dnn"}),size:"small",error:!!U.error,helperText:U.error,disabled:H||!Ue(ie.provisioning)})},e[0]=i,e[1]=c):c=e[1];let u;e[2]!==l||e[3]!==c?(u=a.jsx(Ke,{name:l,children:c}),e[2]=l,e[3]=c,e[4]=u):u=e[4];const d=`upfInfoList[${r}].sNssaiUpfInfoList[${n}].dnnUpfInfoList[${s}].pduSessionTypes`;let f;e[5]!==i?(f=N=>{const{field:F,meta:U,form:z}=N,{setFieldValue:H,isSubmitting:W}=z;return a.jsx(rn,{name:F.name,value:F.value||[],label:i.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.pduSessionTypes"}),multiple:!0,size:"small",options:sdt,onChange:(K,q)=>{H(F.name,[...new Set(q.map(Tdt))])},error:!!U.error,helperText:U.error,disabled:W||!Ue(ie.provisioning),fullWidth:!0})},e[5]=i,e[6]=f):f=e[6];let p;e[7]!==d||e[8]!==f?(p=a.jsx(Ke,{name:d,children:f}),e[7]=d,e[8]=f,e[9]=p):p=e[9];const m=`upfInfoList[${r}].sNssaiUpfInfoList[${n}].dnnUpfInfoList[${s}].ipv4AddressRanges`;let h;e[10]!==i?(h=i.formatMessage({id:"nrf_static_profile.section.upf.ipv4Ranges.range_add"}),e[10]=i,e[11]=h):h=e[11];let _;e[12]!==i?(_=i.formatMessage({id:"nrf_static_profile.section.upf.ipv4Ranges.no_ranges"}),e[12]=i,e[13]=_):_=e[13];let g;e[14]!==i?(g=i.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges.start"}),e[14]=i,e[15]=g):g=e[15];let y;e[16]!==i?(y=i.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges.end"}),e[16]=i,e[17]=y):y=e[17];let b;e[18]!==i?(b=i.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv4Ranges"}),e[18]=i,e[19]=b):b=e[19];let x;e[20]!==s||e[21]!==n||e[22]!==r||e[23]!==o.upfInfoList?(x=o.upfInfoList?.[r]?.sNssaiUpfInfoList?.[n]?.dnnUpfInfoList?.[s]?.ipv4AddressRanges||[],e[20]=s,e[21]=n,e[22]=r,e[23]=o.upfInfoList,e[24]=x):x=e[24];let w;e[25]!==g||e[26]!==y||e[27]!==b||e[28]!==x||e[29]!==m||e[30]!==h||e[31]!==_?(w=a.jsx(eJ,{fieldName:m,addLabel:h,noItemsLabel:_,startLabel:g,endLabel:y,titleLabel:b,listValue:x}),e[25]=g,e[26]=y,e[27]=b,e[28]=x,e[29]=m,e[30]=h,e[31]=_,e[32]=w):w=e[32];const C=`upfInfoList[${r}].sNssaiUpfInfoList[${n}].dnnUpfInfoList[${s}].ipv6PrefixRanges`;let k;e[33]!==i?(k=i.formatMessage({id:"nrf_static_profile.section.upf.ipv6Ranges.range_add"}),e[33]=i,e[34]=k):k=e[34];let A;e[35]!==i?(A=i.formatMessage({id:"nrf_static_profile.section.upf.ipv6Ranges.no_ranges"}),e[35]=i,e[36]=A):A=e[36];let P;e[37]!==i?(P=i.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges.start"}),e[37]=i,e[38]=P):P=e[38];let T;e[39]!==i?(T=i.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges.end"}),e[39]=i,e[40]=T):T=e[40];let j;e[41]!==i?(j=i.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.dnnUpfInfoList.ipv6Ranges"}),e[41]=i,e[42]=j):j=e[42];let R;e[43]!==s||e[44]!==n||e[45]!==r||e[46]!==o.upfInfoList?(R=o.upfInfoList?.[r]?.sNssaiUpfInfoList?.[n]?.dnnUpfInfoList?.[s]?.ipv6PrefixRanges||[],e[43]=s,e[44]=n,e[45]=r,e[46]=o.upfInfoList,e[47]=R):R=e[47];let D;e[48]!==C||e[49]!==k||e[50]!==A||e[51]!==P||e[52]!==T||e[53]!==j||e[54]!==R?(D=a.jsx(eJ,{fieldName:C,addLabel:k,noItemsLabel:A,startLabel:P,endLabel:T,titleLabel:j,listValue:R}),e[48]=C,e[49]=k,e[50]=A,e[51]=P,e[52]=T,e[53]=j,e[54]=R,e[55]=D):D=e[55];let O;return e[56]!==w||e[57]!==D||e[58]!==u||e[59]!==p?(O=a.jsxs(te,{spacing:2,children:[u,p,w,D]}),e[56]=w,e[57]=D,e[58]=u,e[59]=p,e[60]=O):O=e[60],O};function Tdt(t){return t.trim()}const Edt=t=>{const e=he.c(7),{upfIndex:r,sliceIndex:n}=t,s=Ye(),i=Rdt,o=Idt,l=Ddt,c=`upfInfoList[${r}].sNssaiUpfInfoList[${n}].dnnUpfInfoList`;let u;e[0]!==s||e[1]!==n||e[2]!==r?(u=f=>{const{remove:p,push:m,form:h}=f,{getFieldMeta:_,isSubmitting:g,values:y,errors:b}=h,x=w=>!_(w)?.error;return a.jsx(pr,{title:s.formatMessage({id:"nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.title"}),headerActionsComponent:a.jsx(Ze,{text:s.formatMessage({id:"nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.dnn_add"}),type:"button",variant:"outlined",onClick:()=>o(m),disabled:g||!Ue(ie.provisioning)}),children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:2,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[a.jsx(te,{children:!x(`upfInfoList[${r}].sNssaiUpfInfoList[${n}].dnnUpfInfoList`)&&a.jsxs(a.Fragment,{children:[a.jsx(_e,{color:"error",children:s.formatMessage({id:"nrf_static_profile.form.upfInfoList.form_errors.has_errors"})}),typeof b[`upfInfoList[${r}].sNssaiUpfInfoList`]=="string"&&a.jsx(_e,{color:"error",children:a.jsx("ul",{children:a.jsx("li",{children:b[`upfInfoList[${r}].sNssaiUpfInfoList`]})})})]})}),a.jsx(Jn,{exclusive:!0,spacing:2,children:y.upfInfoList[r]?.sNssaiUpfInfoList[n]?.dnnUpfInfoList?.map((w,C)=>a.jsx(xr,{title:`${i({dnn:w.dnn,i:C})}`,error:!x(`upfInfoList[${r}].sNssaiUpfInfoList[${n}].dnnUpfInfoList[${C}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>l(p,C),label:s.formatMessage({id:"nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.dnn_delete"}),disabled:g||!Ue(ie.provisioning)}],content:a.jsx(jdt,{upfIndex:r,sliceIndex:n,dnnIndex:C})},`${w._uuid}`))||null}),!y.upfInfoList[r]?.sNssaiUpfInfoList[n]?.dnnUpfInfoList?.length&&a.jsx(_e,{children:s.formatMessage({id:"nrf_static_profile.section.upf.sNssaiUpfInfoList.dnns.no_dnns"})})]})})})})},e[0]=s,e[1]=n,e[2]=r,e[3]=u):u=e[3];let d;return e[4]!==c||e[5]!==u?(d=a.jsx(oi,{name:c,children:u}),e[4]=c,e[5]=u,e[6]=d):d=e[6],d};function Rdt(t){const{dnn:e,i:r}=t;return e||`DNN #${r+1}`}function Idt(t){const e={_uuid:gn(),dnn:"",pduSessionTypes:[],ipv4AddressRanges:[],ipv6PrefixRanges:[]};t(e)}function Ddt(t,e){t(e)}const $dt=t=>{const e=he.c(17),{upfIndex:r,sliceIndex:n}=t,s=Ye(),i=`upfInfoList[${r}].sNssaiUpfInfoList[${n}].sNssai.sst`;let o;e[0]!==s?(o=m=>{const{field:h,meta:_,form:g}=m,{isSubmitting:y}=g;return a.jsx(dt,{...h,required:!0,label:s.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.sNssai.sst"}),size:"small",error:!!_.error,helperText:_.error,disabled:y||!Ue(ie.provisioning)})},e[0]=s,e[1]=o):o=e[1];let l;e[2]!==i||e[3]!==o?(l=a.jsx(Ke,{name:i,children:o}),e[2]=i,e[3]=o,e[4]=l):l=e[4];const c=`upfInfoList[${r}].sNssaiUpfInfoList[${n}].sNssai.sd`;let u;e[5]!==s?(u=m=>{const{field:h,meta:_,form:g}=m,{isSubmitting:y}=g;return a.jsx(dt,{...h,label:s.formatMessage({id:"nrf_static_profile.form.upfInfoList.sNssaiUpfInfoList.sNssai.sd"}),size:"small",error:!!_.error,helperText:_.error,disabled:y||!Ue(ie.provisioning)})},e[5]=s,e[6]=u):u=e[6];let d;e[7]!==c||e[8]!==u?(d=a.jsx(Ke,{name:c,children:u}),e[7]=c,e[8]=u,e[9]=d):d=e[9];let f;e[10]!==n||e[11]!==r?(f=a.jsx(Edt,{upfIndex:r,sliceIndex:n}),e[10]=n,e[11]=r,e[12]=f):f=e[12];let p;return e[13]!==l||e[14]!==d||e[15]!==f?(p=a.jsxs(te,{spacing:2,children:[l,d,f]}),e[13]=l,e[14]=d,e[15]=f,e[16]=p):p=e[16],p},Odt=t=>{const e=he.c(6),{upfIndex:r}=t,n=Ye(),s=Ldt,i=Ndt,o=Fdt,l=`upfInfoList[${r}].sNssaiUpfInfoList`;let c;e[0]!==n||e[1]!==r?(c=d=>{const{remove:f,push:p,form:m}=d,{getFieldMeta:h,isSubmitting:_,values:g,errors:y}=m,b=x=>!h(x)?.error;return a.jsx(pr,{title:`${n.formatMessage({id:"nrf_static_profile.section.upf.sNssaiUpfInfoList.title"})}*`,headerActionsComponent:a.jsx(Ze,{text:n.formatMessage({id:"nrf_static_profile.section.upf.sNssaiUpfInfoList.slice_add"}),type:"button",variant:"outlined",onClick:()=>i(p),disabled:_||!Ue(ie.provisioning)}),children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:2,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[a.jsx(te,{children:!b(`upfInfoList[${r}].sNssaiUpfInfoList`)&&a.jsxs(a.Fragment,{children:[a.jsx(_e,{color:"error",children:n.formatMessage({id:"nrf_static_profile.form.upfInfoList.form_errors.has_errors"})}),typeof y[`upfInfoList[${r}].sNssaiUpfInfoList`]=="string"&&a.jsx(_e,{color:"error",children:a.jsx("ul",{children:a.jsx("li",{children:y[`upfInfoList[${r}].sNssaiUpfInfoList`]})})})]})}),a.jsx(Jn,{exclusive:!0,spacing:2,children:g.upfInfoList[r]?.sNssaiUpfInfoList?.map((x,w)=>a.jsx(xr,{title:`${s({sst:x.sNssai.sst,sd:x.sNssai.sd,i:w})}`,error:!b(`upfInfoList[${r}].sNssaiUpfInfoList[${w}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>o(f,w),label:n.formatMessage({id:"nrf_static_profile.section.upf.sNssaiUpfInfoList.slice_delete"}),disabled:_||!Ue(ie.provisioning)}],content:a.jsx($dt,{upfIndex:r,sliceIndex:w})},`${x._uuid}`))||null}),!g.upfInfoList[r]?.sNssaiUpfInfoList?.length&&a.jsx(_e,{children:n.formatMessage({id:"nrf_static_profile.section.upf.sNssaiUpfInfoList.no_slices"})})]})})})})},e[0]=n,e[1]=r,e[2]=c):c=e[2];let u;return e[3]!==l||e[4]!==c?(u=a.jsx(oi,{name:l,children:c}),e[3]=l,e[4]=c,e[5]=u):u=e[5],u};function Ldt(t){const{sst:e,sd:r,i:n}=t,s=ldt({sst:e,sd:r});return s||`Slice #${n+1}`}function Ndt(t){const e={_uuid:gn(),dnnUpfInfoList:[],sNssai:{sd:"",sst:""},redundantTransport:!1};t(e)}function Fdt(t,e){t(e)}function Udt(t){const e=he.c(18),{children:r,label:n,helperText:s,spacing:i,required:o,direction:l,sx:c}=t,u=i===void 0?2:i,d=o===void 0?!1:o,f=l===void 0?"row":l,p=As(),m=Nd(p.breakpoints.up("sm"))?f:"column";let h;e[0]===Symbol.for("react.memo_cache_sentinel")?(h={py:0,px:0,mr:.75,transform:"translateX(-2px)"},e[0]=h):h=e[0];let _;e[1]!==u||e[2]!==c?(_={".MuiCheckbox-root":h,mb:u,...c},e[1]=u,e[2]=c,e[3]=_):_=e[3];let g;e[4]!==n||e[5]!==d?(g=n&&a.jsx(mv,{color:"primary",required:d,sx:{mb:.75},children:n}),e[4]=n,e[5]=d,e[6]=g):g=e[6];let y;e[7]!==r||e[8]!==m||e[9]!==u?(y=a.jsx(te,{direction:m,fullWidth:!0,spacing:u,children:r}),e[7]=r,e[8]=m,e[9]=u,e[10]=y):y=e[10];let b;e[11]!==s?(b=s&&a.jsx(gv,{sx:{mx:0},children:s}),e[11]=s,e[12]=b):b=e[12];let x;return e[13]!==_||e[14]!==g||e[15]!==y||e[16]!==b?(x=a.jsxs(hv,{component:"fieldset",fullWidth:!0,sx:_,children:[g,y,b]}),e[13]=_,e[14]=g,e[15]=y,e[16]=b,e[17]=x):x=e[17],x}const Bdt=t=>{const e=he.c(24),{upfIndex:r,taiIndex:n}=t,s=Ye(),i=`upfInfoList[${r}].taiList[${n}].tac`;let o;e[0]!==s?(o=y=>{const{field:b,meta:x,form:w}=y,{isSubmitting:C}=w;return a.jsx(dt,{...b,required:!0,label:s.formatMessage({id:"nrf_static_profile.form.upfInfoList.taiList.tac"}),size:"small",error:!!x.error,helperText:x.error,disabled:C||!Ue(ie.provisioning)})},e[0]=s,e[1]=o):o=e[1];let l;e[2]!==i||e[3]!==o?(l=a.jsx(Ke,{name:i,children:o}),e[2]=i,e[3]=o,e[4]=l):l=e[4];let c;e[5]!==s?(c=s.formatMessage({id:"nrf_static_profile.form.upfInfoList.taiList.plmnId"}),e[5]=s,e[6]=c):c=e[6];const u=`upfInfoList[${r}].taiList[${n}].plmnId.mcc`;let d;e[7]!==s?(d=y=>{const{field:b,meta:x,form:w}=y,{isSubmitting:C}=w;return a.jsx(dt,{...b,required:!0,label:s.formatMessage({id:"nrf_static_profile.form.upfInfoList.taiList.plmnId.mcc"}),size:"small",error:!!x.error,helperText:x.error,disabled:C||!Ue(ie.provisioning)})},e[7]=s,e[8]=d):d=e[8];let f;e[9]!==u||e[10]!==d?(f=a.jsx(Ke,{name:u,children:d}),e[9]=u,e[10]=d,e[11]=f):f=e[11];const p=`upfInfoList[${r}].taiList[${n}].plmnId.mnc`;let m;e[12]!==s?(m=y=>{const{field:b,meta:x,form:w}=y,{isSubmitting:C}=w;return a.jsx(dt,{...b,required:!0,label:s.formatMessage({id:"nrf_static_profile.form.upfInfoList.taiList.plmnId.mnc"}),size:"small",error:!!x.error,helperText:x.error,disabled:C||!Ue(ie.provisioning)})},e[12]=s,e[13]=m):m=e[13];let h;e[14]!==p||e[15]!==m?(h=a.jsx(Ke,{name:p,children:m}),e[14]=p,e[15]=m,e[16]=h):h=e[16];let _;e[17]!==h||e[18]!==c||e[19]!==f?(_=a.jsxs(Udt,{label:c,children:[f,h]}),e[17]=h,e[18]=c,e[19]=f,e[20]=_):_=e[20];let g;return e[21]!==_||e[22]!==l?(g=a.jsxs(te,{spacing:2,children:[l,_]}),e[21]=_,e[22]=l,e[23]=g):g=e[23],g},zdt=t=>{const e=he.c(6),{upfIndex:r}=t,n=Ye(),s=qdt,i=Vdt,o=Hdt,l=`upfInfoList[${r}].taiList`;let c;e[0]!==n||e[1]!==r?(c=d=>{const{remove:f,push:p,form:m}=d,{getFieldMeta:h,isSubmitting:_,values:g,errors:y}=m,b=x=>!h(x)?.error;return a.jsx(pr,{title:n.formatMessage({id:"nrf_static_profile.section.upf.taiList.title"}),headerActionsComponent:a.jsx(Ze,{text:n.formatMessage({id:"nrf_static_profile.section.upf.taiList.tai_add"}),type:"button",variant:"outlined",onClick:()=>i(p),disabled:_||!Ue(ie.provisioning)}),children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:2,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[a.jsx(te,{children:!b(`upfInfoList[${r}].taiList`)&&a.jsxs(a.Fragment,{children:[a.jsx(_e,{color:"error",children:n.formatMessage({id:"nrf_static_profile.form.upfInfoList.form_errors.has_errors"})}),typeof y[`upfInfoList[${r}].taiList`]=="string"&&a.jsx(_e,{color:"error",children:a.jsx("ul",{children:a.jsx("li",{children:y[`upfInfoList[${r}].taiList`]})})})]})}),a.jsx(Jn,{exclusive:!0,spacing:2,children:g.upfInfoList[r]?.taiList?.map((x,w)=>a.jsx(xr,{title:`${s({...x,i:w})}`,error:!b(`upfInfoList[${r}].taiList[${w}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>o(f,w),label:n.formatMessage({id:"nrf_static_profile.section.upf.taiList.tai_delete"}),disabled:_||!Ue(ie.provisioning)}],content:a.jsx(Bdt,{upfIndex:r,taiIndex:w})},`${x._uuid}`))||null}),!g.upfInfoList[r]?.taiList?.length&&a.jsx(_e,{children:n.formatMessage({id:"nrf_static_profile.section.upf.taiList.no_tais"})})]})})})})},e[0]=n,e[1]=r,e[2]=c):c=e[2];let u;return e[3]!==l||e[4]!==c?(u=a.jsx(oi,{name:l,children:c}),e[3]=l,e[4]=c,e[5]=u):u=e[5],u};function qdt(t){const{tac:e,plmnId:r,i:n}=t,{mcc:s,mnc:i}=r;let o="";return e&&(o=`${e}`),(s||i)&&(o=o+" (",s&&(o=o+s),i&&(o=o+`-${i}`),o=o+")"),o||`TAI #${n+1}`}function Vdt(t){const e={_uuid:gn(),plmnId:{mnc:"",mcc:""},tac:"",nid:""};t(e)}function Hdt(t,e){t(e)}const Gdt=t=>{const e=he.c(14),{upfIndex:r}=t,n=Ye(),s=`upfInfoList[${r}].ueIpAddrInd`;let i;e[0]!==n?(i=f=>{const{field:p,form:m}=f,{setFieldValue:h,isSubmitting:_}=m;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:!!p.value,onChange:(g,y)=>{h(p.name,y)},disabled:_||!Ue(ie.provisioning)}),a.jsx(_e,{children:n.formatMessage({id:"nrf_static_profile.form.upfInfoList.ueIpAddrInd"})})]})},e[0]=n,e[1]=i):i=e[1];let o;e[2]!==s||e[3]!==i?(o=a.jsx(Ke,{name:s,children:i}),e[2]=s,e[3]=i,e[4]=o):o=e[4];let l,c,u;e[5]!==r?(l=a.jsx(wdt,{upfIndex:r}),c=a.jsx(zdt,{upfIndex:r}),u=a.jsx(Odt,{upfIndex:r}),e[5]=r,e[6]=l,e[7]=c,e[8]=u):(l=e[6],c=e[7],u=e[8]);let d;return e[9]!==o||e[10]!==l||e[11]!==c||e[12]!==u?(d=a.jsxs(te,{spacing:2,children:[o,l,c,u]}),e[9]=o,e[10]=l,e[11]=c,e[12]=u,e[13]=d):d=e[13],d},Wdt=t=>{const e=he.c(3),{isLoading:r}=t,n=Ye(),s=Ydt,i=Kdt,o=Qdt;let l;return e[0]!==n||e[1]!==r?(l=a.jsx(oi,{name:"upfInfoList",children:c=>{const{remove:u,push:d,form:f}=c,{getFieldMeta:p,values:m,errors:h}=f,_=g=>!p(g)?.error;return a.jsx(pr,{title:n.formatMessage({id:"nrf_static_profile.section.upf.title"}),headerActionsComponent:a.jsx(Ze,{text:n.formatMessage({id:"nrf_static_profile.section.upf.upf_instance_add"}),type:"button",variant:"outlined",onClick:()=>{i(d)},disabled:r||!Ue(ie.provisioning)}),children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:2,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[a.jsx(te,{children:!_("upfInfoList")&&a.jsxs(a.Fragment,{children:[a.jsx(_e,{color:"error",children:n.formatMessage({id:"nrf_static_profile.form.upfInfoList.form_errors.has_errors"})}),typeof h.upfInfoList=="string"&&a.jsx(_e,{color:"error",children:a.jsx("ul",{children:a.jsx("li",{children:h.upfInfoList})})})]})}),a.jsx(Jn,{exclusive:!0,spacing:2,children:m.upfInfoList?.map((g,y)=>a.jsx(xr,{title:`${s(y)}`,subtitle:g._uuid,error:!_(`upfInfoList[${y}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>o(u,y),label:n.formatMessage({id:"nrf_static_profile.section.upf.upf_instance_delete"}),disabled:r||!Ue(ie.provisioning)}],content:a.jsx(Gdt,{upfIndex:y})},`${g._uuid}`))||null}),!m.upfInfoList?.length&&a.jsx(_e,{children:n.formatMessage({id:"nrf_static_profile.section.upf.no_upf_instances"})})]})})})})}}),e[0]=n,e[1]=r,e[2]=l):l=e[2],l};function Ydt(t){return`UPF Instance #${t+1}`}function Kdt(t){const e={_uuid:gn(),sNssaiUpfInfoList:[],taiList:[],ueIpAddrInd:!1,interfaceUpfInfoList:[]};t(e)}function Qdt(t,e){t(e)}const Zdt=t=>{const e=he.c(66),{isEditing:r,isLoading:n,errorData:s}=t,i=Ye(),{values:o}=_0(),l=Xdt,c=Jdt,u=eft,d=tft,f=rft;let p;e[0]!==i?(p=i.formatMessage({id:"nrf_static_profile.section.general.title"}),e[0]=i,e[1]=p):p=e[1];let m;e[2]!==p?(m=a.jsx(_e,{type:"h6",fontWeight:600,children:p}),e[2]=p,e[3]=m):m=e[3];let h;e[4]!==i||e[5]!==r||e[6]!==n?(h=a.jsx(Ke,{name:"nfInstanceId",children:N=>{const{field:F,meta:U}=N;return a.jsx(dt,{...F,label:i.formatMessage({id:"nrf_static_profile.form.nfInstanceId"}),size:"small",error:!!U.error,helperText:U.error,disabled:r||n})}}),e[4]=i,e[5]=r,e[6]=n,e[7]=h):h=e[7];let _;e[8]!==i||e[9]!==n?(_=a.jsx(Ke,{name:"nfType",children:N=>{const{field:F,meta:U}=N;return a.jsx(qs,{...F,required:!0,label:i.formatMessage({id:"nrf_static_profile.form.nfType"}),size:"small",error:!!U.error,helperText:U.error,disabled:n,children:idt.map(nft)})}}),e[8]=i,e[9]=n,e[10]=_):_=e[10];let g;e[11]!==i||e[12]!==n?(g=a.jsx(Ke,{name:"nfStatus",children:N=>{const{field:F,meta:U}=N;return a.jsx(qs,{...F,required:!0,label:i.formatMessage({id:"nrf_static_profile.form.nfStatus"}),size:"small",error:!!U.error,helperText:U.error,disabled:n,children:odt.map(sft)})}}),e[11]=i,e[12]=n,e[13]=g):g=e[13];let y;e[14]!==i||e[15]!==n?(y=a.jsx(Ke,{name:"fqdn",children:N=>{const{field:F,meta:U}=N;return a.jsx(dt,{...F,label:i.formatMessage({id:"nrf_static_profile.form.fqdn"}),size:"small",error:!!U.error,helperText:U.error,disabled:n})}}),e[14]=i,e[15]=n,e[16]=y):y=e[16];let b;e[17]!==i||e[18]!==n?(b=a.jsx(Ke,{name:"ipv4Addresses",children:N=>{const{field:F,meta:U,form:z}=N,{setFieldValue:H}=z;return a.jsx(rn,{name:F.name,value:F.value||[],label:i.formatMessage({id:"nrf_static_profile.form.ipv4Addresses"}),multiple:!0,size:"small",freeSolo:!0,options:[],onChange:(W,K)=>{H(F.name,[...new Set(K.map(ift))])},error:!!U.error,helperText:U.error,disabled:n})}}),e[17]=i,e[18]=n,e[19]=b):b=e[19];let x;e[20]!==i||e[21]!==n?(x=a.jsx(Ke,{name:"ipv6Addresses",children:N=>{const{field:F,meta:U,form:z}=N,{setFieldValue:H}=z;return a.jsx(rn,{name:F.name,value:F.value||[],label:i.formatMessage({id:"nrf_static_profile.form.ipv6Addresses"}),multiple:!0,size:"small",freeSolo:!0,options:[],onChange:(W,K)=>{H(F.name,[...new Set(K.map(oft))])},error:!!U.error,helperText:U.error,disabled:n})}}),e[20]=i,e[21]=n,e[22]=x):x=e[22];let w;e[23]!==i||e[24]!==n?(w=a.jsx(Ke,{name:"nfInstanceName",children:N=>{const{field:F,meta:U}=N;return a.jsx(dt,{...F,label:i.formatMessage({id:"nrf_static_profile.form.nfInstanceName"}),size:"small",error:!!U.error,helperText:U.error,disabled:n})}}),e[23]=i,e[24]=n,e[25]=w):w=e[25];let C;e[26]!==i||e[27]!==n?(C=a.jsx(Ke,{name:"priority",children:N=>{const{field:F,meta:U}=N;return a.jsx(dt,{...F,label:i.formatMessage({id:"nrf_static_profile.form.priority"}),size:"small",type:"number",error:!!U.error,helperText:U.error,disabled:n})}}),e[26]=i,e[27]=n,e[28]=C):C=e[28];let k;e[29]!==i||e[30]!==n?(k=a.jsx(Ke,{name:"capacity",children:N=>{const{field:F,meta:U}=N;return a.jsx(dt,{...F,label:i.formatMessage({id:"nrf_static_profile.form.capacity"}),size:"small",type:"number",error:!!U.error,helperText:U.error,disabled:n})}}),e[29]=i,e[30]=n,e[31]=k):k=e[31];let A;e[32]!==i||e[33]!==n?(A=a.jsx(Ke,{name:"locality",children:N=>{const{field:F,meta:U}=N;return a.jsx(dt,{...F,label:i.formatMessage({id:"nrf_static_profile.form.locality"}),size:"small",error:!!U.error,helperText:U.error,disabled:n})}}),e[32]=i,e[33]=n,e[34]=A):A=e[34];let P;e[35]!==i||e[36]!==n||e[37]!==o.sNssais?(P=a.jsx(oi,{name:"sNssais",children:N=>{const{remove:F,push:U,form:z}=N,{getFieldMeta:H,errors:W}=z,K=q=>!H(q)?.error;return a.jsx(pr,{title:i.formatMessage({id:"nrf_static_profile.section.slices.title"}),headerActionsComponent:a.jsx(Ze,{text:i.formatMessage({id:"nrf_static_profile.section.slices.slice_add"}),type:"button",variant:"outlined",onClick:()=>c(U),disabled:n||!Ue(ie.provisioning)}),elevation:2,children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:1,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[a.jsx(te,{children:!K("sNssais")&&a.jsxs(a.Fragment,{children:[a.jsx(_e,{color:"error",children:i.formatMessage({id:"nrf_static_profile.form.sNssais.form_errors.has_errors"})}),typeof W.sNssais=="string"&&a.jsx(_e,{color:"error",children:a.jsx("ul",{children:a.jsx("li",{children:W.sNssais})})})]})}),a.jsx(Jn,{exclusive:!0,spacing:2,children:o.sNssais?.map((q,X)=>{const Q=q;return a.jsx(xr,{title:`${l(Q,X)}`,error:!K(`sNssais[${X}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>u(F,X),label:i.formatMessage({id:"nrf_static_profile.section.slices.slice_delete"}),disabled:n||!Ue(ie.provisioning)}],content:a.jsx(vdt,{i:X}),elevation:3},`${Q._uuid}`)})||[]}),!o.sNssais?.length&&a.jsx(_e,{children:i.formatMessage({id:"nrf_static_profile.section.slices.no_slices"})})]})})})})}}),e[35]=i,e[36]=n,e[37]=o.sNssais,e[38]=P):P=e[38];let T;e[39]!==i||e[40]!==n||e[41]!==o.plmnList?(T=a.jsx(oi,{name:"plmnList",children:N=>{const{remove:F,push:U}=N;return a.jsx(pr,{title:i.formatMessage({id:"nrf_static_profile.section.plmnList.title"}),headerActionsComponent:a.jsx(Ze,{text:i.formatMessage({id:"nrf_static_profile.section.plmnList.plmn_add"}),type:"button",variant:"outlined",onClick:()=>d(U),disabled:n||!Ue(ie.provisioning)}),elevation:2,children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsx(te,{direction:"column",spacing:1,nowrap:!0,fullWidth:!0,sx:{width:"100%"},children:a.jsxs(te,{fullWidth:!0,children:[!!o.plmnList?.length&&o.plmnList.map((z,H)=>{const W=z;return a.jsxs(te,{direction:"row",align:"flex-start",nowrap:!0,children:[a.jsx(_dt,{i:H}),a.jsx(Zr,{onClick:()=>f(F,H),disabled:n||!Ue(ie.provisioning),sx:{mt:"4px"},children:a.jsx(ge.Trash,{size:"24px"})})]},W._uuid)}),!o.plmnList?.length&&a.jsx(_e,{children:i.formatMessage({id:"nrf_static_profile.section.plmnList.no_plmns"})})]})})})})}}),e[39]=i,e[40]=n,e[41]=o.plmnList,e[42]=T):T=e[42];let j;e[43]!==s?(j=a.jsx(Xr,{data:s}),e[43]=s,e[44]=j):j=e[44];let R;e[45]!==C||e[46]!==k||e[47]!==A||e[48]!==P||e[49]!==T||e[50]!==j||e[51]!==h||e[52]!==_||e[53]!==g||e[54]!==y||e[55]!==b||e[56]!==x||e[57]!==w?(R=a.jsxs(te,{spacing:2,children:[h,_,g,y,b,x,w,C,k,A,P,T,j]}),e[45]=C,e[46]=k,e[47]=A,e[48]=P,e[49]=T,e[50]=j,e[51]=h,e[52]=_,e[53]=g,e[54]=y,e[55]=b,e[56]=x,e[57]=w,e[58]=R):R=e[58];let D;e[59]!==n||e[60]!==o.nfType?(D=o?.nfType===v7.UPF&&a.jsx(Wdt,{isLoading:n}),e[59]=n,e[60]=o.nfType,e[61]=D):D=e[61];let O;return e[62]!==R||e[63]!==D||e[64]!==m?(O=a.jsxs(te,{spacing:2,children:[m,R,D]}),e[62]=R,e[63]=D,e[64]=m,e[65]=O):O=e[65],O};function Xdt(t,e){const{sst:r,sd:n,sdRanges:s}=t,i=adt({sst:r,sd:n,sdRanges:s});return i||`Slice #${e+1}`}function Jdt(t){const e={_uuid:gn(),sst:"",sd:"",isRangesActive:!1,sdRanges:[]};t(e)}function eft(t,e){t(e)}function tft(t){const e={_uuid:gn(),mcc:"",mnc:""};t(e)}function rft(t,e){t(e)}function nft(t){return a.jsx(En,{value:t,children:t},t)}function sft(t){return a.jsx(En,{value:t,children:t},t)}function ift(t){return t.trim()}function oft(t){return t.trim()}const aft=t=>{const e=he.c(24),{staticProfile:r}=t,n=Ye(),{confirmationSimpleDialogOpen:s}=Jt(),{id:i}=ko(),{data:o,state:l,submit:c}=gr(),u=i!=="new";let d;e[0]!==r?(d=hdt(r),e[0]=r,e[1]=d):d=e[1];const f=d;let p;e[2]!==u||e[3]!==c?(p=b=>{u?c(JX(b),{method:"PUT",encType:"application/json",action:"update"}):c(JX(b),{method:"POST",encType:"application/json",action:"create"})},e[2]=u,e[3]=c,e[4]=p):p=e[4];const m=p;let h;e[5]!==s||e[6]!==l||e[7]!==i||e[8]!==n||e[9]!==u||e[10]!==c?(h=u&&a.jsx(hs,{children:a.jsx(Ze,{startIcon:a.jsx(ge.Trash,{}),variant:"outlined",disabled:l!=="idle"||!Ue(ie.provisioning),text:n.formatMessage({id:"nrf_static_profiles.actions.delete"}),onClick:()=>{i&&s({title:n.formatMessage({id:"nrf_static_profiles.actions.confirm_dialog.title"}),description:n.formatMessage({id:"nrf_static_profiles.actions.confirm_dialog.description"},{nfInstanceId:i}),onConfirm:()=>{c({id:i},{method:"DELETE",encType:"application/json",action:"delete"})},cancelText:n.formatMessage({id:"confirm_dialog.cancel"}),confirmText:n.formatMessage({id:"confirm_dialog.ok"})})}})}),e[5]=s,e[6]=l,e[7]=i,e[8]=n,e[9]=u,e[10]=c,e[11]=h):h=e[11];let _;e[12]!==o||e[13]!==l||e[14]!==n||e[15]!==u?(_=b=>{const{dirty:x}=b;return a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsxs(te,{spacing:2,children:[a.jsx(Zdt,{isEditing:u,isLoading:l!=="idle",errorData:o}),Ue(ie.provisioning)&&a.jsx(Ze,{type:"submit",text:n.formatMessage({id:"udr_supi.form.buttons.submit"}),disabled:!x,loading:l!=="idle",sx:{alignSelf:"flex-start"}})]})})},e[12]=o,e[13]=l,e[14]=n,e[15]=u,e[16]=_):_=e[16];let g;e[17]!==m||e[18]!==f||e[19]!==_?(g=a.jsx(Kt,{children:a.jsx(Wr,{initialValues:f,enableReinitialize:!0,validationSchema:gdt,onSubmit:m,children:_})}),e[17]=m,e[18]=f,e[19]=_,e[20]=g):g=e[20];let y;return e[21]!==h||e[22]!==g?(y=a.jsxs(a.Fragment,{children:[h,g]}),e[21]=h,e[22]=g,e[23]=y):y=e[23],y},lft=()=>{const t=he.c(4),e=zn();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(Dt,{variant:"rounded",height:"600px"}),t[0]=r):r=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Tr,{}),t[1]=n):n=t[1];let s;return t[2]!==e.staticProfile?(s=a.jsx(I.Suspense,{fallback:r,children:a.jsx(Qt,{resolve:e.staticProfile,errorElement:n,children:cft})}),t[2]=e.staticProfile,t[3]=s):s=t[3],s};function cft(t){return a.jsx(aft,{staticProfile:t})}const Ap=t=>{const e=he.c(25),{text:r,max:n,fontWeight:s}=t,i=n===void 0?10:n,o=s===void 0?"400":s,{snackbarOpen:l}=Jt(),c=Ye();let u;e[0]!==c||e[1]!==l||e[2]!==r?(u=()=>{navigator.clipboard.writeText(r),l({message:c.formatMessage({id:"long_string_displayer.message.copy_ok"}),severity:"success"})},e[0]=c,e[1]=l,e[2]=r,e[3]=u):u=e[3];const d=u;if(!r)return null;let f;e[4]===Symbol.for("react.memo_cache_sentinel")?(f={wordBreak:"break-all"},e[4]=f):f=e[4];let p;e[5]!==i||e[6]!==r?(p=r.length>i?`${r.substring(0,i)}...`:r,e[5]=i,e[6]=r,e[7]=p):p=e[7];let m;e[8]!==o||e[9]!==p?(m=a.jsx("span",{children:a.jsx(te,{direction:"row",spacing:0,align:"center",children:a.jsx(_e,{type:"body2",fontWeight:o,sx:f,noWrap:!0,children:p})})}),e[8]=o,e[9]=p,e[10]=m):m=e[10];let h;e[11]!==m||e[12]!==r?(h=a.jsx(Mn,{title:r,children:m}),e[11]=m,e[12]=r,e[13]=h):h=e[13];let _;e[14]!==c?(_=c.formatMessage({id:"long_string_displayer.message.copy"}),e[14]=c,e[15]=_):_=e[15];let g;e[16]===Symbol.for("react.memo_cache_sentinel")?(g=a.jsx(ge.Copy,{}),e[16]=g):g=e[16];let y;e[17]!==d?(y=a.jsx("span",{children:a.jsx(Zr,{onClick:d,size:"small",children:g})}),e[17]=d,e[18]=y):y=e[18];let b;e[19]!==y||e[20]!==_?(b=a.jsx(Mn,{title:_,children:y}),e[19]=y,e[20]=_,e[21]=b):b=e[21];let x;return e[22]!==b||e[23]!==h?(x=a.jsxs(te,{direction:"row",spacing:.5,align:"center",nowrap:!0,children:[h,b]}),e[22]=b,e[23]=h,e[24]=x):x=e[24],x},uft=()=>{const t=he.c(83),e=Ye(),{confirmationSimpleDialogOpen:r}=Jt(),n=ys(),s=zn(),{submit:i}=gr();let o;t[0]!==e?(o=e.formatMessage({id:"nrf_static_profiles.table.nfType"}),t[0]=e,t[1]=o):o=t[1];let l;t[2]!==o?(l={key:"nfType",label:o,cellRender:dft},t[2]=o,t[3]=l):l=t[3];let c;t[4]!==e?(c=e.formatMessage({id:"nrf_static_profiles.table.nfStatus"}),t[4]=e,t[5]=c):c=t[5];let u;t[6]!==c?(u={key:"nfStatus",label:c,cellRender:fft},t[6]=c,t[7]=u):u=t[7];let d;t[8]!==e?(d=e.formatMessage({id:"nrf_static_profiles.table.fqdn"}),t[8]=e,t[9]=d):d=t[9];let f;t[10]!==d?(f={key:"fqdn",label:d},t[10]=d,t[11]=f):f=t[11];let p;t[12]!==e?(p=e.formatMessage({id:"nrf_static_profiles.table.ipv4Addresses"}),t[12]=e,t[13]=p):p=t[13];let m;t[14]!==p?(m={key:"ipv4Addresses",label:p,cellRender:mft},t[14]=p,t[15]=m):m=t[15];let h;t[16]!==e?(h=e.formatMessage({id:"nrf_static_profiles.table.ipv6Addresses"}),t[16]=e,t[17]=h):h=t[17];let _;t[18]!==h?(_={key:"ipv6Addresses",label:h,cellRender:gft},t[18]=h,t[19]=_):_=t[19];let g;t[20]!==e?(g=e.formatMessage({id:"nrf_static_profiles.table.priority"}),t[20]=e,t[21]=g):g=t[21];let y;t[22]!==g?(y={key:"priority",label:g},t[22]=g,t[23]=y):y=t[23];let b;t[24]!==e?(b=e.formatMessage({id:"nrf_static_profiles.table.locality"}),t[24]=e,t[25]=b):b=t[25];let x;t[26]!==b?(x={key:"locality",label:b},t[26]=b,t[27]=x):x=t[27];let w;t[28]!==e?(w=e.formatMessage({id:"nrf_static_profiles.table.capacity"}),t[28]=e,t[29]=w):w=t[29];let C;t[30]!==w?(C={key:"capacity",label:w},t[30]=w,t[31]=C):C=t[31];let k;t[32]!==e?(k=e.formatMessage({id:"nrf_static_profiles.table.sNssais"}),t[32]=e,t[33]=k):k=t[33];let A;t[34]!==k?(A={key:"sNssais",label:k,cellRender:_ft},t[34]=k,t[35]=A):A=t[35];let P;t[36]!==e?(P=e.formatMessage({id:"nrf_static_profiles.table.plmnList"}),t[36]=e,t[37]=P):P=t[37];let T;t[38]!==P?(T={key:"plmnList",label:P,cellRender:vft},t[38]=P,t[39]=T):T=t[39];let j;t[40]!==e?(j=e.formatMessage({id:"nrf_static_profiles.table.nfInstanceId"}),t[40]=e,t[41]=j):j=t[41];let R;t[42]!==j?(R={key:"nfInstanceId",label:j,cellRender:yft},t[42]=j,t[43]=R):R=t[43];let D;t[44]!==l||t[45]!==y||t[46]!==x||t[47]!==C||t[48]!==A||t[49]!==T||t[50]!==R||t[51]!==u||t[52]!==f||t[53]!==m||t[54]!==_?(D=[l,u,f,m,_,y,x,C,A,T,R],t[44]=l,t[45]=y,t[46]=x,t[47]=C,t[48]=A,t[49]=T,t[50]=R,t[51]=u,t[52]=f,t[53]=m,t[54]=_,t[55]=D):D=t[55];const O=D;let N;t[56]===Symbol.for("react.memo_cache_sentinel")?(N=_l(ie.configuration),t[56]=N):N=t[56];let F;t[57]!==n?(F={...N,onClick:fe=>{const{nfInstanceId:de}=fe;return n(`${$.urls.nrfStaticProfiles}/${de}`)}},t[57]=n,t[58]=F):F=t[58];let U;t[59]!==e?(U=e.formatMessage({id:"nrf_static_profiles.actions.delete"}),t[59]=e,t[60]=U):U=t[60];let z;t[61]===Symbol.for("react.memo_cache_sentinel")?(z=Ue(ie.configuration),t[61]=z):z=t[61];let H;t[62]===Symbol.for("react.memo_cache_sentinel")?(H=a.jsx(ge.Trash,{}),t[62]=H):H=t[62];let W;t[63]!==r||t[64]!==e||t[65]!==i?(W=fe=>{const{nfInstanceId:de}=fe;de&&r({title:e.formatMessage({id:"nrf_static_profiles.actions.confirm_dialog.title"}),description:e.formatMessage({id:"nrf_static_profiles.actions.confirm_dialog.description"},{nfInstanceId:de}),onConfirm:()=>{i({id:de},{method:"DELETE",encType:"application/json",action:`${de}/delete`})},cancelText:e.formatMessage({id:"confirm_dialog.cancel"}),confirmText:e.formatMessage({id:"confirm_dialog.ok"})})},t[63]=r,t[64]=e,t[65]=i,t[66]=W):W=t[66];let K;t[67]!==U||t[68]!==W?(K={label:U,disabled:!z,icon:H,onClick:W},t[67]=U,t[68]=W,t[69]=K):K=t[69];let q;t[70]!==F||t[71]!==K?(q=[F,K],t[70]=F,t[71]=K,t[72]=q):q=t[72];const X=q;let Q;t[73]===Symbol.for("react.memo_cache_sentinel")?(Q=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[73]=Q):Q=t[73];let Y;t[74]===Symbol.for("react.memo_cache_sentinel")?(Y=a.jsx(Tr,{}),t[74]=Y):Y=t[74];let Z;t[75]!==O||t[76]!==e||t[77]!==n||t[78]!==X?(Z=fe=>a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{"data-testid":"nfr-profile-btn-add",text:e.formatMessage({id:"nrf_static_profiles.toolbar.new"}),startIcon:a.jsx(ge.Add,{}),onClick:()=>n(`${$.urls.nrfStaticProfiles}/new`),disabled:!Ue(ie.configuration)})}),a.jsx(Br,{autoScale:!0,orderBy:"nfInstanceId",columns:O,data:fe,page:1,rowsCount:fe.length,rowsPerPage:fe.length,rowsPerPageOptions:$.pageSizeOptions,hidePagination:!0,rowKey:"nfInstanceId",rowActions:X,stickyRowActions:!0})]}),t[75]=O,t[76]=e,t[77]=n,t[78]=X,t[79]=Z):Z=t[79];let re;return t[80]!==s.staticProfiles||t[81]!==Z?(re=a.jsx(I.Suspense,{fallback:Q,children:a.jsx(Qt,{resolve:s.staticProfiles,errorElement:Y,children:Z})}),t[80]=s.staticProfiles,t[81]=Z,t[82]=re):re=t[82],re};function dft(t){return a.jsx(ms,{size:"small",id:t.nfType,label:t.nfType})}function fft(t){const{nfStatus:e}=t;return a.jsx(ms,{size:"small",label:e,color:e===Eb.REGISTERED?"success":e===Eb.SUSPENDED?"error":e===Eb.UNDISCOVERABLE?"warning":"info"})}function pft(t){return{label:t,id:t}}function mft(t){const{ipv4Addresses:e}=t;return a.jsx(ks,{size:"small",items:e?.map(pft)||[]})}function hft(t){return{label:t,id:t}}function gft(t){const{ipv6Addresses:e}=t;return a.jsx(ks,{size:"small",items:e?.map(hft)||[]})}function _ft(t){const{sNssais:e}=t;return a.jsx(_e,{type:"body2",children:e?.length?e.length:""})}function vft(t){const{plmnList:e}=t;return a.jsx(_e,{type:"body2",children:e?.length?e.length:""})}function yft(t){const{nfInstanceId:e}=t;return a.jsx(Ap,{text:e||""})}function bft(t){const e=he.c(25),{nfInstanceId:r}=t,n=Ye(),{dialogClose:s}=Jt();let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i={to:"nrf/status"},e[0]=i):i=e[0];const{data:o}=Dv(i);o?.profiles;let l;e[1]!==o?.profiles||e[2]!==r?(l=o?.profiles.find(b=>b.nf_profile.nfInstanceId===r),e[1]=o?.profiles,e[2]=r,e[3]=l):l=e[3];const c=l,u=!o;let d;e[4]!==c?(d=c&&a.jsx(Aue,{value:JSON.stringify(c??null,null,2),language:"json"}),e[4]=c,e[5]=d):d=e[5];let f;e[6]!==n||e[7]!==c?(f=!c&&a.jsx(Lr,{severity:"warning",message:n.formatMessage({id:"nrf.status.details.no_profile"})}),e[6]=n,e[7]=c,e[8]=f):f=e[8];let p;e[9]!==d||e[10]!==f?(p=a.jsxs(te,{fullHeight:!0,align:"center",justify:"center",children:[d,f]}),e[9]=d,e[10]=f,e[11]=p):p=e[11];let m;e[12]!==u||e[13]!==p?(m=a.jsx(_s,{loading:u,children:p}),e[12]=u,e[13]=p,e[14]=m):m=e[14];let h;e[15]!==n?(h=n.formatMessage({id:"info_dialog.close"}),e[15]=n,e[16]=h):h=e[16];let _;e[17]!==s?(_=()=>s(),e[17]=s,e[18]=_):_=e[18];let g;e[19]!==h||e[20]!==_?(g=a.jsx(Ti,{children:a.jsx(Ze,{text:h,onClick:_})}),e[19]=h,e[20]=_,e[21]=g):g=e[21];let y;return e[22]!==g||e[23]!==m?(y=a.jsxs(a.Fragment,{children:[m,g]}),e[22]=g,e[23]=m,e[24]=y):y=e[24],y}function xft(){const t=he.c(57),e=Ye(),{dialogOpen:r}=Jt(),n=Gr(),s=ys(),i=On();let o;t[0]!==e?(o=(q,X)=>{switch(X){case"nf_profile.nfType":return q.nf_profile.nfType;case"md.static":return q.md.static?e.formatMessage({id:"nrf.status.profile_type.static"}):e.formatMessage({id:"nrf.status.profile_type.dynamic"});case"nf_profile.nfStatus":return q.nf_profile.nfStatus;case"nf_profile.nfInstanceId":return q.nf_profile.nfInstanceId;case"md.registration_ts_epoch_s":return q.md.registration_ts_epoch_s;case"md.expiration_ts_epoch_s":return q.md.expiration_ts_epoch_s??0;default:return""}},t[0]=e,t[1]=o):o=t[1];const l=o,c=Pft;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u={direction:Gl.ASC,column:"nf_profile.nfType"},t[2]=u):u=t[2];let d;t[3]!==l?(d={initialSortingState:u,getColumnValue:l,getColumnType:c},t[3]=l,t[4]=d):d=t[4];const{sort:f,updateSorting:p,sorting:m}=ex(d);let h;t[5]!==p?(h=(q,X)=>{p({column:X,direction:q})},t[5]=p,t[6]=h):h=t[6];const _=h;let g;t[7]!==e?(g=e.formatMessage({id:"nrf.status.nf_type"}),t[7]=e,t[8]=g):g=t[8];let y;t[9]!==g?(y={key:"nf_profile.nfType",label:g,sortable:!0,cellRender:Mft},t[9]=g,t[10]=y):y=t[10];let b;t[11]!==e?(b=e.formatMessage({id:"nrf.status.profile_type"}),t[11]=e,t[12]=b):b=t[12];let x;t[13]!==e?(x=q=>a.jsx(ms,{color:q.md.static?"info":"default",size:"small",id:q.nf_profile.nfInstanceId,label:q.md.static?e.formatMessage({id:"nrf.status.profile_type.static"}):e.formatMessage({id:"nrf.status.profile_type.dynamic"})}),t[13]=e,t[14]=x):x=t[14];let w;t[15]!==b||t[16]!==x?(w={key:"md.static",label:b,sortable:!0,cellRender:x},t[15]=b,t[16]=x,t[17]=w):w=t[17];let C;t[18]!==e?(C=e.formatMessage({id:"nrf.status.nf_status"}),t[18]=e,t[19]=C):C=t[19];let k;t[20]!==C?(k={key:"nf_profile.nfStatus",label:C,sortable:!0,cellRender:kft},t[20]=C,t[21]=k):k=t[21];let A;t[22]!==e?(A=e.formatMessage({id:"nrf.status.registration"}),t[22]=e,t[23]=A):A=t[23];let P;t[24]!==A?(P={key:"md.registration_ts_epoch_s",label:A,sortable:!0,cellRender:Aft},t[24]=A,t[25]=P):P=t[25];let T;t[26]!==e?(T=e.formatMessage({id:"nrf.status.expiration"}),t[26]=e,t[27]=T):T=t[27];let j;t[28]!==T?(j={key:"md.expiration_ts_epoch_s",label:T,sortable:!0,cellRender:Cft},t[28]=T,t[29]=j):j=t[29];let R;t[30]!==e?(R=e.formatMessage({id:"nrf.status.nf_instance_id"}),t[30]=e,t[31]=R):R=t[31];let D;t[32]!==R?(D={key:"nf_profile.nfInstanceId",label:R,sortable:!0,cellRender:wft},t[32]=R,t[33]=D):D=t[33];let O;t[34]!==k||t[35]!==P||t[36]!==j||t[37]!==D||t[38]!==y||t[39]!==w?(O=[y,w,k,P,j,D],t[34]=k,t[35]=P,t[36]=j,t[37]=D,t[38]=y,t[39]=w,t[40]=O):O=t[40];const N=O;let F;t[41]!==r||t[42]!==e||t[43]!==s?(F=q=>[{label:e.formatMessage({id:"nrf.status.actions.edit"}),icon:a.jsx(ge.Edit,{}),disabled:Sft,onClick:X=>{s($.urls.nrfStaticProfilesDetails.replace(":id",X.nf_profile.nfInstanceId))}},{label:e.formatMessage({id:"nrf.status.actions.details"}),icon:a.jsx(ge.Details,{}),onClick:X=>{const Q=q.find(Y=>Y.nf_profile.nfInstanceId===X.nf_profile.nfInstanceId);r({fullScreen:!0,title:`${Q?Q?.nf_profile?.nfType+" - ":""}${e.formatMessage({id:"nrf.status.profile_details"})}`,content:()=>a.jsx(bft,{nfInstanceId:X.nf_profile.nfInstanceId})})}}],t[41]=r,t[42]=e,t[43]=s,t[44]=F):F=t[44];const U=F;let z;t[45]===Symbol.for("react.memo_cache_sentinel")?(z=a.jsx(Dt,{variant:"rectangular",height:"100%"}),t[45]=z):z=t[45];let H;t[46]===Symbol.for("react.memo_cache_sentinel")?(H=a.jsx(Tr,{}),t[46]=H):H=t[46];let W;t[47]!==N||t[48]!==_||t[49]!==i.state||t[50]!==U||t[51]!==f||t[52]!==m?(W=q=>a.jsx(Br,{autoScale:!0,loading:i.state!=="idle",columns:N,rowKey:"nf_profile.nfInstanceId",page:0,hidePagination:!0,data:f(q,m),rowsCount:q?.length,rowsPerPage:q?.length,orderBy:m.column,onSort:_,order:m.direction,rowActions:U(q)}),t[47]=N,t[48]=_,t[49]=i.state,t[50]=U,t[51]=f,t[52]=m,t[53]=W):W=t[53];let K;return t[54]!==n.profiles||t[55]!==W?(K=a.jsx(I.Suspense,{fallback:z,children:a.jsx(Qt,{resolve:n.profiles,errorElement:H,children:W})}),t[54]=n.profiles,t[55]=W,t[56]=K):K=t[56],K}function Sft(t){return!t.md.static||!Ue(ie.management)}function wft(t){return a.jsx(Ap,{text:t.nf_profile.nfInstanceId})}function Cft(t){return t.md.static?a.jsx(a.Fragment,{}):a.jsx(_e,{type:"body2",children:ai.unix(t.md.expiration_ts_epoch_s).fromNow()})}function Aft(t){return a.jsx(_e,{type:"body2",children:ai.unix(t.md.registration_ts_epoch_s).fromNow()})}function kft(t){let e;e:switch(t.nf_profile.nfStatus){case b_.REGISTERED:{e="success";break e}case b_.SUSPENDED:{e="error";break e}default:e="warning"}return a.jsx(ms,{color:e,size:"small",id:t.nf_profile.nfStatus,label:t.nf_profile.nfStatus})}function Mft(t){return a.jsx(ms,{size:"small",id:t.nf_profile.nfType,label:t.nf_profile.nfType})}function Pft(t){switch(t){case"nf_profile.nfType":case"md.static":case"nf_profile.nfStatus":case"nf_profile.nfInstanceId":return"string";case"md.registration_ts_epoch_s":case"md.expiration_ts_epoch_s":return"number";default:return"string"}}async function jft({request:t}){const e=await t.json(),r=await Zze(e);return xt(r)?Ft(r):(Nt(),rt($.urls.nrfStaticProfiles))}async function Tft({request:t}){const e=await t.json(),r=await Xze(e);return xt(r)?Ft(r):(Nt(),rt($.urls.nrfStaticProfiles))}async function Eft({request:t}){const{id:e}=await t.json(),r=await Jze(e);if(xt(r))Ar();else if(Nt(),location.href!==$.urls.nrfStaticProfiles)return rt($.urls.nrfStaticProfiles);return Ft(r)}async function Rft(t){return Wt({loaderArgs:t,deferred:!0,data:{profiles:Vae()}})}async function Ift(t){return Wt({loaderArgs:t,deferred:!0,data:{staticProfiles:Hae()}})}async function Dft(t){if(t==="new")return null;const r=(await Hae()).find(n=>n.nfInstanceId===t);if(!r)throw Li({type:mn.NOT_FOUND});return r}async function $ft(t){const{id:e}=t.params;if(!e)throw Li({type:mn.NOT_FOUND});return Wt({loaderArgs:t,deferred:!0,data:{staticProfile:Dft(e)}})}const Oft={path:"nrf",handle:vr({labelIntl:"route.nrf",icon:a.jsx(ge.NRF,{})}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{element:a.jsx(Or,{fullHeight:!0}),children:[{path:"status",loader:Rft,handle:vr({labelIntl:"route.nrf.status",to:$.urls.nrfStatus}),element:a.jsx(xft,{})},io(ue.NRF)]},{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.NRF,{dbCluster:!0})]},{path:"static-profiles",handle:vr({labelIntl:"route.nrf.static-profiles",to:$.urls.nrfStaticProfiles}),children:[{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,loader:Ift,element:a.jsx(uft,{})}]},{element:a.jsx(Or,{center:!0}),children:[{path:":id",loader:$ft,handle:t=>{const e=t.params.id;return vr({labelIntl:e==="new"?"route.nrf.static-profiles.new":"route.nrf.static-profiles.id",...e!=="new"&&{captionIntl:"route.nrf.static-profiles.id.caption",captionIntlParams:{id:e}},to:`${$.urls.nrfStaticProfiles}/${e}`})},element:a.jsx(lft,{}),children:[{path:"create",action:jft,loader:()=>rt("..")},{path:"update",action:Tft,loader:()=>rt("..")},{path:"delete",action:Eft,loader:()=>rt("..")}]}]}]}]},Lft=Pr(),Nft={path:"pcf",handle:vr({labelIntl:"route.pcf",icon:a.jsx(ge.PCF,{})}),children:[{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.PCF)]},{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{path:"status",handle:vr({labelIntl:"route.pcf.status",to:"/pcf/status"}),element:a.jsx(Ao,{tabs:[{url:"diameter",label:Lft.formatMessage({id:"route.diameter"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"diameter",replace:!0})},qp({path:"diameter",nf:ue.PCF})]},io(ue.PCF)]}]};function Fft(){const t=he.c(7),e=Ye(),r=zn();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Dt,{variant:"rounded",height:"1200px"}),t[0]=n):n=t[0];let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(Tr,{}),t[1]=s):s=t[1];let i;t[2]!==e?(i=l=>{const{authConfiguration:c}=l;return a.jsx(Ao,{tabs:[{url:"strategies",label:e.formatMessage({id:"route.auth.strategies"})},...c?[{url:"auth-config",label:e.formatMessage({id:"route.auth.auth_config"})}]:[],{url:"terms",label:e.formatMessage({id:"route.auth.terms"})}]})},t[2]=e,t[3]=i):i=t[3];let o;return t[4]!==r.config||t[5]!==i?(o=a.jsx(I.Suspense,{fallback:n,children:a.jsx(Qt,{resolve:r.config,errorElement:s,children:i})}),t[4]=r.config,t[5]=i,t[6]=o):o=t[6],o}const ln=Pr();function Uft(t){return{access_token_ttl_s:t.access_token_ttl_s,refresh_token_ttl_s:t.refresh_token_ttl_s,login_throttle_period_s:t.login_throttle_period_s,audit_retention_s:t.audit_retention_s,ui_inactivity_s:t.isUiInactivityTimerInSeconds?t.ui_inactivity_s:null,login_max_attempts:t.isLoginMaxAttempts?t.login_max_attempts:null,password_rule_max_account_name_characters:t.password_rule_max_account_name_characters?t.password_rule_max_account_name_characters:null,password_rule_min_length:t.password_rule_min_length,password_rule_min_lowercase_characters:t.password_rule_min_lowercase_characters?t.password_rule_min_lowercase_characters:null,password_rule_min_number_characters:t.password_rule_min_number_characters?t.password_rule_min_number_characters:null,password_rule_min_special_characters:t.password_rule_min_special_characters?t.password_rule_min_special_characters:null,password_rule_min_uppercase_characters:t.password_rule_min_uppercase_characters?t.password_rule_min_uppercase_characters:null,password_rule_special_characters:t.password_rule_min_special_characters&&t.password_rule_special_characters?t.password_rule_special_characters:null}}function Bft(t){return{...t,isUiInactivityTimerInSeconds:t.ui_inactivity_s!==null,isLoginMaxAttempts:t.login_max_attempts!==null}}const zft=dr().shape({access_token_ttl_s:kn().typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.access_token_ttl_s.validation.type"})).min(60,ln.formatMessage({id:"authentication_strategies.auth_config.form.access_token_ttl_s.validation.min"})).required(ln.formatMessage({id:"authentication_strategies.auth_config.form.access_token_ttl_s.validation.required"})),refresh_token_ttl_s:kn().typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.type"})).min(120,ln.formatMessage({id:"authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.min"})).required(ln.formatMessage({id:"authentication_strategies.auth_config.form.refresh_token_ttl_s.validation.required"})),ui_inactivity_s:kn().when("isUiInactivityTimerInSeconds",(t,e)=>t?e.required(ln.formatMessage({id:"authentication_strategies.auth_config.form.ui_inactivity_s.validation.required"})).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.ui_inactivity_s.validation.type"})).min(60,ln.formatMessage({id:"authentication_strategies.auth_config.form.ui_inactivity_s.validation.min"})):e.nullable()),audit_retention_s:kn().typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.audit_retention_s.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.audit_retention_s.validation.min"})).required(ln.formatMessage({id:"authentication_strategies.auth_config.form.audit_retention_s.validation.required"})),login_max_attempts:kn().when("isLoginMaxAttempts",(t,e)=>t?e.required(ln.formatMessage({id:"authentication_strategies.auth_config.form.login_max_attempts.validation.required"})).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.login_max_attempts.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.login_max_attempts.validation.min"})):e.nullable()),login_throttle_period_s:kn().typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.login_throttle_period_s.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.login_throttle_period_s.validation.min"})).required(ln.formatMessage({id:"authentication_strategies.auth_config.form.login_throttle_period_s.validation.required"})),password_rule_max_account_name_characters:kn().integer(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.integer"})).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_max_account_name_characters.validation.min"})).nullable(),password_rule_min_length:kn().integer(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_length.validation.integer"})).required(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_length.validation.required"})).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_length.validation.type"})).min(12,ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_length.validation.min"})),password_rule_min_lowercase_characters:kn().integer(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.integer"})).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_lowercase_characters.validation.min"})).nullable(),password_rule_min_number_characters:kn().integer(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.integer"})).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_number_characters.validation.min"})).nullable(),password_rule_min_special_characters:kn().integer(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.integer"})).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.min"})).nullable(),password_rule_min_uppercase_characters:kn().integer(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.integer"})).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_uppercase_characters.validation.min"})).nullable(),password_rule_special_characters:We().matches(new RegExp($.regex.specialCharacters)).typeError(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_special_characters.validation.type"})).min(1,ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_special_characters.validation.min"})).nullable().when("password_rule_min_special_characters",(t,e)=>{if(t)return e.required(ln.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_special_characters.validation.required"}))})}),qft=dr().shape({address:We().matches(new RegExp($.regex.ipv4v6Addr)).required(ln.formatMessage({id:"authentication_strategies.local.address.required"})),dev:We(),port:kn().required(ln.formatMessage({id:"authentication_strategies.local.port.required"})).min(0,ln.formatMessage({id:"authentication_strategies.local.port.min"})).max(65535,ln.formatMessage({id:"authentication_strategies.local.port.max"}))});function Vft(t){return{address:t.address,...t.dev&&{dev:t.dev},port:Number(t.port)}}function Hft(){const t=he.c(12),e=Ye(),{authConfiguration:r}=Np(),{submit:n,data:s,state:i}=gr();let o;t[0]!==n?(o=f=>{n(Uft(f),{method:"POST",encType:"application/json",action:$.urls.platformAuthenticationAuthConfigUpdate_Action})},t[0]=n,t[1]=o):o=t[1];const l=o;let c;t[2]!==r?(c=Bft(r),t[2]=r,t[3]=c):c=t[3];let u;t[4]!==s||t[5]!==e||t[6]!==i?(u=f=>{const{dirty:p,isValid:m,values:h}=f;return a.jsx(dn,{canWrite:Ue([[ie.management,ie.configuration]]),children:a.jsxs(te,{spacing:2,children:[a.jsx(pr,{title:e.formatMessage({id:"authentication_strategies.auth_config.form.password_rules"}),elevation:2,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"password_rule_min_length",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_length"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,fullWidth:!0})}}),a.jsx(Ke,{name:"password_rule_min_lowercase_characters",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_lowercase_characters"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,fullWidth:!0})}}),a.jsx(Ke,{name:"password_rule_min_uppercase_characters",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_uppercase_characters"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,fullWidth:!0})}}),a.jsx(Ke,{name:"password_rule_min_number_characters",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_number_characters"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,fullWidth:!0})}}),a.jsx(Ke,{name:"password_rule_min_special_characters",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_min_special_characters"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,fullWidth:!0})}}),a.jsx(Ke,{name:"password_rule_special_characters",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_special_characters"}),size:"small",helperText:y.error,disabled:!h.password_rule_min_special_characters||i!=="idle",error:!!y.error,fullWidth:!0})}}),a.jsx(Ke,{name:"password_rule_max_account_name_characters",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.password_rule_max_account_name_characters"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,fullWidth:!0})}})]})})}),a.jsx(pr,{title:e.formatMessage({id:"authentication_strategies.auth_config.form.session_timers"}),elevation:2,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{direction:"row",justify:"stretch",align:"center",spacing:2,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"access_token_ttl_s",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.access_token_ttl_s"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,type:"number",fullWidth:!0,min:60})}}),a.jsx(Mn,{arrow:!0,title:e.formatMessage({id:"authentication_strategies.auth_config.tooltip.access_token_ttl_s"}),children:a.jsx("span",{children:a.jsx(te,{direction:"row",nowrap:!0,align:"center",justify:"center",children:a.jsx(ge.QuestionMark,{size:24})})})})]}),a.jsxs(te,{direction:"row",justify:"stretch",align:"center",spacing:2,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"refresh_token_ttl_s",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.refresh_token_ttl_s"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,type:"number",fullWidth:!0,min:120})}}),a.jsx(Mn,{arrow:!0,title:e.formatMessage({id:"authentication_strategies.auth_config.tooltip.refresh_token_ttl_s"}),children:a.jsx("span",{children:a.jsx(te,{direction:"row",nowrap:!0,align:"center",justify:"center",children:a.jsx(ge.QuestionMark,{size:24})})})})]}),a.jsxs(te,{direction:"row",justify:"stretch",align:"center",spacing:2,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"audit_retention_s",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.audit_retention_s"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,type:"number",fullWidth:!0,min:1})}}),a.jsx(Mn,{arrow:!0,title:e.formatMessage({id:"authentication_strategies.auth_config.tooltip.audit_retention_s"}),children:a.jsx("span",{children:a.jsx(te,{direction:"row",nowrap:!0,align:"center",justify:"center",children:a.jsx(ge.QuestionMark,{size:24})})})})]}),a.jsx(Ke,{name:"isUiInactivityTimerInSeconds",children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:g.value,size:"medium",onChange:()=>{b(g.name,!g.value),g.value||b("ui_inactivity_s","")}}),a.jsx(_e,{color:g.value?"primary":"",children:e.formatMessage({id:"authentication_strategies.auth_config.form.ui_inactivity_s.seconds"})}),a.jsx(Mn,{arrow:!0,title:e.formatMessage({id:"authentication_strategies.auth_config.tooltip.ui_inactivity_s"}),children:a.jsx("span",{children:a.jsx(te,{direction:"row",nowrap:!0,align:"center",justify:"center",children:a.jsx(ge.QuestionMark,{size:18})})})})]})}}),!!h.isUiInactivityTimerInSeconds&&a.jsx(Ke,{name:"ui_inactivity_s",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.ui_inactivity_s"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,type:"number",fullWidth:!0,min:60})}}),a.jsx(Ke,{name:"isLoginMaxAttempts",children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:g.value,size:"small",onChange:()=>{b(g.name,!g.value),g.value||b("login_max_attempts","")}}),a.jsx(_e,{type:"body2",children:e.formatMessage({id:"authentication_strategies.auth_config.form.login_max_attempts"})}),a.jsx(Mn,{arrow:!0,title:e.formatMessage({id:"authentication_strategies.auth_config.tooltip.login_max_attempts"}),children:a.jsx("span",{children:a.jsx(te,{direction:"row",nowrap:!0,align:"center",justify:"center",children:a.jsx(ge.QuestionMark,{size:18})})})})]})}}),!!h.isLoginMaxAttempts&&a.jsx(Ke,{name:"login_max_attempts",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.login_max_attempts"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,type:"number",fullWidth:!0,min:1})}}),!!h.isLoginMaxAttempts&&a.jsx(Ke,{name:"login_throttle_period_s",children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"authentication_strategies.auth_config.form.login_throttle_period_s"}),size:"small",helperText:y.error,disabled:i!=="idle",error:!!y.error,type:"number",fullWidth:!0,min:1})}}),a.jsx(Xr,{data:s})]})})}),a.jsx(Ze,{type:"submit",text:e.formatMessage({id:"authentication_strategies.form.buttons.save"}),disabled:i!=="idle"||!Ue([[ie.management,ie.configuration]])||!p||!m,loading:i!=="idle",sx:{alignSelf:"flex-start"}})]})})},t[4]=s,t[5]=e,t[6]=i,t[7]=u):u=t[7];let d;return t[8]!==l||t[9]!==c||t[10]!==u?(d=a.jsx(pr,{children:a.jsx(Kt,{children:a.jsx(Wr,{initialValues:c,enableReinitialize:!0,validationSchema:zft,onSubmit:l,children:u})})}),t[8]=l,t[9]=c,t[10]=u,t[11]=d):d=t[11],d}const Gft=Pr(),Wft=dr().shape({backends:yr().test("backends",Gft.formatMessage({id:"authentication_strategies.form.errors.backends"}),t=>t?t?.includes(_i.local):!1)}),nx=t=>{const e=he.c(11),{fieldName:r,fieldLabel:n,dense:s,basePermissions:i,disabled:o,modalElevation:l}=t,c=s===void 0?!0:s,u=As(),d=Ye();let f;e[0]!==i||e[1]!==c||e[2]!==o||e[3]!==n||e[4]!==d||e[5]!==l||e[6]!==u?(f=m=>{const{field:h,form:_}=m,{setFieldValue:g}=_,y=(b,x)=>{g(h.name,{...h.value,[b]:x})};return a.jsx(pr,{title:n??d.formatMessage({id:"user_permissions.title"}),elevation:2,dense:c,modalElevation:l,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:3,children:[!!i&&a.jsx(Lr,{message:d.formatMessage({id:"user_permissions.permissions_may_be_overridden"}),severity:"info"}),a.jsx(te,{direction:"column",spacing:2,children:E4e.map(b=>a.jsxs(te,{direction:"row",justify:"space-between",align:"center",children:[a.jsxs(te,{direction:"row",align:"center",spacing:1,children:[a.jsxs(lk,{color:"primary",onChange:x=>y(b,x),exclusive:!0,value:h.value?.[b],children:[a.jsx(kh,{value:op.ro,disabled:o,sx:{...i?.[b]==="ro"&&{backgroundColor:u.palette.action.selected}},children:op.ro}),a.jsx(kh,{value:op.rw,disabled:o,sx:{...i?.[b]==="rw"&&{backgroundColor:u.palette.action.selected}},children:op.rw})]}),a.jsx(_e,{children:b})]}),!!i&&a.jsxs(a.Fragment,{children:[!!h.value?.[b]&&a.jsx(ms,{label:d.formatMessage({id:"user_permissions.overridden"}),color:"primary",variant:"outlined"}),!!i[b]&&!h.value?.[b]&&a.jsx(ms,{label:d.formatMessage({id:"user_permissions.from_roles"}),variant:"outlined"})]})]},b))})]})})})},e[0]=i,e[1]=c,e[2]=o,e[3]=n,e[4]=d,e[5]=l,e[6]=u,e[7]=f):f=e[7];let p;return e[8]!==r||e[9]!==f?(p=a.jsx(Ke,{name:r,children:f}),e[8]=r,e[9]=f,e[10]=p):p=e[10],p},Fue=t=>{const e=he.c(7),{rolesList:r,rolesMappings:n,disabled:s}=t,i=Ye(),o=Yft,l=Kft;let c;e[0]!==r?(c=r.map(Qft),e[0]=r,e[1]=c):c=e[1];const u=c;let d;return e[2]!==s||e[3]!==i||e[4]!==u||e[5]!==n?(d=a.jsx(oi,{name:"roles_mappings",children:f=>{const{remove:p,push:m,form:h}=f,{errors:_}=h;return a.jsx(pr,{title:i.formatMessage({id:"authentication_strategies.roles_mappings"}),headerActionsComponent:a.jsx(Ze,{text:i.formatMessage({id:"common.add"}),type:"button",startIcon:a.jsx(ge.Add,{}),size:"small",onClick:()=>o(m),disabled:s||!Ue(ie.management)}),elevation:2,children:a.jsx(Kt,{sx:{width:"100%",position:"relative"},children:a.jsxs(te,{direction:"column",spacing:1,nowrap:!0,fullWidth:!0,children:[n&&!!n.length&&n.map((g,y)=>{const{application_role:b,external_role:x}=g;return a.jsxs(te,{direction:"row",align:"flex-start",nowrap:!0,justify:"space-between",children:[a.jsxs(te,{direction:"row",nowrap:!0,fullWidth:!0,children:[a.jsx(Ke,{name:`roles_mappings.${y}.external_role`,children:w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,value:C.value||x,required:!0,label:i.formatMessage({id:"authentication_strategies.roles_mappings.external_role"}),size:"small",error:!!k.error,helperText:k.error,fullWidth:!0,disabled:s||!Ue(ie.management)})}}),a.jsx(Ke,{name:`roles_mappings.${y}.application_role`,children:w=>{const{field:C,meta:k,form:A}=w,{setFieldValue:P}=A;return a.jsx(rn,{name:C.name,label:i.formatMessage({id:"authentication_strategies.roles_mappings.application_role"}),multiple:!1,size:"small",value:C.value||b,freeSolo:!1,options:u,onChange:(T,j)=>{P(C.name,j||"")},fullWidth:!0,error:!!k.error,helperText:k.error,required:!0,disabled:s||!Ue(ie.management)})}})]}),a.jsx(Mn,{title:i.formatMessage({id:"common.remove"}),children:a.jsx(Zr,{onClick:()=>l(p,y),size:"small",disabled:s||!Ue(ie.management),sx:{mt:"10px"},children:a.jsx(ge.Trash,{})})})]},y)}),!!_.roles_mappings&&typeof _.roles_mappings=="string"&&a.jsx(Lr,{severity:"error",message:_.roles_mappings,sx:{mt:1}}),!n?.length&&a.jsx(Lr,{severity:"info",message:i.formatMessage({id:"common.no-data"}),sx:{backgroundColor:"divider"}})]})})})}}),e[2]=s,e[3]=i,e[4]=u,e[5]=n,e[6]=d):d=e[6],d};function Yft(t){t({application_role:"",external_role:""})}function Kft(t,e){t(e)}function Qft(t){return t.id}const Sc=Pr(),XI={base_dn:"",bind_dn:"",bind_password:"",username_attribute:"",transport_remote_addresses:[],transport_remote_port:"",transport_ssl:!1,transport_ssl_verify:!1,transport_timeout_s:"",roles_mappings:[],permission_template:{backup:null,configuration:null,management:null,monitoring:null,provisioning:null,transport_keys:null,operator_codes:null,lawful_interception:null,milenage_constants:null},isPermissionTemplateActive:!1};function Zft(t){return{...!!t.base_dn&&{base_dn:t.base_dn},...!!t.bind_dn&&{bind_dn:t.bind_dn},...!!t.bind_password&&{bind_password:t.bind_password},...!!t.username_attribute&&{username_attribute:t.username_attribute},...!!t.permission_template&&t.isPermissionTemplateActive&&{permission_template:t.permission_template},...!!t.roles_mappings&&!t.isPermissionTemplateActive&&{roles_mappings:t.roles_mappings.reduce((e,r)=>({...e,[r.external_role]:r.application_role}),{})},transport:{remote_addresses:t.transport_remote_addresses,remote_port:t.transport_remote_port,ssl:t.transport_ssl,ssl_verify:t.transport_ssl_verify,timeout_s:t.transport_timeout_s}}}function Xft(t){return!t||Kae(t)?XI:{...XI,base_dn:t.base_dn??"",bind_dn:t.bind_dn??"",bind_password:t.bind_password??"",username_attribute:t.username_attribute??"",...!!t.transport&&{transport_remote_addresses:t.transport.remote_addresses,transport_remote_port:t.transport.remote_port,transport_ssl:t.transport.ssl,transport_ssl_verify:t.transport.ssl_verify??!1,transport_timeout_s:t.transport.timeout_s},...!!t.roles_mappings&&{roles_mappings:Object.entries(t.roles_mappings).map(([e,r])=>({external_role:e,application_role:r}))},...!t.roles_mappings&&{isPermissionTemplateActive:!0},...!!t.permission_template&&{permission_template:{...XI.permission_template,...t.permission_template}}}}const Jft=dr().shape({base_dn:We(),bind_dn:We().when("bind_password",(t,e)=>t?e.required(Sc.formatMessage({id:"authentication_strategies.ldap.form_errors.bind_dn_required_if_bind_password"})):e),bind_password:We().when("bind_dn",(t,e)=>t?e.required(Sc.formatMessage({id:"authentication_strategies.ldap.form_errors.bind_password_required_if_bind_dn"})):e),username_attribute:We(),permission_template:dr().shape({backup:We().nullable(),configuration:We().nullable(),management:We().nullable(),monitoring:We().nullable(),provisioning:We().nullable(),transport_keys:We().nullable(),operator_codes:We().nullable(),lawful_interception:We().nullable()}),isPermissionTemplateActive:li(),roles_mappings:yr().when("isPermissionTemplateActive",(t,e)=>t?e:yr().of(dr().shape({external_role:We().required(Sc.formatMessage({id:"authentication_strategies.external_role.required"})),application_role:We().required(Sc.formatMessage({id:"authentication_strategies.application_role.required"}))})).test({name:"unique-external-role",message:Sc.formatMessage({id:"authentication_strategies.unique_external_role"}),test:r=>r?.length===0||r&&r.length===[...new Set(r.map(n=>`${n.external_role}`))].length})),transport_remote_addresses:yr().of(We().matches(new RegExp($.regex.ipv4v6Addr))).min(1,Sc.formatMessage({id:"authentication_strategies.ldap.form_errors.transport.remote_addresses"})).required(),transport_remote_port:kn().min(0,Sc.formatMessage({id:"authentication_strategies.ldap.form_errors.transport.remote_port.min"})).max(65535,Sc.formatMessage({id:"authentication_strategies.ldap.form_errors.transport.remote_port.max"})).required(Sc.formatMessage({id:"authentication_strategies.ldap.form_errors.transport.remote_port"})),transport_timeout_s:kn().min(1,Sc.formatMessage({id:"authentication_strategies.ldap.form_errors.transport.timeout_s.min"})).required(Sc.formatMessage({id:"authentication_strategies.ldap.form_errors.transport.timeout_s"})),transport_ssl_verify:li(),transport_ssl:li().required()},[["bind_dn","bind_password"]]);function Uue(t){const e=he.c(22),{backend:r,config:n}=t,{submit:s,state:i,data:o}=gr(),{submit:l,state:c,data:u}=gr(),d=Ye(),f=n?.address??"",p=n?.port??"",m=n?.dev??"";let h;e[0]!==f||e[1]!==p||e[2]!==m?(h={address:f,port:p,dev:m},e[0]=f,e[1]=p,e[2]=m,e[3]=h):h=e[3];const _=h;let g;e[4]!==r||e[5]!==s?(g=k=>{s(Vft(k),{method:"POST",encType:"application/json",action:`${r}-local-config-update`})},e[4]=r,e[5]=s,e[6]=g):g=e[6];const y=g;let b;e[7]!==r||e[8]!==l?(b=()=>{l(null,{method:"DELETE",encType:"application/json",action:`${r}-local-config-reset`})},e[7]=r,e[8]=l,e[9]=b):b=e[9];const x=b;let w;e[10]!==r||e[11]!==u||e[12]!==o||e[13]!==x||e[14]!==d||e[15]!==c||e[16]!==i?(w=()=>a.jsx(dn,{canWrite:Ue(ie.management),children:a.jsx(pr,{title:d.formatMessage({id:"authentication_strategies.local.title"},r===_i.radius?{backend:"Radius"}:{backend:"Ldap"}),elevation:3,sx:{m:2},children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{children:[a.jsx(Ke,{name:"address",children:k=>{const{field:A,meta:P}=k;return a.jsx(dt,{...A,label:d.formatMessage({id:"authentication_strategies.local.address"}),size:"small",helperText:P.error,error:!!P.error,disabled:i!=="idle"||c!=="idle",required:!0})}}),a.jsx(Ke,{name:"dev",children:k=>{const{field:A,meta:P}=k;return a.jsx(dt,{...A,label:d.formatMessage({id:"authentication_strategies.local.dev"}),size:"small",helperText:P.error,error:!!P.error,disabled:i!=="idle"||c!=="idle"})}}),a.jsx(Ke,{name:"port",children:k=>{const{field:A,meta:P}=k;return a.jsx(dt,{...A,label:d.formatMessage({id:"authentication_strategies.local.port"}),size:"small",type:"number",helperText:P.error,error:!!P.error,disabled:i!=="idle"||c!=="idle",required:!0})}})]}),a.jsx(Xr,{data:o}),a.jsx(Xr,{data:u}),a.jsxs(te,{direction:"row",children:[a.jsx(Ze,{type:"submit",text:d.formatMessage({id:"authentication_strategies.local.save"}),disabled:i!=="idle"||c!=="idle"}),a.jsx(Ze,{text:d.formatMessage({id:"authentication_strategies.local.reset"}),disabled:i!=="idle"||c!=="idle",variant:"outlined",onClick:x})]})]})})})}),e[10]=r,e[11]=u,e[12]=o,e[13]=x,e[14]=d,e[15]=c,e[16]=i,e[17]=w):w=e[17];let C;return e[18]!==y||e[19]!==_||e[20]!==w?(C=a.jsx(Wr,{initialValues:_,onSubmit:y,enableReinitialize:!0,validationSchema:qft,children:w}),e[18]=y,e[19]=_,e[20]=w,e[21]=C):C=e[21],C}const ept=()=>{const t=he.c(16),e=Ye();let r;t[0]!==e?(r=a.jsx(Ke,{name:"transport_ssl",children:c=>{const{field:u,form:d}=c,{isSubmitting:f,setFieldValue:p}=d;return a.jsx(da,{onChange:(m,h)=>{p(u.name,h)},checked:u.value,label:e.formatMessage({id:"authentication_strategies.ldap.transport.form.ssl"}),disabled:f})}}),t[0]=e,t[1]=r):r=t[1];let n;t[2]!==e?(n=a.jsx(Ke,{name:"transport_ssl_verify",children:c=>{const{field:u,form:d}=c,{isSubmitting:f,setFieldValue:p}=d;return a.jsx(da,{onChange:(m,h)=>{p(u.name,h)},checked:!!u.value,label:e.formatMessage({id:"authentication_strategies.ldap.transport.form.ssl_verify"}),disabled:f})}}),t[2]=e,t[3]=n):n=t[3];let s;t[4]!==e?(s=a.jsx(Ke,{name:"transport_remote_addresses",children:c=>{const{field:u,meta:d,form:f}=c,{setFieldValue:p}=f;return a.jsx(rn,{name:u.name,label:e.formatMessage({id:"authentication_strategies.ldap.transport.form.remote_addresses"}),value:u.value,multiple:!0,size:"small",freeSolo:!0,options:[""],onChange:(m,h)=>{p(u.name,h||"")},error:!!d.error,helperText:d.error,fullWidth:!0})}}),t[4]=e,t[5]=s):s=t[5];let i;t[6]!==e?(i=a.jsx(Ke,{name:"transport_remote_port",children:c=>{const{field:u,meta:d,form:f}=c,{isSubmitting:p}=f;return a.jsx(dt,{...u,label:e.formatMessage({id:"authentication_strategies.ldap.transport.form.remote_port"}),size:"small",helperText:d.error,error:!!d.error,disabled:p,type:"number",required:!0})}}),t[6]=e,t[7]=i):i=t[7];let o;t[8]!==e?(o=a.jsx(Ke,{name:"transport_timeout_s",children:c=>{const{field:u,meta:d,form:f}=c,{isSubmitting:p}=f;return a.jsx(dt,{...u,label:e.formatMessage({id:"authentication_strategies.ldap.transport.form.timeout_s"}),size:"small",helperText:d.error,error:!!d.error,disabled:p,type:"number",required:!0})}}),t[8]=e,t[9]=o):o=t[9];let l;return t[10]!==r||t[11]!==n||t[12]!==s||t[13]!==i||t[14]!==o?(l=a.jsxs(te,{spacing:2,children:[r,n,s,i,o]}),t[10]=r,t[11]=n,t[12]=s,t[13]=i,t[14]=o,t[15]=l):l=t[15],l},tpt=t=>{const e=he.c(26),{backendList:r,ldapConfig:n,rolesList:s,ldapLocalConfig:i}=t,o=Ye(),{data:l,state:c,submit:u}=gr();let d;e[0]!==r?(d=r.includes(_i.ldap),e[0]=r,e[1]=d):d=e[1];const f=d;let p;e[2]!==n?(p=Xft(n),e[2]=n,e[3]=p):p=e[3];const m=p;let h;e[4]!==u?(h=async k=>{u(Zft(k),{method:"POST",encType:"application/json",action:"ldap-config-update"})},e[4]=u,e[5]=h):h=e[5];const _=h;let g;e[6]!==o||e[7]!==f?(g=!f&&a.jsx(Lr,{severity:"warning",message:o.formatMessage({id:"authentication_strategies.ldap.not_active"})}),e[6]=o,e[7]=f,e[8]=g):g=e[8];let y;e[9]!==l||e[10]!==o||e[11]!==s||e[12]!==c?(y=k=>{const{values:A}=k;return a.jsx(pr,{title:o.formatMessage({id:"authentication_strategies.ldap.card.title"}),elevation:2,children:a.jsx(Kt,{children:a.jsx(dn,{canWrite:Ue(ie.management),children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"base_dn",children:P=>{const{field:T,meta:j}=P;return a.jsx(dt,{...T,label:o.formatMessage({id:"authentication_strategies.ldap.form.base_dn"}),size:"small",helperText:j.error,disabled:c!=="idle",error:!!j.error})}}),a.jsx(Ke,{name:"bind_dn",children:P=>{const{field:T,meta:j}=P;return a.jsx(dt,{...T,label:o.formatMessage({id:"authentication_strategies.ldap.form.bind_dn"}),size:"small",helperText:j.error,disabled:c!=="idle",error:!!j.error})}}),a.jsx(Ke,{name:"bind_password",children:P=>{const{field:T,meta:j}=P;return a.jsx(dt,{...T,label:o.formatMessage({id:"authentication_strategies.ldap.form.bind_password"}),size:"small",helperText:j.error,disabled:c!=="idle",error:!!j.error})}}),a.jsx(Ke,{name:"username_attribute",children:P=>{const{field:T,meta:j}=P;return a.jsx(dt,{...T,label:o.formatMessage({id:"authentication_strategies.ldap.form.username_attribute"}),size:"small",helperText:j.error,disabled:c!=="idle",error:!!j.error})}}),a.jsx(Ke,{name:"isPermissionTemplateActive",children:P=>{const{field:T,form:j}=P,{setFieldValue:R}=j;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(_e,{color:T.value?"":"primary",children:o.formatMessage({id:"authentication_strategies.roles_mappings"})}),a.jsx(ti,{checked:T.value,onChange:()=>{R(T.name,!T.value)}}),a.jsx(_e,{children:o.formatMessage({id:"authentication_strategies.permission_template"})})]})}}),A.isPermissionTemplateActive?a.jsx(nx,{fieldName:"permission_template",fieldLabel:o.formatMessage({id:"authentication_strategies.ldap.form.permission_template"}),disabled:c!=="idle"}):a.jsx(Fue,{rolesList:s,rolesMappings:A.roles_mappings,disabled:c!=="idle"}),a.jsx(pr,{title:o.formatMessage({id:"authentication_strategies.ldap.transport.title"}),elevation:3,children:a.jsx(Kt,{children:a.jsx(ept,{})})}),a.jsx(Xr,{data:l}),a.jsx(Ze,{type:"submit",text:o.formatMessage({id:"authentication_strategies.ldap.form.buttons.save"}),disabled:c!=="idle"||!Ue(ie.management),loading:c!=="idle",sx:{alignSelf:"flex-start"}})]})})})})},e[9]=l,e[10]=o,e[11]=s,e[12]=c,e[13]=y):y=e[13];let b;e[14]!==_||e[15]!==m||e[16]!==y?(b=a.jsx(Wr,{initialValues:m,onSubmit:_,enableReinitialize:!0,validationSchema:Jft,children:y}),e[14]=_,e[15]=m,e[16]=y,e[17]=b):b=e[17];let x;e[18]!==g||e[19]!==b?(x=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[g,b]})}),e[18]=g,e[19]=b,e[20]=x):x=e[20];let w;e[21]!==i?(w=a.jsx(Uue,{backend:_i.ldap,config:i}),e[21]=i,e[22]=w):w=e[22];let C;return e[23]!==x||e[24]!==w?(C=a.jsxs(te,{children:[x,w]}),e[23]=x,e[24]=w,e[25]=C):C=e[25],C},yw=Pr();function rpt(t){const{allow_unsafe_http:e,configuration_overrides:r,permission_template:n,roles_mappings:s,username_attribute:i,is_permission_template_active:o,client_id:l,client_secret:c,issuer:u}=t;return{client_id:l,client_secret:c,issuer:u,...e&&{allow_unsafe_http:e},...i&&{username_attribute:i},...!Ni.isEmpty(r)&&{username_attribute:i},...o&&!Ni.isEmpty(n)&&{permission_template:n},...!o&&s&&s.length&&{roles_mappings:s.reduce((d,{application_role:f,external_role:p})=>({...d,[p]:f}),{})},...r&&{configuration_overrides:JSON.parse(r)}}}function npt({permission_template:t,roles_mappings:e,configuration_overrides:r,...n}){return{...n,client_secret:"",is_permission_template_active:!Ni.isEmpty(t)&&!0,...t&&{permission_template:t},...e&&{roles_mappings:Object.entries(e).map(([s,i])=>({external_role:s,application_role:i}))},...r&&{configuration_overrides:JSON.stringify(r,null,2)}}}const spt=dr().shape({allow_unsafe_http:li(),client_id:We().required(),client_secret:We().required(),issuer:We().matches(new RegExp($.regex.url)),username_attribute:We(),provider_label:We(),is_permission_template_active:li(),permission_template:dr().when("is_permission_template_active",{is:!0,then:t=>t.shape({backup:We().nullable(),configuration:We().nullable(),management:We().nullable(),monitoring:We().nullable(),provisioning:We().nullable(),transport_keys:We().nullable(),operator_codes:We().nullable(),lawful_interception:We().nullable()})}),roles_mappings:yr().when("is_permission_template_active",{is:!1,then:t=>t.of(dr().shape({external_role:We().required(yw.formatMessage({id:"authentication_strategies.external_role.required"})),application_role:We().required(yw.formatMessage({id:"authentication_strategies.application_role.required"}))}))}).test({name:"unique-external-role",message:yw.formatMessage({id:"authentication_strategies.unique_external_role"}),test:t=>t?t.length===0||t.length===[...new Set(t.map(e=>`${e.external_role}`))].length:!0}),configuration_overrides:We().test("valid-json-configuration-overrides",yw.formatMessage({id:"authentication_strategies.invalid_configuration_overrides"}),t=>{if(!t)return!0;try{return JSON.parse(t),!0}catch{return!1}})}),ipt=t=>{const e=he.c(21),{backendList:r,openIdConfig:n,rolesList:s}=t,i=Ye(),{data:o,state:l,submit:c}=gr();let u;e[0]!==r?(u=r.includes(_i.openid),e[0]=r,e[1]=u):u=e[1];const d=u;let f;e[2]!==n?(f=npt(n),e[2]=n,e[3]=f):f=e[3];const p=f;let m;e[4]!==c?(m=x=>{c(rpt(x),{method:"POST",encType:"application/json",action:"openid-config-update"})},e[4]=c,e[5]=m):m=e[5];const h=m;let _;e[6]!==i||e[7]!==d?(_=!d&&a.jsx(Lr,{severity:"warning",message:i.formatMessage({id:"authentication_strategies.openid.not_active"})}),e[6]=i,e[7]=d,e[8]=_):_=e[8];let g;e[9]!==o||e[10]!==i||e[11]!==s||e[12]!==l?(g=x=>{const{values:w}=x;return a.jsx(Kd,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"allow_unsafe_http",children:C=>{const{field:k,form:A}=C,{setFieldValue:P}=A;return a.jsx(da,{onChange:(T,j)=>{P(k.name,j)},checked:k.value,label:i.formatMessage({id:"authentication_strategies.openid.allow_unsafe_http"}),disabled:l!=="idle"||!Ue(ie.management)})}}),a.jsx(Ke,{name:"client_id",children:C=>{const{field:k,meta:A}=C;return a.jsx(dt,{...k,label:i.formatMessage({id:"authentication_strategies.openid.client_id"}),size:"small",helperText:A.error,disabled:l!=="idle"||!Ue(ie.management),error:!!A.error,required:!0})}}),a.jsx(Ke,{name:"client_secret",children:C=>{const{field:k,meta:A}=C;return a.jsx(dt,{...k,label:i.formatMessage({id:"authentication_strategies.openid.client_secret"}),size:"small",helperText:A.error,disabled:l!=="idle"||!Ue(ie.management),error:!!A.error,required:!0,showPasswordVisibility:!0,type:"password",autoComplete:"new-password"})}}),a.jsx(Ke,{name:"issuer",children:C=>{const{field:k,meta:A}=C;return a.jsx(dt,{...k,label:i.formatMessage({id:"authentication_strategies.openid.issuer"}),size:"small",helperText:A.error,disabled:l!=="idle"||!Ue(ie.management),error:!!A.error,required:!0})}}),a.jsx(Ke,{name:"username_attribute",children:C=>{const{field:k,meta:A}=C;return a.jsx(dt,{...k,label:i.formatMessage({id:"authentication_strategies.openid.username_attribute"}),size:"small",helperText:A.error,disabled:l!=="idle"||!Ue(ie.management),error:!!A.error,autoComplete:"new-text"})}}),a.jsx(xr,{elevation:2,title:i.formatMessage({id:"authentication_strategies.openid.configuration_overrides"}),content:a.jsx(Ke,{name:"configuration_overrides",children:opt})}),a.jsx(Ke,{name:"is_permission_template_active",children:C=>{const{field:k,form:A}=C,{setFieldValue:P}=A;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(_e,{color:k.value?"":"primary",children:i.formatMessage({id:"authentication_strategies.roles_mappings"})}),a.jsx(ti,{checked:k.value,onChange:()=>{P(k.name,!k.value)}}),a.jsx(_e,{children:i.formatMessage({id:"authentication_strategies.permission_template"})})]})}}),w.is_permission_template_active?a.jsx(nx,{fieldName:"permission_template",fieldLabel:i.formatMessage({id:"authentication_strategies.permission_template"}),disabled:l!=="idle"}):a.jsx(Fue,{rolesList:s,rolesMappings:w.roles_mappings,disabled:l!=="idle"}),a.jsx(Xr,{data:o}),a.jsx(Ze,{type:"submit",text:i.formatMessage({id:"common.save"}),disabled:l!=="idle"||!Ue(ie.management),loading:l!=="idle",sx:{alignSelf:"flex-start"}})]})})},e[9]=o,e[10]=i,e[11]=s,e[12]=l,e[13]=g):g=e[13];let y;e[14]!==h||e[15]!==p||e[16]!==g?(y=a.jsx(Wr,{initialValues:p,onSubmit:h,validationSchema:spt,children:g}),e[14]=h,e[15]=p,e[16]=g,e[17]=y):y=e[17];let b;return e[18]!==_||e[19]!==y?(b=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[_,y]})}),e[18]=_,e[19]=y,e[20]=b):b=e[20],b};function opt(t){const{field:e,meta:r,form:n}=t,{setFieldValue:s}=n;return a.jsx(Fv,{...e,onChange:i=>{s(e.name,i)},value:e.value?e.value:"",language:"json",error:r.error,sx:{height:"300px"}})}const _u=Pr(),JI={secret:"",transport_remote_addresses:[],transport_remote_port:"",transport_timeout_s:"",isPermissionTemplateActive:!1,roles:[],permission_template:{backup:null,configuration:null,management:null,monitoring:null,provisioning:null,transport_keys:null,operator_codes:null,lawful_interception:null,milenage_constants:null}};function apt(t){return{secret:t.secret,...t.roles&&!t.isPermissionTemplateActive&&{roles:t.roles},...t.permission_template&&t.isPermissionTemplateActive&&{permission_template:Yae(t.permission_template)},transport:{remote_addresses:t.transport_remote_addresses,remote_port:t.transport_remote_port,timeout_s:t.transport_timeout_s}}}function lpt(t){return!t||Kae(t)?JI:{...JI,secret:t.secret,...!!t.transport&&{transport_remote_addresses:t.transport.remote_addresses,transport_remote_port:t.transport.remote_port,transport_timeout_s:t.transport.timeout_s},...!!t.roles&&{roles:t.roles},...!t.roles?.length&&{isPermissionTemplateActive:!0},...!!t.permission_template&&{permission_template:{...JI.permission_template,...t.permission_template}}}}const cpt=dr().shape({secret:We().required(_u.formatMessage({id:"authentication_strategies.radius.form_errors.transport.secret"})),permission_template:dr().shape({backup:We().nullable(),configuration:We().nullable(),management:We().nullable(),monitoring:We().nullable(),provisioning:We().nullable(),transport_keys:We().nullable(),operator_codes:We().nullable(),lawful_interception:We().nullable()}).required(),isPermissionTemplateActive:li(),roles:yr().when("isPermissionTemplateActive",(t,e)=>t?e:yr().of(We().required(_u.formatMessage({id:"authentication_strategies.radius.form_errors.roles_required"}))).min(1,_u.formatMessage({id:"authentication_strategies.radius.form_errors.roles_min"})).test({name:"unique-role",message:_u.formatMessage({id:"authentication_strategies.radius.form_errors.unique_role"}),test:r=>r?.length===0||r&&r.length===[...new Set(r.map(n=>`${n}`))].length})),transport_remote_addresses:yr().of(We().matches(new RegExp($.regex.ipv4v6Addr))).min(1,_u.formatMessage({id:"authentication_strategies.radius.form_errors.transport.remote_addresses"})).required(),transport_remote_port:kn().min(0,_u.formatMessage({id:"authentication_strategies.radius.form_errors.transport.remote_port.min"})).max(65535,_u.formatMessage({id:"authentication_strategies.radius.form_errors.transport.remote_port.max"})).required(_u.formatMessage({id:"authentication_strategies.radius.form_errors.transport.remote_port"})),transport_timeout_s:kn().min(1,_u.formatMessage({id:"authentication_strategies.radius.form_errors.transport.timeout_s.min"})).required(_u.formatMessage({id:"authentication_strategies.radius.form_errors.transport.timeout_s"}))}),upt=()=>{const t=he.c(10),e=Ye();let r;t[0]!==e?(r=a.jsx(Ke,{name:"transport_remote_addresses",children:o=>{const{field:l,meta:c,form:u}=o,{setFieldValue:d}=u;return a.jsx(rn,{name:l.name,label:e.formatMessage({id:"authentication_strategies.radius.transport.form.remote_addresses"}),value:l.value,multiple:!0,size:"small",freeSolo:!0,options:[""],onChange:(f,p)=>{d(l.name,p||"")},error:!!c.error,helperText:c.error,fullWidth:!0})}}),t[0]=e,t[1]=r):r=t[1];let n;t[2]!==e?(n=a.jsx(Ke,{name:"transport_remote_port",children:o=>{const{field:l,meta:c,form:u}=o,{isSubmitting:d}=u;return a.jsx(dt,{...l,label:e.formatMessage({id:"authentication_strategies.radius.transport.form.remote_port"}),size:"small",helperText:c.error,error:!!c.error,disabled:d,type:"number",required:!0})}}),t[2]=e,t[3]=n):n=t[3];let s;t[4]!==e?(s=a.jsx(Ke,{name:"transport_timeout_s",children:o=>{const{field:l,meta:c,form:u}=o,{isSubmitting:d}=u;return a.jsx(dt,{...l,label:e.formatMessage({id:"authentication_strategies.radius.transport.form.timeout_s"}),size:"small",helperText:c.error,error:!!c.error,disabled:d,type:"number",required:!0})}}),t[4]=e,t[5]=s):s=t[5];let i;return t[6]!==r||t[7]!==n||t[8]!==s?(i=a.jsxs(te,{spacing:2,children:[r,n,s]}),t[6]=r,t[7]=n,t[8]=s,t[9]=i):i=t[9],i},dpt=t=>{const e=he.c(26),{backendList:r,radiusConfig:n,rolesList:s,radiusLocalConfig:i}=t,o=Ye(),{data:l,state:c,submit:u}=gr();let d;e[0]!==r?(d=r.includes(_i.radius),e[0]=r,e[1]=d):d=e[1];const f=d;let p;e[2]!==n?(p=lpt(n),e[2]=n,e[3]=p):p=e[3];const m=p;let h;e[4]!==u?(h=async k=>{u(apt(k),{method:"POST",encType:"application/json",action:"radius-config-update"})},e[4]=u,e[5]=h):h=e[5];const _=h;let g;e[6]!==o||e[7]!==f?(g=!f&&a.jsx(Lr,{severity:"warning",message:o.formatMessage({id:"authentication_strategies.radius.not_active"})}),e[6]=o,e[7]=f,e[8]=g):g=e[8];let y;e[9]!==l||e[10]!==o||e[11]!==s||e[12]!==c?(y=k=>{const{values:A}=k;return a.jsx(pr,{title:o.formatMessage({id:"authentication_strategies.radius.panel.title"}),elevation:3,children:a.jsx(Kt,{children:a.jsx(dn,{canWrite:Ue(ie.management),children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"secret",children:P=>{const{field:T,meta:j}=P;return a.jsx(dt,{...T,label:o.formatMessage({id:"authentication_strategies.radius.form.secret"}),size:"small",helperText:j.error,disabled:c!=="idle",error:!!j.error,required:!0})}}),a.jsx(Ke,{name:"isPermissionTemplateActive",children:P=>{const{field:T,form:j}=P,{setFieldValue:R}=j;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(_e,{children:o.formatMessage({id:"authentication_strategies.radius.transport.form.roles"})}),a.jsx(ti,{checked:T.value,onChange:()=>{R(T.name,!T.value)}}),a.jsx(_e,{children:o.formatMessage({id:"authentication_strategies.radius.form.permission_template"})})]})}}),A.isPermissionTemplateActive?a.jsx(nx,{fieldName:"permission_template",fieldLabel:o.formatMessage({id:"authentication_strategies.radius.form.permission_template"})}):a.jsx(Ke,{name:"roles",children:P=>{const{field:T,meta:j,form:R}=P,{setFieldValue:D}=R;return a.jsx(rn,{name:T.name,label:o.formatMessage({id:"authentication_strategies.radius.form.roles"}),value:T.value,multiple:!0,size:"small",freeSolo:!1,options:s.map(fpt),onChange:(O,N)=>{D(T.name,[...new Set(N.map(ppt))])},fullWidth:!0,error:!!j.error,helperText:j.error})}}),a.jsx(pr,{title:o.formatMessage({id:"authentication_strategies.radius.transport.title"}),elevation:4,children:a.jsx(Kt,{children:a.jsx(upt,{})})}),a.jsx(Xr,{data:l}),a.jsx(Ze,{type:"submit",text:o.formatMessage({id:"authentication_strategies.radius.form.buttons.save"}),disabled:c!=="idle"||!Ue(ie.management),loading:c!=="idle",sx:{alignSelf:"flex-start"}})]})})})})},e[9]=l,e[10]=o,e[11]=s,e[12]=c,e[13]=y):y=e[13];let b;e[14]!==_||e[15]!==m||e[16]!==y?(b=a.jsx(Wr,{initialValues:m,onSubmit:_,enableReinitialize:!0,validationSchema:cpt,children:y}),e[14]=_,e[15]=m,e[16]=y,e[17]=b):b=e[17];let x;e[18]!==g||e[19]!==b?(x=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[g,b]})}),e[18]=g,e[19]=b,e[20]=x):x=e[20];let w;e[21]!==i?(w=a.jsx(Uue,{backend:_i.radius,config:i}),e[21]=i,e[22]=w):w=e[22];let C;return e[23]!==x||e[24]!==w?(C=a.jsxs(te,{children:[x,w]}),e[23]=x,e[24]=w,e[25]=C):C=e[25],C};function fpt(t){return t.id}function ppt(t){return t.trim()}function mpt(){const t=he.c(53),e=Ye(),{backendList:r,ldapConfig:n,ldapLocalConfig:s,radiusLocalConfig:i,radiusConfig:o,rolesList:l,openIdConfig:c}=Np(),{data:u,state:d,submit:f}=gr();let p;t[0]!==f?(p=N=>{const{backends:F}=N;f(F,{method:"POST",encType:"application/json",action:"backends-update"})},t[0]=f,t[1]=p):p=t[1];const m=p;let h;t[2]!==e?(h=e.formatMessage({id:"authentication_strategies.title"}),t[2]=e,t[3]=h):h=t[3];let _;t[4]!==r?(_={backends:r},t[4]=r,t[5]=_):_=t[5];let g;t[6]!==u||t[7]!==e||t[8]!==d?(g=N=>{const{dirty:F,isValid:U}=N;return a.jsx(dn,{canWrite:Ue(ie.management),children:a.jsxs(te,{spacing:2,children:[a.jsx(Lr,{severity:"info",message:e.formatMessage({id:"authentication_strategies.form.backends.info"})}),a.jsx(Ke,{name:"backends",children:z=>{const{field:H,meta:W,form:K}=z,{setFieldValue:q}=K;return a.jsx(rn,{value:H.value,name:H.name,label:e.formatMessage({id:"authentication_strategies.form.backends"}),multiple:!0,size:"small",freeSolo:!1,options:WTe,onChange:(X,Q)=>{q(H.name,[...new Set(Q.map(hpt))])},error:!!W.error,helperText:W.error,disabled:d!=="idle",fullWidth:!0})}}),a.jsx(Xr,{data:u}),a.jsx(Ze,{type:"submit",text:e.formatMessage({id:"authentication_strategies.form.buttons.save"}),disabled:d!=="idle"||!Ue(ie.management)||!F||!U,loading:d!=="idle",sx:{alignSelf:"flex-start"}})]})})},t[6]=u,t[7]=e,t[8]=d,t[9]=g):g=t[9];let y;t[10]!==m||t[11]!==_||t[12]!==g?(y=a.jsx(Kt,{children:a.jsx(Wr,{initialValues:_,enableReinitialize:!0,validationSchema:Wft,onSubmit:m,children:g})}),t[10]=m,t[11]=_,t[12]=g,t[13]=y):y=t[13];let b;t[14]!==h||t[15]!==y?(b=a.jsx(pr,{elevation:2,title:h,children:y}),t[14]=h,t[15]=y,t[16]=b):b=t[16];let x;t[17]!==e?(x=e.formatMessage({id:`authentication_strategies.tabs.item.${_i.radius}`}),t[17]=e,t[18]=x):x=t[18];let w;t[19]!==r||t[20]!==o||t[21]!==i||t[22]!==l?(w=a.jsx(dpt,{backendList:r,radiusConfig:o,rolesList:l,radiusLocalConfig:i}),t[19]=r,t[20]=o,t[21]=i,t[22]=l,t[23]=w):w=t[23];let C;t[24]!==x||t[25]!==w?(C={label:x,value:_i.radius,content:w},t[24]=x,t[25]=w,t[26]=C):C=t[26];let k;t[27]!==e?(k=e.formatMessage({id:`authentication_strategies.tabs.item.${_i.ldap}`}),t[27]=e,t[28]=k):k=t[28];let A;t[29]!==r||t[30]!==n||t[31]!==s||t[32]!==l?(A=a.jsx(tpt,{backendList:r,ldapConfig:n,rolesList:l,ldapLocalConfig:s}),t[29]=r,t[30]=n,t[31]=s,t[32]=l,t[33]=A):A=t[33];let P;t[34]!==A||t[35]!==k?(P={label:k,value:_i.ldap,content:A},t[34]=A,t[35]=k,t[36]=P):P=t[36];let T;t[37]!==e?(T=e.formatMessage({id:`authentication_strategies.tabs.item.${_i.openid}`}),t[37]=e,t[38]=T):T=t[38];let j;t[39]!==r||t[40]!==c||t[41]!==l?(j=a.jsx(ipt,{backendList:r,openIdConfig:c,rolesList:l}),t[39]=r,t[40]=c,t[41]=l,t[42]=j):j=t[42];let R;t[43]!==T||t[44]!==j?(R={label:T,value:_i.openid,content:j},t[43]=T,t[44]=j,t[45]=R):R=t[45];let D;t[46]!==P||t[47]!==R||t[48]!==C?(D=a.jsx(pr,{elevation:2,children:a.jsx(VA,{value:_i.radius,tabs:[C,P,R]})}),t[46]=P,t[47]=R,t[48]=C,t[49]=D):D=t[49];let O;return t[50]!==D||t[51]!==b?(O=a.jsx(pr,{children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[b,D]})})}),t[50]=D,t[51]=b,t[52]=O):O=t[52],O}function hpt(t){return t.trim()}const gpt=Pr();function _pt(t){const{enabled:e,terms:r,forbidden_notice:n}=t;return{enabled:e,terms:r,...n&&{forbidden_notice:n}}}function vpt({enabled:t,terms:e,forbidden_notice:r}){return{enabled:t,terms:e,forbidden_notice:r||""}}const ypt=dr().shape({enabled:li().required(),terms:We().required(gpt.formatMessage({id:"system_usage_terms.form.errors.required"})),forbidden_notice:We()});function bpt(){const t=he.c(11),e=Ye(),{systemUsageTerms:r}=Np(),{submit:n,state:s}=gr();let i;t[0]!==n?(i=d=>{n(_pt(d),{method:"PUT",action:"system-usage-terms-update",encType:"application/json"})},t[0]=n,t[1]=i):i=t[1];const o=i;let l;t[2]!==r?(l=vpt(r),t[2]=r,t[3]=l):l=t[3];let c;t[4]!==e||t[5]!==s?(c=d=>{const{dirty:f,values:p}=d;return a.jsx(dn,{canWrite:Ue([[ie.management]]),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{direction:"row",children:[a.jsx(Ke,{name:"enabled",children:m=>{const{field:h,form:_}=m,{setFieldValue:g}=_;return a.jsx(Rv,{control:a.jsx(ti,{onChange:(y,b)=>{g(h.name,b)},checked:h.value}),label:e.formatMessage({id:"common.enabled"}),sx:{m:0}})}}),a.jsx(Mn,{placement:"right",arrow:!0,title:e.formatMessage({id:"system_usage_terms.form.checkbox.hint"}),children:a.jsx(gt,{display:"flex",justifyContent:"center",alignItems:"center",children:a.jsx(ge.QuestionMark,{size:18})})})]}),a.jsx(Ke,{name:"terms",children:m=>{const{field:h,meta:_}=m;return a.jsx(dt,{...h,fullWidth:!0,required:!0,multiline:10,label:e.formatMessage({id:"system_usage_terms.form.terms"}),error:!!_.error,helperText:_.error,disabled:!p.enabled})}}),a.jsx(Ke,{name:"forbidden_notice",children:m=>{const{field:h,meta:_}=m;return a.jsx(dt,{...h,fullWidth:!0,multiline:3,label:e.formatMessage({id:"system_usage_terms.form.forbidden_notice"}),error:!!_.error,helperText:_.error,disabled:!p.enabled})}}),a.jsx(Lr,{message:e.formatMessage({id:"system_usage_terms.form.forbidden_notice.alert"})}),a.jsx(Ze,{type:"submit",text:e.formatMessage({id:"common.save"}),disabled:!Ue([ie.management])||!f,loading:s!=="idle",sx:{alignSelf:"flex-start"}})]})})},t[4]=e,t[5]=s,t[6]=c):c=t[6];let u;return t[7]!==o||t[8]!==l||t[9]!==c?(u=a.jsx(pr,{children:a.jsx(Kt,{children:a.jsx(Wr,{validationSchema:ypt,initialValues:l,onSubmit:o,enableReinitialize:!0,children:c})})}),t[7]=o,t[8]=l,t[9]=c,t[10]=u):u=t[10],u}const dk=t=>{const e=he.c(2),{permissions:r}=t;let n;return e[0]!==r?(n=a.jsx(a.Fragment,{children:Object.entries(r??{}).map(xpt)}),e[0]=r,e[1]=n):n=e[1],n};function xpt(t){const[e,r]=t;return a.jsxs(te,{justify:"stretch",direction:"row",align:"center",nowrap:!0,children:[a.jsxs(te,{direction:"row",divided:!0,align:"center",nowrap:!0,spacing:.5,children:[a.jsx(_e,{fontWeight:"600",type:"body2",color:r===op.ro?"primary":"grey.500",sx:{textTransform:"uppercase"},children:op.ro}),a.jsx(_e,{fontWeight:"600",type:"body2",color:r===op.rw?"primary":"grey.500",sx:{textTransform:"uppercase"},children:op.rw})]}),a.jsx(_e,{type:"body2",sx:{textTransform:"lowercase"},children:e})]},e)}const Spt=Pr(),wpt=dr().shape({id:We().required(Spt.formatMessage({id:"roles.new_role.form_errors.required"})),permissions:dr()});function Bue(t){const e=he.c(24),{id:r}=t,n=Ye(),{upsertFetcher:s,dataFetcher:i,isLoading:o}=Ys(),{submit:l,state:c,data:u}=s,{load:d,data:f}=i,p=!!r,{dialogClose:m}=Jt();let h,_;e[0]!==r||e[1]!==p||e[2]!==d?(h=()=>{p&&d($.urls.platformRolesDetails.replace(":id",r))},_=[r,p,d],e[0]=r,e[1]=p,e[2]=d,e[3]=h,e[4]=_):(h=e[3],_=e[4]),I.useEffect(h,_),f?.role;const g=f?.role,y=g?.id??"";let b;e[5]!==g?.permissions?(b=g?.permissions?{...g?.permissions}:{},e[5]=g?.permissions,e[6]=b):b=e[6];let x;e[7]!==y||e[8]!==b?(x={id:y,permissions:b},e[7]=y,e[8]=b,e[9]=x):x=e[9];const w=x;let C;e[10]!==f?.role||e[11]!==l?(C=T=>{const{id:j,permissions:R}=T,D=f?.role;l({id:j,...R&&{permissions:R},permissions:Yae(R)},{method:D?"PATCH":"POST",encType:"application/json",action:D?$.urls.platformRolesUpdate_Action:$.urls.platformRolesCreate_Action})},e[10]=f?.role,e[11]=l,e[12]=C):C=e[12],f?.role;const k=C;let A;e[13]!==m||e[14]!==u||e[15]!==c||e[16]!==n||e[17]!==p||e[18]!==o?(A=T=>{const{dirty:j}=T;return a.jsxs(dn,{canWrite:Ue(ie.management),children:[a.jsx(_s,{loading:o,children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"id",children:R=>{const{field:D,meta:O}=R;return a.jsx(dt,{...D,label:n.formatMessage({id:"roles.new_role.form.id"}),size:"medium",error:!!O.error,helperText:O.error,disabled:p||c!=="idle"})}}),a.jsx(nx,{fieldName:"permissions",modalElevation:!0}),a.jsx(Xr,{data:u})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:n.formatMessage({id:"dialog_with_form.buttons.cancel"}),type:"reset",variant:"outlined",disabled:c!=="idle",onClick:()=>m()}),a.jsx(Ze,{text:n.formatMessage({id:"dialog_with_form.buttons.submit"}),type:"submit",disabled:c!=="idle"||!j||!Ue(ie.management),loading:c!=="idle"})]})})]})},e[13]=m,e[14]=u,e[15]=c,e[16]=n,e[17]=p,e[18]=o,e[19]=A):A=e[19];let P;return e[20]!==k||e[21]!==w||e[22]!==A?(P=a.jsx(Wr,{enableReinitialize:!0,initialValues:w,validationSchema:wpt,onSubmit:k,children:A}),e[20]=k,e[21]=w,e[22]=A,e[23]=P):P=e[23],P}const Cpt=()=>{const t=he.c(60),e=Ye(),r=zn(),{dialogOpen:n,confirmationSimpleDialogOpen:s}=Jt(),i=gr();let o;t[0]!==n||t[1]!==e?(o=()=>{n({title:e.formatMessage({id:"roles.new_role.form.title"}),content:Apt})},t[0]=n,t[1]=e,t[2]=o):o=t[2];const l=o;let c;t[3]!==e?(c=e.formatMessage({id:"roles.table.id"}),t[3]=e,t[4]=c):c=t[4];let u;t[5]!==c?(u={key:"id",label:c},t[5]=c,t[6]=u):u=t[6];let d;t[7]!==e?(d=e.formatMessage({id:"roles.table.permissions"}),t[7]=e,t[8]=d):d=t[8];let f;t[9]!==d?(f={key:"permissions",label:d,cellRender:kpt},t[9]=d,t[10]=f):f=t[10];let p;t[11]!==e?(p=e.formatMessage({id:"roles.table.created_at"}),t[11]=e,t[12]=p):p=t[12];let m;t[13]!==p?(m={key:"created_at",label:p,cellRender:Mpt},t[13]=p,t[14]=m):m=t[14];let h;t[15]!==e?(h=e.formatMessage({id:"roles.table.modified_at"}),t[15]=e,t[16]=h):h=t[16];let _;t[17]!==h?(_={key:"modified_at",label:h,cellRender:Ppt},t[17]=h,t[18]=_):_=t[18];let g;t[19]!==u||t[20]!==f||t[21]!==m||t[22]!==_?(g=[u,f,m,_],t[19]=u,t[20]=f,t[21]=m,t[22]=_,t[23]=g):g=t[23];const y=g;let b;t[24]!==i?(b=K=>{i.submit({id:K},{method:"DELETE",encType:"application/json",action:$.urls.platformRolesDelete_Action})},t[24]=i,t[25]=b):b=t[25];const x=b;let w;t[26]!==e?(w=e.formatMessage({id:"roles.table.actions.update"}),t[26]=e,t[27]=w):w=t[27];let C,k;t[28]===Symbol.for("react.memo_cache_sentinel")?(C=a.jsx(ge.Edit,{}),k=Ue(ie.management),t[28]=C,t[29]=k):(C=t[28],k=t[29]);let A;t[30]!==n||t[31]!==e?(A=K=>{const{id:q}=K;n({title:e.formatMessage({id:"roles.edit_role.form.title"}),content:()=>a.jsx(Bue,{id:q})})},t[30]=n,t[31]=e,t[32]=A):A=t[32];let P;t[33]!==w||t[34]!==A?(P={label:w,icon:C,disabled:!k,onClick:A},t[33]=w,t[34]=A,t[35]=P):P=t[35];let T;t[36]!==e?(T=e.formatMessage({id:"roles.table.actions.delete"}),t[36]=e,t[37]=T):T=t[37];let j,R;t[38]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(ge.Trash,{}),R=Ue(ie.management),t[38]=j,t[39]=R):(j=t[38],R=t[39]);let D;t[40]!==s||t[41]!==x||t[42]!==e?(D=K=>{const{id:q}=K;s({title:e.formatMessage({id:"roles.dialog.confirm_delete.title"}),description:e.formatMessage({id:"roles.dialog.confirm_delete.description"},{role:q}),onConfirm:()=>{x(q)},cancelText:e.formatMessage({id:"confirm_dialog.cancel"}),confirmText:e.formatMessage({id:"confirm_dialog.ok"})})},t[40]=s,t[41]=x,t[42]=e,t[43]=D):D=t[43];let O;t[44]!==T||t[45]!==D?(O={label:T,icon:j,disabled:!R,onClick:D},t[44]=T,t[45]=D,t[46]=O):O=t[46];let N;t[47]!==P||t[48]!==O?(N=[P,O],t[47]=P,t[48]=O,t[49]=N):N=t[49];const F=N;let U;t[50]===Symbol.for("react.memo_cache_sentinel")?(U=a.jsx(Dt,{height:"100%",variant:"rounded"}),t[50]=U):U=t[50];let z;t[51]===Symbol.for("react.memo_cache_sentinel")?(z=a.jsx(Tr,{}),t[51]=z):z=t[51];let H;t[52]!==y||t[53]!==l||t[54]!==e||t[55]!==F?(H=K=>a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{"data-testid":"toolbar-button-new-role",text:e.formatMessage({id:"roles.toolbar.new_role"}),startIcon:a.jsx(ge.Add,{}),onClick:l})}),a.jsx(Br,{autoScale:!0,orderBy:"id",columns:y,data:K,page:0,labelDisplayedRows:jpt,rowsCount:K.length,rowsPerPage:K.length,rowsPerPageOptions:void 0,rowKey:"id",rowActions:F,stickyRowActions:!0})]}),t[52]=y,t[53]=l,t[54]=e,t[55]=F,t[56]=H):H=t[56];let W;return t[57]!==r.roles||t[58]!==H?(W=a.jsx(I.Suspense,{fallback:U,children:a.jsx(Qt,{resolve:r.roles,errorElement:z,children:H})}),t[57]=r.roles,t[58]=H,t[59]=W):W=t[59],W};function Apt(){return a.jsx(Bue,{})}function kpt(t){const{permissions:e}=t;return e?a.jsx(dk,{permissions:e}):a.jsx(a.Fragment,{})}function Mpt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function Ppt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function jpt(){return""}function tJ(t){const e=he.c(24),{type:r}=t,n=Ye(),s=gl(),i=`fetcher-${r}-certificate`;let o;e[0]!==i?(o={key:i},e[0]=i,e[1]=o):o=e[1];const l=gr(o);let c;e[2]===Symbol.for("react.memo_cache_sentinel")?(c=[],e[2]=c):c=e[2];let u;e[3]!==r?(u=r===ip.SERVER&&{key_file:[]},e[3]=r,e[4]=u):u=e[4];let d;e[5]!==u?(d={cert_file:c,...u},e[5]=u,e[6]=d):d=e[6];const f=d;let p;e:{switch(r){case ip.CLIENT:{let b;e[7]!==n?(b=dr().shape({cert_file:yr().min(1,n.formatMessage({id:"pls.tls.certificates.form.error.file_required"})).max(1,n.formatMessage({id:"pls.tls.certificates.form.error.file_required"})).required(n.formatMessage({id:"pls.tls.certificates.form.error.file_required"}))}),e[7]=n,e[8]=b):b=e[8],p=b;break e}case ip.SERVER:{let b;e[9]!==n?(b=dr().shape({cert_file:yr().min(1,n.formatMessage({id:"pls.tls.certificates.form.error.file_required"})).max(1,n.formatMessage({id:"pls.tls.certificates.form.error.file_required"})).required(n.formatMessage({id:"pls.tls.certificates.form.error.file_required"})),key_file:yr().min(1,n.formatMessage({id:"pls.tls.certificates.form.error.file_required"})).max(1,n.formatMessage({id:"pls.tls.certificates.form.error.file_required"})).required(n.formatMessage({id:"pls.tls.certificates.form.error.file_required"}))}),e[9]=n,e[10]=b):b=e[10],p=b;break e}}p=void 0}const m=p;let h;e[11]!==s||e[12]!==r?(h=b=>{const x=new FormData;for(const w in b){const C=b[w];if(!C)return;x.append(w,C[0])}s(x,{method:"POST",encType:"multipart/form-data",action:`${r}-certificate-update`,navigate:!1,fetcherKey:`fetcher-${r}-certificate`})},e[11]=s,e[12]=r,e[13]=h):h=e[13];const _=h;let g;e[14]!==l.data||e[15]!==l.state||e[16]!==n||e[17]!==r?(g=b=>{const{dirty:x,isValid:w}=b;return a.jsx(dn,{canWrite:Ue(ie.management),children:a.jsx(pr,{title:n.formatMessage({id:`pls.tls.certificates.${r}.title`}),children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"cert_file",children:C=>{const{field:k,meta:A,form:P}=C,{setFieldValue:T}=P;return a.jsxs(te,{children:[a.jsx(_e,{children:n.formatMessage({id:"pls.tls.certificates.form.cert_file"})}),a.jsx(Z_,{...k,label:n.formatMessage({id:"pls.tls.certificates.form.file"}),disabled:l.state!=="idle",maxFiles:1,multiple:!1,onChange:j=>{setTimeout(()=>{T(k.name,j)},0)},formError:A.error})]})}}),r===ip.SERVER&&a.jsx(Ke,{name:"key_file",children:C=>{const{field:k,meta:A,form:P}=C,{setFieldValue:T}=P;return a.jsxs(te,{children:[a.jsx(_e,{children:n.formatMessage({id:"pls.tls.certificates.form.key_file"})}),a.jsx(Z_,{...k,label:n.formatMessage({id:"pls.tls.certificates.form.file"}),disabled:l.state!=="idle",maxFiles:1,multiple:!1,onChange:j=>{setTimeout(()=>{T(k.name,j)},0)},formError:A.error})]})}}),a.jsx(Xr,{data:l.data}),a.jsx(Ze,{type:"submit",disabled:l.state!=="idle"||!x||!w||!Ue(ie.management),loading:l.state!=="idle",text:n.formatMessage({id:`pls.tls.certificates.${r}.form.update`}),sx:{alignSelf:"flex-start"}})]})})})})},e[14]=l.data,e[15]=l.state,e[16]=n,e[17]=r,e[18]=g):g=e[18];let y;return e[19]!==_||e[20]!==f||e[21]!==g||e[22]!==m?(y=a.jsx(Wr,{initialValues:f,enableReinitialize:!0,onSubmit:_,validationSchema:m,children:g}),e[19]=_,e[20]=f,e[21]=g,e[22]=m,e[23]=y):y=e[23],y}function Tpt(t){const e=he.c(11),{configuration:r}=t,n=Ye(),s=gl();let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i={key:"fetcher-configuration-update"},e[0]=i):i=e[0];const o=gr(i);let l;e[1]!==s?(l=f=>{s(f,{method:"PUT",encType:"application/json",action:"configuration-update",navigate:!1,fetcherKey:"fetcher-configuration-update"})},e[1]=s,e[2]=l):l=e[2];const c=l;let u;e[3]!==o.data||e[4]!==o.state||e[5]!==n?(u=f=>{const{dirty:p}=f;return a.jsx(dn,{canWrite:Ue(ie.management),children:a.jsx(pr,{title:n.formatMessage({id:"pls.tls.configuration.title"}),children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsxs("div",{children:[a.jsx(Ke,{name:"client_auth",children:m=>{const{field:h,form:_}=m,{setFieldValue:g}=_;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:h.value,onChange:(y,b)=>{g(h.name,b)},disabled:o.state!=="idle"}),a.jsx(_e,{children:n.formatMessage({id:"pls.tls.configuration.form.client_auth"})})]})}}),a.jsx(Ke,{name:"enabled",children:m=>{const{field:h,form:_}=m,{setFieldValue:g}=_;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:h.value,onChange:(y,b)=>{g(h.name,b)},disabled:o.state!=="idle"}),a.jsx(_e,{children:n.formatMessage({id:"pls.tls.configuration.form.enabled"})})]})}})]}),a.jsx(Xr,{data:o.data,sx:{mt:1}}),a.jsx(Ze,{type:"submit",disabled:o.state!=="idle"||!p||!Ue(ie.management),loading:o.state!=="idle",text:n.formatMessage({id:"pls.tls.configuration.form.apply"}),sx:{alignSelf:"flex-start"}})]})})})})},e[3]=o.data,e[4]=o.state,e[5]=n,e[6]=u):u=e[6];let d;return e[7]!==r||e[8]!==c||e[9]!==u?(d=a.jsx(Wr,{initialValues:r,enableReinitialize:!0,onSubmit:c,children:u}),e[7]=r,e[8]=c,e[9]=u,e[10]=d):d=e[10],d}function Ept(){const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsxs(te,{spacing:2,children:[a.jsx(Dt,{variant:"rounded",height:"232px"}),a.jsx(Dt,{variant:"rounded",height:"251px"}),a.jsx(Dt,{variant:"rounded",height:"362px"})]}),t[0]=e):e=t[0],e}function Rpt(){const t=he.c(4),e=zn();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(Ept,{}),t[0]=r):r=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Tr,{}),t[1]=n):n=t[1];let s;return t[2]!==e.configuration?(s=a.jsx(I.Suspense,{fallback:r,children:a.jsx(Qt,{resolve:e.configuration,errorElement:n,children:Ipt})}),t[2]=e.configuration,t[3]=s):s=t[3],s}function Ipt(t){return a.jsxs(te,{spacing:1.5,children:[a.jsx(Tpt,{configuration:t}),a.jsx(tJ,{type:ip.CLIENT}),a.jsx(tJ,{type:ip.SERVER})]})}function zue(t){const e=he.c(32),{username:r}=t,n=Ye(),{upsertFetcher:s,dataFetcher:i,isLoading:o}=Ys(),{submit:l,state:c,data:u}=s,{load:d,data:f}=i,{load:p,data:m,state:h}=gr(),_=!!r,{dialogClose:g}=Jt();let y,b;e[0]!==_||e[1]!==d||e[2]!==p||e[3]!==r?(y=()=>{p($.urls.platformRolesEntries),_&&d($.urls.platformUsersDetails.replace(":username",r))},b=[_,d,p,r],e[0]=_,e[1]=d,e[2]=p,e[3]=r,e[4]=y,e[5]=b):(y=e[4],b=e[5]),I.useEffect(y,b),m?.roles;const x=m?.roles;let w;e[6]!==f?.user?(w=()=>{const N=f?.user;return{username:N?.username??"",password:"",fullname:N?.fullname??"",permissions:N?.permissions?{...Uz,...N?.permissions}:Uz,roles:N?.roles||[]}},e[6]=f?.user,e[7]=w):w=e[7],f?.user;let C;e[8]!==w?(C=w(),e[8]=w,e[9]=C):C=e[9];const k=C;f?.user;const A=f?.user;let P;e[10]!==n||e[11]!==A?(P=dr().shape({username:We().required(n.formatMessage({id:"users.new_user.form_errors.required"})),password:A?We():We().required(n.formatMessage({id:"users.new_user.form_errors.required"})),fullname:We(),permissions:dr(),roles:yr().of(We())}),e[10]=n,e[11]=A,e[12]=P):P=e[12];const T=P;let j;e[13]!==f?.user||e[14]!==l?(j=N=>{const{username:F,fullname:U,password:z,permissions:H,roles:W}=N;l(F==="admin"?{username:F,...U&&{fullname:U},...z&&{password:z}}:{username:F,...U&&{fullname:U},...z&&{password:z},...H&&{permissions:H},roles:W},{method:f?.user?"PATCH":"POST",encType:"application/json",action:f?.user?$.urls.platformUsersUpdate_Action:$.urls.platformUsersCreate_Action})},e[13]=f?.user,e[14]=l,e[15]=j):j=e[15],f?.user;const R=j;let D;e[16]!==g||e[17]!==u||e[18]!==c||e[19]!==n||e[20]!==_||e[21]!==o||e[22]!==m?.roles||e[23]!==x||e[24]!==h||e[25]!==r?(D=N=>{const{dirty:F,values:U}=N,z=m?.roles?I4e(m?.roles.filter(H=>U?.roles?.includes(H.id))?.map(Dpt)):void 0;return a.jsxs(dn,{canWrite:Ue(ie.management),fullHeight:!0,children:[a.jsx(_s,{loading:o,children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"username",children:H=>{const{field:W,meta:K}=H;return a.jsx(dt,{...W,label:n.formatMessage({id:"users.new_user.form.username"}),size:"medium",error:!!K.error,helperText:K.error,disabled:_||c!=="idle"})}}),!_&&a.jsx(Ke,{name:"password",children:H=>{const{field:W,meta:K}=H;return a.jsx(dt,{...W,type:"password",showPasswordVisibility:!0,label:n.formatMessage({id:"users.new_user.form.password"}),size:"medium",error:!!K.error,helperText:K.error,disabled:c!=="idle"})}}),a.jsx(Ke,{name:"fullname",children:H=>{const{field:W,meta:K}=H;return a.jsx(dt,{...W,label:n.formatMessage({id:"users.new_user.form.fullname"}),size:"medium",error:!!K.error,helperText:K.error,disabled:c!=="idle"})}}),a.jsx(pr,{title:n.formatMessage({id:"users.new_user.roles.title"}),dense:!0,modalElevation:!0,children:a.jsxs(Kt,{children:[h==="loading"&&a.jsx(gt,{sx:{display:"flex",justifyContent:"center",p:5},children:a.jsx(Nc,{type:"circular",color:"primary"})}),h!=="loading"&&x&&a.jsxs(a.Fragment,{children:[!x.length&&a.jsx(Lr,{message:n.formatMessage({id:"users.new_user.no_roles"}),severity:"warning"}),!!x.length&&a.jsx(te,{spacing:2,children:a.jsx(Ke,{name:"roles",children:H=>{const{field:W,form:K}=H,{setFieldValue:q}=K;return a.jsx(te,{direction:"row",spacing:1,children:x.map(X=>a.jsx(Mn,{opaque:!0,title:a.jsx(gt,{sx:{py:1,px:1.5},children:a.jsx(dk,{permissions:X.permissions})}),children:a.jsx("div",{children:a.jsx(Ze,{text:X.id,endIcon:a.jsx(ge.Info,{size:15}),variant:W.value?.includes(X.id)?"contained":"outlined",disabled:r==="admin",sx:{textTransform:"none"},onClick:()=>{if(!W.value){q(W.name,[X.id]);return}if(W.value.includes(X.id)){const Q=W.value.filter(Y=>Y!==X.id);q(W.name,Q);return}q(W.name,[...W.value,X.id])}})})},X.id))})}})})]})]})}),a.jsx(nx,{fieldName:"permissions",fieldLabel:n.formatMessage({id:"users.new_user.permissions_override.title"}),basePermissions:z,disabled:r==="admin",modalElevation:!0}),a.jsx(Xr,{data:u})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:n.formatMessage({id:"dialog_with_form.buttons.cancel"}),type:"reset",variant:"outlined",disabled:c!=="idle",onClick:()=>g()}),a.jsx(Ze,{text:n.formatMessage({id:"dialog_with_form.buttons.submit"}),type:"submit",disabled:c!=="idle"||!F||!Ue(ie.management),loading:c!=="idle"})]})})]})},e[16]=g,e[17]=u,e[18]=c,e[19]=n,e[20]=_,e[21]=o,e[22]=m?.roles,e[23]=x,e[24]=h,e[25]=r,e[26]=D):D=e[26];let O;return e[27]!==R||e[28]!==k||e[29]!==D||e[30]!==T?(O=a.jsx(Wr,{enableReinitialize:!0,initialValues:k,validationSchema:T,onSubmit:R,children:D}),e[27]=R,e[28]=k,e[29]=D,e[30]=T,e[31]=O):O=e[31],O}function Dpt(t){return t.permissions}function que(t){const e=he.c(18),{isCurrentUser:r,username:n}=t,s=Ye(),{dialogClose:i}=Jt(),{upsertFetcher:o}=Ys(),{submit:l,state:c,data:u}=o;let d;e[0]!==r||e[1]!==l||e[2]!==n?(d=b=>{const{password:x,current_password:w}=b;r?l({password:x,current_password:w},{method:"POST",encType:"application/json",action:$.urls.platformUsersCurrentUserPasswordChange_Action}):l({username:n,password:x},{method:"POST",encType:"application/json",action:$.urls.platformUsersPasswordChange_Action})},e[0]=r,e[1]=l,e[2]=n,e[3]=d):d=e[3];const f=d;let p;e[4]===Symbol.for("react.memo_cache_sentinel")?(p={current_password:"",password:"",passwordConfirmation:""},e[4]=p):p=e[4];const m=p;let h;e[5]!==s||e[6]!==r?(h=dr().shape({current_password:r?We().required(s.formatMessage({id:"users.change_password.form_errors.required"})):We(),password:We().required(s.formatMessage({id:"users.change_password.form_errors.required"})),passwordConfirmation:We().oneOf([gge("password"),null],s.formatMessage({id:"users.change_password.form_errors.password_must_match"})).required(s.formatMessage({id:"users.change_password.form_errors.required"}))}),e[5]=s,e[6]=r,e[7]=h):h=e[7];const _=h;let g;e[8]!==u||e[9]!==i||e[10]!==s||e[11]!==r||e[12]!==c?(g=b=>{const{dirty:x}=b;return a.jsxs(Kd,{children:[a.jsx(_s,{children:a.jsxs(te,{spacing:2,children:[r&&a.jsx(Ke,{name:"current_password",children:w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,type:"password",showPasswordVisibility:!0,label:s.formatMessage({id:"users.change_password.form.current_password"}),size:"medium",error:!!k.error,helperText:k.error,disabled:c!=="idle"})}}),a.jsx(Ke,{name:"password",children:w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,type:"password",showPasswordVisibility:!0,label:s.formatMessage({id:"users.change_password.form.password"}),size:"medium",error:!!k.error,helperText:k.error,disabled:c!=="idle"})}}),a.jsx(Ke,{name:"passwordConfirmation",children:w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,type:"password",showPasswordVisibility:!0,label:s.formatMessage({id:"users.change_password.form.passwordConfirmation"}),size:"medium",error:!!k.error,helperText:k.error,disabled:c!=="idle"})}}),a.jsx(Xr,{data:u})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:s.formatMessage({id:"dialog_with_form.buttons.cancel"}),variant:"outlined",disabled:c!=="idle",onClick:()=>i()}),a.jsx(Ze,{text:s.formatMessage({id:"dialog_with_form.buttons.submit"}),type:"submit",disabled:c!=="idle"||!x,loading:c!=="idle"})]})})]})},e[8]=u,e[9]=i,e[10]=s,e[11]=r,e[12]=c,e[13]=g):g=e[13];let y;return e[14]!==f||e[15]!==g||e[16]!==_?(y=a.jsx(Wr,{initialValues:m,validationSchema:_,onSubmit:f,children:g}),e[14]=f,e[15]=g,e[16]=_,e[17]=y):y=e[17],y}const $pt=()=>{const t=he.c(114),e=Ye(),r=zn(),{dialogOpen:n,confirmationSimpleDialogOpen:s}=Jt(),i=gr(),o=ys();let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=Ih(),t[0]=l):l=t[0];const c=l;let u;t[1]!==n||t[2]!==e?(u=()=>{n({title:e.formatMessage({id:"users.new_user.form.title"}),content:Opt})},t[1]=n,t[2]=e,t[3]=u):u=t[3];const d=u;let f;t[4]!==i?(f=$e=>{i.submit({username:$e},{method:"DELETE",encType:"application/json",action:$.urls.platformUsersDelete_Action})},t[4]=i,t[5]=f):f=t[5];const p=f;let m;t[6]!==i?(m=$e=>{const Ve=localStorage.getItem(U_);Ve&&i.submit({username:$e,refreshToken:Ve},{method:"POST",encType:"application/json",action:$.urls.platformUsersRevokeTokens_Action})},t[6]=i,t[7]=m):m=t[7];const h=m;let _;t[8]!==e?(_=e.formatMessage({id:"users.table.username"}),t[8]=e,t[9]=_):_=t[9];let g;t[10]!==e?(g=$e=>{const{username:Ve}=$e;return a.jsxs(te,{nowrap:!0,direction:"row",children:[a.jsx(_e,{type:"body2",children:Ve}),c?.sub===Ve&&a.jsx(ms,{label:e.formatMessage({id:"users.table.current_user"}),size:"small"})]})},t[10]=e,t[11]=g):g=t[11];let y;t[12]!==_||t[13]!==g?(y={key:"username",label:_,cellRender:g},t[12]=_,t[13]=g,t[14]=y):y=t[14];let b;t[15]!==e?(b=e.formatMessage({id:"users.table.fullname"}),t[15]=e,t[16]=b):b=t[16];let x;t[17]!==b?(x={key:"fullname",label:b},t[17]=b,t[18]=x):x=t[18];let w;t[19]!==e?(w=e.formatMessage({id:"users.table.backend"}),t[19]=e,t[20]=w):w=t[20];let C;t[21]!==w?(C={key:"backend",label:w,cellRender:Lpt},t[21]=w,t[22]=C):C=t[22];let k;t[23]!==e?(k=e.formatMessage({id:"users.table.roles"}),t[23]=e,t[24]=k):k=t[24];let A;t[25]!==k?(A={key:"roles",label:k,cellRender:Fpt},t[25]=k,t[26]=A):A=t[26];let P;t[27]!==e?(P=e.formatMessage({id:"users.table.permissions_override"}),t[27]=e,t[28]=P):P=t[28];let T;t[29]!==P?(T={key:"permissions",label:P,cellRender:Upt},t[29]=P,t[30]=T):T=t[30];let j;t[31]!==e?(j=e.formatMessage({id:"users.table.created_at"}),t[31]=e,t[32]=j):j=t[32];let R;t[33]!==j?(R={key:"created_at",label:j,cellRender:Bpt},t[33]=j,t[34]=R):R=t[34];let D;t[35]!==e?(D=e.formatMessage({id:"users.table.modified_at"}),t[35]=e,t[36]=D):D=t[36];let O;t[37]!==D?(O={key:"modified_at",label:D,cellRender:zpt},t[37]=D,t[38]=O):O=t[38];let N;t[39]!==C||t[40]!==A||t[41]!==T||t[42]!==R||t[43]!==O||t[44]!==y||t[45]!==x?(N=[y,x,C,A,T,R,O],t[39]=C,t[40]=A,t[41]=T,t[42]=R,t[43]=O,t[44]=y,t[45]=x,t[46]=N):N=t[46];const F=N;let U;t[47]!==e?(U=e.formatMessage({id:"users.table.actions.update"}),t[47]=e,t[48]=U):U=t[48];let z,H;t[49]===Symbol.for("react.memo_cache_sentinel")?(z=a.jsx(ge.Edit,{}),H=$e=>c?.sub===$e.username||!Ue(ie.management),t[49]=z,t[50]=H):(z=t[49],H=t[50]);let W;t[51]!==n||t[52]!==e?(W=$e=>{const{username:Ve}=$e;n({title:e.formatMessage({id:"users.edit_user.form.title"}),content:()=>a.jsx(zue,{username:Ve})})},t[51]=n,t[52]=e,t[53]=W):W=t[53];let K;t[54]!==U||t[55]!==W?(K={label:U,icon:z,disabled:H,onClick:W},t[54]=U,t[55]=W,t[56]=K):K=t[56];let q;t[57]!==e?(q=e.formatMessage({id:"users.table.actions.delete"}),t[57]=e,t[58]=q):q=t[58];let X,Q;t[59]===Symbol.for("react.memo_cache_sentinel")?(X=a.jsx(ge.Trash,{}),Q=$e=>$e.username===GTe||c?.sub===$e.username||!Ue(ie.management),t[59]=X,t[60]=Q):(X=t[59],Q=t[60]);let Y;t[61]!==s||t[62]!==p||t[63]!==e?(Y=$e=>{const{username:Ve}=$e;s({title:e.formatMessage({id:"users.dialog.confirm_delete.title"}),description:e.formatMessage({id:"users.dialog.confirm_delete.description"},{username:Ve}),onConfirm:()=>{p(Ve)},cancelText:e.formatMessage({id:"confirm_dialog.cancel"}),confirmText:e.formatMessage({id:"confirm_dialog.ok"})})},t[61]=s,t[62]=p,t[63]=e,t[64]=Y):Y=t[64];let Z;t[65]!==q||t[66]!==Y?(Z={label:q,icon:X,disabled:Q,onClick:Y},t[65]=q,t[66]=Y,t[67]=Z):Z=t[67];let re;t[68]!==e?(re=e.formatMessage({id:"users.table.actions.change_password"}),t[68]=e,t[69]=re):re=t[69];let fe,de;t[70]===Symbol.for("react.memo_cache_sentinel")?(fe=a.jsx(ge.Password,{}),de=$e=>$e.backend!==_i.local||c?.sub!==$e.username&&!Ue(ie.management),t[70]=fe,t[71]=de):(fe=t[70],de=t[71]);let se;t[72]!==n||t[73]!==e?(se=$e=>{const{username:Ve}=$e;n({title:e.formatMessage({id:"user_profile.actions.change_password"}),content:()=>a.jsx(que,{username:Ve,isCurrentUser:Ve===c?.sub})})},t[72]=n,t[73]=e,t[74]=se):se=t[74];let le;t[75]!==re||t[76]!==se?(le={label:re,icon:fe,disabled:de,onClick:se,wrapped:!0},t[75]=re,t[76]=se,t[77]=le):le=t[77];let ee;t[78]!==e?(ee=e.formatMessage({id:"users.table.actions.audit"}),t[78]=e,t[79]=ee):ee=t[79];let J,me;t[80]===Symbol.for("react.memo_cache_sentinel")?(J=a.jsx(ge.Sort,{}),me=as(ie.management),t[80]=J,t[81]=me):(J=t[80],me=t[81]);let pe;t[82]!==o?(pe=$e=>{const{username:Ve}=$e;o(`/platform/users/audits/${Ve}`)},t[82]=o,t[83]=pe):pe=t[83];let Se;t[84]!==ee||t[85]!==pe?(Se={label:ee,icon:J,disabled:!me,onClick:pe,wrapped:!0},t[84]=ee,t[85]=pe,t[86]=Se):Se=t[86];let ve;t[87]!==e?(ve=e.formatMessage({id:"users.table.actions.revoke_tokens"}),t[87]=e,t[88]=ve):ve=t[88];let xe,qe;t[89]===Symbol.for("react.memo_cache_sentinel")?(xe=a.jsx(ge.Reset,{}),qe=as(ie.management),t[89]=xe,t[90]=qe):(xe=t[89],qe=t[90]);let Le;t[91]!==s||t[92]!==h||t[93]!==e?(Le=$e=>{const{username:Ve}=$e;s({title:e.formatMessage({id:"users.dialog.confirm_revoke_tokens.title"}),description:e.formatMessage({id:"users.dialog.confirm_revoke_tokens.description"},{username:Ve}),onConfirm:()=>{h(Ve)},cancelText:e.formatMessage({id:"confirm_dialog.cancel"}),confirmText:e.formatMessage({id:"confirm_dialog.ok"})})},t[91]=s,t[92]=h,t[93]=e,t[94]=Le):Le=t[94];let Te;t[95]!==ve||t[96]!==Le?(Te={label:ve,icon:xe,disabled:!qe,onClick:Le,wrapped:!0},t[95]=ve,t[96]=Le,t[97]=Te):Te=t[97];let je;t[98]!==K||t[99]!==Z||t[100]!==le||t[101]!==Se||t[102]!==Te?(je=[K,Z,le,Se,Te],t[98]=K,t[99]=Z,t[100]=le,t[101]=Se,t[102]=Te,t[103]=je):je=t[103];const Ge=je;let nt;t[104]===Symbol.for("react.memo_cache_sentinel")?(nt=a.jsx(Dt,{height:"100%",variant:"rounded"}),t[104]=nt):nt=t[104];let Re;t[105]===Symbol.for("react.memo_cache_sentinel")?(Re=a.jsx(Tr,{}),t[105]=Re):Re=t[105];let we;t[106]!==F||t[107]!==d||t[108]!==e||t[109]!==Ge?(we=$e=>a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{"data-testid":"toolbar-button-new-rule",text:e.formatMessage({id:"users.toolbar.new_user"}),startIcon:a.jsx(ge.Add,{}),onClick:d})}),a.jsx(Br,{autoScale:!0,orderBy:"username",columns:F,data:$e,page:0,labelDisplayedRows:qpt,rowsCount:$e.length,rowsPerPage:$e.length,rowsPerPageOptions:void 0,rowKey:"username",rowActions:Ge,stickyRowActions:!0})]}),t[106]=F,t[107]=d,t[108]=e,t[109]=Ge,t[110]=we):we=t[110];let Me;return t[111]!==r.users||t[112]!==we?(Me=a.jsx(I.Suspense,{fallback:nt,children:a.jsx(Qt,{resolve:r.users,errorElement:Re,children:we})}),t[111]=r.users,t[112]=we,t[113]=Me):Me=t[113],Me};function Opt(){return a.jsx(zue,{})}function Lpt(t){const{backend:e}=t;return a.jsx(ms,{label:e||"",size:"small",color:e!==_i.local?"primary":"default"})}function Npt(t){return{id:t,label:t}}function Fpt(t){const{roles:e}=t;return a.jsx(ks,{items:e?.map(Npt)??[],size:"small"})}function Upt(t){const{permissions:e}=t;return e?a.jsx(dk,{permissions:e}):a.jsx(a.Fragment,{})}function Bpt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function zpt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function qpt(){return""}function Vpt(){const t=he.c(37),e=Ye(),r=zn(),{pageSize:n,pageSizeOptions:s,changePageSize:i,changePage:o,getRowsCount:l,getPage:c}=Na();let u;t[0]!==e?(u=e.formatMessage({id:"audits.created_at"}),t[0]=e,t[1]=u):u=t[1];let d;t[2]!==u?(d={key:"created_at",label:u,cellRender:Gpt},t[2]=u,t[3]=d):d=t[3];let f;t[4]!==e?(f=e.formatMessage({id:"audits.action"}),t[4]=e,t[5]=f):f=t[5];let p;t[6]!==f?(p={key:"action",label:f},t[6]=f,t[7]=p):p=t[7];let m;t[8]!==e?(m=e.formatMessage({id:"audits.auth"}),t[8]=e,t[9]=m):m=t[9];let h;t[10]!==e?(h=P=>{const{auth:T}=P;return T==="allowed"?a.jsx(ms,{variant:"outlined",size:"small",color:"success",label:e.formatMessage({id:"audits.auth.allowed"})}):a.jsx(ms,{variant:"outlined",size:"small",color:"error",label:e.formatMessage({id:"audits.auth.denied"})})},t[10]=e,t[11]=h):h=t[11];let _;t[12]!==m||t[13]!==h?(_={key:"auth",label:m,cellRender:h},t[12]=m,t[13]=h,t[14]=_):_=t[14];let g;t[15]!==e?(g=e.formatMessage({id:"audits.source_ip"}),t[15]=e,t[16]=g):g=t[16];let y;t[17]!==g?(y={key:"source_ip",label:g},t[17]=g,t[18]=y):y=t[18];let b;t[19]!==d||t[20]!==p||t[21]!==_||t[22]!==y?(b=[d,p,_,y],t[19]=d,t[20]=p,t[21]=_,t[22]=y,t[23]=b):b=t[23];const x=b;let w;t[24]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(Dt,{height:"100%",variant:"rounded"}),t[24]=w):w=t[24];let C;t[25]===Symbol.for("react.memo_cache_sentinel")?(C=a.jsx(Tr,{}),t[25]=C):C=t[25];let k;t[26]!==o||t[27]!==i||t[28]!==x||t[29]!==c||t[30]!==l||t[31]!==n||t[32]!==s?(k=P=>{const{data:T,metadata:j}=P;return a.jsx(Br,{autoScale:!0,rowKey:"created_at",orderBy:"created_at",columns:x,data:T,page:c(j),labelDisplayedRows:Hpt,rowsCount:l(j),rowsPerPage:n,onRowsPerPageChange:i,rowsPerPageOptions:s,onPageChange:o(j)})},t[26]=o,t[27]=i,t[28]=x,t[29]=c,t[30]=l,t[31]=n,t[32]=s,t[33]=k):k=t[33];let A;return t[34]!==r.audits||t[35]!==k?(A=a.jsx(I.Suspense,{fallback:w,children:a.jsx(Qt,{resolve:r.audits,errorElement:C,children:k})}),t[34]=r.audits,t[35]=k,t[36]=A):A=t[36],A}function Hpt(){return""}function Gpt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}async function Wpt(){const t=$.apis.pls.tls.config;return De({options:{url:t,method:"GET"}})}async function Ypt(t){const e=$.apis.pls.tls.certificates.client,r=new FormData;return r.append("cert_file",t.cert_file[0]),De({options:{url:e,method:"POST",headers:{"content-type":"multipart/form-data"},data:r}})}async function Kpt(t){const e=$.apis.pls.tls.certificates.server,r=new FormData;return r.append("cert_file",t.cert_file[0]),r.append("key_file",t.key_file[0]),De({options:{url:e,method:"POST",headers:{"content-type":"multipart/form-data"},data:r}})}async function Qpt(t){const e=$.apis.pls.tls.config;return De({options:{url:e,method:"PUT",data:JSON.stringify(t)}})}async function Zpt(){const t=$.apis.authenticationStrategies.backendList;return De({options:{url:t,method:"GET"}})}async function Xpt(){const t=$.apis.authenticationStrategies.ldap;return De({options:{url:t,method:"GET"}})}async function Jpt(){const t=$.apis.authenticationStrategies.radius;return De({options:{url:t,method:"GET"}})}async function emt(){const t=$.apis.authenticationStrategies.openId;return De({options:{url:t,method:"GET"}})}async function tmt(){const t=as([ie.configuration]),[e,r,n,s,i,o,l,c,u]=await Promise.all([Zpt(),Xpt(),Jpt(),emt(),Pie(),t?n4e():null,P4e(),smt(),amt()]);return{backendList:e,ldapConfig:r,radiusConfig:n,openIdConfig:s,authConfiguration:o,rolesList:i,systemUsageTerms:l,radiusLocalConfig:c,ldapLocalConfig:u}}async function rmt(){const t=$.apis.pls.bootPartitions;return De({options:{url:t,method:"GET"}})}async function nmt(t){const e=$.apis.pls.bootPartitions;return De({options:{url:e,method:"PUT",data:{default:t}}})}async function smt(){const t=$.apis.authenticationStrategies.localRadius;return De({options:{url:t,method:"GET"}})}async function imt(t){const e=$.apis.authenticationStrategies.localRadius;return De({options:{url:e,method:"PUT",data:t}})}async function omt(){const t=$.apis.authenticationStrategies.localRadius;return De({options:{url:t,method:"DELETE"}})}async function amt(){const t=$.apis.authenticationStrategies.localLdap;return De({options:{url:t,method:"GET"}})}async function lmt(t){const e=$.apis.authenticationStrategies.localLdap;return De({options:{url:e,method:"PUT",data:t}})}async function cmt(){const t=$.apis.authenticationStrategies.localLdap;return De({options:{url:t,method:"DELETE"}})}async function umt({request:t}){const e=await t.json(),r=await Qpt(e);return xt(r)||Nt(),Ft(r)}async function dmt({request:t}){const n={cert_file:[(await t.formData()).get("cert_file")]},s=await Ypt(n);return xt(s)||Nt(),Ft(s)}async function fmt({request:t}){const e=await t.formData(),r=e.get("cert_file"),n=e.get("key_file"),i=await Kpt({cert_file:[r],key_file:[n]});return xt(i)||Nt(),Ft(i)}async function pmt({request:t}){const e=await t.json(),r=await w4e(e);return xt(r)||Nt(),Ft(r)}async function mmt({request:t}){const e=await t.json(),r=await C4e(e);return xt(r)||Nt(),Ft(r)}async function hmt({request:t}){const e=await t.json(),r=await imt(e);return xt(r)||Nt(),r}async function gmt(){const t=await omt();return xt(t)||Nt(),t}async function _mt({request:t}){const e=await t.json(),r=await A4e(e);return xt(r)||Nt(),Ft(r)}async function vmt({request:t}){const e=await t.json(),r=await lmt(e);return xt(r)||Nt(),r}async function ymt(){const t=await cmt();return xt(t)||Nt(),t}async function bmt({request:t}){const e=await t.json(),r=await k4e(e);return xt(r)||Nt(),Ft(r)}async function xmt({request:t}){const e=await t.json(),r=await S4e(e);return xt(r)||Nt(),Ft(r)}async function Smt({request:t}){const e=await t.json(),r=await j4e(e);return xt(r)||Nt(),Ft(r)}async function wmt({request:t}){const{defaultPartition:e}=await t.json(),r=await nmt(e);return Ft(r)}async function Cmt(t){const e=`${$.apis.pls.roles}/${t}`;return De({options:{url:e,method:"GET"}})}async function Amt(t){const e=$.apis.pls.roles;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function kmt({id:t,...e}){const r=`${$.apis.pls.roles}/${t}`;return De({options:{url:r,method:"PUT",data:JSON.stringify(e.permissions)}})}async function Mmt(t){const e=`${$.apis.pls.roles}/${t}`;return De({options:{url:e,method:"DELETE"}})}const Pmt=Pr();async function jmt({request:t}){const e=await t.json(),r=await Amt(e);return xt(r)||Nt(),Ft(r)}async function Tmt({request:t}){const e=await t.json(),r=await kmt(e);return xt(r)||Nt(),Ft(r)}async function Emt({request:t}){const{id:e}=await t.json(),r=await Mmt(e);return xt(r)?Ar(r.error.detail||Pmt.formatMessage({id:"roles.delete.message_ko"})):Nt(),Ft(r)}async function Rmt({request:t}){const e=await t.json(),r=await t4e({values:e});if(!xt(r))throw Gb();return Ft(r)}async function Imt(){const t=$.apis.pls.users;return De({options:{url:t,method:"GET"}})}async function Dmt(t){const e=`${$.apis.pls.users}/${t}`;return De({options:{url:e,method:"GET"}})}async function $mt(t){const e=$.apis.pls.users;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function Vue({username:t,...e}){const r=`${$.apis.pls.users}/${t}`;return De({options:{url:r,method:"PATCH",data:JSON.stringify(e)}})}async function Omt(t){const e=`${$.apis.pls.users}/${t}`;return De({options:{url:e,method:"DELETE"}})}const Lmt=Pr();async function Nmt({request:t}){const e=await t.json(),r=await $mt(R4e(e));return xt(r)||Nt(),Ft(r)}async function Fmt({request:t}){const e=await t.json(),r=await Vue(e);return xt(r)||Nt(),Ft(r)}async function Umt({request:t}){const e=await t.json(),r=await Vue(e);return xt(r)||Nt(),Ft(r)}async function Bmt({request:t}){const{username:e}=await t.json(),r=await Omt(e);return xt(r)?Ar(r.error.detail||Lmt.formatMessage({id:"users.delete.message_ko"})):Nt(),Ft(r)}async function zmt(t){return Wt({loaderArgs:t,deferred:!0,data:{configuration:Wpt()}})}async function qmt(t){return Wt({loaderArgs:t,deferred:!0,data:{config:tmt()}})}async function Vmt(t){return Wt({loaderArgs:t,deferred:!0,data:{bootPartitions:rmt()}})}async function Hmt(t){return Wt({loaderArgs:t,deferred:!0,data:{roles:Pie()}})}async function Gmt(t){const{id:e}=t.params;if(!e)throw Li({type:mn.NOT_FOUND});return Wt({loaderArgs:t,deferred:!0,data:{role:Cmt(e)}})}async function Wmt(t){return Wt({loaderArgs:t,deferred:!0,data:{users:Imt()}})}async function Ymt(t){const{username:e}=t.params;if(!e)throw Li({type:mn.NOT_FOUND});return Wt({loaderArgs:t,deferred:!0,data:{user:Dmt(e)}})}function Kmt(t){const e=he.c(31),{path:r}=t,n=zn(),{data:s,submit:i,state:o}=gr(),{data:l,submit:c,state:u}=gr(),d=ys();let f;e[0]!==i?(f=async R=>{R&&i(R,{method:"POST",encType:"application/json",action:"apply"})},e[0]=i,e[1]=f):f=e[1];const p=f;let m;e[2]!==c||e[3]!==d||e[4]!==r?(m=async()=>{c(null,{method:"POST",encType:"application/json",action:"factory-reset"}),d(`${$.urls.platform}/${r}`)},e[2]=c,e[3]=d,e[4]=r,e[5]=m):m=e[5];const h=m;let _;e:{if(xt(s)||xt(l)){let R;e[6]===Symbol.for("react.memo_cache_sentinel")?(R={maxWidth:"1000px"},e[6]=R):R=e[6];let D;e[7]!==s?(D=a.jsx(Xr,{data:s}),e[7]=s,e[8]=D):D=e[8];let O;e[9]!==l?(O=a.jsx(Xr,{data:l}),e[9]=l,e[10]=O):O=e[10];let N;e[11]!==D||e[12]!==O?(N=a.jsxs(te,{nowrap:!0,sx:R,children:[D,O]}),e[11]=D,e[12]=O,e[13]=N):N=e[13],_=N;break e}_=null}const g=_,y=u!=="idle";let b;e[14]!==h||e[15]!==y?(b={name:"Factory Reset",onClick:h,variant:"outlined",loading:y},e[14]=h,e[15]=y,e[16]=b):b=e[16];const x=o!=="idle";let w;e[17]!==p||e[18]!==x?(w={name:"Apply and Persist",onClick:p,loading:x,disabledOnErrors:!0},e[17]=p,e[18]=x,e[19]=w):w=e[19];let C;e[20]!==b||e[21]!==w?(C=[b,w],e[20]=b,e[21]=w,e[22]=C):C=e[22];const k=C;let A;e[23]===Symbol.for("react.memo_cache_sentinel")?(A=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),e[23]=A):A=e[23];let P;e[24]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(Tr,{}),e[24]=P):P=e[24];let T;e[25]!==g||e[26]!==k?(T=R=>{const[D,O,N]=R;return a.jsx(nue,{$ref:N,data:O,schema:D,toolbarActions:k,uiSchema:null,actionError:g},N)},e[25]=g,e[26]=k,e[27]=T):T=e[27];let j;return e[28]!==n.configuration||e[29]!==T?(j=a.jsx(I.Suspense,{fallback:A,children:a.jsx(Qt,{resolve:n.configuration,errorElement:P,children:T})}),e[28]=n.configuration,e[29]=T,e[30]=j):j=e[30],j}async function Qmt({service:t}){const e=$.apis.shippingConfig(t);return De({options:{url:e,method:"GET"}})}async function Zmt({service:t,values:e}){const r=$.apis.shippingConfig(t);return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}async function Xmt({service:t}){const e=$.apis.shippingFactoryReset.replace("{service}",t);return De({options:{url:e,method:"POST"}})}function Jmt({service:t}){return async({request:e})=>{const r=await e.json(),n=await Zmt({service:t,values:r});return xt(n)?Ar():Nt(),Ft(n)}}function eht({service:t}){return async()=>{const e=await Xmt({service:t});return xt(e)?Ar():Nt(),Ft(e)}}function tht({service:t}){return async e=>Wt({loaderArgs:e,deferred:!0,data:{configuration:Promise.all([x4e(),Qmt({service:t}),M4e[t]])}})}function eD({service:t,path:e}){return{path:e,loader:tht({service:t}),element:a.jsx(Kmt,{path:e},e),shouldRevalidate:({actionResult:r})=>!xt(r),handle:vr({labelIntl:`route.platform.${e}`,to:`${$.urls.platform}/${e}`}),children:[{path:"apply",action:Jmt({service:t}),loader:()=>rt("..")},{path:"factory-reset",action:eht({service:t}),loader:()=>rt("..")}]}}const rht={path:"platform",handle:vr({labelIntl:"route.platform",icon:a.jsx(ge.Platform,{})}),children:[{element:a.jsx(Or,{center:!0}),children:[{path:"auth",handle:vr({labelIntl:"route.platform.auth",to:$.urls.platformAuthentication}),element:a.jsx(Fft,{}),loader:qmt,children:[{index:!0,element:a.jsx(ur,{to:"strategies",replace:!0})},{path:"strategies",element:a.jsx(mpt,{}),children:[{path:"backends-update",action:pmt,loader:()=>rt("..")},{path:"radius-config-update",action:mmt,loader:()=>rt("..")},{path:"radius-local-config-update",action:hmt,loader:()=>rt("..")},{path:"radius-local-config-reset",action:gmt,loader:()=>rt("..")},{path:"ldap-config-update",action:_mt,loader:()=>rt("..")},{path:"ldap-local-config-update",action:vmt,loader:()=>rt("..")},{path:"ldap-local-config-reset",action:ymt,loader:()=>rt("..")},{path:"openid-config-update",action:bmt,loader:()=>rt("..")}]},{path:"auth-config",element:a.jsx(Hft,{}),children:[{path:"auth-config-update",action:xmt,loader:()=>rt("..")}]},{path:"terms",element:a.jsx(bpt,{}),children:[{path:"system-usage-terms-update",action:Smt,loader:()=>rt("..")}]}]}]},{element:a.jsx(Or,{transparent:!0,center:!0}),children:[{path:"tls",handle:vr({labelIntl:"route.platform.tls",to:$.urls.platformTls}),loader:zmt,element:a.jsx(Rpt,{}),children:[{path:"configuration-update",action:umt,loader:()=>rt("..")},{path:"client-certificate-update",action:dmt,loader:()=>rt("..")},{path:"server-certificate-update",action:fmt,loader:()=>rt("..")}]},so(ue.PLS,{dbCluster:!0})]},{element:a.jsx(Or,{fullHeight:!0}),children:[{path:"users",handle:vr({labelIntl:"route.platform.users",to:$.urls.platformUsers}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:Wmt,element:a.jsx($pt,{})},{path:":username",loader:Ymt,element:a.jsx(ur,{to:$.urls.platformUsers,replace:!0})},{path:"audits/:username",loader:uqe,element:a.jsx(Vpt,{}),handle:t=>{const e=t.params.username;return vr({labelIntl:"route.platform.audit",to:$.urls.platformUsersAudits,captionIntl:"route.platform.audit.caption",captionIntlParams:{username:e}})}},{path:"create",action:Nmt,loader:()=>rt("..")},{path:"update",action:Fmt,loader:()=>rt("..")},{path:"password-change",action:Umt,loader:()=>rt("..")},{path:"current-user-password-change",action:Rmt,loader:()=>rt("..")},{path:"delete",action:Bmt,loader:()=>rt("..")},{path:"revoke-tokens",action:xrt,loader:()=>rt("..")}]},{path:"roles",handle:vr({labelIntl:"route.platform.roles",to:$.urls.platformRoles}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:Hmt,element:a.jsx(Cpt,{})},{path:":id",loader:Gmt,element:a.jsx(ur,{to:$.urls.platformRoles,replace:!0})},{path:"create",action:jmt,loader:()=>rt("..")},{path:"update",action:Tmt,loader:()=>rt("..")},{path:"delete",action:Emt,loader:()=>rt("..")}]},eD({service:ue.FLUENTBIT,path:"log-shipping"}),eD({service:ue.PROMETHEUS,path:"kpi-shipping"}),eD({service:ue.ALERTMANAGER,path:"alert-shipping"})]}]},nht=()=>{const t=he.c(43),e=Ye(),{menuOpen:r,menuClose:n,dialogOpen:s}=Jt();let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=Ih(),t[0]=i):i=t[0];const o=i;let l;t[1]!==s||t[2]!==e||t[3]!==n||t[4]!==r?(l=R=>{r({anchorEl:R.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:[{label:e.formatMessage({id:"user_profile.actions.change_password"}),value:"change-password",icon:a.jsx(ge.Password,{}),disabled:o?.backend!==_i.local,onClick:()=>{n(),o?.sub&&s({title:e.formatMessage({id:"user_profile.actions.change_password"}),content:()=>a.jsx(que,{username:o.sub,isCurrentUser:!0})})}}]})},t[1]=s,t[2]=e,t[3]=n,t[4]=r,t[5]=l):l=t[5];const c=l;let u;t[6]!==e?(u=e.formatMessage({id:"user_profile.title"}),t[6]=e,t[7]=u):u=t[7];let d;t[8]===Symbol.for("react.memo_cache_sentinel")?(d=a.jsx(ge.More,{}),t[8]=d):d=t[8];let f;t[9]!==c?(f=a.jsx(Zr,{onClick:c,"data-testid":"dropdown-user-actions",children:d}),t[9]=c,t[10]=f):f=t[10];let p;t[11]!==e?(p=e.formatMessage({id:"user_profile.username"}),t[11]=e,t[12]=p):p=t[12];let m;t[13]!==p?(m=a.jsx(_e,{fontWeight:"600",children:p}),t[13]=p,t[14]=m):m=t[14];let h;t[15]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(_e,{children:o?.sub}),t[15]=h):h=t[15];let _;t[16]!==m?(_=a.jsxs(te,{direction:"column",align:"flex-start",spacing:0,children:[m,h]}),t[16]=m,t[17]=_):_=t[17];let g;t[18]!==e?(g=e.formatMessage({id:"user_profile.fullname"}),t[18]=e,t[19]=g):g=t[19];let y;t[20]!==g?(y=a.jsx(_e,{fontWeight:"600",children:g}),t[20]=g,t[21]=y):y=t[21];let b;t[22]===Symbol.for("react.memo_cache_sentinel")?(b=a.jsx(_e,{children:o?.fullname}),t[22]=b):b=t[22];let x;t[23]!==y?(x=a.jsxs(te,{direction:"column",align:"flex-start",spacing:0,children:[y,b]}),t[23]=y,t[24]=x):x=t[24];let w;t[25]!==e?(w=e.formatMessage({id:"user_profile.backend"}),t[25]=e,t[26]=w):w=t[26];let C;t[27]!==w?(C=a.jsx(_e,{fontWeight:"600",children:w}),t[27]=w,t[28]=C):C=t[28];let k;t[29]===Symbol.for("react.memo_cache_sentinel")?(k=a.jsx(bi,{status:o?.backend===_i.radius?nn.WARNING:nn.DEFAULT,asChip:!0,label:o?.backend||""}),t[29]=k):k=t[29];let A;t[30]!==C?(A=a.jsxs(te,{direction:"column",align:"flex-start",spacing:0,children:[C,k]}),t[30]=C,t[31]=A):A=t[31];let P;t[32]!==e?(P=o?.permissions&&a.jsxs(te,{direction:"column",align:"flex-start",spacing:0,children:[a.jsx(_e,{fontWeight:"600",children:e.formatMessage({id:"user_profile.permissions"})}),a.jsx(dk,{permissions:o.permissions})]}),t[32]=e,t[33]=P):P=t[33];let T;t[34]!==x||t[35]!==A||t[36]!==P||t[37]!==_?(T=a.jsx(Kt,{children:a.jsxs(te,{direction:"column",spacing:2,children:[_,x,A,P]})}),t[34]=x,t[35]=A,t[36]=P,t[37]=_,t[38]=T):T=t[38];let j;return t[39]!==T||t[40]!==u||t[41]!==f?(j=a.jsx(a.Fragment,{children:a.jsx(pr,{title:u,headerActionsComponent:f,children:T})}),t[39]=T,t[40]=u,t[41]=f,t[42]=j):j=t[42],j},sht={element:a.jsx(Or,{center:!0}),children:[{path:"profile",element:a.jsx(nht,{}),handle:vr({labelIntl:"route.profile",icon:a.jsx(ge.Profile,{})})}]};function iht(){const t=he.c(11),e=Ye(),r=zn();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Nc,{variant:"indeterminate",type:"circular"}),t[0]=n):n=t[0];let s;t[1]!==e?(s=e.formatMessage({id:"restart.progress.title"}),t[1]=e,t[2]=s):s=t[2];let i;t[3]!==s?(i=a.jsx(G0,{fullWidth:!0,fullHeight:!0,children:a.jsxs(te,{direction:"row",justify:"center",align:"center",spacing:2,fullHeight:!0,children:[n,a.jsx(_e,{fontSize:"1.2em",children:s})]})}),t[3]=s,t[4]=i):i=t[4];let o;t[5]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(ur,{to:$.urls.home,replace:!0}),t[5]=o):o=t[5];let l;t[6]!==r.restarted?(l=a.jsx(Qt,{resolve:r.restarted,children:o}),t[6]=r.restarted,t[7]=l):l=t[7];let c;return t[8]!==i||t[9]!==l?(c=a.jsx(I.Suspense,{fallback:i,children:l}),t[8]=i,t[9]=l,t[10]=c):c=t[10],c}async function oht(t){const e=$.apis.swUpdate.upload,r=new FormData;return r.append("file",t),De({options:{url:e,method:"POST",headers:{"Content-Type":"multipart/form-data"},data:r}})}function aht(){const t=$.apis.pls.reboot;return De({options:{url:t,method:"POST"}})}async function lht(){const t=$.ws.swUpdate;return De({type:Od.WS,options:{url:t}})}async function cht(){const t=await aht();if(xt(t))Ar();else return Ji.setRestartStatus(),rt($.urls.restart);return Ft(t)}const uht=1e3*5;async function dht(){return new Promise(t=>{async function e(){try{return await Wae(),Ji.deleteRestartStatus(),t(!0)}catch{r()}}function r(){setTimeout(()=>{e()},uht)}r()})}async function fht(t){return Ji.getRestartStatus()?Wt({loaderArgs:t,deferred:!0,data:{restarted:dht()}}):rt($.urls.home)}const pht={path:"restart",element:a.jsx(iht,{}),loader:fht,action:cht},Bv="DEFAULT_X_AXIS_KEY",y7="DEFAULT_Y_AXIS_KEY",mht={top:20,bottom:20,left:20,right:20},hht=45,ght=25,Hue=20;class _ht{constructor(e){this.value=e,this.listeners=new Set}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.value;update=e=>{const r=e(this.value);r!==this.value&&(this.value=r,this.listeners.forEach(n=>n(r)))}}const fk=({params:t,store:e})=>{I.useEffect(()=>{e.update(n=>ce({},n,{animation:ce({},n.animation,{skip:t.skipAnimation})}))},[e,t.skipAnimation]);const r=I.useCallback(()=>{let n=!1;return e.update(s=>ce({},s,{animation:ce({},s.animation,{skipAnimationRequests:s.animation.skipAnimationRequests+1})})),()=>{n||(n=!0,e.update(s=>ce({},s,{animation:ce({},s.animation,{skipAnimationRequests:s.animation.skipAnimationRequests-1})})))}},[e]);return ei(()=>{if(typeof window>"u"||!window?.matchMedia)return;let s;const i=l=>{l.matches?s=r():s?.()},o=window.matchMedia("(prefers-reduced-motion)");return i(o),o.addEventListener("change",i),()=>{o.removeEventListener("change",i)}},[r,e]),{instance:{disableAnimation:r}}};fk.params={skipAnimation:!0};fk.getDefaultizedParams=({params:t})=>ce({},t,{skipAnimation:t.skipAnimation??!1});fk.getInitialState=({skipAnimation:t})=>({animation:{skip:t,skipAnimationRequests:0}});var x3=Symbol("NOT_FOUND");function vht(t,e=`expected a function, instead received ${typeof t}`){if(typeof t!="function")throw new TypeError(e)}function yht(t,e=`expected an object, instead received ${typeof t}`){if(typeof t!="object")throw new TypeError(e)}function bht(t,e="expected all items to be functions, instead received the following types: "){if(!t.every(r=>typeof r=="function")){const r=t.map(n=>typeof n=="function"?`function ${n.name||"unnamed"}()`:typeof n).join(", ");throw new TypeError(`${e}[${r}]`)}}var rJ=t=>Array.isArray(t)?t:[t];function xht(t){const e=Array.isArray(t[0])?t[0]:t;return bht(e,"createSelector expects all input-selectors to be functions, but received the following types: "),e}function Sht(t,e){const r=[],{length:n}=t;for(let s=0;s<n;s++)r.push(t[s].apply(null,e));return r}function wht(t){let e;return{get(r){return e&&t(e.key,r)?e.value:x3},put(r,n){e={key:r,value:n}},getEntries(){return e?[e]:[]},clear(){e=void 0}}}function Cht(t,e){let r=[];function n(l){const c=r.findIndex(u=>e(l,u.key));if(c>-1){const u=r[c];return c>0&&(r.splice(c,1),r.unshift(u)),u.value}return x3}function s(l,c){n(l)===x3&&(r.unshift({key:l,value:c}),r.length>t&&r.pop())}function i(){return r}function o(){r=[]}return{get:n,put:s,getEntries:i,clear:o}}var Aht=(t,e)=>t===e;function kht(t){return function(r,n){if(r===null||n===null||r.length!==n.length)return!1;const{length:s}=r;for(let i=0;i<s;i++)if(!t(r[i],n[i]))return!1;return!0}}function Mht(t,e){const r=typeof e=="object"?e:{equalityCheck:e},{equalityCheck:n=Aht,maxSize:s=1,resultEqualityCheck:i}=r,o=kht(n);let l=0;const c=s<=1?wht(o):Cht(s,o);function u(){let d=c.get(arguments);if(d===x3){if(d=t.apply(null,arguments),l++,i){const p=c.getEntries().find(m=>i(m.value,d));p&&(d=p.value,l!==0&&l--)}c.put(arguments,d)}return d}return u.clearCache=()=>{c.clear(),u.resetResultsCount()},u.resultsCount=()=>l,u.resetResultsCount=()=>{l=0},u}var Pht=class{constructor(t){this.value=t}deref(){return this.value}},jht=typeof WeakRef<"u"?WeakRef:Pht,Tht=0,nJ=1;function bw(){return{s:Tht,v:void 0,o:null,p:null}}function Gue(t,e={}){let r=bw();const{resultEqualityCheck:n}=e;let s,i=0;function o(){let l=r;const{length:c}=arguments;for(let f=0,p=c;f<p;f++){const m=arguments[f];if(typeof m=="function"||typeof m=="object"&&m!==null){let h=l.o;h===null&&(l.o=h=new WeakMap);const _=h.get(m);_===void 0?(l=bw(),h.set(m,l)):l=_}else{let h=l.p;h===null&&(l.p=h=new Map);const _=h.get(m);_===void 0?(l=bw(),h.set(m,l)):l=_}}const u=l;let d;if(l.s===nJ)d=l.v;else if(d=t.apply(null,arguments),i++,n){const f=s?.deref?.()??s;f!=null&&n(f,d)&&(d=f,i!==0&&i--),s=typeof d=="object"&&d!==null||typeof d=="function"?new jht(d):d}return u.s=nJ,u.v=d,d}return o.clearCache=()=>{r=bw(),o.resetResultsCount()},o.resultsCount=()=>i,o.resetResultsCount=()=>{i=0},o}function Wue(t,...e){const r=typeof t=="function"?{memoize:t,memoizeOptions:e}:t,n=(...s)=>{let i=0,o=0,l,c={},u=s.pop();typeof u=="object"&&(c=u,u=s.pop()),vht(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const d={...r,...c},{memoize:f,memoizeOptions:p=[],argsMemoize:m=Gue,argsMemoizeOptions:h=[]}=d,_=rJ(p),g=rJ(h),y=xht(s),b=f(function(){return i++,u.apply(null,arguments)},..._),x=m(function(){o++;const C=Sht(y,arguments);return l=b.apply(null,C),l},...g);return Object.assign(x,{resultFunc:u,memoizedResultFunc:b,dependencies:y,dependencyRecomputations:()=>o,resetDependencyRecomputations:()=>{o=0},lastResult:()=>l,recomputations:()=>i,resetRecomputations:()=>{i=0},memoize:f,argsMemoize:m})};return Object.assign(n,{withTypes:()=>n}),n}var Eht=Wue(Gue),Rht=Object.assign((t,e=Eht)=>{yht(t,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof t}`);const r=Object.keys(t),n=r.map(i=>t[i]);return e(n,(...i)=>i.reduce((o,l,c)=>(o[r[c]]=l,o),{}))},{withTypes:()=>Rht});const Iht=Wue({memoize:Mht,memoizeOptions:{maxSize:1,equalityCheck:Object.is}}),sJ=new WeakMap,Vt=(...t)=>(r,...n)=>{const s=r.cacheKey;let i=sJ.get(s);i||(i=new Map,sJ.set(s,i));const o=i.get(t);if(o)return o(r,...n);const l=Iht(...t);return i.set(t,l),l(r,...n)},Dht=t=>t.animation,$ht=Vt([Dht],t=>t.skip||t.skipAnimationRequests>0);function Oht(t){return h_(t).defaultView||window}var tD={exports:{}},rD={},nD={exports:{}},sD={};var iJ;function Lht(){if(iJ)return sD;iJ=1;var t=Ph();function e(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var r=typeof Object.is=="function"?Object.is:e,n=t.useState,s=t.useEffect,i=t.useLayoutEffect,o=t.useDebugValue;function l(f,p){var m=p(),h=n({inst:{value:m,getSnapshot:p}}),_=h[0].inst,g=h[1];return i(function(){_.value=m,_.getSnapshot=p,c(_)&&g({inst:_})},[f,m,p]),s(function(){return c(_)&&g({inst:_}),f(function(){c(_)&&g({inst:_})})},[f]),o(m),m}function c(f){var p=f.getSnapshot;f=f.value;try{var m=p();return!r(f,m)}catch{return!0}}function u(f,p){return p()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:l;return sD.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:d,sD}var oJ;function Nht(){return oJ||(oJ=1,nD.exports=Lht()),nD.exports}var aJ;function Fht(){if(aJ)return rD;aJ=1;var t=Ph(),e=Nht();function r(u,d){return u===d&&(u!==0||1/u===1/d)||u!==u&&d!==d}var n=typeof Object.is=="function"?Object.is:r,s=e.useSyncExternalStore,i=t.useRef,o=t.useEffect,l=t.useMemo,c=t.useDebugValue;return rD.useSyncExternalStoreWithSelector=function(u,d,f,p,m){var h=i(null);if(h.current===null){var _={hasValue:!1,value:null};h.current=_}else _=h.current;h=l(function(){function y(k){if(!b){if(b=!0,x=k,k=p(k),m!==void 0&&_.hasValue){var A=_.value;if(m(A,k))return w=A}return w=k}if(A=w,n(x,k))return A;var P=p(k);return m!==void 0&&m(A,P)?(x=k,A):(x=k,w=P)}var b=!1,x,w,C=f===void 0?null:f;return[function(){return y(d())},C===null?void 0:function(){return y(C())}]},[d,f,p,m]);var g=s(u,h[0],h[1]);return o(function(){_.hasValue=!0,_.value=g},[g]),c(g),g},rD}var lJ;function Uht(){return lJ||(lJ=1,tD.exports=Fht()),tD.exports}var Bht=Uht();const zht=Object.is,qr=(t,e,r=[],n=zht)=>{const s=i=>e(i,...r);return Bht.useSyncExternalStoreWithSelector(t.subscribe,t.getSnapshot,t.getSnapshot,s,n)},oc=t=>t.cartesianAxis?.x,Hc=t=>t.cartesianAxis?.y,qht=Vt([Hc],t=>(t??[]).reduce((e,r)=>r.position==="left"?e+(r.width||0)+(r.zoom?.slider.enabled?r.zoom.slider.size:0):e,0)),Vht=Vt([Hc],t=>(t??[]).reduce((e,r)=>r.position==="right"?e+(r.width||0)+(r.zoom?.slider.enabled?r.zoom.slider.size:0):e,0)),Hht=Vt([oc],t=>(t??[]).reduce((e,r)=>r.position==="top"?e+(r.height||0)+(r.zoom?.slider.enabled?r.zoom.slider.size:0):e,0)),Ght=Vt([oc],t=>(t??[]).reduce((e,r)=>r.position==="bottom"?e+(r.height||0)+(r.zoom?.slider.enabled?r.zoom.slider.size:0):e,0)),Wht=t=>t.dimensions,Yue=t=>t.dimensions.width,Kue=t=>t.dimensions.height,Yht=t=>t.dimensions.margin.top,Kht=t=>t.dimensions.margin.right,Qht=t=>t.dimensions.margin.bottom,Zht=t=>t.dimensions.margin.left,vl=Vt([Yue,Kue,Yht,Kht,Qht,Zht,Hht,Vht,Ght,qht],(t,e,r,n,s,i,o,l,c,u)=>({width:t-i-n-u-l,left:i+u,right:n+l,height:e-r-s-o-c,top:r+o,bottom:s+c})),Que=Vt([Wht],t=>({width:t.propsWidth,height:t.propsHeight})),Xht=Vt([Yue,Kue],(t,e)=>({width:t,height:e}));function Zue(t,e){return typeof t=="number"?{top:t,bottom:t,left:t,right:t}:e?ce({},e,t):t}const Jht=10,pk=({params:t,store:e,svgRef:r})=>{const n=t.width!==void 0&&t.height!==void 0,s=I.useRef({displayError:!1,initialCompute:!0,computeRun:0}),[i,o]=I.useState(0),[l,c]=I.useState(0),u=I.useCallback(()=>{const h=r?.current;if(!h)return{};const g=Oht(h).getComputedStyle(h),y=Math.floor(parseFloat(g.height))||0,b=Math.floor(parseFloat(g.width))||0;return e.update(x=>x.dimensions.width===b&&x.dimensions.height===y?x:ce({},x,{dimensions:{margin:{top:t.margin.top,right:t.margin.right,bottom:t.margin.bottom,left:t.margin.left},width:t.width??b,height:t.height??y,propsWidth:t.width,propsHeight:t.height}})),{height:y,width:b}},[e,r,t.height,t.width,t.margin.left,t.margin.right,t.margin.top,t.margin.bottom]);I.useEffect(()=>{e.update(h=>{const _=t.width??h.dimensions.width,g=t.height??h.dimensions.height;return ce({},h,{dimensions:{margin:{top:t.margin.top,right:t.margin.right,bottom:t.margin.bottom,left:t.margin.left},width:_,height:g,propsHeight:t.height,propsWidth:t.width}})})},[e,t.height,t.width,t.margin.left,t.margin.right,t.margin.top,t.margin.bottom]),I.useEffect(()=>{s.current.displayError=!0},[]),ei(()=>{if(n||!s.current.initialCompute||s.current.computeRun>Jht)return;const h=u();h.width!==i||h.height!==l?(s.current.computeRun+=1,h.width!==void 0&&o(h.width),h.height!==void 0&&c(h.height)):s.current.initialCompute&&(s.current.initialCompute=!1)},[l,i,u,n]),ei(()=>{if(n)return()=>{};u();const h=r.current;if(typeof ResizeObserver>"u")return()=>{};let _;const g=new ResizeObserver(()=>{_=requestAnimationFrame(()=>{u()})});return h&&g.observe(h),()=>{_&&cancelAnimationFrame(_),h&&g.unobserve(h)}},[u,n,r]);const d=qr(e,vl),f=I.useCallback(h=>h>=d.left-1&&h<=d.left+d.width,[d.left,d.width]),p=I.useCallback(h=>h>=d.top-1&&h<=d.top+d.height,[d.height,d.top]);return{instance:{isPointInside:I.useCallback((h,_,g)=>g&&"closest"in g&&g.closest("[data-drawing-container]")?!0:f(h)&&p(_),[f,p]),isXInside:f,isYInside:p}}};pk.params={width:!0,height:!0,margin:!0};pk.getDefaultizedParams=({params:t})=>ce({},t,{margin:Zue(t.margin,mht)});pk.getInitialState=({width:t,height:e,margin:r})=>({dimensions:{margin:r,width:t??0,height:e??0,propsWidth:t,propsHeight:e}});const b7=({params:t,store:e})=>(ei(()=>{e.update(r=>ce({},r,{experimentalFeatures:t.experimentalFeatures}))},[e,t.experimentalFeatures]),{});b7.params={experimentalFeatures:!0};b7.getInitialState=({experimentalFeatures:t})=>({experimentalFeatures:t});const egt=t=>t.experimentalFeatures,mk=Vt([egt],t=>!!t?.preferStrictDomainInLineCharts);let cJ=0;const tgt=()=>(cJ+=1,`mui-chart-${cJ}`),x7=({params:t,store:e})=>(I.useEffect(()=>{e.update(r=>t.id===void 0||t.id===r.id.providedChartId&&r.id.chartId!==void 0?r:ce({},r,{id:ce({},r.id,{chartId:t.id??tgt()})}))},[e,t.id]),{});x7.params={id:!0};x7.getInitialState=({id:t})=>({id:{chartId:t,providedChartId:t}});const rgt=t=>t.id,ngt=Vt([rgt],t=>t.chartId),sgt=["#4254FB","#FFB422","#FA4F58","#0DBEFF","#22BF75","#FA83B4","#FF7511"],igt=["#495AFB","#FFC758","#F35865","#30C8FF","#44CE8D","#F286B3","#FF8C39"],Xue=t=>t==="dark"?igt:sgt,Jue=({series:t,colors:e,seriesConfig:r,dataset:n})=>{const s={};t.forEach((o,l)=>{const c=r[o.type].getSeriesWithDefaultValues(o,l,e),u=c.id;if(s[o.type]===void 0&&(s[o.type]={series:{},seriesOrder:[]}),s[o.type]?.series[u]!==void 0)throw new Error(`MUI X Charts: series' id "${u}" is not unique.`);s[o.type].series[u]=c,s[o.type].seriesOrder.push(u)});const i={};return Object.keys(r).forEach(o=>{const l=s[o];l!==void 0&&(i[o]=r[o]?.seriesProcessor?.(l,n)??s[o])}),i},hk=({params:t,store:e,seriesConfig:r})=>{const{series:n,dataset:s,theme:i,colors:o}=t,l=I.useRef(!0);return I.useEffect(()=>{if(l.current){l.current=!1;return}e.update(c=>ce({},c,{series:ce({},c.series,{processedSeries:Jue({series:n,colors:typeof o=="function"?o(i):o,seriesConfig:r,dataset:s})})}))},[o,s,n,i,r,e]),{}};hk.params={dataset:!0,series:!0,colors:!0,theme:!0};const ogt=[];hk.getDefaultizedParams=({params:t})=>ce({},t,{series:t.series?.length?t.series:ogt,colors:t.colors??Xue,theme:t.theme??"light"});hk.getInitialState=({series:t=[],colors:e,theme:r,dataset:n},s,i)=>({series:{seriesConfig:i,processedSeries:Jue({series:t,colors:typeof e=="function"?e(r):e,seriesConfig:i,dataset:n})}});const ede=t=>t.series,Mo=Vt([ede],t=>t.processedSeries),Gc=Vt([ede],t=>t.seriesConfig),agt={abort:!0,animationcancel:!0,animationend:!0,animationiteration:!0,animationstart:!0,auxclick:!0,beforeinput:!0,beforetoggle:!0,blur:!0,cancel:!0,canplay:!0,canplaythrough:!0,change:!0,click:!0,close:!0,compositionend:!0,compositionstart:!0,compositionupdate:!0,contextlost:!0,contextmenu:!0,contextrestored:!0,copy:!0,cuechange:!0,cut:!0,dblclick:!0,drag:!0,dragend:!0,dragenter:!0,dragleave:!0,dragover:!0,dragstart:!0,drop:!0,durationchange:!0,emptied:!0,ended:!0,error:!0,focus:!0,focusin:!0,focusout:!0,formdata:!0,gotpointercapture:!0,input:!0,invalid:!0,keydown:!0,keypress:!0,keyup:!0,load:!0,loadeddata:!0,loadedmetadata:!0,loadstart:!0,lostpointercapture:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,paste:!0,pause:!0,play:!0,playing:!0,pointercancel:!0,pointerdown:!0,pointerenter:!0,pointerleave:!0,pointermove:!0,pointerout:!0,pointerover:!0,pointerup:!0,progress:!0,ratechange:!0,reset:!0,resize:!0,scroll:!0,scrollend:!0,securitypolicyviolation:!0,seeked:!0,seeking:!0,select:!0,selectionchange:!0,selectstart:!0,slotchange:!0,stalled:!0,submit:!0,suspend:!0,timeupdate:!0,toggle:!0,touchcancel:!0,touchend:!0,touchmove:!0,touchstart:!0,transitioncancel:!0,transitionend:!0,transitionrun:!0,transitionstart:!0,volumechange:!0,waiting:!0,webkitanimationend:!0,webkitanimationiteration:!0,webkitanimationstart:!0,webkittransitionend:!0,wheel:!0,beforematch:!0,pointerrawupdate:!0};class tde{customData={};constructor(e){if(!e||!e.name)throw new Error("Gesture must be initialized with a valid name.");if(e.name in agt)throw new Error(`Gesture can't be created with a native event name. Tried to use "${e.name}". Please use a custom name instead.`);this.name=e.name,this.preventDefault=e.preventDefault??!1,this.stopPropagation=e.stopPropagation??!1,this.preventIf=e.preventIf??[],this.requiredKeys=e.requiredKeys??[],this.pointerMode=e.pointerMode??[],this.pointerOptions=e.pointerOptions??{}}init(e,r,n,s){this.element=e,this.pointerManager=r,this.gesturesRegistry=n,this.keyboardManager=s;const i=`${this.name}ChangeOptions`;this.element.addEventListener(i,this.handleOptionsChange);const o=`${this.name}ChangeState`;this.element.addEventListener(o,this.handleStateChange)}handleOptionsChange=e=>{e&&e.detail&&this.updateOptions(e.detail)};updateOptions(e){this.preventDefault=e.preventDefault??this.preventDefault,this.stopPropagation=e.stopPropagation??this.stopPropagation,this.preventIf=e.preventIf??this.preventIf,this.requiredKeys=e.requiredKeys??this.requiredKeys,this.pointerMode=e.pointerMode??this.pointerMode,this.pointerOptions=e.pointerOptions??this.pointerOptions}getBaseConfig(){return{requiredKeys:this.requiredKeys}}getEffectiveConfig(e,r){if(e!=="mouse"&&e!=="touch"&&e!=="pen")return r;const n=this.pointerOptions[e];return n?ce({},r,n):r}handleStateChange=e=>{e&&e.detail&&this.updateState(e.detail)};updateState(e){Object.assign(this.state,e)}getTargetElement(e){return this.isActive||this.element===e.target||"contains"in this.element&&this.element.contains(e.target)||"getRootNode"in this.element&&this.element.getRootNode()instanceof ShadowRoot&&e.composedPath().includes(this.element)?this.element:null}set isActive(e){e?this.gesturesRegistry.registerActiveGesture(this.element,this):this.gesturesRegistry.unregisterActiveGesture(this.element,this)}get isActive(){return this.gesturesRegistry.isGestureActive(this.element,this)??!1}shouldPreventGesture(e,r){const n=this.getEffectiveConfig(r,this.getBaseConfig());if(!this.keyboardManager.areKeysPressed(n.requiredKeys))return!0;if(this.preventIf.length===0)return!1;const s=this.gesturesRegistry.getActiveGestures(e);return this.preventIf.some(i=>s[i])}isPointerTypeAllowed(e){return!this.pointerMode||this.pointerMode.length===0?!0:this.pointerMode.includes(e)}destroy(){const e=`${this.name}ChangeOptions`;this.element.removeEventListener(e,this.handleOptionsChange);const r=`${this.name}ChangeState`;this.element.removeEventListener(r,this.handleStateChange)}}class lgt{activeGestures=new Map;registerActiveGesture(e,r){this.activeGestures.has(e)||this.activeGestures.set(e,new Set);const n=this.activeGestures.get(e),s={gesture:r,element:e};n.add(s)}unregisterActiveGesture(e,r){const n=this.activeGestures.get(e);n&&(n.forEach(s=>{s.gesture===r&&n.delete(s)}),n.size===0&&this.activeGestures.delete(e))}getActiveGestures(e){const r=this.activeGestures.get(e);return r?Array.from(r).reduce((n,s)=>(n[s.gesture.name]=!0,n),{}):{}}isGestureActive(e,r){const n=this.activeGestures.get(e);return n?Array.from(n).some(s=>s.gesture===r):!1}destroy(){this.activeGestures.clear()}unregisterElement(e){this.activeGestures.delete(e)}}class cgt{pressedKeys=new Set;constructor(){this.initialize()}initialize(){typeof window>"u"||(window.addEventListener("keydown",this.handleKeyDown),window.addEventListener("keyup",this.handleKeyUp),window.addEventListener("blur",this.clearKeys))}handleKeyDown=e=>{this.pressedKeys.add(e.key)};handleKeyUp=e=>{this.pressedKeys.delete(e.key)};clearKeys=()=>{this.pressedKeys.clear()};areKeysPressed(e){return!e||e.length===0?!0:e.every(r=>r==="ControlOrMeta"?navigator.platform.includes("Mac")?this.pressedKeys.has("Meta"):this.pressedKeys.has("Control"):this.pressedKeys.has(r))}destroy(){typeof window<"u"&&(window.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("keyup",this.handleKeyUp),window.removeEventListener("blur",this.clearKeys)),this.clearKeys()}}class ugt{preventEventInterruption=!0;pointers=new Map;gestureHandlers=new Set;constructor(e){this.root=e.root??document.getRootNode({composed:!0})??document.body,this.touchAction=e.touchAction||"auto",this.passive=e.passive??!1,this.preventEventInterruption=e.preventEventInterruption??!0,this.setupEventListeners()}registerGestureHandler(e){return this.gestureHandlers.add(e),()=>{this.gestureHandlers.delete(e)}}getPointers(){return new Map(this.pointers)}setupEventListeners(){this.touchAction!=="auto"&&(this.root.style.touchAction=this.touchAction),this.root.addEventListener("pointerdown",this.handlePointerEvent,{passive:this.passive}),this.root.addEventListener("pointermove",this.handlePointerEvent,{passive:this.passive}),this.root.addEventListener("pointerup",this.handlePointerEvent,{passive:this.passive}),this.root.addEventListener("pointercancel",this.handlePointerEvent,{passive:this.passive}),this.root.addEventListener("forceCancel",this.handlePointerEvent,{passive:this.passive}),this.root.addEventListener("blur",this.handleInterruptEvents),this.root.addEventListener("contextmenu",this.handleInterruptEvents)}handleInterruptEvents=e=>{if(this.preventEventInterruption&&"pointerType"in e&&e.pointerType==="touch"){e.preventDefault();return}const r=new PointerEvent("forceCancel",{bubbles:!1,cancelable:!1}),n=this.pointers.values().next().value;if(this.pointers.size>0&&n){Object.defineProperties(r,{clientX:{value:n.clientX},clientY:{value:n.clientY},pointerId:{value:n.pointerId},pointerType:{value:n.pointerType}});for(const[s,i]of this.pointers.entries()){const o=ce({},i,{type:"forceCancel"});this.pointers.set(s,o)}}this.notifyHandlers(r),this.pointers.clear()};handlePointerEvent=e=>{const{type:r,pointerId:n}=e;if(r==="pointerdown"||r==="pointermove")this.pointers.set(n,this.createPointerData(e));else if(r==="pointerup"||r==="pointercancel"||r==="forceCancel"){this.pointers.set(n,this.createPointerData(e)),this.notifyHandlers(e),this.pointers.delete(n);return}this.notifyHandlers(e)};notifyHandlers(e){this.gestureHandlers.forEach(r=>r(this.pointers,e))}createPointerData(e){return{pointerId:e.pointerId,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY,target:e.target,timeStamp:e.timeStamp,type:e.type,isPrimary:e.isPrimary,pressure:e.pressure,width:e.width,height:e.height,pointerType:e.pointerType,srcEvent:e}}destroy(){this.root.removeEventListener("pointerdown",this.handlePointerEvent),this.root.removeEventListener("pointermove",this.handlePointerEvent),this.root.removeEventListener("pointerup",this.handlePointerEvent),this.root.removeEventListener("pointercancel",this.handlePointerEvent),this.root.removeEventListener("forceCancel",this.handlePointerEvent),this.root.removeEventListener("blur",this.handleInterruptEvents),this.root.removeEventListener("contextmenu",this.handleInterruptEvents),this.pointers.clear(),this.gestureHandlers.clear()}}class dgt{gestureTemplates=new Map;elementGestureMap=new Map;activeGesturesRegistry=new lgt;keyboardManager=new cgt;constructor(e){this.pointerManager=new ugt({root:e.root,touchAction:e.touchAction,passive:e.passive}),e.gestures&&e.gestures.length>0&&e.gestures.forEach(r=>{this.addGestureTemplate(r)})}addGestureTemplate(e){this.gestureTemplates.has(e.name)&&console.warn(`Gesture template with name "${e.name}" already exists. It will be overwritten.`),this.gestureTemplates.set(e.name,e)}setGestureOptions(e,r,n){const s=this.elementGestureMap.get(r);if(!s||!s.has(e)){console.error(`Gesture "${e}" not found on the provided element.`);return}const i=new CustomEvent(`${e}ChangeOptions`,{detail:n,bubbles:!1,cancelable:!1,composed:!1});r.dispatchEvent(i)}setGestureState(e,r,n){const s=this.elementGestureMap.get(r);if(!s||!s.has(e)){console.error(`Gesture "${e}" not found on the provided element.`);return}const i=new CustomEvent(`${e}ChangeState`,{detail:n,bubbles:!1,cancelable:!1,composed:!1});r.dispatchEvent(i)}registerElement(e,r,n){return Array.isArray(e)||(e=[e]),e.forEach(s=>{const i=n?.[s];this.registerSingleGesture(s,r,i)}),r}registerSingleGesture(e,r,n){const s=this.gestureTemplates.get(e);if(!s)return console.error(`Gesture template "${e}" not found.`),!1;this.elementGestureMap.has(r)||this.elementGestureMap.set(r,new Map);const i=this.elementGestureMap.get(r);i.has(e)&&(console.warn(`Element already has gesture "${e}" registered. It will be replaced.`),this.unregisterElement(e,r));const o=s.clone(n);return o.init(r,this.pointerManager,this.activeGesturesRegistry,this.keyboardManager),i.set(e,o),!0}unregisterElement(e,r){const n=this.elementGestureMap.get(r);return!n||!n.has(e)?!1:(n.get(e).destroy(),n.delete(e),this.activeGesturesRegistry.unregisterElement(r),n.size===0&&this.elementGestureMap.delete(r),!0)}unregisterAllGestures(e){const r=this.elementGestureMap.get(e);if(r){for(const[,n]of r)n.destroy(),this.activeGesturesRegistry.unregisterElement(e);this.elementGestureMap.delete(e)}}destroy(){for(const[e]of this.elementGestureMap)this.unregisterAllGestures(e);this.gestureTemplates.clear(),this.elementGestureMap.clear(),this.activeGesturesRegistry.destroy(),this.keyboardManager.destroy(),this.pointerManager.destroy()}}class qh extends tde{unregisterHandler=null;originalTarget=null;constructor(e){super(e),this.minPointers=e.minPointers??1,this.maxPointers=e.maxPointers??1/0}init(e,r,n,s){super.init(e,r,n,s),this.unregisterHandler=this.pointerManager.registerGestureHandler(this.handlePointerEvent)}updateOptions(e){super.updateOptions(e),this.minPointers=e.minPointers??this.minPointers,this.maxPointers=e.maxPointers??this.maxPointers}getBaseConfig(){return{requiredKeys:this.requiredKeys,minPointers:this.minPointers,maxPointers:this.maxPointers}}isWithinPointerCount(e,r){const n=this.getEffectiveConfig(r,this.getBaseConfig());return e.length>=n.minPointers&&e.length<=n.maxPointers}getRelevantPointers(e,r){return e.filter(n=>this.isPointerTypeAllowed(n.pointerType)&&(r===n.target||n.target===this.originalTarget||r===this.originalTarget||"contains"in r&&r.contains(n.target))||"getRootNode"in r&&r.getRootNode()instanceof ShadowRoot&&n.srcEvent.composedPath().includes(r))}destroy(){this.unregisterHandler&&(this.unregisterHandler(),this.unregisterHandler=null),super.destroy()}}function fgt(t,e){const r=e.x-t.x,n=e.y-t.y;return Math.sqrt(r*r+n*n)}function iD(t){if(t.length<2)return 0;let e=0,r=0;for(let n=0;n<t.length;n+=1)for(let s=n+1;s<t.length;s+=1)e+=fgt({x:t[n].clientX,y:t[n].clientY},{x:t[s].clientX,y:t[s].clientY}),r+=1;return r>0?e/r:0}function Vd(t){if(t.length===0)return{x:0,y:0};const e=t.reduce((r,n)=>(r.x+=n.clientX,r.y+=n.clientY,r),{x:0,y:0});return{x:e.x/t.length,y:e.y/t.length}}function Xl(t,e){return`${t}${e==="ongoing"?"":e.charAt(0).toUpperCase()+e.slice(1)}`}const xw=1e-5,Wf=1e-5,uJ=.15;function pgt(t,e){const r=e.x-t.x,n=e.y-t.y,s={vertical:null,horizontal:null,mainAxis:null},i=mgt(e,t),o=Math.abs(r)>Math.abs(n)?"horizontal":"vertical",l=i||o==="horizontal"?xw:uJ,c=i?xw:o==="horizontal"?uJ:xw;return Math.abs(r)>l&&(s.horizontal=r>0?"right":"left"),Math.abs(n)>c&&(s.vertical=n>0?"down":"up"),s.mainAxis=i?"diagonal":o,s}function mgt(t,e){const r=e.x-t.x,n=e.y-t.y,s=Math.atan2(n,r)*180/Math.PI;return s>=-45+Wf&&s<=-22.5+Wf||s>=22.5+Wf&&s<=45+Wf||s>=135+Wf&&s<=157.5+Wf||s>=-157.5+Wf&&s<=-135+Wf}function hgt(t,e){if(!t.vertical&&!t.horizontal)return!1;if(e.length===0)return!0;const r=t.vertical===null||e.includes(t.vertical),n=t.horizontal===null||e.includes(t.horizontal);return r&&n}const dJ=0,ggt=t=>t>dJ?1:t<-dJ?-1:0,Zf=t=>{t.cancelable&&t.preventDefault()};class S7 extends qh{state={lastPosition:null};constructor(e){super(e),this.threshold=e.threshold||0}clone(e){return new S7(ce({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,threshold:this.threshold,minPointers:this.minPointers,maxPointers:this.maxPointers,requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}init(e,r,n,s){super.init(e,r,n,s),this.element.addEventListener("pointerenter",this.handleElementEnter),this.element.addEventListener("pointerleave",this.handleElementLeave)}destroy(){this.element.removeEventListener("pointerenter",this.handleElementEnter),this.element.removeEventListener("pointerleave",this.handleElementLeave),this.resetState(),super.destroy()}updateOptions(e){super.updateOptions(e)}resetState(){this.isActive=!1,this.state={lastPosition:null}}handleElementEnter=e=>{if(e.pointerType!=="mouse"&&e.pointerType!=="pen")return;const r=this.pointerManager.getPointers()||new Map,n=Array.from(r.values());if(this.isWithinPointerCount(n,e.pointerType)){this.isActive=!0;const s={x:e.clientX,y:e.clientY};this.state.lastPosition=s,this.emitMoveEvent(this.element,"start",n,e),this.emitMoveEvent(this.element,"ongoing",n,e)}};handleElementLeave=e=>{if(e.pointerType!=="mouse"&&e.pointerType!=="pen"||!this.isActive)return;const r=this.pointerManager.getPointers()||new Map,n=Array.from(r.values());this.emitMoveEvent(this.element,"end",n,e),this.resetState()};handlePointerEvent=(e,r)=>{if(r.type!=="pointermove"||r.pointerType!=="mouse"&&r.pointerType!=="pen")return;this.preventDefault&&r.preventDefault(),this.stopPropagation&&r.stopPropagation();const n=Array.from(e.values()),s=this.getTargetElement(r);if(!s||!this.isWithinPointerCount(n,r.pointerType))return;if(this.shouldPreventGesture(s,r.pointerType)){if(!this.isActive)return;this.resetState(),this.emitMoveEvent(s,"end",n,r);return}const i={x:r.clientX,y:r.clientY};this.state.lastPosition=i,this.isActive||(this.isActive=!0,this.emitMoveEvent(s,"start",n,r)),this.emitMoveEvent(s,"ongoing",n,r)};emitMoveEvent(e,r,n,s){const i=this.state.lastPosition||Vd(n),o=this.gesturesRegistry.getActiveGestures(e),l={gestureName:this.name,centroid:i,target:s.target,srcEvent:s,phase:r,pointers:n,timeStamp:s.timeStamp,activeGestures:o,customData:this.customData},c=Xl(this.name,r),u=new CustomEvent(c,{bubbles:!0,cancelable:!0,composed:!0,detail:l});e.dispatchEvent(u)}}class ch extends qh{state={startPointers:new Map,startCentroid:null,lastCentroid:null,movementThresholdReached:!1,totalDeltaX:0,totalDeltaY:0,activeDeltaX:0,activeDeltaY:0,lastDirection:{vertical:null,horizontal:null,mainAxis:null},lastDeltas:null};constructor(e){super(e),this.direction=e.direction||["up","down","left","right"],this.threshold=e.threshold||0}clone(e){return new ch(ce({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,threshold:this.threshold,minPointers:this.minPointers,maxPointers:this.maxPointers,direction:[...this.direction],requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}destroy(){this.resetState(),super.destroy()}updateOptions(e){super.updateOptions(e),this.direction=e.direction||this.direction,this.threshold=e.threshold??this.threshold}resetState(){this.isActive=!1,this.state=ce({},this.state,{startPointers:new Map,startCentroid:null,lastCentroid:null,lastDeltas:null,activeDeltaX:0,activeDeltaY:0,movementThresholdReached:!1,lastDirection:{vertical:null,horizontal:null,mainAxis:null}})}handlePointerEvent=(e,r)=>{const n=Array.from(e.values());if(r.type==="forceCancel"){this.cancel(r.target,n,r);return}const s=this.getTargetElement(r);if(!s)return;if(this.shouldPreventGesture(s,r.pointerType)){this.cancel(s,n,r);return}const i=this.getRelevantPointers(n,s);if(!this.isWithinPointerCount(i,r.pointerType)){this.cancel(s,i,r);return}switch(r.type){case"pointerdown":!this.isActive&&!this.state.startCentroid&&(i.forEach(o=>{this.state.startPointers.set(o.pointerId,o)}),this.originalTarget=s,this.state.startCentroid=Vd(i),this.state.lastCentroid=ce({},this.state.startCentroid));break;case"pointermove":if(this.state.startCentroid&&this.isWithinPointerCount(n,r.pointerType)){const o=Vd(i),l=o.x-this.state.startCentroid.x,c=o.y-this.state.startCentroid.y,u=Math.sqrt(l*l+c*c),d=pgt(this.state.lastCentroid??this.state.startCentroid,o),f=this.state.lastCentroid?o.x-this.state.lastCentroid.x:0,p=this.state.lastCentroid?o.y-this.state.lastCentroid.y:0;!this.state.movementThresholdReached&&u>=this.threshold&&hgt(d,this.direction)?(this.state.movementThresholdReached=!0,this.isActive=!0,this.state.lastDeltas={x:f,y:p},this.state.totalDeltaX+=f,this.state.totalDeltaY+=p,this.state.activeDeltaX+=f,this.state.activeDeltaY+=p,this.emitPanEvent(s,"start",i,r,o),this.emitPanEvent(s,"ongoing",i,r,o)):this.state.movementThresholdReached&&this.isActive&&(this.state.lastDeltas={x:f,y:p},this.state.totalDeltaX+=f,this.state.totalDeltaY+=p,this.state.activeDeltaX+=f,this.state.activeDeltaY+=p,this.emitPanEvent(s,"ongoing",i,r,o)),this.state.lastCentroid=o,this.state.lastDirection=d}break;case"pointerup":case"pointercancel":case"forceCancel":if(this.isActive&&this.state.movementThresholdReached){const o=i.filter(l=>l.type!=="pointerup"&&l.type!=="pointercancel");if(!this.isWithinPointerCount(o,r.pointerType)){const l=this.state.lastCentroid||this.state.startCentroid;r.type==="pointercancel"&&this.emitPanEvent(s,"cancel",i,r,l),this.emitPanEvent(s,"end",i,r,l),this.resetState()}}else this.resetState();break}};emitPanEvent(e,r,n,s,i){if(!this.state.startCentroid)return;const o=this.state.lastDeltas?.x??0,l=this.state.lastDeltas?.y??0,c=this.state.startPointers.values().next().value,u=c?(s.timeStamp-c.timeStamp)/1e3:0,d=u>0?o/u:0,f=u>0?l/u:0,p=Math.sqrt(d*d+f*f),m=this.gesturesRegistry.getActiveGestures(e),h={gestureName:this.name,initialCentroid:this.state.startCentroid,centroid:i,target:s.target,srcEvent:s,phase:r,pointers:n,timeStamp:s.timeStamp,deltaX:o,deltaY:l,direction:this.state.lastDirection,velocityX:d,velocityY:f,velocity:p,totalDeltaX:this.state.totalDeltaX,totalDeltaY:this.state.totalDeltaY,activeDeltaX:this.state.activeDeltaX,activeDeltaY:this.state.activeDeltaY,activeGestures:m,customData:this.customData},_=Xl(this.name,r),g=new CustomEvent(_,{bubbles:!0,cancelable:!0,composed:!0,detail:h});e.dispatchEvent(g),this.preventDefault&&s.preventDefault(),this.stopPropagation&&s.stopPropagation()}cancel(e,r,n){if(this.isActive){const s=e??this.element;this.emitPanEvent(s,"cancel",r,n,this.state.lastCentroid),this.emitPanEvent(s,"end",r,n,this.state.lastCentroid)}this.resetState()}}class w7 extends qh{state={startDistance:0,lastDistance:0,lastScale:1,lastTime:0,velocity:0,totalScale:1,deltaScale:0};constructor(e){super(ce({},e,{minPointers:e.minPointers??2})),this.threshold=e.threshold??0}clone(e){return new w7(ce({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,threshold:this.threshold,minPointers:this.minPointers,maxPointers:this.maxPointers,requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}destroy(){this.resetState(),super.destroy()}updateOptions(e){super.updateOptions(e)}resetState(){this.isActive=!1,this.state=ce({},this.state,{startDistance:0,lastDistance:0,lastScale:1,lastTime:0,velocity:0,deltaScale:0})}handlePointerEvent=(e,r)=>{const n=Array.from(e.values()),s=this.getTargetElement(r);if(!s)return;if(this.shouldPreventGesture(s,r.pointerType)){this.isActive&&(this.emitPinchEvent(s,"cancel",n,r),this.resetState());return}const i=this.getRelevantPointers(n,s);switch(r.type){case"pointerdown":if(i.length>=2&&!this.isActive){const o=iD(i);this.state.startDistance=o,this.state.lastDistance=o,this.state.lastTime=r.timeStamp,this.originalTarget=s}break;case"pointermove":if(this.state.startDistance&&this.isWithinPointerCount(i,r.pointerType)){const o=iD(i),l=Math.abs(o-this.state.lastDistance);if(l!==0&&l>=this.threshold){const c=this.state.startDistance?o/this.state.startDistance:1,u=c/this.state.lastScale;this.state.totalScale*=u;const d=(r.timeStamp-this.state.lastTime)/1e3;if(this.state.lastDistance){const p=(o-this.state.lastDistance)/d;this.state.velocity=Number.isNaN(p)?0:p}this.state.lastDistance=o,this.state.deltaScale=c-this.state.lastScale,this.state.lastScale=c,this.state.lastTime=r.timeStamp,this.isActive?this.emitPinchEvent(s,"ongoing",i,r):(this.isActive=!0,this.emitPinchEvent(s,"start",i,r),this.emitPinchEvent(s,"ongoing",i,r))}}break;case"pointerup":case"pointercancel":case"forceCancel":if(this.isActive){const o=i.filter(l=>l.type!=="pointerup"&&l.type!=="pointercancel");if(!this.isWithinPointerCount(o,r.pointerType))r.type==="pointercancel"&&this.emitPinchEvent(s,"cancel",i,r),this.emitPinchEvent(s,"end",i,r),this.resetState();else if(o.length>=2){const l=iD(o);this.state.startDistance=l/this.state.lastScale}}break}};emitPinchEvent(e,r,n,s){const i=Vd(n),o=this.state.lastDistance,l=this.state.lastScale,c=this.gesturesRegistry.getActiveGestures(e),u={gestureName:this.name,centroid:i,target:s.target,srcEvent:s,phase:r,pointers:n,timeStamp:s.timeStamp,scale:l,deltaScale:this.state.deltaScale,totalScale:this.state.totalScale,distance:o,velocity:this.state.velocity,activeGestures:c,direction:ggt(this.state.velocity),customData:this.customData};this.preventDefault&&s.preventDefault(),this.stopPropagation&&s.stopPropagation();const d=Xl(this.name,r),f=new CustomEvent(d,{bubbles:!0,cancelable:!0,composed:!0,detail:u});e.dispatchEvent(f)}}class gk extends qh{state={startCentroid:null,lastPosition:null,timerId:null,startTime:0,pressThresholdReached:!1};constructor(e){super(e),this.duration=e.duration??500,this.maxDistance=e.maxDistance??10}clone(e){return new gk(ce({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,minPointers:this.minPointers,maxPointers:this.maxPointers,duration:this.duration,maxDistance:this.maxDistance,requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}destroy(){this.clearPressTimer(),this.resetState(),super.destroy()}updateOptions(e){super.updateOptions(e),this.duration=e.duration??this.duration,this.maxDistance=e.maxDistance??this.maxDistance}resetState(){this.clearPressTimer(),this.isActive=!1,this.state=ce({},this.state,{startCentroid:null,lastPosition:null,timerId:null,startTime:0,pressThresholdReached:!1})}clearPressTimer(){this.state.timerId!==null&&(clearTimeout(this.state.timerId),this.state.timerId=null)}handlePointerEvent=(e,r)=>{const n=Array.from(e.values());if(r.type==="forceCancel"){this.cancelPress(r.target,n,r);return}const s=this.getTargetElement(r);if(!s)return;if(this.shouldPreventGesture(s,r.pointerType)){this.isActive&&this.cancelPress(s,n,r);return}const i=this.getRelevantPointers(n,s);if(!this.isWithinPointerCount(i,r.pointerType)){this.isActive&&this.cancelPress(s,i,r);return}switch(r.type){case"pointerdown":!this.isActive&&!this.state.startCentroid&&(this.state.startCentroid=Vd(i),this.state.lastPosition=ce({},this.state.startCentroid),this.state.startTime=r.timeStamp,this.isActive=!0,this.originalTarget=s,this.clearPressTimer(),this.state.timerId=setTimeout(()=>{if(this.isActive&&this.state.startCentroid){this.state.pressThresholdReached=!0;const o=this.state.lastPosition;this.emitPressEvent(s,"start",i,r,o),this.emitPressEvent(s,"ongoing",i,r,o)}},this.duration));break;case"pointermove":if(this.isActive&&this.state.startCentroid){const o=Vd(i);this.state.lastPosition=o;const l=o.x-this.state.startCentroid.x,c=o.y-this.state.startCentroid.y;Math.sqrt(l*l+c*c)>this.maxDistance&&this.cancelPress(s,i,r)}break;case"pointerup":if(this.isActive){if(this.state.pressThresholdReached){const o=this.state.lastPosition||this.state.startCentroid;this.emitPressEvent(s,"end",i,r,o)}this.resetState()}break;case"pointercancel":case"forceCancel":this.cancelPress(s,i,r);break}};emitPressEvent(e,r,n,s,i){const o=this.gesturesRegistry.getActiveGestures(e),l=s.timeStamp-this.state.startTime,c={gestureName:this.name,centroid:i,target:s.target,srcEvent:s,phase:r,pointers:n,timeStamp:s.timeStamp,x:i.x,y:i.y,duration:l,activeGestures:o,customData:this.customData},u=Xl(this.name,r),d=new CustomEvent(u,{bubbles:!0,cancelable:!0,composed:!0,detail:c});e.dispatchEvent(d),this.preventDefault&&s.preventDefault(),this.stopPropagation&&s.stopPropagation()}cancelPress(e,r,n){if(this.isActive&&this.state.pressThresholdReached){const s=this.state.lastPosition||this.state.startCentroid;this.emitPressEvent(e??this.element,"cancel",r,n,s),this.emitPressEvent(e??this.element,"end",r,n,s)}this.resetState()}}class C7 extends qh{state={phase:"waitingForPress",dragTimeoutId:null};constructor(e){super(e),this.pressDuration=e.pressDuration??500,this.pressMaxDistance=e.pressMaxDistance??10,this.dragTimeout=e.dragTimeout??1e3,this.dragThreshold=e.dragThreshold??0,this.dragDirection=e.dragDirection||["up","down","left","right"],this.pressGesture=new gk({name:`${this.name}-press`,duration:this.pressDuration,maxDistance:this.pressMaxDistance,maxPointers:this.maxPointers,pointerMode:this.pointerMode,requiredKeys:this.requiredKeys,preventIf:this.preventIf,pointerOptions:structuredClone(this.pointerOptions)}),this.panGesture=new ch({name:`${this.name}-pan`,minPointers:this.minPointers,maxPointers:this.maxPointers,threshold:this.dragThreshold,direction:this.dragDirection,pointerMode:this.pointerMode,requiredKeys:this.requiredKeys,preventIf:this.preventIf,pointerOptions:structuredClone(this.pointerOptions)})}clone(e){return new C7(ce({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,minPointers:this.minPointers,maxPointers:this.maxPointers,pressDuration:this.pressDuration,pressMaxDistance:this.pressMaxDistance,dragTimeout:this.dragTimeout,dragThreshold:this.dragThreshold,dragDirection:[...this.dragDirection],requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}init(e,r,n,s){super.init(e,r,n,s),this.pressGesture.init(e,r,n,s),this.panGesture.init(e,r,n,s),this.element.addEventListener(this.pressGesture.name,this.pressHandler),this.element.addEventListener(`${this.panGesture.name}Start`,this.dragStartHandler),this.element.addEventListener(this.panGesture.name,this.dragMoveHandler),this.element.addEventListener(`${this.panGesture.name}End`,this.dragEndHandler),this.element.addEventListener(`${this.panGesture.name}Cancel`,this.dragEndHandler)}destroy(){this.resetState(),this.pressGesture.destroy(),this.panGesture.destroy(),this.element.removeEventListener(this.pressGesture.name,this.pressHandler),this.element.removeEventListener(`${this.panGesture.name}Start`,this.dragStartHandler),this.element.removeEventListener(this.panGesture.name,this.dragMoveHandler),this.element.removeEventListener(`${this.panGesture.name}End`,this.dragEndHandler),this.element.removeEventListener(`${this.panGesture.name}Cancel`,this.dragEndHandler),super.destroy()}updateOptions(e){super.updateOptions(e),this.pressDuration=e.pressDuration??this.pressDuration,this.pressMaxDistance=e.pressMaxDistance??this.pressMaxDistance,this.dragTimeout=e.dragTimeout??this.dragTimeout,this.dragThreshold=e.dragThreshold??this.dragThreshold,this.dragDirection=e.dragDirection||this.dragDirection,this.element.dispatchEvent(new CustomEvent(`${this.panGesture.name}ChangeOptions`,{detail:{minPointers:this.minPointers,maxPointers:this.maxPointers,threshold:this.dragThreshold,direction:this.dragDirection,pointerMode:this.pointerMode,requiredKeys:this.requiredKeys,preventIf:this.preventIf,pointerOptions:structuredClone(this.pointerOptions)}})),this.element.dispatchEvent(new CustomEvent(`${this.pressGesture.name}ChangeOptions`,{detail:{duration:this.pressDuration,maxDistance:this.pressMaxDistance,maxPointers:this.maxPointers,pointerMode:this.pointerMode,requiredKeys:this.requiredKeys,preventIf:this.preventIf,pointerOptions:structuredClone(this.pointerOptions)}}))}resetState(){this.state.dragTimeoutId!==null&&clearTimeout(this.state.dragTimeoutId),this.restoreTouchAction(),this.isActive=!1,this.state={phase:"waitingForPress",dragTimeoutId:null}}handlePointerEvent(){}pressHandler=()=>{this.state.phase==="waitingForPress"&&(this.state.phase="pressDetected",this.setTouchAction(),this.state.dragTimeoutId=setTimeout(()=>{this.resetState()},this.dragTimeout))};dragStartHandler=e=>{this.state.phase==="pressDetected"&&(this.state.dragTimeoutId!==null&&(clearTimeout(this.state.dragTimeoutId),this.state.dragTimeoutId=null),this.restoreTouchAction(),this.state.phase="dragging",this.isActive=!0,this.element.dispatchEvent(new CustomEvent(Xl(this.name,e.detail.phase),e)))};dragMoveHandler=e=>{this.state.phase==="dragging"&&this.element.dispatchEvent(new CustomEvent(Xl(this.name,e.detail.phase),e))};dragEndHandler=e=>{this.state.phase==="dragging"&&(this.resetState(),this.element.dispatchEvent(new CustomEvent(Xl(this.name,e.detail.phase),e)))};setTouchAction(){this.element.addEventListener("touchstart",Zf,{passive:!1}),this.element.addEventListener("touchmove",Zf,{passive:!1}),this.element.addEventListener("touchend",Zf,{passive:!1})}restoreTouchAction(){this.element.removeEventListener("touchstart",Zf),this.element.removeEventListener("touchmove",Zf),this.element.removeEventListener("touchend",Zf)}}class _k extends qh{state={startCentroid:null,currentTapCount:0,lastTapTime:0,lastPosition:null};constructor(e){super(e),this.maxDistance=e.maxDistance??10,this.taps=e.taps??1}clone(e){return new _k(ce({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,minPointers:this.minPointers,maxPointers:this.maxPointers,maxDistance:this.maxDistance,taps:this.taps,requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}destroy(){this.resetState(),super.destroy()}updateOptions(e){super.updateOptions(e),this.maxDistance=e.maxDistance??this.maxDistance,this.taps=e.taps??this.taps}resetState(){this.isActive=!1,this.state={startCentroid:null,currentTapCount:0,lastTapTime:0,lastPosition:null}}handlePointerEvent=(e,r)=>{const n=Array.from(e.values()),s=this.getTargetElement(r);if(!s)return;const i=this.getRelevantPointers(n,s);if(this.shouldPreventGesture(s,r.pointerType)||!this.isWithinPointerCount(i,r.pointerType)){this.isActive&&this.cancelTap(s,i,r);return}switch(r.type){case"pointerdown":this.isActive||(this.state.startCentroid=Vd(i),this.state.lastPosition=ce({},this.state.startCentroid),this.isActive=!0,this.originalTarget=s);break;case"pointermove":if(this.isActive&&this.state.startCentroid){const o=Vd(i);this.state.lastPosition=o;const l=o.x-this.state.startCentroid.x,c=o.y-this.state.startCentroid.y;Math.sqrt(l*l+c*c)>this.maxDistance&&this.cancelTap(s,i,r)}break;case"pointerup":if(this.isActive){this.state.currentTapCount+=1;const o=this.state.lastPosition||this.state.startCentroid;if(!o){this.cancelTap(s,i,r);return}this.state.currentTapCount>=this.taps?(this.fireTapEvent(s,i,r,o),this.resetState()):(this.state.lastTapTime=r.timeStamp,this.isActive=!1,this.state.startCentroid=null,setTimeout(()=>{this.state&&this.state.currentTapCount>0&&this.state.currentTapCount<this.taps&&(this.state.currentTapCount=0)},300))}break;case"pointercancel":case"forceCancel":this.cancelTap(s,i,r);break}};fireTapEvent(e,r,n,s){const i=this.gesturesRegistry.getActiveGestures(e),o={gestureName:this.name,centroid:s,target:n.target,srcEvent:n,phase:"end",pointers:r,timeStamp:n.timeStamp,x:s.x,y:s.y,tapCount:this.state.currentTapCount,activeGestures:i,customData:this.customData},l=new CustomEvent(this.name,{bubbles:!0,cancelable:!0,composed:!0,detail:o});e.dispatchEvent(l),this.preventDefault&&n.preventDefault(),this.stopPropagation&&n.stopPropagation()}cancelTap(e,r,n){if(this.state.startCentroid||this.state.lastPosition){const s=this.state.lastPosition||this.state.startCentroid,i=this.gesturesRegistry.getActiveGestures(e),o={gestureName:this.name,centroid:s,target:n.target,srcEvent:n,phase:"cancel",pointers:r,timeStamp:n.timeStamp,x:s.x,y:s.y,tapCount:this.state.currentTapCount,activeGestures:i,customData:this.customData},l=Xl(this.name,"cancel"),c=new CustomEvent(l,{bubbles:!0,cancelable:!0,composed:!0,detail:o});e.dispatchEvent(c)}this.resetState()}}class A7 extends qh{state={phase:"waitingForTap",dragTimeoutId:null};constructor(e){super(e),this.tapMaxDistance=e.tapMaxDistance??10,this.dragTimeout=e.dragTimeout??1e3,this.dragThreshold=e.dragThreshold??0,this.dragDirection=e.dragDirection||["up","down","left","right"],this.tapGesture=new _k({name:`${this.name}-tap`,maxDistance:this.tapMaxDistance,maxPointers:this.maxPointers,pointerMode:this.pointerMode,requiredKeys:this.requiredKeys,preventIf:this.preventIf,pointerOptions:structuredClone(this.pointerOptions)}),this.panGesture=new ch({name:`${this.name}-pan`,minPointers:this.minPointers,maxPointers:this.maxPointers,threshold:this.dragThreshold,direction:this.dragDirection,pointerMode:this.pointerMode,requiredKeys:this.requiredKeys,preventIf:this.preventIf,pointerOptions:structuredClone(this.pointerOptions)})}clone(e){return new A7(ce({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,minPointers:this.minPointers,maxPointers:this.maxPointers,tapMaxDistance:this.tapMaxDistance,dragTimeout:this.dragTimeout,dragThreshold:this.dragThreshold,dragDirection:[...this.dragDirection],requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}init(e,r,n,s){super.init(e,r,n,s),this.tapGesture.init(e,r,n,s),this.panGesture.init(e,r,n,s),this.element.addEventListener(this.tapGesture.name,this.tapHandler),this.element.addEventListener(`${this.panGesture.name}Start`,this.dragStartHandler),this.element.addEventListener(this.panGesture.name,this.dragMoveHandler),this.element.addEventListener(`${this.panGesture.name}End`,this.dragEndHandler),this.element.addEventListener(`${this.panGesture.name}Cancel`,this.dragEndHandler)}destroy(){this.resetState(),this.tapGesture.destroy(),this.panGesture.destroy(),this.element.removeEventListener(this.tapGesture.name,this.tapHandler),this.element.removeEventListener(`${this.panGesture.name}Start`,this.dragStartHandler),this.element.removeEventListener(this.panGesture.name,this.dragMoveHandler),this.element.removeEventListener(`${this.panGesture.name}End`,this.dragEndHandler),this.element.removeEventListener(`${this.panGesture.name}Cancel`,this.dragEndHandler),super.destroy()}updateOptions(e){super.updateOptions(e),this.tapMaxDistance=e.tapMaxDistance??this.tapMaxDistance,this.dragTimeout=e.dragTimeout??this.dragTimeout,this.dragThreshold=e.dragThreshold??this.dragThreshold,this.dragDirection=e.dragDirection||this.dragDirection,this.element.dispatchEvent(new CustomEvent(`${this.panGesture.name}ChangeOptions`,{detail:{minPointers:this.minPointers,maxPointers:this.maxPointers,threshold:this.dragThreshold,direction:this.dragDirection,pointerMode:this.pointerMode,requiredKeys:this.requiredKeys,preventIf:this.preventIf,pointerOptions:structuredClone(this.pointerOptions)}})),this.element.dispatchEvent(new CustomEvent(`${this.tapGesture.name}ChangeOptions`,{detail:{maxDistance:this.tapMaxDistance,maxPointers:this.maxPointers,pointerMode:this.pointerMode,requiredKeys:this.requiredKeys,preventIf:this.preventIf,pointerOptions:structuredClone(this.pointerOptions)}}))}resetState(){this.state.dragTimeoutId!==null&&clearTimeout(this.state.dragTimeoutId),this.restoreTouchAction(),this.isActive=!1,this.state={phase:"waitingForTap",dragTimeoutId:null}}handlePointerEvent(){}tapHandler=()=>{this.state.phase==="waitingForTap"&&(this.state.phase="tapDetected",this.setTouchAction(),this.state.dragTimeoutId=setTimeout(()=>{this.resetState()},this.dragTimeout))};dragStartHandler=e=>{this.state.phase==="tapDetected"&&(this.state.dragTimeoutId!==null&&(clearTimeout(this.state.dragTimeoutId),this.state.dragTimeoutId=null),this.restoreTouchAction(),this.state.phase="dragging",this.isActive=!0,this.element.dispatchEvent(new CustomEvent(Xl(this.name,e.detail.phase),e)))};dragMoveHandler=e=>{this.state.phase==="dragging"&&this.element.dispatchEvent(new CustomEvent(Xl(this.name,e.detail.phase),e))};dragEndHandler=e=>{this.state.phase==="dragging"&&(this.resetState(),this.element.dispatchEvent(new CustomEvent(Xl(this.name,e.detail.phase),e)))};setTouchAction(){this.element.addEventListener("touchstart",Zf,{passive:!1})}restoreTouchAction(){this.element.removeEventListener("touchstart",Zf)}}class k7 extends tde{state={totalDeltaX:0,totalDeltaY:0,totalDeltaZ:0};constructor(e){super(e),this.sensitivity=e.sensitivity??1,this.max=e.max??Number.MAX_SAFE_INTEGER,this.min=e.min??Number.MIN_SAFE_INTEGER,this.initialDelta=e.initialDelta??0,this.invert=e.invert??!1,this.state.totalDeltaX=this.initialDelta,this.state.totalDeltaY=this.initialDelta,this.state.totalDeltaZ=this.initialDelta}clone(e){return new k7(ce({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,sensitivity:this.sensitivity,max:this.max,min:this.min,initialDelta:this.initialDelta,invert:this.invert,requiredKeys:[...this.requiredKeys],preventIf:[...this.preventIf]},e))}init(e,r,n,s){super.init(e,r,n,s),this.element.addEventListener("wheel",this.handleWheelEvent)}destroy(){this.element.removeEventListener("wheel",this.handleWheelEvent),this.resetState(),super.destroy()}resetState(){this.isActive=!1,this.state={totalDeltaX:0,totalDeltaY:0,totalDeltaZ:0}}updateOptions(e){super.updateOptions(e),this.sensitivity=e.sensitivity??this.sensitivity,this.max=e.max??this.max,this.min=e.min??this.min,this.initialDelta=e.initialDelta??this.initialDelta,this.invert=e.invert??this.invert}handleWheelEvent=e=>{if(this.shouldPreventGesture(this.element,"mouse"))return;const r=this.pointerManager.getPointers()||new Map,n=Array.from(r.values());this.state.totalDeltaX+=e.deltaX*this.sensitivity*(this.invert?-1:1),this.state.totalDeltaY+=e.deltaY*this.sensitivity*(this.invert?-1:1),this.state.totalDeltaZ+=e.deltaZ*this.sensitivity*(this.invert?-1:1),["totalDeltaX","totalDeltaY","totalDeltaZ"].forEach(s=>{this.state[s]<this.min&&(this.state[s]=this.min),this.state[s]>this.max&&(this.state[s]=this.max)}),this.emitWheelEvent(n,e)};emitWheelEvent(e,r){const n=e.length>0?Vd(e):{x:r.clientX,y:r.clientY},s=this.gesturesRegistry.getActiveGestures(this.element),i={gestureName:this.name,centroid:n,target:r.target,srcEvent:r,phase:"ongoing",pointers:e,timeStamp:r.timeStamp,deltaX:r.deltaX*this.sensitivity*(this.invert?-1:1),deltaY:r.deltaY*this.sensitivity*(this.invert?-1:1),deltaZ:r.deltaZ*this.sensitivity*(this.invert?-1:1),deltaMode:r.deltaMode,totalDeltaX:this.state.totalDeltaX,totalDeltaY:this.state.totalDeltaY,totalDeltaZ:this.state.totalDeltaZ,activeGestures:s,customData:this.customData};this.preventDefault&&r.preventDefault(),this.stopPropagation&&r.stopPropagation();const o=Xl(this.name,"ongoing"),l=new CustomEvent(o,{bubbles:!0,cancelable:!0,composed:!0,detail:i});this.element.dispatchEvent(l)}}const Kg=t=>t.preventDefault(),M7=({svgRef:t})=>{const e=I.useRef(null);I.useEffect(()=>{const s=t.current;e.current||(e.current=new dgt({gestures:[new ch({name:"pan",threshold:0,maxPointers:1}),new S7({name:"move",preventIf:["pan","zoomPinch","zoomPan"]}),new _k({name:"tap",preventIf:["pan","zoomPinch","zoomPan"]}),new gk({name:"quickPress",duration:50}),new ch({name:"brush",threshold:0,maxPointers:1}),new ch({name:"zoomPan",threshold:0,maxPointers:1,preventIf:["zoomTapAndDrag","zoomPressAndDrag"]}),new w7({name:"zoomPinch",threshold:5,preventIf:["pan","zoomPan"]}),new k7({name:"zoomTurnWheel",sensitivity:.01,initialDelta:1}),new A7({name:"zoomTapAndDrag",dragThreshold:10}),new C7({name:"zoomPressAndDrag",dragThreshold:10,preventIf:["zoomPinch"]})]}));const i=e.current;if(!(!s||!i))return i.registerElement(["pan","move","zoomPinch","zoomPan","zoomTurnWheel","tap","quickPress","zoomTapAndDrag","zoomPressAndDrag","brush"],s),()=>{i.unregisterAllGestures(s)}},[t,e]);const r=I.useCallback((s,i,o)=>{const l=t.current;return l?.addEventListener(s,i,o),{cleanup:()=>l?.removeEventListener(s,i)}},[t]),n=I.useCallback((s,i)=>{const o=t.current,l=e.current;!l||!o||l.setGestureOptions(s,o,i??{})},[t,e]);return I.useEffect(()=>{const s=t.current;return s?.addEventListener("gesturestart",Kg),s?.addEventListener("gesturechange",Kg),s?.addEventListener("gestureend",Kg),()=>{s?.removeEventListener("gesturestart",Kg),s?.removeEventListener("gesturechange",Kg),s?.removeEventListener("gestureend",Kg)}},[t]),{instance:{addInteractionListener:r,updateZoomInteractionListeners:n}}};M7.params={};M7.getInitialState=()=>({});const _gt=[x7,b7,pk,hk,M7,fk],vgt=["apiRef"],ygt=t=>{let{plugins:e}=t,r=Ht(t.props,vgt);const n={};e.forEach(o=>{Object.assign(n,o.params)});const s={};return Object.keys(r).forEach(o=>{const l=r[o];n[o]&&(s[o]=l)}),e.reduce((o,l)=>l.getDefaultizedParams?l.getDefaultizedParams({params:o}):o,s)};let fJ=0;function bgt(t,e,r){const n=dv(),s=I.useMemo(()=>[..._gt,...t],[t]),i=ygt({plugins:s,props:e});i.id=i.id??n;const l=I.useRef({}).current,c=Sgt(e.apiRef),u=I.useRef(null),d=I.useRef(null),f=I.useRef(null);if(f.current==null){fJ+=1;const h={cacheKey:{id:fJ}};s.forEach(_=>{_.getInitialState&&Object.assign(h,_.getInitialState(i,h,r))}),f.current=new _ht(h)}const p=h=>{const _=h({instance:l,params:i,plugins:s,store:f.current,svgRef:d,chartRootRef:u,seriesConfig:r});_.publicAPI&&Object.assign(c.current,_.publicAPI),_.instance&&Object.assign(l,_.instance)};return s.forEach(p),{contextValue:I.useMemo(()=>({store:f.current,publicAPI:c.current,instance:l,svgRef:d,chartRootRef:u}),[l,c])}}function xgt(t){return t.current==null&&(t.current={}),t}function Sgt(t){const e=I.useRef({});return t?xgt(t):e}const rde=I.createContext(null),nde=()=>{},sde=4,ide=20+2*sde,wgt=40+2*sde,Cgt="hover",Sw={minStart:0,maxEnd:100,step:5,minSpan:10,maxSpan:100,panning:!0,filterMode:"keep",reverse:!1,slider:{enabled:!1,preview:!1,size:ide,showTooltip:Cgt}},P7=(t,e,r,n)=>{if(t)return t===!0?ce({axisId:e,axisDirection:r},Sw,{reverse:n??!1}):ce({axisId:e,axisDirection:r},Sw,{reverse:n??!1},t,{slider:ce({},Sw.slider,{size:t.slider?.preview??Sw.slider.preview?wgt:ide},t.slider)})};function ode(t,e){const r={top:0,bottom:0,none:0};return(t&&t.length>0?t:[{id:Bv,scaleType:"linear"}]).map((i,o)=>{const l=i.dataKey,c=o===0?"bottom":"none",u=i.position??c,d=ght+(i.label?Hue:0),f=i.id??`defaultized-x-axis-${o}`,p=ce({offset:r[u]},i,{id:f,position:u,height:i.height??d,zoom:P7(i.zoom,f,"x",i.reverse)});if(u!=="none"&&(r[u]+=p.height,p.zoom?.slider.enabled&&(r[u]+=p.zoom.slider.size)),l===void 0||i.data!==void 0)return p;if(e===void 0)throw new Error("MUI X Charts: x-axis uses `dataKey` but no `dataset` is provided.");return ce({},p,{data:e.map(m=>m[l])})})}function ade(t,e){const r={right:0,left:0,none:0};return(t&&t.length>0?t:[{id:y7,scaleType:"linear"}]).map((i,o)=>{const l=i.dataKey,c=o===0?"left":"none",u=i.position??c,d=hht+(i.label?Hue:0),f=i.id??`defaultized-y-axis-${o}`,p=ce({offset:r[u]},i,{id:f,position:u,width:i.width??d,zoom:P7(i.zoom,f,"y",i.reverse)});if(u!=="none"&&(r[u]+=p.width,p.zoom?.slider.enabled&&(r[u]+=p.zoom.slider.size)),l===void 0||i.data!==void 0)return p;if(e===void 0)throw new Error("MUI X Charts: y-axis uses `dataKey` but no `dataset` is provided.");return ce({},p,{data:e.map(m=>m[l])})})}function vp(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;if(Array.isArray(t)){const s=t.length;if(s!==e.length)return!1;for(let i=0;i<s;i+=1)if(!vp(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;const s=Array.from(t.entries());for(let i=0;i<s.length;i+=1)if(!e.has(s[i][0]))return!1;for(let i=0;i<s.length;i+=1){const o=s[i];if(!vp(o[1],e.get(o[0])))return!1}return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;const s=Array.from(t.entries());for(let i=0;i<s.length;i+=1)if(!e.has(s[i][0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){const s=t.length;if(s!==e.length)return!1;for(let i=0;i<s;i+=1)if(t[i]!==e[i])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();const r=Object.keys(t),n=r.length;if(n!==Object.keys(e).length)return!1;for(let s=0;s<n;s+=1)if(!Object.prototype.hasOwnProperty.call(e,r[s]))return!1;for(let s=0;s<n;s+=1){const i=r[s];if(!vp(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Agt(t,e){return function(n,s){if(s.location==="tick"){const i=s.scale.domain();return i[0]===i[1]?s.scale.tickFormat(1)(n):s.scale.tickFormat(t)(n)}return s.location==="zoom-slider-tooltip"?e.tickFormat(2)(n):`${n}`}}function Hd(t){return t.scaleType==="band"}function Vp(t){return t.scaleType==="point"}function kgt(t){return t.scaleType!=="point"&&t.scaleType!=="band"}function Mgt(t){return t.scaleType==="symlog"}function tC(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Pgt(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function j7(t){let e,r,n;t.length!==2?(e=tC,r=(l,c)=>tC(t(l),c),n=(l,c)=>t(l)-c):(e=t===tC||t===Pgt?t:jgt,r=t,n=t);function s(l,c,u=0,d=l.length){if(u<d){if(e(c,c)!==0)return d;do{const f=u+d>>>1;r(l[f],c)<0?u=f+1:d=f}while(u<d)}return u}function i(l,c,u=0,d=l.length){if(u<d){if(e(c,c)!==0)return d;do{const f=u+d>>>1;r(l[f],c)<=0?u=f+1:d=f}while(u<d)}return u}function o(l,c,u=0,d=l.length){const f=s(l,c,u,d-1);return f>u&&n(l[f-1],c)>-n(l[f],c)?f-1:f}return{left:s,center:o,right:i}}function jgt(){return 0}function Tgt(t){return t===null?NaN:+t}const Egt=j7(tC),lde=Egt.right;j7(Tgt).center;class pJ extends Map{constructor(e,r=Dgt){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),e!=null)for(const[n,s]of e)this.set(n,s)}get(e){return super.get(mJ(this,e))}has(e){return super.has(mJ(this,e))}set(e,r){return super.set(Rgt(this,e),r)}delete(e){return super.delete(Igt(this,e))}}function mJ({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):r}function Rgt({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}function Igt({_intern:t,_key:e},r){const n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}function Dgt(t){return t!==null&&typeof t=="object"?t.valueOf():t}const $gt=Math.sqrt(50),Ogt=Math.sqrt(10),Lgt=Math.sqrt(2);function S3(t,e,r){const n=(e-t)/Math.max(0,r),s=Math.floor(Math.log10(n)),i=n/Math.pow(10,s),o=i>=$gt?10:i>=Ogt?5:i>=Lgt?2:1;let l,c,u;return s<0?(u=Math.pow(10,-s)/o,l=Math.round(t*u),c=Math.round(e*u),l/u<t&&++l,c/u>e&&--c,u=-u):(u=Math.pow(10,s)*o,l=Math.round(t/u),c=Math.round(e/u),l*u<t&&++l,c*u>e&&--c),c<l&&.5<=r&&r<2?S3(t,e,r*2):[l,c,u]}function w$(t,e,r){if(e=+e,t=+t,r=+r,!(r>0))return[];if(t===e)return[t];const n=e<t,[s,i,o]=n?S3(e,t,r):S3(t,e,r);if(!(i>=s))return[];const l=i-s+1,c=new Array(l);if(n)if(o<0)for(let u=0;u<l;++u)c[u]=(i-u)/-o;else for(let u=0;u<l;++u)c[u]=(i-u)*o;else if(o<0)for(let u=0;u<l;++u)c[u]=(s+u)/-o;else for(let u=0;u<l;++u)c[u]=(s+u)*o;return c}function C$(t,e,r){return e=+e,t=+t,r=+r,S3(t,e,r)[2]}function A$(t,e,r){e=+e,t=+t,r=+r;const n=e<t,s=n?C$(e,t,r):C$(t,e,r);return(n?-1:1)*(s<0?1/-s:s)}function Ngt(t,e,r){t=+t,e=+e,r=(s=arguments.length)<2?(e=t,t=0,1):s<3?1:+r;for(var n=-1,s=Math.max(0,Math.ceil((e-t)/r))|0,i=new Array(s);++n<s;)i[n]=t+n*r;return i}function rf(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}function Fgt(t,e){switch(arguments.length){case 0:break;case 1:{typeof t=="function"?this.interpolator(t):this.range(t);break}default:{this.domain(t),typeof e=="function"?this.interpolator(e):this.range(e);break}}return this}const hJ=Symbol("implicit");function w3(){var t=new pJ,e=[],r=[],n=hJ;function s(i){let o=t.get(i);if(o===void 0){if(n!==hJ)return n;t.set(i,o=e.push(i)-1)}return r[o%r.length]}return s.domain=function(i){if(!arguments.length)return e.slice();e=[],t=new pJ;for(const o of i)t.has(o)||t.set(o,e.push(o)-1);return s},s.range=function(i){return arguments.length?(r=Array.from(i),s):r.slice()},s.unknown=function(i){return arguments.length?(n=i,s):n},s.copy=function(){return w3(e,r).unknown(n)},rf.apply(s,arguments),s}function vk(){var t=w3().unknown(void 0),e=t.domain,r=t.range,n=0,s=1,i,o,l=!1,c=0,u=0,d=.5;delete t.unknown;function f(){var p=e().length,m=s<n,h=m?s:n,_=m?n:s;i=(_-h)/Math.max(1,p-c+u*2),l&&(i=Math.floor(i)),h+=(_-h-i*(p-c))*d,o=i*(1-c),l&&(h=Math.round(h),o=Math.round(o));var g=Ngt(p).map(function(y){return h+i*y});return r(m?g.reverse():g)}return t.domain=function(p){return arguments.length?(e(p),f()):e()},t.range=function(p){return arguments.length?([n,s]=p,n=+n,s=+s,f()):[n,s]},t.rangeRound=function(p){return[n,s]=p,n=+n,s=+s,l=!0,f()},t.bandwidth=function(){return o},t.step=function(){return i},t.round=function(p){return arguments.length?(l=!!p,f()):l},t.padding=function(p){return arguments.length?(c=Math.min(1,u=+p),f()):c},t.paddingInner=function(p){return arguments.length?(c=Math.min(1,p),f()):c},t.paddingOuter=function(p){return arguments.length?(u=+p,f()):u},t.align=function(p){return arguments.length?(d=Math.max(0,Math.min(1,p)),f()):d},t.copy=function(){return vk(e(),[n,s]).round(l).paddingInner(c).paddingOuter(u).align(d)},rf.apply(f(),arguments)}function cde(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return cde(e())},t}function ude(){return cde(vk.apply(null,arguments).paddingInner(1))}function T7(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function dde(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function sx(){}var c0=.7,C3=1/c0,S_="\\s*([+-]?\\d+)\\s*",u0="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Lu="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ugt=/^#([0-9a-f]{3,8})$/,Bgt=new RegExp(`^rgb\\(${S_},${S_},${S_}\\)$`),zgt=new RegExp(`^rgb\\(${Lu},${Lu},${Lu}\\)$`),qgt=new RegExp(`^rgba\\(${S_},${S_},${S_},${u0}\\)$`),Vgt=new RegExp(`^rgba\\(${Lu},${Lu},${Lu},${u0}\\)$`),Hgt=new RegExp(`^hsl\\(${u0},${Lu},${Lu}\\)$`),Ggt=new RegExp(`^hsla\\(${u0},${Lu},${Lu},${u0}\\)$`),gJ={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};T7(sx,d0,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:_J,formatHex:_J,formatHex8:Wgt,formatHsl:Ygt,formatRgb:vJ,toString:vJ});function _J(){return this.rgb().formatHex()}function Wgt(){return this.rgb().formatHex8()}function Ygt(){return fde(this).formatHsl()}function vJ(){return this.rgb().formatRgb()}function d0(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=Ugt.exec(t))?(r=e[1].length,e=parseInt(e[1],16),r===6?yJ(e):r===3?new ja(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):r===8?ww(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):r===4?ww(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=Bgt.exec(t))?new ja(e[1],e[2],e[3],1):(e=zgt.exec(t))?new ja(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=qgt.exec(t))?ww(e[1],e[2],e[3],e[4]):(e=Vgt.exec(t))?ww(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=Hgt.exec(t))?SJ(e[1],e[2]/100,e[3]/100,1):(e=Ggt.exec(t))?SJ(e[1],e[2]/100,e[3]/100,e[4]):gJ.hasOwnProperty(t)?yJ(gJ[t]):t==="transparent"?new ja(NaN,NaN,NaN,0):null}function yJ(t){return new ja(t>>16&255,t>>8&255,t&255,1)}function ww(t,e,r,n){return n<=0&&(t=e=r=NaN),new ja(t,e,r,n)}function Kgt(t){return t instanceof sx||(t=d0(t)),t?(t=t.rgb(),new ja(t.r,t.g,t.b,t.opacity)):new ja}function k$(t,e,r,n){return arguments.length===1?Kgt(t):new ja(t,e,r,n??1)}function ja(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}T7(ja,k$,dde(sx,{brighter(t){return t=t==null?C3:Math.pow(C3,t),new ja(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?c0:Math.pow(c0,t),new ja(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new ja(uh(this.r),uh(this.g),uh(this.b),A3(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:bJ,formatHex:bJ,formatHex8:Qgt,formatRgb:xJ,toString:xJ}));function bJ(){return`#${Jm(this.r)}${Jm(this.g)}${Jm(this.b)}`}function Qgt(){return`#${Jm(this.r)}${Jm(this.g)}${Jm(this.b)}${Jm((isNaN(this.opacity)?1:this.opacity)*255)}`}function xJ(){const t=A3(this.opacity);return`${t===1?"rgb(":"rgba("}${uh(this.r)}, ${uh(this.g)}, ${uh(this.b)}${t===1?")":`, ${t})`}`}function A3(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function uh(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Jm(t){return t=uh(t),(t<16?"0":"")+t.toString(16)}function SJ(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Pc(t,e,r,n)}function fde(t){if(t instanceof Pc)return new Pc(t.h,t.s,t.l,t.opacity);if(t instanceof sx||(t=d0(t)),!t)return new Pc;if(t instanceof Pc)return t;t=t.rgb();var e=t.r/255,r=t.g/255,n=t.b/255,s=Math.min(e,r,n),i=Math.max(e,r,n),o=NaN,l=i-s,c=(i+s)/2;return l?(e===i?o=(r-n)/l+(r<n)*6:r===i?o=(n-e)/l+2:o=(e-r)/l+4,l/=c<.5?i+s:2-i-s,o*=60):l=c>0&&c<1?0:o,new Pc(o,l,c,t.opacity)}function Zgt(t,e,r,n){return arguments.length===1?fde(t):new Pc(t,e,r,n??1)}function Pc(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}T7(Pc,Zgt,dde(sx,{brighter(t){return t=t==null?C3:Math.pow(C3,t),new Pc(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?c0:Math.pow(c0,t),new Pc(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,s=2*r-n;return new ja(oD(t>=240?t-240:t+120,s,n),oD(t,s,n),oD(t<120?t+240:t-120,s,n),this.opacity)},clamp(){return new Pc(wJ(this.h),Cw(this.s),Cw(this.l),A3(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=A3(this.opacity);return`${t===1?"hsl(":"hsla("}${wJ(this.h)}, ${Cw(this.s)*100}%, ${Cw(this.l)*100}%${t===1?")":`, ${t})`}`}}));function wJ(t){return t=(t||0)%360,t<0?t+360:t}function Cw(t){return Math.max(0,Math.min(1,t||0))}function oD(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}const E7=t=>()=>t;function Xgt(t,e){return function(r){return t+r*e}}function Jgt(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}function e_t(t){return(t=+t)==1?pde:function(e,r){return r-e?Jgt(e,r,t):E7(isNaN(e)?r:e)}}function pde(t,e){var r=e-t;return r?Xgt(t,r):E7(isNaN(t)?e:t)}const CJ=(function t(e){var r=e_t(e);function n(s,i){var o=r((s=k$(s)).r,(i=k$(i)).r),l=r(s.g,i.g),c=r(s.b,i.b),u=pde(s.opacity,i.opacity);return function(d){return s.r=o(d),s.g=l(d),s.b=c(d),s.opacity=u(d),s+""}}return n.gamma=t,n})(1);function t_t(t,e){e||(e=[]);var r=t?Math.min(e.length,t.length):0,n=e.slice(),s;return function(i){for(s=0;s<r;++s)n[s]=t[s]*(1-i)+e[s]*i;return n}}function r_t(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function n_t(t,e){var r=e?e.length:0,n=t?Math.min(r,t.length):0,s=new Array(n),i=new Array(r),o;for(o=0;o<n;++o)s[o]=yk(t[o],e[o]);for(;o<r;++o)i[o]=e[o];return function(l){for(o=0;o<n;++o)i[o]=s[o](l);return i}}function R7(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}function Js(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}function s_t(t,e){var r={},n={},s;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(s in e)s in t?r[s]=yk(t[s],e[s]):n[s]=e[s];return function(i){for(s in r)n[s]=r[s](i);return n}}var M$=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,aD=new RegExp(M$.source,"g");function i_t(t){return function(){return t}}function o_t(t){return function(e){return t(e)+""}}function I7(t,e){var r=M$.lastIndex=aD.lastIndex=0,n,s,i,o=-1,l=[],c=[];for(t=t+"",e=e+"";(n=M$.exec(t))&&(s=aD.exec(e));)(i=s.index)>r&&(i=e.slice(r,i),l[o]?l[o]+=i:l[++o]=i),(n=n[0])===(s=s[0])?l[o]?l[o]+=s:l[++o]=s:(l[++o]=null,c.push({i:o,x:Js(n,s)})),r=aD.lastIndex;return r<e.length&&(i=e.slice(r),l[o]?l[o]+=i:l[++o]=i),l.length<2?c[0]?o_t(c[0].x):i_t(e):(e=c.length,function(u){for(var d=0,f;d<e;++d)l[(f=c[d]).i]=f.x(u);return l.join("")})}function yk(t,e){var r=typeof e,n;return e==null||r==="boolean"?E7(e):(r==="number"?Js:r==="string"?(n=d0(e))?(e=n,CJ):I7:e instanceof d0?CJ:e instanceof Date?R7:r_t(e)?t_t:Array.isArray(e)?n_t:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?s_t:Js)(t,e)}function mde(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}function a_t(t){return function(){return t}}function l_t(t){return+t}var AJ=[0,1];function Wl(t){return t}function P$(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:a_t(isNaN(e)?NaN:.5)}function c_t(t,e){var r;return t>e&&(r=t,t=e,e=r),function(n){return Math.max(t,Math.min(e,n))}}function u_t(t,e,r){var n=t[0],s=t[1],i=e[0],o=e[1];return s<n?(n=P$(s,n),i=r(o,i)):(n=P$(n,s),i=r(i,o)),function(l){return i(n(l))}}function d_t(t,e,r){var n=Math.min(t.length,e.length)-1,s=new Array(n),i=new Array(n),o=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++o<n;)s[o]=P$(t[o],t[o+1]),i[o]=r(e[o],e[o+1]);return function(l){var c=lde(t,l,1,n)-1;return i[c](s[c](l))}}function ix(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function bk(){var t=AJ,e=AJ,r=yk,n,s,i,o=Wl,l,c,u;function d(){var p=Math.min(t.length,e.length);return o!==Wl&&(o=c_t(t[0],t[p-1])),l=p>2?d_t:u_t,c=u=null,f}function f(p){return p==null||isNaN(p=+p)?i:(c||(c=l(t.map(n),e,r)))(n(o(p)))}return f.invert=function(p){return o(s((u||(u=l(e,t.map(n),Js)))(p)))},f.domain=function(p){return arguments.length?(t=Array.from(p,l_t),d()):t.slice()},f.range=function(p){return arguments.length?(e=Array.from(p),d()):e.slice()},f.rangeRound=function(p){return e=Array.from(p),r=mde,d()},f.clamp=function(p){return arguments.length?(o=p?!0:Wl,d()):o!==Wl},f.interpolate=function(p){return arguments.length?(r=p,d()):r},f.unknown=function(p){return arguments.length?(i=p,f):i},function(p,m){return n=p,s=m,d()}}function hde(){return bk()(Wl,Wl)}function f_t(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function k3(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function X_(t){return t=k3(Math.abs(t)),t?t[1]:NaN}function p_t(t,e){return function(r,n){for(var s=r.length,i=[],o=0,l=t[0],c=0;s>0&&l>0&&(c+l+1>n&&(l=Math.max(1,n-c)),i.push(r.substring(s-=l,s+l)),!((c+=l+1)>n));)l=t[o=(o+1)%t.length];return i.reverse().join(e)}}function m_t(t){return function(e){return e.replace(/[0-9]/g,function(r){return t[+r]})}}var h_t=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function f0(t){if(!(e=h_t.exec(t)))throw new Error("invalid format: "+t);var e;return new D7({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}f0.prototype=D7.prototype;function D7(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}D7.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function g_t(t){e:for(var e=t.length,r=1,n=-1,s;r<e;++r)switch(t[r]){case".":n=s=r;break;case"0":n===0&&(n=r),s=r;break;default:if(!+t[r])break e;n>0&&(n=0);break}return n>0?t.slice(0,n)+t.slice(s+1):t}var gde;function __t(t,e){var r=k3(t,e);if(!r)return t+"";var n=r[0],s=r[1],i=s-(gde=Math.max(-8,Math.min(8,Math.floor(s/3)))*3)+1,o=n.length;return i===o?n:i>o?n+new Array(i-o+1).join("0"):i>0?n.slice(0,i)+"."+n.slice(i):"0."+new Array(1-i).join("0")+k3(t,Math.max(0,e+i-1))[0]}function kJ(t,e){var r=k3(t,e);if(!r)return t+"";var n=r[0],s=r[1];return s<0?"0."+new Array(-s).join("0")+n:n.length>s+1?n.slice(0,s+1)+"."+n.slice(s+1):n+new Array(s-n.length+2).join("0")}const MJ={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:f_t,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>kJ(t*100,e),r:kJ,s:__t,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function PJ(t){return t}var jJ=Array.prototype.map,TJ=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function v_t(t){var e=t.grouping===void 0||t.thousands===void 0?PJ:p_t(jJ.call(t.grouping,Number),t.thousands+""),r=t.currency===void 0?"":t.currency[0]+"",n=t.currency===void 0?"":t.currency[1]+"",s=t.decimal===void 0?".":t.decimal+"",i=t.numerals===void 0?PJ:m_t(jJ.call(t.numerals,String)),o=t.percent===void 0?"%":t.percent+"",l=t.minus===void 0?"−":t.minus+"",c=t.nan===void 0?"NaN":t.nan+"";function u(f){f=f0(f);var p=f.fill,m=f.align,h=f.sign,_=f.symbol,g=f.zero,y=f.width,b=f.comma,x=f.precision,w=f.trim,C=f.type;C==="n"?(b=!0,C="g"):MJ[C]||(x===void 0&&(x=12),w=!0,C="g"),(g||p==="0"&&m==="=")&&(g=!0,p="0",m="=");var k=_==="$"?r:_==="#"&&/[boxX]/.test(C)?"0"+C.toLowerCase():"",A=_==="$"?n:/[%p]/.test(C)?o:"",P=MJ[C],T=/[defgprs%]/.test(C);x=x===void 0?6:/[gprs]/.test(C)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x));function j(R){var D=k,O=A,N,F,U;if(C==="c")O=P(R)+O,R="";else{R=+R;var z=R<0||1/R<0;if(R=isNaN(R)?c:P(Math.abs(R),x),w&&(R=g_t(R)),z&&+R==0&&h!=="+"&&(z=!1),D=(z?h==="("?h:l:h==="-"||h==="("?"":h)+D,O=(C==="s"?TJ[8+gde/3]:"")+O+(z&&h==="("?")":""),T){for(N=-1,F=R.length;++N<F;)if(U=R.charCodeAt(N),48>U||U>57){O=(U===46?s+R.slice(N+1):R.slice(N))+O,R=R.slice(0,N);break}}}b&&!g&&(R=e(R,1/0));var H=D.length+R.length+O.length,W=H<y?new Array(y-H+1).join(p):"";switch(b&&g&&(R=e(W+R,W.length?y-O.length:1/0),W=""),m){case"<":R=D+R+O+W;break;case"=":R=D+W+R+O;break;case"^":R=W.slice(0,H=W.length>>1)+D+R+O+W.slice(H);break;default:R=W+D+R+O;break}return i(R)}return j.toString=function(){return f+""},j}function d(f,p){var m=u((f=f0(f),f.type="f",f)),h=Math.max(-8,Math.min(8,Math.floor(X_(p)/3)))*3,_=Math.pow(10,-h),g=TJ[8+h/3];return function(y){return m(_*y)+g}}return{format:u,formatPrefix:d}}var Aw,$7,_de;y_t({thousands:",",grouping:[3],currency:["$",""]});function y_t(t){return Aw=v_t(t),$7=Aw.format,_de=Aw.formatPrefix,Aw}function b_t(t){return Math.max(0,-X_(Math.abs(t)))}function x_t(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(X_(e)/3)))*3-X_(Math.abs(t)))}function S_t(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,X_(e)-X_(t))+1}function w_t(t,e,r,n){var s=A$(t,e,r),i;switch(n=f0(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(t),Math.abs(e));return n.precision==null&&!isNaN(i=x_t(s,o))&&(n.precision=i),_de(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(i=S_t(s,Math.max(Math.abs(t),Math.abs(e))))&&(n.precision=i-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(i=b_t(s))&&(n.precision=i-(n.type==="%")*2);break}}return $7(n)}function xk(t){var e=t.domain;return t.ticks=function(r){var n=e();return w$(n[0],n[n.length-1],r??10)},t.tickFormat=function(r,n){var s=e();return w_t(s[0],s[s.length-1],r??10,n)},t.nice=function(r){r==null&&(r=10);var n=e(),s=0,i=n.length-1,o=n[s],l=n[i],c,u,d=10;for(l<o&&(u=o,o=l,l=u,u=s,s=i,i=u);d-- >0;){if(u=C$(o,l,r),u===c)return n[s]=o,n[i]=l,e(n);if(u>0)o=Math.floor(o/u)*u,l=Math.ceil(l/u)*u;else if(u<0)o=Math.ceil(o*u)/u,l=Math.floor(l*u)/u;else break;c=u}return t},t}function O7(){var t=hde();return t.copy=function(){return ix(t,O7())},rf.apply(t,arguments),xk(t)}function vde(t,e){t=t.slice();var r=0,n=t.length-1,s=t[r],i=t[n],o;return i<s&&(o=r,r=n,n=o,o=s,s=i,i=o),t[r]=e.floor(s),t[n]=e.ceil(i),t}function EJ(t){return Math.log(t)}function RJ(t){return Math.exp(t)}function C_t(t){return-Math.log(-t)}function A_t(t){return-Math.exp(-t)}function k_t(t){return isFinite(t)?+("1e"+t):t<0?0:t}function M_t(t){return t===10?k_t:t===Math.E?Math.exp:e=>Math.pow(t,e)}function P_t(t){return t===Math.E?Math.log:t===10&&Math.log10||t===2&&Math.log2||(t=Math.log(t),e=>Math.log(e)/t)}function IJ(t){return(e,r)=>-t(-e,r)}function j_t(t){const e=t(EJ,RJ),r=e.domain;let n=10,s,i;function o(){return s=P_t(n),i=M_t(n),r()[0]<0?(s=IJ(s),i=IJ(i),t(C_t,A_t)):t(EJ,RJ),e}return e.base=function(l){return arguments.length?(n=+l,o()):n},e.domain=function(l){return arguments.length?(r(l),o()):r()},e.ticks=l=>{const c=r();let u=c[0],d=c[c.length-1];const f=d<u;f&&([u,d]=[d,u]);let p=s(u),m=s(d),h,_;const g=l==null?10:+l;let y=[];if(!(n%1)&&m-p<g){if(p=Math.floor(p),m=Math.ceil(m),u>0){for(;p<=m;++p)for(h=1;h<n;++h)if(_=p<0?h/i(-p):h*i(p),!(_<u)){if(_>d)break;y.push(_)}}else for(;p<=m;++p)for(h=n-1;h>=1;--h)if(_=p>0?h/i(-p):h*i(p),!(_<u)){if(_>d)break;y.push(_)}y.length*2<g&&(y=w$(u,d,g))}else y=w$(p,m,Math.min(m-p,g)).map(i);return f?y.reverse():y},e.tickFormat=(l,c)=>{if(l==null&&(l=10),c==null&&(c=n===10?"s":","),typeof c!="function"&&(!(n%1)&&(c=f0(c)).precision==null&&(c.trim=!0),c=$7(c)),l===1/0)return c;const u=Math.max(1,n*l/e.ticks().length);return d=>{let f=d/i(Math.round(s(d)));return f*n<n-.5&&(f*=n),f<=u?c(d):""}},e.nice=()=>r(vde(r(),{floor:l=>i(Math.floor(s(l))),ceil:l=>i(Math.ceil(s(l)))})),e}function M3(){const t=j_t(bk()).domain([1,10]);return t.copy=()=>ix(t,M3()).base(t.base()),rf.apply(t,arguments),t}function DJ(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function $J(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function T_t(t){var e=1,r=t(DJ(e),$J(e));return r.constant=function(n){return arguments.length?t(DJ(e=+n),$J(e)):e},xk(r)}function yde(){var t=T_t(bk());return t.copy=function(){return ix(t,yde()).constant(t.constant())},rf.apply(t,arguments)}function OJ(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function E_t(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function R_t(t){return t<0?-t*t:t*t}function I_t(t){var e=t(Wl,Wl),r=1;function n(){return r===1?t(Wl,Wl):r===.5?t(E_t,R_t):t(OJ(r),OJ(1/r))}return e.exponent=function(s){return arguments.length?(r=+s,n()):r},xk(e)}function L7(){var t=I_t(bk());return t.copy=function(){return ix(t,L7()).exponent(t.exponent())},rf.apply(t,arguments),t}function D_t(){return L7.apply(null,arguments).exponent(.5)}function bde(){var t=[.5],e=[0,1],r,n=1;function s(i){return i!=null&&i<=i?e[lde(t,i,0,n)]:r}return s.domain=function(i){return arguments.length?(t=Array.from(i),n=Math.min(t.length,e.length-1),s):t.slice()},s.range=function(i){return arguments.length?(e=Array.from(i),n=Math.min(t.length,e.length-1),s):e.slice()},s.invertExtent=function(i){var o=e.indexOf(i);return[t[o-1],t[o]]},s.unknown=function(i){return arguments.length?(r=i,s):r},s.copy=function(){return bde().domain(t).range(e).unknown(r)},rf.apply(s,arguments)}const lD=new Date,cD=new Date;function Yi(t,e,r,n){function s(i){return t(i=arguments.length===0?new Date:new Date(+i)),i}return s.floor=i=>(t(i=new Date(+i)),i),s.ceil=i=>(t(i=new Date(i-1)),e(i,1),t(i),i),s.round=i=>{const o=s(i),l=s.ceil(i);return i-o<l-i?o:l},s.offset=(i,o)=>(e(i=new Date(+i),o==null?1:Math.floor(o)),i),s.range=(i,o,l)=>{const c=[];if(i=s.ceil(i),l=l==null?1:Math.floor(l),!(i<o)||!(l>0))return c;let u;do c.push(u=new Date(+i)),e(i,l),t(i);while(u<i&&i<o);return c},s.filter=i=>Yi(o=>{if(o>=o)for(;t(o),!i(o);)o.setTime(o-1)},(o,l)=>{if(o>=o)if(l<0)for(;++l<=0;)for(;e(o,-1),!i(o););else for(;--l>=0;)for(;e(o,1),!i(o););}),r&&(s.count=(i,o)=>(lD.setTime(+i),cD.setTime(+o),t(lD),t(cD),Math.floor(r(lD,cD))),s.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?s.filter(n?o=>n(o)%i===0:o=>s.count(0,o)%i===0):s)),s}const P3=Yi(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);P3.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?Yi(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):P3);P3.range;const Id=1e3,Yl=Id*60,Dd=Yl*60,Gd=Dd*24,N7=Gd*7,LJ=Gd*30,uD=Gd*365,eh=Yi(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*Id)},(t,e)=>(e-t)/Id,t=>t.getUTCSeconds());eh.range;const F7=Yi(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Id)},(t,e)=>{t.setTime(+t+e*Yl)},(t,e)=>(e-t)/Yl,t=>t.getMinutes());F7.range;const U7=Yi(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*Yl)},(t,e)=>(e-t)/Yl,t=>t.getUTCMinutes());U7.range;const B7=Yi(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Id-t.getMinutes()*Yl)},(t,e)=>{t.setTime(+t+e*Dd)},(t,e)=>(e-t)/Dd,t=>t.getHours());B7.range;const z7=Yi(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*Dd)},(t,e)=>(e-t)/Dd,t=>t.getUTCHours());z7.range;const ox=Yi(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Yl)/Gd,t=>t.getDate()-1);ox.range;const Sk=Yi(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/Gd,t=>t.getUTCDate()-1);Sk.range;const xde=Yi(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/Gd,t=>Math.floor(t/Gd));xde.range;function Vh(t){return Yi(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,r)=>{e.setDate(e.getDate()+r*7)},(e,r)=>(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*Yl)/N7)}const wk=Vh(0),j3=Vh(1),$_t=Vh(2),O_t=Vh(3),J_=Vh(4),L_t=Vh(5),N_t=Vh(6);wk.range;j3.range;$_t.range;O_t.range;J_.range;L_t.range;N_t.range;function Hh(t){return Yi(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCDate(e.getUTCDate()+r*7)},(e,r)=>(r-e)/N7)}const Ck=Hh(0),T3=Hh(1),F_t=Hh(2),U_t=Hh(3),ev=Hh(4),B_t=Hh(5),z_t=Hh(6);Ck.range;T3.range;F_t.range;U_t.range;ev.range;B_t.range;z_t.range;const q7=Yi(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());q7.range;const V7=Yi(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());V7.range;const Wd=Yi(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());Wd.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:Yi(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)});Wd.range;const Yd=Yi(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());Yd.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:Yi(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)});Yd.range;function Sde(t,e,r,n,s,i){const o=[[eh,1,Id],[eh,5,5*Id],[eh,15,15*Id],[eh,30,30*Id],[i,1,Yl],[i,5,5*Yl],[i,15,15*Yl],[i,30,30*Yl],[s,1,Dd],[s,3,3*Dd],[s,6,6*Dd],[s,12,12*Dd],[n,1,Gd],[n,2,2*Gd],[r,1,N7],[e,1,LJ],[e,3,3*LJ],[t,1,uD]];function l(u,d,f){const p=d<u;p&&([u,d]=[d,u]);const m=f&&typeof f.range=="function"?f:c(u,d,f),h=m?m.range(u,+d+1):[];return p?h.reverse():h}function c(u,d,f){const p=Math.abs(d-u)/f,m=j7(([,,g])=>g).right(o,p);if(m===o.length)return t.every(A$(u/uD,d/uD,f));if(m===0)return P3.every(Math.max(A$(u,d,f),1));const[h,_]=o[p/o[m-1][2]<o[m][2]/p?m-1:m];return h.every(_)}return[l,c]}const[q_t,V_t]=Sde(Yd,V7,Ck,xde,z7,U7),[H_t,G_t]=Sde(Wd,q7,wk,ox,B7,F7);function dD(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function fD(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function $y(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}function W_t(t){var e=t.dateTime,r=t.date,n=t.time,s=t.periods,i=t.days,o=t.shortDays,l=t.months,c=t.shortMonths,u=Oy(s),d=Ly(s),f=Oy(i),p=Ly(i),m=Oy(o),h=Ly(o),_=Oy(l),g=Ly(l),y=Oy(c),b=Ly(c),x={a:z,A:H,b:W,B:K,c:null,d:qJ,e:qJ,f:gvt,g:kvt,G:Pvt,H:pvt,I:mvt,j:hvt,L:wde,m:_vt,M:vvt,p:q,q:X,Q:GJ,s:WJ,S:yvt,u:bvt,U:xvt,V:Svt,w:wvt,W:Cvt,x:null,X:null,y:Avt,Y:Mvt,Z:jvt,"%":HJ},w={a:Q,A:Y,b:Z,B:re,c:null,d:VJ,e:VJ,f:Ivt,g:qvt,G:Hvt,H:Tvt,I:Evt,j:Rvt,L:Ade,m:Dvt,M:$vt,p:fe,q:de,Q:GJ,s:WJ,S:Ovt,u:Lvt,U:Nvt,V:Fvt,w:Uvt,W:Bvt,x:null,X:null,y:zvt,Y:Vvt,Z:Gvt,"%":HJ},C={a:j,A:R,b:D,B:O,c:N,d:BJ,e:BJ,f:cvt,g:UJ,G:FJ,H:zJ,I:zJ,j:ivt,L:lvt,m:svt,M:ovt,p:T,q:nvt,Q:dvt,s:fvt,S:avt,u:X_t,U:J_t,V:evt,w:Z_t,W:tvt,x:F,X:U,y:UJ,Y:FJ,Z:rvt,"%":uvt};x.x=k(r,x),x.X=k(n,x),x.c=k(e,x),w.x=k(r,w),w.X=k(n,w),w.c=k(e,w);function k(se,le){return function(ee){var J=[],me=-1,pe=0,Se=se.length,ve,xe,qe;for(ee instanceof Date||(ee=new Date(+ee));++me<Se;)se.charCodeAt(me)===37&&(J.push(se.slice(pe,me)),(xe=NJ[ve=se.charAt(++me)])!=null?ve=se.charAt(++me):xe=ve==="e"?" ":"0",(qe=le[ve])&&(ve=qe(ee,xe)),J.push(ve),pe=me+1);return J.push(se.slice(pe,me)),J.join("")}}function A(se,le){return function(ee){var J=$y(1900,void 0,1),me=P(J,se,ee+="",0),pe,Se;if(me!=ee.length)return null;if("Q"in J)return new Date(J.Q);if("s"in J)return new Date(J.s*1e3+("L"in J?J.L:0));if(le&&!("Z"in J)&&(J.Z=0),"p"in J&&(J.H=J.H%12+J.p*12),J.m===void 0&&(J.m="q"in J?J.q:0),"V"in J){if(J.V<1||J.V>53)return null;"w"in J||(J.w=1),"Z"in J?(pe=fD($y(J.y,0,1)),Se=pe.getUTCDay(),pe=Se>4||Se===0?T3.ceil(pe):T3(pe),pe=Sk.offset(pe,(J.V-1)*7),J.y=pe.getUTCFullYear(),J.m=pe.getUTCMonth(),J.d=pe.getUTCDate()+(J.w+6)%7):(pe=dD($y(J.y,0,1)),Se=pe.getDay(),pe=Se>4||Se===0?j3.ceil(pe):j3(pe),pe=ox.offset(pe,(J.V-1)*7),J.y=pe.getFullYear(),J.m=pe.getMonth(),J.d=pe.getDate()+(J.w+6)%7)}else("W"in J||"U"in J)&&("w"in J||(J.w="u"in J?J.u%7:"W"in J?1:0),Se="Z"in J?fD($y(J.y,0,1)).getUTCDay():dD($y(J.y,0,1)).getDay(),J.m=0,J.d="W"in J?(J.w+6)%7+J.W*7-(Se+5)%7:J.w+J.U*7-(Se+6)%7);return"Z"in J?(J.H+=J.Z/100|0,J.M+=J.Z%100,fD(J)):dD(J)}}function P(se,le,ee,J){for(var me=0,pe=le.length,Se=ee.length,ve,xe;me<pe;){if(J>=Se)return-1;if(ve=le.charCodeAt(me++),ve===37){if(ve=le.charAt(me++),xe=C[ve in NJ?le.charAt(me++):ve],!xe||(J=xe(se,ee,J))<0)return-1}else if(ve!=ee.charCodeAt(J++))return-1}return J}function T(se,le,ee){var J=u.exec(le.slice(ee));return J?(se.p=d.get(J[0].toLowerCase()),ee+J[0].length):-1}function j(se,le,ee){var J=m.exec(le.slice(ee));return J?(se.w=h.get(J[0].toLowerCase()),ee+J[0].length):-1}function R(se,le,ee){var J=f.exec(le.slice(ee));return J?(se.w=p.get(J[0].toLowerCase()),ee+J[0].length):-1}function D(se,le,ee){var J=y.exec(le.slice(ee));return J?(se.m=b.get(J[0].toLowerCase()),ee+J[0].length):-1}function O(se,le,ee){var J=_.exec(le.slice(ee));return J?(se.m=g.get(J[0].toLowerCase()),ee+J[0].length):-1}function N(se,le,ee){return P(se,e,le,ee)}function F(se,le,ee){return P(se,r,le,ee)}function U(se,le,ee){return P(se,n,le,ee)}function z(se){return o[se.getDay()]}function H(se){return i[se.getDay()]}function W(se){return c[se.getMonth()]}function K(se){return l[se.getMonth()]}function q(se){return s[+(se.getHours()>=12)]}function X(se){return 1+~~(se.getMonth()/3)}function Q(se){return o[se.getUTCDay()]}function Y(se){return i[se.getUTCDay()]}function Z(se){return c[se.getUTCMonth()]}function re(se){return l[se.getUTCMonth()]}function fe(se){return s[+(se.getUTCHours()>=12)]}function de(se){return 1+~~(se.getUTCMonth()/3)}return{format:function(se){var le=k(se+="",x);return le.toString=function(){return se},le},parse:function(se){var le=A(se+="",!1);return le.toString=function(){return se},le},utcFormat:function(se){var le=k(se+="",w);return le.toString=function(){return se},le},utcParse:function(se){var le=A(se+="",!0);return le.toString=function(){return se},le}}}var NJ={"-":"",_:" ",0:"0"},oo=/^\s*\d+/,Y_t=/^%/,K_t=/[\\^$*+?|[\]().{}]/g;function cs(t,e,r){var n=t<0?"-":"",s=(n?-t:t)+"",i=s.length;return n+(i<r?new Array(r-i+1).join(e)+s:s)}function Q_t(t){return t.replace(K_t,"\\$&")}function Oy(t){return new RegExp("^(?:"+t.map(Q_t).join("|")+")","i")}function Ly(t){return new Map(t.map((e,r)=>[e.toLowerCase(),r]))}function Z_t(t,e,r){var n=oo.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function X_t(t,e,r){var n=oo.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function J_t(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function evt(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function tvt(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function FJ(t,e,r){var n=oo.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function UJ(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function rvt(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function nvt(t,e,r){var n=oo.exec(e.slice(r,r+1));return n?(t.q=n[0]*3-3,r+n[0].length):-1}function svt(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function BJ(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function ivt(t,e,r){var n=oo.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function zJ(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function ovt(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function avt(t,e,r){var n=oo.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function lvt(t,e,r){var n=oo.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function cvt(t,e,r){var n=oo.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function uvt(t,e,r){var n=Y_t.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function dvt(t,e,r){var n=oo.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function fvt(t,e,r){var n=oo.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function qJ(t,e){return cs(t.getDate(),e,2)}function pvt(t,e){return cs(t.getHours(),e,2)}function mvt(t,e){return cs(t.getHours()%12||12,e,2)}function hvt(t,e){return cs(1+ox.count(Wd(t),t),e,3)}function wde(t,e){return cs(t.getMilliseconds(),e,3)}function gvt(t,e){return wde(t,e)+"000"}function _vt(t,e){return cs(t.getMonth()+1,e,2)}function vvt(t,e){return cs(t.getMinutes(),e,2)}function yvt(t,e){return cs(t.getSeconds(),e,2)}function bvt(t){var e=t.getDay();return e===0?7:e}function xvt(t,e){return cs(wk.count(Wd(t)-1,t),e,2)}function Cde(t){var e=t.getDay();return e>=4||e===0?J_(t):J_.ceil(t)}function Svt(t,e){return t=Cde(t),cs(J_.count(Wd(t),t)+(Wd(t).getDay()===4),e,2)}function wvt(t){return t.getDay()}function Cvt(t,e){return cs(j3.count(Wd(t)-1,t),e,2)}function Avt(t,e){return cs(t.getFullYear()%100,e,2)}function kvt(t,e){return t=Cde(t),cs(t.getFullYear()%100,e,2)}function Mvt(t,e){return cs(t.getFullYear()%1e4,e,4)}function Pvt(t,e){var r=t.getDay();return t=r>=4||r===0?J_(t):J_.ceil(t),cs(t.getFullYear()%1e4,e,4)}function jvt(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+cs(e/60|0,"0",2)+cs(e%60,"0",2)}function VJ(t,e){return cs(t.getUTCDate(),e,2)}function Tvt(t,e){return cs(t.getUTCHours(),e,2)}function Evt(t,e){return cs(t.getUTCHours()%12||12,e,2)}function Rvt(t,e){return cs(1+Sk.count(Yd(t),t),e,3)}function Ade(t,e){return cs(t.getUTCMilliseconds(),e,3)}function Ivt(t,e){return Ade(t,e)+"000"}function Dvt(t,e){return cs(t.getUTCMonth()+1,e,2)}function $vt(t,e){return cs(t.getUTCMinutes(),e,2)}function Ovt(t,e){return cs(t.getUTCSeconds(),e,2)}function Lvt(t){var e=t.getUTCDay();return e===0?7:e}function Nvt(t,e){return cs(Ck.count(Yd(t)-1,t),e,2)}function kde(t){var e=t.getUTCDay();return e>=4||e===0?ev(t):ev.ceil(t)}function Fvt(t,e){return t=kde(t),cs(ev.count(Yd(t),t)+(Yd(t).getUTCDay()===4),e,2)}function Uvt(t){return t.getUTCDay()}function Bvt(t,e){return cs(T3.count(Yd(t)-1,t),e,2)}function zvt(t,e){return cs(t.getUTCFullYear()%100,e,2)}function qvt(t,e){return t=kde(t),cs(t.getUTCFullYear()%100,e,2)}function Vvt(t,e){return cs(t.getUTCFullYear()%1e4,e,4)}function Hvt(t,e){var r=t.getUTCDay();return t=r>=4||r===0?ev(t):ev.ceil(t),cs(t.getUTCFullYear()%1e4,e,4)}function Gvt(){return"+0000"}function HJ(){return"%"}function GJ(t){return+t}function WJ(t){return Math.floor(+t/1e3)}var Qg,Mde,Pde;Wvt({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Wvt(t){return Qg=W_t(t),Mde=Qg.format,Qg.parse,Pde=Qg.utcFormat,Qg.utcParse,Qg}function Yvt(t){return new Date(t)}function Kvt(t){return t instanceof Date?+t:+new Date(+t)}function H7(t,e,r,n,s,i,o,l,c,u){var d=hde(),f=d.invert,p=d.domain,m=u(".%L"),h=u(":%S"),_=u("%I:%M"),g=u("%I %p"),y=u("%a %d"),b=u("%b %d"),x=u("%B"),w=u("%Y");function C(k){return(c(k)<k?m:l(k)<k?h:o(k)<k?_:i(k)<k?g:n(k)<k?s(k)<k?y:b:r(k)<k?x:w)(k)}return d.invert=function(k){return new Date(f(k))},d.domain=function(k){return arguments.length?p(Array.from(k,Kvt)):p().map(Yvt)},d.ticks=function(k){var A=p();return t(A[0],A[A.length-1],k??10)},d.tickFormat=function(k,A){return A==null?C:u(A)},d.nice=function(k){var A=p();return(!k||typeof k.range!="function")&&(k=e(A[0],A[A.length-1],k??10)),k?p(vde(A,k)):d},d.copy=function(){return ix(d,H7(t,e,r,n,s,i,o,l,c,u))},d}function jde(){return rf.apply(H7(H_t,G_t,Wd,q7,wk,ox,B7,F7,eh,Mde).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Qvt(){return rf.apply(H7(q_t,V_t,Yd,V7,Ck,Sk,z7,U7,eh,Pde).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Zvt(){var t=0,e=1,r,n,s,i,o=Wl,l=!1,c;function u(f){return f==null||isNaN(f=+f)?c:o(s===0?.5:(f=(i(f)-r)*s,l?Math.max(0,Math.min(1,f)):f))}u.domain=function(f){return arguments.length?([t,e]=f,r=i(t=+t),n=i(e=+e),s=r===n?0:1/(n-r),u):[t,e]},u.clamp=function(f){return arguments.length?(l=!!f,u):l},u.interpolator=function(f){return arguments.length?(o=f,u):o};function d(f){return function(p){var m,h;return arguments.length?([m,h]=p,o=f(m,h),u):[o(0),o(1)]}}return u.range=d(yk),u.rangeRound=d(mde),u.unknown=function(f){return arguments.length?(c=f,u):c},function(f){return i=f,r=f(t),n=f(e),s=r===n?0:1/(n-r),u}}function Xvt(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Tde(){var t=xk(Zvt()(Wl));return t.copy=function(){return Xvt(t,Tde())},Fgt.apply(t,arguments)}function Ede(t){return t.type==="piecewise"?bde(t.thresholds,t.colors):Tde([t.min??0,t.max??100],t.color)}function tv(t){return t.values?w3(t.values,t.colors).unknown(t.unknownColor??null):w3(t.colors.map((e,r)=>r),t.colors).unknown(t.unknownColor??null)}function w_(t){return t.type==="ordinal"?tv(t):Ede(t)}function Rde(t,e,r){const{tickMaxStep:n,tickMinStep:s,tickNumber:i}=t,o=s===void 0?999:Math.floor(Math.abs(e[1]-e[0])/s),l=n===void 0?2:Math.ceil(Math.abs(e[1]-e[0])/n);return Math.min(o,Math.max(l,i??r))}function Ide(t,e){return e[1]-e[0]===0?1:t/((e[1]-e[0])/100)}function G7(t){return Math.floor(Math.abs(t)/50)}function Dde(t,e){const r=yde(t,e),n=r.ticks,{negativeScale:s,linearScale:i,positiveScale:o}=Jvt(r);return r.ticks=l=>{const c=n(l),u=r.constant();let d=0,f=0,p=0;c.forEach(h=>{h>-u&&h<u&&(f+=1),h<=-u&&(d+=1),h>=u&&(p+=1)});const m=[];if(d>0&&m.push(...s.ticks(d)),f>0){const h=i.ticks(f);m.at(-1)===h[0]?m.push(...h.slice(1)):m.push(...h)}if(p>0){const h=o.ticks(p);m.at(-1)===h[0]?m.push(...h.slice(1)):m.push(...h)}return m},r.tickFormat=(l=10,c)=>{const u=r.constant(),[d,f]=r.domain(),p=f-d,m=s.domain(),h=m[1]-m[0],g=(p===0?0:h/p)*l,y=i.domain(),b=y[1]-y[0],w=(p===0?0:b/p)*l,C=o.domain(),k=C[1]-C[0],P=(p===0?0:k/p)*l,T=s.tickFormat(g,c),j=i.tickFormat(w,c),R=o.tickFormat(P,c);return D=>(D.valueOf()<=-u?T:D.valueOf()>=u?R:j)(D)},r.copy=()=>Dde(r.domain(),r.range()).constant(r.constant()),r}function Jvt(t){const e=t.constant(),r=t.domain(),n=[r[0],Math.min(r[1],-e)],s=M3(n,t.range()),i=[Math.max(r[0],-e),Math.min(r[1],e)],o=O7(i,t.range()),l=[Math.max(r[0],e),r[1]],c=M3(l,t.range());return{negativeScale:s,linearScale:o,positiveScale:c}}function Ak(t,e,r){switch(t){case"log":return M3(e,r);case"pow":return L7(e,r);case"sqrt":return D_t(e,r);case"time":return jde(e,r);case"utc":return Qvt(e,r);case"symlog":return Dde(e,r);default:return O7(e,r)}}const j$=t=>t?.[0]instanceof Date;function T$(t,e,r){const n=jde(t,e);return(s,{location:i})=>i==="tick"?n.tickFormat(r)(s):`${s.toLocaleString()}`}let YJ,KJ;class e1t{types=new Set;constructor(){if(YJ)throw new Error("You can only create one instance!");YJ=this.types}addType(e){this.types.add(e)}getTypes(){return this.types}}class t1t{types=new Set;constructor(){if(KJ)throw new Error("You can only create one instance!");KJ=this.types}addType(e){this.types.add(e)}getTypes(){return this.types}}const kk=new e1t;kk.addType("bar");kk.addType("line");kk.addType("scatter");const $de=new t1t;$de.addType("radar");function W7(t){return kk.getTypes().has(t)}const r1t=(t,e,r,n)=>{const s=new Set;return Object.keys(e).filter(W7).forEach(o=>{const l=r[o]?.series??{},c=e[o].axisTooltipGetter?.(l);c!==void 0&&c.forEach(({axisId:u,direction:d})=>{d===t&&s.add(u??n)})}),s};function ao(t){return t.bandwidth!==void 0}function n1t(t){return ao(t)&&t.paddingOuter!==void 0}function s1t(t,e,r){const n=e==="x"?[t.left,t.left+t.width]:[t.top+t.height,t.top];return r?[n[1],n[0]]:n}const i1t=.2,o1t=.1;function Ode({scales:t,drawingArea:e,formattedSeries:r,axis:n,seriesConfig:s,axisDirection:i,zoomMap:o,domains:l}){if(n===void 0)return{axis:{},axisIds:[]};const c=r1t(i,s,r,n[0].id),u={};return n.forEach(d=>{const f=d,p=t[f.id],m=o?.get(f.id),h=m?[m.start,m.end]:[0,100],_=s1t(e,i,f.reverse??!1),g=!f.ignoreTooltip&&c.has(f.id),y=f.data??[];if(ao(p)){const k=i==="y"?[_[1],_[0]]:_;if(n1t(p)&&Hd(f)){const A=f.categoryGapRatio??i1t,P=f.barGapRatio??o1t;u[f.id]=ce({offset:0,height:0,categoryGapRatio:A,barGapRatio:P,triggerTooltip:g},f,{data:y,scale:p,tickNumber:f.data.length,colorScale:f.colorMap&&(f.colorMap.type==="ordinal"?tv(ce({values:f.data},f.colorMap)):w_(f.colorMap))})}if(Vp(f)&&(u[f.id]=ce({offset:0,height:0,triggerTooltip:g},f,{data:y,scale:p,tickNumber:f.data.length,colorScale:f.colorMap&&(f.colorMap.type==="ordinal"?tv(ce({values:f.data},f.colorMap)):w_(f.colorMap))})),j$(f.data)){const A=T$(f.data,k,f.tickNumber);u[f.id].valueFormatter=f.valueFormatter??A}return}if(f.scaleType==="band"||f.scaleType==="point")return;const b=l[f.id].tickNumber,x=f,w=x.scaleType??"linear",C=Ide(b,h);u[f.id]=ce({offset:0,height:0,triggerTooltip:g},x,{data:y,scaleType:w,scale:p,tickNumber:C,colorScale:x.colorMap&&Ede(x.colorMap),valueFormatter:f.valueFormatter??Agt(C,Ak(w,_.map(k=>p.invert(k)),_))})}),{axis:u,axisIds:n.map(({id:d})=>d)}}function a1t(t){return t!=null}function l1t(t,e,r,n){const s=t?.length??0,i=Math.floor(e*s/100),o=Math.ceil(r*s/100);return function(c,u){return(c[n]??t?.[u])==null?!0:u>=i&&u<o}}function c1t(t,e,r,n,s){const i=t[0].valueOf(),o=t[1].valueOf(),l=i+e*(o-i)/100,c=i+r*(o-i)/100;return function(d,f){const p=d[n]??s?.[f];return p==null?!0:p>=l&&p<=c}}const u1t=t=>({currentAxisId:e,seriesXAxisId:r,seriesYAxisId:n,isDefaultAxis:s})=>(i,o)=>!(e===r?n:r)||s?Object.values(t??{})[0]?.(i,o)??!0:[n,r].filter(u=>u!==e).map(u=>t[u??""]).filter(a1t).every(u=>u(i,o)),QJ=t=>(e=[])=>e.reduce((r,n)=>{const{zoom:s,id:i,reverse:o}=n,l=P7(s,i,t,o);return l&&(r[i]=l),r},{}),d1t=.2;function Lde(t,e,r){const n=e==="x"?[t.left,t.left+t.width]:[t.top+t.height,t.top];return r.reverse?[n[1],n[0]]:n}function Nde(t,e){const r=[0,1];if(Hd(t)){const i=t.categoryGapRatio??d1t;return vk(e,r).paddingInner(i).paddingOuter(i/2)}if(Vp(t))return ude(e,r);const n=t.scaleType??"linear",s=Ak(n,e,r);return Mgt(t)&&t.constant!=null&&s.constant(t.constant),s}const Fde=(t,e)=>{const r=t[1]-t[0],n=e[1]-e[0],s=t[0]-e[0]*r/n,i=t[1]+(100-e[1])*r/n;return[s,i]},f1t=(t,e,r,n,s,i,o)=>{const l=r==="x"?n[t].xExtremumGetter:n[t].yExtremumGetter,c=i[t]?.series??{};return l?.({series:c,axis:e,axisIndex:s,isDefaultAxis:s===0,getFilters:o})??[1/0,-1/0]};function Mk(t,e,r,n,s,i){const o=Object.keys(r).filter(W7);let l=[1/0,-1/0];for(const c of o){const[u,d]=f1t(c,t,e,r,n,s,i);l=[Math.min(l[0],u),Math.max(l[1],d)]}return Number.isNaN(l[0])||Number.isNaN(l[1])?[1/0,-1/0]:l}const p1t=(t,e,r,n)=>{if(t.domainLimit!==void 0)return t.domainLimit;if(e==="x")for(const s of n.line?.seriesOrder??[]){const i=n.line.series[s];if(i.xAxisId===t.id||i.xAxisId===void 0&&r===0)return"strict"}return"nice"};function Ude(t,e,r){return Ak(t??"linear",e,[0,1]).nice(r).domain()}function Bde(t,e,r,n,[s,i],o,l){const c=qde(t,e,r,n,l);let u=Vde(t,s,i);if(typeof c=="function"){const{min:f,max:p}=c(s.valueOf(),i.valueOf());u[0]=f,u[1]=p}const d=Rde(t,u,o);return c==="nice"&&(u=Ude(t.scaleType,u,d)),u=["min"in t?t.min??u[0]:u[0],"max"in t?t.max??u[1]:u[1]],{domain:u,tickNumber:d}}function zde(t,e,r,n,[s,i],o,l){const c=qde(t,e,r,n,l);let u=Vde(t,s,i);if(typeof c=="function"){const{min:d,max:f}=c(s.valueOf(),i.valueOf());u[0]=d,u[1]=f}return c==="nice"&&(u=Ude(t.scaleType,u,o)),[t.min??u[0],t.max??u[1]]}function qde(t,e,r,n,s){return s?p1t(t,e,r,n):t.domainLimit??"nice"}function Vde(t,e,r){let n=e,s=r;return"max"in t&&t.max!=null&&t.max<e&&(n=t.max),"min"in t&&t.min!=null&&t.min>e&&(s=t.min),!("min"in t)&&!("max"in t)?[n,s]:[t.min??n,t.max??s]}class m1t{constructor(){this.ids=[],this.values=[],this.length=0}clear(){this.length=0}push(e,r){let n=this.length++;for(;n>0;){const s=n-1>>1,i=this.values[s];if(r>=i)break;this.ids[n]=this.ids[s],this.values[n]=i,n=s}this.ids[n]=e,this.values[n]=r}pop(){if(this.length===0)return;const e=this.ids,r=this.values,n=e[0],s=--this.length;if(s>0){const i=e[s],o=r[s];let l=0;const c=s>>1;for(;l<c;){const u=(l<<1)+1,d=u+1,f=u+(+(d<s)&+(r[d]<r[u]));if(r[f]>=o)break;e[l]=e[f],r[l]=r[f],l=f}e[l]=i,r[l]=o}return n}peek(){return this.length>0?this.ids[0]:void 0}peekValue(){return this.length>0?this.values[0]:void 0}shrink(){this.ids.length=this.values.length=this.length}}const ZJ=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],pD=3;class Y7{static from(e,r=0){if(r%8!==0)throw new Error("byteOffset must be 8-byte aligned.");if(!e||e.byteLength===void 0||e.buffer)throw new Error("Data must be an instance of ArrayBuffer or SharedArrayBuffer.");const[n,s]=new Uint8Array(e,r+0,2);if(n!==251)throw new Error("Data does not appear to be in a Flatbush format.");const i=s>>4;if(i!==pD)throw new Error(`Got v${i} data when expected v${pD}.`);const o=ZJ[s&15];if(!o)throw new Error("Unrecognized array type.");const[l]=new Uint16Array(e,r+2,1),[c]=new Uint32Array(e,r+4,1);return new Y7(c,l,o,void 0,e,r)}constructor(e,r=16,n=Float64Array,s=ArrayBuffer,i,o=0){if(e===void 0)throw new Error("Missing required argument: numItems.");if(isNaN(e)||e<=0)throw new Error(`Unexpected numItems value: ${e}.`);this.numItems=+e,this.nodeSize=Math.min(Math.max(+r,2),65535),this.byteOffset=o;let l=e,c=l;this._levelBounds=[l*4];do l=Math.ceil(l/this.nodeSize),c+=l,this._levelBounds.push(c*4);while(l!==1);this.ArrayType=n,this.IndexArrayType=c<16384?Uint16Array:Uint32Array;const u=ZJ.indexOf(n),d=c*4*n.BYTES_PER_ELEMENT;if(u<0)throw new Error(`Unexpected typed array class: ${n}.`);if(i)this.data=i,this._boxes=new n(i,o+8,c*4),this._indices=new this.IndexArrayType(i,o+8+d,c),this._pos=c*4,this.minX=this._boxes[this._pos-4],this.minY=this._boxes[this._pos-3],this.maxX=this._boxes[this._pos-2],this.maxY=this._boxes[this._pos-1];else{const f=this.data=new s(8+d+c*this.IndexArrayType.BYTES_PER_ELEMENT);this._boxes=new n(f,8,c*4),this._indices=new this.IndexArrayType(f,8+d,c),this._pos=0,this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0,new Uint8Array(f,0,2).set([251,(pD<<4)+u]),new Uint16Array(f,2,1)[0]=r,new Uint32Array(f,4,1)[0]=e}this._queue=new m1t}add(e,r,n=e,s=r){const i=this._pos>>2,o=this._boxes;return this._indices[i]=i,o[this._pos++]=e,o[this._pos++]=r,o[this._pos++]=n,o[this._pos++]=s,e<this.minX&&(this.minX=e),r<this.minY&&(this.minY=r),n>this.maxX&&(this.maxX=n),s>this.maxY&&(this.maxY=s),i}finish(){if(this._pos>>2!==this.numItems)throw new Error(`Added ${this._pos>>2} items when expected ${this.numItems}.`);const e=this._boxes;if(this.numItems<=this.nodeSize){e[this._pos++]=this.minX,e[this._pos++]=this.minY,e[this._pos++]=this.maxX,e[this._pos++]=this.maxY;return}const r=this.maxX-this.minX||1,n=this.maxY-this.minY||1,s=new Uint32Array(this.numItems),i=65535;for(let o=0,l=0;o<this.numItems;o++){const c=e[l++],u=e[l++],d=e[l++],f=e[l++],p=Math.floor(i*((c+d)/2-this.minX)/r),m=Math.floor(i*((u+f)/2-this.minY)/n);s[o]=_1t(p,m)}E$(s,e,this._indices,0,this.numItems-1,this.nodeSize);for(let o=0,l=0;o<this._levelBounds.length-1;o++){const c=this._levelBounds[o];for(;l<c;){const u=l;let d=e[l++],f=e[l++],p=e[l++],m=e[l++];for(let h=1;h<this.nodeSize&&l<c;h++)d=Math.min(d,e[l++]),f=Math.min(f,e[l++]),p=Math.max(p,e[l++]),m=Math.max(m,e[l++]);this._indices[this._pos>>2]=u,e[this._pos++]=d,e[this._pos++]=f,e[this._pos++]=p,e[this._pos++]=m}}}search(e,r,n,s,i){if(this._pos!==this._boxes.length)throw new Error("Data not yet indexed - call index.finish().");let o=this._boxes.length-4;const l=[],c=[];for(;o!==void 0;){const u=Math.min(o+this.nodeSize*4,XJ(o,this._levelBounds));for(let d=o;d<u;d+=4){if(n<this._boxes[d]||s<this._boxes[d+1]||e>this._boxes[d+2]||r>this._boxes[d+3])continue;const f=this._indices[d>>2]|0;o>=this.numItems*4?l.push(f):(i===void 0||i(f))&&(c.push(f),c.push(this._boxes[d]),c.push(this._boxes[d+1]))}o=l.pop()}return c}neighbors(e,r,n=1/0,s=1/0,i,o=h1t){if(this._pos!==this._boxes.length)throw new Error("Data not yet indexed - call index.finish().");let l=this._boxes.length-4;const c=this._queue,u=[];e:for(;l!==void 0;){const d=Math.min(l+this.nodeSize*4,XJ(l,this._levelBounds));for(let f=l;f<d;f+=4){const p=this._indices[f>>2]|0,m=this._boxes[f],h=this._boxes[f+1],_=this._boxes[f+2],g=this._boxes[f+3],y=e<m?m-e:e>_?e-_:0,b=r<h?h-r:r>g?r-g:0,x=o(y,b);x>s||(l>=this.numItems*4?c.push(p<<1,x):(i===void 0||i(p))&&c.push((p<<1)+1,x))}for(;c.length&&c.peek()&1;)if(c.peekValue()>s||(u.push(c.pop()>>1),u.length===n))break e;l=c.length?c.pop()>>1:void 0}return c.clear(),u}}function h1t(t,e){return t*t+e*e}function XJ(t,e){let r=0,n=e.length-1;for(;r<n;){const s=r+n>>1;e[s]>t?n=s:r=s+1}return e[r]}function E$(t,e,r,n,s,i){if(Math.floor(n/i)>=Math.floor(s/i))return;const o=t[n],l=t[n+s>>1],c=t[s];let u=c;const d=Math.max(o,l);c>d?u=d:d===o?u=Math.max(l,c):d===l&&(u=Math.max(o,c));let f=n-1,p=s+1;for(;;){do f++;while(t[f]<u);do p--;while(t[p]>u);if(f>=p)break;g1t(t,e,r,f,p)}E$(t,e,r,n,p,i),E$(t,e,r,p+1,s,i)}function g1t(t,e,r,n,s){const i=t[n];t[n]=t[s],t[s]=i;const o=4*n,l=4*s,c=e[o],u=e[o+1],d=e[o+2],f=e[o+3];e[o]=e[l],e[o+1]=e[l+1],e[o+2]=e[l+2],e[o+3]=e[l+3],e[l]=c,e[l+1]=u,e[l+2]=d,e[l+3]=f;const p=r[n];r[n]=r[s],r[s]=p}function _1t(t,e){let r=t^e,n=65535^r,s=65535^(t|e),i=t&(e^65535),o=r|n>>1,l=r>>1^r,c=s>>1^n&i>>1^s,u=r&s>>1^i>>1^i;r=o,n=l,s=c,i=u,o=r&r>>2^n&n>>2,l=r&n>>2^n&(r^n)>>2,c^=r&s>>2^n&i>>2,u^=n&s>>2^(r^n)&i>>2,r=o,n=l,s=c,i=u,o=r&r>>4^n&n>>4,l=r&n>>4^n&(r^n)>>4,c^=r&s>>4^n&i>>4,u^=n&s>>4^(r^n)&i>>4,r=o,n=l,s=c,i=u,c^=r&s>>8^n&i>>8,u^=n&s>>8^(r^n)&i>>8,r=c^c>>1,n=u^u>>1;let d=t^e,f=n|65535^(d|r);return d=(d|d<<8)&16711935,d=(d|d<<4)&252645135,d=(d|d<<2)&858993459,d=(d|d<<1)&1431655765,f=(f|f<<8)&16711935,f=(f|f<<4)&252645135,f=(f|f<<2)&858993459,f=(f|f<<1)&1431655765,(f<<1|d)>>>0}const v1t=t=>{const e=new Map;return t.forEach(r=>{e.set(r.axisId,r)}),e},Hde=t=>t.zoom,Gde=Vt([Hde],t=>t?.isInteracting),Hp=Vt([Hde],t=>t?.zoomData&&v1t(t?.zoomData)),JJ=Vt([Hp,(t,e)=>e],(t,e)=>t?.get(e)),ax=Vt([oc,Hc],(t,e)=>ce({},QJ("x")(t),QJ("y")(e)));Vt([ax,(t,e)=>e],(t,e)=>t[e]);const y1t=Vt([vl],function(e){return G7(e.width)}),b1t=Vt([vl],function(e){return G7(e.height)}),K7=Vt([oc,Mo,Gc,mk,y1t],function(e,r,n,s,i){const l={};return e?.forEach((c,u)=>{const d=c;if(Hd(d)||Vp(d)){l[d.id]={domain:d.data};return}const f=Mk(d,"x",n,u,r);l[d.id]=Bde(d,"x",u,r,f,i,s)}),l}),Q7=Vt([Hc,Mo,Gc,mk,b1t],function(e,r,n,s,i){const l={};return e?.forEach((c,u)=>{const d=c;if(Hd(d)||Vp(d)){l[d.id]={domain:d.data};return}const f=Mk(d,"y",n,u,r);l[d.id]=Bde(d,"y",u,r,f,i,s)}),l}),Wde=Vt([Hp,ax,oc,Hc,K7,Q7],(t,e,r,n,s,i)=>{if(!t||!e)return;let o=!1;const l={},c=[...r??[],...n??[]];for(let u=0;u<c.length;u+=1){const d=c[u];if(!e[d.id]||e[d.id].filterMode!=="discard")continue;const f=t.get(d.id);if(f===void 0||f.start<=0&&f.end>=100)continue;const p=u<(r?.length??0)?"x":"y";if(d.scaleType==="band"||d.scaleType==="point")l[d.id]=l1t(d.data,f.start,f.end,p);else{const{domain:m}=p==="x"?s[d.id]:i[d.id];l[d.id]=c1t(m,f.start,f.end,p,d.data)}o=!0}if(o)return u1t(l)}),x1t=Vt([oc,Mo,Gc,Hp,ax,Wde,mk,K7],(t,e,r,n,s,i,o,l)=>{const c={};return t?.forEach((u,d)=>{const f=l[u.id].domain;if(Hd(u)||Vp(u)){c[u.id]=f;return}const p=n?.get(u.id),m=s?.[u.id],h=p===void 0&&!m?i:void 0;if(!h){c[u.id]=f;return}const _=l[u.id].tickNumber,g=Mk(u,"x",r,d,e,h);c[u.id]=zde(u,"x",d,e,g,_,o)}),c},{memoizeOptions:{resultEqualityCheck:(t,e)=>vp(t,e)}}),S1t=Vt([Hc,Mo,Gc,Hp,ax,Wde,mk,Q7],(t,e,r,n,s,i,o,l)=>{const c={};return t?.forEach((u,d)=>{const f=l[u.id].domain;if(Hd(u)||Vp(u)){c[u.id]=f;return}const p=n?.get(u.id),m=s?.[u.id],h=p===void 0&&!m?i:void 0;if(!h){c[u.id]=f;return}const _=l[u.id].tickNumber,g=Mk(u,"y",r,d,e,h);c[u.id]=zde(u,"y",d,e,g,_,o)}),c},{memoizeOptions:{resultEqualityCheck:(t,e)=>vp(t,e)}}),Yde=Vt([oc,x1t],function(e,r){const n={};return e?.forEach(s=>{const i=s,o=r[i.id];n[i.id]=Nde(i,o)}),n}),Kde=Vt([Hc,S1t],function(e,r){const n={};return e?.forEach(s=>{const i=s,o=r[i.id];n[i.id]=Nde(i,o)}),n}),w1t=Vt([oc,Yde,vl,Hp],function(e,r,n,s){const i={};return e?.forEach(o=>{const l=o,c=s?.get(l.id),u=c?[c.start,c.end]:[0,100],d=Lde(n,"x",l),f=r[l.id].copy(),p=Fde(d,u);f.range(p),i[l.id]=f}),i}),C1t=Vt([Hc,Kde,vl,Hp],function(e,r,n,s){const i={};return e?.forEach(o=>{const l=o,c=s?.get(l.id),u=c?[c.start,c.end]:[0,100],d=Lde(n,"y",l),f=r[l.id].copy(),p=ao(f)?d.reverse():d,m=Fde(p,u);f.range(m),i[l.id]=f}),i}),Ba=Vt([oc,vl,Mo,Gc,Hp,K7,w1t],(t,e,r,n,s,i,o)=>Ode({scales:o,drawingArea:e,formattedSeries:r,axis:t,seriesConfig:n,axisDirection:"x",zoomMap:s,domains:i})),za=Vt([Hc,vl,Mo,Gc,Hp,Q7,C1t],(t,e,r,n,s,i,o)=>Ode({scales:o,drawingArea:e,formattedSeries:r,axis:t,seriesConfig:n,axisDirection:"y",zoomMap:s,domains:i}));Vt([Ba,za,(t,e)=>e],(t,e,r)=>t?.axis[r]??e?.axis[r]);Vt([oc,Hc,(t,e)=>e],(t,e,r)=>{const n=t?.find(s=>s.id===r)??e?.find(s=>s.id===r)??null;if(n)return n});const A1t=Vt([oc],t=>t[0].id),k1t=Vt([Hc],t=>t[0].id),M1t=new Map,P1t=()=>M1t,j1t=Vt([Mo,Yde,Kde,A1t,k1t],function(e,r,n,s,i){const o=e.scatter,l=new Map;return o&&o.seriesOrder.forEach(c=>{const{data:u,xAxisId:d=s,yAxisId:f=i}=o.series[c],p=new Y7(u.length),m=r[d],h=n[f];for(const _ of u)p.add(m(_.x),h(_.y));p.finish(),l.set(c,p)}),l});function Zg(t){return t instanceof Date?t.getTime():t}function rv(t,e){const{scale:r,data:n,reverse:s}=t;if(!ao(r)){const o=r.invert(e);if(n===void 0)return-1;const l=Zg(o);return n?.findIndex((u,d)=>{const f=Zg(u);return f>l&&(d===0||Math.abs(l-f)<=Math.abs(l-Zg(n[d-1])))||f<=l&&(d===n.length-1||Math.abs(Zg(o)-f)<Math.abs(Zg(o)-Zg(n[d+1])))})}const i=r.bandwidth()===0?Math.floor((e-Math.min(...r.range())+r.step()/2)/r.step()):Math.floor((e-Math.min(...r.range()))/r.step());return i<0||i>=n.length?-1:s?n.length-1-i:i}function eee(t,e,r,n){if(!ao(t)){if(n===null){const s=t.invert(r);return Number.isNaN(s)?null:s}return e[n]}return n===null||n<0||n>=e.length?null:e[n]}function p0(t,e){const r=t.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,r.matrixTransform(t.getScreenCTM().inverse())}const T1t=Object.is;function Qde(t,e){if(t===e)return!0;if(!(t instanceof Object)||!(e instanceof Object))return!1;let r=0,n=0;for(const s in t)if(r+=1,!T1t(t[s],e[s])||!(s in e))return!1;for(const s in e)n+=1;return r===n}const lx=({store:t})=>{const e=lr(function(){t.update(o=>ce({},o,{interaction:ce({},o.interaction,{pointer:null,item:null})}))}),r=lr(function(o){t.update(l=>{const c=l.interaction.item;return o?c===null||Object.keys(o).some(u=>o[u]!==c[u])?l:ce({},l,{interaction:ce({},l.interaction,{item:null})}):c===null?l:ce({},l,{interaction:ce({},l.interaction,{item:null})})})}),n=lr(function(o){t.update(l=>Qde(l.interaction.item,o)?l:ce({},l,{interaction:ce({},l.interaction,{item:o})}))}),s=lr(function(o){t.update(l=>ce({},l,{interaction:ce({},l.interaction,{pointer:o,lastUpdate:o!==null?"pointer":l.interaction.lastUpdate})}))});return{instance:{cleanInteraction:e,setItemInteraction:n,removeItemInteraction:r,setPointerCoordinate:s}}};lx.getInitialState=()=>({interaction:{item:null,pointer:null,lastUpdate:"pointer"}});lx.params={};const Pk=t=>t.interaction,E1t=Vt([Pk],t=>t!==void 0),Zde=Vt([Pk],t=>t?.item??null),Xde=Vt([Pk],t=>t?.pointer??null),cx=Vt([Xde],t=>t&&t.x),ux=Vt([Xde],t=>t&&t.y),R1t=Vt([Zde],t=>t!==null),Jde=Vt([Pk],t=>t?.lastUpdate),jk=(t,e)=>e;function R$(t,e,r=e.axisIds[0]){return Array.isArray(r)?r.map(n=>rv(e.axis[n],t)):rv(e.axis[r],t)}const efe=(t,e,r)=>{if(t===null)return null;const n=R$(t,e,r);return n===-1?null:n},Z7=Vt([cx,Ba,jk],efe),X7=Vt([ux,za,jk],efe),I1t=Vt([cx,ux,Ba,za],(t,e,r,n)=>[...t===null?[]:r.axisIds.map(s=>({axisId:s,dataIndex:R$(t,r,s)})),...e===null?[]:n.axisIds.map(s=>({axisId:s,dataIndex:R$(e,n,s)}))].filter(s=>s.dataIndex!==null&&s.dataIndex>=0));function tfe(t,e,r,n=e.axisIds[0]){return Array.isArray(n)?n.map((s,i)=>{const o=e.axis[s];return eee(o.scale,o.data,t,r[i])}):eee(e.axis[n].scale,e.axis[n].data,t,r)}const D1t=Vt([cx,Ba,Z7,jk],(t,e,r,n)=>t===null||e.axisIds.length===0?null:tfe(t,e,r,n)),$1t=Vt([ux,za,X7,jk],(t,e,r,n)=>t===null||e.axisIds.length===0?null:tfe(t,e,r,n)),rfe=Vt([cx,Ba],(t,e)=>t===null?[]:e.axisIds.filter(r=>e.axis[r].triggerTooltip).map(r=>({axisId:r,dataIndex:rv(e.axis[r],t)})).filter(({dataIndex:r})=>r>=0),{memoizeOptions:{resultEqualityCheck:vp}}),nfe=Vt([ux,za],(t,e)=>t===null?[]:e.axisIds.filter(r=>e.axis[r].triggerTooltip).map(r=>({axisId:r,dataIndex:rv(e.axis[r],t)})).filter(({dataIndex:r})=>r>=0),{memoizeOptions:{resultEqualityCheck:vp}}),O1t=Vt([rfe,nfe],(t,e)=>t.length>0||e.length>0),L1t=()=>{};function N1t(t,e,r,n){const s=NO(F1t,{store:t,selector:e,skip:n}).current;s.effect=r,I.useEffect(s.onMount(n),[n])}function F1t(t){const{store:e,selector:r,skip:n}=t;let s=!1,i;const o=()=>{l.dispose??=e.subscribe(c=>{const u=r(c);l.effect(i,u),i=u})},l={effect:L1t,dispose:null,onMount:c=>()=>{if(!c)return s||(s=!0,i=r(e.value)),o(),()=>{l.dispose?.(),l.dispose=null}}};return n||(s=!0,i=r(e.value),o()),l}function U1t(t){return t.setPointerCoordinate!==void 0}const zv=({params:t,store:e,seriesConfig:r,svgRef:n,instance:s})=>{const{xAxis:i,yAxis:o,dataset:l,onHighlightedAxisChange:c}=t,u=qr(e,vl),d=qr(e,Mo),f=qr(e,E1t),{axis:p,axisIds:m}=qr(e,Ba),{axis:h,axisIds:_}=qr(e,za);nde({controlled:t.highlightedAxis}),ei(()=>{t.highlightedAxis!==void 0&&e.update(w=>w.controlledCartesianAxisHighlight===t.highlightedAxis?w:ce({},w,{controlledCartesianAxisHighlight:t.highlightedAxis}))},[e,t.highlightedAxis]);const g=I.useRef(!0);I.useEffect(()=>{if(g.current){g.current=!1;return}e.update(w=>ce({},w,{cartesianAxis:ce({},w.cartesianAxis,{x:ode(i,l),y:ade(o,l)})}))},[r,u,i,o,l,e]);const y=m[0],b=_[0];N1t(e,I1t,(w,C)=>{if(!Object.is(w,C)){if(w.length!==C.length){c(C);return}w?.some(({axisId:k,dataIndex:A},P)=>C[P].axisId!==k||C[P].dataIndex!==A)&&c(C)}},!c);const x=U1t(s);return I.useEffect(()=>{const w=n.current;if(!f||!x||!w||t.disableAxisListener)return()=>{};const C=s.addInteractionListener("moveEnd",D=>{D.detail.activeGestures.pan||s.cleanInteraction()}),k=s.addInteractionListener("panEnd",D=>{D.detail.activeGestures.move||s.cleanInteraction()}),A=s.addInteractionListener("quickPressEnd",D=>{!D.detail.activeGestures.move&&!D.detail.activeGestures.pan&&s.cleanInteraction()}),P=D=>{const O=D.detail.srcEvent,N=D.detail.target,F=p0(w,O);if(D.detail.srcEvent.buttons>=1&&N?.hasPointerCapture(D.detail.srcEvent.pointerId)&&!N?.closest("[data-charts-zoom-slider]")&&N?.releasePointerCapture(D.detail.srcEvent.pointerId),!s.isPointInside(F.x,F.y,N)){s.cleanInteraction?.();return}s.setPointerCoordinate(F)},T=s.addInteractionListener("move",P),j=s.addInteractionListener("pan",P),R=s.addInteractionListener("quickPress",P);return()=>{T.cleanup(),C.cleanup(),j.cleanup(),k.cleanup(),R.cleanup(),A.cleanup()}},[n,e,p,y,h,b,s,t.disableAxisListener,f,x]),I.useEffect(()=>{const w=n.current,C=t.onAxisClick;if(w===null||!C)return()=>{};const k=s.addInteractionListener("tap",A=>{let P=null,T=!1;const j=p0(w,A.detail.srcEvent),R=rv(p[y],j.x);T=R!==-1,P=T?R:rv(h[b],j.y);const D=T?m[0]:_[0];if(P==null||P===-1)return;const O=(T?p:h)[D].data[P],N={};Object.keys(d).filter(F=>["bar","line"].includes(F)).forEach(F=>{d[F]?.seriesOrder.forEach(U=>{const z=d[F].series[U],H=z.xAxisId,W=z.yAxisId,K=T?H:W;(K===void 0||K===D)&&(N[U]=z.data[P])})}),C(A.detail.srcEvent,{dataIndex:P,axisValue:O,seriesValues:N})});return()=>{k.cleanup()}},[t.onAxisClick,d,n,p,m,h,_,y,b,s]),{}};zv.params={xAxis:!0,yAxis:!0,dataset:!0,onAxisClick:!0,disableAxisListener:!0,onHighlightedAxisChange:!0,highlightedAxis:!0};zv.getDefaultizedParams=({params:t})=>ce({},t,{colors:t.colors??Xue,theme:t.theme??"light",defaultizedXAxis:ode(t.xAxis,t.dataset),defaultizedYAxis:ade(t.yAxis,t.dataset)});zv.getInitialState=t=>ce({cartesianAxis:{x:t.defaultizedXAxis,y:t.defaultizedYAxis}},t.highlightedAxis===void 0?{}:{controlledCartesianAxisHighlight:t.highlightedAxis});const dx=t=>t.keyboardNavigation,B1t=Vt([dx],t=>t?.item!=null),Tk=Vt([dx],t=>t?.item?.type),Ek=Vt([dx],t=>t?.item?.seriesId),Rk=Vt([dx],t=>t?.item?.dataIndex),z1t=Vt([dx],t=>!!t?.enableKeyboardNavigation),sfe=t=>(e,r,n,s,i)=>{if(e===void 0||r===void 0||n===void 0)return;const o=i[e]?.series[r];if(!o)return;let l=t==="x"?"xAxisId"in o&&o.xAxisId:"yAxisId"in o&&o.yAxisId;return(l===void 0||l===!1)&&(l=s.axisIds[0]),{axisId:l,dataIndex:n}},q1t=Vt([Tk,Ek,Rk,Ba,Mo],sfe("x")),V1t=Vt([Tk,Ek,Rk,za,Mo],sfe("y")),H1t=Vt([Tk,Ek,Rk],function(e,r,n){return r===void 0?null:{seriesId:r,dataIndex:e==="line"?void 0:n}}),fx=({store:t,svgRef:e,instance:r,params:n})=>{ei(()=>{t.update(o=>ce({},o,{brush:ce({},o.brush,{enabled:n.brushConfig.enabled,preventTooltip:n.brushConfig.preventTooltip,preventHighlight:n.brushConfig.preventHighlight})}))},[t,n.brushConfig.enabled,n.brushConfig.preventTooltip,n.brushConfig.preventHighlight]);const s=lr(function(l){t.update(c=>ce({},c,{brush:ce({},c.brush,{start:c.brush.start??l,current:l})}))}),i=lr(function(){t.update(l=>ce({},l,{brush:ce({},l.brush,{start:null,current:null})}))});return I.useEffect(()=>{const o=e.current;if(o===null||!t.getSnapshot().brush.enabled)return()=>{};const l=m=>{if(m.detail.target?.closest("[data-charts-zoom-slider]"))return;const h=p0(o,{clientX:m.detail.initialCentroid.x,clientY:m.detail.initialCentroid.y});s(h)},c=m=>{const h=p0(o,{clientX:m.detail.centroid.x,clientY:m.detail.centroid.y});s(h)},u=r.addInteractionListener("brushStart",l),d=r.addInteractionListener("brush",c),f=r.addInteractionListener("brushCancel",i),p=r.addInteractionListener("brushEnd",i);return()=>{u.cleanup(),d.cleanup(),p.cleanup(),f.cleanup()}},[e,r,t,i,s]),{instance:{setBrushCoordinates:s,clearBrush:i}}};fx.params={brushConfig:!0};fx.getDefaultizedParams=({params:t})=>ce({},t,{brushConfig:{enabled:t?.brushConfig?.enabled??!1,preventTooltip:t?.brushConfig?.preventTooltip??!0,preventHighlight:t?.brushConfig?.preventHighlight??!0}});fx.getInitialState=t=>({brush:{enabled:t.brushConfig.enabled,preventTooltip:t.brushConfig.preventTooltip,preventHighlight:t.brushConfig.preventHighlight,start:null,current:null}});const Gu=t=>t.brush;Vt([Gu],t=>t?.start);Vt([Gu],t=>t?.current);const G1t=Vt([Gu],t=>t?.start?.x??null),W1t=Vt([Gu],t=>t?.start?.y??null),Y1t=Vt([Gu],t=>t?.current?.x??null),K1t=Vt([Gu],t=>t?.current?.y??null);Vt([G1t,W1t,Y1t,K1t],(t,e,r,n)=>t===null||e===null||r===null||n===null?null:{start:{x:t,y:e},current:{x:r,y:n}});const Q1t=Vt([Mo],t=>{let e=!1,r=!1;return t&&Object.entries(t).forEach(([n,s])=>{Object.values(s.series).some(i=>i.layout==="horizontal")&&(e=!0),n==="scatter"&&s.seriesOrder.length>0&&(r=!0)}),r?"xy":e?"y":"x"}),Z1t=Vt([ax],t=>{let e=!1,r=!1;return Object.values(t).forEach(n=>{n.axisDirection==="y"&&(r=!0),n.axisDirection==="x"&&(e=!0)}),e&&r?"xy":r?"y":e?"x":null});Vt([Q1t,Z1t],(t,e)=>e??t);Vt([Gu],t=>t?.enabled);const ife=Vt([Gu],t=>t?.enabled&&t?.start!==null&&t?.current!==null),Ik=Vt([Gu,ife],(t,e)=>e&&t?.preventHighlight),X1t=Vt([Gu,ife],(t,e)=>e&&t?.preventTooltip),qv=t=>t.controlledCartesianAxisHighlight,ofe=(t,e,r,n)=>n?[]:r!==void 0?r.filter(s=>e.axis[s.axisId]!==void 0).map(s=>s):t===null?[]:[{axisId:e.axisIds[0],dataIndex:t}],afe=Vt([Z7,Ba,qv,Ik],ofe);Vt([X7,za,qv,Ik],ofe);const lfe=(t,e,r,n,s,i,o)=>{if(o)return[];if(n!==void 0)return n.map(d=>ce({},d,{value:r.axis[d.axisId]?.data?.[d.dataIndex]})).filter(({value:d})=>d!==void 0);const l=e!==null&&{axisId:r.axisIds[0],dataIndex:t,value:e},c=s&&r.axis[s.axisId]?.data?.[s.dataIndex],u=s&&c!=null&&ce({},s,{value:c});if(i==="pointer"){if(l)return[l];if(u)return[u]}if(i==="keyboard"){if(u)return[u];if(l)return[l]}return[]},J1t=Vt([Z7,D1t,Ba,qv,q1t,Jde,Ik],lfe),eyt=Vt([X7,$1t,za,qv,V1t,Jde,Ik],lfe),cfe=(t,e)=>t===void 0?[e.axis[e.axisIds[0]]]:t.map(n=>e.axis[n.axisId]??null).filter(n=>n!==null);Vt([qv,Ba],cfe);Vt([qv,za],cfe);function tee(t,e){return t.id!==void 0?t:ce({id:e},t)}function ree(t){return t.colorMap?ce({},t,{colorScale:t.colorMap.type==="ordinal"&&t.data?tv(ce({values:t.data},t.colorMap)):w_(t.colorMap.type==="continuous"?ce({min:t.min,max:t.max},t.colorMap):t.colorMap)}):t}function ufe(t,e){if(!t||t.length===0)return{axis:{},axisIds:[]};const r={},n=[];return t.forEach((s,i)=>{const o=s.dataKey,l=s.id??`defaultized-z-axis-${i}`;if(o===void 0||s.data!==void 0){r[l]=ree(tee(s,l)),n.push(l);return}if(e===void 0)throw new Error("MUI X Charts: z-axis uses `dataKey` but no `dataset` is provided.");r[l]=ree(tee(ce({},s,{data:e.map(c=>c[o])}),l)),n.push(l)}),{axis:r,axisIds:n}}const px=({params:t,store:e})=>{const{zAxis:r,dataset:n}=t,s=I.useRef(!0);return I.useEffect(()=>{if(s.current){s.current=!1;return}e.update(i=>ce({},i,{zAxis:ufe(r,n)}))},[r,n,e]),{}};px.params={zAxis:!0,dataset:!0};px.getInitialState=t=>({zAxis:ufe(t.zAxis,t.dataset)});const tyt=t=>t,ryt=Vt([tyt],t=>t.zAxis),Vv=({store:t,params:e})=>{nde({controlled:e.highlightedItem}),ei(()=>{t.update(s=>s.highlight.item===e.highlightedItem?s:ce({},s,{highlight:ce({},s.highlight,{item:e.highlightedItem})}))},[t,e.highlightedItem]);const r=lr(()=>{e.onHighlightChange?.(null),t.getSnapshot().highlight.item!==null&&t.update(i=>ce({},i,{highlight:{item:null,lastUpdate:"pointer"}}))}),n=lr(s=>{const i=t.getSnapshot().highlight.item;Qde(i,s)||(e.onHighlightChange?.(s),t.update(o=>ce({},o,{highlight:{item:s,lastUpdate:"pointer"}})))});return{instance:{clearHighlight:r,setHighlight:n}}};Vv.getDefaultizedParams=({params:t})=>ce({},t,{highlightedItem:t.highlightedItem??null});Vv.getInitialState=t=>({highlight:{item:t.highlightedItem,lastUpdate:"pointer"}});Vv.params={highlightedItem:!0,onHighlightChange:!0};function dfe(t){let e=1/0,r=-1/0;for(const n of t??[])n<e&&(e=n),n>r&&(r=n);return[e,r]}const nee=(t,e)=>e==="x"?{x:t,y:null}:{x:null,y:t},ffe=t=>{const{axis:e,getFilters:r,isDefaultAxis:n}=t,s=r?.({currentAxisId:e.id,isDefaultAxis:n}),i=s?e.data?.filter((o,l)=>s({x:null,y:null},l)):e.data;return dfe(i??[])},pfe=t=>e=>{const{series:r,axis:n,getFilters:s,isDefaultAxis:i}=e;return Object.keys(r).filter(o=>{const l=t==="x"?r[o].xAxisId:r[o].yAxisId;return l===n.id||i&&l===void 0}).reduce((o,l)=>{const{stackedData:c}=r[l],u=s?.({currentAxisId:n.id,isDefaultAxis:i,seriesXAxisId:r[l].xAxisId,seriesYAxisId:r[l].yAxisId}),[d,f]=c?.reduce((p,m,h)=>u&&(!u(nee(m[0],t),h)||!u(nee(m[1],t),h))?p:[Math.min(...m,p[0]),Math.max(...m,p[1])],[1/0,-1/0])??[1/0,-1/0];return[Math.min(d,o[0]),Math.max(f,o[1])]},[1/0,-1/0])},nyt=t=>Object.keys(t.series).some(r=>t.series[r].layout==="horizontal")?pfe("x")(t):ffe(t),syt=t=>Object.keys(t.series).some(r=>t.series[r].layout==="horizontal")?ffe(t):pfe("y")(t);function bn(t){return function(){return t}}const see=Math.abs,Do=Math.atan2,jd=Math.cos,iyt=Math.max,mD=Math.min,Pa=Math.sin,So=Math.sqrt,Lo=1e-12,kp=Math.PI,E3=kp/2,yp=2*kp;function oyt(t){return t>1?0:t<-1?kp:Math.acos(t)}function iee(t){return t>=1?E3:t<=-1?-E3:Math.asin(t)}const I$=Math.PI,D$=2*I$,Nm=1e-6,ayt=D$-Nm;function mfe(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}function lyt(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return mfe;const r=10**e;return function(n){this._+=n[0];for(let s=1,i=n.length;s<i;++s)this._+=Math.round(arguments[s]*r)/r+n[s]}}class cyt{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?mfe:lyt(e)}moveTo(e,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,r){this._append`L${this._x1=+e},${this._y1=+r}`}quadraticCurveTo(e,r,n,s){this._append`Q${+e},${+r},${this._x1=+n},${this._y1=+s}`}bezierCurveTo(e,r,n,s,i,o){this._append`C${+e},${+r},${+n},${+s},${this._x1=+i},${this._y1=+o}`}arcTo(e,r,n,s,i){if(e=+e,r=+r,n=+n,s=+s,i=+i,i<0)throw new Error(`negative radius: ${i}`);let o=this._x1,l=this._y1,c=n-e,u=s-r,d=o-e,f=l-r,p=d*d+f*f;if(this._x1===null)this._append`M${this._x1=e},${this._y1=r}`;else if(p>Nm)if(!(Math.abs(f*c-u*d)>Nm)||!i)this._append`L${this._x1=e},${this._y1=r}`;else{let m=n-o,h=s-l,_=c*c+u*u,g=m*m+h*h,y=Math.sqrt(_),b=Math.sqrt(p),x=i*Math.tan((I$-Math.acos((_+p-g)/(2*y*b)))/2),w=x/b,C=x/y;Math.abs(w-1)>Nm&&this._append`L${e+w*d},${r+w*f}`,this._append`A${i},${i},0,0,${+(f*m>d*h)},${this._x1=e+C*c},${this._y1=r+C*u}`}}arc(e,r,n,s,i,o){if(e=+e,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let l=n*Math.cos(s),c=n*Math.sin(s),u=e+l,d=r+c,f=1^o,p=o?s-i:i-s;this._x1===null?this._append`M${u},${d}`:(Math.abs(this._x1-u)>Nm||Math.abs(this._y1-d)>Nm)&&this._append`L${u},${d}`,n&&(p<0&&(p=p%D$+D$),p>ayt?this._append`A${n},${n},0,1,${f},${e-l},${r-c}A${n},${n},0,1,${f},${this._x1=u},${this._y1=d}`:p>Nm&&this._append`A${n},${n},0,${+(p>=I$)},${f},${this._x1=e+n*Math.cos(i)},${this._y1=r+n*Math.sin(i)}`)}rect(e,r,n,s){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+r}h${n=+n}v${+s}h${-n}Z`}toString(){return this._}}function Dk(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(r==null)e=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);e=n}return t},()=>new cyt(e)}function uyt(t){return t.innerRadius}function dyt(t){return t.outerRadius}function fyt(t){return t.startAngle}function pyt(t){return t.endAngle}function myt(t){return t&&t.padAngle}function hyt(t,e,r,n,s,i,o,l){var c=r-t,u=n-e,d=o-s,f=l-i,p=f*c-d*u;if(!(p*p<Lo))return p=(d*(e-i)-f*(t-s))/p,[t+p*c,e+p*u]}function kw(t,e,r,n,s,i,o){var l=t-r,c=e-n,u=(o?i:-i)/So(l*l+c*c),d=u*c,f=-u*l,p=t+d,m=e+f,h=r+d,_=n+f,g=(p+h)/2,y=(m+_)/2,b=h-p,x=_-m,w=b*b+x*x,C=s-i,k=p*_-h*m,A=(x<0?-1:1)*So(iyt(0,C*C*w-k*k)),P=(k*x-b*A)/w,T=(-k*b-x*A)/w,j=(k*x+b*A)/w,R=(-k*b+x*A)/w,D=P-g,O=T-y,N=j-g,F=R-y;return D*D+O*O>N*N+F*F&&(P=j,T=R),{cx:P,cy:T,x01:-d,y01:-f,x11:P*(s/C-1),y11:T*(s/C-1)}}function hfe(){var t=uyt,e=dyt,r=bn(0),n=null,s=fyt,i=pyt,o=myt,l=null,c=Dk(u);function u(){var d,f,p=+t.apply(this,arguments),m=+e.apply(this,arguments),h=s.apply(this,arguments)-E3,_=i.apply(this,arguments)-E3,g=see(_-h),y=_>h;if(l||(l=d=c()),m<p&&(f=m,m=p,p=f),!(m>Lo))l.moveTo(0,0);else if(g>yp-Lo)l.moveTo(m*jd(h),m*Pa(h)),l.arc(0,0,m,h,_,!y),p>Lo&&(l.moveTo(p*jd(_),p*Pa(_)),l.arc(0,0,p,_,h,y));else{var b=h,x=_,w=h,C=_,k=g,A=g,P=o.apply(this,arguments)/2,T=P>Lo&&(n?+n.apply(this,arguments):So(p*p+m*m)),j=mD(see(m-p)/2,+r.apply(this,arguments)),R=j,D=j,O,N;if(T>Lo){var F=iee(T/p*Pa(P)),U=iee(T/m*Pa(P));(k-=F*2)>Lo?(F*=y?1:-1,w+=F,C-=F):(k=0,w=C=(h+_)/2),(A-=U*2)>Lo?(U*=y?1:-1,b+=U,x-=U):(A=0,b=x=(h+_)/2)}var z=m*jd(b),H=m*Pa(b),W=p*jd(C),K=p*Pa(C);if(j>Lo){var q=m*jd(x),X=m*Pa(x),Q=p*jd(w),Y=p*Pa(w),Z;if(g<kp)if(Z=hyt(z,H,Q,Y,q,X,W,K)){var re=z-Z[0],fe=H-Z[1],de=q-Z[0],se=X-Z[1],le=1/Pa(oyt((re*de+fe*se)/(So(re*re+fe*fe)*So(de*de+se*se)))/2),ee=So(Z[0]*Z[0]+Z[1]*Z[1]);R=mD(j,(p-ee)/(le-1)),D=mD(j,(m-ee)/(le+1))}else R=D=0}A>Lo?D>Lo?(O=kw(Q,Y,z,H,m,D,y),N=kw(q,X,W,K,m,D,y),l.moveTo(O.cx+O.x01,O.cy+O.y01),D<j?l.arc(O.cx,O.cy,D,Do(O.y01,O.x01),Do(N.y01,N.x01),!y):(l.arc(O.cx,O.cy,D,Do(O.y01,O.x01),Do(O.y11,O.x11),!y),l.arc(0,0,m,Do(O.cy+O.y11,O.cx+O.x11),Do(N.cy+N.y11,N.cx+N.x11),!y),l.arc(N.cx,N.cy,D,Do(N.y11,N.x11),Do(N.y01,N.x01),!y))):(l.moveTo(z,H),l.arc(0,0,m,b,x,!y)):l.moveTo(z,H),!(p>Lo)||!(k>Lo)?l.lineTo(W,K):R>Lo?(O=kw(W,K,q,X,p,-R,y),N=kw(z,H,Q,Y,p,-R,y),l.lineTo(O.cx+O.x01,O.cy+O.y01),R<j?l.arc(O.cx,O.cy,R,Do(O.y01,O.x01),Do(N.y01,N.x01),!y):(l.arc(O.cx,O.cy,R,Do(O.y01,O.x01),Do(O.y11,O.x11),!y),l.arc(0,0,p,Do(O.cy+O.y11,O.cx+O.x11),Do(N.cy+N.y11,N.cx+N.x11),y),l.arc(N.cx,N.cy,R,Do(N.y11,N.x11),Do(N.y01,N.x01),!y))):l.arc(0,0,p,C,w,y)}if(l.closePath(),d)return l=null,d+""||null}return u.centroid=function(){var d=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,f=(+s.apply(this,arguments)+ +i.apply(this,arguments))/2-kp/2;return[jd(f)*d,Pa(f)*d]},u.innerRadius=function(d){return arguments.length?(t=typeof d=="function"?d:bn(+d),u):t},u.outerRadius=function(d){return arguments.length?(e=typeof d=="function"?d:bn(+d),u):e},u.cornerRadius=function(d){return arguments.length?(r=typeof d=="function"?d:bn(+d),u):r},u.padRadius=function(d){return arguments.length?(n=d==null?null:typeof d=="function"?d:bn(+d),u):n},u.startAngle=function(d){return arguments.length?(s=typeof d=="function"?d:bn(+d),u):s},u.endAngle=function(d){return arguments.length?(i=typeof d=="function"?d:bn(+d),u):i},u.padAngle=function(d){return arguments.length?(o=typeof d=="function"?d:bn(+d),u):o},u.context=function(d){return arguments.length?(l=d??null,u):l},u}function $k(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function gfe(t){this._context=t}gfe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function J7(t){return new gfe(t)}function _fe(t){return t[0]}function vfe(t){return t[1]}function yfe(t,e){var r=bn(!0),n=null,s=J7,i=null,o=Dk(l);t=typeof t=="function"?t:t===void 0?_fe:bn(t),e=typeof e=="function"?e:e===void 0?vfe:bn(e);function l(c){var u,d=(c=$k(c)).length,f,p=!1,m;for(n==null&&(i=s(m=o())),u=0;u<=d;++u)!(u<d&&r(f=c[u],u,c))===p&&((p=!p)?i.lineStart():i.lineEnd()),p&&i.point(+t(f,u,c),+e(f,u,c));if(m)return i=null,m+""||null}return l.x=function(c){return arguments.length?(t=typeof c=="function"?c:bn(+c),l):t},l.y=function(c){return arguments.length?(e=typeof c=="function"?c:bn(+c),l):e},l.defined=function(c){return arguments.length?(r=typeof c=="function"?c:bn(!!c),l):r},l.curve=function(c){return arguments.length?(s=c,n!=null&&(i=s(n)),l):s},l.context=function(c){return arguments.length?(c==null?n=i=null:i=s(n=c),l):n},l}function gyt(t,e,r){var n=null,s=bn(!0),i=null,o=J7,l=null,c=Dk(u);t=typeof t=="function"?t:t===void 0?_fe:bn(+t),e=typeof e=="function"?e:bn(e===void 0?0:+e),r=typeof r=="function"?r:r===void 0?vfe:bn(+r);function u(f){var p,m,h,_=(f=$k(f)).length,g,y=!1,b,x=new Array(_),w=new Array(_);for(i==null&&(l=o(b=c())),p=0;p<=_;++p){if(!(p<_&&s(g=f[p],p,f))===y)if(y=!y)m=p,l.areaStart(),l.lineStart();else{for(l.lineEnd(),l.lineStart(),h=p-1;h>=m;--h)l.point(x[h],w[h]);l.lineEnd(),l.areaEnd()}y&&(x[p]=+t(g,p,f),w[p]=+e(g,p,f),l.point(n?+n(g,p,f):x[p],r?+r(g,p,f):w[p]))}if(b)return l=null,b+""||null}function d(){return yfe().defined(s).curve(o).context(i)}return u.x=function(f){return arguments.length?(t=typeof f=="function"?f:bn(+f),n=null,u):t},u.x0=function(f){return arguments.length?(t=typeof f=="function"?f:bn(+f),u):t},u.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:bn(+f),u):n},u.y=function(f){return arguments.length?(e=typeof f=="function"?f:bn(+f),r=null,u):e},u.y0=function(f){return arguments.length?(e=typeof f=="function"?f:bn(+f),u):e},u.y1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:bn(+f),u):r},u.lineX0=u.lineY0=function(){return d().x(t).y(e)},u.lineY1=function(){return d().x(t).y(r)},u.lineX1=function(){return d().x(n).y(e)},u.defined=function(f){return arguments.length?(s=typeof f=="function"?f:bn(!!f),u):s},u.curve=function(f){return arguments.length?(o=f,i!=null&&(l=o(i)),u):o},u.context=function(f){return arguments.length?(f==null?i=l=null:l=o(i=f),u):i},u}function _yt(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function vyt(t){return t}function yyt(){var t=vyt,e=_yt,r=null,n=bn(0),s=bn(yp),i=bn(0);function o(l){var c,u=(l=$k(l)).length,d,f,p=0,m=new Array(u),h=new Array(u),_=+n.apply(this,arguments),g=Math.min(yp,Math.max(-yp,s.apply(this,arguments)-_)),y,b=Math.min(Math.abs(g)/u,i.apply(this,arguments)),x=b*(g<0?-1:1),w;for(c=0;c<u;++c)(w=h[m[c]=c]=+t(l[c],c,l))>0&&(p+=w);for(e!=null?m.sort(function(C,k){return e(h[C],h[k])}):r!=null&&m.sort(function(C,k){return r(l[C],l[k])}),c=0,f=p?(g-u*x)/p:0;c<u;++c,_=y)d=m[c],w=h[d],y=_+(w>0?w*f:0)+x,h[d]={data:l[d],index:c,value:w,startAngle:_,endAngle:y,padAngle:b};return h}return o.value=function(l){return arguments.length?(t=typeof l=="function"?l:bn(+l),o):t},o.sortValues=function(l){return arguments.length?(e=l,r=null,o):e},o.sort=function(l){return arguments.length?(r=l,e=null,o):r},o.startAngle=function(l){return arguments.length?(n=typeof l=="function"?l:bn(+l),o):n},o.endAngle=function(l){return arguments.length?(s=typeof l=="function"?l:bn(+l),o):s},o.padAngle=function(l){return arguments.length?(i=typeof l=="function"?l:bn(+l),o):i},o}class bfe{constructor(e,r){this._context=e,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,r){switch(e=+e,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,r,e,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,e,this._y0,e,r);break}}this._x0=e,this._y0=r}}function byt(t){return new bfe(t,!0)}function xyt(t){return new bfe(t,!1)}const xfe={draw(t,e){const r=So(e/kp);t.moveTo(r,0),t.arc(0,0,r,0,yp)}},Syt={draw(t,e){const r=So(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}},Sfe=So(1/3),wyt=Sfe*2,Cyt={draw(t,e){const r=So(e/wyt),n=r*Sfe;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},Ayt={draw(t,e){const r=So(e),n=-r/2;t.rect(n,n,r,r)}},kyt=.8908130915292852,wfe=Pa(kp/10)/Pa(7*kp/10),Myt=Pa(yp/10)*wfe,Pyt=-jd(yp/10)*wfe,jyt={draw(t,e){const r=So(e*kyt),n=Myt*r,s=Pyt*r;t.moveTo(0,-r),t.lineTo(n,s);for(let i=1;i<5;++i){const o=yp*i/5,l=jd(o),c=Pa(o);t.lineTo(c*r,-l*r),t.lineTo(l*n-c*s,c*n+l*s)}t.closePath()}},hD=So(3),Tyt={draw(t,e){const r=-So(e/(hD*3));t.moveTo(0,r*2),t.lineTo(-hD*r,-r),t.lineTo(hD*r,-r),t.closePath()}},$l=-.5,Ol=So(3)/2,$$=1/So(12),Eyt=($$/2+1)*3,Ryt={draw(t,e){const r=So(e/Eyt),n=r/2,s=r*$$,i=n,o=r*$$+r,l=-i,c=o;t.moveTo(n,s),t.lineTo(i,o),t.lineTo(l,c),t.lineTo($l*n-Ol*s,Ol*n+$l*s),t.lineTo($l*i-Ol*o,Ol*i+$l*o),t.lineTo($l*l-Ol*c,Ol*l+$l*c),t.lineTo($l*n+Ol*s,$l*s-Ol*n),t.lineTo($l*i+Ol*o,$l*o-Ol*i),t.lineTo($l*l+Ol*c,$l*c-Ol*l),t.closePath()}},Cfe=[xfe,Syt,Cyt,Ayt,jyt,Tyt,Ryt];function Afe(t,e){let r=null,n=Dk(s);t=typeof t=="function"?t:bn(t||xfe),e=typeof e=="function"?e:bn(e===void 0?64:+e);function s(){let i;if(r||(r=i=n()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),i)return r=null,i+""||null}return s.type=function(i){return arguments.length?(t=typeof i=="function"?i:bn(i),s):t},s.size=function(i){return arguments.length?(e=typeof i=="function"?i:bn(+i),s):e},s.context=function(i){return arguments.length?(r=i??null,s):r},s}function oee(t,e,r){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-r),t._x2,t._y2)}function e8(t,e){this._context=t,this._k=(1-e)/6}e8.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:oee(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:oee(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};(function t(e){function r(n){return new e8(n,e)}return r.tension=function(n){return t(+n)},r})(0);function Iyt(t,e,r){var n=t._x1,s=t._y1,i=t._x2,o=t._y2;if(t._l01_a>Lo){var l=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*l-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,s=(s*l-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>Lo){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,d=3*t._l23_a*(t._l23_a+t._l12_a);i=(i*u+t._x1*t._l23_2a-e*t._l12_2a)/d,o=(o*u+t._y1*t._l23_2a-r*t._l12_2a)/d}t._context.bezierCurveTo(n,s,i,o,t._x2,t._y2)}function kfe(t,e){this._context=t,this._alpha=e}kfe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Iyt(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Dyt=(function t(e){function r(n){return e?new kfe(n,e):new e8(n,0)}return r.alpha=function(n){return t(+n)},r})(.5);function aee(t){return t<0?-1:1}function lee(t,e,r){var n=t._x1-t._x0,s=e-t._x1,i=(t._y1-t._y0)/(n||s<0&&-0),o=(r-t._y1)/(s||n<0&&-0),l=(i*s+o*n)/(n+s);return(aee(i)+aee(o))*Math.min(Math.abs(i),Math.abs(o),.5*Math.abs(l))||0}function cee(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function gD(t,e,r){var n=t._x0,s=t._y0,i=t._x1,o=t._y1,l=(i-n)/3;t._context.bezierCurveTo(n+l,s+l*e,i-l,o-l*r,i,o)}function R3(t){this._context=t}R3.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:gD(this,this._t0,cee(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,gD(this,cee(this,r=lee(this,t,e)),r);break;default:gD(this,this._t0,r=lee(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}};function Mfe(t){this._context=new Pfe(t)}(Mfe.prototype=Object.create(R3.prototype)).point=function(t,e){R3.prototype.point.call(this,e,t)};function Pfe(t){this._context=t}Pfe.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,s,i){this._context.bezierCurveTo(e,t,n,r,i,s)}};function uee(t){return new R3(t)}function $yt(t){return new Mfe(t)}function jfe(t){this._context=t}jfe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),r===2)this._context.lineTo(t[1],e[1]);else for(var n=dee(t),s=dee(e),i=0,o=1;o<r;++i,++o)this._context.bezierCurveTo(n[0][i],s[0][i],n[1][i],s[1][i],t[o],e[o]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function dee(t){var e,r=t.length-1,n,s=new Array(r),i=new Array(r),o=new Array(r);for(s[0]=0,i[0]=2,o[0]=t[0]+2*t[1],e=1;e<r-1;++e)s[e]=1,i[e]=4,o[e]=4*t[e]+2*t[e+1];for(s[r-1]=2,i[r-1]=7,o[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=s[e]/i[e-1],i[e]-=n,o[e]-=n*o[e-1];for(s[r-1]=o[r-1]/i[r-1],e=r-2;e>=0;--e)s[e]=(o[e]-s[e+1])/i[e];for(i[r-1]=(t[r]+s[r-1])/2,e=0;e<r-1;++e)i[e]=2*t[e+1]-s[e+1];return[s,i]}function Oyt(t){return new jfe(t)}function Ok(t,e){this._context=t,this._t=e}Ok.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}break}}this._x=t,this._y=e}};function Lyt(t){return new Ok(t,.5)}function Nyt(t){return new Ok(t,0)}function Fyt(t){return new Ok(t,1)}function nv(t,e){if((o=t.length)>1)for(var r=1,n,s,i=t[e[0]],o,l=i.length;r<o;++r)for(s=i,i=t[e[r]],n=0;n<l;++n)i[n][1]+=i[n][0]=isNaN(s[n][1])?s[n][0]:s[n][1]}function sv(t){for(var e=t.length,r=new Array(e);--e>=0;)r[e]=e;return r}function Uyt(t,e){return t[e]}function Byt(t){const e=[];return e.key=t,e}function Tfe(){var t=bn([]),e=sv,r=nv,n=Uyt;function s(i){var o=Array.from(t.apply(this,arguments),Byt),l,c=o.length,u=-1,d;for(const f of i)for(l=0,++u;l<c;++l)(o[l][u]=[0,+n(f,o[l].key,u,i)]).data=f;for(l=0,d=$k(e(o));l<c;++l)o[d[l]].index=l;return r(o,d),o}return s.keys=function(i){return arguments.length?(t=typeof i=="function"?i:bn(Array.from(i)),s):t},s.value=function(i){return arguments.length?(n=typeof i=="function"?i:bn(+i),s):n},s.order=function(i){return arguments.length?(e=i==null?sv:typeof i=="function"?i:bn(Array.from(i)),s):e},s.offset=function(i){return arguments.length?(r=i??nv,s):r},s}function zyt(t,e){if((n=t.length)>0){for(var r,n,s=0,i=t[0].length,o;s<i;++s){for(o=r=0;r<n;++r)o+=t[r][s][1]||0;if(o)for(r=0;r<n;++r)t[r][s][1]/=o}nv(t,e)}}function qyt(t,e){if((c=t.length)>0)for(var r,n=0,s,i,o,l,c,u=t[e[0]].length;n<u;++n)for(o=l=0,r=0;r<c;++r)(i=(s=t[e[r]][n])[1]-s[0])>0?(s[0]=o,s[1]=o+=i):i<0?(s[1]=l,s[0]=l+=i):(s[0]=0,s[1]=i)}function Vyt(t,e){if((s=t.length)>0){for(var r=0,n=t[e[0]],s,i=n.length;r<i;++r){for(var o=0,l=0;o<s;++o)l+=t[o][r][1]||0;n[r][1]+=n[r][0]=-l/2}nv(t,e)}}function Hyt(t,e){if(!(!((o=t.length)>0)||!((i=(s=t[e[0]]).length)>0))){for(var r=0,n=1,s,i,o;n<i;++n){for(var l=0,c=0,u=0;l<o;++l){for(var d=t[e[l]],f=d[n][1]||0,p=d[n-1][1]||0,m=(f-p)/2,h=0;h<l;++h){var _=t[e[h]],g=_[n][1]||0,y=_[n-1][1]||0;m+=g-y}c+=f,u+=m*f}s[n-1][1]+=s[n-1][0]=r,c&&(r-=u/c)}s[n-1][1]+=s[n-1][0]=r,nv(t,e)}}function Efe(t){var e=t.map(Gyt);return sv(t).sort(function(r,n){return e[r]-e[n]})}function Gyt(t){for(var e=-1,r=0,n=t.length,s,i=-1/0;++e<n;)(s=+t[e][1])>i&&(i=s,r=e);return r}function Rfe(t){var e=t.map(Ife);return sv(t).sort(function(r,n){return e[r]-e[n]})}function Ife(t){for(var e=0,r=-1,n=t.length,s;++r<n;)(s=+t[r][1])&&(e+=s);return e}function Wyt(t){return Rfe(t).reverse()}function Yyt(t){var e=t.length,r,n,s=t.map(Ife),i=Efe(t),o=0,l=0,c=[],u=[];for(r=0;r<e;++r)n=i[r],o<l?(o+=s[n],c.push(n)):(l+=s[n],u.push(n));return u.reverse().concat(c)}function Kyt(t){return sv(t).reverse()}const _D={appearance:Efe,ascending:Rfe,descending:Wyt,insideOut:Yyt,none:sv,reverse:Kyt},vD={expand:zyt,diverging:qyt,none:nv,silhouette:Vyt,wiggle:Hyt},Dfe=t=>{const{series:e,seriesOrder:r,defaultStrategy:n}=t,s=[],i={};return r.forEach(o=>{const{stack:l,stackOrder:c,stackOffset:u}=e[o];l===void 0?s.push({ids:[o],stackingOrder:_D.none,stackingOffset:vD.none}):i[l]===void 0?(i[l]=s.length,s.push({ids:[o],stackingOrder:_D[c??n?.stackOrder??"none"],stackingOffset:vD[u??n?.stackOffset??"diverging"]})):(s[i[l]].ids.push(o),c!==void 0&&(s[i[l]].stackingOrder=_D[c]),u!==void 0&&(s[i[l]].stackingOffset=vD[u]))}),s},Qyt=t=>t==null?"":t.toLocaleString(),Zyt=(t,e)=>{const{seriesOrder:r,series:n}=t,s=Dfe(t),i=e??[];r.forEach(l=>{const c=n[l].data;if(c!==void 0)c.forEach((u,d)=>{i.length<=d?i.push({[l]:u}):i[d][l]=u});else if(e===void 0)throw new Error([`MUI X Charts: bar series with id='${l}' has no data.`,"Either provide a data property to the series or use the dataset prop."].join(`
/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js.bak:341:        ${s}`},[`& .${kee.root}`]:{gridArea:"toolbar",justifySelf:"center"},justifyContent:"center",justifyItems:S2t(t.legendPosition),alignItems:w2t(t.legendPosition)}});function P2t(t){const{children:e,sx:r,extendVertically:n}=t,s=R0t(),i=Ms(),{width:o,height:l}=qr(i,Que);return a.jsx(M2t,{ref:s,ownerState:t,sx:r,extendVertically:n??l===void 0,width:o,children:e})}function $pe(t){return t.replace(" ","_")}const Ope=Sn("MuiAppearingMask",["animate"]),j2t=Ce("rect")({animationName:"animate-width",animationTimingFunction:a8,animationDuration:"0s",[`&.${Ope.animate}`]:{animationDuration:`${Bk}ms`},"@keyframes animate-width":{from:{width:0}}});function Lpe(t){const e=qa(),r=mx(),n=$pe(`${r}-${t.id}`);return a.jsxs(I.Fragment,{children:[a.jsx("clipPath",{id:n,children:a.jsx(j2t,{className:t.skipAnimation?"":Ope.animate,x:0,y:0,width:e.left+e.width+e.right,height:e.top+e.height+e.bottom})}),a.jsx("g",{clipPath:`url(#${n})`,children:t.children})]})}const T2t=["skipAnimation","ownerState"];function E2t(t){const{skipAnimation:e,ownerState:r}=t,n=Ht(t,T2t),s=k0t(t);return a.jsx(Lpe,{skipAnimation:e,id:`${r.id}-area-clip`,children:a.jsx("path",ce({fill:r.gradientId?`url(#${r.gradientId})`:r.color,filter:r.isHighlighted?"brightness(140%)":r.gradientId?void 0:"brightness(120%)",opacity:r.isFaded?.3:1,stroke:"none","data-series":r.id,"data-highlighted":r.isHighlighted||void 0,"data-faded":r.isFaded||void 0},n,s))})}const R2t=["id","classes","color","gradientId","slots","slotProps","onClick"];function I2t(t){return Pn("MuiAreaElement",t)}const D2t=Sn("MuiAreaElement",["root","highlighted","faded","series"]),$2t=t=>{const{classes:e,id:r,isFaded:n,isHighlighted:s}=t,i={root:["root",`series-${r}`,s&&"highlighted",n&&"faded"]};return un(i,I2t,e)};function O2t(t){const{id:e,classes:r,color:n,gradientId:s,slots:i,slotProps:o,onClick:l}=t,c=Ht(t,R2t),u=vx({type:"line",seriesId:e}),{isFaded:d,isHighlighted:f}=Uk({seriesId:e}),p={id:e,classes:r,color:n,gradientId:s,isFaded:d,isHighlighted:f},m=$2t(p),h=i?.area??E2t,_=xn({elementType:h,externalSlotProps:o?.area,additionalProps:ce({},u,{onClick:l,cursor:l?"pointer":"unset"}),className:m.root,ownerState:p});return a.jsx(h,ce({},c,_))}function Npe(t){switch(t){case"catmullRom":return Dyt.alpha(.5);case"linear":return J7;case"monotoneX":return uee;case"monotoneY":return $yt;case"natural":return Oyt;case"step":return Lyt;case"stepBefore":return Nyt;case"stepAfter":return Fyt;case"bumpY":return xyt;case"bumpX":return byt;default:return uee}}function L2t(t,e){const r=hx(),n=Uo().xAxisIds[0],s=Bo().yAxisIds[0],i=o8();return I.useMemo(()=>{if(r===void 0)return[];const{series:l,stackingGroups:c}=r,u=[];for(const d of c){const f=d.ids;for(let p=f.length-1;p>=0;p-=1){const m=f[p],{xAxisId:h=n,yAxisId:_=s,stackedData:g,data:y,connectNulls:b,baseline:x,curve:w,strictStepCurve:C,area:k}=l[m];if(!k||!(h in t)||!(_ in e))continue;const A=t[h].scale,P=Hv(A),T=e[_].scale,j=t[h].data,R=e[_].colorScale&&i(_)||t[h].colorScale&&i(h)||void 0,D=w?.includes("step")&&!C&&ao(A),O=j?.flatMap((z,H)=>{const W=y[H]==null;if(D){const K=[{x:z,y:g[H],nullData:W,isExtension:!1}];return!W&&(H===0||y[H-1]==null)&&K.unshift({x:(A(z)??0)-(A.step()-A.bandwidth())/2,y:g[H],nullData:W,isExtension:!0}),!W&&(H===y.length-1||y[H+1]==null)&&K.push({x:(A(z)??0)+(A.step()+A.bandwidth())/2,y:g[H],nullData:W,isExtension:!0}),K}return{x:z,y:g[H],nullData:W}})??[],N=b?O.filter(z=>!z.nullData):O,U=gyt().x(z=>z.isExtension?z.x:P(z.x)).defined(z=>b||!z.nullData||!!z.isExtension).y0(z=>{if(typeof x=="number")return T(x);if(x==="max")return T.range()[1];if(x==="min")return T.range()[0];const H=z.y&&T(z.y[0]);return Number.isNaN(H)?T.range()[0]:H}).y1(z=>z.y&&T(z.y[1])).curve(Npe(w))(N)||"";u.push({area:l[m].area,color:l[m].color,gradientId:R,d:U,seriesId:m})}}return u},[r,n,s,t,e,i])}const N2t=["slots","slotProps","onItemClick","skipAnimation"],F2t=Ce("g",{name:"MuiAreaPlot",slot:"Root"})({[`& .${D2t.root}`]:{transition:"opacity 0.2s ease-in, fill 0.2s ease-in"}}),U2t=()=>{const{xAxis:t}=Uo(),{yAxis:e}=Bo();return L2t(t,e)};function Fpe(t){const{slots:e,slotProps:r,onItemClick:n,skipAnimation:s}=t,i=Ht(t,N2t),o=Wk(),l=yx(o||s),c=U2t();return a.jsx(F2t,ce({},i,{children:c.map(({d:u,seriesId:d,color:f,area:p,gradientId:m})=>!!p&&a.jsx(O2t,{id:d,d:u,color:f,gradientId:m,slots:e,slotProps:r,onClick:n&&(h=>n(h,{type:"line",seriesId:d})),skipAnimation:l},d))}))}const B2t=["skipAnimation","ownerState"],z2t=I.forwardRef(function(e,r){const{skipAnimation:n,ownerState:s}=e,i=Ht(e,B2t),o=E0t(ce({},e,{ref:r}));return a.jsx(Lpe,{skipAnimation:n,id:`${s.id}-line-clip`,children:a.jsx("path",ce({stroke:s.gradientId?`url(#${s.gradientId})`:s.color,strokeWidth:2,strokeLinejoin:"round",fill:"none",filter:s.isHighlighted?"brightness(120%)":void 0,opacity:s.isFaded?.3:1,"data-series":s.id,"data-highlighted":s.isHighlighted||void 0,"data-faded":s.isFaded||void 0},i,o))})}),q2t=["id","classes","color","gradientId","slots","slotProps","onClick"];function V2t(t){return Pn("MuiLineElement",t)}const H2t=Sn("MuiLineElement",["root","highlighted","faded","series"]),G2t=t=>{const{classes:e,id:r,isFaded:n,isHighlighted:s}=t,i={root:["root",`series-${r}`,s&&"highlighted",n&&"faded"]};return un(i,V2t,e)};function W2t(t){const{id:e,classes:r,color:n,gradientId:s,slots:i,slotProps:o,onClick:l}=t,c=Ht(t,q2t),u=vx({type:"line",seriesId:e}),{isFaded:d,isHighlighted:f}=Uk({seriesId:e}),p={id:e,classes:r,color:n,gradientId:s,isFaded:d,isHighlighted:f},m=G2t(p),h=i?.line??z2t,_=xn({elementType:h,externalSlotProps:o?.line,additionalProps:ce({},u,{onClick:l,cursor:l?"pointer":"unset"}),className:m.root,ownerState:p});return a.jsx(h,ce({},c,_))}function Y2t(t,e){const r=hx(),n=Uo().xAxisIds[0],s=Bo().yAxisIds[0],i=o8();return I.useMemo(()=>{if(r===void 0)return[];const{series:l,stackingGroups:c}=r,u=[];for(const d of c){const f=d.ids;for(const p of f){const{xAxisId:m=n,yAxisId:h=s,stackedData:_,data:g,connectNulls:y,curve:b,strictStepCurve:x}=l[p];if(!(m in t)||!(h in e))continue;const w=t[m].scale,C=Hv(w),k=e[h].scale,A=t[m].data,P=e[h].colorScale&&i(h)||t[m].colorScale&&i(m)||void 0,T=b?.includes("step")&&!x&&ao(w),j=A?.flatMap((N,F)=>{const U=g[F]==null;if(T){const z=[{x:N,y:_[F],nullData:U,isExtension:!1}];return!U&&(F===0||g[F-1]==null)&&z.unshift({x:(w(N)??0)-(w.step()-w.bandwidth())/2,y:_[F],nullData:U,isExtension:!0}),!U&&(F===g.length-1||g[F+1]==null)&&z.push({x:(w(N)??0)+(w.step()+w.bandwidth())/2,y:_[F],nullData:U,isExtension:!0}),z}return{x:N,y:_[F],nullData:U}})??[],R=y?j.filter(N=>!N.nullData):j,O=yfe().x(N=>N.isExtension?N.x:C(N.x)).defined(N=>y||!N.nullData||!!N.isExtension).y(N=>k(N.y[1])).curve(Npe(b))(R)||"";u.push({color:l[p].color,gradientId:P,d:O,seriesId:p})}}return u},[r,n,s,t,e,i])}const K2t=["slots","slotProps","skipAnimation","onItemClick"],Q2t=Ce("g",{name:"MuiAreaPlot",slot:"Root"})({[`& .${H2t.root}`]:{transition:"opacity 0.2s ease-in, fill 0.2s ease-in"}}),Z2t=()=>{const{xAxis:t}=Uo(),{yAxis:e}=Bo();return Y2t(t,e)};function Upe(t){const{slots:e,slotProps:r,skipAnimation:n,onItemClick:s}=t,i=Ht(t,K2t),o=Wk(),l=yx(o||n),c=Z2t();return a.jsx(Q2t,ce({},i,{children:c.map(({d:u,seriesId:d,color:f,gradientId:p})=>a.jsx(W2t,{id:d,d:u,color:f,gradientId:p,skipAnimation:l,slots:e,slotProps:r,onClick:s&&(m=>s(m,{type:"line",seriesId:d}))},d))}))}function X2t(t){return Pn("MuiMarkElement",t)}const Bpe=Sn("MuiMarkElement",["root","highlighted","faded","animate","series"]),zpe=t=>{const{classes:e,id:r,isFaded:n,isHighlighted:s,skipAnimation:i}=t,o={root:["root",`series-${r}`,s&&"highlighted",n&&"faded",i?void 0:"animate"]};return un(o,X2t,e)},J2t=["x","y","id","classes","color","dataIndex","onClick","skipAnimation","isFaded","isHighlighted"],ewt=Ce("circle")({[`&.${Bpe.animate}`]:{transitionDuration:`${Bk}ms`,transitionProperty:"cx, cy",transitionTimingFunction:a8}});function twt(t){const{x:e,y:r,id:n,classes:s,color:i,dataIndex:o,onClick:l,skipAnimation:c,isFaded:u=!1,isHighlighted:d=!1}=t,f=Ht(t,J2t),p=As(),m=vx({type:"line",seriesId:n,dataIndex:o}),_=zpe({id:n,classes:s,isHighlighted:d,isFaded:u,skipAnimation:c});return a.jsx(ewt,ce({},f,{cx:e,cy:r,r:5,fill:(p.vars||p).palette.background.paper,stroke:i,strokeWidth:2,className:_.root,onClick:l,cursor:l?"pointer":"unset"},m,{"data-highlighted":d||void 0,"data-faded":u||void 0}))}function qpe(t){switch(t){case"circle":return 0;case"cross":return 1;case"diamond":return 2;case"square":return 3;case"star":return 4;case"triangle":return 5;case"wye":return 6;default:return 0}}const rwt=["x","y","id","classes","color","shape","dataIndex","onClick","skipAnimation","isFaded","isHighlighted"],nwt=Ce("path",{name:"MuiMarkElement",slot:"Root"})(({ownerState:t,theme:e})=>({fill:(e.vars||e).palette.background.paper,stroke:t.color,strokeWidth:2,[`&.${Bpe.animate}`]:{transitionDuration:`${Bk}ms`,transitionProperty:"transform, transform-origin",transitionTimingFunction:a8}}));function swt(t){const{x:e,y:r,id:n,classes:s,color:i,shape:o,dataIndex:l,onClick:c,skipAnimation:u,isFaded:d=!1,isHighlighted:f=!1}=t,p=Ht(t,rwt),m=vx({type:"line",seriesId:n,dataIndex:l}),h={id:n,classes:s,isHighlighted:f,isFaded:d,color:i,skipAnimation:u},_=zpe(h);return a.jsx(nwt,ce({},p,{style:{transform:`translate(${e}px, ${r}px)`,transformOrigin:`${e}px ${r}px`},ownerState:h,className:_.root,d:Afe(Cfe[qpe(o)])(),onClick:c,cursor:c?"pointer":"unset"},m,{"data-highlighted":f||void 0,"data-faded":d||void 0}))}const iwt=["slots","slotProps","skipAnimation","onItemClick"];function owt(t){const{slots:e,slotProps:r,skipAnimation:n,onItemClick:s}=t,i=Ht(t,iwt),o=Wk(),l=yx(o||n),c=hx(),{xAxis:u,xAxisIds:d}=Uo(),{yAxis:f,yAxisIds:p}=Bo(),m=mx(),{instance:h,store:_}=Wc(),{isFaded:g,isHighlighted:y}=u0t(),b=qr(_,afe),x=I.useMemo(()=>{const P={};for(const{dataIndex:T,axisId:j}of b)P[j]===void 0?P[j]=new Set([T]):P[j].add(T);return P},[b]);if(c===void 0)return null;const{series:w,stackingGroups:C}=c,k=d[0],A=p[0];return a.jsx("g",ce({},i,{children:C.flatMap(({ids:P})=>P.map(T=>{const{xAxisId:j=k,yAxisId:R=A,stackedData:D,data:O,showMark:N=!0,shape:F="circle"}=w[T];if(N===!1)return null;const U=Hv(u[j].scale),z=f[R].scale,H=u[j].data;if(H===void 0)throw new Error(`MUI X Charts: ${j===Bv?"The first `xAxis`":`The x-axis with id "${j}"`} should have data property to be able to display a line plot.`);const W=$pe(`${m}-${T}-line-clip`),K=t8(w[T],u[j],f[R]),q=e?.mark??(F==="circle"?twt:swt),X=y({seriesId:T}),Q=!X&&g({seriesId:T});return a.jsx("g",{clipPath:`url(#${W})`,"data-series":T,children:H?.map((Y,Z)=>{const re=O[Z]==null?null:D[Z][1];return{x:U(Y),y:re===null?null:z(re),position:Y,value:re,index:Z}}).filter(({x:Y,y:Z,index:re,position:fe,value:de})=>de===null||Z===null||!h.isPointInside(Y,Z)?!1:N===!0?!0:N({x:Y,y:Z,index:re,position:fe,value:de})).map(({x:Y,y:Z,index:re})=>a.jsx(q,ce({id:T,dataIndex:re,shape:F,color:K(re),x:Y,y:Z,skipAnimation:l,onClick:s&&(fe=>s(fe,{type:"line",seriesId:T,dataIndex:re})),isHighlighted:x[j]?.has(re)||X,isFaded:Q},r?.mark),`${T}-${re}`))},T)}))}))}const awt=parseInt(I.version,10),lwt=["x","y","id","classes","color","shape"];function cwt(t){return Pn("MuiHighlightElement",t)}Sn("MuiHighlightElement",["root"]);const uwt=t=>{const{classes:e,id:r}=t,n={root:["root",`series-${r}`]};return un(n,cwt,e)};function dwt(t){const{x:e,y:r,color:n,shape:s}=t,i=Ht(t,lwt),o=uwt(t),l=s==="circle"?"circle":"path",c=s==="circle"?{cx:0,cy:0,r:i.r===void 0?5:i.r}:{d:Afe(Cfe[qpe(s)])()},u=awt>18?{transformOrigin:`${e} ${r}`}:{"transform-origin":`${e} ${r}`};return a.jsx(l,ce({pointerEvents:"none",className:o.root,transform:`translate(${e} ${r})`,fill:n},u,c,i))}const fwt=["slots","slotProps"];function Vpe(t){const{slots:e,slotProps:r}=t,n=Ht(t,fwt),s=hx(),{xAxis:i,xAxisIds:o}=Uo(),{yAxis:l,yAxisIds:c}=Bo(),{instance:u}=Wc(),d=Ms(),f=qr(d,afe);if(f.length===0||s===void 0)return null;const{series:p,stackingGroups:m}=s,h=o[0],_=c[0],g=e?.lineHighlight??dwt;return a.jsx("g",ce({},n,{children:f.flatMap(({dataIndex:y,axisId:b})=>m.flatMap(({ids:x})=>x.flatMap(w=>{const{xAxisId:C=h,yAxisId:k=_,stackedData:A,data:P,disableHighlight:T,shape:j="circle"}=p[w];if(T||P[y]==null||b!==C)return null;const R=Hv(i[C].scale),D=l[k].scale,O=i[C].data;if(O===void 0)throw new Error(`MUI X Charts: ${C===Bv?"The first `xAxis`":`The x-axis with id "${C}"`} should have data property to be able to display a line plot.`);const N=R(O[y]),F=D(A[y][1]);if(!u.isPointInside(N,F))return null;const U=t8(p[w],i[C],l[k]);return a.jsx(g,ce({id:w,color:U(y),x:N,y:F,shape:j},r?.lineHighlight),`${w}`)})))}))}const pwt=[px,fx,zv,lx,Vv,Fk],mwt=["xAxis","yAxis","series","width","height","margin","colors","dataset","sx","onAreaClick","onLineClick","onMarkClick","axisHighlight","disableLineItemHighlight","hideLegend","grid","children","slots","slotProps","skipAnimation","loading","highlightedItem","onHighlightChange","className","showToolbar","brushConfig"],hwt=t=>{const{xAxis:e,yAxis:r,series:n,width:s,height:i,margin:o,colors:l,dataset:c,sx:u,onAreaClick:d,onLineClick:f,onMarkClick:p,axisHighlight:m,disableLineItemHighlight:h,grid:_,children:g,slots:y,slotProps:b,skipAnimation:x,loading:w,highlightedItem:C,onHighlightChange:k,className:A,brushConfig:P}=t,T=Ht(t,mwt),R=`${dv()}-clip-path`,D=I.useMemo(()=>n.map(re=>ce({disableHighlight:!!h,type:"line"},re)),[h,n]),O=ce({},T,{series:D,width:s,height:i,margin:o,colors:l,dataset:c,xAxis:e??[{id:Bv,scaleType:"point",data:Array.from({length:Math.max(...n.map(re=>(re.data??c??[]).length))},(re,fe)=>fe)}],yAxis:r,highlightedItem:C,onHighlightChange:k,disableAxisListener:b?.tooltip?.trigger!=="axis"&&m?.x==="none"&&m?.y==="none",className:A,skipAnimation:x,brushConfig:P,plugins:pwt}),N={vertical:_?.vertical,horizontal:_?.horizontal},F={clipPath:`url(#${R})`},U={id:R},z={slots:y,slotProps:b,onItemClick:d},H={slots:y,slotProps:b,onItemClick:f},W={slots:y,slotProps:b,onItemClick:p,skipAnimation:x},K={slots:y,slotProps:b,loading:w},q={slots:y,slotProps:b},X=ce({x:"line"},m),Q={slots:y,slotProps:b},Y={slots:y,slotProps:b};return{chartsWrapperProps:{sx:u,legendPosition:t.slotProps?.legend?.position,legendDirection:t.slotProps?.legend?.direction,hideLegend:t.hideLegend??!1},chartContainerProps:O,gridProps:N,clipPathProps:U,clipPathGroupProps:F,areaPlotProps:z,linePlotProps:H,markPlotProps:W,overlayProps:K,chartsAxisProps:q,axisHighlightProps:X,lineHighlightPlotProps:Q,legendProps:Y,children:g}},Pw=6;function Hpe(){const t=As(),e=Epe(),r=hx(),{xAxis:n,xAxisIds:s}=Uo(),{yAxis:i,yAxisIds:o}=Bo();if(e===null||e.seriesType!=="line"||!r)return null;const l=r?.series[e.seriesId],c=l.xAxisId??s[0],u=l.yAxisId??o[0];return a.jsx("rect",{fill:"none",stroke:(t.vars??t).palette.text.primary,strokeWidth:2,x:n[c].scale(n[c].data[e.dataIndex])-Pw,y:i[u].scale(l.stackedData[e.dataIndex][1])-Pw,width:2*Pw,height:2*Pw,rx:3,ry:3})}const Mee=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiLineChart"}),{chartsWrapperProps:s,chartContainerProps:i,gridProps:o,clipPathProps:l,clipPathGroupProps:c,areaPlotProps:u,linePlotProps:d,markPlotProps:f,overlayProps:p,chartsAxisProps:m,axisHighlightProps:h,lineHighlightPlotProps:_,legendProps:g,children:y}=hwt(n),{chartDataProviderProps:b,chartsSurfaceProps:x}=x2t(i,r),w=n.slots?.tooltip??jpe,C=n.slots?.toolbar;return a.jsx(Dpe,ce({},b,{children:a.jsxs(P2t,ce({},s,{children:[n.showToolbar&&C?a.jsx(C,ce({},n.slotProps?.toolbar)):null,!n.hideLegend&&a.jsx(gSt,ce({},g)),a.jsxs(p8,ce({},x,{children:[a.jsx(Dxt,ce({},o)),a.jsxs("g",ce({},c,{children:[a.jsx(Fpe,ce({},u)),a.jsx(Upe,ce({},d)),a.jsx(o2t,ce({},p)),a.jsx(Tpe,ce({},h))]})),a.jsx(Hpe,{}),a.jsx(Mxt,ce({},m)),a.jsx("g",{"data-drawing-container":!0,children:a.jsx(owt,ce({},f))}),a.jsx(Vpe,ce({},_)),a.jsx(epe,ce({},l)),y]})),!n.loading&&a.jsx(w,ce({},n.slotProps?.tooltip))]}))}))});function Uy(t,e){if(typeof t=="number")return t;if(t==="100%")return e;if(t.endsWith("%")){const r=Number.parseFloat(t.slice(0,t.length-1));if(!Number.isNaN(r))return r*e/100}if(t.endsWith("px")){const r=Number.parseFloat(t.slice(0,t.length-2));if(!Number.isNaN(r))return r}throw new Error(`MUI X Charts: Received an unknown value "${t}". It should be a number, or a string with a percentage value.`)}const gwt=["xAxis","yAxis","width","height","margin","color","baseline","sx","showTooltip","showHighlight","axisHighlight","children","slots","slotProps","data","plotType","valueFormatter","area","curve","className","disableClipping","clipAreaOffset","onHighlightChange","onHighlightedAxisChange","highlightedAxis","highlightedItem"],_wt=5,kD=I.forwardRef(function(e,r){const{xAxis:n,yAxis:s,width:i,height:o,margin:l=_wt,color:c,baseline:u,sx:d,showTooltip:f,showHighlight:p,axisHighlight:m,children:h,slots:_,slotProps:g,data:y,plotType:b="line",valueFormatter:x=Y=>Y===null?"":Y.toString(),area:w,curve:C="linear",className:k,disableClipping:A,clipAreaOffset:P,onHighlightChange:T,onHighlightedAxisChange:j,highlightedAxis:R,highlightedItem:D}=e,O=Ht(e,gwt),F=`${dv()}-clip-path`,U=I.useMemo(()=>({top:P?.top??1,right:P?.right??1,bottom:P?.bottom??1,left:P?.left??1}),[P?.bottom,P?.left,P?.right,P?.top]),z=I.useMemo(()=>p&&b==="bar"?{x:"band"}:{x:"none"},[b,p]),H=I.useMemo(()=>ce({},z,m),[z,m]),W=e.slots?.tooltip??jpe,K=I.useMemo(()=>{if(c!=null)return typeof c=="function"?Y=>[c(Y)]:[c]},[c]),q=I.useMemo(()=>[ce({type:b,data:y,valueFormatter:x},b==="bar"?{}:{area:w,curve:C,baseline:u,disableHighlight:!p})],[w,u,C,y,b,p,x]),X=I.useMemo(()=>[ce({id:Bv,scaleType:b==="bar"?"band":"point",hideTooltip:n===void 0},n,{data:n?.data??Array.from({length:y.length},(Y,Z)=>Z),position:"none"})],[y.length,b,n]),Q=I.useMemo(()=>[ce({id:y7},s,{position:"none"})],[s]);return a.jsxs(Dpe,{series:q,width:i,height:o,margin:l,xAxis:X,yAxis:Q,colors:K,disableAxisListener:j===void 0&&(!f||g?.tooltip?.trigger!=="axis")&&H?.x==="none"&&H?.y==="none",onHighlightChange:T,onHighlightedAxisChange:j,highlightedAxis:R,highlightedItem:D,children:[a.jsxs(p8,ce({className:k,ref:r,sx:d},O,{children:[a.jsxs("g",{clipPath:`url(#${F})`,children:[b==="bar"&&a.jsx(XSt,{skipAnimation:!0,slots:_,slotProps:g}),b==="line"&&a.jsxs(I.Fragment,{children:[a.jsx(Fpe,{skipAnimation:!0,slots:_,slotProps:g}),a.jsx(Upe,{skipAnimation:!0,slots:_,slotProps:g})]})]}),b==="line"&&a.jsxs(I.Fragment,{children:[a.jsx(Vpe,{slots:_,slotProps:g}),a.jsx(Hpe,{})]}),A?null:a.jsx(epe,{id:F,offset:U}),a.jsx(Tpe,ce({},H)),h]})),f&&a.jsx(W,ce({},e.slotProps?.tooltip))]})});function MD(t){const e=up(t);return[Math.sin(e),-Math.cos(e)]}function vwt(t,e){const r=[[0,0],MD(t),MD(e)],n=Math.min(t,e),s=Math.max(t,e),i=Math.floor(n/90)*90;for(let d=1;d<=4;d+=1){const f=i+d*90;f<s&&r.push(MD(f))}const o=Math.min(...r.map(([d])=>d)),l=Math.max(...r.map(([d])=>d)),c=Math.min(...r.map(([,d])=>d)),u=Math.max(...r.map(([,d])=>d));return{cx:-o/(l-o),cy:-c/(u-c),minX:o,maxX:l,minY:c,maxY:u}}function ywt(t,e,r,n,{minX:s,maxX:i,minY:o,maxY:l}){return Math.min(...[{ratio:Math.abs(s),space:t},{ratio:Math.abs(i),space:r-t},{ratio:Math.abs(o),space:e},{ratio:Math.abs(l),space:n-e}].map(({ratio:c,space:u})=>c<1e-5?1/0:u/c))}const Gpe=I.createContext({value:null,valueMin:0,valueMax:0,startAngle:0,endAngle:0,innerRadius:0,outerRadius:0,cornerRadius:0,cx:0,cy:0,maxRadius:0,valueAngle:null});function bwt(t){const{value:e=null,valueMin:r=0,valueMax:n=100,startAngle:s=0,endAngle:i=360,outerRadius:o,innerRadius:l,cornerRadius:c,cx:u,cy:d,children:f}=t,{left:p,top:m,width:h,height:_}=qa(),g=vwt(s,i),y=u?Uy(u,h):g.cx*h,b=d?Uy(d,_):g.cy*_;let x=p+y,w=m+b;const C=ywt(y,b,h,_,g);if(u===void 0){const j=C*(g.maxX-g.minX);x=p+(h-j)/2+g.cx*j}if(d===void 0){const j=C*(g.maxY-g.minY);w=m+(_-j)/2+g.cy*j}const k=Uy(o??C,C),A=Uy(l??"80%",C),P=Uy(c??0,k-A),T=I.useMemo(()=>{const j=up(s),R=up(i);return{value:e,valueMin:r,valueMax:n,startAngle:j,endAngle:R,outerRadius:k,innerRadius:A,cornerRadius:P,cx:x,cy:w,maxRadius:C,valueAngle:e===null?null:j+(R-j)*(e-r)/(n-r)}},[e,r,n,s,i,k,A,P,x,w,C]);return a.jsx(Gpe.Provider,{value:T,children:f})}function m8(){return I.useContext(Gpe)}const xwt=["width","height","margin","title","desc","value","valueMin","valueMax","startAngle","endAngle","outerRadius","innerRadius","cornerRadius","cx","cy","children"],Swt=Ce("g")(({theme:t})=>({"& text":{fill:(t.vars||t).palette.text.primary}})),wwt=I.forwardRef(function(e,r){const{width:n,height:s,margin:i,title:o,desc:l,value:c,valueMin:u=0,valueMax:d=100,startAngle:f,endAngle:p,outerRadius:m,innerRadius:h,cornerRadius:_,cx:g,cy:y,children:b}=e,x=Ht(e,xwt);return a.jsx(Ofe,{pluginParams:{width:n,height:s,margin:Zue(i,{left:10,right:10,top:10,bottom:10})},plugins:[],children:a.jsx(bwt,{value:c,valueMin:u,valueMax:d,startAngle:f,endAngle:p,outerRadius:m,innerRadius:h,cornerRadius:_,cx:g,cy:y,children:a.jsx(p8,ce({title:o,desc:l,role:"meter","aria-valuenow":c===null?void 0:c,"aria-valuemin":u,"aria-valuemax":d},x,{ref:r,children:a.jsx(Swt,{"aria-hidden":"true",children:b})}))})})});function Cwt(t,e){const r=Js(t.startAngle,e.startAngle),n=Js(t.endAngle,e.endAngle),s=Js(t.innerRadius,e.innerRadius),i=Js(t.outerRadius,e.outerRadius),o=Js(t.cornerRadius,e.cornerRadius);return l=>({startAngle:r(l),endAngle:n(l),innerRadius:s(l),outerRadius:i(l),cornerRadius:o(l)})}function Awt(t){return Gv({startAngle:t.startAngle,endAngle:t.endAngle,innerRadius:t.innerRadius,outerRadius:t.outerRadius,cornerRadius:t.cornerRadius},{createInterpolator:Cwt,transformProps:e=>({d:hfe().cornerRadius(e.cornerRadius)({innerRadius:e.innerRadius,outerRadius:e.outerRadius,startAngle:e.startAngle,endAngle:e.endAngle})}),applyProps(e,r){e.setAttribute("d",r.d)},initialProps:{startAngle:t.startAngle,endAngle:t.startAngle,innerRadius:t.innerRadius,outerRadius:t.outerRadius,cornerRadius:t.cornerRadius},skip:t.skipAnimation,ref:t.ref})}function kwt(t){return Pn("MuiGauge",t)}const th=Sn("MuiGauge",["root","valueArc","referenceArc","valueText"]),Mwt=["className"],Pwt=["cx","cy","startAngle","endAngle","cornerRadius","innerRadius","outerRadius","skipAnimation"],jwt=Ce("path",{name:"MuiGauge",slot:"ValueArc"})(({theme:t})=>({fill:(t.vars||t).palette.primary.main}));function Twt(t){let{className:e}=t,r=Ht(t,Mwt);const{value:n,valueMin:s,valueMax:i,startAngle:o,endAngle:l,outerRadius:c,innerRadius:u,cornerRadius:d,cx:f,cy:p}=m8();if(n===null)return null;const m=o+(n-s)/(i-s)*(l-o);return a.jsx(Ewt,ce({},r,{className:lt(th.valueArc,e),cx:f,cy:p,startAngle:o,endAngle:m,cornerRadius:d,innerRadius:u,outerRadius:c}))}function Ewt(t){let{cx:e,cy:r,startAngle:n,endAngle:s,cornerRadius:i,innerRadius:o,outerRadius:l,skipAnimation:c}=t,u=Ht(t,Pwt);const d=yx(c),f=Awt({startAngle:n,endAngle:s,cornerRadius:i,innerRadius:o,outerRadius:l,skipAnimation:d});return a.jsx(jwt,ce({},f,{transform:`translate(${e}, ${r})`},u))}const Rwt=["className"],Iwt=Ce("path",{name:"MuiGauge",slot:"ReferenceArc"})(({theme:t})=>({fill:(t.vars||t).palette.divider}));function Dwt(t){let{className:e}=t,r=Ht(t,Rwt);const{startAngle:n,endAngle:s,outerRadius:i,innerRadius:o,cornerRadius:l,cx:c,cy:u}=m8();return a.jsx(Iwt,ce({className:lt(th.referenceArc,e),transform:`translate(${c}, ${u})`,d:hfe().cornerRadius(l)({startAngle:n,endAngle:s,innerRadius:o,outerRadius:i})},r))}const $wt=["text","className"];function Owt({value:t}){return t===null?null:t.toLocaleString()}function Lwt(t){const{text:e=Owt,className:r}=t,n=Ht(t,$wt),{value:s,valueMin:i,valueMax:o,cx:l,cy:c}=m8(),u=typeof e=="function"?e({value:s,valueMin:i,valueMax:o}):e;return u===null?null:a.jsx("g",{className:lt(th.valueText,r),children:a.jsx(_x,ce({x:l,y:c,text:u,style:{textAnchor:"middle",dominantBaseline:"central"}},n))})}const Nwt=["text","children","classes","className","skipAnimation"],Fwt=t=>{const{classes:e}=t;return un({root:["root"]},kwt,e)},Pee=I.forwardRef(function(e,r){const{text:n,children:s,className:i,skipAnimation:o}=e,l=Ht(e,Nwt),c=Fwt(e);return a.jsxs(wwt,ce({},l,{className:lt(c.root,i),ref:r,children:[a.jsx(Dwt,{}),a.jsx(Twt,{skipAnimation:o}),a.jsx(Lwt,{text:n}),s]}))}),mi=t=>{const e=he.c(4),{show:r,size:n,children:s}=t,i=r===void 0?!1:r,o=n===void 0?"default":n;let l;return e[0]!==s||e[1]!==i||e[2]!==o?(l=i?a.jsx(Is,{size:o==="small"?{xs:6,lg:2,xl:2}:{xs:12,sm:6,lg:4,xl:3},zeroMinWidth:!0,children:a.jsx(pr,{fullHeight:!0,children:a.jsx(Kt,{children:a.jsx(te,{spacing:2,children:s})})})}):null,e[0]=s,e[1]=i,e[2]=o,e[3]=l):l=e[3],l},jw=t=>{const e=he.c(2),{isFirst:r}=t,s=(r===void 0?!1:r)?0:2;let i;return e[0]!==s?(i=a.jsx(Dt,{sx:{height:"32px",mb:2,mt:s},variant:"rectangular"}),e[0]=s,e[1]=i):i=e[1],i},Wpe=t=>{const e=he.c(5),{size:r}=t,n=r===void 0?"default":r,s=n==="small"?"74px":"250px";let i;e[0]!==s?(i=a.jsx(Dt,{variant:"rounded",sx:{height:s}}),e[0]=s,e[1]=i):i=e[1];let o;return e[2]!==n||e[3]!==i?(o=a.jsx(mi,{show:!0,size:n,children:i}),e[2]=n,e[3]=i,e[4]=o):o=e[4],o},Tw=t=>{const e=he.c(5),{size:r}=t,n=r===void 0?"default":r;let s;e[0]!==n?(s=Array.from({length:n==="small"?4:8}),e[0]=n,e[1]=s):s=e[1];let i;return e[2]!==n||e[3]!==s?(i=a.jsx(al,{children:s.map((o,l)=>a.jsx(Wpe,{size:n},l))}),e[2]=n,e[3]=s,e[4]=i):i=e[4],i};function Rs(t){const e=he.c(73);let r,n,s,i,o,l,c,u,d,f,p,m,h,_,g;e[0]!==t?({mainValue:n,mainValueUnit:i,totalValue:h,totalValueUnit:_,totalValueFontSizeRatio:u,valueDivider:g,title:p,subtitle:l,variant:d,titleColor:m,mainValueColor:s,subtitleColor:c,leftAlign:r,uppercaseTitle:f,...o}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d,e[10]=f,e[11]=p,e[12]=m,e[13]=h,e[14]=_,e[15]=g):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9],f=e[10],p=e[11],m=e[12],h=e[13],_=e[14],g=e[15]);const y=u===void 0?1:u,b=d===void 0?"medium":d,x=f===void 0?!0:f;let w;e:{switch(b){case"large":{let se;e[16]===Symbol.for("react.memo_cache_sentinel")?(se={valueFontSize:{value:40,unit:24},titleFontSize:16,subtitleFontSize:14},e[16]=se):se=e[16],w=se;break e}case"medium":{let se;e[17]===Symbol.for("react.memo_cache_sentinel")?(se={valueFontSize:{value:32,unit:20},titleFontSize:16,subtitleFontSize:14},e[17]=se):se=e[17],w=se;break e}case"small":{let se;e[18]===Symbol.for("react.memo_cache_sentinel")?(se={valueFontSize:{value:24,unit:14},titleFontSize:16,subtitleFontSize:14},e[18]=se):se=e[18],w=se;break e}case"xsmall":{let se;e[19]===Symbol.for("react.memo_cache_sentinel")?(se={valueFontSize:{value:18,unit:14},titleFontSize:16,subtitleFontSize:14},e[19]=se):se=e[19],w=se;break e}}w=void 0}const C=w,k=Uwt,{valueFontSize:A,titleFontSize:P,subtitleFontSize:T}=C,j=r?"left":"right";let R;e[20]!==j?(R={lineHeight:1,textAlign:j},e[20]=j,e[21]=R):R=e[21];const D=R;let O;e[22]!==D?(O={...D,wordBreak:"break-word"},e[22]=D,e[23]=O):O=e[23];let N;e[24]!==O||e[25]!==A.value?(N={component:"span",color:"text.primary",fontSize:A.value,fontWeight:"600",sx:O},e[24]=O,e[25]=A.value,e[26]=N):N=e[26];const F=N;let U;e[27]!==D?(U={...D,display:"inline-block"},e[27]=D,e[28]=U):U=e[28];let z;e[29]!==U||e[30]!==A.unit?(z={component:"span",color:"text.primary",fontSize:A.unit,sx:U},e[29]=U,e[30]=A.unit,e[31]=z):z=e[31];const H=z,W=r?"left":"right";let K;e[32]!==W?(K={textAlign:W,whiteSpace:""},e[32]=W,e[33]=K):K=e[33];const q=s?`${s}.main`:F.color;let X;e[34]!==n||e[35]!==q||e[36]!==F?(X=a.jsx(cn,{...F,color:q,children:n}),e[34]=n,e[35]=q,e[36]=F,e[37]=X):X=e[37];let Q;e[38]!==n||e[39]!==i||e[40]!==H?(Q=i&&!k(n)&&a.jsx(cn,{...H,children:i}),e[38]=n,e[39]=i,e[40]=H,e[41]=Q):Q=e[41];let Y;e[42]!==h||e[43]!==y||e[44]!==_||e[45]!==H||e[46]!==F||e[47]!==g||e[48]!==A.unit||e[49]!==A.value?(Y=!k(h)&&a.jsxs(a.Fragment,{children:[a.jsx(cn,{...F,fontSize:A?.value?A.value*y:void 0,paddingX:g?0:1,children:g}),a.jsx(cn,{...F,fontSize:A?.value?A.value*y:void 0,children:h}),_&&a.jsx(cn,{...H,fontSize:A?.unit?A.unit*y:void 0,children:_})]}),e[42]=h,e[43]=y,e[44]=_,e[45]=H,e[46]=F,e[47]=g,e[48]=A.unit,e[49]=A.value,e[50]=Y):Y=e[50];let Z;e[51]!==K||e[52]!==X||e[53]!==Q||e[54]!==Y?(Z=a.jsxs(cn,{component:"p",sx:K,children:[X,Q,Y]}),e[51]=K,e[52]=X,e[53]=Q,e[54]=Y,e[55]=Z):Z=e[55];let re;e[56]!==p||e[57]!==m||e[58]!==P||e[59]!==D||e[60]!==x?(re=p&&a.jsx(cn,{component:"p",fontSize:P,sx:D,className:"SquaredChildTile-title",color:m?`${m}.main`:"text.primary",children:x?p.toUpperCase():p}),e[56]=p,e[57]=m,e[58]=P,e[59]=D,e[60]=x,e[61]=re):re=e[61];let fe;e[62]!==l||e[63]!==c||e[64]!==T||e[65]!==D||e[66]!==x?(fe=l&&a.jsx(a.Fragment,{children:typeof l=="string"?a.jsx(cn,{component:"p",fontSize:T,color:c?`${c}.main`:"text.secondary",sx:D,children:x?l.toUpperCase():l}):a.jsx(te,{direction:"row",justify:"flex-end",spacing:2,sx:{flexWrap:"nowrap",mb:1,marginTop:"10px"},children:l.map((se,le)=>a.jsxs(te,{children:[a.jsx(cn,{component:"span",fontSize:T,sx:D,children:se.label?.toUpperCase()}),a.jsx(cn,{component:"span",fontWeight:"600",fontSize:T,sx:D,children:se.value?.toString().toUpperCase()})]},le))})}),e[62]=l,e[63]=c,e[64]=T,e[65]=D,e[66]=x,e[67]=fe):fe=e[67];let de;return e[68]!==o||e[69]!==Z||e[70]!==re||e[71]!==fe?(de=a.jsxs(gt,{...o,children:[Z,re,fe]}),e[68]=o,e[69]=Z,e[70]=re,e[71]=fe,e[72]=de):de=e[72],de}function Uwt(t){return t==null||t===""}function wi(t){const e=he.c(36);let r,n,s,i,o,l,c,u,d;e[0]!==t?({onClick:c,epigraph:n,epigraphColor:s,icon:o,iconLabel:l,children:r,horizontal:i,divided:d,...u}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9]);const f=d===void 0?!0:d;let p;e[10]!==c?(p=c&&{"&:hover":{cursor:"pointer","& .SquaredTile-title":{textDecoration:"underline"}}},e[10]=c,e[11]=p):p=e[11];let m;e[12]!==p?(m={...p},e[12]=p,e[13]=m):m=e[13];let h;e[14]!==n||e[15]!==s?(h=n&&a.jsx(cn,{color:s?`${s}.main`:"text.primary",fontSize:"14px",fontWeight:"600",sx:{lineHeight:1},children:n}),e[14]=n,e[15]=s,e[16]=h):h=e[16];const _=o||l?"space-between":"flex-end";let g;e[17]===Symbol.for("react.memo_cache_sentinel")?(g={gap:"10px"},e[17]=g):g=e[17];let y;e[18]!==n||e[19]!==o||e[20]!==l?(y=(o||l)&&a.jsxs(te,{direction:"column",align:"center",children:[o&&a.jsx(gt,{sx:{fontSize:"42px",marginTop:n?"10px":"0",color:"text.secondary"},children:o}),l&&a.jsx(cn,{color:"text.secondary",fontWeight:"400",component:"div",sx:{textAlign:"center",lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},children:l})]}),e[18]=n,e[19]=o,e[20]=l,e[21]=y):y=e[21];let b;e[22]!==r||e[23]!==f||e[24]!==i?(b=r&&a.jsx(te,{fullWidth:!0,divided:f,spacing:2,dividerSize:"50px",align:"flex-end",dividerAlign:"flex-end",...i&&{direction:"row",nowrap:!0,sx:{div:{flexGrow:1}}},children:r}),e[22]=r,e[23]=f,e[24]=i,e[25]=b):b=e[25];let x;e[26]!==_||e[27]!==y||e[28]!==b?(x=a.jsxs(te,{direction:"row",justify:_,align:"flex-start",spacing:0,sx:g,nowrap:!0,children:[y,b]}),e[26]=_,e[27]=y,e[28]=b,e[29]=x):x=e[29];let w;return e[30]!==c||e[31]!==u||e[32]!==m||e[33]!==h||e[34]!==x?(w=a.jsxs(gt,{sx:m,onClick:c,...u,children:[h,x]}),e[30]=c,e[31]=u,e[32]=m,e[33]=h,e[34]=x,e[35]=w):w=e[35],w}const Ew=I.forwardRef((t,e)=>{const r=he.c(10),{sx:n,text:s,align:i}=t,o=i===void 0?"left":i;let l;r[0]===Symbol.for("react.memo_cache_sentinel")?(l={mt:1},r[0]=l):l=r[0];let c;r[1]!==n?(c={mt:6,mb:2,"&:first-of-type":l,...n},r[1]=n,r[2]=c):c=r[2];let u;r[3]!==o||r[4]!==e||r[5]!==s?(u=a.jsx(_e,{type:"body1",align:o,ref:e,title:s,fontWeight:"500",children:s}),r[3]=o,r[4]=e,r[5]=s,r[6]=u):u=r[6];let d;return r[7]!==c||r[8]!==u?(d=a.jsx(gt,{sx:c,children:u}),r[7]=c,r[8]=u,r[9]=d):d=r[9],d});var Ype=(t=>(t.Bytes="Bytes",t.kB="kB",t.MB="MB",t.GB="GB",t.TB="TB",t.PB="PB",t.EB="EB",t.ZB="ZB",t.YB="YB",t))(Ype||{});const Bwt=Object.keys(Ype);var Kpe=(t=>(t.bps="bps",t.kbps="kbps",t.Mbps="Mbps",t.Gbps="Gbps",t.Tbps="Tbps",t.Pbps="Pbps",t.Ebps="Ebps",t.Zbps="Zbps",t.Ybps="Ybps",t))(Kpe||{});const zwt=Object.keys(Kpe);function Rw(t){return t==null?0:(typeof t=="string"&&(t=+t),t)}function Qpe({value:t,decimals:e=2,defaultSize:r,sizes:n,k:s=1e3}){if(t===0)return{value:"0",unit:r};e=e<0?0:e;const i=Math.floor(Math.log(t)/Math.log(s));return{value:parseFloat((t/Math.pow(s,i)).toFixed(e))?.toString(),unit:n[i]}}function qwt(t,e=2){return Qpe({value:t,decimals:e,defaultSize:"Bytes",sizes:Bwt})}function Vwt(t,e=2){return Qpe({value:t,decimals:e,defaultSize:"bps",sizes:zwt})}function jee(t){const e=ai.duration(t,"seconds");return Math.floor(e.asHours())+ai.utc(e.asMilliseconds()).format(":mm:ss")}const Jg={rate:function(t){return Vwt(Rw(t))},filesize:function(t){return qwt(Rw(t))},time:function(t){return jee(Rw(t))},hours:function(t){return jee(Rw(t))?.split(":")[0]}},Em=t=>{const e=he.c(3),{data:r,children:n}=t;let s;e:{if(Array.isArray(r)){s=r.length>0;break e}if(typeof r=="number"){s=!0;break e}if(r===$.errorKey){s=!1;break e}s=!!r}const i=s;let o;return e[0]!==n||e[1]!==i?(o=i?a.jsx(a.Fragment,{children:n}):null,e[0]=n,e[1]=i,e[2]=o):o=e[2],o},By=.75,Hwt="err",e_="-",Gwt=()=>{const t=Ye(),e=ys(),r=Gr(),n=I.useCallback(c=>c.some(u=>u===$.errorKey)?"error":void 0,[]),s=I.useCallback((c,u="string")=>c==null?"-":c===$.errorKey?Hwt:u==="rate"?Jg.rate(c)?.value??e_:u==="filesize"?Jg.filesize(c)?.value??e_:u==="time"?Jg.time(c)??e_:u==="hours"?Jg.hours(c)??e_:u==="count"?(typeof c=="string"&&(c=+c),c.toFixed(0)):u==="percentage"||u==="float"?(typeof c=="string"&&(c=+c),c.toFixed(2)):c.toString(),[]),i=I.useCallback((c,u)=>{if(c===$.errorKey)return"";switch(u){case"filesize":return Jg.filesize(c)?.unit??e_;case"rate":return Jg.rate(c)?.unit??e_}return"-"},[]),o=()=>{e($.urls.monitoringAlerts)},l=({nf:c})=>{e(`/${c}/cluster`)};return a.jsx(I.Suspense,{fallback:a.jsxs(a.Fragment,{children:[a.jsx(jw,{isFirst:!0}),a.jsx(Tw,{size:"small"}),a.jsx(jw,{}),a.jsx(Tw,{size:"default"})]}),children:a.jsx(Qt,{resolve:r.services,errorElement:a.jsx(Tr,{}),children:c=>a.jsxs(gt,{children:[a.jsx(I.Suspense,{fallback:a.jsxs(a.Fragment,{children:[a.jsx(jw,{isFirst:!0}),a.jsx(Tw,{size:"small"})]}),children:a.jsx(Qt,{resolve:r.activeClusters,errorElement:a.jsx(Tr,{}),children:u=>a.jsx(a.Fragment,{children:u.length>0&&a.jsxs(a.Fragment,{children:[a.jsx(Ew,{text:t.formatMessage({id:"monitoring.cluster.title"})}),a.jsx(al,{children:u.map(d=>{const f=ge[d.toUpperCase()];return a.jsx(I.Suspense,{fallback:a.jsx(Wpe,{size:"small"}),children:a.jsx(Qt,{resolve:r[d],errorElement:a.jsx(mi,{show:!0,size:"small",children:a.jsx(Mn,{title:t.formatMessage({id:"monitoring.cluster.error"}),children:a.jsx(wi,{icon:a.jsx(f,{}),iconLabel:t.formatMessage({id:`route.${d}`}),onClick:()=>l({nf:d}),children:a.jsx(gt,{sx:{color:"error.main"},children:a.jsx(ge.StatusError,{size:50})})})})}),children:p=>p?a.jsx(mi,{show:!0,size:"small",children:a.jsx(wi,{icon:a.jsx(f,{}),iconLabel:t.formatMessage({id:`route.${d}`}),onClick:()=>l({nf:d==="pls"?"platform":d}),children:a.jsx(Mn,{title:t.formatMessage({id:`monitoring.cluster.fully_established.${p.fully_established}`}),children:a.jsx(gt,{sx:{fontSize:"32px"},children:p.fully_established?a.jsx(gt,{sx:{color:"success.main"},children:a.jsx(ge.StatusSuccess,{size:50})}):a.jsx(gt,{sx:{color:"warning.main"},children:a.jsx(ge.StatusWarning,{size:50})})})})})}):null})},d)})})]})})})}),a.jsx(I.Suspense,{fallback:a.jsxs(a.Fragment,{children:[a.jsx(jw,{}),a.jsx(Tw,{size:"default"})]}),children:a.jsx(Qt,{resolve:r.monitoring,errorElement:a.jsx(Tr,{}),children:u=>a.jsxs(a.Fragment,{children:[u?.platform&&a.jsxs(a.Fragment,{children:[a.jsx(Ew,{text:t.formatMessage({id:"monitoring.platform.title"})}),a.jsxs(al,{children:[a.jsx(mi,{show:!!u.platform?.alerts,children:a.jsx(wi,{icon:a.jsx(ge.Alerts,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.alerts"}),onClick:o,children:a.jsx(Rs,{mainValue:s(u.platform?.alerts?.alerts_count,"count"),variant:"large",title:t.formatMessage({id:"monitoring.platform.alerts"}),titleColor:n([u.platform?.alerts?.alerts_count])})})}),a.jsxs(mi,{show:!!u.platform?.cpu,children:[a.jsxs(wi,{icon:a.jsx(ge.Cpu,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.cpu"}),children:[a.jsx(Rs,{mainValue:s(u.platform?.cpu?.cpu_count,"count"),variant:"small",title:t.formatMessage({id:"monitoring.platform.cpu.cpu_count"}),titleColor:n([u.platform?.cpu?.cpu_count])}),a.jsx(Rs,{mainValue:s(u.platform?.cpu?.cpu_busy_perc,"percentage"),mainValueUnit:u.platform?.cpu?.cpu_busy_perc===$.errorKey?"":"%",variant:"small",title:t.formatMessage({id:"monitoring.platform.cpu.cpu_busy_perc"}),titleColor:n([u.platform?.cpu?.cpu_busy_perc])})]}),a.jsx(Em,{data:u.platform?.cpu?.ts_cpu_busy_perc,children:a.jsx(kD,{data:u.platform?.cpu?.ts_cpu_busy_perc?.map(({value:d})=>parseFloat(d))??[],height:80,color:by})})]}),a.jsxs(mi,{show:!!u.platform?.disk,children:[a.jsxs(wi,{icon:a.jsx(ge.Drive,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.disk"}),children:[a.jsx(Rs,{mainValue:s(u.platform?.disk?.disk_available_bytes,"filesize"),mainValueUnit:i(u.platform?.disk?.disk_available_bytes,"filesize"),totalValue:s(u.platform?.disk?.disk_total_bytes,"filesize"),totalValueUnit:i(u.platform?.disk?.disk_total_bytes,"filesize"),valueDivider:"/",totalValueFontSizeRatio:By,variant:"small",title:t.formatMessage({id:"monitoring.platform.disk.availability"}),titleColor:n([u.platform?.disk?.disk_available_bytes,u.platform?.disk?.disk_total_bytes])}),a.jsx(Rs,{mainValue:s(u.platform?.disk?.disk_used_perc,"percentage"),mainValueUnit:u.platform?.disk?.disk_used_perc===$.errorKey?"":"%",variant:"small",title:t.formatMessage({id:"monitoring.platform.disk.occupation"}),titleColor:n([u.platform?.disk?.disk_used_perc])})]}),a.jsx(Em,{data:u.platform?.disk?.ts_disk_used_perc,children:a.jsx(kD,{data:u.platform?.disk?.ts_disk_used_perc?.map(({value:d})=>parseFloat(d))??[],height:80,color:by})})]}),a.jsxs(mi,{show:!!u.platform?.memory,children:[a.jsxs(wi,{icon:a.jsx(ge.Ram,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.ram"}),children:[a.jsx(Rs,{mainValue:s(u.platform?.memory?.memory_available_bytes,"filesize"),mainValueUnit:i(u.platform?.memory?.memory_available_bytes,"filesize"),totalValue:s(u.platform?.memory?.memory_total_bytes,"filesize"),totalValueUnit:i(u.platform?.memory?.memory_total_bytes,"filesize"),valueDivider:"/",totalValueFontSizeRatio:By,variant:"small",title:t.formatMessage({id:"monitoring.platform.memory.availability"}),titleColor:n([u.platform?.memory?.memory_available_bytes,u.platform?.memory?.memory_total_bytes])}),a.jsx(Rs,{mainValue:s(u.platform?.memory?.memory_used_perc,"percentage"),mainValueUnit:u.platform?.memory?.memory_used_perc===$.errorKey?"":"%",variant:"small",title:t.formatMessage({id:"monitoring.platform.memory.occupation"}),titleColor:n([u.platform?.memory?.memory_used_perc])})]}),a.jsx(Em,{data:u.platform?.memory?.ts_memory_used_perc,children:a.jsx(kD,{data:u.platform?.memory?.ts_memory_used_perc?.map(({value:d})=>parseFloat(d))??[],height:80,color:by})})]}),a.jsx(mi,{show:!!u.platform?.uptime,children:a.jsx(wi,{icon:a.jsx(ge.Clock,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.uptime"}),children:a.jsx(Rs,{mainValue:s(u.platform?.uptime?.uptime_seconds,"hours"),variant:"large",title:t.formatMessage({id:"monitoring.platform.uptime.title"}),subtitle:t.formatMessage({id:"monitoring.platform.uptime.subtitle"}),titleColor:n([u.platform?.uptime?.uptime_seconds])})})}),a.jsx(mi,{show:!!u.platform?.network_interfaces,children:a.jsxs(wi,{icon:a.jsx(ge.Cloud,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.network"}),children:[a.jsx(Rs,{mainValue:s(u.platform?.network_interfaces?.interfaces_active_count,"count"),totalValue:s(u.platform?.network_interfaces?.interfaces_total_count,"count"),variant:"large",valueDivider:"/",totalValueFontSizeRatio:By,title:t.formatMessage({id:"monitoring.platform.network_interfaces.title"}),subtitle:t.formatMessage({id:"monitoring.platform.network_interfaces.subtitle"}),titleColor:n([u.platform?.network_interfaces?.interfaces_active_count,u.platform?.network_interfaces?.interfaces_total_count])}),a.jsx(I.Suspense,{fallback:a.jsx(bi,{status:nn.DEFAULT,label:t.formatMessage({id:"monitoring.platform.network_ntp.loading"})}),children:a.jsx(Qt,{resolve:r.ncmStatusNtp,children:({ntp_synced:d})=>a.jsx(bi,{status:d?nn.SUCCESS:nn.ERROR,label:d?t.formatMessage({id:"monitoring.platform.network_ntp.synced"}):t.formatMessage({id:"monitoring.platform.network_ntp.not_synced"})})})})]})}),a.jsxs(mi,{show:!!u.platform?.network,children:[a.jsxs(wi,{icon:a.jsx(ge.Cloud,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.network"}),children:[a.jsx(Rs,{mainValue:s(u.platform?.network?.total_transmit_bytes,"filesize"),mainValueUnit:i(u.platform?.network?.total_transmit_bytes,"filesize"),totalValue:s(u.platform?.network?.total_receive_bytes,"filesize"),totalValueUnit:i(u.platform?.network?.total_receive_bytes,"filesize"),variant:"small",title:t.formatMessage({id:"monitoring.platform.network.load.title"}),titleColor:n([u.platform?.network?.total_transmit_bytes,u.platform?.network?.total_receive_bytes])}),a.jsx(Rs,{mainValue:s(u.platform?.network?.transmit_rate_bps,"rate"),mainValueUnit:i(u.platform?.network?.transmit_rate_bps,"rate"),totalValue:s(u.platform?.network?.receive_rate_bps,"rate"),totalValueUnit:i(u.platform?.network?.receive_rate_bps,"rate"),variant:"small",title:t.formatMessage({id:"monitoring.platform.network.rate.title"}),titleColor:n([u.platform?.network?.transmit_rate_bps,u.platform?.network?.receive_rate_bps])})]}),a.jsx(Em,{data:u.platform?.network?.ts_transmit_rate_bps,children:a.jsx(Mee,{axisHighlight:{x:"none",y:"none"},series:[{data:u.platform?.network?.ts_transmit_rate_bps?.map(({value:d})=>parseFloat(d))??[],showMark:!1},{data:u.platform?.network?.ts_receive_rate_bps?.map(({value:d})=>parseFloat(d))??[],showMark:!1}],xAxis:[{scaleType:"point",data:u.platform?.network?.ts_transmit_rate_bps?.map((d,f)=>f)??[],position:"none"}],yAxis:[{position:"none"}],height:80,disableAxisListener:!0,disableLineItemHighlight:!0,margin:{bottom:5,left:5,right:5,top:5},colors:O6})})]})]})]}),u?.control_plane&&a.jsxs(a.Fragment,{children:[a.jsx(Ew,{text:t.formatMessage({id:"monitoring.control_plane.title"})}),a.jsxs(al,{children:[Ds({services:c,name:ue.UDR})&&a.jsx(a.Fragment,{children:a.jsx(mi,{show:!!u.control_plane?.udr_sims?.provisioned_sims_count,children:a.jsx(wi,{icon:a.jsx(ge.UDR,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.udr"}),children:a.jsx(Rs,{mainValue:s(u.control_plane?.udr_sims?.provisioned_sims_count,"count"),variant:"large",title:t.formatMessage({id:"monitoring.control_plane.provisioned_sims.title"}),titleColor:n([u.control_plane?.udr_sims?.provisioned_sims_count])})})})}),Ds({services:c,name:ue.AMF})&&a.jsxs(a.Fragment,{children:[a.jsxs(mi,{show:!!u.control_plane?.amf_ue,children:[a.jsx(wi,{icon:a.jsx(ge.AMF,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.amf"}),children:a.jsx(Rs,{mainValue:s(u.control_plane?.amf_ue?.active_ue_count,"count"),totalValue:s(u.control_plane?.amf_ue?.registered_ue_count,"count"),valueDivider:"/",totalValueFontSizeRatio:By,variant:"medium",title:t.formatMessage({id:"monitoring.control_plane.amf_ue.title"}),subtitle:t.formatMessage({id:"monitoring.control_plane.amf_ue.subtitle"}),titleColor:n([u.control_plane?.amf_ue?.active_ue_count,u.control_plane?.amf_ue?.registered_ue_count])})}),a.jsx(Em,{data:u.control_plane?.amf_ue?.active_ue_count,children:a.jsx(Pee,{height:100,value:+(u.control_plane?.amf_ue?.active_ue_count??0),valueMin:0,valueMax:+(u.control_plane?.amf_ue?.registered_ue_count??0),startAngle:-90,endAngle:90,sx:{[`& .${th.valueText}`]:{fontSize:30,transform:"translate(0px, -10px)"},[`& .${th.valueArc}`]:{fill:d=>by(d.palette.mode)}}})})]}),a.jsx(mi,{show:!!u.control_plane?.amf_active_radios,children:a.jsx(wi,{icon:a.jsx(ge.AMF,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.amf"}),children:a.jsx(Rs,{mainValue:s(u.control_plane?.amf_active_radios?.active_radios_count,"count"),variant:"large",title:t.formatMessage({id:"monitoring.control_plane.amf_active_radios.title"}),titleColor:n([u.control_plane?.amf_active_radios?.active_radios_count])})})})]}),Ds({services:c,name:ue.MME})&&a.jsxs(a.Fragment,{children:[a.jsxs(mi,{show:!!u.control_plane?.mme_ue,children:[a.jsx(wi,{icon:a.jsx(ge.MME,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.mme"}),children:a.jsx(Rs,{mainValue:s(u.control_plane?.mme_ue?.active_ue_count,"count"),totalValue:s(u.control_plane?.mme_ue?.registered_ue_count,"count"),valueDivider:"/",totalValueFontSizeRatio:By,variant:"medium",title:t.formatMessage({id:"monitoring.control_plane.mme_ue.title"}),subtitle:t.formatMessage({id:"monitoring.control_plane.mme_ue.subtitle"}),titleColor:n([u.control_plane?.mme_ue?.active_ue_count,u.control_plane?.mme_ue?.registered_ue_count])})}),a.jsx(Em,{data:u.control_plane?.mme_ue?.active_ue_count,children:a.jsx(Pee,{height:100,value:+(u.control_plane?.mme_ue?.active_ue_count??0),valueMin:0,valueMax:+(u.control_plane?.mme_ue?.registered_ue_count??0),startAngle:-90,endAngle:90,sx:{[`& .${th.valueText}`]:{fontSize:30,transform:"translate(0px, -10px)"},[`& .${th.valueArc}`]:{fill:d=>by(d.palette.mode)}}})})]}),a.jsx(mi,{show:!!u.control_plane?.mme_active_radios,children:a.jsx(wi,{icon:a.jsx(ge.MME,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.mme"}),children:a.jsx(Rs,{mainValue:s(u.control_plane?.mme_active_radios?.active_radios_count,"count"),variant:"large",title:t.formatMessage({id:"monitoring.control_plane.mme_active_radios.title"}),titleColor:n([u.control_plane?.mme_active_radios?.active_radios_count])})})})]}),Ds({services:c,name:ue.SMF})&&a.jsxs(a.Fragment,{children:[a.jsx(mi,{show:!!u.control_plane?.smf_users,children:a.jsxs(wi,{icon:a.jsx(ge.SMF,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.smf"}),children:[a.jsx(Rs,{mainValue:s(u.control_plane?.smf_users?.users_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.smf_users.users_count.title"}),titleColor:n([u.control_plane?.smf_users?.users_count]),variant:"medium"}),a.jsx(Rs,{mainValue:s(u.control_plane?.smf_users?.sessions_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.smf_users.sessions_count.title"}),titleColor:n([u.control_plane?.smf_users?.sessions_count]),variant:"medium"})]})}),a.jsx(mi,{show:!!u.control_plane?.smf_connected_peers,children:a.jsx(wi,{icon:a.jsx(ge.SMF,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.smf"}),children:a.jsx(Rs,{mainValue:s(u.control_plane?.smf_connected_peers?.connected_peers_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.smf_connected_peers.title"}),titleColor:n([u.control_plane?.smf_connected_peers?.connected_peers_count]),variant:"large"})})})]}),Ds({services:c,name:ue.EIR})&&a.jsx(a.Fragment,{children:a.jsx(mi,{show:!!u?.control_plane?.eir_rules,children:a.jsx(wi,{icon:a.jsx(ge.EIR,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.eir"}),children:a.jsx(Rs,{mainValue:s(u?.control_plane?.eir_rules?.eir_rules_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.eir_rules.title"}),titleColor:n([u?.control_plane?.eir_rules?.eir_rules_count]),variant:"large"})})})}),Ds({services:c,name:ue.PCF})&&a.jsx(a.Fragment,{children:a.jsx(mi,{show:!!u?.control_plane?.pcf_sessions,children:a.jsxs(wi,{iconLabel:t.formatMessage({id:"monitoring.icon_label.pcf"}),icon:a.jsx(ge.PCF,{}),children:[a.jsx(Rs,{mainValue:s(u?.control_plane?.pcf_sessions?.n5_sessions_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.pcf_sessions.n5_sessions_count.title"}),variant:"medium",titleColor:n([u?.control_plane?.pcf_sessions?.n5_sessions_count])}),a.jsx(Rs,{mainValue:s(u?.control_plane?.pcf_sessions?.n7_sessions_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.pcf_sessions.n7_sessions_count.title"}),variant:"medium",titleColor:n([u?.control_plane?.pcf_sessions?.n7_sessions_count])})]})})}),Ds({services:c,name:ue.NRF})&&a.jsx(a.Fragment,{children:a.jsx(mi,{show:!!u?.control_plane?.nrf_profiles,children:a.jsxs(wi,{icon:a.jsx(ge.NRF,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.nrf"}),children:[a.jsx(Rs,{mainValue:s(u?.control_plane?.nrf_profiles?.registered_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.nrf_profiles.registered_count.title"}),variant:"medium",titleColor:n([u?.control_plane?.nrf_profiles?.registered_count])}),a.jsx(Rs,{mainValue:s(u?.control_plane?.nrf_profiles?.suspended_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.nrf_profiles.suspended_count.title"}),variant:"medium",titleColor:n([u?.control_plane?.nrf_profiles?.suspended_count])}),a.jsx(Rs,{mainValue:s(u?.control_plane?.nrf_profiles?.undiscoverable_count,"count"),title:t.formatMessage({id:"monitoring.control_plane.nrf_profiles.undiscoverable_count.title"}),variant:"medium",titleColor:n([u?.control_plane?.nrf_profiles?.undiscoverable_count])})]})})})]})]}),u?.user_plane&&a.jsxs(a.Fragment,{children:[a.jsx(Ew,{text:t.formatMessage({id:"monitoring.user_plane.title"})}),a.jsx(al,{children:Ds({services:c,name:ue.UPF})&&a.jsxs(a.Fragment,{children:[a.jsxs(mi,{show:!!u.user_plane?.upf_throughput,children:[a.jsx(wi,{icon:a.jsx(ge.UPF,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.upf"}),children:a.jsx(Rs,{mainValue:s(u.user_plane?.upf_throughput?.total_load_uplink_bytes,"filesize"),mainValueUnit:i(u.user_plane?.upf_throughput?.total_load_uplink_bytes,"filesize"),totalValue:s(u.user_plane?.upf_throughput?.total_load_downlink_bytes,"filesize"),totalValueUnit:i(u.user_plane?.upf_throughput?.total_load_downlink_bytes,"filesize"),variant:"small",title:t.formatMessage({id:"monitoring.user_plane.upf_throughput.total.title"}),titleColor:n([u.user_plane?.upf_throughput?.total_load_uplink_bytes,u.user_plane?.upf_throughput?.total_load_downlink_bytes])})}),a.jsx(Rs,{mainValue:s(u.user_plane?.upf_throughput?.throughput_uplink_bps,"rate"),mainValueUnit:i(u.user_plane?.upf_throughput?.throughput_uplink_bps,"rate"),totalValue:s(u.user_plane?.upf_throughput?.throughput_downlink_bps,"rate"),totalValueUnit:i(u.user_plane?.upf_throughput?.throughput_downlink_bps,"rate"),variant:"small",title:t.formatMessage({id:"monitoring.user_plane.upf_throughput.throughput.title"}),titleColor:n([u.user_plane?.upf_throughput?.throughput_uplink_bps,u.user_plane?.upf_throughput?.throughput_downlink_bps])}),a.jsx(Em,{data:u.user_plane?.upf_throughput?.ts_throughput_uplink_bps,children:a.jsx(Mee,{axisHighlight:{x:"none",y:"none"},series:[{data:u.user_plane?.upf_throughput?.ts_throughput_uplink_bps?.map(({value:d})=>parseFloat(d))??[],showMark:!1},{data:u.user_plane?.upf_throughput?.ts_throughput_downlink_bps?.map(({value:d})=>parseFloat(d))??[],showMark:!1}],xAxis:[{scaleType:"point",data:u.user_plane?.upf_throughput?.ts_throughput_uplink_bps?.map((d,f)=>f)??[],position:"none"}],yAxis:[{position:"none"}],height:80,disableAxisListener:!0,disableLineItemHighlight:!0,margin:{bottom:5,left:5,right:5,top:5},colors:O6})})]}),a.jsx(mi,{show:!!u.user_plane?.upf_sessions,children:a.jsx(wi,{icon:a.jsx(ge.UPF,{}),iconLabel:t.formatMessage({id:"monitoring.icon_label.upf"}),children:a.jsx(Rs,{mainValue:s(u.user_plane?.upf_sessions?.active_sessions,"count"),variant:"large",title:t.formatMessage({id:"monitoring.user_plane.upf_sessions.title"}),titleColor:n([u.user_plane?.upf_sessions?.active_sessions])})})})]})})]})]})})})]})})})},Wwt={element:a.jsx(Or,{transparent:!0}),children:[{path:"home",loader:mut,element:a.jsx(Gwt,{}),handle:vr({labelIntl:"route.home",icon:a.jsx(ge.Home,{})})}]};function Ywt(){const t=he.c(54),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"pfcp.status.peers.remote_node_id"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"remote_node_id",label:s},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"pfcp.status.peers.transport_name"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"transport_name",label:o},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==e?(c=e.formatMessage({id:"pfcp.status.peers.local_addr"}),t[8]=e,t[9]=c):c=t[9];let u;t[10]!==c?(u={key:"local_addr",label:c},t[10]=c,t[11]=u):u=t[11];let d;t[12]!==e?(d=e.formatMessage({id:"pfcp.status.peers.remote_addr"}),t[12]=e,t[13]=d):d=t[13];let f;t[14]!==d?(f={key:"remote_addr",label:d},t[14]=d,t[15]=f):f=t[15];let p;t[16]!==e?(p=e.formatMessage({id:"pfcp.status.peers.version"}),t[16]=e,t[17]=p):p=t[17];let m;t[18]!==p?(m={key:"version",label:p},t[18]=p,t[19]=m):m=t[19];let h;t[20]!==e?(h=e.formatMessage({id:"pfcp.status.peers.uptime"}),t[20]=e,t[21]=h):h=t[21];let _;t[22]!==h?(_={key:"uptime_sec",label:h,cellRender:Zwt},t[22]=h,t[23]=_):_=t[23];let g;t[24]!==e?(g=e.formatMessage({id:"pfcp.status.peers.last_reset_at"}),t[24]=e,t[25]=g):g=t[25];let y;t[26]!==g?(y={key:"last_reset_at",label:g,cellRender:Qwt},t[26]=g,t[27]=y):y=t[27];let b;t[28]!==e?(b=e.formatMessage({id:"pfcp.status.peers.connected_at"}),t[28]=e,t[29]=b):b=t[29];let x;t[30]!==b?(x={key:"connected_at",label:b,cellRender:Kwt},t[30]=b,t[31]=x):x=t[31];let w;t[32]!==e?(w=e.formatMessage({id:"pfcp.status.peers.num_tuns"}),t[32]=e,t[33]=w):w=t[33];let C;t[34]!==w?(C={key:"num_tuns",label:w},t[34]=w,t[35]=C):C=t[35];let k;t[36]!==i||t[37]!==_||t[38]!==y||t[39]!==x||t[40]!==C||t[41]!==l||t[42]!==u||t[43]!==f||t[44]!==m?(k=[i,l,u,f,m,_,y,x,C],t[36]=i,t[37]=_,t[38]=y,t[39]=x,t[40]=C,t[41]=l,t[42]=u,t[43]=f,t[44]=m,t[45]=k):k=t[45];const A=k;let P;t[46]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[46]=P):P=t[46];let T;t[47]===Symbol.for("react.memo_cache_sentinel")?(T=a.jsx(en,{}),t[47]=T):T=t[47];let j;t[48]!==A||t[49]!==n.state?(j=D=>a.jsx(Br,{autoScale:!0,data:D||[],orderBy:"remote_node_id",page:0,loading:n.state!=="idle",rowsCount:D?.length,rowsPerPage:D?.length,rowKey:"remote_node_id",columns:A,hidePagination:!0}),t[48]=A,t[49]=n.state,t[50]=j):j=t[50];let R;return t[51]!==r.peers||t[52]!==j?(R=a.jsx(I.Suspense,{fallback:P,children:a.jsx(Qt,{resolve:r.peers,errorElement:T,children:j})}),t[51]=r.peers,t[52]=j,t[53]=R):R=t[53],R}function Kwt(t){const{connected_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function Qwt(t){const{last_reset_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function Zwt(t){const{uptime_sec:e}=t;return a.jsx(_e,{type:"body2",children:ai.utc(e*1e3).format("HH:mm:ss")})}function Xwt(){const t=he.c(24),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"pfcp.status.sockets.transport_name"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"transport_name",label:s},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"pfcp.status.sockets.local_addr"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"local_addr",label:o},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==e?(c=e.formatMessage({id:"pfcp.status.sockets.local_port"}),t[8]=e,t[9]=c):c=t[9];let u;t[10]!==c?(u={key:"local_port",label:c},t[10]=c,t[11]=u):u=t[11];let d;t[12]!==i||t[13]!==l||t[14]!==u?(d=[i,l,u],t[12]=i,t[13]=l,t[14]=u,t[15]=d):d=t[15];const f=d;let p;t[16]===Symbol.for("react.memo_cache_sentinel")?(p=a.jsx(Dt,{variant:"rounded",height:"100%",sx:{m:2}}),t[16]=p):p=t[16];let m;t[17]===Symbol.for("react.memo_cache_sentinel")?(m=a.jsx(en,{}),t[17]=m):m=t[17];let h;t[18]!==f||t[19]!==n.state?(h=g=>a.jsx(Br,{autoScale:!0,data:g||[],orderBy:"transport_name",page:0,loading:n.state!=="idle",rowsCount:g?.length,rowsPerPage:g?.length,rowKey:"transport_name",columns:f,hidePagination:!0}),t[18]=f,t[19]=n.state,t[20]=h):h=t[20];let _;return t[21]!==r.sockets||t[22]!==h?(_=a.jsx(I.Suspense,{fallback:p,children:a.jsx(Qt,{resolve:r.sockets,errorElement:m,children:h})}),t[21]=r.sockets,t[22]=h,t[23]=_):_=t[23],_}async function Jwt({nf:t}){const e=$.apis.pfcp.status.sockets(t);return De({options:{url:e,method:"GET"}})}async function eCt({nf:t}){const e=$.apis.pfcp.status.peers(t);return De({options:{url:e,method:"GET"}})}function tCt({nf:t}){return async e=>Wt({loaderArgs:e,deferred:!0,data:{sockets:Jwt({nf:t})}})}function rCt({nf:t}){return async e=>Wt({loaderArgs:e,deferred:!0,data:{peers:eCt({nf:t})}})}function h8({path:t,nf:e}){const r=Pr();return{path:t,element:a.jsx(la,{navs:[{url:"sockets",label:r.formatMessage({id:"route.pfcp.sockets"})},{url:"peers",label:r.formatMessage({id:"route.pfcp.peers"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"sockets",replace:!0})},{path:"sockets",loader:tCt({nf:e}),errorElement:a.jsx(en,{}),element:a.jsx(Xwt,{})},{path:"peers",loader:rCt({nf:e}),errorElement:a.jsx(en,{}),element:a.jsx(Ywt,{})}]}}const Tee=Pr(),nCt={path:"sgwc",handle:vr({labelIntl:"route.sgwc",icon:a.jsx(ge.SGWC,{})}),children:[{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.SGWC)]},{element:a.jsx(Or,{fullHeight:!0}),children:[io(ue.SGWC),{path:"status",handle:vr({labelIntl:"route.sgwc.status",to:$.urls.sgwcStatus}),element:a.jsx(Ao,{tabs:[{url:"gtpc",label:Tee.formatMessage({id:"route.sgwc.status.gtpc"})},{url:"pfcp",label:Tee.formatMessage({id:"route.sgwc.status.pfcp"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"gtpc",replace:!0})},uk({path:"gtpc",nf:ue.SGWC,showBlockedPeers:!1}),h8({path:"pfcp",nf:ue.SGWC})]}]}]},PD=Pr(),sCt={path:"smf",handle:vr({labelIntl:"route.smf",icon:a.jsx(ge.SMF,{})}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.SMF)]},{element:a.jsx(Or,{center:!0}),children:[p7(ue.SMF)]},{element:a.jsx(Or,{fullHeight:!0}),children:[io(ue.SMF),{path:"status",handle:vr({labelIntl:"route.smf.status",to:$.urls.smfStatus}),element:a.jsx(Ao,{tabs:[{url:"gtpc",label:PD.formatMessage({id:"route.smf.status.gtpc"})},{url:"gtpu",label:PD.formatMessage({id:"route.smf.status.gtpu"})},{url:"pfcp",label:PD.formatMessage({id:"route.smf.status.pfcp"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"gtpc",replace:!0})},uk({path:"gtpc",nf:ue.SMF,showBlockedPeers:!1}),m7({path:"gtpu",nf:ue.SMF}),h8({path:"pfcp",nf:ue.SMF})]}]}]};function iCt(){const t=he.c(48),e=ci(),r=Ye(),n=Gr(),s=On(),i=aCt;let o;t[0]!==r?(o=r.formatMessage({id:"smsf.smpp.connections.name"}),t[0]=r,t[1]=o):o=t[1];let l;t[2]!==o?(l={key:"name",label:o},t[2]=o,t[3]=l):l=t[3];let c;t[4]!==r?(c=r.formatMessage({id:"smsf.smpp.connections.connection_type"}),t[4]=r,t[5]=c):c=t[5];let u;t[6]!==r||t[7]!==e?(u=D=>{const{connection_type:O}=D;return a.jsx(_e,{sx:{backgroundColor:O==="smpp_mc_peer"?e.palette.boy.light:e.palette.girl.light,color:O==="smpp_mc_peer"?e.palette.boy.contrastText:e.palette.girl.contrastText,fontWeight:"600",fontSize:"13px",borderRadius:5,px:1,display:"inline-block"},children:r.formatMessage({id:`smsf.smpp.connections.connection_type.${O}`})})},t[6]=r,t[7]=e,t[8]=u):u=t[8];let d;t[9]!==c||t[10]!==u?(d={key:"connection_type",label:c,cellRender:u},t[9]=c,t[10]=u,t[11]=d):d=t[11];let f;t[12]!==r?(f=r.formatMessage({id:"smsf.smpp.connections.bind_type"}),t[12]=r,t[13]=f):f=t[13];let p;t[14]!==r?(p=D=>{const{bind_type:O}=D;return a.jsxs(te,{direction:"row",spacing:1,justify:"flex-start",nowrap:!0,children:[O==="tx"?a.jsx(ge.UpArrow,{}):O==="rx"?a.jsx(ge.DownArrow,{}):a.jsxs(gt,{sx:{position:"relative"},children:[a.jsx(gt,{sx:{position:"relative",top:"-3px"},children:a.jsx(ge.UpArrow,{})}),a.jsx(gt,{sx:{position:"absolute",left:0,top:"3px"},children:a.jsx(ge.DownArrow,{})})]}),a.jsx(_e,{fontSize:"small",children:r.formatMessage({id:`smsf.smpp.connections.bind_type.${O}`})})]})},t[14]=r,t[15]=p):p=t[15];let m;t[16]!==f||t[17]!==p?(m={key:"bind_type",label:f,cellRender:p},t[16]=f,t[17]=p,t[18]=m):m=t[18];let h;t[19]!==r?(h=r.formatMessage({id:"smsf.smpp.connections.local_addr"}),t[19]=r,t[20]=h):h=t[20];let _;t[21]===Symbol.for("react.memo_cache_sentinel")?(_=D=>{const{local_addr:O,local_port:N}=D;return a.jsx(_e,{type:"body2",children:i({addr:O,port:N})})},t[21]=_):_=t[21];let g;t[22]!==h?(g={key:"local_addr",label:h,cellRender:_},t[22]=h,t[23]=g):g=t[23];let y;t[24]!==r?(y=r.formatMessage({id:"smsf.smpp.connections.remote_addr"}),t[24]=r,t[25]=y):y=t[25];let b;t[26]===Symbol.for("react.memo_cache_sentinel")?(b=D=>{const{remote_addr:O,remote_port:N}=D;return a.jsx(_e,{type:"body2",children:i({addr:O,port:N})})},t[26]=b):b=t[26];let x;t[27]!==y?(x={key:"remote_addr",label:y,cellRender:b},t[27]=y,t[28]=x):x=t[28];let w;t[29]!==r?(w=r.formatMessage({id:"smsf.smpp.connections.created_at"}),t[29]=r,t[30]=w):w=t[30];let C;t[31]!==w?(C={key:"created_at",label:w,cellRender:oCt},t[31]=w,t[32]=C):C=t[32];let k;t[33]!==l||t[34]!==g||t[35]!==x||t[36]!==C||t[37]!==d||t[38]!==m?(k=[l,d,m,g,x,C],t[33]=l,t[34]=g,t[35]=x,t[36]=C,t[37]=d,t[38]=m,t[39]=k):k=t[39];const A=k;let P;t[40]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[40]=P):P=t[40];let T;t[41]===Symbol.for("react.memo_cache_sentinel")?(T=a.jsx(en,{}),t[41]=T):T=t[41];let j;t[42]!==A||t[43]!==s.state?(j=D=>a.jsx(Br,{autoScale:!0,data:D||[],orderBy:"name",page:0,loading:s.state!=="idle",rowsCount:D?.length,rowsPerPage:D?.length,rowKey:"name",columns:A,hidePagination:!0}),t[42]=A,t[43]=s.state,t[44]=j):j=t[44];let R;return t[45]!==n.connections||t[46]!==j?(R=a.jsx(I.Suspense,{fallback:P,children:a.jsx(Qt,{resolve:n.connections,errorElement:T,children:j})}),t[45]=n.connections,t[46]=j,t[47]=R):R=t[47],R}function oCt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function aCt(t){const{addr:e,port:r}=t;return a.jsxs(a.Fragment,{children:[e||"-",r?":"+r:""]})}const jD=Pr(),lCt=dr().shape({msisdn:We().matches(new RegExp(`${$.regex.msisdnForSmsBox}`)).required(jD.formatMessage({id:"validation.required"})),to:We().matches(new RegExp(`${$.regex.msisdnForSmsBox}`)).required(jD.formatMessage({id:"validation.required"})),body:We().required(jD.formatMessage({id:"validation.required"})),validity_time_s:kn().min(0)}),cCt=t=>{const e=he.c(22),{msisdnList:r,onCancel:n}=t,s=Ye(),{data:i,state:o,submit:l}=gr(),[c,u]=I.useState(!1),{msisdn:d}=ko(),f=ys(),p=to();let m,h;e[0]!==p||e[1]!==f||e[2]!==n||e[3]!==i||e[4]!==o?(m=()=>{if(i&&o==="idle"){const{from:k}=i,A=`${$.urls.smsfSmsBox}/${k}/outbound`;xt(i)||(f(A,{replace:p.pathname===A}),n())}},h=[f,n,i,o,p],e[0]=p,e[1]=f,e[2]=n,e[3]=i,e[4]=o,e[5]=m,e[6]=h):(m=e[5],h=e[6]),I.useEffect(m,h);let _;e[7]!==l?(_=async k=>{const{body:A,to:P,validity_time_s:T,msisdn:j}=k,R={msisdn:j,to:P,body:A,...!!T&&{validity_time_s:+T}};l(R,{method:"POST",encType:"application/json",action:"smsf/sms-box/send"})},e[7]=l,e[8]=_):_=e[8];const g=_,y=d??"";let b;e[9]!==y?(b={msisdn:y,to:"",body:"",validity_time_s:""},e[9]=y,e[10]=b):b=e[10];const x=b;let w;e[11]!==s||e[12]!==c||e[13]!==r||e[14]!==n||e[15]!==i||e[16]!==o?(w=k=>{const{setFieldValue:A}=k,P=(T,j)=>{A(T,j??"")};return a.jsx(dn,{canWrite:Ue(ie.management),sx:{maxWidth:"100%"},children:a.jsx(_s,{children:a.jsxs(te,{spacing:4,sx:{pt:2},children:[a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"msisdn",children:T=>{const{field:j,meta:R}=T;return a.jsx(rn,{value:j.value,name:j.name,label:s.formatMessage({id:"smsf.sms_box.new_message.msisdn"}),options:r,freeSolo:!0,error:!!R.error,helperText:R.error,onChange:(D,O)=>P("msisdn",O),onInputChange:(D,O)=>P("msisdn",O),disabled:o!=="idle"})}}),a.jsx(Ke,{name:"to",children:T=>{const{field:j,meta:R}=T;return a.jsx(rn,{value:j.value,name:j.name,label:s.formatMessage({id:"smsf.sms_box.new_message.to"}),options:r,freeSolo:!0,error:!!R.error,helperText:R.error,onChange:(D,O)=>P("to",O),onInputChange:(D,O)=>P("to",O),disabled:o!=="idle"})}}),a.jsx(Ke,{name:"body",children:T=>{const{field:j,meta:R}=T;return a.jsx(dt,{...j,label:s.formatMessage({id:"smsf.sms_box.new_message.body"}),size:"small",multiline:5,error:!!R.error,helperText:R.error,disabled:o!=="idle"})}}),a.jsx(Ke,{name:"validity_time_s",children:T=>{const{field:j,meta:R}=T;return a.jsxs(te,{children:[a.jsxs(te,{direction:"row",justify:"stretch",align:"stretch",nowrap:!0,children:[c&&a.jsx(dt,{...j,label:s.formatMessage({id:"smsf.sms_box.new_message.validity_time_s"}),type:"number",error:!!R.error,helperText:R.error,disabled:o!=="idle",fullWidth:!0,sx:{width:"100%"},InputProps:{endAdornment:a.jsx(Zr,{onClick:()=>P("validity_time_s",""),children:a.jsx(ge.StatusError,{})})}}),!c&&a.jsx(uL,{label:s.formatMessage({id:"smsf.sms_box.new_message.validity_time_s"}),value:j.value?ai.unix(j.value):null,minDate:ai(),slotProps:{field:{clearable:!0}},onChange:D=>{D&&P("validity_time_s",D.unix())},sx:{width:"100%"}})]}),a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:c,onChange:(D,O)=>{u(O)}}),a.jsx(_e,{children:s.formatMessage({id:"smsf.sms_box.new_message.is_seconds_visible"})})]})]})}}),a.jsx(Xr,{data:i})]}),a.jsxs(te,{direction:"row",justify:"space-between",children:[a.jsx(Ze,{text:s.formatMessage({id:"smsf.sms_box.new_message.buttons.cancel"}),type:"button",disabled:o!=="idle"||!Ue(ie.management),onClick:n,variant:"outlined"}),a.jsx(Ze,{text:s.formatMessage({id:"smsf.sms_box.new_message.buttons.send"}),type:"submit",disabled:!Ue(ie.management),loading:o!=="idle"})]})]})})})},e[11]=s,e[12]=c,e[13]=r,e[14]=n,e[15]=i,e[16]=o,e[17]=w):w=e[17];let C;return e[18]!==g||e[19]!==x||e[20]!==w?(C=a.jsx(Wr,{initialValues:x,validationSchema:lCt,enableReinitialize:!0,onSubmit:g,children:w}),e[18]=g,e[19]=x,e[20]=w,e[21]=C):C=e[21],C};function uCt(){const t=he.c(19),{dialogOpen:e,dialogClose:r}=Jt(),n=Ye(),s=Gr(),i=On(),o=ys(),{msisdn:l,direction:c}=ko();let u;t[0]!==r||t[1]!==e||t[2]!==n?(u=b=>()=>{e({title:n.formatMessage({id:"smsf.sms_box.new_message.dialog.title"}),content:()=>a.jsx(cCt,{msisdnList:b,onCancel:()=>r()})})},t[0]=r,t[1]=e,t[2]=n,t[3]=u):u=t[3];const d=u;let f;t[4]===Symbol.for("react.memo_cache_sentinel")?(f={p:2,flex:"0 0 auto",borderColor:"divider"},t[4]=f):f=t[4];let p;t[5]===Symbol.for("react.memo_cache_sentinel")?(p=a.jsx(gt,{sx:f,children:a.jsx(Dt,{variant:"rounded",sx:{height:"40px",width:"100%",margin:"0 auto"}})}),t[5]=p):p=t[5];let m;t[6]===Symbol.for("react.memo_cache_sentinel")?(m={px:2,pb:2,flex:"1 1 auto"},t[6]=m):m=t[6];let h;t[7]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsxs(te,{fullHeight:!0,children:[p,a.jsx(gt,{sx:m,children:a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}})})]}),t[7]=h):h=t[7];let _;t[8]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(Tr,{}),t[8]=_):_=t[8];let g;t[9]!==c||t[10]!==d||t[11]!==n||t[12]!==l||t[13]!==o||t[14]!==i.state?(g=b=>a.jsx(a.Fragment,{children:a.jsxs(te,{spacing:0,nowrap:!0,fullHeight:!0,children:[a.jsx(gt,{sx:{borderBottom:"1px solid",flex:"0 0 auto",borderColor:"divider"},children:a.jsxs(te,{justify:"space-between",align:"center",direction:"row",sx:{p:2},children:[a.jsx(rn,{placeholder:n.formatMessage({id:"smsf.sms_box.search"}),options:b,sx:{minWidth:"250px"},size:"small",value:l??"",disabled:i.state==="loading",onChange:(x,w)=>o(w?`${$.urls.smsfSmsBox}/${w}/${c??"inbound"}`:$.urls.smsfSmsBox)}),a.jsx(Ze,{startIcon:a.jsx(ge.Send,{}),text:n.formatMessage({id:"smsf.sms_box.buttons.new_sms"}),onClick:d(b),disabled:i.state==="loading"})]})}),a.jsx(te,{sx:{flex:"1 1 auto"},fullHeight:!0,nowrap:!0,children:a.jsx(Bd,{})})]})}),t[9]=c,t[10]=d,t[11]=n,t[12]=l,t[13]=o,t[14]=i.state,t[15]=g):g=t[15];let y;return t[16]!==s.msisdnList||t[17]!==g?(y=a.jsx(I.Suspense,{fallback:h,children:a.jsx(Qt,{resolve:s.msisdnList,errorElement:_,children:g})}),t[16]=s.msisdnList,t[17]=g,t[18]=y):y=t[18],y}function dCt(){const t=he.c(9),e=Ye(),r=Gr(),n=ys();let s;t[0]===Symbol.for("react.memo_cache_sentinel")?(s={p:2,flex:"1 1 auto"},t[0]=s):s=t[0];let i;t[1]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx(gt,{sx:s,children:a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}})}),t[1]=i):i=t[1];let o;t[2]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(Tr,{}),t[2]=o):o=t[2];let l;t[3]!==e||t[4]!==n?(l=u=>a.jsxs(a.Fragment,{children:[u.length>0&&a.jsx(s7,{divided:!0,sx:{overflow:"auto",height:"100%",maxHeight:"100%",p:0},children:u.map(d=>a.jsx(i7,{primaryText:d,selected:!1,onClick:()=>n(`${$.urls.smsfSmsBox}/${d}`),endIcon:a.jsx(ge.RightArrow,{})},d))}),u.length===0&&a.jsx(Kt,{children:a.jsx(Lr,{severity:"info",message:e.formatMessage({id:"smsf.sms_box.no_msisdns"})})})]}),t[3]=e,t[4]=n,t[5]=l):l=t[5];let c;return t[6]!==r.msisdnList||t[7]!==l?(c=a.jsx(I.Suspense,{fallback:i,children:a.jsx(Qt,{resolve:r.msisdnList,errorElement:o,children:l})}),t[6]=r.msisdnList,t[7]=l,t[8]=c):c=t[8],c}function fCt(t){const e=he.c(65),{message:r}=t,{id:n,from:s,to:i,created_at:o,modified_at:l,validity_time_s:c,body:u}=r,d=Ye(),f=gl(),{openConfirmDialog:p}=di(),{direction:m,msisdn:h}=ko();let _;e[0]===Symbol.for("react.memo_cache_sentinel")?(_={key:"fetcher-smsf-sms-box-delete"},e[0]=_):_=e[0];const g=gr(_);let y;e[1]!==m||e[2]!==n||e[3]!==h||e[4]!==f?(y=async()=>{n&&h&&(m==="inbound"||m==="outbound")&&f({msisdn:h,message_id:n,direction:m},{method:"POST",encType:"application/json",navigate:!1,action:"delete",fetcherKey:"fetcher-smsf-sms-box-delete"})},e[1]=m,e[2]=n,e[3]=h,e[4]=f,e[5]=y):y=e[5];const b=y;let x;e[6]!==b||e[7]!==n||e[8]!==d||e[9]!==p?(x=()=>{p({id:"smsf-sms-box-delete-confir",onConfirm:()=>void b(),title:d.formatMessage({id:"smsf.sms_box.delete_message.dialog.confirm.title"}),text:d.formatMessage({id:"smsf.sms_box.delete_message.dialog.confirm.text"},{id:n}),closeOnBackdropClick:!0})},e[6]=b,e[7]=n,e[8]=d,e[9]=p,e[10]=x):x=e[10];const w=x;let C;e[11]===Symbol.for("react.memo_cache_sentinel")?(C={"&:hover":{".deleteIcon":{visibility:"visible"}},borderRadius:3,padding:2,position:"relative"},e[11]=C):C=e[11];let k;e[12]!==m||e[13]!==d?(k=d.formatMessage({id:`smsf.sms_box.message.message_${m==="outbound"?"to":"from"}`}),e[12]=m,e[13]=d,e[14]=k):k=e[14];let A;e[15]!==k?(A=a.jsx(_e,{children:k}),e[15]=k,e[16]=A):A=e[16];const P=m==="outbound"?i:s;let T;e[17]!==P?(T=a.jsx(_e,{fontSize:"large",fontWeight:"600",children:P}),e[17]=P,e[18]=T):T=e[18];let j;e[19]!==A||e[20]!==T?(j=a.jsxs(te,{direction:"row",align:"center",children:[A,T]}),e[19]=A,e[20]=T,e[21]=j):j=e[21];let R;e[22]!==d?(R=d.formatMessage({id:"smsf.sms_box.message.message_at"}),e[22]=d,e[23]=R):R=e[23];let D;e[24]!==R?(D=a.jsx(_e,{children:R}),e[24]=R,e[25]=D):D=e[25];let O;e[26]!==o?(O=Mr(o),e[26]=o,e[27]=O):O=e[27];let N;e[28]!==O?(N=a.jsx(_e,{fontWeight:"600",children:O}),e[28]=O,e[29]=N):N=e[29];let F;e[30]!==D||e[31]!==N?(F=a.jsxs(te,{direction:"row",align:"center",children:[D,N]}),e[30]=D,e[31]=N,e[32]=F):F=e[32];let U;e[33]!==j||e[34]!==F?(U=a.jsxs(te,{spacing:0,children:[j,F]}),e[33]=j,e[34]=F,e[35]=U):U=e[35];let z;e[36]===Symbol.for("react.memo_cache_sentinel")?(z={margin:"0",border:"1px solid",borderColor:"divider",borderRadius:"4px",paddingBlock:4,paddingInline:8,whiteSpace:"pre-wrap",wordBreak:"break-word"},e[36]=z):z=e[36];let H;e[37]!==u?(H=a.jsx("pre",{style:z,children:u}),e[37]=u,e[38]=H):H=e[38];let W;e[39]!==U||e[40]!==H?(W=a.jsxs(te,{spacing:1,children:[U,H]}),e[39]=U,e[40]=H,e[41]=W):W=e[41];let K;e[42]===Symbol.for("react.memo_cache_sentinel")?(K={color:"text.secondary"},e[42]=K):K=e[42];let q;e[43]!==n||e[44]!==d?(q=!!n&&a.jsxs(te,{direction:"row",children:[a.jsxs(_e,{fontSize:"small",children:[d.formatMessage({id:"smsf.sms_box.message.id"}),":"]}),a.jsx(_e,{fontSize:"small",fontWeight:"500",children:n})]}),e[43]=n,e[44]=d,e[45]=q):q=e[45];let X;e[46]!==d||e[47]!==c?(X=!!c&&a.jsxs(te,{direction:"row",children:[a.jsxs(_e,{fontSize:"small",children:[d.formatMessage({id:"smsf.sms_box.message.validity_time_s"}),":"]}),a.jsx(_e,{fontSize:"small",fontWeight:"500",children:qtt(c)})]}),e[46]=d,e[47]=c,e[48]=X):X=e[48];let Q;e[49]!==d||e[50]!==l?(Q=!!l&&a.jsxs(te,{direction:"row",children:[a.jsxs(_e,{fontSize:"small",children:[d.formatMessage({id:"smsf.sms_box.message.modified_at"}),":"]}),a.jsx(_e,{fontSize:"small",fontWeight:"500",children:Mr(l)})]}),e[49]=d,e[50]=l,e[51]=Q):Q=e[51];let Y;e[52]!==q||e[53]!==X||e[54]!==Q?(Y=a.jsxs(gt,{sx:K,children:[q,X,Q]}),e[52]=q,e[53]=X,e[54]=Q,e[55]=Y):Y=e[55];let Z;e[56]===Symbol.for("react.memo_cache_sentinel")?(Z={visibility:"hidden",position:"absolute",top:"10px",right:"10px"},e[56]=Z):Z=e[56];const re=g.state!=="idle";let fe;e[57]===Symbol.for("react.memo_cache_sentinel")?(fe=a.jsx(ge.Trash,{}),e[57]=fe):fe=e[57];let de;e[58]!==w||e[59]!==re?(de=a.jsx(gt,{className:"deleteIcon",sx:Z,children:a.jsx(Zr,{onClick:w,disabled:re,children:fe})}),e[58]=w,e[59]=re,e[60]=de):de=e[60];let se;return e[61]!==W||e[62]!==Y||e[63]!==de?(se=a.jsx(pr,{variant:"outlined",children:a.jsxs(te,{spacing:2,sx:C,children:[W,Y,de]})}),e[61]=W,e[62]=Y,e[63]=de,e[64]=se):se=e[64],se}function pCt(){const t=he.c(11),e=Ye(),r=Gr();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={p:2,flex:"1 1 auto"},t[0]=n):n=t[0];let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(Dt,{variant:"rounded",sx:{height:"200px"}}),t[1]=s):s=t[1];let i;t[2]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx(Dt,{variant:"rounded",sx:{height:"200px"}}),t[2]=i):i=t[2];let o;t[3]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(Dt,{variant:"rounded",sx:{height:"200px"}}),t[3]=o):o=t[3];let l;t[4]===Symbol.for("react.memo_cache_sentinel")?(l=a.jsxs(te,{sx:n,spacing:2,children:[s,i,o,a.jsx(Dt,{variant:"rounded",sx:{height:"200px"}})]}),t[4]=l):l=t[4];let c;t[5]===Symbol.for("react.memo_cache_sentinel")?(c=a.jsx(Tr,{}),t[5]=c):c=t[5];let u;t[6]!==e?(u=f=>a.jsxs(a.Fragment,{children:[!!f.length&&a.jsx(te,{spacing:2,sx:{overflow:"auto",p:2},nowrap:!0,fullWidth:!0,children:f.map(mCt)}),!f.length&&a.jsx(Kt,{children:a.jsx(Lr,{severity:"info",message:e.formatMessage({id:"smsf.sms_box.messages.no_messages"})})})]}),t[6]=e,t[7]=u):u=t[7];let d;return t[8]!==r.messages||t[9]!==u?(d=a.jsx(I.Suspense,{fallback:l,children:a.jsx(Qt,{resolve:r.messages,errorElement:c,children:u})}),t[8]=r.messages,t[9]=u,t[10]=d):d=t[10],d}function mCt(t){return a.jsx(fCt,{message:t},t.id)}async function hCt(){const t=$.apis.smsf.smpp.status.connections;return De({options:{url:t,method:"GET"}})}async function Zpe(){const t=$.apis.smsf.smsBox.msisdnList;return De({options:{url:t,method:"GET"}})}async function gCt({msisdn:t,direction:e}){const r=$.apis.smsf.smsBox.msisdnMessages({msisdn:t,direction:e});return De({options:{url:r,method:"GET",cache:!1}})}async function _Ct({msisdn:t,validity_time_s:e,to:r,body:n}){const s=$.apis.smsf.smsBox.messagesCreate({msisdn:t});return De({options:{url:s,method:"POST",data:{to:r,body:n,...e&&{validity_time_s:e}}}})}async function vCt({msisdn:t,direction:e,message_id:r}){const n=$.apis.smsf.smsBox.messagesDelete({msisdn:t,direction:e,message_id:r});return De({options:{url:n,method:"DELETE"}})}const q$=Pr();async function yCt({request:t}){const e=await t.json(),r=await _Ct(e);return xt(r)||Nt(q$.formatMessage({id:"smsf.sms_box.new_message.dialog.send_ok"})),Ft(r)}async function bCt({request:t}){const e=await t.json(),r=await vCt(e);return xt(r)?Ar(r.error?.detail||q$.formatMessage({id:"smsf.sms_box.delete_message.dialog.send_ko"})):Nt(q$.formatMessage({id:"smsf.sms_box.delete_message.dialog.send_ok"})),Ft(r)}async function xCt(t){return Wt({loaderArgs:t,deferred:!0,data:{connections:hCt()}})}async function Eee(t){return Wt({loaderArgs:t,deferred:!0,data:{msisdnList:Zpe()}})}async function SCt(t){const{msisdn:e,direction:r}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{messages:gCt({msisdn:e,direction:r&&["inbound","outbound"].includes(r)?r:"inbound"}),msisdnList:Zpe(),msisdn:e}}):null}const zy=Pr(),wCt={path:"smsf",handle:vr({labelIntl:"route.smsf",icon:a.jsx(ge.SMSF,{})}),children:[{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.SMSF,{dbCluster:!0})]},{element:a.jsx(Or,{center:!0,fullHeight:!0}),children:[{path:"sms-box",handle:vr({labelIntl:"route.smsf.sms-box",to:"/smsf/sms-box"}),element:a.jsx(uCt,{}),loader:Eee,children:[{index:!0,element:a.jsx(ur,{to:"list",replace:!0})},{path:"send",action:yCt,loader:()=>rt("..")},{path:"list",loader:Eee,element:a.jsx(dCt,{})},{path:":msisdn",element:a.jsx(Ao,{tabs:[{url:"inbound",label:zy.formatMessage({id:"smsf.sms_box.tabs.inbound"})},{url:"outbound",label:zy.formatMessage({id:"smsf.sms_box.tabs.outbound"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"inbound",replace:!0})},{path:":direction",element:a.jsx(pCt,{}),loader:SCt,children:[{path:"delete",action:bCt,loader:()=>rt("..")}]}]}]}]},{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{path:"status",handle:vr({labelIntl:"route.smsf.status",to:"/smsf/status"}),element:a.jsx(Ao,{tabs:[{url:"diameter",label:zy.formatMessage({id:"route.diameter"})},{url:"smpp",label:zy.formatMessage({id:"route.smsf.smpp"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"diameter",replace:!0})},qp({path:"diameter",nf:ue.SMSF}),{path:"smpp",element:a.jsx(la,{navs:[{url:"connections",label:zy.formatMessage({id:"route.smsf.smpp.connections"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"connections",replace:!0})},{path:"connections",loader:xCt,errorElement:a.jsx(en,{}),element:a.jsx(iCt,{})}]}]},io(ue.SMSF)]}]};function TD(t){return xt(t)?!0:Array.isArray(t)?t.some(e=>xt(e)):!1}function CCt(t){const e=he.c(6),{errorData:r}=t;if(Array.isArray(r)){let s;e[0]!==r?(s=r.map(ACt),e[0]=r,e[1]=s):s=e[1];let i;return e[2]!==s?(i=a.jsx(te,{children:s}),e[2]=s,e[3]=i):i=e[3],i}let n;return e[4]!==r.error.detail?(n=a.jsx(Lr,{severity:"error",message:r.error.detail}),e[4]=r.error.detail,e[5]=n):n=e[5],n}function ACt(t,e){return a.jsx(Lr,{severity:"error",message:t.error.detail},e)}const bx=t=>{const e=he.c(47);let r,n,s,i,o,l,c,u,d,f;e[0]!==t?({action:n,requiredMessage:f,onDialogSuccess:u,min:c,max:l,acceptEncrypted:r,extraData:o,customError:s,extraContent:i,...d}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d,e[10]=f):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9],f=e[10]);const p=Ye(),{data:m,state:h,submit:_}=gr(),{dialogClose:g}=Jt();let y,b;e[11]!==m||e[12]!==g||e[13]!==u||e[14]!==h?(y=()=>{m&&!TD(m)&&h==="idle"&&(g(),u&&u(m))},b=[m,g,u,h],e[11]=m,e[12]=g,e[13]=u,e[14]=h,e[15]=y,e[16]=b):(y=e[15],b=e[16]),I.useEffect(y,b);let x;e[17]!==n||e[18]!==o||e[19]!==_?(x=async O=>{const N=new FormData;for(const F in O){const U=O[F];if(Array.isArray(U))for(let z=0;z<U.length;z++)N.append(F,U[z]);else N.append(F,U)}for(const F in o)N.append(F,o[F]);_(N,{method:"POST",encType:"multipart/form-data",action:n})},e[17]=n,e[18]=o,e[19]=_,e[20]=x):x=e[20];const w=x;let C;e[21]!==r||e[22]!==p||e[23]!==l||e[24]!==c||e[25]!==f?(C=dr().shape({files:yr().min(c,p.formatMessage({id:"form_import_files.min"},{num:c})).max(l,p.formatMessage({id:"form_import_files.max"},{num:l})).required(f||p.formatMessage({id:"form_import_files.required"})),...r&&{encrypted:li()}}),e[21]=r,e[22]=p,e[23]=l,e[24]=c,e[25]=f,e[26]=C):C=e[26];const k=C;let A;e[27]===Symbol.for("react.memo_cache_sentinel")?(A=[],e[27]=A):A=e[27];let P;e[28]!==r?(P=r&&{encrypted:!1},e[28]=r,e[29]=P):P=e[29];let T;e[30]!==P?(T={files:A,...P},e[30]=P,e[31]=T):T=e[31];const j=T;let R;e[32]!==s||e[33]!==m||e[34]!==g||e[35]!==i||e[36]!==p||e[37]!==l||e[38]!==c||e[39]!==d||e[40]!==h?(R=O=>{const{dirty:N}=O;return a.jsxs(Kd,{style:{display:"flex",flexDirection:"column",flexGrow:"1",maxHeight:"100%",overflow:"auto"},children:[a.jsx(_s,{children:a.jsxs(te,{spacing:2,children:[i,a.jsx(Sue,{min:c,max:l,...d}),TD(m)&&!s&&a.jsx(CCt,{errorData:m}),TD(m)&&!!s&&s(m)]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:p.formatMessage({id:"dialog_with_form.buttons.cancel"}),variant:"outlined",disabled:h!=="idle",onClick:()=>g()}),a.jsx(Ze,{text:p.formatMessage({id:"dialog_with_form.buttons.submit"}),type:"submit",disabled:!N,loading:h!=="idle"})]})})]})},e[32]=s,e[33]=m,e[34]=g,e[35]=i,e[36]=p,e[37]=l,e[38]=c,e[39]=d,e[40]=h,e[41]=R):R=e[41];let D;return e[42]!==w||e[43]!==j||e[44]!==R||e[45]!==k?(D=a.jsx(Wr,{initialValues:j,validationSchema:k,onSubmit:w,children:R}),e[42]=w,e[43]=j,e[44]=R,e[45]=k,e[46]=D):D=e[46],D},kCt=Pr();function MCt(t){switch(t.status){case"CREATED":return nn.DEFAULT;case"RUNNING":return nn.INFO;case"TERMINATED":return t.info?.errors.length?nn.ERROR:t.info?.warnings.length?nn.WARNING:nn.SUCCESS}}const PCt=dr().shape({password:We().matches(/^[a-fA-F0-9]{32}$/)}),jCt=dr().shape({files:yr().min(1,kCt.formatMessage({id:"backup.detail.form.validation.error"}))});function TCt(){const t=he.c(16),e=Ye(),{dialogClose:r}=Jt(),{nf:n}=ko(),{upsertFetcher:s}=Ys(),{submit:i,data:o,state:l}=s;let c;t[0]===Symbol.for("react.memo_cache_sentinel")?(c={password:""},t[0]=c):c=t[0];const u=c;let d;t[1]!==n||t[2]!==i?(d=()=>{n&&i({nf:n,configuration:{password:null}},{action:"system/backup/update-configuration",method:"PUT",encType:"application/json"})},t[1]=n,t[2]=i,t[3]=d):d=t[3];const f=d;let p;t[4]!==n||t[5]!==i?(p=g=>{n&&i({nf:n,configuration:g},{action:"system/backup/update-configuration",method:"PUT",encType:"application/json"})},t[4]=n,t[5]=i,t[6]=p):p=t[6];const m=p;let h;t[7]!==o||t[8]!==r||t[9]!==f||t[10]!==e||t[11]!==l?(h=g=>{const{dirty:y,isSubmitting:b}=g;return a.jsxs(dn,{canWrite:Ue([[ie.provisioning,ie.backup]]),children:[a.jsx(yv,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"password",children:x=>{const{field:w,meta:C}=x;return a.jsx(dt,{...w,showPasswordVisibility:!0,fullWidth:!0,type:"password",label:e.formatMessage({id:"backup.encryption_password"}),helperText:C.error,error:!!C.error})}}),a.jsx(Xr,{data:o})]})}),a.jsx(vv,{children:a.jsxs(te,{direction:"row",children:[a.jsx(Ze,{variant:"outlined",text:e.formatMessage({id:"common.form.cancel"}),disabled:l!=="idle",onClick:()=>r()}),a.jsx(Ze,{variant:"outlined",text:e.formatMessage({id:"backup.encryption_password.reset_default"}),disabled:l!=="idle"||!Ue([[ie.provisioning,ie.backup]]),loading:l!=="idle"&&!b,onClick:f}),a.jsx(Ze,{type:"submit",text:e.formatMessage({id:"common.update"}),loading:l!=="idle"&&b,disabled:!y||l!=="idle"||!Ue([[ie.provisioning,ie.backup]])})]})})]})},t[7]=o,t[8]=r,t[9]=f,t[10]=e,t[11]=l,t[12]=h):h=t[12];let _;return t[13]!==m||t[14]!==h?(_=a.jsx(Wr,{initialValues:u,validationSchema:PCt,onSubmit:m,children:h}),t[13]=m,t[14]=h,t[15]=_):_=t[15],_}const h0=I.createContext({});function ECt(t){return tr("MuiTimeline",t)}rr("MuiTimeline",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]);function Wp(t){return t==="alternate-reverse"?"positionAlternateReverse":`position${tt(t)}`}const RCt=t=>{const{position:e,classes:r}=t,n={root:["root",e&&Wp(e)]};return nr(n,ECt,r)},ICt=Ce("ul",{name:"MuiTimeline",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.position&&e[Wp(r.position)]]}})({display:"flex",flexDirection:"column",padding:"6px 16px",flexGrow:1}),DCt=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTimeline"}),{position:s="right",className:i,...o}=n,l={...n,position:s},c=RCt(l),u=I.useMemo(()=>({position:s}),[s]);return a.jsx(h0.Provider,{value:u,children:a.jsx(ICt,{className:lt(c.root,i),ownerState:l,ref:r,...o})})});function $Ct(t){return tr("MuiTimelineConnector",t)}rr("MuiTimelineConnector",["root"]);const OCt=t=>{const{classes:e}=t;return nr({root:["root"]},$Ct,e)},LCt=Ce("span",{name:"MuiTimelineConnector",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({width:2,backgroundColor:(t.vars||t).palette.grey[400],flexGrow:1})),Ree=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTimelineConnector"}),{className:s,...i}=n,o=n,l=OCt(o);return a.jsx(LCt,{className:lt(l.root,s),ownerState:o,ref:r,...i})});function NCt(t){return tr("MuiTimelineContent",t)}const FCt=rr("MuiTimelineContent",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]),UCt=t=>{const{position:e,classes:r}=t,n={root:["root",Wp(e)]};return nr(n,NCt,r)},BCt=Ce(cn,{name:"MuiTimelineContent",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[Wp(r.position)]]}})(({ownerState:t})=>({flex:1,padding:"6px 16px",textAlign:"left",...t.position==="left"&&{textAlign:"right"}})),ED=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTimelineContent"}),{className:s,...i}=n,{position:o}=I.useContext(h0),l={...n,position:o||"right"},c=UCt(l);return a.jsx(BCt,{component:"div",className:lt(c.root,s),ownerState:l,ref:r,...i})});function zCt(t){return tr("MuiTimelineDot",t)}rr("MuiTimelineDot",["root","filled","outlined","filledGrey","outlinedGrey","filledPrimary","outlinedPrimary","filledSecondary","outlinedSecondary"]);const qCt=t=>{const{color:e,variant:r,classes:n}=t,s={root:["root",r,e!=="inherit"&&`${r}${tt(e)}`]};return nr(s,zCt,n)},VCt=Ce("span",{name:"MuiTimelineDot",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.color!=="inherit"&&`${r.variant}${tt(r.color)}`],e[r.variant]]}})(({ownerState:t,theme:e})=>({display:"flex",alignSelf:"baseline",borderStyle:"solid",borderWidth:2,padding:4,borderRadius:"50%",boxShadow:(e.vars||e).shadows[1],margin:"11.5px 0",...t.variant==="filled"&&{borderColor:"transparent",...t.color!=="inherit"&&{...t.color==="grey"?{color:(e.vars||e).palette.grey[50],backgroundColor:(e.vars||e).palette.grey[400]}:{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main}}},...t.variant==="outlined"&&{boxShadow:"none",backgroundColor:"transparent",...t.color!=="inherit"&&{...t.color==="grey"?{borderColor:(e.vars||e).palette.grey[400]}:{borderColor:(e.vars||e).palette[t.color].main}}}})),RD=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTimelineDot"}),{className:s,color:i="grey",variant:o="filled",...l}=n,c={...n,color:i,variant:o},u=qCt(c);return a.jsx(VCt,{className:lt(u.root,s),ownerState:c,ref:r,...l})});function HCt(t){return tr("MuiTimelineOppositeContent",t)}const GCt=rr("MuiTimelineOppositeContent",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]),WCt=t=>{const{position:e,classes:r}=t,n={root:["root",Wp(e)]};return nr(n,HCt,r)},YCt=Ce(cn,{name:"MuiTimelineOppositeContent",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[Wp(r.position)]]}})(({ownerState:t})=>({padding:"6px 16px",marginRight:"auto",textAlign:"right",flex:1,...t.position==="left"&&{textAlign:"left"}})),rC=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTimelineOppositeContent"}),{className:s,...i}=n,{position:o}=I.useContext(h0),l={...n,position:o||"left"},c=WCt(l);return a.jsx(YCt,{component:"div",className:lt(c.root,s),ownerState:l,ref:r,...i})});rC.muiName="TimelineOppositeContent";function KCt(t){return tr("MuiTimelineItem",t)}rr("MuiTimelineItem",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse","missingOppositeContent"]);const QCt=t=>{const{position:e,classes:r,hasOppositeContent:n}=t,s={root:["root",Wp(e),!n&&"missingOppositeContent"]};return nr(s,KCt,r)},ZCt=Ce("li",{name:"MuiTimelineItem",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[Wp(r.position)]]}})(({ownerState:t})=>({listStyle:"none",display:"flex",position:"relative",minHeight:70,...t.position==="left"&&{flexDirection:"row-reverse"},...(t.position==="alternate"||t.position==="alternate-reverse")&&{[`&:nth-of-type(${t.position==="alternate"?"even":"odd"})`]:{flexDirection:"row-reverse",[`& .${FCt.root}`]:{textAlign:"right"},[`& .${GCt.root}`]:{textAlign:"left"}}},...!t.hasOppositeContent&&{"&::before":{content:'""',flex:1,padding:"6px 16px"}}})),ID=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTimelineItem"}),{position:s,className:i,...o}=n,{position:l}=I.useContext(h0);let c=!1;I.Children.forEach(n.children,p=>{cb(p,["TimelineOppositeContent"])&&(c=!0)});const u={...n,position:s||l||"right",hasOppositeContent:c},d=QCt(u),f=I.useMemo(()=>({position:u.position}),[u.position]);return a.jsx(h0.Provider,{value:f,children:a.jsx(ZCt,{className:lt(d.root,i),ownerState:u,ref:r,...o})})});function XCt(t){return tr("MuiTimelineSeparator",t)}rr("MuiTimelineSeparator",["root"]);const JCt=t=>{const{classes:e}=t;return nr({root:["root"]},XCt,e)},e3t=Ce("div",{name:"MuiTimelineSeparator",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",flexDirection:"column",flex:0,alignItems:"center"}),DD=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTimelineSeparator"}),{className:s,...i}=n,o=n,l=JCt(o);return a.jsx(e3t,{className:lt(l.root,s),ownerState:o,ref:r,...i})});function t3t(t){const e=he.c(38),{scheduleStatus:r}=t,{created_at:n,info:s}=r;s?.warnings.length,s?.errors.length;let i;e:{if(s?.errors.length){i="error";break e}if(s?.warnings.length){i="warning";break e}i="success"}const o=i;let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l={p:0},e[0]=l):l=e[0];let c;e[1]===Symbol.for("react.memo_cache_sentinel")?(c={whiteSpace:"nowrap"},e[1]=c):c=e[1];const u=s?.terminated_at;let d;e[2]!==u?(d=Mr(u),e[2]=u,e[3]=d):d=e[3];let f;e[4]!==d?(f=a.jsx(rC,{color:"text.secondary",sx:c,children:d}),e[4]=d,e[5]=f):f=e[5];let p;e[6]!==o?(p=a.jsx(RD,{color:o}),e[6]=o,e[7]=p):p=e[7];let m;e[8]===Symbol.for("react.memo_cache_sentinel")?(m=a.jsx(Ree,{}),e[8]=m):m=e[8];let h;e[9]!==p?(h=a.jsxs(DD,{children:[p,m]}),e[9]=p,e[10]=h):h=e[10];let _;e[11]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(ED,{sx:{textAlign:"right"},children:"Terminated at"}),e[11]=_):_=e[11];let g;e[12]!==f||e[13]!==h?(g=a.jsxs(ID,{children:[f,h,_]}),e[12]=f,e[13]=h,e[14]=g):g=e[14];let y;e[15]===Symbol.for("react.memo_cache_sentinel")?(y={whiteSpace:"nowrap"},e[15]=y):y=e[15];const b=s?.started_at;let x;e[16]!==b?(x=Mr(b),e[16]=b,e[17]=x):x=e[17];let w;e[18]!==x?(w=a.jsx(rC,{color:"text.secondary",sx:y,children:x}),e[18]=x,e[19]=w):w=e[19];let C;e[20]===Symbol.for("react.memo_cache_sentinel")?(C=a.jsxs(DD,{children:[a.jsx(RD,{color:"info"}),a.jsx(Ree,{})]}),e[20]=C):C=e[20];let k;e[21]===Symbol.for("react.memo_cache_sentinel")?(k=a.jsx(ED,{sx:{textAlign:"right"},children:"Started at"}),e[21]=k):k=e[21];let A;e[22]!==w?(A=a.jsxs(ID,{children:[w,C,k]}),e[22]=w,e[23]=A):A=e[23];let P;e[24]===Symbol.for("react.memo_cache_sentinel")?(P={minHeight:"auto"},e[24]=P):P=e[24];let T;e[25]===Symbol.for("react.memo_cache_sentinel")?(T={whiteSpace:"nowrap"},e[25]=T):T=e[25];let j;e[26]!==n?(j=Mr(n),e[26]=n,e[27]=j):j=e[27];let R;e[28]!==j?(R=a.jsx(rC,{color:"text.secondary",sx:T,children:j}),e[28]=j,e[29]=R):R=e[29];let D;e[30]===Symbol.for("react.memo_cache_sentinel")?(D=a.jsx(DD,{children:a.jsx(RD,{color:"grey"})}),e[30]=D):D=e[30];let O;e[31]===Symbol.for("react.memo_cache_sentinel")?(O=a.jsx(ED,{sx:{textAlign:"right"},children:"Created at"}),e[31]=O):O=e[31];let N;e[32]!==R?(N=a.jsxs(ID,{sx:P,children:[R,D,O]}),e[32]=R,e[33]=N):N=e[33];let F;return e[34]!==g||e[35]!==A||e[36]!==N?(F=a.jsxs(DCt,{position:"left",sx:l,children:[g,A,N]}),e[34]=g,e[35]=A,e[36]=N,e[37]=F):F=e[37],F}var V$=(t=>(t.ERRORS="errors",t.WARNINGS="warnings",t))(V$||{});function Iee(t){const e=he.c(40),{scheduleStatus:r,type:n,nf:s}=t,i=Ye(),{dialogClose:o}=Jt(),{info:l,uuid:c}=r;let u;e:{if(!l){let D;e[0]===Symbol.for("react.memo_cache_sentinel")?(D=[],e[0]=D):D=e[0],u=D;break e}u=l[n]}const d=u;let f;e[1]!==d||e[2]!==l?.terminated_at||e[3]!==s||e[4]!==n||e[5]!==c?(f=()=>{const D=d.reduce(s3t,`param,reason
/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js.bak:343:`}function i3t(t){const e=he.c(95),{scheduleStatus:r}=t,n=Ye(),{nf:s}=ko(),{popoverOpen:i}=Jt(),{dialogOpen:o}=Jt(),{status:l,uuid:c,created_at:u,info:d}=r;let f;e[0]===Symbol.for("react.memo_cache_sentinel")?(f=location.pathname.includes("backup-schedules"),e[0]=f):f=e[0];const p=f;let m;e[1]!==s||e[2]!==c?(m=()=>{s&&c7($.apis.backup.download(s,c))},e[1]=s,e[2]=c,e[3]=m):m=e[3];const h=m;let _;e[4]!==i||e[5]!==r?(_=q=>{i({anchorEl:q.currentTarget,anchorOrigin:{horizontal:"right",vertical:"bottom"},content:()=>a.jsx(t3t,{scheduleStatus:r})})},e[4]=i,e[5]=r,e[6]=_):_=e[6];const g=_;let y;e[7]!==o||e[8]!==n||e[9]!==s||e[10]!==r?(y=()=>{o({title:n.formatMessage({id:"backup.restore.warnings_dialog.title"}),closeOnBackdropClick:!0,fullScreen:!0,content:()=>a.jsx(Iee,{scheduleStatus:r,type:V$.WARNINGS,nf:s})})},e[7]=o,e[8]=n,e[9]=s,e[10]=r,e[11]=y):y=e[11];const b=y;let x;e[12]!==o||e[13]!==n||e[14]!==s||e[15]!==r?(x=()=>{o({title:n.formatMessage({id:"backup.restore.errors_dialog.title"}),closeOnBackdropClick:!0,fullScreen:!0,content:()=>a.jsx(Iee,{scheduleStatus:r,type:V$.ERRORS,nf:s})})},e[12]=o,e[13]=n,e[14]=s,e[15]=r,e[16]=x):x=e[16];const w=x;d?.started_at,d?.terminated_at;let C;e:{switch(l){case"CREATED":{let q;e[17]===Symbol.for("react.memo_cache_sentinel")?(q={ml:"20px"},e[17]=q):q=e[17];let X;e[18]!==n?(X=n.formatMessage({id:"backup.card.created_at"}),e[18]=n,e[19]=X):X=e[19];let Q;e[20]!==X?(Q=a.jsx(_e,{type:"body2",color:"text.secondary",children:X}),e[20]=X,e[21]=Q):Q=e[21];let Y;e[22]!==u?(Y=Mr(u),e[22]=u,e[23]=Y):Y=e[23];let Z;e[24]!==Y?(Z=a.jsx(_e,{type:"body2",children:Y}),e[24]=Y,e[25]=Z):Z=e[25];let re;e[26]!==Z||e[27]!==Q?(re=a.jsxs(te,{direction:"row",nowrap:!0,sx:q,children:[Q,Z]}),e[26]=Z,e[27]=Q,e[28]=re):re=e[28],C=re;break e}case"RUNNING":{let q;e[29]===Symbol.for("react.memo_cache_sentinel")?(q={ml:"20px"},e[29]=q):q=e[29];let X;e[30]!==n?(X=n.formatMessage({id:"backup.card.started_at"}),e[30]=n,e[31]=X):X=e[31];let Q;e[32]!==X?(Q=a.jsx(_e,{type:"body2",color:"text.secondary",children:X}),e[32]=X,e[33]=Q):Q=e[33];const Y=d?.started_at;let Z;e[34]!==Y?(Z=Mr(Y),e[34]=Y,e[35]=Z):Z=e[35];let re;e[36]!==Z?(re=a.jsx(_e,{type:"body2",children:Z}),e[36]=Z,e[37]=re):re=e[37];let fe;e[38]!==re||e[39]!==Q?(fe=a.jsxs(te,{direction:"row",nowrap:!0,sx:q,children:[Q,re]}),e[38]=re,e[39]=Q,e[40]=fe):fe=e[40],C=fe;break e}case"TERMINATED":{let q;e[41]===Symbol.for("react.memo_cache_sentinel")?(q={ml:"20px"},e[41]=q):q=e[41];let X;e[42]!==n?(X=n.formatMessage({id:"backup.card.terminated_at"}),e[42]=n,e[43]=X):X=e[43];let Q;e[44]!==X?(Q=a.jsx(_e,{type:"body2",color:"text.secondary",children:X}),e[44]=X,e[45]=Q):Q=e[45];const Y=d?.terminated_at;let Z;e[46]!==Y?(Z=Mr(Y),e[46]=Y,e[47]=Z):Z=e[47];let re;e[48]!==Z?(re=a.jsx(_e,{type:"body2",children:Z}),e[48]=Z,e[49]=re):re=e[49];let fe;e[50]!==re||e[51]!==Q?(fe=a.jsxs(te,{direction:"row",nowrap:!0,sx:q,children:[Q,re]}),e[50]=re,e[51]=Q,e[52]=fe):fe=e[52],C=fe;break e}}C=void 0}const k=C;let A;e[53]!==r?(A=MCt(r),e[53]=r,e[54]=A):A=e[54];let P;e[55]!==l||e[56]!==A?(P=a.jsx(bi,{label:l,status:A}),e[55]=l,e[56]=A,e[57]=P):P=e[57];let T,j;e[58]===Symbol.for("react.memo_cache_sentinel")?(j={ml:"20px"},T=a.jsx(_e,{type:"body2",color:"text.secondary",children:"ID:"}),e[58]=T,e[59]=j):(T=e[58],j=e[59]);let R;e[60]!==c?(R=a.jsxs(te,{direction:"row",nowrap:!0,sx:j,children:[T,a.jsx(_e,{type:"body2",fontWeight:600,children:c})]}),e[60]=c,e[61]=R):R=e[61];let D;e[62]!==k||e[63]!==R||e[64]!==P?(D=a.jsxs(te,{children:[P,R,k]}),e[62]=k,e[63]=R,e[64]=P,e[65]=D):D=e[65];let O;e[66]!==g||e[67]!==n||e[68]!==l?(O=l==="TERMINATED"&&a.jsx(Mn,{title:n.formatMessage({id:"backup.card.timeline"}),children:a.jsx(Zr,{onClick:g,children:a.jsx(ge.Clock,{})})}),e[66]=g,e[67]=n,e[68]=l,e[69]=O):O=e[69];let N;e[70]!==b||e[71]!==d||e[72]!==n?(N=d?.warnings&&d.warnings.length>0&&a.jsx(Mn,{title:n.formatMessage({id:"backup.card.warnings"}),children:a.jsx(Zr,{color:"warning",onClick:b,children:a.jsx(ge.StatusWarning,{})})}),e[70]=b,e[71]=d,e[72]=n,e[73]=N):N=e[73];let F;e[74]!==w||e[75]!==d?.errors||e[76]!==n?(F=d?.errors&&d?.errors.length>0&&a.jsx(Mn,{title:n.formatMessage({id:"backup.card.errors"}),children:a.jsx(Zr,{color:"error",onClick:w,children:a.jsx(ge.StatusError,{})})}),e[74]=w,e[75]=d?.errors,e[76]=n,e[77]=F):F=e[77];let U;e[78]!==O||e[79]!==N||e[80]!==F?(U=a.jsxs(te,{direction:"row",spacing:0,children:[O,N,F]}),e[78]=O,e[79]=N,e[80]=F,e[81]=U):U=e[81];let z;e[82]!==D||e[83]!==U?(z=a.jsxs(te,{direction:"row",justify:"space-between",align:"flex-start",children:[D,U]}),e[82]=D,e[83]=U,e[84]=z):z=e[84];let H;e[85]!==h||e[86]!==d?.errors||e[87]!==n||e[88]!==l?(H=p&&l==="TERMINATED"&&!d?.errors.length&&a.jsx(Ze,{text:n.formatMessage({id:"common.download"}),size:"small",variant:"outlined",startIcon:a.jsx(ge.Download,{}),onClick:h,sx:{mt:1}}),e[85]=h,e[86]=d?.errors,e[87]=n,e[88]=l,e[89]=H):H=e[89];let W;e[90]!==H?(W=a.jsx(gt,{alignSelf:"flex-end",children:H}),e[90]=H,e[91]=W):W=e[91];let K;return e[92]!==z||e[93]!==W?(K=a.jsx(pr,{elevation:2,children:a.jsx(Kt,{children:a.jsxs(te,{children:[z,W]})})}),e[92]=z,e[93]=W,e[94]=K):K=e[94],K}function Dee(t){const e=he.c(37),{isBackup:r}=t,n=Ye(),{nf:s}=ko(),{backupSchedules:i,restoreSchedules:o}=Np(),{submit:l}=gr(),{dialogOpen:c}=Jt();let u;e:{if(r&&s){u=i[s];break e}if(!r&&s){u=o[s];break e}u=void 0}const d=u;let f;e[0]!==c?(f=()=>{c({title:"Update encryption password",content:l3t})},e[0]=c,e[1]=f):f=e[1];const p=f;let m;e[2]!==s||e[3]!==l?(m=()=>{s&&l({nf:s},{action:$.urls.systemBackupScheduleBackup_Action,encType:"application/json",method:"POST"})},e[2]=s,e[3]=l,e[4]=m):m=e[4];const h=m;let _;e[5]!==c||e[6]!==n||e[7]!==s?(_=()=>{s&&c({title:n.formatMessage({id:"backup.form.title"}),content:()=>a.jsx(bx,{min:1,max:1,filesLabel:n.formatMessage({id:"backup.form.placeholder"}),description:n.formatMessage({id:"backup.form.description"}),requiredMessage:n.formatMessage({id:"backup.detail.form.validation.error"}),accept:{".bck":[".bck"],".enc":[".enc"]},action:$.urls.systemBackupScheduleRestore_Action,onDialogSuccess:a3t,extraData:{nf:s}})})},e[5]=c,e[6]=n,e[7]=s,e[8]=_):_=e[8];const g=_;let y;e[9]!==h||e[10]!==g||e[11]!==p||e[12]!==n||e[13]!==r?(y=a.jsx(o7,{children:a.jsx(te,{direction:"row",children:r?a.jsxs(a.Fragment,{children:[a.jsx(Ze,{text:n.formatMessage({id:"backup.encryption_password"}),size:"small",variant:"outlined",onClick:p,disabled:!as([[ie.provisioning,ie.backup]])}),a.jsx(Ze,{text:n.formatMessage({id:"backup.button.schedule.backup"}),size:"small",disabled:!as([[ie.provisioning,ie.backup]]),onClick:h})]}):a.jsxs(a.Fragment,{children:[a.jsx(Ze,{text:n.formatMessage({id:"backup.encryption_password"}),size:"small",variant:"outlined",onClick:p,disabled:!Ue([[ie.provisioning,ie.backup]])}),a.jsx(Ze,{text:n.formatMessage({id:"backup.button.schedule.restore"}),size:"small",disabled:!Ue([[ie.provisioning,ie.backup]]),onClick:g})]})})}),e[9]=h,e[10]=g,e[11]=p,e[12]=n,e[13]=r,e[14]=y):y=e[14];let b;e[15]===Symbol.for("react.memo_cache_sentinel")?(b={overflow:"auto",maxHeight:"100%",height:"100%"},e[15]=b):b=e[15];let x;e[16]!==n||e[17]!==s?(x=n.formatMessage({id:`backup.detail.${s}.alert`}),e[16]=n,e[17]=s,e[18]=x):x=e[18];let w;e[19]!==x?(w=a.jsx(Lr,{severity:"info",title:x}),e[19]=x,e[20]=w):w=e[20];let C;e[21]!==d?(C=a.jsx(Xr,{data:d}),e[21]=d,e[22]=C):C=e[22];let k;e[23]!==d||e[24]!==n?(k=d&&d.length>0?d.map(o3t):a.jsx(Lr,{message:n.formatMessage({id:"backup.noData"})}),e[23]=d,e[24]=n,e[25]=k):k=e[25];let A;e[26]!==k?(A=a.jsx(a.Fragment,{children:k}),e[26]=k,e[27]=A):A=e[27];let P;e[28]!==A||e[29]!==C?(P=a.jsxs(te,{spacing:1,direction:"column-reverse",children:[C,A]}),e[28]=A,e[29]=C,e[30]=P):P=e[30];let T;e[31]!==P||e[32]!==w?(T=a.jsx(Kt,{sx:b,children:a.jsxs(te,{spacing:2,children:[w,P]})}),e[31]=P,e[32]=w,e[33]=T):T=e[33];let j;return e[34]!==T||e[35]!==y?(j=a.jsxs(a.Fragment,{children:[y,T]}),e[34]=T,e[35]=y,e[36]=j):j=e[36],j}function o3t(t){return a.jsx(i3t,{scheduleStatus:t},t.uuid)}function a3t(){Nt()}function l3t(){return a.jsx(TCt,{})}function $ee(t){const e=he.c(21),{isBackup:r}=t,n=Ye(),{activeTabs:s,backupSchedules:i,restoreSchedules:o}=Np();let l;e:{if(r){l=i;break e}l=o}const c=l;let u;if(e[0]!==s||e[1]!==c||e[2]!==n||e[3]!==r){let p;e[5]!==c||e[6]!==n||e[7]!==r?(p=C=>{const{label:k,url:A}=C;return c[A]?.find(c3t)?{title:`${k}${` ${n.formatMessage({id:`common.${r?"backup":"restore"}`}).toLowerCase()}`}`,label:k,url:A,status:nn.INFO}:{title:`${k}${` ${n.formatMessage({id:`common.${r?"backup":"restore"}`}).toLowerCase()}`}`,label:k,url:A,status:nn.DEFAULT}},e[5]=c,e[6]=n,e[7]=r,e[8]=p):p=e[8];const m=s.map(p);let h;e[9]!==n?(h=n.formatMessage({id:"route.system.backup.configuration"}),e[9]=n,e[10]=h):h=e[10];let _;e[11]!==n||e[12]!==r?(_=n.formatMessage({id:`common.${r?"backup":"restore"}`}).toLowerCase(),e[11]=n,e[12]=r,e[13]=_):_=e[13];const g=`${h}${` ${_}`}`;let y;e[14]!==n?(y=n.formatMessage({id:"route.system.backup.configuration"}),e[14]=n,e[15]=y):y=e[15];const b=`${y}`;let x;e[16]!==g||e[17]!==b?(x={title:g,label:b,url:"configuration",status:nn.DEFAULT},e[16]=g,e[17]=b,e[18]=x):x=e[18];const w=x;u=as([[ie.backup,ie.configuration]])?[w,...m]:m,e[0]=s,e[1]=c,e[2]=n,e[3]=r,e[4]=u}else u=e[4];const d=u;let f;return e[19]!==d?(f=a.jsx(la,{navs:d}),e[19]=d,e[20]=f):f=e[20],f}function c3t(t){const{status:e}=t;return e==="RUNNING"}function u3t(){const t=he.c(7),e=Ye(),r=Gr();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[0]=n):n=t[0];let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(Tr,{}),t[1]=s):s=t[1];let i;t[2]!==e?(i=l=>{const{backupSchedules:c,restoreSchedules:u}=l;let d=!1,f=!1;for(const p in c)if(c[p].find(f3t)){d=!0;break}for(const p in u)if(u[p].find(d3t)){f=!0;break}return a.jsx(a.Fragment,{children:a.jsx(Ao,{tabs:[{url:"backup-schedules",label:e.formatMessage({id:"backup.tab.backup"}),...as([[ie.backup,ie.provisioning]])&&{status:d?nn.INFO:nn.DEFAULT}},{url:"restore-schedules",label:e.formatMessage({id:"backup.tab.restore"}),...as([[ie.backup,ie.provisioning]])&&{status:f?nn.INFO:nn.DEFAULT}}]})})},t[2]=e,t[3]=i):i=t[3];let o;return t[4]!==r.schedule||t[5]!==i?(o=a.jsx(I.Suspense,{fallback:n,children:a.jsx(Qt,{resolve:r.schedule,errorElement:s,children:i})}),t[4]=r.schedule,t[5]=i,t[6]=o):o=t[6],o}function d3t(t){const{status:e}=t;return e==="RUNNING"}function f3t(t){const{status:e}=t;return e==="RUNNING"}function p3t(){const t=he.c(17),e=Ye(),r=zn();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=[],t[0]=n):n=t[0];const[s,i]=I.useState(n),{submit:o}=gr();let l;t[1]===Symbol.for("react.memo_cache_sentinel")?(l=b=>(x,w)=>{i(C=>w?[...C,b]:C.filter(k=>k!==b))},t[1]=l):l=t[1];const c=l;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u=b=>()=>{i(b)},t[2]=u):u=t[2];const d=u;let f;t[3]!==s||t[4]!==o?(f=()=>{o({services:s},{method:"POST",encType:"application/json",action:"configuration-backup"})},t[3]=s,t[4]=o,t[5]=f):f=t[5];const p=f;let m;t[6]!==s?(m=b=>!!s.find(w=>w===b),t[6]=s,t[7]=m):m=t[7];const h=m;let _;t[8]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(en,{}),t[8]=_):_=t[8];let g;t[9]!==p||t[10]!==e||t[11]!==h||t[12]!==s.length?(g=b=>{const x=b.filter(h3t).map(m3t);return a.jsx(Kt,{sx:{overflow:"auto",maxHeight:"100%",height:"100%"},children:a.jsxs(te,{spacing:2,children:[a.jsx(Lr,{severity:"info",title:e.formatMessage({id:"backup.detail.configuration.backup.alert"})}),a.jsx(pr,{elevation:2,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(_e,{type:"body2",children:e.formatMessage({id:"backup.detail.configuration.backup.hint"})}),a.jsx(al,{spacing:0,children:x.map(w=>a.jsx(Is,{size:{xs:12,md:6,lg:3},children:a.jsx(da,{onChange:c(w),checked:h(w),label:w===ue.PLS?e.formatMessage({id:"route.system"}):w.toUpperCase()})},w))}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{size:"small",text:e.formatMessage({id:"common.select_all"}),variant:"outlined",disabled:!as([[ie.backup,ie.configuration]]),onClick:d(x)}),a.jsx(Ze,{size:"small",text:e.formatMessage({id:"common.download"}),startIcon:a.jsx(ge.Download,{}),disabled:!s.length||!as([[ie.backup,ie.configuration]]),onClick:p})]})]})})})]})})},t[9]=p,t[10]=e,t[11]=h,t[12]=s.length,t[13]=g):g=t[13];let y;return t[14]!==r.services||t[15]!==g?(y=a.jsx(I.Suspense,{children:a.jsx(Qt,{resolve:r.services,errorElement:_,children:g})}),t[14]=r.services,t[15]=g,t[16]=y):y=t[16],y}function m3t(t){const{name:e}=t;return e}function h3t(t){const{backup:e}=t;return e}function g3t(){const t=he.c(14),e=Ye(),{submit:r,state:n,data:s}=gr(),i=I.useRef(null);let o;t[0]!==r?(o=h=>{const{files:_}=h,g=new FormData;g.set("file",_[0]),r(g,{method:"POST",encType:"multipart/form-data",action:"configuration-restore"})},t[0]=r,t[1]=o):o=t[1];const l=o;let c,u;t[2]!==s||t[3]!==n?(c=()=>{s&&n==="idle"&&i.current&&i.current.resetForm()},u=[s,n],t[2]=s,t[3]=n,t[4]=c,t[5]=u):(c=t[4],u=t[5]),I.useEffect(c,u);let d;t[6]===Symbol.for("react.memo_cache_sentinel")?(d={overflow:"auto",maxHeight:"100%",height:"100%"},t[6]=d):d=t[6];let f;t[7]===Symbol.for("react.memo_cache_sentinel")?(f={files:[]},t[7]=f):f=t[7];let p;t[8]!==e||t[9]!==n?(p=h=>{const{dirty:_}=h;return a.jsx(dn,{canWrite:Ue([[ie.backup,ie.configuration]]),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{children:[a.jsx(_e,{type:"body2",children:e.formatMessage({id:"backup.detail.configuration.restore.hint"})}),a.jsx(Ke,{name:"files",children:g=>{const{field:y,meta:b,form:x}=g,{setFieldValue:w}=x;return a.jsx(Z_,{...y,label:e.formatMessage({id:"form_import_files.file"}),size:"medium",accept:{"application/gzip":[".gz"]},maxFiles:1,onChange:C=>{setTimeout(()=>{C.length?w(y.name,C):w(y.name,[])},0)},disabled:n!=="idle",formError:b.error})}})]}),a.jsx(te,{direction:"row",justify:"flex-end",children:a.jsx(Ze,{type:"submit",size:"small",startIcon:a.jsx(ge.Upload,{}),disabled:!_||!Ue([[ie.backup,ie.configuration]]),loading:n!=="idle",text:e.formatMessage({id:"common.upload"})})})]})})},t[8]=e,t[9]=n,t[10]=p):p=t[10];let m;return t[11]!==l||t[12]!==p?(m=a.jsx(Kt,{sx:d,children:a.jsx(pr,{elevation:2,children:a.jsx(Kt,{children:a.jsx(Wr,{validationSchema:jCt,initialValues:f,onSubmit:l,innerRef:i,children:p})})})}),t[11]=l,t[12]=p,t[13]=m):m=t[13],m}const Iw=Pr(),_3t={invalid_license:Iw.formatMessage({id:"licensing.upload.form.error.invalid_license"}),unspecified:Iw.formatMessage({id:"licensing.upload.form.error.unspecified"}),wrong_site_id:Iw.formatMessage({id:"licensing.upload.form.error.wrong_site_id"}),"Not Found":Iw.formatMessage({id:"licensing.upload.form.error.not_found"})},g8=t=>{const e=he.c(5),{action:r,actionError:n}=t,s=ci();let i;return e[0]!==r||e[1]!==n||e[2]!==s.palette.error||e[3]!==s.palette.success?(i=r?a.jsx(ge.StatusSuccessSmall,{color:s.palette.success.main}):a.jsx(Mn,{title:_3t[n]??n,children:a.jsx("span",{style:{cursor:"help"},children:a.jsx(ge.StatusError,{color:s.palette.error.main})})}),e[0]=r,e[1]=n,e[2]=s.palette.error,e[3]=s.palette.success,e[4]=i):i=e[4],i},v3t=()=>{const t=he.c(90),e=ci(),r=Ye(),{dialogOpen:n,popoverOpen:s}=Jt(),{openConfirmDialog:i}=di(),o=zn(),l=gr();let c;t[0]!==r?(c=r.formatMessage({id:"licensing.table.nf_type"}),t[0]=r,t[1]=c):c=t[1];let u;t[2]!==c?(u={key:"license_nf_type",label:c,cellRender:y3t},t[2]=c,t[3]=u):u=t[3];let d;t[4]!==r?(d=r.formatMessage({id:"licensing.table.id"}),t[4]=r,t[5]=d):d=t[5];let f;t[6]!==d?(f={key:"license_id",label:d,cellRender:b3t},t[6]=d,t[7]=f):f=t[7];let p;t[8]!==r?(p=r.formatMessage({id:"licensing.install"}),t[8]=r,t[9]=p):p=t[9];let m;t[10]!==p?(m={key:"install",label:p,maxWidth:"65",width:"65",cellRender:x3t},t[10]=p,t[11]=m):m=t[11];let h;t[12]!==r?(h=r.formatMessage({id:"licensing.set"}),t[12]=r,t[13]=h):h=t[13];let _;t[14]!==h?(_={key:"set",label:h,maxWidth:"65",width:"65",cellRender:S3t},t[14]=h,t[15]=_):_=t[15];let g;t[16]!==r?(g=r.formatMessage({id:"licensing.persist"}),t[16]=r,t[17]=g):g=t[17];let y;t[18]!==g?(y={key:"persist",label:g,maxWidth:"65",width:"65",cellRender:w3t},t[18]=g,t[19]=y):y=t[19];let b;t[20]!==u||t[21]!==f||t[22]!==m||t[23]!==_||t[24]!==y?(b=[u,f,m,_,y],t[20]=u,t[21]=f,t[22]=m,t[23]=_,t[24]=y,t[25]=b):b=t[25];const x=b;let w;t[26]!==x||t[27]!==n||t[28]!==r||t[29]!==e.palette.error.main||t[30]!==e.palette.success.main?(w=()=>{n({title:r.formatMessage({id:"licensing.upload.form.title"}),content:()=>a.jsx(bx,{min:1,max:1,filesLabel:r.formatMessage({id:"licensing.upload.form.file"}),accept:{"application/json":[".json"]},requiredMessage:r.formatMessage({id:"licensing.upload.form.file.required"}),description:r.formatMessage({id:"licensing.upload.form.description"}),action:"system/licensing/install",customError:pe=>{const Se=pe.error.errorList;Se.sort(C3t);const ve=Se.some(A3t);return a.jsxs(te,{spacing:2,children:[ve&&a.jsx(Lr,{sx:{width:"100%"},severity:"error",message:r.formatMessage({id:"licensing.upload.form.error"})}),a.jsx(pr,{elevation:1,sx:{borderColor:ve?e.palette.error.main:e.palette.success.main,borderWidth:"1px",borderStyle:"solid"},children:a.jsx(Kt,{children:a.jsx(Br,{data:Se,orderBy:"license_nf_type",columns:x,page:0,rowsCount:Se.length,rowsPerPage:Se.length,rowKey:"license_nf_type",dense:!0,hidePagination:!0,hideRowsCount:!0})})})]})}})})},t[26]=x,t[27]=n,t[28]=r,t[29]=e.palette.error.main,t[30]=e.palette.success.main,t[31]=w):w=t[31];const C=w;let k;t[32]!==l||t[33]!==r||t[34]!==i?(k=pe=>{const{license_id:Se,precedence:ve}=pe;i({text:r.formatMessage({id:"licensing.delete.dialog.confirm"}),onConfirm:()=>{l.submit({license_id:Se,precedence:ve},{method:"DELETE",encType:"application/json",action:"delete"})}})},t[32]=l,t[33]=r,t[34]=i,t[35]=k):k=t[35];const A=k;let P;t[36]!==r?(P=r.formatMessage({id:"licensing.table.id"}),t[36]=r,t[37]=P):P=t[37];let T;t[38]!==P?(T={key:"license_id",label:P},t[38]=P,t[39]=T):T=t[39];let j;t[40]!==r?(j=r.formatMessage({id:"licensing.table.nf_type"}),t[40]=r,t[41]=j):j=t[41];let R;t[42]!==j?(R={key:"license_id",label:j,cellRender:k3t},t[42]=j,t[43]=R):R=t[43];let D;t[44]!==r?(D=r.formatMessage({id:"licensing.table.start_date"}),t[44]=r,t[45]=D):D=t[45];let O;t[46]!==D?(O={key:"license",label:D,cellRender:M3t},t[46]=D,t[47]=O):O=t[47];let N;t[48]!==r?(N=r.formatMessage({id:"licensing.table.expire_date"}),t[48]=r,t[49]=N):N=t[49];let F;t[50]!==N?(F={key:"license",label:N,cellRender:P3t},t[50]=N,t[51]=F):F=t[51];let U;t[52]!==r?(U=r.formatMessage({id:"licensing.table.precedence"}),t[52]=r,t[53]=U):U=t[53];let z;t[54]!==U?(z={key:"precedence",label:U},t[54]=U,t[55]=z):z=t[55];let H;t[56]!==r?(H=r.formatMessage({id:"licensing.table.state"}),t[56]=r,t[57]=H):H=t[57];let W;t[58]!==H?(W={key:"state",label:H,cellRender:j3t},t[58]=H,t[59]=W):W=t[59];let K;t[60]!==T||t[61]!==R||t[62]!==O||t[63]!==F||t[64]!==z||t[65]!==W?(K=[T,R,O,F,z,W],t[60]=T,t[61]=R,t[62]=O,t[63]=F,t[64]=z,t[65]=W,t[66]=K):K=t[66];const q=K;let X;t[67]!==r?(X=r.formatMessage({id:"licensing.table.actions.delete"}),t[67]=r,t[68]=X):X=t[68];let Q,Y;t[69]===Symbol.for("react.memo_cache_sentinel")?(Q=a.jsx(ge.Trash,{}),Y=Ue(ie.management),t[69]=Q,t[70]=Y):(Q=t[69],Y=t[70]);let Z;t[71]!==A?(Z=pe=>void A(pe),t[71]=A,t[72]=Z):Z=t[72];let re;t[73]!==X||t[74]!==Z?(re=[{label:X,icon:Q,disabled:!Y,onClick:Z}],t[73]=X,t[74]=Z,t[75]=re):re=t[75];const fe=re;let de;t[76]!==r||t[77]!==s?(de=(pe,Se)=>s({anchorEl:pe.currentTarget,anchorOrigin:{horizontal:"right",vertical:"bottom"},content:()=>a.jsxs(te,{spacing:1,divided:!0,children:[Se.hostname&&a.jsxs(te,{spacing:0,children:[a.jsx(_e,{type:"caption",children:r.formatMessage({id:"licensing.host.hostname"})}),a.jsx(Ap,{text:Se.hostname})]}),Se.siteid?.value&&a.jsxs(te,{spacing:0,children:[a.jsx(_e,{type:"caption",children:r.formatMessage({id:"licensing.host.siteid"})}),a.jsx(Ap,{text:Se.siteid?.value,max:50})]})]})}),t[76]=r,t[77]=s,t[78]=de):de=t[78];const se=de;let le;t[79]===Symbol.for("react.memo_cache_sentinel")?(le=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[79]=le):le=t[79];let ee;t[80]===Symbol.for("react.memo_cache_sentinel")?(ee=a.jsx(Tr,{}),t[80]=ee):ee=t[80];let J;t[81]!==q||t[82]!==C||t[83]!==se||t[84]!==r||t[85]!==fe?(J=pe=>{const{licenses:Se,hostInfo:ve}=pe;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsxs(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:[a.jsx(Ze,{startIcon:a.jsx(ge.Info,{}),onClick:xe=>{se(xe,ve)},variant:"outlined",text:r.formatMessage({id:"licensing.info"})}),a.jsx(Ze,{startIcon:a.jsx(ge.Upload,{}),disabled:!Ue(ie.management),text:r.formatMessage({id:"licensing.upload.buttons.upload"}),onClick:C})]})}),a.jsx(Br,{autoScale:!0,data:Se,orderBy:"license_id",columns:q,rowActions:fe,stickyRowActions:!0,page:0,labelDisplayedRows:T3t,rowsCount:Se.length,rowsPerPage:Se.length,rowKey:"license_id",rowDetail:{content:xe=>{const{license:qe}=xe;return a.jsx(al,{children:!!qe?.app_content&&Object.entries(qe.app_content)?.filter(E3t)?.map(Le=>{const[Te,je]=Le;return a.jsxs(Is,{size:{xs:3},children:[a.jsx(_e,{fontWeight:"600",children:r.formatMessage({id:`licensing.table.details.${Te}`})}),a.jsx(_e,{children:je})]},Te)})})}}})]})},t[81]=q,t[82]=C,t[83]=se,t[84]=r,t[85]=fe,t[86]=J):J=t[86];let me;return t[87]!==o.licensing||t[88]!==J?(me=a.jsx(I.Suspense,{fallback:le,children:a.jsx(Qt,{resolve:o.licensing,errorElement:ee,children:J})}),t[87]=o.licensing,t[88]=J,t[89]=me):me=t[89],me};function y3t(t){const{license_nf_type:e}=t;return a.jsx(te,{direction:"row",align:"center",spacing:2,children:a.jsx(_e,{children:e})})}function b3t(t){const{license_id:e}=t;return a.jsx(Ap,{text:e||"",max:4})}function x3t(t){const{install:e,installError:r}=t;return a.jsx(g8,{action:e,actionError:r})}function S3t(t){const{set:e,setError:r}=t;return a.jsx(g8,{action:e,actionError:r})}function w3t(t){const{persist:e,persistError:r}=t;return a.jsx(g8,{action:e,actionError:r})}function C3t(t,e){return t.license_nf_type.localeCompare(e.license_nf_type)}function A3t(t){return!t.install||!t.persist||!t.set}function k3t(t){const{license:e}=t;return a.jsx(_e,{type:"body2",children:e?.app_content?.app_type||"-"})}function M3t(t){const{license:e}=t;return e?.license_params?.start_date?a.jsx(_e,{type:"body2",children:Mr(e.license_params.start_date*1e3)}):a.jsx(a.Fragment,{})}function P3t(t){const{license:e}=t;return e?.license_params?.expire_date?a.jsx(_e,{type:"body2",children:Mr(e.license_params.expire_date*1e3)}):a.jsx(a.Fragment,{})}function j3t(t){const{state:e}=t;return a.jsx(_e,{type:"body2",children:e?.str})}function T3t(){return""}function E3t(t){const[,e]=t;return!!e}function R3t(t){const e=he.c(16),{children:r,href:n,underline:s,targetBlank:i,color:o,onClick:l,sx:c,"data-testid":u}=t,d=o===void 0?"primary":o,f=i?"_blank":"",p=i?"noreferrer":"",m=`${d}.main`;let h;e[0]!==d||e[1]!==i?(h=i&&{"&::after":{content:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==)",margin:"0 3px 0 5px"},"&::visited":{color:`${d}.main`}},e[0]=d,e[1]=i,e[2]=h):h=e[2];let _;e[3]!==c||e[4]!==h?(_={cursor:"pointer",...h,...c},e[3]=c,e[4]=h,e[5]=_):_=e[5];let g;return e[6]!==r||e[7]!==u||e[8]!==n||e[9]!==l||e[10]!==p||e[11]!==m||e[12]!==_||e[13]!==f||e[14]!==s?(g=a.jsx(N8e,{href:n,underline:s,target:f,rel:p,color:m,onClick:l,sx:_,"data-testid":u,children:r}),e[6]=r,e[7]=u,e[8]=n,e[9]=l,e[10]=p,e[11]=m,e[12]=_,e[13]=f,e[14]=s,e[15]=g):g=e[15],g}function C_(t){const e=he.c(11),{field:r,value:n,href:s,fontWeight:i}=t;let o;e[0]!==r?(o=a.jsx(_e,{type:"caption",color:"text.secondary",children:r}),e[0]=r,e[1]=o):o=e[1];let l;e[2]!==r||e[3]!==i||e[4]!==s||e[5]!==n?(l=s?a.jsx(R3t,{href:s,targetBlank:!0,sx:{fontFamily:"'Source Code Pro', monospace",wordBreak:"break-all",fontSize:14,fontWeight:i},children:n}):a.jsx(_e,{sx:{wordBreak:"break-all",fontFamily:"'Source Code Pro', monospace",fontWeight:i},fontSize:14,children:r==="PRIORITY"?q_(n):n}),e[2]=r,e[3]=i,e[4]=s,e[5]=n,e[6]=l):l=e[6];let c;return e[7]!==r||e[8]!==o||e[9]!==l?(c=a.jsxs(te,{spacing:.1,children:[o,l]},r),e[7]=r,e[8]=o,e[9]=l,e[10]=c):c=e[10],c}function Xpe(t){const e=he.c(58),{entry:r,cursorAsTitle:n}=t,s=ci();let i;e[0]!==r?(i=R=>Object.entries(r).filter(D=>{const[O]=D;if(["MESSAGE","SYSLOG_IDENTIFIER","__CURSOR"].includes(O))return!1;switch(R){case Um.TRUSTED:return Aie(O);case Um.ADDRESS:return bL(O);default:return _4e(O)}}).sort(),e[0]=r,e[1]=i):i=e[1];const o=i;let l;e:switch(q_(r.PRIORITY)){case ii.EMERGENCY:case ii.ALERT:case ii.CRITICAL:case ii.ERROR:{let R;e[2]!==s.palette.error.main?(R=Ic(s.palette.error.main,.1),e[2]=s.palette.error.main,e[3]=R):R=e[3];let D;e[4]!==R?(D={backgroundColor:R,borderColor:"error.main"},e[4]=R,e[5]=D):D=e[5],l=D;break e}case ii.WARNING:{let R;e[6]!==s.palette.warning.main?(R=Ic(s.palette.warning.main,.1),e[6]=s.palette.warning.main,e[7]=R):R=e[7];let D;e[8]!==R?(D={backgroundColor:R,borderColor:"warning.main"},e[8]=R,e[9]=D):D=e[9],l=D;break e}case ii.DEBUG:{let R;e[10]!==s.palette.info.main?(R=Ic(s.palette.info.main,.1),e[10]=s.palette.info.main,e[11]=R):R=e[11];let D;e[12]!==R?(D={backgroundColor:R,borderColor:"info.main"},e[12]=R,e[13]=D):D=e[13],l=D;break e}default:{let R;e[14]===Symbol.for("react.memo_cache_sentinel")?(R={backgroundColor:"divider",borderColor:"divider"},e[14]=R):R=e[14],l=R}}const c=l;let u;e[15]!==r.__REALTIME_TIMESTAMP?(u=mp(r.__REALTIME_TIMESTAMP),e[15]=r.__REALTIME_TIMESTAMP,e[16]=u):u=e[16];let d;e[17]!==u?(d=a.jsx(C_,{field:"TIMESTAMP",value:u,fontWeight:"600"}),e[17]=u,e[18]=d):d=e[18];let f;e[19]!==r.SYSLOG_IDENTIFIER?(f=a.jsx(C_,{field:"SYSLOG_IDENTIFIER",value:r.SYSLOG_IDENTIFIER}),e[19]=r.SYSLOG_IDENTIFIER,e[20]=f):f=e[20];let p;e[21]===Symbol.for("react.memo_cache_sentinel")?(p=a.jsx(_e,{type:"caption",color:"text.secondary",children:"MESSAGE"}),e[21]=p):p=e[21];let m;e[22]!==c?(m={border:"1px solid",p:1,borderRadius:1,...c},e[22]=c,e[23]=m):m=e[23];let h;e[24]===Symbol.for("react.memo_cache_sentinel")?(h={fontFamily:"'Source Code Pro', monospace",whiteSpace:"pre-wrap",wordBreak:"break-all"},e[24]=h):h=e[24];let _;e[25]!==r.MESSAGE?(_=a.jsx(_e,{fontWeight:"inherit",fontSize:14,sx:h,children:r.MESSAGE}),e[25]=r.MESSAGE,e[26]=_):_=e[26];let g;e[27]!==m||e[28]!==_?(g=a.jsxs(te,{spacing:.1,children:[p,a.jsx(Vte,{sx:m,children:_})]}),e[27]=m,e[28]=_,e[29]=g):g=e[29];let y;e[30]!==n||e[31]!==r.__CURSOR?(y=n?null:$.urls.systemLogsCursorItem.replace(":cursor",r.__CURSOR),e[30]=n,e[31]=r.__CURSOR,e[32]=y):y=e[32];let b;e[33]!==r.__CURSOR||e[34]!==y?(b=a.jsx(C_,{field:"__CURSOR",value:r.__CURSOR,href:y}),e[33]=r.__CURSOR,e[34]=y,e[35]=b):b=e[35];let x;e[36]!==g||e[37]!==b||e[38]!==d||e[39]!==f?(x=a.jsxs(te,{nowrap:!0,children:[d,f,g,b]}),e[36]=g,e[37]=b,e[38]=d,e[39]=f,e[40]=x):x=e[40];let w;e[41]!==o?(w=o(Um.USER).map($3t),e[41]=o,e[42]=w):w=e[42];let C;e[43]!==w?(C=a.jsx(te,{nowrap:!0,children:w}),e[43]=w,e[44]=C):C=e[44];let k;e[45]!==o?(k=o(Um.TRUSTED).map(D3t),e[45]=o,e[46]=k):k=e[46];let A;e[47]!==k?(A=a.jsx(te,{nowrap:!0,children:k}),e[47]=k,e[48]=A):A=e[48];let P;e[49]!==o?(P=o(Um.ADDRESS).map(I3t),e[49]=o,e[50]=P):P=e[50];let T;e[51]!==P?(T=a.jsx(te,{nowrap:!0,children:P}),e[51]=P,e[52]=T):T=e[52];let j;return e[53]!==x||e[54]!==C||e[55]!==A||e[56]!==T?(j=a.jsxs(te,{spacing:1.5,nowrap:!0,divided:!0,children:[x,C,A,T]}),e[53]=x,e[54]=C,e[55]=A,e[56]=T,e[57]=j):j=e[57],j}function I3t(t){const[e,r]=t;return a.jsx(C_,{field:e,value:r},e)}function D3t(t){const[e,r]=t;return a.jsx(C_,{field:e,value:r},e)}function $3t(t){const[e,r]=t;return a.jsx(C_,{field:e,value:r},e)}function O3t(t){const e=he.c(6),{cursor:r}=t,{load:n,data:s}=gr();let i,o;e[0]!==r||e[1]!==n?(i=()=>{n($.urls.systemLogsCursorItem.replace(":cursor",r))},o=[n,r],e[0]=r,e[1]=n,e[2]=i,e[3]=o):(i=e[2],o=e[3]),I.useEffect(i,o);let l;return e[4]!==s?(l=a.jsx(zp,{children:s?a.jsx(Xpe,{entry:s.entries[0]}):a.jsx(te,{align:"center",justify:"center",fullHeight:!0,fullWidth:!0,children:a.jsx(Nc,{type:"circular",size:36})})}),e[4]=s,e[5]=l):l=e[5],l}function Jpe({data:t}){const e=ci(),r=Ye(),[n,s]=hl(),i=On(),o=n.getAll("field"),l=n.get("entries"),c=n.get("grep")||"",u=parseInt(l),[d,f]=I.useState(null),{drawerOpen:p}=Jt(),{pathname:m}=to(),h=m===$.urls.systemLogsFollow,[_,g]=I.useState(null),y=n.get("since"),b=n.get("until"),x=parseInt(n.get("skip")),w=I.useMemo(()=>Cie([...o,"PRIORITY","SYSLOG_IDENTIFIER"]),[o]),C=I.useCallback(R=>{s(D=>(D.set("entries",R.toString()),D))},[s]),k=I.useCallback(()=>{const R=mp(t[0].__REALTIME_TIMESTAMP),D=mp(t[t.length-1].__REALTIME_TIMESTAMP);Rie(JSON.stringify(t,null,2),`logs_${R}_${D}.txt`)},[t]),A=I.useCallback(R=>{const D=t[0],O=t[t.length-1];s(N=>{const F=parseInt(N.get("entries"));if(y||b){if(R===0&&N.set("skip","0"),R===1&&x>0){const U=Math.max(0,x-F);N.set("skip",`${U}`)}if(R===3)if(t.length===F){const U=x+F;N.set("skip",`${U}`)}else N.set("skip",`${x}`);R===4&&N.set("skip",`-${F}`)}else R===0&&(N.delete("cursor"),N.set("skip","0")),R===1&&(N.set("cursor",D.__CURSOR),N.set("skip",`-${F}`)),R===3&&(N.set("cursor",O.__CURSOR),N.set("skip","0")),R===4&&(N.delete("cursor"),N.set("skip",`-${F}`));return N})},[t,s,y,x,b]),P=I.useCallback(R=>{f(R.__CURSOR),p({width:600,title:r.formatMessage({id:"logs.log_details"}),content:()=>a.jsx(O3t,{cursor:R.__CURSOR}),onClose:()=>{f(null)}})},[p,r]),T=I.useMemo(()=>[{key:"__REALTIME_TIMESTAMP",label:"TIMESTAMP",cellRender:R=>{const D=mp(R.__REALTIME_TIMESTAMP);return a.jsx(_e,{fontWeight:"inherit",fontSize:13,sx:{fontFamily:"'Source Code Pro', monospace"},children:D})},width:"230",whiteSpace:"nowrap"},...w.map(R=>({key:R,label:R,cellRender:D=>a.jsx(_e,{fontWeight:"inherit",fontSize:13,sx:{fontFamily:"'Source Code Pro', monospace"},children:R==="PRIORITY"?q_(D[R]):D[R]})})),{key:"MESSAGE",label:"MESSAGE",minWidth:"600",cellRender:R=>a.jsx(te,{spacing:.5,className:"logs-cell-message",children:a.jsx(_e,{fontWeight:"inherit",fontSize:13,sx:{fontFamily:"'Source Code Pro', monospace",whiteSpace:"pre-wrap",wordBreak:"break-all"},children:R.MESSAGE})})}],[w]),j=I.useRef(null);return I.useEffect(()=>{(j.current===null||j.current>=98)&&h&&t&&!d&&_&&_.scrollTo({left:0,top:_.scrollHeight,behavior:"instant"})},[t,h,d,_]),I.useEffect(()=>{if(_)if(h)_.onscroll=()=>{Ji.setScrollRestore(_.scrollTop);const R=_.scrollTop/(_.scrollHeight-_.clientHeight)*100;j.current=isNaN(R)?null:R};else{const R=Ji.getScrollRestore();R&&(_.scrollTop=R)}},[h,_]),I.useEffect(()=>{t.length&&qce.highlightSearchTerm({search:c,selector:".logs-cell-message"})},[c,t]),a.jsx(Br,{containerRef:R=>{R&&g(R)},loading:i.state==="loading",autoScale:!0,data:t,dense:!0,columns:T,orderBy:"__REALTIME_TIMESTAMP",rowKey:"__CURSOR",rowsCount:h?t.length:u*5,page:2,rowsPerPage:u,showFirstLastButton:!0,rowsPerPageOptions:$.pageSizeOptions,onRowsPerPageChange:C,labelDisplayedRows:()=>`${t.length} Logs`,hidePagination:h,onRowClick:P,customFooterComponent:a.jsxs(te,{sx:{px:1,pb:.5},direction:"row",align:"center",children:[a.jsx(Ze,{startIcon:a.jsx(ge.Download,{}),text:r.formatMessage({id:"logs.download_logs"},{logs:t.length}),sx:{},onClick:k,variant:"text",size:"small"}),h&&a.jsx(_e,{type:"caption",fontWeight:"600",children:r.formatMessage({id:"logs.stream.buffer"},{buffer:u})})]}),customRowSx:R=>{const D=R.__CURSOR===d;let O="inherit";switch(q_(R.PRIORITY)){case ii.EMERGENCY:case ii.ALERT:case ii.CRITICAL:case ii.ERROR:O=Ic(e.palette.error.main,.1);break;case ii.WARNING:O=Ic(e.palette.warning.main,.1);break;case ii.DEBUG:O=Ic(e.palette.info.main,.1);break}return{backgroundColor:O,...D&&{backgroundColor:"divider"}}},onPageChange:A})}const Oee=Pr(),L3t=dr().shape({level:We().required(),exceptions:yr().of(dr().shape({enabled:li().required(),level:We().required(),rules:yr().of(dr().shape({field:We().required(Oee.formatMessage({id:"logs.config.form.exception.rules.field.error"})),values:yr().of(We()).min(1,Oee.formatMessage({id:"logs.config.form.exception.rules.values.error"}))})).min(1)}))});function N3t(t){const e=he.c(16),{service:r,config:n,fields:s}=t,i=Ye(),{submit:o,state:l,data:c}=gr(),[u,d]=I.useState(!1);let f;e[0]!==o?(f=g=>y=>{o({nf:g,logsConfig:y},{action:"system/logs/config/update",method:"POST",encType:"application/json"})},e[0]=o,e[1]=f):f=e[1];const p=f;let m;e[2]!==p||e[3]!==r?(m=p(r),e[2]=p,e[3]=r,e[4]=m):m=e[4];let h;e[5]!==c||e[6]!==u||e[7]!==s||e[8]!==i||e[9]!==r||e[10]!==l?(h=g=>{const{values:y,errors:b,getFieldMeta:x,setFieldValue:w}=g,C=y.exceptions?.length||0;return a.jsx(dn,{canWrite:as(ie.monitoring),children:a.jsx(xr,{elevation:2,title:C?a.jsxs(te,{direction:"row",align:"center",spacing:4,children:[a.jsx(_e,{type:"subtitle1",color:"text.secondary",children:r.toUpperCase()}),a.jsx(Iv,{variant:"standard",color:"error",badgeContent:a.jsx(_e,{type:"body2",noWrap:!0,children:`${C} exc.`})})]}):r.toUpperCase(),error:!!x(r).error,content:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"level",children:k=>{const{field:A,meta:P}=k;return a.jsx(qs,{...A,label:i.formatMessage({id:"logs.config.form.level"}),size:"small",error:!!P.error,helperText:P.error,children:SC.map(U3t)})}}),a.jsx(oi,{name:"exceptions",children:k=>{const{push:A,remove:P}=k,T=y.exceptions,j=()=>{d(!0),A({enabled:!0,level:ii.INFO,rules:[]})},R=N=>()=>{P(N)},D=()=>{w("exceptions",[])},O=N=>()=>{T&&N===T.length-1&&u&&d(!1)};return a.jsx(pr,{elevation:3,title:a.jsx(_e,{children:i.formatMessage({id:"logs.config.form.exceptions"})}),headerActionsComponent:a.jsxs(te,{direction:"row",children:[T&&T.length>0&&a.jsx(Ze,{variant:"outlined",size:"small",text:i.formatMessage({id:"logs.config.form.exceptions.clear"}),startIcon:a.jsx(ge.Clear,{}),disabled:l!=="idle",onClick:D}),a.jsx(Ze,{variant:"outlined",size:"small",text:i.formatMessage({id:"logs.config.form.exceptions.add"}),startIcon:a.jsx(ge.Add,{}),disabled:l!=="idle",onClick:j})]}),error:!!x("exceptions").error,children:a.jsx(Kt,{children:T&&T.length?a.jsx(Jn,{exclusive:!1,spacing:1,children:T.map((N,F)=>a.jsx(xr,{expanded:F===T.length-1&&u,onChange:O(F),elevation:4,title:i.formatMessage({id:"logs.config.form.exceptions.exception"},{index:F}),actionsComponent:a.jsx(Mn,{title:i.formatMessage({id:"common.remove"}),children:a.jsx(Zr,{size:"small",disabled:l!=="idle",onClick:R(F),children:a.jsx(ge.Trash,{})})}),error:!!x(`exceptions.${F}`).error,content:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:`exceptions.${F}.enabled`,children:U=>{const{field:z}=U;return a.jsx(da,{label:i.formatMessage({id:"logs.config.form.exception.enabled"}),checked:z.value,onChange:(H,W)=>{w(z.name,W)}})}}),a.jsx(Ke,{name:`exceptions.${F}.level`,children:U=>{const{field:z,meta:H}=U;return a.jsx(qs,{...z,label:i.formatMessage({id:"logs.config.form.level"}),size:"small",error:!!H.error,helperText:H.error,children:SC.map(F3t)})}}),a.jsx(oi,{name:`exceptions.${F}.rules`,children:U=>{const{push:z,remove:H}=U,W=()=>{z({field:"",values:[]})},K=q=>()=>{H(q)};return a.jsxs(te,{children:[a.jsx(pr,{elevation:5,title:a.jsx(_e,{children:i.formatMessage({id:"logs.config.form.exception.rules"})}),headerActionsComponent:a.jsx(Ze,{text:i.formatMessage({id:"logs.config.form.exception.rules.add"}),variant:"outlined",size:"small",startIcon:a.jsx(ge.Add,{}),disabled:l!=="idle",onClick:W}),error:!!x(`exceptions.${F}.rules`).error,children:a.jsx(Kt,{children:a.jsx(te,{children:N.rules.length?N.rules.map((q,X)=>a.jsxs(te,{direction:"row",align:"flex-start",fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:`exceptions.${F}.rules.${X}.field`,children:Q=>{const{field:Y,meta:Z}=Q;return a.jsx(rn,{name:Y.name,value:Y.value,error:!!Z.error,helperText:Z.error,label:i.formatMessage({id:"logs.config.form.exception.rules.field"}),size:"small",freeSolo:!0,multiple:!1,options:s,onChange:(re,fe)=>{w(Y.name,fe||"")},sx:{flex:1}})}}),a.jsx(Ke,{name:`exceptions.${F}.rules.${X}.values`,children:Q=>{const{field:Y,meta:Z}=Q;return a.jsx(rn,{name:Y.name,value:Y.value||[],error:!!Z.error,helperText:Z.error,label:i.formatMessage({id:"logs.config.form.exception.rules.values"}),size:"small",freeSolo:!0,multiple:!0,options:[],onChange:(re,fe)=>{w(Y.name,fe)},sx:{flex:1}})}}),a.jsx(Mn,{title:i.formatMessage({id:"common.remove"}),children:a.jsx(Zr,{size:"small",onClick:K(X),disabled:l!=="idle",sx:{mt:"10px"},children:a.jsx(ge.Trash,{})})})]},X)):a.jsx(Lr,{message:i.formatMessage({id:"logs.config.form.exception.rules.no_data"}),sx:{backgroundColor:"divider"}})})})}),!!x(`exceptions.${F}.rules`).error&&a.jsx(_e,{type:"body2",color:"error.main",children:i.formatMessage({id:"logs.config.form.exception.rules.error"})})]})}})]})},F))}):a.jsx(Lr,{message:i.formatMessage({id:"logs.config.form.exceptions.no_data"}),sx:{backgroundColor:"divider"}})})})}}),a.jsx(Xr,{data:c}),a.jsx(te,{direction:"row",fullWidth:!0,children:a.jsx(Ze,{type:"submit",text:i.formatMessage({id:"common.save"}),loading:l!=="idle",disabled:!!b.exceptions||!as(ie.monitoring)})})]})},r)})},e[5]=c,e[6]=u,e[7]=s,e[8]=i,e[9]=r,e[10]=l,e[11]=h):h=e[11];let _;return e[12]!==n||e[13]!==m||e[14]!==h?(_=a.jsx(Wr,{validationSchema:L3t,initialValues:n,onSubmit:m,children:h}),e[12]=n,e[13]=m,e[14]=h,e[15]=_):_=e[15],_}function F3t(t){return a.jsx(En,{value:t,children:t},t)}function U3t(t){return a.jsx(En,{value:t,children:t},t)}function B3t(){const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(zp,{children:a.jsx(te,{spacing:2,children:[...Array(5)].map(z3t)})}),t[0]=e):e=t[0],e}function z3t(t,e){return a.jsx(Dt,{variant:"rounded",height:"56px"},e)}function q3t(){const t=he.c(6),e=Ye();let r,n;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={fontSize:"40px",color:"text.secondary"},n=a.jsx(ge.Config,{}),t[0]=r,t[1]=n):(r=t[0],n=t[1]);let s;t[2]!==e?(s=e.formatMessage({id:"logs.config.no_data"}),t[2]=e,t[3]=s):s=t[3];let i;return t[4]!==s?(i=a.jsxs(te,{fullHeight:!0,justify:"center",align:"center",spacing:1,sx:r,children:[n,a.jsx(_e,{type:"body1",children:s})]}),t[4]=s,t[5]=i):i=t[5],i}function V3t(){const t=he.c(7),{state:e,load:r,data:n}=gr();let s,i;t[0]!==n||t[1]!==r||t[2]!==e?(s=()=>{e==="idle"&&!n&&r("system/logs/config")},i=[r,n,e],t[0]=n,t[1]=r,t[2]=e,t[3]=s,t[4]=i):(s=t[3],i=t[4]),I.useEffect(s,i);let o;return t[5]!==n?(o=a.jsx(a.Fragment,{children:n?n.logsConfig.length?a.jsx(zp,{children:a.jsx(Jn,{exclusive:!0,spacing:2,children:n.logsConfig.map(H3t)})}):a.jsx(q3t,{}):a.jsx(B3t,{})}),t[5]=n,t[6]=o):o=t[6],o}function H3t(t){const{service:e,config:r,metadata:n}=t;return a.jsx(N3t,{service:e,config:r,fields:n},e)}function G3t(){const t=he.c(11),e=zn(),r=Ye(),{popoverOpen:n}=Jt();let s;t[0]!==r||t[1]!==n?(s=(d,f)=>n({anchorEl:d.currentTarget,anchorOrigin:{horizontal:"right",vertical:"bottom"},content:()=>a.jsxs(te,{spacing:.5,divided:!0,children:[a.jsxs(te,{spacing:0,children:[a.jsx(_e,{type:"caption",children:r.formatMessage({id:"logs.machine.virtualization"})}),a.jsx(_e,{type:"body2",fontWeight:600,children:f.virtualization})]}),a.jsxs(te,{spacing:0,children:[a.jsx(_e,{type:"caption",children:r.formatMessage({id:"logs.machine.journal_begins"})}),a.jsx(_e,{type:"body2",fontWeight:600,children:mp(f.cutoff_from_realtime)})]}),a.jsxs(te,{spacing:0,children:[a.jsx(_e,{type:"caption",children:r.formatMessage({id:"logs.machine.journal_ends"})}),a.jsx(_e,{type:"body2",fontWeight:600,children:mp(f.cutoff_to_realtime)})]}),a.jsxs(te,{spacing:0,children:[a.jsx(_e,{type:"caption",children:r.formatMessage({id:"logs.machine.disk_usage"})}),a.jsx(_e,{type:"body2",fontWeight:600,children:a7(parseInt(f.usage))})]}),a.jsxs(te,{spacing:0,children:[a.jsx(_e,{type:"caption",children:r.formatMessage({id:"logs.machine.machine_id"})}),a.jsx(_e,{type:"body2",fontWeight:600,children:f.machine_id})]}),a.jsxs(te,{spacing:0,children:[a.jsx(_e,{type:"caption",children:r.formatMessage({id:"logs.machine.boot_id"})}),a.jsx(_e,{type:"body2",fontWeight:600,children:f.boot_id})]})]})}),t[0]=r,t[1]=n,t[2]=s):s=t[2];const i=s;let o;t[3]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(Dt,{variant:"rectangular",width:"95px",height:"36px",sx:{borderRadius:"18px"}}),t[3]=o):o=t[3];let l;t[4]===Symbol.for("react.memo_cache_sentinel")?(l=a.jsx(Tr,{}),t[4]=l):l=t[4];let c;t[5]!==i||t[6]!==r?(c=d=>a.jsx(Ze,{startIcon:a.jsx(ge.Host,{}),onClick:f=>{i(f,d)},variant:"outlined",text:r.formatMessage({id:"logs.machine.info"})}),t[5]=i,t[6]=r,t[7]=c):c=t[7];let u;return t[8]!==e.machine||t[9]!==c?(u=a.jsx(I.Suspense,{fallback:o,children:a.jsx(Qt,{resolve:e.machine,errorElement:l,children:c})}),t[8]=e.machine,t[9]=c,t[10]=u):u=t[10],u}function W3t(){const t=he.c(17),[,e]=hl(),{popoverClose:r}=Jt(),n=Ye(),{load:s,data:i,state:o}=gr();let l;t[0]!==r||t[1]!==e?(l=g=>{const{field:y}=g;r(),e(b=>(!!b.getAll("field").find(C=>{const[k]=C.split("=");return k===y})||b.append("field",y),b),{replace:!0})},t[0]=r,t[1]=e,t[2]=l):l=t[2];const c=l;let u;t[3]!==i?(u=[],i&&i.fields&&(i.fields.metadataFields.forEach((g,y)=>{u.push({label:g,value:g,divider:y===i.fields.metadataFields.length-1})}),i.fields.journalFields.forEach(g=>{u.push({label:g,value:g})})),t[3]=i,t[4]=u):u=t[4];const d=u;let f,p;t[5]!==s?(f=()=>{s($.urls.systemLogsFields)},p=[s],t[5]=s,t[6]=f,t[7]=p):(f=t[6],p=t[7]),I.useEffect(f,p);let m;t[8]===Symbol.for("react.memo_cache_sentinel")?(m={field:""},t[8]=m):m=t[8];let h;t[9]!==o||t[10]!==n||t[11]!==d||t[12]!==r?(h=g=>{const{dirty:y,values:b}=g;return a.jsx(dn,{canWrite:as(ie.monitoring),children:a.jsxs(te,{spacing:2,sx:{minWidth:"240px"},children:[a.jsx(Ke,{name:"field",children:x=>{const{field:w,form:C}=x,{setFieldValue:k}=C;return a.jsx(rn,{...w,value:d.find(A=>{const{value:P}=A;return P===w.value}),size:"small",label:n.formatMessage({id:"logs.filter.field_name"}),options:d,loading:o!=="idle",multiple:!1,freeSolo:!0,onChange:(A,P)=>{P&&(typeof P=="string"?k(w.name,P):k(w.name,P.value))},onInputChange:(A,P)=>{k(w.name,P)}})}}),a.jsxs(te,{direction:"row",justify:"space-between",children:[a.jsx(Ze,{type:"button",size:"small",variant:"outlined",text:n.formatMessage({id:"logs.filter.cancel"}),onClick:r,disabled:!y||!b.field||!as(ie.monitoring)}),a.jsx(Ze,{type:"submit",disabled:!y||!b.field||!as(ie.monitoring),size:"small",text:n.formatMessage({id:"logs.filter.confirm"})})]})]})})},t[9]=o,t[10]=n,t[11]=d,t[12]=r,t[13]=h):h=t[13];let _;return t[14]!==c||t[15]!==h?(_=a.jsx(Wr,{initialValues:m,onSubmit:c,children:h}),t[14]=c,t[15]=h,t[16]=_):_=t[16],_}function Y3t(t,e,r=1){return Array.from({length:(e-t)/r+1},(n,s)=>t+s*r)}function H$(t){const e=he.c(66),{name:r,removable:n}=t,s=n===void 0?!0:n,i=`fetcher-fields-${r}`;let o;e[0]!==i?(o={key:i},e[0]=i,e[1]=o):o=e[1];const{load:l,data:c,state:u}=gr(o),[d,f]=hl();let p;e[2]!==d?(p=d.getAll("field"),e[2]=d,e[3]=p):p=e[3];const m=p,h=X3t;let _;e[4]!==f?(_=(J,me)=>{J==="PRIORITY"&&me&&(me=Y3t(0,+me).map(String)),f(pe=>(h(J,pe),me.length?(me=Array.isArray(me)?me:[me],me.forEach(Se=>{pe.append("field",`${J}=${Se}`)})):pe.append("field",J),pe))},e[4]=f,e[5]=_):_=e[5];const g=_;let y;e[6]!==r||e[7]!==f?(y=()=>{f(J=>(h(r,J),J))},e[6]=r,e[7]=f,e[8]=y):y=e[8];const b=y;let x;if(e[9]!==m||e[10]!==r){e:{let J;e[12]!==r?(J=Se=>{const[ve,xe]=z_(Se);return ve===r&&xe!==""},e[12]=r,e[13]=J):J=e[13];let me;e[14]!==r?(me=Se=>{const[,ve]=z_(Se);return{value:ve,label:r==="PRIORITY"?q_(ve):ve}},e[14]=r,e[15]=me):me=e[15];const pe=m.filter(J).map(me);if(r==="PRIORITY"){if(!pe?.length){x=null;break e}const Se=pe.map(Z3t),ve=Math.max(...Se);let xe;e[16]!==ve?(xe=ve.toString(),e[16]=ve,e[17]=xe):xe=e[17];let qe;e[18]!==ve?(qe=q_(ve.toString()),e[18]=ve,e[19]=qe):qe=e[19];let Le;e[20]!==xe||e[21]!==qe?(Le={value:xe,label:qe},e[20]=xe,e[21]=qe,e[22]=Le):Le=e[22],x=Le;break e}x=pe}e[9]=m,e[10]=r,e[11]=x}else x=e[11];const w=x;let C;e[23]===Symbol.for("react.memo_cache_sentinel")?(C=[],e[23]=C):C=e[23];const k=C;let A,P;e[24]!==l||e[25]!==r?(P=()=>{l($.urls.systemLogsFieldsName.replace(":field_name",r))},A=[l,r],e[24]=l,e[25]=r,e[26]=A,e[27]=P):(A=e[26],P=e[27]),I.useEffect(P,A);const[T,j]=I.useState(0);let R,D;e[28]!==r?(R=()=>{const J=document.querySelector(`.label-${r}-container`),me=document.querySelector(`.label-${r}-text`);me&&J&&(j(me.clientWidth),J.removeChild(me))},D=[r],e[28]=r,e[29]=R,e[30]=D):(R=e[29],D=e[30]),I.useEffect(R,D);const O=r==="PRIORITY"?170:`${T+47+(s?28:0)}px`;let N;e[31]!==O?(N={minWidth:O},e[31]=O,e[32]=N):N=e[32];const F=`label-${r}-container`;let U;e[33]===Symbol.for("react.memo_cache_sentinel")?(U={p:"0 4px 0 8px",opacity:0},e[33]=U):U=e[33];const z=`label-${r}-text`;let H;e[34]!==r||e[35]!==z?(H=a.jsx(_e,{sx:U,className:z,paragraph:!1,children:r}),e[34]=r,e[35]=z,e[36]=H):H=e[36];let W;e[37]!==F||e[38]!==H?(W=a.jsx("span",{className:F,children:H}),e[37]=F,e[38]=H,e[39]=W):W=e[39];const K=r!=="PRIORITY";let q;e[40]!==c?.fields||e[41]!==r?(q=r==="PRIORITY"?v4e:c?.fields.map(Q3t)||k,e[40]=c?.fields,e[41]=r,e[42]=q):q=e[42];const X=r==="PRIORITY"?"PRIORITY LEVEL":r,Q=u==="loading";let Y;e[43]===Symbol.for("react.memo_cache_sentinel")?(Y={color:"primary"},e[43]=Y):Y=e[43];let Z;e[44]!==r?(Z=wie.includes(r),e[44]=r,e[45]=Z):Z=e[45];const re=!Z;let fe;e[46]!==g||e[47]!==r?(fe=(J,me)=>{g(r,Array.isArray(me)?me.map(K3t):typeof me=="string"?me:me?.value??"")},e[46]=g,e[47]=r,e[48]=fe):fe=e[48];let de;e[49]===Symbol.for("react.memo_cache_sentinel")?(de={flex:"1 1 auto"},e[49]=de):de=e[49];let se;e[50]!==b||e[51]!==s?(se=s&&a.jsx(Zr,{onClick:J=>{J.stopPropagation(),b()},children:a.jsx(ge.Trash,{size:16})}),e[50]=b,e[51]=s,e[52]=se):se=e[52];let le;e[53]!==w||e[54]!==K||e[55]!==q||e[56]!==X||e[57]!==Q||e[58]!==re||e[59]!==fe||e[60]!==se?(le=a.jsx(rn,{multiple:K,options:q,label:X,size:"small",loading:Q,ChipProps:Y,freeSolo:re,value:w,onChange:fe,sx:de,endAdornment:se}),e[53]=w,e[54]=K,e[55]=q,e[56]=X,e[57]=Q,e[58]=re,e[59]=fe,e[60]=se,e[61]=le):le=e[61];let ee;return e[62]!==N||e[63]!==W||e[64]!==le?(ee=a.jsxs(te,{direction:"row",sx:N,nowrap:!0,spacing:0,align:"flex-start",children:[W,le]}),e[62]=N,e[63]=W,e[64]=le,e[65]=ee):ee=e[65],ee}function K3t(t){return typeof t=="string"?t:t.value}function Q3t(t){return{label:t,value:t}}function Z3t(t){const{value:e}=t;return+e}function X3t(t,e){e.set("skip","0"),e.delete("cursor");const r=e.getAll("field").filter(n=>{const[s]=n.split("=");return s!==t});e.delete("field"),r.forEach(n=>{e.append("field",n)})}function J3t(){const t=he.c(20),e=Ye(),[r]=hl(),{popoverOpen:n}=Jt();let s;t[0]!==r?(s=r.getAll("field"),t[0]=r,t[1]=s):s=t[1];const i=s;let o;t[2]!==i?(o=Cie([...i,"PRIORITY","SYSLOG_IDENTIFIER"]),t[2]=i,t[3]=o):o=t[3];const l=o;let c;t[4]!==n?(c=b=>{n({anchorEl:b.currentTarget,content:rAt})},t[4]=n,t[5]=c):c=t[5];const u=c;let d,f;t[6]===Symbol.for("react.memo_cache_sentinel")?(d=a.jsx(H$,{name:"PRIORITY",removable:!1},"PRIORITY"),f=a.jsx(H$,{name:"SYSLOG_IDENTIFIER",removable:!1},"SYSLOG_IDENTIFIER"),t[6]=d,t[7]=f):(d=t[6],f=t[7]);let p;t[8]!==l?(p=l.filter(tAt).map(eAt),t[8]=l,t[9]=p):p=t[9];let m;t[10]===Symbol.for("react.memo_cache_sentinel")?(m=a.jsx(ge.Add,{}),t[10]=m):m=t[10];let h;t[11]!==e?(h=e.formatMessage({id:"logs.filter.add"}),t[11]=e,t[12]=h):h=t[12];let _;t[13]===Symbol.for("react.memo_cache_sentinel")?(_={mt:"4px"},t[13]=_):_=t[13];let g;t[14]!==u||t[15]!==h?(g=a.jsx(Ze,{startIcon:m,variant:"outlined",text:h,onClick:u,sx:_}),t[14]=u,t[15]=h,t[16]=g):g=t[16];let y;return t[17]!==p||t[18]!==g?(y=a.jsxs(a.Fragment,{children:[d,f,p,g]}),t[17]=p,t[18]=g,t[19]=y):y=t[19],y}function eAt(t){return a.jsx(H$,{name:t},t)}function tAt(t){return!["SYSLOG_IDENTIFIER","PRIORITY"].includes(t)}function rAt(){return a.jsx(W3t,{})}function nAt(){const t=he.c(20),[e,r]=hl();let n;t[0]!==e?(n=e.get("grep")||"",t[0]=e,t[1]=n):n=t[1];const[s,i]=I.useState(n),o=I.useRef(null),l=Ye();let c;t[2]!==r?(c=b=>{const x=b.target.value;i(x),o.current&&window.clearTimeout(o.current),o.current=window.setTimeout(()=>{r(w=>x?(w.set("grep",x),w.delete("cursor"),w.set("skip","0"),w):(w.delete("grep"),w),{replace:!0})},400)},t[2]=r,t[3]=c):c=t[3];const u=c;let d;t[4]!==r?(d=()=>{i(""),r(sAt,{replace:!0})},t[4]=r,t[5]=d):d=t[5];const f=d;let p;t[6]!==l?(p=l.formatMessage({id:"logs.grep.search"}),t[6]=l,t[7]=p):p=t[7];let m;t[8]===Symbol.for("react.memo_cache_sentinel")?(m={pr:1},t[8]=m):m=t[8];let h;t[9]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(te,{sx:m,align:"center",justify:"center",children:a.jsx(ge.Search,{})}),t[9]=h):h=t[9];let _;t[10]!==s||t[11]!==f?(_=s&&a.jsx(Zr,{size:"small",onClick:f,children:a.jsx(ge.Close,{size:16})}),t[10]=s,t[11]=f,t[12]=_):_=t[12];let g;t[13]!==_?(g={startAdornment:h,endAdornment:_},t[13]=_,t[14]=g):g=t[14];let y;return t[15]!==s||t[16]!==u||t[17]!==p||t[18]!==g?(y=a.jsx(dt,{value:s,size:"small",onChange:u,placeholder:p,InputProps:g}),t[15]=s,t[16]=u,t[17]=p,t[18]=g,t[19]=y):y=t[19],y}function sAt(t){return t.delete("grep"),t}function iAt(){const t=he.c(11),[e,r]=hl(),n=Ye(),{pathname:s}=to(),i=s===$.urls.systemLogsFollow,o=zn();let l;t[0]!==r?(l=(m,h)=>{r(_=>m?(_.set(h,m.toISOString()),_.delete("cursor"),_.set("skip","0"),_):(_.delete(h),_))},t[0]=r,t[1]=l):l=t[1];const c=l;if(i)return null;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u=a.jsx(Dt,{variant:"rectangular",width:"95px",height:"36px",sx:{borderRadius:"18px"}}),t[2]=u):u=t[2];let d;t[3]===Symbol.for("react.memo_cache_sentinel")?(d=a.jsx(Tr,{}),t[3]=d):d=t[3];let f;t[4]!==c||t[5]!==n||t[6]!==e?(f=m=>a.jsx(te,{direction:"row",spacing:.5,children:["since","until"].map(h=>{let _=ai.utc(e.get(h));const g=h==="until"&&e.get("since")?ai(e.get("since")):ai.utc(mp(m.cutoff_from_realtime)),y=h==="since"&&e.get("until")?ai.utc(e.get("until")):ai.utc(mp(m.cutoff_to_realtime));return _.isValid()||(_=null),a.jsx(uL,{ampm:!1,label:n.formatMessage({id:`logs.realtime.${h}`}),value:_,minDateTime:g,maxDateTime:y,format:"YYYY-MM-DD HH:mm:ss",views:["year","month","day","hours","minutes","seconds"],timezone:"UTC",slotProps:{field:{clearable:!0},textField:{size:"small"},clearButton:{size:"small"},openPickerButton:{size:"small"}},onChange:b=>{c(b,h)}},h)})}),t[4]=c,t[5]=n,t[6]=e,t[7]=f):f=t[7];let p;return t[8]!==o.machine||t[9]!==f?(p=a.jsx(I.Suspense,{fallback:u,children:a.jsx(Qt,{resolve:o.machine,errorElement:d,children:f})}),t[8]=o.machine,t[9]=f,t[10]=p):p=t[10],p}function oAt(){const t=he.c(49),[e,r]=hl(),{drawerOpen:n}=Jt();let s;t[0]!==e?(s=Lue(e.get("boot")),t[0]=e,t[1]=s):s=t[1];const i=s,o=Ye(),l=ys(),{pathname:c}=to(),u=zn(),d=c===$.urls.systemLogsFollow;let f;t[2]!==r?(f=K=>{r(q=>(q.set("boot",String(K)),q.delete("cursor"),q.set("skip","0"),q))},t[2]=r,t[3]=f):f=t[3];const p=f;let m;t[4]!==n||t[5]!==o?(m=()=>{n({title:o.formatMessage({id:"logs.config"}),width:700,content:aAt})},t[4]=n,t[5]=o,t[6]=m):m=t[6];const h=m;let _;t[7]!==d||t[8]!==l?(_=()=>{const K=d?$.urls.systemLogsEntries:$.urls.systemLogsFollow,q=new URLSearchParams(window.location.search);l(`${K}?${q.toString()}`,{replace:!0})},t[7]=d,t[8]=l,t[9]=_):_=t[9];const g=_;let y;t[10]===Symbol.for("react.memo_cache_sentinel")?(y={mr:1},t[10]=y):y=t[10];let b;t[11]!==p?(b=(K,q)=>{p(q)},t[11]=p,t[12]=b):b=t[12];let x;t[13]!==i||t[14]!==b?(x=a.jsx(ti,{size:"small",checked:i,onChange:b}),t[13]=i,t[14]=b,t[15]=x):x=t[15];let w;t[16]!==o?(w=o.formatMessage({id:"logs.current_boot"}),t[16]=o,t[17]=w):w=t[17];let C;t[18]!==w?(C=a.jsx(_e,{type:"body2",children:w}),t[18]=w,t[19]=C):C=t[19];let k;t[20]!==x||t[21]!==C?(k=a.jsxs(te,{direction:"row",align:"center",spacing:.5,sx:y,children:[x,C]}),t[20]=x,t[21]=C,t[22]=k):k=t[22];let A;t[23]===Symbol.for("react.memo_cache_sentinel")?(A=a.jsx(G3t,{}),t[23]=A):A=t[23];let P;t[24]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(Dt,{width:"111px",height:"36px",variant:"rectangular",sx:{borderRadius:"18px"}}),t[24]=P):P=t[24];let T;t[25]===Symbol.for("react.memo_cache_sentinel")?(T=a.jsx(Tr,{}),t[25]=T):T=t[25];let j;t[26]!==h||t[27]!==o?(j=K=>a.jsx(Iv,{badgeContent:K&&a.jsx(_e,{type:"body2",children:`${K} exc.`}),color:"error",children:a.jsx(Ze,{variant:"outlined",startIcon:a.jsx(ge.Config,{}),text:o.formatMessage({id:"logs.config"}),onClick:h})}),t[26]=h,t[27]=o,t[28]=j):j=t[28];let R;t[29]!==u.exceptionsCount||t[30]!==j?(R=a.jsx(I.Suspense,{fallback:P,children:a.jsx(Qt,{resolve:u.exceptionsCount,errorElement:T,children:j})}),t[29]=u.exceptionsCount,t[30]=j,t[31]=R):R=t[31];let D;t[32]!==d?(D=d?a.jsx(ge.Stop,{}):a.jsx(ge.Play,{}),t[32]=d,t[33]=D):D=t[33];let O;t[34]!==o?(O=o.formatMessage({id:"logs.stream.follow"}),t[34]=o,t[35]=O):O=t[35];let N;t[36]!==g||t[37]!==D||t[38]!==O?(N=a.jsx(Ze,{startIcon:D,text:O,onClick:g}),t[36]=g,t[37]=D,t[38]=O,t[39]=N):N=t[39];let F;t[40]!==R||t[41]!==N||t[42]!==k?(F=a.jsx(hs,{children:a.jsxs(te,{direction:"row",align:"center",spacing:1,children:[k,A,R,N]})}),t[40]=R,t[41]=N,t[42]=k,t[43]=F):F=t[43];let U;t[44]===Symbol.for("react.memo_cache_sentinel")?(U={borderBottom:"1px solid",flex:"0 0 auto",borderColor:"divider"},t[44]=U):U=t[44];let z;t[45]===Symbol.for("react.memo_cache_sentinel")?(z={px:2,py:1},t[45]=z):z=t[45];let H;t[46]===Symbol.for("react.memo_cache_sentinel")?(H=a.jsx(gt,{sx:U,children:a.jsxs(te,{direction:"row",align:"center",fullWidth:!0,sx:z,spacing:.5,children:[a.jsx(nAt,{}),a.jsx(iAt,{}),a.jsx(J3t,{})]})}),t[46]=H):H=t[46];let W;return t[47]!==F?(W=a.jsxs(a.Fragment,{children:[F,H]}),t[47]=F,t[48]=W):W=t[48],W}function aAt(){return a.jsx(V3t,{})}function lAt(t){const e=he.c(8),{entries:r}=t,[n]=hl();let s;e[0]!==n?(s=n.get("entries"),e[0]=n,e[1]=s):s=e[1];const o=parseInt(s),[l]=vie(r,o);let c;e[2]!==l[0]?(c=()=>{if(!l[0])return;const f=new URL(window.location.href);f.searchParams.set("cursor",l[0].__CURSOR),window.history.replaceState(null,"",f.href)},e[2]=l[0],e[3]=c):c=e[3];let u;e[4]!==l?(u=[l],e[4]=l,e[5]=u):u=e[5],I.useEffect(c,u);let d;return e[6]!==l?(d=a.jsx(Jpe,{data:l}),e[6]=l,e[7]=d):d=e[7],d}function cAt(){const t=he.c(4),e=zn();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[0]=r):r=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Tr,{}),t[1]=n):n=t[1];let s;return t[2]!==e.entries?(s=a.jsx(I.Suspense,{fallback:r,children:a.jsx(Qt,{resolve:e.entries,errorElement:n,children:uAt})}),t[2]=e.entries,t[3]=s):s=t[3],s}function uAt(t){return a.jsx(lAt,{entries:t})}function dAt(){const t=he.c(4),e=zn();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[0]=r):r=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Tr,{}),t[1]=n):n=t[1];let s;return t[2]!==e.entries?(s=a.jsx(I.Suspense,{fallback:r,children:a.jsx(Qt,{resolve:e.entries,errorElement:n,children:fAt})}),t[2]=e.entries,t[3]=s):s=t[3],s}function fAt(t){return a.jsx(Jpe,{data:t})}function pAt(){const t=he.c(2);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],t[0]=e):e=t[0],I.useEffect(mAt,e);let r;return t[1]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsxs(a.Fragment,{children:[a.jsx(oAt,{}),a.jsx(Bd,{})]}),t[1]=r):r=t[1],r}function mAt(){return hAt}function hAt(){Ji.deleteScrollRestore()}function gAt(){const t=he.c(4),e=zn();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(Dt,{variant:"rounded",sx:{height:"400px"}}),t[0]=r):r=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Tr,{}),t[1]=n):n=t[1];let s;return t[2]!==e.entries?(s=a.jsx(I.Suspense,{fallback:r,children:a.jsx(Qt,{resolve:e.entries,errorElement:n,children:_At})}),t[2]=e.entries,t[3]=s):s=t[3],s}function _At(t){const e=t[0];return a.jsx(pr,{children:a.jsx(Kt,{children:a.jsx(Xpe,{entry:e,cursorAsTitle:!0})})})}const vAt=()=>{const t=he.c(64),e=Ye(),r=Gr(),{submit:n,state:s,json:i}=gr(),{submit:o,state:l,json:c}=gr(),{submit:u,state:d,json:f}=gr(),{submit:p,state:m,json:h}=gr(),{submit:_,state:g,json:y}=gr(),{confirmationDialogOpen:b}=Jt();let x;t[0]!==n?(x=(se,le)=>()=>{const ee={name:se},J={action:"management",method:"POST",encType:"application/json"};n(le?{...ee,action:Bl.DISABLE}:{...ee,action:Bl.ENABLE},J)},t[0]=n,t[1]=x):x=t[1];const w=x;let C;t[2]!==o?(C=(se,le)=>()=>{const ee={name:se},J={action:"management",method:"POST",encType:"application/json"};o(le?{...ee,action:Bl.DISABLE_AUTOSTART}:{...ee,action:Bl.ENABLE_AUTOSTART},J)},t[2]=o,t[3]=C):C=t[3];const k=C;let A;t[4]!==b||t[5]!==e||t[6]!==u?(A=(se,le)=>()=>{const ee={name:se},J={action:"management",method:"POST",encType:"application/json"};le===Tu.STOPPED?u({...ee,action:Bl.START},J):b({severity:"warning",title:e.formatMessage({id:"confirm_dialog.title"}),alertMessage:e.formatMessage({id:"service.dialog.message.stop"},{name:se.toUpperCase()}),onConfirm:()=>u({...ee,action:Bl.STOP},J)})},t[4]=b,t[5]=e,t[6]=u,t[7]=A):A=t[7];const P=A;let T;t[8]!==b||t[9]!==e||t[10]!==p?(T=se=>()=>{b({severity:"warning",title:e.formatMessage({id:"confirm_dialog.title"}),alertMessage:e.formatMessage({id:"service.dialog.message.restart"},{name:se.toUpperCase()}),onConfirm:()=>p({name:se,action:Bl.RESTART},{action:"management",method:"POST",encType:"application/json"})})},t[8]=b,t[9]=e,t[10]=p,t[11]=T):T=t[11];const j=T;let R;t[12]!==b||t[13]!==e||t[14]!==_?(R=se=>()=>{b({severity:"danger",title:e.formatMessage({id:"confirm_dialog.title"}),alertMessage:e.formatMessage({id:"service.dialog.message.reset"},{name:se.toUpperCase()}),onConfirm:()=>_({name:se,action:Bl.RESET},{action:"management",method:"POST",encType:"application/json"})})},t[12]=b,t[13]=e,t[14]=_,t[15]=R):R=t[15];const D=R;let O;t[16]!==e?(O=se=>[...se].sort((le,ee)=>e.formatMessage({id:`service.name.${le.name}`}).localeCompare(e.formatMessage({id:`service.name.${ee.name}`}))).sort(yAt),t[16]=e,t[17]=O):O=t[17];const N=O;let F;t[18]!==e?(F=e.formatMessage({id:"service.title.name"}),t[18]=e,t[19]=F):F=t[19];let U;t[20]!==e?(U=se=>{const{state:le,name:ee,readonly:J,backup:me,type:pe}=se;return a.jsxs(te,{direction:"row",sx:{alignItems:"center"},children:[a.jsx(Mn,{title:le===Tu.STARTED?e.formatMessage({id:"service.started"}):e.formatMessage({id:"service.stopped"}),children:a.jsx("div",{children:a.jsx(bi,{label:e.formatMessage({id:`service.name.${ee}`}),status:le===Tu.STARTED?nn.SUCCESS:nn.ERROR})})}),a.jsx(ms,{size:"small",label:e.formatMessage({id:`service.type.${pe}`}),sx:{fontWeight:"500"}}),J&&a.jsx(ms,{size:"small",label:e.formatMessage({id:"service.readonly"})}),me&&a.jsx(ms,{size:"small",label:e.formatMessage({id:"service.backup"})})]})},t[20]=e,t[21]=U):U=t[21];let z;t[22]!==F||t[23]!==U?(z={key:"name",label:F,cellRender:U},t[22]=F,t[23]=U,t[24]=z):z=t[24];let H;t[25]!==e?(H=e.formatMessage({id:"service.title.version"}),t[25]=e,t[26]=H):H=t[26];let W;t[27]!==H?(W={key:"version",label:H},t[27]=H,t[28]=W):W=t[28];let K;t[29]!==i||t[30]!==s||t[31]!==w||t[32]!==e?(K={key:"enabled",label:"",cellRender:se=>{const{name:le,readonly:ee,enabled:J}=se;return a.jsx(a.Fragment,{children:!ee&&a.jsxs(te,{direction:"row",fullWidth:!0,align:"center",justify:"center",children:[_y(i)&&i.name===le&&s!=="idle"?a.jsx(te,{sx:{width:40},direction:"row",align:"center",justify:"center",children:a.jsx(Nc,{type:"circular",size:20})}):a.jsx(ti,{size:"small",checked:J,disabled:!Ue(ie.management)||ee,onChange:w(le,J)}),a.jsx(_e,{type:"body2",children:e.formatMessage({id:"service.status.enabled"})})]})})}},t[29]=i,t[30]=s,t[31]=w,t[32]=e,t[33]=K):K=t[33];let q;t[34]!==c||t[35]!==l||t[36]!==k||t[37]!==e?(q={key:"autostart",label:"",cellRender:se=>{const{name:le,readonly:ee,enabled:J,autostart:me}=se;return a.jsx(a.Fragment,{children:!ee&&a.jsxs(te,{direction:"row",fullWidth:!0,align:"center",justify:"center",children:[_y(c)&&c.name===le&&l!=="idle"?a.jsx(te,{sx:{width:40},direction:"row",align:"center",justify:"center",children:a.jsx(Nc,{type:"circular",size:20})}):a.jsx(ti,{size:"small",checked:me,disabled:!Ue(ie.management)||ee||!J,onChange:k(le,me)}),a.jsx(_e,{type:"body2",children:e.formatMessage({id:"service.status.autostart"})})]})})}},t[34]=c,t[35]=l,t[36]=k,t[37]=e,t[38]=q):q=t[38];let X;t[39]!==D||t[40]!==j||t[41]!==P||t[42]!==e||t[43]!==y||t[44]!==g||t[45]!==h||t[46]!==m||t[47]!==f||t[48]!==d?(X={key:"actions",label:"",cellRender:se=>{const{name:le,readonly:ee,enabled:J,state:me,mgmt:pe}=se;return a.jsx(a.Fragment,{children:Ue(ie.management)&&!ee&&J&&a.jsxs(te,{direction:"row",align:"center",justify:"flex-end",nowrap:!0,spacing:1,children:[a.jsx(Mn,{title:me===Tu.STOPPED?e.formatMessage({id:"service.hint.start"}):e.formatMessage({id:"service.hint.stop"}),children:a.jsx(Ze,{variant:"text",loading:_y(f)&&f.name===le&&d!=="idle",startIcon:me===Tu.STOPPED?a.jsx(ge.Play,{}):a.jsx(ge.Stop,{}),onClick:P(le,me)})}),a.jsx(Mn,{title:e.formatMessage({id:"service.hint.restart"}),children:a.jsx(Ze,{variant:"text",startIcon:a.jsx(ge.Refresh,{}),onClick:j(le),loading:_y(h)&&h.name===le&&m!=="idle"})}),a.jsx(Mn,{title:e.formatMessage({id:"service.hint.reset"}),children:a.jsx(Ze,{variant:"text",startIcon:a.jsx(ge.Reset,{}),onClick:D(le),loading:_y(y)&&y.name===le&&g!=="idle",sx:{visibility:pe?"visible":"hidden"}})})]})})}},t[39]=D,t[40]=j,t[41]=P,t[42]=e,t[43]=y,t[44]=g,t[45]=h,t[46]=m,t[47]=f,t[48]=d,t[49]=X):X=t[49];let Q;t[50]!==W||t[51]!==K||t[52]!==q||t[53]!==X||t[54]!==z?(Q=[z,W,K,q,X],t[50]=W,t[51]=K,t[52]=q,t[53]=X,t[54]=z,t[55]=Q):Q=t[55];const Y=Q;let Z;t[56]===Symbol.for("react.memo_cache_sentinel")?(Z=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[56]=Z):Z=t[56];let re;t[57]===Symbol.for("react.memo_cache_sentinel")?(re=a.jsx(Tr,{}),t[57]=re):re=t[57];let fe;t[58]!==Y||t[59]!==N?(fe=se=>a.jsx(Br,{autoScale:!0,orderBy:"name",columns:Y,data:N(se),page:0,labelDisplayedRows:bAt,rowKey:"name",rowsCount:se.length,rowsPerPage:se.length,hidePagination:!0}),t[58]=Y,t[59]=N,t[60]=fe):fe=t[60];let de;return t[61]!==r.services||t[62]!==fe?(de=a.jsx(I.Suspense,{fallback:Z,children:a.jsx(Qt,{resolve:r.services,errorElement:re,children:fe})}),t[61]=r.services,t[62]=fe,t[63]=de):de=t[63],de};function yAt(t,e){return t.type===xC.NF&&e.type===xC.PS?-1:t.type===e.type?0:1}function bAt(){return""}var rp=(t=>(t.Status="status",t.Source="source",t.Info="info",t.Message="message",t.Step="step",t))(rp||{});function _8(t,e){return!!t.find(r=>r.type==="status"&&r.status===e)}function v8(t){return _8(t,"DONE")}function xAt(t){return v8(t)&&_8(t,"SUCCESS")}function SAt(t){return v8(t)&&_8(t,"FAILURE")}function wAt(t){const e=he.c(4),{status:r}=t;let n;e:switch(r){case"SUCCESS":{n="success";break e}case"FAILURE":{n="warning";break e}default:n="default"}const s=n;let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i={my:"4px",mx:2,fontSize:"13px"},e[0]=i):i=e[0];let o;return e[1]!==s||e[2]!==r?(o=a.jsx(ms,{size:"small",label:r,color:s,sx:i}),e[1]=s,e[2]=r,e[3]=o):o=e[3],o}function CAt(t){const e=he.c(3),{status:r}=t;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={fontSize:"13px",fontFamily:"'Source Code Pro', monospace",whiteSpace:"pre-wrap",wordBreak:"break-all",py:"2px",px:2},e[0]=n):n=e[0];let s;return e[1]!==r?(s=a.jsx(_e,{sx:n,children:r}),e[1]=r,e[2]=s):s=e[2],s}function AAt(t){const e=he.c(3),{source:r}=t;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={fontSize:"13px",fontFamily:"'Source Code Pro', monospace",whiteSpace:"pre-wrap",wordBreak:"break-all",py:"2px",px:2},e[0]=n):n=e[0];let s;return e[1]!==r?(s=a.jsx(_e,{sx:n,children:r}),e[1]=r,e[2]=s):s=e[2],s}function kAt(t){const e=he.c(7),{text:r,level:n}=t;let s;e:switch(+n){case 3:{s=PAt;break e}case 6:{s=MAt;break e}default:s="inherit"}const i=s;let o;e[0]!==i?(o=i&&{backgroundColor:i},e[0]=i,e[1]=o):o=e[1];let l;e[2]!==o?(l={fontSize:"13px",fontFamily:"'Source Code Pro', monospace",whiteSpace:"pre-wrap",wordBreak:"break-all",...o,py:"2px",px:2},e[2]=o,e[3]=l):l=e[3];let c;return e[4]!==l||e[5]!==r?(c=a.jsx(_e,{sx:l,children:r}),e[4]=l,e[5]=r,e[6]=c):c=e[6],c}function MAt(t){return Ic(t.palette.info.main,.1)}function PAt(t){return Ic(t.palette.error.main,.1)}function jAt(t){const e=he.c(19),{name:r,step:n,percent:s,number:i}=t;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o={px:2},e[0]=o):o=e[0];let l;e[1]===Symbol.for("react.memo_cache_sentinel")?(l={fontSize:"13px",fontFamily:"'Source Code Pro', monospace",whiteSpace:"pre-wrap",wordBreak:"break-all",py:"2px"},e[1]=l):l=e[1];let c;e[2]!==r||e[3]!==i||e[4]!==n?(c=a.jsxs(_e,{sx:l,children:["Step ",n," of ",i," - ",r]}),e[2]=r,e[3]=i,e[4]=n,e[5]=c):c=e[5];let u;e[6]===Symbol.for("react.memo_cache_sentinel")?(u={width:"80px"},e[6]=u):u=e[6];let d;e[7]===Symbol.for("react.memo_cache_sentinel")?(d={width:"100%",color:"text.secondary"},e[7]=d):d=e[7];const f=+s;let p;e[8]!==f?(p=a.jsx(gt,{sx:d,children:a.jsx(Nc,{type:"linear",variant:"determinate",color:"inherit",thickness:2,value:f})}),e[8]=f,e[9]=p):p=e[9];let m;e[10]===Symbol.for("react.memo_cache_sentinel")?(m={fontSize:"13px"},e[10]=m):m=e[10];const h=`${+s}%`;let _;e[11]!==h?(_=a.jsx(_e,{sx:m,children:h}),e[11]=h,e[12]=_):_=e[12];let g;e[13]!==_||e[14]!==p?(g=a.jsxs(te,{direction:"row",nowrap:!0,align:"center",spacing:1,sx:u,children:[p,_]}),e[13]=_,e[14]=p,e[15]=g):g=e[15];let y;return e[16]!==g||e[17]!==c?(y=a.jsxs(te,{direction:"row",justify:"space-between",align:"center",sx:o,children:[c,g]}),e[16]=g,e[17]=c,e[18]=y):y=e[18],y}function TAt({logs:t,sx:e}){const r=Ye(),n=I.useRef(null);return I.useEffect(()=>{n.current&&n.current.scrollTo({behavior:"instant",top:n.current.scrollHeight})},[n.current?.scrollHeight,t]),a.jsx(pr,{title:r.formatMessage({id:"software_update.panel.logs.title"}),sx:e,children:a.jsx(te,{spacing:0,ref:n,divided:!0,nowrap:!0,sx:{height:"100%",overflow:"auto",backgroundColor:s=>s.palette.background.paper},children:t.map((s,i)=>{switch(s.type){case rp.Status:return a.jsx(wAt,{status:s.status},i);case rp.Source:return a.jsx(CAt,{status:s.status},i);case rp.Info:return a.jsx(AAt,{source:s.source},i);case rp.Message:return a.jsx(kAt,{text:s.text,level:s.level},i);case rp.Step:default:return a.jsx(jAt,{name:s.name,number:s.number,percent:s.percent,step:s.step},i)}})})})}function EAt(t){const e=he.c(6),{status:r}=t;switch(r){case"SUCCESS":{let n;return e[0]!==r?(n=a.jsx(ms,{label:r,color:"success"}),e[0]=r,e[1]=n):n=e[1],n}case"FAILURE":{let n;return e[2]!==r?(n=a.jsx(ms,{label:r,color:"error"}),e[2]=r,e[3]=n):n=e[3],n}default:{let n;return e[4]!==r?(n=a.jsx(ms,{label:r}),e[4]=r,e[5]=n):n=e[5],n}}}function RAt(t){const e=he.c(33),{logs:r,sx:n}=t,s=Ye(),[i,o]=I.useState(0),[l,c]=I.useState(0),[u,d]=I.useState(0),[f,p]=I.useState("");let m,h;e[0]!==r?(m=()=>{const O=r.filter(DAt);if(O.length){const N={};O.forEach(z=>{const{percent:H,step:W}=z;N[+W]?+H>N[+W]&&(N[+W]=+H):N[+W]=+H});const F=O[O.length-1];let U=0;for(const z in N)U=U+N[z]/+F.number;d(Math.round(U)),p(F.name),o(+F.step),c(+F.number)}},h=[r],e[0]=r,e[1]=m,e[2]=h):(m=e[1],h=e[2]),I.useEffect(m,h);let _;e:{let O;e[3]!==r?(O=r.filter(IAt),e[3]=r,e[4]=O):O=e[4];const N=O,F=N[N.length-1];if(F){_=F.status;break e}_=void 0}const g=_;let y;e[5]!==s?(y=s.formatMessage({id:"software_update.panel.status.title"}),e[5]=s,e[6]=y):y=e[6];let b;e[7]!==g?(b=g&&a.jsx(EAt,{status:g}),e[7]=g,e[8]=b):b=e[8];let x;e[9]!==b?(x=a.jsx(a.Fragment,{children:b}),e[9]=b,e[10]=x):x=e[10];let w;e[11]===Symbol.for("react.memo_cache_sentinel")?(w={flex:1},e[11]=w):w=e[11];let C;e[12]!==u?(C=a.jsx(gt,{sx:w,children:a.jsx(Nc,{type:"linear",variant:"determinate",thickness:6,value:u})}),e[12]=u,e[13]=C):C=e[13];const k=`${u}%`;let A;e[14]!==k?(A=a.jsx(_e,{fontSize:"1.2rem",children:k}),e[14]=k,e[15]=A):A=e[15];let P;e[16]!==A||e[17]!==C?(P=a.jsx(te,{spacing:2,children:a.jsxs(te,{direction:"row",align:"center",children:[C,A]})}),e[16]=A,e[17]=C,e[18]=P):P=e[18];let T;e[19]!==f?(T=a.jsx(gt,{component:"span",fontWeight:"600",children:f}),e[19]=f,e[20]=T):T=e[20];let j;e[21]!==i||e[22]!==T||e[23]!==l?(j=a.jsxs(_e,{children:["Step ",i," of ",l," -"," ",T]}),e[21]=i,e[22]=T,e[23]=l,e[24]=j):j=e[24];let R;e[25]!==P||e[26]!==j?(R=a.jsx(Kt,{children:a.jsxs(te,{children:[P,j]})}),e[25]=P,e[26]=j,e[27]=R):R=e[27];let D;return e[28]!==n||e[29]!==R||e[30]!==y||e[31]!==x?(D=a.jsx(pr,{title:y,headerActionsComponent:x,sx:n,children:R}),e[28]=n,e[29]=R,e[30]=y,e[31]=x,e[32]=D):D=e[32],D}function IAt(t){return t.type===rp.Status&&t.status!=="DONE"}function DAt(t){return t.type===rp.Step}function eme(t){const e=he.c(29),{status:r}=t,n=Ye(),{dialogClose:s}=Jt(),i=ys();let o;e[0]!==s?(o=()=>{s()},e[0]=s,e[1]=o):o=e[1];const l=o;let c;e[2]!==s||e[3]!==i?(c=()=>{i($.urls.home),s()},e[2]=s,e[3]=i,e[4]=c):c=e[4];const u=c;let d;e:{switch(r){case"SUCCESS":{let b;e[5]!==n?(b=n.formatMessage({id:"software_update.dialog.completed.content.success"}),e[5]=n,e[6]=b):b=e[6],d=b;break e}case"FAILED":{let b;e[7]!==n?(b=n.formatMessage({id:"software_update.dialog.completed.content.failed"}),e[7]=n,e[8]=b):b=e[8],d=b;break e}case"UNKNOWN":{let b;e[9]!==n?(b=n.formatMessage({id:"software_update.dialog.completed.content.unknown"}),e[9]=n,e[10]=b):b=e[10],d=b;break e}}d=void 0}const f=d;let p;e[11]!==f?(p=a.jsx(yv,{children:a.jsx(_e,{children:f})}),e[11]=f,e[12]=p):p=e[12];let m;e[13]!==n||e[14]!==r?(m=r==="FAILED"?n.formatMessage({id:"common.form.cancel"}):n.formatMessage({id:"common.form.close"}),e[13]=n,e[14]=r,e[15]=m):m=e[15];let h;e[16]!==l||e[17]!==m?(h=a.jsx(Ze,{text:m,variant:"outlined",onClick:l}),e[16]=l,e[17]=m,e[18]=h):h=e[18];let _;e[19]!==u||e[20]!==n||e[21]!==r?(_=r!=="FAILED"&&a.jsx(Ze,{text:n.formatMessage({id:"software_update.dialog.action.home"}),variant:"contained",onClick:u}),e[19]=u,e[20]=n,e[21]=r,e[22]=_):_=e[22];let g;e[23]!==h||e[24]!==_?(g=a.jsxs(vv,{children:[h,_]}),e[23]=h,e[24]=_,e[25]=g):g=e[25];let y;return e[26]!==p||e[27]!==g?(y=a.jsxs(a.Fragment,{children:[p,g]}),e[26]=p,e[27]=g,e[28]=y):y=e[28],y}function $At(t){const e=he.c(26),{sx:r}=t,n=Ye(),{dialogOpen:s,dialogClose:i}=Jt(),o=ys();let l;e[0]!==i||e[1]!==s||e[2]!==n||e[3]!==o?(l=()=>{s({title:n.formatMessage({id:"software_update.form.title"}),content:()=>a.jsx(bx,{action:$.urls.systemUpgradeUpload_Action,min:1,max:1,filesLabel:n.formatMessage({id:"software_update.form.file"}),accept:{"application/octet-stream":[".swu",".SWU"]},requiredMessage:n.formatMessage({id:"software_update.form.file.required"}),description:n.formatMessage({id:"software_update.form.description"}),extraContent:a.jsxs(te,{spacing:2,children:[a.jsx(Lr,{severity:"warning",title:n.formatMessage({id:"software_update.alert.title"}),message:n.formatMessage({id:"software_update.alert.description"}),action:a.jsx(Ze,{size:"small",variant:"outlined",text:n.formatMessage({id:"software_update.alert.action"}),onClick:()=>{i(),o($.urls.systemBackup)}})}),a.jsx(Lr,{severity:"info",title:n.formatMessage({id:"software_update.alert.warning"})})]})})})},e[0]=i,e[1]=s,e[2]=n,e[3]=o,e[4]=l):l=e[4];const c=l;let u;e[5]!==n?(u=n.formatMessage({id:"software_update.panel.upload.title"}),e[5]=n,e[6]=u):u=e[6];let d;e[7]===Symbol.for("react.memo_cache_sentinel")?(d={height:"100%"},e[7]=d):d=e[7];let f;e[8]!==n?(f=n.formatMessage({id:"software_update.panel.upload.description"}),e[8]=n,e[9]=f):f=e[9];let p;e[10]!==f?(p=a.jsx(_e,{children:f}),e[10]=f,e[11]=p):p=e[11];let m;e[12]!==n?(m=n.formatMessage({id:"software_update.button.upload"}),e[12]=n,e[13]=m):m=e[13];let h;e[14]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(ge.Upload,{}),e[14]=h):h=e[14];let _;e[15]===Symbol.for("react.memo_cache_sentinel")?(_={alignSelf:"flex-start"},e[15]=_):_=e[15];let g;e[16]!==c||e[17]!==m?(g=a.jsx(Ze,{text:m,startIcon:h,onClick:c,sx:_}),e[16]=c,e[17]=m,e[18]=g):g=e[18];let y;e[19]!==p||e[20]!==g?(y=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,justify:"space-between",sx:d,children:[p,g]})}),e[19]=p,e[20]=g,e[21]=y):y=e[21];let b;return e[22]!==r||e[23]!==y||e[24]!==u?(b=a.jsx(pr,{title:u,sx:r,children:y}),e[22]=r,e[23]=y,e[24]=u,e[25]=b):b=e[25],b}function OAt(t){const e=he.c(11),{streamResponse:r}=t,n=Ye(),{dialogOpen:s,confirmationSimpleDialogOpen:i}=Jt(),[o,l]=vie(r),{submit:c}=gr();let u,d;e[0]!==i||e[1]!==s||e[2]!==n||e[3]!==o||e[4]!==l||e[5]!==c?(u=()=>{const m=v8(o),h=xAt(o),_=SAt(o);h?i({onConfirm:()=>{c(null,{action:$.urls.restart,encType:"application/json",method:"POST"})},confirmText:n.formatMessage({id:"software_update.dialog.completed.content.success.action"}),title:n.formatMessage({id:"software_update.dialog.completed.title.success"}),description:n.formatMessage({id:"software_update.dialog.completed.content.success"})}):_?s({title:n.formatMessage({id:"software_update.dialog.completed.title.failed"}),content:NAt}):m&&s({content:LAt}),(h||_||m)&&l()},d=[i,s,n,o,l,c],e[0]=i,e[1]=s,e[2]=n,e[3]=o,e[4]=l,e[5]=c,e[6]=u,e[7]=d):(u=e[6],d=e[7]),I.useEffect(u,d);let f;e[8]===Symbol.for("react.memo_cache_sentinel")?(f={height:"100%",overflow:"hidden"},e[8]=f):f=e[8];let p;return e[9]!==o?(p=a.jsx(te,{spacing:2,sx:f,children:o.length>0?a.jsxs(a.Fragment,{children:[a.jsx(RAt,{logs:o,sx:{flex:0}}),a.jsx(TAt,{logs:o,sx:{height:"100%",overflow:"hidden",flex:1}})]}):a.jsx($At,{sx:{flex:0}})}),e[9]=o,e[10]=p):p=e[10],p}function LAt(){return a.jsx(eme,{status:"UNKNOWN"})}function NAt(){return a.jsx(eme,{status:"FAILED"})}const FAt=()=>{const t=he.c(4),e=zn();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(Dt,{variant:"rounded",width:"100%",height:"183px"}),t[0]=r):r=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Tr,{}),t[1]=n):n=t[1];let s;return t[2]!==e.logsStream?(s=a.jsx(I.Suspense,{fallback:r,children:a.jsx(Qt,{resolve:e.logsStream,errorElement:n,children:UAt})}),t[2]=e.logsStream,t[3]=s):s=t[3],s};function UAt(t){return a.jsx(OAt,{streamResponse:t})}function BAt(){const t=he.c(6),e=Ye();let r,n;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={fontSize:"40px",color:"text.secondary"},n=a.jsx(ge.DocumentMissing,{}),t[0]=r,t[1]=n):(r=t[0],n=t[1]);let s;t[2]!==e?(s=e.formatMessage({id:"terminal.drawer.files.message.noData"}),t[2]=e,t[3]=s):s=t[3];let i;return t[4]!==s?(i=a.jsxs(te,{fullHeight:!0,justify:"center",align:"center",spacing:1,sx:r,children:[n,a.jsx(_e,{type:"body1",children:s})]}),t[4]=s,t[5]=i):i=t[5],i}function zAt(){const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(te,{spacing:2,children:[...Array(5)].map(qAt)}),t[0]=e):e=t[0],e}function qAt(t,e){return a.jsxs(te,{direction:"row",justify:"space-between",align:"center",spacing:2,children:[a.jsx(Dt,{variant:"rounded",sx:{flex:1}}),a.jsx(Dt,{variant:"circular",width:"40px",height:"40px"})]},e)}function VAt(){const t=he.c(4),e=Ye();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={to:"system/terminal/list"},t[0]=r):r=t[0];const{data:n}=Dv(r),s=HAt;let i;return t[1]!==n||t[2]!==e?(i=a.jsx(zp,{children:n?a.jsxs(a.Fragment,{children:[a.jsx(te,{divided:!0,children:n.files.map(o=>a.jsxs(te,{direction:"row",justify:"space-between",align:"center",nowrap:!0,children:[a.jsxs(te,{direction:"row",nowrap:!0,align:"center",spacing:2,children:[a.jsx(ge.Document,{}),a.jsx(_e,{children:o})]}),a.jsx(Mn,{title:e.formatMessage({id:"terminal.drawer.files.download.tooltip"}),placement:"left",children:a.jsx("div",{children:a.jsx(Zr,{onClick:s(o),size:"small",children:a.jsx(ge.Download,{})})})})]},o))}),!n.files.length&&a.jsx(BAt,{})]}):a.jsx(zAt,{})}),t[1]=n,t[2]=e,t[3]=i):i=t[3],i}function HAt(t){return()=>{c7(`${$.apis.pls.terminal.files}/${t}`,t)}}const GAt=()=>{const t=he.c(17),e=Ye(),{drawerOpen:r}=Jt(),[n,s]=I.useState();let i,o;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{const g=()=>{s(Ji.getSiteNode())};return addEventListener("node-change",g),()=>{removeEventListener("node-change",g)}},o=[],t[0]=i,t[1]=o):(i=t[0],o=t[1]),I.useEffect(i,o);let l;t[2]!==r||t[3]!==e?(l=()=>{r({title:e.formatMessage({id:"terminal.drawer.files.title"}),content:WAt,width:600})},t[2]=r,t[3]=e,t[4]=l):l=t[4];const c=l;let u;t[5]!==e?(u=e.formatMessage({id:"terminal.toolbar.files"}),t[5]=e,t[6]=u):u=t[6];let d;t[7]===Symbol.for("react.memo_cache_sentinel")?(d=a.jsx(ge.Folder,{}),t[7]=d):d=t[7];let f;t[8]!==c||t[9]!==u?(f=a.jsx(hs,{children:a.jsx(Ze,{variant:"outlined",text:u,startIcon:d,onClick:c})}),t[8]=c,t[9]=u,t[10]=f):f=t[10];const p=`/webconsole${n?`?x-ath-node=${n}`:""}`;let m;t[11]===Symbol.for("react.memo_cache_sentinel")?(m={flex:1,border:"none",backgroundColor:"transparent"},t[11]=m):m=t[11];let h;t[12]!==p?(h=a.jsx("iframe",{title:"terminal",src:p,style:m}),t[12]=p,t[13]=h):h=t[13];let _;return t[14]!==f||t[15]!==h?(_=a.jsxs(a.Fragment,{children:[f,h]}),t[14]=f,t[15]=h,t[16]=_):_=t[16],_};function WAt(){return a.jsx(VAt,{})}const qy=Pr(),YAt={start_at:"",end_at:"",include_logs:!0,include_metrics:!0},KAt=dr().shape({start_at:eU().required(qy.formatMessage({id:"validation.required"})),end_at:eU().when("start_at",(t,e)=>t&&e.min(t,qy.formatMessage({id:"troubleshoot_dump.form.end_at.validation"}))).required(qy.formatMessage({id:"validation.required"})),include_logs:li().required(qy.formatMessage({id:"validation.required"})),include_metrics:li().required(qy.formatMessage({id:"validation.required"}))});function Lee(t){const e=he.c(17),{label:r,value:n,disabled:s,error:i,onChange:o}=t;let l;e[0]!==n?(l=n?ai(n):null,e[0]=n,e[1]=l):l=e[1];let c,u;e[2]===Symbol.for("react.memo_cache_sentinel")?(c=["year","month","day","hours","minutes"],u={clearable:!0},e[2]=c,e[3]=u):(c=e[2],u=e[3]);const d=!!i;let f;e[4]!==i||e[5]!==d?(f={size:"small",error:d,helperText:i},e[4]=i,e[5]=d,e[6]=f):f=e[6];let p,m;e[7]===Symbol.for("react.memo_cache_sentinel")?(p={size:"small"},m={size:"small"},e[7]=p,e[8]=m):(p=e[7],m=e[8]);let h;e[9]!==f?(h={field:u,textField:f,clearButton:p,openPickerButton:m},e[9]=f,e[10]=h):h=e[10];let _;return e[11]!==s||e[12]!==r||e[13]!==o||e[14]!==l||e[15]!==h?(_=a.jsx(uL,{ampm:!1,label:r,value:l,format:"YYYY-MM-DD HH:mm",views:c,slotProps:h,onChange:o,disabled:s}),e[11]=s,e[12]=r,e[13]=o,e[14]=l,e[15]=h,e[16]=_):_=e[16],_}function QAt(){const t=he.c(49),{upsertFetcher:e}=Ys(),{submit:r,data:n,state:s}=e,i=Ye(),{dialogClose:o}=Jt();let l;t[0]!==r?(l=D=>{r(D,{action:$.urls.systemTroubleshootDumpCreate_Action,method:"POST",encType:"application/json"})},t[0]=r,t[1]=l):l=t[1];const c=l;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u=Ue([ie.management]),t[2]=u):u=t[2];let d;t[3]!==i||t[4]!==s?(d=a.jsx(Ke,{name:"start_at",children:D=>{const{field:O,meta:N,form:F}=D,{setFieldValue:U}=F;return a.jsx(Lee,{label:i.formatMessage({id:"troubleshoot_dump.form.start_at"}),value:O.value,onChange:z=>{U(O.name,z?.toISOString())},error:N.error,disabled:s!=="idle"})}}),t[3]=i,t[4]=s,t[5]=d):d=t[5];let f;t[6]!==i||t[7]!==s?(f=a.jsx(Ke,{name:"end_at",children:D=>{const{field:O,meta:N,form:F}=D,{setFieldValue:U}=F;return a.jsx(Lee,{label:i.formatMessage({id:"troubleshoot_dump.form.end_at"}),value:O.value,onChange:z=>{U(O.name,z?.toISOString())},error:N.error,disabled:s!=="idle"})}}),t[6]=i,t[7]=s,t[8]=f):f=t[8];let p;t[9]!==d||t[10]!==f?(p=a.jsxs(te,{spacing:2,children:[d,f]}),t[9]=d,t[10]=f,t[11]=p):p=t[11];let m;t[12]!==i||t[13]!==s?(m=a.jsx(Ke,{name:"include_logs",children:D=>{const{field:O,form:N}=D,{setFieldValue:F}=N;return a.jsx(da,{label:i.formatMessage({id:"troubleshoot_dump.form.include_logs"}),checked:O.value,onChange:(U,z)=>{F(O.name,z)},disabled:s!=="idle"})}}),t[12]=i,t[13]=s,t[14]=m):m=t[14];let h;t[15]!==i||t[16]!==s?(h=a.jsx(Ke,{name:"include_metrics",children:D=>{const{field:O,form:N}=D,{setFieldValue:F}=N;return a.jsx(da,{label:i.formatMessage({id:"troubleshoot_dump.form.include_metrics"}),checked:O.value,onChange:(U,z)=>{F(O.name,z)},disabled:s!=="idle"})}}),t[15]=i,t[16]=s,t[17]=h):h=t[17];let _;t[18]!==m||t[19]!==h?(_=a.jsxs(te,{spacing:0,children:[m,h]}),t[18]=m,t[19]=h,t[20]=_):_=t[20];let g;t[21]!==n?(g=a.jsx(Xr,{data:n}),t[21]=n,t[22]=g):g=t[22];let y;t[23]!==p||t[24]!==_||t[25]!==g?(y=a.jsx(_s,{children:a.jsxs(te,{spacing:1,align:"start",children:[p,_,g]})}),t[23]=p,t[24]=_,t[25]=g,t[26]=y):y=t[26];let b;t[27]!==i?(b=i.formatMessage({id:"common.form.cancel"}),t[27]=i,t[28]=b):b=t[28];let x;t[29]!==o?(x=()=>o(),t[29]=o,t[30]=x):x=t[30];const w=s!=="idle";let C;t[31]!==b||t[32]!==x||t[33]!==w?(C=a.jsx(Ze,{text:b,variant:"outlined",onClick:x,disabled:w}),t[31]=b,t[32]=x,t[33]=w,t[34]=C):C=t[34];let k;t[35]!==i?(k=i.formatMessage({id:"troubleshoot_dump.form.submit"}),t[35]=i,t[36]=k):k=t[36];const A=s!=="idle";let P;t[37]!==k||t[38]!==A?(P=a.jsx(Ze,{text:k,type:"submit",disabled:A}),t[37]=k,t[38]=A,t[39]=P):P=t[39];let T;t[40]!==C||t[41]!==P?(T=a.jsxs(Ti,{children:[C,P]}),t[40]=C,t[41]=P,t[42]=T):T=t[42];let j;t[43]!==y||t[44]!==T?(j=a.jsxs(dn,{canWrite:u,children:[y,T]}),t[43]=y,t[44]=T,t[45]=j):j=t[45];let R;return t[46]!==c||t[47]!==j?(R=a.jsx(Wr,{initialValues:YAt,validationSchema:KAt,onSubmit:c,children:j}),t[46]=c,t[47]=j,t[48]=R):R=t[48],R}function ZAt(){const t=he.c(62),e=Gr(),{submit:r,state:n}=gr(),{dialogOpen:s,confirmationSimpleDialogOpen:i}=Jt(),o=Ye();let l;t[0]!==s||t[1]!==o?(l=()=>{s({title:o.formatMessage({id:"troubleshoot_dump.form.title"}),content:okt})},t[0]=s,t[1]=o,t[2]=l):l=t[2];const c=l;let u;t[3]!==o?(u=o.formatMessage({id:"troubleshoot_dump.table.action_id"}),t[3]=o,t[4]=u):u=t[4];let d;t[5]!==u?(d={key:"action_id",label:u},t[5]=u,t[6]=d):d=t[6];let f;t[7]!==o?(f=o.formatMessage({id:"troubleshoot_dump.table.status"}),t[7]=o,t[8]=f):f=t[8];let p;t[9]!==f?(p={key:"status",label:f,cellRender:ikt},t[9]=f,t[10]=p):p=t[10];let m;t[11]!==o?(m=o.formatMessage({id:"troubleshoot_dump.table.start_at"}),t[11]=o,t[12]=m):m=t[12];let h;t[13]!==m?(h={key:"start_at",label:m,cellRender:skt},t[13]=m,t[14]=h):h=t[14];let _;t[15]!==o?(_=o.formatMessage({id:"troubleshoot_dump.table.end_at"}),t[15]=o,t[16]=_):_=t[16];let g;t[17]!==_?(g={key:"end_at",label:_,cellRender:nkt},t[17]=_,t[18]=g):g=t[18];let y;t[19]!==o?(y=o.formatMessage({id:"troubleshoot_dump.table.created_at"}),t[19]=o,t[20]=y):y=t[20];let b;t[21]!==y?(b={key:"created_at",label:y,cellRender:rkt},t[21]=y,t[22]=b):b=t[22];let x;t[23]!==o?(x=o.formatMessage({id:"troubleshoot_dump.table.size"}),t[23]=o,t[24]=x):x=t[24];let w;t[25]!==x?(w={key:"size",label:x,cellRender:tkt},t[25]=x,t[26]=w):w=t[26];let C;t[27]!==b||t[28]!==w||t[29]!==d||t[30]!==p||t[31]!==h||t[32]!==g?(C=[d,p,h,g,b,w],t[27]=b,t[28]=w,t[29]=d,t[30]=p,t[31]=h,t[32]=g,t[33]=C):C=t[33];const k=C;let A;t[34]!==o?(A=o.formatMessage({id:"troubleshoot_dump.table.actions.download"}),t[34]=o,t[35]=A):A=t[35];let P;t[36]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(ge.Download,{}),t[36]=P):P=t[36];let T;t[37]!==A?(T={label:A,icon:P,onClick:ekt},t[37]=A,t[38]=T):T=t[38];let j;t[39]!==o?(j=o.formatMessage({id:"troubleshoot_dump.table.actions.delete"}),t[39]=o,t[40]=j):j=t[40];let R;t[41]===Symbol.for("react.memo_cache_sentinel")?(R=a.jsx(ge.Trash,{}),t[41]=R):R=t[41];let D;t[42]!==i||t[43]!==o||t[44]!==r?(D=W=>{const{action_id:K}=W;i({title:o.formatMessage({id:"troubleshoot_dump.dialog.delete.title"}),description:o.formatMessage({id:"troubleshoot_dump.dialog.delete.description"},{id:K}),onConfirm:()=>{r({id:K},{action:$.urls.systemTroubleshootDumpDelete_Action,method:"POST",encType:"application/json"})}})},t[42]=i,t[43]=o,t[44]=r,t[45]=D):D=t[45];let O;t[46]!==j||t[47]!==D?(O={label:j,icon:R,onClick:D},t[46]=j,t[47]=D,t[48]=O):O=t[48];let N;t[49]!==T||t[50]!==O?(N=[T,O],t[49]=T,t[50]=O,t[51]=N):N=t[51];const F=N;let U;t[52]===Symbol.for("react.memo_cache_sentinel")?(U=a.jsx(Dt,{variant:"rounded",width:"100%",height:"400px"}),t[52]=U):U=t[52];let z;t[53]!==k||t[54]!==c||t[55]!==o||t[56]!==F||t[57]!==n?(z=W=>{if(W.length>0){const K=W.some(JAt);return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{variant:"contained",text:o.formatMessage({id:"troubleshoot_dump.toolbar.dump"}),startIcon:a.jsx(ge.Add,{}),onClick:c,disabled:K})}),a.jsx(Br,{autoScale:!0,orderBy:"created_at",columns:k,data:W,page:0,labelDisplayedRows:XAt,rowsCount:W.length,rowsPerPage:W.length,rowsPerPageOptions:void 0,rowKey:"action_id",rowActions:F,stickyRowActions:!0,loading:n!=="idle"})]})}return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{variant:"contained",text:o.formatMessage({id:"troubleshoot_dump.toolbar.dump"}),startIcon:a.jsx(ge.Add,{}),onClick:c})}),a.jsx(gt,{p:2,children:a.jsx(Lr,{message:o.formatMessage({id:"troubleshoot_dump.no_data"})})})]})},t[53]=k,t[54]=c,t[55]=o,t[56]=F,t[57]=n,t[58]=z):z=t[58];let H;return t[59]!==e.schedules||t[60]!==z?(H=a.jsx(I.Suspense,{fallback:U,children:a.jsx(Qt,{resolve:e.schedules,children:z})}),t[59]=e.schedules,t[60]=z,t[61]=H):H=t[61],H}function XAt(){return""}function JAt(t){return t.status==="running"}function ekt(t){const{action_id:e}=t;return Eie($.apis.pls.troubleshootDump.download(e))}function tkt(t){const{size:e}=t;return e?a.jsx(_e,{type:"body2",children:a7(e)}):a.jsx(_e,{children:"--"})}function rkt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:e?Mr(e):"--"})}function nkt(t){const{end_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function skt(t){const{start_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function ikt(t){const{status:e}=t;let r;e:switch(e){case"running":{r=nn.INFO;break e}case"completed":{r=nn.SUCCESS;break e}case"staled":r=nn.ERROR}return a.jsx(bi,{label:e,status:r})}function okt(){return a.jsx(QAt,{})}const Nee=Pr();function akt(t){const e=$.apis.backup.create(t);return De({options:{url:e,method:"POST"}})}function lkt(t,e){const r=$.apis.backup.restore(t),n=new FormData;return n.append("file",e),De({options:{url:r,method:"POST",headers:{"content-type":"multipart/form-data"},data:n}})}function ckt(t){const e=$.apis.backup.backupSchedules(t);return De({options:{url:e,method:"GET",cache:!1}})}function ukt(t){const e=$.apis.backup.restoreSchedules(t);return De({options:{url:e,method:"GET",cache:!1}})}function dkt(t,e){const r=$.apis.backup.update(t);return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}async function fkt(){const t=await ma(),e=[];return Ds({services:t,name:ue.PLS})&&e.push(ue.PLS),Ds({services:t,name:ue.UDR})&&e.push(ue.UDR),Ds({services:t,name:ue.EIR})&&e.push(ue.EIR),Ds({services:t,name:ue.DSM})&&e.push(ue.DSM),Ds({services:t,name:ue.UDM})&&e.push(ue.UDM),Ds({services:t,name:ue.NRF})&&e.push(ue.NRF),e}function pkt(t){return t.map(e=>{const r=e===ue.PLS?Nee.formatMessage({id:"route.platform"}):Nee.formatMessage({id:`route.system.backup.${e}`});return{url:e,label:r}})}async function mkt(){const t=as([[ie.backup,ie.provisioning]]),e=await fkt();let r=[],n={},s={};if(t){r=pkt(e);const i=await Promise.all(e.map(async o=>{const l=[ckt(o),ukt(o)],[c,u=[]]=await Promise.all(l);return{backup:c,restore:u}}));e.forEach((o,l)=>{n={...n,[o]:i[l].backup},s={...s,[o]:i[l].restore}})}return{activeTabs:r,backupSchedules:n,restoreSchedules:s}}function hkt(t){const e=$.apis.pls.configuration.backup;return De({options:{url:e,method:"POST",data:JSON.stringify(t),responseType:"blob"}})}function gkt(t){const e=$.apis.pls.configuration.restore,r=new FormData;return r.append("backup_file",t),De({options:{url:e,method:"POST",headers:{"content-type":"multipart/form-data"},data:r}})}async function _kt({request:t}){const{nf:e}=await t.json(),r=await akt(e);return xt(r)?Ar():Nt(),Ft(r)}async function vkt({request:t}){const e=await t.formData(),r=e.get("nf"),n=e.getAll("files")[0],s=await lkt(r,n);return xt(s)?Ar():Nt(),Ft(s)}async function ykt({request:t}){const e=await t.json(),r=await hkt(e);return xt(r)?Ar():yue(r,`backup_configuration_${Date.now()}.tar.gz`,"application/gzip"),Ft(r)}async function bkt({request:t}){const r=(await t.formData()).get("file"),n=await gkt(r);return xt(n)?Ar():Nt(),Ft(n)}async function xkt({request:t}){const{nf:e,configuration:r}=await t.json(),n=await dkt(e,r);return xt(n)||Nt(),Ft(n)}async function Skt({request:t}){const{nf:e,logsConfig:r}=await t.json(),n=await p4e({nf:e,logsConfig:r});return xt(n)?Ar():Nt(),Ft(n)}async function wkt(){const t=$.apis.licensing.licenses;return De({options:{url:t,method:"GET"}})}async function Ckt(){const t=$.apis.licensing.host;return De({options:{url:t,method:"GET"}})}async function Akt(t){const e=$.apis.licensing.licenses;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function kkt(t,e){const r=$.apis.licensing.setLicense(t);return De({options:{url:r,method:"PUT",data:JSON.stringify({license_id:e})}})}async function Mkt(t){const e=$.apis.licensing.persistLicense(t);return De({options:{url:e,method:"POST"}})}async function Pkt(t,e){const r=new URLSearchParams;return e!==void 0&&r.set("precedence",e.toString()),De({options:{url:`${$.apis.licensing.licenses}/${t}${r.size?"?"+r.toString():""}`,method:"DELETE"}})}async function jkt(){const[t,e]=await Promise.all([wkt(),Ckt()]);return{licenses:t,hostInfo:e}}async function Tkt({request:t}){const r=(await t.formData()).getAll("files"),n=await kue(r[0]),i=JSON.parse(n).licenses,o=await Promise.all(i.map(async l=>{const{license_id:c,license_content:u,license_nf_type:d}=l,f={license_id:c,precedence:10,signature_type:"ssl",signed_license:{license:u,signature_type:"ssl"}};let p={license_id:c,license_nf_type:d,install:!1,set:!1,persist:!1,errorCount:0};const m=await Akt(f);xt(m)?p={...p,errorCount:p.errorCount+1,installError:m.error.title}:p={...p,install:!0};const h=await kkt(d,c);xt(h)?p={...p,errorCount:p.errorCount+1,setError:h.error.title}:p={...p,set:!0};const _=await Mkt(d);return xt(_)?p={...p,errorCount:p.errorCount+1,persistError:_.error.title}:p={...p,persist:!0},p}));return o.every(l=>l.errorCount===0)&&Nt(),Ft({error:{title:"Something went wrong",detail:"Not all actions worked",status:444,errorList:o}})}async function Ekt({request:t}){const{license_id:e,precedence:r}=await t.json(),n=await Pkt(e,r);return xt(n)?Ar():Nt(),Ft(n)}async function Rkt({request:t}){const e=await t.json(),r=await d4e(e);return xt(r)?Ar():Nt(),Ft(r)}async function Ikt({request:t}){const r=(await t.formData()).getAll("files")[0],n=await oht(r);return xt(n)&&Ar(),Ft(n)}async function Dkt(){return De({options:{url:$.apis.pls.troubleshootDump.all,method:"GET"}})}async function $kt(t){return De({options:{url:$.apis.pls.troubleshootDump.create,method:"POST",data:t}})}async function Okt(t){return De({options:{url:$.apis.pls.troubleshootDump.get(t),method:"DELETE"}})}async function Lkt({request:t}){const e=await t.json(),r=await $kt(e);return xt(r)||(Nt(),rt($.urls.systemTroubleshootDump)),r}async function Nkt({request:t}){const{id:e}=await t.json(),r=await Okt(e);return xt(r)?Ar():(Nt(),rt($.urls.systemTroubleshootDump)),r}async function Fkt(t){return Wt({loaderArgs:t,deferred:!0,data:{schedule:mkt()}})}async function Fee(t){return Wt({loaderArgs:t,deferred:!0,data:{services:ma()}})}function Uee({stream:t}){return async e=>{const r=await Mie(),{request:n}=e,s=new URL(n.url),i=s.searchParams.get("entries"),o=s.searchParams.get("skip"),l=s.searchParams.get("boot"),c=s.searchParams.get("cursor")||"",u=s.searchParams.getAll("field"),d=s.searchParams.get("grep"),f=s.searchParams.get("since")||"",p=s.searchParams.get("until")||"";if(l===null)return s.searchParams.set("boot","true"),rt(s.href);let m=80;if(i!==null){const C=parseInt(i);if($.pageSizeOptions.includes(C))m=C;else return s.searchParams.set("entries",m.toString()),rt(s.href)}else return s.searchParams.set("entries",m.toString()),rt(s.href);let h=0;if(o!==null)if(f||p){const C=parseInt(o);if(C%m!==0)return s.searchParams.set("skip",h.toString()),rt(s.href);h=C}else{const C=parseInt(o);if($.pageSizeOptions.includes(Math.abs(C))||C===0)h=C;else return s.searchParams.set("skip",h.toString()),rt(s.href)}else return s.searchParams.set("skip",h.toString()),rt(s.href);const _=200,g=0;if(t){if(h!==g||m!==_)return s.searchParams.set("entries",_.toString()),s.searchParams.set("skip",g.toString()),rt(s.href);if(c)return s.searchParams.delete("cursor"),rt(s.href);if(f)return s.searchParams.delete("since"),rt(s.href);if(p)return s.searchParams.delete("until"),rt(s.href)}if((f||p)&&c)return s.searchParams.delete("cursor"),rt(s.href);if(u.some(C=>!C))return s.searchParams.delete("field"),u.filter(C=>!!C).forEach(C=>{s.searchParams.append("field",C)}),rt(s.href);if(u.some(C=>{const[k]=z_(C);return k!==k.toUpperCase()}))return s.searchParams.delete("field"),u.filter(C=>!!C).forEach(C=>{const[k,A]=z_(C);s.searchParams.append("field",`${k.toUpperCase()}=${A}`)}),rt(s.href);let x="",w="";return f&&!ai.utc(f).isValid()?(s.searchParams.delete("since"),rt(s.href)):p&&!ai.utc(p).isValid()?(s.searchParams.delete("until"),rt(s.href)):(f&&(x=ai.utc(f).unix().toString()),p&&(w=ai.utc(p).unix().toString()),Wt({loaderArgs:e,deferred:!0,data:{entries:kie({numEntries:m,numSkip:h,cursor:c,boot:Lue(l),fields:u,stream:t,grep:d,since:x,until:w}),machine:r}}))}}function Ukt(t){return Wt({loaderArgs:t,deferred:!0,data:{machine:Mie(),exceptionsCount:g4e()}})}async function Bkt(t){return Wt({loaderArgs:t,deferred:!0,data:{fields:y4e()}})}async function zkt(t){const{params:e}=t,{field_name:r}=e;if(!r)throw Li({type:mn.NOT_FOUND});return Wt({loaderArgs:t,deferred:!0,data:{fields:b4e({fieldName:r})}})}async function qkt(t){const{params:e}=t,{cursor:r}=e;if(!r)throw Li({type:mn.NOT_FOUND});return Wt({loaderArgs:t,deferred:!0,data:{entries:kie({cursor:r,numEntries:1,numSkip:0,stream:!1})}})}function Vkt(t){return Wt({loaderArgs:t,deferred:!0,data:{logsConfig:h4e()}})}async function Hkt(t){return Wt({loaderArgs:t,deferred:!0,data:{licensing:jkt()}})}async function Gkt(t){return Wt({loaderArgs:t,deferred:!0,data:{services:vL()}})}async function Wkt({name:t}){try{const e=await f4e({name:t});if(!e)throw Li({type:mn.SERVICE_UNAVAILABLE,data:t});return e}catch{throw Li({type:mn.SERVICE_UNAVAILABLE,data:t})}}async function Ykt(t){return Wt({loaderArgs:t,deferred:!0,data:{logsStream:lht()}})}const Kkt=async()=>(await Wkt({name:ue.TERMINAL}),null);async function Qkt(t){return Wt({loaderArgs:t,deferred:!0,data:{files:T4e()}})}async function Zkt(t){return Wt({loaderArgs:t,deferred:!0,data:{schedules:Dkt().then(e=>e.sort((r,n)=>Date.parse(n.created_at)-Date.parse(r.created_at)))}})}const Xkt={path:"system",handle:vr({labelIntl:"route.system",icon:a.jsx(ge.System,{})}),children:[{element:a.jsx(Or,{fullHeight:!0,transparent:!0,center:!0}),children:[{path:"upgrade",handle:vr({labelIntl:"route.system.upgrade",to:$.urls.systemUpgrade}),loader:Ykt,element:a.jsx(FAt,{}),shouldRevalidate:()=>!1,children:[{path:"upload",action:Ikt,loader:()=>rt("..")}]}]},{element:a.jsx(Or,{fullHeight:!0}),children:[{path:"licensing",handle:vr({labelIntl:"route.system.licensing",to:$.urls.systemLicensing}),loader:Hkt,element:a.jsx(v3t,{}),children:[{path:"install",action:Tkt,loader:()=>rt("..")},{path:"delete",action:Ekt,loader:()=>rt("..")}]},{path:"services",handle:vr({labelIntl:"route.system.services",to:$.urls.systemServices}),loader:Gkt,element:a.jsx(vAt,{}),children:[{path:"management",action:Rkt,loader:()=>rt("..")}]},{path:"terminal",loader:Kkt,handle:vr({labelIntl:"route.system.terminal",to:$.urls.systemTerminal}),element:a.jsx(GAt,{}),children:[{path:"list",loader:Qkt,element:a.jsx(ur,{to:$.urls.systemTerminal,replace:!0})}]},{path:"backup",loader:Fkt,handle:vr({labelIntl:"route.system.backup",to:$.urls.systemBackup}),element:a.jsx(u3t,{}),children:[{index:!0,element:a.jsx(ur,{to:"backup-schedules",replace:!0})},{path:"backup-schedules",element:a.jsx($ee,{isBackup:!0}),children:[{index:!0,element:as([ie.backup,ie.configuration])?a.jsx(ur,{to:"configuration",replace:!0}):a.jsx(ur,{to:"pls",replace:!0})},{path:"configuration",element:a.jsx(p3t,{}),errorElement:a.jsx(en,{}),loader:Fee,children:[{path:"configuration-backup",action:ykt,loader:()=>rt("..")}]},{path:":nf",element:a.jsx(Dee,{isBackup:!0})}]},{path:"restore-schedules",element:a.jsx($ee,{isBackup:!1}),children:[{index:!0,element:as([ie.backup,ie.configuration])?a.jsx(ur,{to:"configuration",replace:!0}):a.jsx(ur,{to:"pls",replace:!0})},{path:"configuration",element:a.jsx(g3t,{}),errorElement:a.jsx(en,{}),loader:Fee,children:[{path:"configuration-restore",action:bkt,loader:()=>rt("..")}]},{path:":nf",element:a.jsx(Dee,{isBackup:!1})}]},{path:"schedule-backup",action:_kt,loader:()=>rt("..")},{path:"schedule-restore",action:vkt,loader:()=>rt("..")},{path:"update-configuration",action:xkt,loader:()=>rt("..")}]},{path:"troubleshoot-dump",element:a.jsx(ZAt,{}),handle:vr({labelIntl:"route.system.troubleshoot_dump",to:$.urls.systemTroubleshootDump}),loader:Zkt,children:[{path:"create",action:Lkt},{path:"delete",action:Nkt}]}]},{path:"logs",handle:vr({icon:a.jsx(ge.Logs,{}),labelIntl:"route.system.logs",to:$.urls.systemLogs}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{element:a.jsx(Or,{fullHeight:!0}),children:[{element:a.jsx(pAt,{}),loader:Ukt,children:[{path:"entries",loader:Uee({stream:!1}),element:a.jsx(dAt,{})},{path:"fields",loader:Bkt,element:a.jsx(ur,{to:$.urls.systemLogs,replace:!0}),children:[{path:":field_name",loader:zkt,element:a.jsx(ur,{to:$.urls.systemLogs,replace:!0})}]},{path:"follow",loader:Uee({stream:!0}),element:a.jsx(cAt,{})},{path:"config",loader:Vkt,element:a.jsx(ur,{to:$.urls.systemLogs,replace:!0}),children:[{path:"update",action:Skt,loader:()=>rt("..")}]}]}]},{element:a.jsx(Or,{center:!0}),children:[{path:"cursor",children:[{index:!0,element:a.jsx(ur,{to:$.urls.systemLogs,replace:!0})},{path:":cursor",loader:qkt,handle:t=>{const e=t.params.cursor;return vr({labelIntl:"route.system.logs.cursor",captionIntl:"route.system.logs.cursor.caption",captionIntlParams:{cursor:e},to:$.urls.systemLogsCursor})},element:a.jsx(gAt,{})}]}]}]},{path:"boot-partitions",element:a.jsx(ur,{to:"/",replace:!0}),loader:Vmt},{path:"boot-partitions-update",loader:()=>rt("/"),action:wmt}]},Vy=Pr(),Jkt=dr().shape({description:We().matches(new RegExp($.regex.descriptionRm),Vy.formatMessage({id:"udm_home_network_keys.form.errors.format"},{value:"^[ -~]{1,128}"})),home_network_identifier:We().matches(new RegExp($.regex.plmnStr)).required(Vy.formatMessage({id:"udm_home_network_keys.form.errors.required"})),key_id:kn().min(1).max(255).required(Vy.formatMessage({id:"udm_home_network_keys.form.errors.required"})),private_key:We().when("profile",(t,e)=>t==="A"?e.matches(new RegExp($.regex.ecX25519PrivateKey)):e.matches(new RegExp($.regex.secp256r1PrivateKey))).required(Vy.formatMessage({id:"udm_home_network_keys.form.errors.required"})),profile:We().matches(new RegExp("^(A|B)$")).required(Vy.formatMessage({id:"udm_home_network_keys.form.errors.required"}))}),eMt=()=>{const t=he.c(13),e=Ye(),{dialogClose:r}=Jt(),{upsertFetcher:n}=Ys(),{data:s,state:i,submit:o}=n;let l;t[0]!==o?(l=h=>{o({key_id:+h.key_id,home_network_identifier:h.home_network_identifier,private_key:h.private_key,profile:h.profile,...h.description&&{description:h.description}},{action:$.urls.udmHomeNetworkKeysCreate_Action,method:"POST",encType:"application/json"})},t[0]=o,t[1]=l):l=t[1];const c=l;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u={key_id:"",home_network_identifier:"",private_key:"",public_key:"",profile:"A",description:""},t[2]=u):u=t[2];const d=u;let f;t[3]!==r?(f=()=>r(),t[3]=r,t[4]=f):f=t[4];let p;t[5]!==s||t[6]!==e||t[7]!==i?(p=()=>a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"key_id",children:h=>{const{field:_,meta:g}=h;return a.jsx(dt,{..._,label:e.formatMessage({id:"udm_home_network_keys.form.key_id"}),size:"small",error:!!g.error,helperText:g.error,disabled:i!=="idle"})}}),a.jsx(Ke,{name:"description",children:h=>{const{field:_,meta:g}=h;return a.jsx(dt,{..._,label:e.formatMessage({id:"udm_home_network_keys.form.description"}),size:"small",error:!!g.error,helperText:g.error,disabled:i!=="idle"})}}),a.jsx(Ke,{name:"home_network_identifier",children:h=>{const{field:_,meta:g}=h;return a.jsx(dt,{..._,label:e.formatMessage({id:"udm_home_network_keys.form.home_network_identifier"}),size:"small",error:!!g.error,helperText:g.error,disabled:i!=="idle"})}}),a.jsx(Ke,{name:"profile",children:h=>{const{field:_,meta:g}=h;return a.jsxs(qs,{..._,label:e.formatMessage({id:"udm_home_network_keys.form.profile"}),size:"small",error:!!g.error,helperText:g.error,disabled:i!=="idle",children:[a.jsx(En,{value:"A",children:"A"},"A"),a.jsx(En,{value:"B",children:"B"},"B")]})}}),a.jsx(Ke,{name:"private_key",children:h=>{const{field:_,meta:g}=h;return a.jsx(dt,{..._,label:e.formatMessage({id:"udm_home_network_keys.form.private_key"}),size:"small",error:!!g.error,helperText:g.error,disabled:i!=="idle"})}}),a.jsx(Xr,{data:s})]}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:e.formatMessage({id:"udm_home_network_keys.form.cancel"}),type:"reset",variant:"outlined",disabled:i!=="idle"||!Ue(ie.provisioning)}),a.jsx(Ze,{text:e.formatMessage({id:"udm_home_network_keys.form.save"}),type:"submit",disabled:i!=="idle"||!Ue(ie.provisioning)})]})]})}),t[5]=s,t[6]=e,t[7]=i,t[8]=p):p=t[8];let m;return t[9]!==c||t[10]!==f||t[11]!==p?(m=a.jsx(te,{padding:2,children:a.jsx(Wr,{initialValues:d,validationSchema:Jkt,onSubmit:c,onReset:f,children:p})}),t[9]=c,t[10]=f,t[11]=p,t[12]=m):m=t[12],m},tMt=()=>{const t=he.c(23),e=Ye(),{dialogOpen:r}=Jt();let n;t[0]!==r||t[1]!==e?(n=()=>{r({title:e.formatMessage({id:"udm_home_network_keys.form.title_create"}),content:rMt,closeOnBackdropClick:!1})},t[0]=r,t[1]=e,t[2]=n):n=t[2];const s=n;let i;t[3]!==r||t[4]!==e?(i=()=>{r({title:e.formatMessage({id:"udm_home_network_keys.upload.form.title"}),content:()=>a.jsx(bx,{min:1,max:1,filesLabel:e.formatMessage({id:"udm_home_network_keys.upload.form.file"}),accept:{".enc":[".enc"]},requiredMessage:e.formatMessage({id:"udm_home_network_keys.upload.form.file.required"}),description:e.formatMessage({id:"udm_home_network_keys.upload.form.description"}),action:"udm/home-network-keys/upload"})})},t[3]=r,t[4]=e,t[5]=i):i=t[5];const o=i;let l;t[6]!==e?(l=e.formatMessage({id:"udm_home_network_keys.toolbar.upload"}),t[6]=e,t[7]=l):l=t[7];let c;t[8]===Symbol.for("react.memo_cache_sentinel")?(c=a.jsx(ge.Upload,{}),t[8]=c):c=t[8];let u;t[9]===Symbol.for("react.memo_cache_sentinel")?(u=Ue(ie.provisioning),t[9]=u):u=t[9];let d;t[10]!==o||t[11]!==l?(d=a.jsx(Ze,{variant:"outlined","data-testid":"udm-home-network-keys-btn-upload",text:l,startIcon:c,onClick:o,disabled:!u}),t[10]=o,t[11]=l,t[12]=d):d=t[12];let f;t[13]!==e?(f=e.formatMessage({id:"udm_home_network_keys.toolbar.new"}),t[13]=e,t[14]=f):f=t[14];let p;t[15]===Symbol.for("react.memo_cache_sentinel")?(p=a.jsx(ge.Add,{}),t[15]=p):p=t[15];let m;t[16]===Symbol.for("react.memo_cache_sentinel")?(m=Ue(ie.provisioning),t[16]=m):m=t[16];let h;t[17]!==s||t[18]!==f?(h=a.jsx(Ze,{text:f,startIcon:p,onClick:s,disabled:!m}),t[17]=s,t[18]=f,t[19]=h):h=t[19];let _;return t[20]!==d||t[21]!==h?(_=a.jsxs(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:[d,h]}),t[20]=d,t[21]=h,t[22]=_):_=t[22],_};function rMt(){return a.jsx(eMt,{})}const nMt=()=>{const t=he.c(65),e=Ye(),{openConfirmDialog:r}=di(),n=Gr(),s=On(),i=gr(),{pageSize:o,pageSizeOptions:l,changePageSize:c,changePage:u,getRowsCount:d,getPage:f}=Na();let p;t[0]!==i||t[1]!==e||t[2]!==r?(p=Q=>{const{id:Y,key_id:Z}=Q;Y&&r({text:e.formatMessage({id:"udm_home_network_keys.actions.confirm_delete"},{value:Z}),onConfirm:()=>{i.submit({id:Y},{action:$.urls.udmHomeNetworkKeysDelete_Action,method:"POST",encType:"application/json"})}})},t[0]=i,t[1]=e,t[2]=r,t[3]=p):p=t[3];const m=p;let h;t[4]!==e?(h=e.formatMessage({id:"udm_home_network_keys.table.key_id"}),t[4]=e,t[5]=h):h=t[5];let _;t[6]!==h?(_={key:"key_id",label:h},t[6]=h,t[7]=_):_=t[7];let g;t[8]!==e?(g=e.formatMessage({id:"udm_home_network_keys.table.description"}),t[8]=e,t[9]=g):g=t[9];let y;t[10]!==g?(y={key:"description",label:g},t[10]=g,t[11]=y):y=t[11];let b;t[12]!==e?(b=e.formatMessage({id:"udm_home_network_keys.table.home_network_identifier"}),t[12]=e,t[13]=b):b=t[13];let x;t[14]!==b?(x={key:"home_network_identifier",label:b},t[14]=b,t[15]=x):x=t[15];let w;t[16]!==e?(w=e.formatMessage({id:"udm_home_network_keys.table.profile"}),t[16]=e,t[17]=w):w=t[17];let C;t[18]!==w?(C={key:"profile",label:w},t[18]=w,t[19]=C):C=t[19];let k;t[20]!==e?(k=e.formatMessage({id:"udm_home_network_keys.table.public_key"}),t[20]=e,t[21]=k):k=t[21];let A;t[22]!==k?(A={key:"public_key",label:k,cellRender:sMt},t[22]=k,t[23]=A):A=t[23];let P;t[24]!==e?(P=e.formatMessage({id:"udm_home_network_keys.table.created_at"}),t[24]=e,t[25]=P):P=t[25];let T;t[26]!==P?(T={key:"created_at",label:P,cellRender:iMt},t[26]=P,t[27]=T):T=t[27];let j;t[28]!==e?(j=e.formatMessage({id:"udm_home_network_keys.table.modified_at"}),t[28]=e,t[29]=j):j=t[29];let R;t[30]!==j?(R={key:"modified_at",label:j,cellRender:oMt},t[30]=j,t[31]=R):R=t[31];let D;t[32]!==A||t[33]!==T||t[34]!==R||t[35]!==_||t[36]!==y||t[37]!==x||t[38]!==C?(D=[_,y,x,C,A,T,R],t[32]=A,t[33]=T,t[34]=R,t[35]=_,t[36]=y,t[37]=x,t[38]=C,t[39]=D):D=t[39];const O=D;let N;t[40]!==e?(N=e.formatMessage({id:"udm_home_network_keys.actions.delete"}),t[40]=e,t[41]=N):N=t[41];let F;t[42]===Symbol.for("react.memo_cache_sentinel")?(F=a.jsx(ge.Trash,{}),t[42]=F):F=t[42];let U;t[43]!==i.state||t[44]!==s.state?(U=s.state!=="idle"||i.state!=="idle"||!Ue(ie.provisioning),t[43]=i.state,t[44]=s.state,t[45]=U):U=t[45];let z;t[46]!==m||t[47]!==N||t[48]!==U?(z=[{label:N,icon:F,onClick:m,disabled:U}],t[46]=m,t[47]=N,t[48]=U,t[49]=z):z=t[49];const H=z;let W;t[50]===Symbol.for("react.memo_cache_sentinel")?(W=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[50]=W):W=t[50];let K;t[51]===Symbol.for("react.memo_cache_sentinel")?(K=a.jsx(Tr,{}),t[51]=K):K=t[51];let q;t[52]!==u||t[53]!==c||t[54]!==O||t[55]!==i.state||t[56]!==f||t[57]!==d||t[58]!==o||t[59]!==l||t[60]!==H?(q=Q=>{const{data:Y,metadata:Z}=Q;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(tMt,{})}),a.jsx(Br,{autoScale:!0,loading:i.state!=="idle",orderBy:"key_id",columns:O,data:Y,page:f(Z),labelDisplayedRows:aMt,rowsCount:d(Z),rowsPerPage:o,onRowsPerPageChange:c,rowsPerPageOptions:l,rowKey:"key_id",rowActions:H,stickyRowActions:!0,onPageChange:u(Z)})]})},t[52]=u,t[53]=c,t[54]=O,t[55]=i.state,t[56]=f,t[57]=d,t[58]=o,t[59]=l,t[60]=H,t[61]=q):q=t[61];let X;return t[62]!==n.autorules||t[63]!==q?(X=a.jsx(I.Suspense,{fallback:W,children:a.jsx(Qt,{resolve:n.autorules,errorElement:K,children:q})}),t[62]=n.autorules,t[63]=q,t[64]=X):X=t[64],X};function sMt(t){const{public_key:e}=t;return a.jsx(Ap,{text:e,max:8})}function iMt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function oMt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function aMt(){return""}const $D=Pr(),lMt=dr().shape({prefix:We().required($D.formatMessage({id:"udm_plmn_prefixes.prefix.form_errors.required"})).matches(new RegExp($.regex.plmnPrefix)),mcc:We().required($D.formatMessage({id:"udm_plmn_prefixes.mcc.form_errors.required"})).matches(new RegExp($.regex.mcc)),mnc:We().required($D.formatMessage({id:"udm_plmn_prefixes.mnc.form_errors.required"})).matches(new RegExp($.regex.mnc))}),tme=t=>{const e=he.c(25),{id:r}=t,n=Ye(),{upsertFetcher:s,dataFetcher:i}=Ys(),{submit:o,data:l,state:c}=s,{load:u,data:d,state:f}=i,{dialogClose:p}=Jt(),m=!!r;let h,_;e[0]!==r||e[1]!==m||e[2]!==u?(h=()=>{m&&u(`udm/plmn-prefixes/${r}`)},_=[r,m,u],e[0]=r,e[1]=m,e[2]=u,e[3]=h,e[4]=_):(h=e[3],_=e[4]),I.useEffect(h,_);let g;e[5]!==m||e[6]!==o?(g=R=>{o(R,{method:"POST",encType:"application/json",action:m?"udm/plmn-prefixes/update":"udm/plmn-prefixes/create"})},e[5]=m,e[6]=o,e[7]=g):g=e[7];const y=g,b=d?.udmPlmnPrefix.prefix||"",x=d?.udmPlmnPrefix.mcc||"",w=d?.udmPlmnPrefix.mnc||"";let C;e[8]!==b||e[9]!==x||e[10]!==w?(C={prefix:b,mcc:x,mnc:w},e[8]=b,e[9]=x,e[10]=w,e[11]=C):C=e[11];const k=C,A=f!=="idle";let P;e[12]!==p||e[13]!==n||e[14]!==m||e[15]!==l||e[16]!==c?(P=()=>a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"prefix",children:R=>{const{field:D,meta:O}=R;return a.jsx(dt,{...D,label:n.formatMessage({id:"udm_plmns_prefixes.prefix"}),size:"small",error:!!O.error,helperText:O.error,disabled:m||c!=="idle"})}}),a.jsx(Ke,{name:"mcc",children:R=>{const{field:D,meta:O}=R;return a.jsx(dt,{...D,label:n.formatMessage({id:"udm_plmns_prefixes.mcc"}),size:"small",error:!!O.error,helperText:O.error,disabled:c!=="idle"})}}),a.jsx(Ke,{name:"mnc",children:R=>{const{field:D,meta:O}=R;return a.jsx(dt,{...D,label:n.formatMessage({id:"udm_plmns_prefixes.mnc"}),size:"small",error:!!O.error,helperText:O.error,disabled:c!=="idle"})}}),a.jsx(Xr,{data:l})]}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:n.formatMessage({id:"common.form.cancel"}),variant:"outlined",disabled:c!=="idle"||!Ue(ie.provisioning),onClick:()=>p()}),a.jsx(Ze,{text:n.formatMessage({id:"common.form.submit"}),type:"submit",loading:c!=="idle",disabled:!Ue(ie.provisioning)})]})]})}),e[12]=p,e[13]=n,e[14]=m,e[15]=l,e[16]=c,e[17]=P):P=e[17];let T;e[18]!==y||e[19]!==k||e[20]!==P?(T=a.jsx(Wr,{initialValues:k,validationSchema:lMt,onSubmit:y,children:P}),e[18]=y,e[19]=k,e[20]=P,e[21]=T):T=e[21];let j;return e[22]!==A||e[23]!==T?(j=a.jsx(_s,{loading:A,children:T}),e[22]=A,e[23]=T,e[24]=j):j=e[24],j};function cMt(){const t=he.c(73),e=Ye(),{dialogOpen:r}=Jt(),{openConfirmDialog:n}=di(),{pageSize:s,pageSizeOptions:i,changePageSize:o,changePage:l,getRowsCount:c,getPage:u}=Na(),d=zn(),{submit:f,state:p}=gr();let m;t[0]!==r||t[1]!==e?(m=()=>{r({title:e.formatMessage({id:"udr_plmns.toolbar.new_plmn"}),content:pMt,closeOnBackdropClick:!1})},t[0]=r,t[1]=e,t[2]=m):m=t[2];const h=m;let _;t[3]!==r||t[4]!==e?(_=le=>{r({title:e.formatMessage({id:"udr_plmns.toolbar.new_plmn"}),content:()=>a.jsx(tme,{id:le}),closeOnBackdropClick:!1})},t[3]=r,t[4]=e,t[5]=_):_=t[5];const g=_;let y;t[6]!==e||t[7]!==n||t[8]!==f?(y=le=>{n({text:e.formatMessage({id:"udm_plmns_prefixes.actions.delete.confirm"},{prefix:le}),onConfirm:()=>{f({prefix:le},{method:"POST",encType:"application/json",action:"delete"})}})},t[6]=e,t[7]=n,t[8]=f,t[9]=y):y=t[9];const b=y;let x;t[10]!==e?(x=e.formatMessage({id:"udm_plmns_prefixes.prefix"}),t[10]=e,t[11]=x):x=t[11];let w;t[12]!==x?(w={key:"prefix",label:x},t[12]=x,t[13]=w):w=t[13];let C;t[14]!==e?(C=e.formatMessage({id:"udm_plmns_prefixes.mcc"}),t[14]=e,t[15]=C):C=t[15];let k;t[16]!==C?(k={key:"mcc",label:C},t[16]=C,t[17]=k):k=t[17];let A;t[18]!==e?(A=e.formatMessage({id:"udm_plmns_prefixes.mnc"}),t[18]=e,t[19]=A):A=t[19];let P;t[20]!==A?(P={key:"mnc",label:A},t[20]=A,t[21]=P):P=t[21];let T;t[22]!==e?(T=e.formatMessage({id:"udm_plmns_prefixes.created_at"}),t[22]=e,t[23]=T):T=t[23];let j;t[24]!==T?(j={key:"created_at",label:T,cellRender:fMt},t[24]=T,t[25]=j):j=t[25];let R;t[26]!==e?(R=e.formatMessage({id:"udm_plmns_prefixes.modified_at"}),t[26]=e,t[27]=R):R=t[27];let D;t[28]!==R?(D={key:"modified_at",label:R,cellRender:dMt},t[28]=R,t[29]=D):D=t[29];let O;t[30]!==j||t[31]!==D||t[32]!==w||t[33]!==k||t[34]!==P?(O=[w,k,P,j,D],t[30]=j,t[31]=D,t[32]=w,t[33]=k,t[34]=P,t[35]=O):O=t[35];const N=O;let F;t[36]===Symbol.for("react.memo_cache_sentinel")?(F=_l(ie.provisioning),t[36]=F):F=t[36];let U;t[37]!==g?(U=le=>{const{prefix:ee}=le;return g(ee)},t[37]=g,t[38]=U):U=t[38];const z=p!=="idle";let H;t[39]!==U||t[40]!==z?(H={...F,onClick:U,disabled:z},t[39]=U,t[40]=z,t[41]=H):H=t[41];let W;t[42]!==e?(W=e.formatMessage({id:"common.delete"}),t[42]=e,t[43]=W):W=t[43];let K;t[44]===Symbol.for("react.memo_cache_sentinel")?(K=a.jsx(ge.Trash,{}),t[44]=K):K=t[44];let q;t[45]!==b?(q=le=>{const{prefix:ee}=le;return b(ee)},t[45]=b,t[46]=q):q=t[46];let X;t[47]!==p?(X=p!=="idle"||!Ue(ie.provisioning),t[47]=p,t[48]=X):X=t[48];let Q;t[49]!==W||t[50]!==q||t[51]!==X?(Q={label:W,icon:K,onClick:q,disabled:X},t[49]=W,t[50]=q,t[51]=X,t[52]=Q):Q=t[52];let Y;t[53]!==H||t[54]!==Q?(Y=[H,Q],t[53]=H,t[54]=Q,t[55]=Y):Y=t[55];const Z=Y;let re;t[56]===Symbol.for("react.memo_cache_sentinel")?(re=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[56]=re):re=t[56];let fe;t[57]===Symbol.for("react.memo_cache_sentinel")?(fe=a.jsx(Tr,{}),t[57]=fe):fe=t[57];let de;t[58]!==l||t[59]!==o||t[60]!==N||t[61]!==u||t[62]!==c||t[63]!==h||t[64]!==e||t[65]!==s||t[66]!==i||t[67]!==Z||t[68]!==p?(de=le=>{const{data:ee,metadata:J}=le;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{text:e.formatMessage({id:"common.new"}),startIcon:a.jsx(ge.Add,{}),onClick:h,disabled:p!=="idle"||!Ue(ie.provisioning)})}),a.jsx(Br,{autoScale:!0,orderBy:"prefix",columns:N,data:ee,page:u(J),labelDisplayedRows:uMt,rowsCount:c(J),rowsPerPage:s,onRowsPerPageChange:o,rowsPerPageOptions:i,rowKey:"mcc",stickyRowActions:!0,onPageChange:l(J),rowActions:Z})]})},t[58]=l,t[59]=o,t[60]=N,t[61]=u,t[62]=c,t[63]=h,t[64]=e,t[65]=s,t[66]=i,t[67]=Z,t[68]=p,t[69]=de):de=t[69];let se;return t[70]!==d.udrPlmnPrefixList||t[71]!==de?(se=a.jsx(I.Suspense,{fallback:re,children:a.jsx(Qt,{resolve:d.udrPlmnPrefixList,errorElement:fe,children:de})}),t[70]=d.udrPlmnPrefixList,t[71]=de,t[72]=se):se=t[72],se}function uMt(){return""}function dMt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function fMt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function pMt(){return a.jsx(tme,{})}async function mMt({request:t}){const e=await t.json(),r=await Alt(e);return xt(r)?Ar():Nt(),Ft(r)}async function hMt({request:t}){const r=(await t.formData()).getAll("files"),n=await klt(r[0]);return xt(n)||Nt(),Ft(n)}async function gMt({request:t}){const{id:e}=await t.json(),r=await Mlt(e);return xt(r)?Ar():Nt(),Ft(r)}async function _Mt({request:t}){const{mcc:e,mnc:r,prefix:n}=await t.json(),s=await Tlt({mcc:e,mnc:r,prefix:n});return xt(s)?Ar():Nt(),Ft(s)}async function vMt({request:t}){const{mcc:e,mnc:r,prefix:n}=await t.json(),s=await Elt(n,{mcc:e,mnc:r});return xt(s)?Ar():Nt(),Ft(s)}async function yMt({request:t}){const{prefix:e}=await t.json(),r=await Rlt(e);return xt(r)?Ar():Nt(),Ft(r)}async function bMt(t){const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{autorules:Clt({pageSize:+e,paginationToken:r})}})}const xMt=async t=>{const{id:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{udmPlmnPrefix:Plt(e)}}):null},SMt=async t=>{const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{udrPlmnPrefixList:jlt({pageSize:+e,...r&&{paginationToken:r}})}})},wMt=Pr(),CMt={path:"udm",handle:vr({labelIntl:"route.udm",icon:a.jsx(ge.UDM,{})}),children:[{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.UDM,{dbCluster:!0})]},{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{path:"status",handle:vr({labelIntl:"route.udm.status",to:$.urls.udmStatus}),element:a.jsx(Ao,{tabs:[{url:"diameter",label:wMt.formatMessage({id:"route.diameter"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"diameter",replace:!0})},qp({path:"diameter",nf:ue.UDM})]},io(ue.UDM),{path:"home-network-keys",handle:vr({labelIntl:"route.udm.home-network-keys",to:$.urls.udmHomeNetworkKeys}),loader:bMt,element:a.jsx(nMt,{}),children:[{action:mMt,path:"create",loader:()=>rt("..")},{action:gMt,path:"delete",loader:()=>rt("..")},{action:hMt,path:"upload",loader:()=>rt("..")}]},{path:"plmn-prefixes",handle:vr({labelIntl:"route.udm.plmn-prefixes",to:"/udm/plmn-prefixes"}),loader:SMt,element:a.jsx(cMt,{}),children:[{path:":id",loader:xMt,element:a.jsx(ur,{to:"/udm/plmn-prefixes",replace:!0})},{path:"create",action:_Mt,loader:()=>rt("..")},{path:"update",action:vMt,loader:()=>rt("..")},{path:"delete",action:yMt,loader:()=>rt("..")}]}]}]};var rh=(t=>(t.REPOSITORY_DATA="REPOSITORY_DATA",t.IMSI="IMSI",t.IMS_PUBLIC_IDENTITY="IMS_PUBLIC_IDENTITY",t.SMS_REGISTRATION_INFO="SMS_REGISTRATION_INFO",t))(rh||{}),Cu=(t=>(t.READ="READ",t.WRITE="WRITE",t.SUBSCRIBE="SUBSCRIBE",t))(Cu||{});const rme=["REPOSITORY_DATA","IMSI","IMS_PUBLIC_IDENTITY","SMS_REGISTRATION_INFO"],nme=t=>{const e=he.c(31),{id:r}=t,n=Ye(),{dialogClose:s}=Jt(),{upsertFetcher:i,dataFetcher:o}=Ys(),{data:l,state:c,submit:u}=i,{data:d,state:f,load:p}=o,m=r!==void 0;let h;e[0]!==u||e[1]!==r||e[2]!==m?(h=T=>{const{application_server:j,data_reference:R,permissions:D}=T;if(m){u({id:r,permissions:D},{action:`${$.urls.udrImsApplicationServerAcls}/update`,method:"POST",encType:"application/json"});return}u({application_server:j,data_reference:R,permissions:D},{action:`${$.urls.udrImsApplicationServerAcls}/create`,method:"POST",encType:"application/json"})},e[0]=u,e[1]=r,e[2]=m,e[3]=h):h=e[3];const _=h;let g;e:{if(!m||!d){let N;e[4]===Symbol.for("react.memo_cache_sentinel")?(N={application_server:"",data_reference:rh.REPOSITORY_DATA,permissions:[Cu.READ]},e[4]=N):N=e[4],g=N;break e}const T=d?.udrImsApplicationServerAcl,j=T?.application_server||"",R=T.data_reference||rh.REPOSITORY_DATA;let D;e[5]!==T.permissions?(D=T.permissions||[Cu.READ],e[5]=T.permissions,e[6]=D):D=e[6];let O;e[7]!==j||e[8]!==R||e[9]!==D?(O={application_server:j,data_reference:R,permissions:D},e[7]=j,e[8]=R,e[9]=D,e[10]=O):O=e[10],g=O}const y=g,b=AMt;let x;e[11]!==n?(x=dr().shape({application_server:We().required(n.formatMessage({id:"udr_ims_application_server_acls.form.error.required"})),data_reference:We().required(n.formatMessage({id:"udr_ims_application_server_acls.form.error.required"})),permissions:yr().when("data_reference",T=>yr().of(We()).required().min(1).test({name:"wrong-array-values",message:n.formatMessage({id:"udr_ims_application_server_acls.form.error.permissions"},{permissions:b(T)?.join(", ")}),test:j=>!j||j?.length===0?!1:j.every(R=>new RegExp(b(T)?.join("|")).test(R))}))}),e[11]=n,e[12]=x):x=e[12];const w=x;let C,k;e[13]!==r||e[14]!==m||e[15]!==p?(C=()=>{m&&p(`${$.urls.udrImsApplicationServerAcls}/${r}`)},k=[r,m,p],e[13]=r,e[14]=m,e[15]=p,e[16]=C,e[17]=k):(C=e[16],k=e[17]),I.useEffect(C,k);let A;e[18]!==s||e[19]!==l||e[20]!==c||e[21]!==d||e[22]!==n||e[23]!==m||e[24]!==f?(A=T=>{const{values:j}=T;return a.jsxs(dn,{canWrite:Ue(ie.provisioning),fullHeight:!0,children:[a.jsx(_s,{loading:m&&!d,children:a.jsxs(te,{spacing:2,fullHeight:!0,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"application_server",children:R=>{const{field:D,meta:O}=R;return a.jsx(dt,{...D,label:n.formatMessage({id:"udr_ims_application_server_acls.new_ims_application_server_acl.form.application_server"}),size:"small",error:!!O.error,helperText:O.error,disabled:f!=="idle"||c!=="idle"||m})}}),a.jsx(Ke,{name:"data_reference",children:R=>{const{field:D,meta:O,form:N}=R,{setFieldValue:F}=N;return a.jsx(rn,{value:D.value,name:D.name,label:n.formatMessage({id:"udr_ims_application_server_acls.new_ims_application_server_acl.form.data_reference"}),multiple:!1,size:"small",options:[...rme],onChange:(U,z)=>{F(D.name,z||"")},error:!!O.error,helperText:O.error,disabled:f!=="idle"||c!=="idle"||m,fullWidth:!0})}}),a.jsx(Ke,{name:"permissions",children:R=>{const{field:D,meta:O,form:N}=R,{setFieldValue:F}=N;return a.jsx(rn,{name:D.name,value:D.value,label:n.formatMessage({id:"udr_ims_application_server_acls.new_ims_application_server_acl.form.permissions"}),multiple:!0,size:"small",options:b(j.data_reference),onChange:(U,z)=>{F(D.name,[...new Set(z.map(kMt))])},error:!!O.error,helperText:O.error,disabled:f!=="idle"||c!=="idle",fullWidth:!0})}}),a.jsx(Xr,{data:l})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:n.formatMessage({id:"udr_ims_application_server_acls.new_ims_application_server_acl.cancel"}),onClick:()=>s(),variant:"outlined",disabled:f!=="idle"||c!=="idle"||!Ue(ie.provisioning)}),a.jsx(Ze,{text:n.formatMessage({id:"udr_ims_application_server_acls.new_ims_application_server_acl.save"}),type:"submit",disabled:f!=="idle"||c!=="idle"||!Ue(ie.provisioning)})]})})]})},e[18]=s,e[19]=l,e[20]=c,e[21]=d,e[22]=n,e[23]=m,e[24]=f,e[25]=A):A=e[25];let P;return e[26]!==_||e[27]!==y||e[28]!==A||e[29]!==w?(P=a.jsx(Wr,{initialValues:y,enableReinitialize:!0,validationSchema:w,onSubmit:_,children:A}),e[26]=_,e[27]=y,e[28]=A,e[29]=w,e[30]=P):P=e[30],P};function AMt(t){switch(t){case rh.SMS_REGISTRATION_INFO:return[Cu.READ,Cu.WRITE];case rh.REPOSITORY_DATA:return[Cu.READ,Cu.WRITE,Cu.SUBSCRIBE];case rh.IMS_PUBLIC_IDENTITY:return[Cu.READ];case rh.IMSI:return[Cu.READ]}}function kMt(t){return t.trim()}const MMt=()=>{const t=he.c(20),e=Ye(),[r,n]=hl(),{drawerClose:s}=Jt();let i;t[0]!==s||t[1]!==n?(i=h=>{n(()=>{const _=new URLSearchParams;return h.application_server_icont&&_.set("applicationServer",h.application_server_icont),h.data_reference_eq&&_.set("dataReferenceEq",h.data_reference_eq),_},{replace:!0}),s()},t[0]=s,t[1]=n,t[2]=i):i=t[2];const o=i;let l;t[3]!==s||t[4]!==n?(l=()=>{n(PMt,{replace:!0}),s()},t[3]=s,t[4]=n,t[5]=l):l=t[5];const c=l;let u;t[6]!==r?(u=r.get("applicationServer")??"",t[6]=r,t[7]=u):u=t[7];let d;t[8]!==r?(d=r.get("dataReferenceEq")??"",t[8]=r,t[9]=d):d=t[9];let f;t[10]!==u||t[11]!==d?(f={application_server_icont:u,data_reference_eq:d},t[10]=u,t[11]=d,t[12]=f):f=t[12];let p;t[13]!==e?(p=()=>a.jsxs(dn,{canWrite:as(ie.provisioning),fullHeight:!0,children:[a.jsx(zp,{children:a.jsx(te,{spacing:2,children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"application_server_icont",children:h=>{const{field:_}=h;return a.jsx(dt,{..._,value:_.value||"",label:e.formatMessage({id:"udr_ims_application_server_acls.filters.application_server_icont"}),size:"small"})}}),a.jsx(Ke,{name:"data_reference_eq",children:h=>{const{field:_,form:g}=h,{setFieldValue:y}=g;return a.jsx(rn,{value:_.value,name:_.name,label:e.formatMessage({id:"udr_ims_application_server_acls.filters.data_reference_eq"}),multiple:!1,size:"small",freeSolo:!1,options:["",...rme],onChange:(b,x)=>{y(_.name,x||"")},fullWidth:!0})}})]})})}),a.jsxs(f7,{children:[a.jsx(Ze,{"data-testid":"filter-application-server-button-reset",text:e.formatMessage({id:"udr_ims_application_server_acls.filters.buttons.reset"}),disabled:!as(ie.provisioning),variant:"outlined",type:"reset"}),a.jsx(Ze,{"data-testid":"filter-application-server-button-apply",text:e.formatMessage({id:"udr_ims_application_server_acls.filters.buttons.apply"}),type:"submit",disabled:!as(ie.provisioning)})]})]}),t[13]=e,t[14]=p):p=t[14];let m;return t[15]!==c||t[16]!==o||t[17]!==f||t[18]!==p?(m=a.jsx(Wr,{initialValues:f,onSubmit:o,onReset:c,children:p}),t[15]=c,t[16]=o,t[17]=f,t[18]=p,t[19]=m):m=t[19],m};function PMt(){return new URLSearchParams}const jMt=()=>{const t=he.c(28),e=Ye(),{dialogOpen:r,drawerOpen:n}=Jt(),s=u7();let i;t[0]!==r||t[1]!==e?(i=()=>{r({title:e.formatMessage({id:"udr_ims_application_server_acls.toolbar.new_ims_application_server_acl"}),content:TMt,closeOnBackdropClick:!1})},t[0]=r,t[1]=e,t[2]=i):i=t[2];const o=i;let l;t[3]!==n||t[4]!==e?(l=()=>{n({title:e.formatMessage({id:"udr_ims_application_server_acls.toolbar.filters"}),content:EMt})},t[3]=n,t[4]=e,t[5]=l):l=t[5];const c=l;let u;t[6]!==s?(u=d7({filter:s}),t[6]=s,t[7]=u):u=t[7];const d=!u;let f;t[8]!==e?(f=e.formatMessage({id:"udr_ims_application_server_acls.toolbar.filters"}),t[8]=e,t[9]=f):f=t[9];let p;t[10]===Symbol.for("react.memo_cache_sentinel")?(p=a.jsx(ge.Filter,{}),t[10]=p):p=t[10];let m;t[11]===Symbol.for("react.memo_cache_sentinel")?(m={width:"100%"},t[11]=m):m=t[11];let h;t[12]!==c||t[13]!==f?(h=a.jsx(Ze,{"data-testid":"toolbar-button-filters",variant:"outlined",text:f,startIcon:p,onClick:c,sx:m}),t[12]=c,t[13]=f,t[14]=h):h=t[14];let _;t[15]!==d||t[16]!==h?(_=a.jsx(Iv,{variant:"dot",invisible:d,children:h}),t[15]=d,t[16]=h,t[17]=_):_=t[17];let g;t[18]!==e?(g=e.formatMessage({id:"common.new"}),t[18]=e,t[19]=g):g=t[19];let y;t[20]===Symbol.for("react.memo_cache_sentinel")?(y=a.jsx(ge.Add,{}),t[20]=y):y=t[20];let b;t[21]===Symbol.for("react.memo_cache_sentinel")?(b=Ue(ie.provisioning),t[21]=b):b=t[21];let x;t[22]!==o||t[23]!==g?(x=a.jsx(Ze,{text:g,startIcon:y,onClick:o,disabled:!b}),t[22]=o,t[23]=g,t[24]=x):x=t[24];let w;return t[25]!==x||t[26]!==_?(w=a.jsxs(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:[_,x]}),t[25]=x,t[26]=_,t[27]=w):w=t[27],w};function TMt(){return a.jsx(nme,{})}function EMt(){return a.jsx(MMt,{})}const RMt=()=>{const t=he.c(63),e=Ye(),{openConfirmDialog:r}=di(),n=Gr(),s=On(),i=gr(),{dialogOpen:o}=Jt();let l;t[0]!==o||t[1]!==e?(l=X=>{X&&o({title:e.formatMessage({id:"udr_ims_application_server_acls.toolbar.new_ims_application_server_acl"}),content:()=>a.jsx(nme,{id:X}),closeOnBackdropClick:!1})},t[0]=o,t[1]=e,t[2]=l):l=t[2];const c=l;let u;t[3]!==i||t[4]!==e||t[5]!==r?(u=async X=>{const{id:Q}=X;Q&&r({text:e.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.dialog.delete.confirm"}),onConfirm:()=>{i.submit({id:Q},{action:`${$.urls.udrImsApplicationServerAcls}/delete`,method:"POST",encType:"application/json"})}})},t[3]=i,t[4]=e,t[5]=r,t[6]=u):u=t[6];const d=u;let f;t[7]!==e?(f=e.formatMessage({id:"udr_ims_application_server_acls.table.header.application_server"}),t[7]=e,t[8]=f):f=t[8];let p;t[9]!==f?(p={key:"application_server",label:f},t[9]=f,t[10]=p):p=t[10];let m;t[11]!==e?(m=e.formatMessage({id:"udr_ims_application_server_acls.table.header.data_reference"}),t[11]=e,t[12]=m):m=t[12];let h;t[13]!==m?(h={key:"data_reference",label:m},t[13]=m,t[14]=h):h=t[14];let _;t[15]!==e?(_=e.formatMessage({id:"udr_ims_application_server_acls.table.header.permissions"}),t[15]=e,t[16]=_):_=t[16];let g;t[17]!==_?(g={key:"permissions",label:_,cellRender:DMt},t[17]=_,t[18]=g):g=t[18];let y;t[19]!==e?(y=e.formatMessage({id:"udr_ims_application_server_acls.table.header.created_at"}),t[19]=e,t[20]=y):y=t[20];let b;t[21]!==y?(b={key:"created_at",label:y,cellRender:$Mt},t[21]=y,t[22]=b):b=t[22];let x;t[23]!==e?(x=e.formatMessage({id:"udr_ims_application_server_acls.table.header.modified_at"}),t[23]=e,t[24]=x):x=t[24];let w;t[25]!==x?(w={key:"modified_at",label:x,cellRender:OMt},t[25]=x,t[26]=w):w=t[26];let C;t[27]!==w||t[28]!==p||t[29]!==h||t[30]!==g||t[31]!==b?(C=[p,h,g,b,w],t[27]=w,t[28]=p,t[29]=h,t[30]=g,t[31]=b,t[32]=C):C=t[32];const k=C;let A;t[33]===Symbol.for("react.memo_cache_sentinel")?(A=_l(ie.provisioning),t[33]=A):A=t[33];const P=s.state!=="idle"||i.state!=="idle";let T;t[34]!==c?(T=X=>{const{id:Q}=X;return c(Q)},t[34]=c,t[35]=T):T=t[35];let j;t[36]!==P||t[37]!==T?(j={...A,disabled:P,onClick:T},t[36]=P,t[37]=T,t[38]=j):j=t[38];let R;t[39]!==e?(R=e.formatMessage({id:"udr_ims_application_server_acls.actions.delete"}),t[39]=e,t[40]=R):R=t[40];let D;t[41]===Symbol.for("react.memo_cache_sentinel")?(D=a.jsx(ge.Trash,{}),t[41]=D):D=t[41];let O;t[42]!==i.state||t[43]!==s.state?(O=s.state!=="idle"||i.state!=="idle"||!Ue(ie.provisioning),t[42]=i.state,t[43]=s.state,t[44]=O):O=t[44];let N;t[45]!==d?(N=X=>void d(X),t[45]=d,t[46]=N):N=t[46];let F;t[47]!==R||t[48]!==O||t[49]!==N?(F={label:R,icon:D,disabled:O,onClick:N},t[47]=R,t[48]=O,t[49]=N,t[50]=F):F=t[50];let U;t[51]!==j||t[52]!==F?(U=[j,F],t[51]=j,t[52]=F,t[53]=U):U=t[53];const z=U;let H;t[54]===Symbol.for("react.memo_cache_sentinel")?(H=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[54]=H):H=t[54];let W;t[55]===Symbol.for("react.memo_cache_sentinel")?(W=a.jsx(Tr,{}),t[55]=W):W=t[55];let K;t[56]!==k||t[57]!==i.state||t[58]!==z?(K=X=>a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(jMt,{})}),a.jsx(Br,{autoScale:!0,loading:i.state!=="idle",orderBy:"id",columns:k,data:X,hidePagination:!0,labelDisplayedRows:LMt,rowsPerPageOptions:$.pageSizeOptions,rowKey:"id",rowActions:z,stickyRowActions:!0,page:0,rowsCount:X?.length,rowsPerPage:X?.length})]}),t[56]=k,t[57]=i.state,t[58]=z,t[59]=K):K=t[59];let q;return t[60]!==n.udrImsApplicationServerAclList||t[61]!==K?(q=a.jsx(I.Suspense,{fallback:H,children:a.jsx(Qt,{resolve:n.udrImsApplicationServerAclList,errorElement:W,children:K})}),t[60]=n.udrImsApplicationServerAclList,t[61]=K,t[62]=q):q=t[62],q};function IMt(t){return{id:t,label:t}}function DMt(t){const{permissions:e}=t;return a.jsx(ks,{items:e.map(IMt),size:"small"})}function $Mt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function OMt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function LMt(){return""}const NMt=Pr();async function FMt({request:t}){const e=await t.json(),r=await Qlt(e);return xt(r)||(Nt(),rt($.urls.udrImsInitialFilters)),Ft(r)}async function UMt({request:t}){const e=await t.json(),r=await Zlt(e);return xt(r)||(Nt(),rt($.urls.udrImsInitialFilters)),Ft(r)}async function BMt({request:t}){const{id:e}=await t.json(),r=await Xlt(e);return xt(r)?Ar():(Nt(),rt($.urls.udrImsInitialFilters)),Ft(r)}const zMt=dr().shape({data:We().required(NMt.formatMessage({id:"udr_ims_initial_filters.new_ims_initial_filter.form_errors.required"})),description:We().strict(!0).matches(new RegExp($.regex.descriptionRm))}),sme=t=>{const e=he.c(25),{id:r}=t,n=Ye(),{dialogClose:s}=Jt(),{dataFetcher:i,upsertFetcher:o}=Ys(),{data:l,state:c,load:u}=i,{data:d,state:f,submit:p}=o,m=r!==void 0;let h;e[0]!==p||e[1]!==r||e[2]!==m?(h=k=>{const{data:A,description:P}=k;if(m){p({id:r,data:A,...!!P&&{description:P}},{action:`${$.urls.udrImsInitialFilters}/update`,method:"POST",encType:"application/json"});return}p({data:A,...!!P&&{description:P}},{action:`${$.urls.udrImsInitialFilters}/create`,method:"POST",encType:"application/json"})},e[0]=p,e[1]=r,e[2]=m,e[3]=h):h=e[3];const _=h;let g;e:{if(!m||!l){let j;e[4]===Symbol.for("react.memo_cache_sentinel")?(j={description:"",data:""},e[4]=j):j=e[4],g=j;break e}const k=l.udrImsInitialFilter,A=k?.description??"",P=k?.data??"";let T;e[5]!==A||e[6]!==P?(T={description:A,data:P},e[5]=A,e[6]=P,e[7]=T):T=e[7],g=T}const y=g;let b,x;e[8]!==r||e[9]!==m||e[10]!==u?(b=()=>{m&&u(`${$.urls.udrImsInitialFilters}/${r}`)},x=[r,m,u],e[8]=r,e[9]=m,e[10]=u,e[11]=b,e[12]=x):(b=e[11],x=e[12]),I.useEffect(b,x);let w;e[13]!==s||e[14]!==d||e[15]!==f||e[16]!==l||e[17]!==n||e[18]!==m||e[19]!==c?(w=()=>a.jsxs(dn,{canWrite:Ue(ie.provisioning),fullHeight:!0,children:[a.jsx(_s,{loading:m&&!l,children:a.jsxs(te,{spacing:2,fullHeight:!0,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"description",children:k=>{const{field:A,meta:P}=k;return a.jsx(dt,{...A,label:n.formatMessage({id:"udr_ims_initial_filters.new_ims_initial_filter.form.description"}),size:"small",error:!!P.error,helperText:P.error,disabled:c!=="idle"||f!=="idle"})}}),a.jsx(Ke,{name:"data",children:k=>{const{field:A,meta:P,form:T}=k,{setFieldValue:j}=T;return a.jsx(Fv,{value:A.value,label:n.formatMessage({id:"udr_ims_initial_filters.new_ims_initial_filter.form.data"}),error:P.error,language:"xml",onChange:R=>{j(A.name,R)}})}}),a.jsx(Xr,{data:d})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{"data-testid":"ims-initial-filter-button-cancel",text:n.formatMessage({id:"udr_ims_initial_filters.new_ims_initial_filter.cancel"}),variant:"outlined",disabled:c!=="idle"||f!=="idle"||!Ue(ie.provisioning),onClick:()=>s()}),a.jsx(Ze,{"data-testid":"ims-initial-filter-button-save",text:n.formatMessage({id:"udr_ims_initial_filters.new_ims_initial_filter.save"}),type:"submit",disabled:c!=="idle"||f!=="idle"||!Ue(ie.provisioning)})]})})]}),e[13]=s,e[14]=d,e[15]=f,e[16]=l,e[17]=n,e[18]=m,e[19]=c,e[20]=w):w=e[20];let C;return e[21]!==_||e[22]!==y||e[23]!==w?(C=a.jsx(Wr,{initialValues:y,enableReinitialize:!0,validationSchema:zMt,onSubmit:_,children:w}),e[21]=_,e[22]=y,e[23]=w,e[24]=C):C=e[24],C},qMt=()=>{const t=he.c(10),e=Ye(),{dialogOpen:r}=Jt();let n;t[0]!==r||t[1]!==e?(n=()=>{r({title:e.formatMessage({id:"udr_ims_initial_filters.toolbar.new_ims_initial_filter"}),fullScreen:!0,content:VMt,closeOnBackdropClick:!1})},t[0]=r,t[1]=e,t[2]=n):n=t[2];const s=n;let i;t[3]!==e?(i=e.formatMessage({id:"common.new"}),t[3]=e,t[4]=i):i=t[4];let o;t[5]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(ge.Add,{}),t[5]=o):o=t[5];let l;t[6]===Symbol.for("react.memo_cache_sentinel")?(l=Ue(ie.provisioning),t[6]=l):l=t[6];let c;return t[7]!==s||t[8]!==i?(c=a.jsx(Ze,{text:i,startIcon:o,onClick:s,disabled:!l}),t[7]=s,t[8]=i,t[9]=c):c=t[9],c};function VMt(){return a.jsx(sme,{})}const HMt=()=>{const t=he.c(62),e=Ye(),r=Gr(),{openConfirmDialog:n}=di(),s=On(),i=gr(),{dialogOpen:o}=Jt(),{pageSize:l,pageSizeOptions:c,changePageSize:u,changePage:d,getRowsCount:f,getPage:p}=Na();let m;t[0]!==o||t[1]!==e?(m=Z=>{Z&&o({title:e.formatMessage({id:"udr_ims_initial_filters.toolbar.new_ims_initial_filter"}),fullScreen:!0,content:()=>a.jsx(sme,{id:Z}),closeOnBackdropClick:!1})},t[0]=o,t[1]=e,t[2]=m):m=t[2];const h=m;let _;t[3]!==i||t[4]!==e||t[5]!==n?(_=Z=>{const{id:re}=Z;re&&n({text:e.formatMessage({id:"udr_ims_initial_filters.application_servers_profiles.dialog.delete.confirm"}),onConfirm:()=>{i.submit({id:re},{action:`${$.urls.udrImsInitialFilters}/delete`,method:"POST",encType:"application/json"})}})},t[3]=i,t[4]=e,t[5]=n,t[6]=_):_=t[6];const g=_;let y;t[7]!==e?(y=e.formatMessage({id:"udr_ims_initial_filters.table.header.id"}),t[7]=e,t[8]=y):y=t[8];let b;t[9]!==y?(b={key:"id",label:y,cellRender:GMt},t[9]=y,t[10]=b):b=t[10];let x;t[11]!==e?(x=e.formatMessage({id:"udr_ims_initial_filters.table.header.description"}),t[11]=e,t[12]=x):x=t[12];let w;t[13]!==x?(w={key:"description",label:x,cellRender:WMt},t[13]=x,t[14]=w):w=t[14];let C;t[15]!==e?(C=e.formatMessage({id:"udr_ims_initial_filters.table.header.created_at"}),t[15]=e,t[16]=C):C=t[16];let k;t[17]!==C?(k={key:"created_at",label:C,cellRender:YMt},t[17]=C,t[18]=k):k=t[18];let A;t[19]!==e?(A=e.formatMessage({id:"udr_ims_initial_filters.table.header.modified_at"}),t[19]=e,t[20]=A):A=t[20];let P;t[21]!==A?(P={key:"modified_at",label:A,cellRender:KMt},t[21]=A,t[22]=P):P=t[22];let T;t[23]!==b||t[24]!==w||t[25]!==k||t[26]!==P?(T=[b,w,k,P],t[23]=b,t[24]=w,t[25]=k,t[26]=P,t[27]=T):T=t[27];const j=T;let R;t[28]===Symbol.for("react.memo_cache_sentinel")?(R=_l(ie.provisioning),t[28]=R):R=t[28];const D=s.state!=="idle"||i.state!=="idle";let O;t[29]!==h?(O=Z=>{const{id:re}=Z;return h(re)},t[29]=h,t[30]=O):O=t[30];let N;t[31]!==D||t[32]!==O?(N={...R,disabled:D,onClick:O},t[31]=D,t[32]=O,t[33]=N):N=t[33];let F;t[34]!==e?(F=e.formatMessage({id:"udr_ims_initial_filters.actions.delete"}),t[34]=e,t[35]=F):F=t[35];let U;t[36]===Symbol.for("react.memo_cache_sentinel")?(U=a.jsx(ge.Trash,{}),t[36]=U):U=t[36];let z;t[37]!==i.state||t[38]!==s.state?(z=s.state!=="idle"||i.state!=="idle"||!Ue(ie.provisioning),t[37]=i.state,t[38]=s.state,t[39]=z):z=t[39];let H;t[40]!==g||t[41]!==F||t[42]!==z?(H={label:F,icon:U,disabled:z,onClick:g},t[40]=g,t[41]=F,t[42]=z,t[43]=H):H=t[43];let W;t[44]!==N||t[45]!==H?(W=[N,H],t[44]=N,t[45]=H,t[46]=W):W=t[46];const K=W;let q;t[47]===Symbol.for("react.memo_cache_sentinel")?(q=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[47]=q):q=t[47];let X;t[48]===Symbol.for("react.memo_cache_sentinel")?(X=a.jsx(Tr,{}),t[48]=X):X=t[48];let Q;t[49]!==d||t[50]!==u||t[51]!==j||t[52]!==i.state||t[53]!==p||t[54]!==f||t[55]!==l||t[56]!==c||t[57]!==K?(Q=Z=>{const{data:re,metadata:fe}=Z;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(qMt,{})}),a.jsx(Br,{autoScale:!0,loading:i.state!=="idle",orderBy:"id",columns:j,data:re,page:p(fe),labelDisplayedRows:QMt,rowsCount:f(fe),rowsPerPage:l,onRowsPerPageChange:u,rowsPerPageOptions:c,rowKey:"id",rowActions:K,stickyRowActions:!0,onPageChange:d(fe)})]})},t[49]=d,t[50]=u,t[51]=j,t[52]=i.state,t[53]=p,t[54]=f,t[55]=l,t[56]=c,t[57]=K,t[58]=Q):Q=t[58];let Y;return t[59]!==r.udrImsInitialFilterList||t[60]!==Q?(Y=a.jsx(I.Suspense,{fallback:q,children:a.jsx(Qt,{resolve:r.udrImsInitialFilterList,errorElement:X,children:Q})}),t[59]=r.udrImsInitialFilterList,t[60]=Q,t[61]=Y):Y=t[61],Y};function GMt(t){const{id:e}=t;return a.jsx(Ap,{text:e||""})}function WMt(t){const{description:e}=t;return a.jsx(_e,{type:"body2",children:e})}function YMt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function KMt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function QMt(){return""}const Rm=t=>{const e=he.c(10),{translationKey:r,value:n}=t,s=Ye();let i;e[0]!==s||e[1]!==r?(i=s.formatMessage({id:r}),e[0]=s,e[1]=r,e[2]=i):i=e[2];let o;e[3]!==i?(o=a.jsx(_e,{fontWeight:"600",children:i}),e[3]=i,e[4]=o):o=e[4];const l=n??"-";let c;e[5]!==l?(c=a.jsx(_e,{children:l}),e[5]=l,e[6]=c):c=e[6];let u;return e[7]!==o||e[8]!==c?(u=a.jsxs(te,{spacing:0,children:[o,c]}),e[7]=o,e[8]=c,e[9]=u):u=e[9],u},ZMt=t=>{const e=he.c(16),{name:r}=t,n=Ye(),{data:s,state:i,load:o}=gr();let l;e:{if(s&&"udrImsPrivateIdentityPrivateStatus"in s){l=s.udrImsPrivateIdentityPrivateStatus;break e}l=null}const c=l;let u,d;e[0]!==o||e[1]!==r?(u=()=>{o(`${$.urls.udrImsPrivateIdentities}/private-status/${r}`)},d=[r,o],e[0]=o,e[1]=r,e[2]=u,e[3]=d):(u=e[2],d=e[3]),I.useEffect(u,d);const f=i==="loading";let p;e[4]!==n||e[5]!==c?(p=!c&&a.jsx(_e,{children:n.formatMessage({id:"udr_ims_private_identities.dialog.ims_private_identity_status.no_data"})}),e[4]=n,e[5]=c,e[6]=p):p=e[6];let m;e[7]!==n||e[8]!==c?(m=!!c&&a.jsxs(te,{spacing:2,children:[!c.location?.ip_sm_gw&&!c.location?.scscf&&a.jsx(_e,{children:n.formatMessage({id:"udr_ims_private_identities.dialog.ims_private_identity_status.no_data"})}),!!c.location?.ip_sm_gw&&a.jsx(pr,{title:n.formatMessage({id:"udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw"}),dense:!0,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,sx:{mt:1},children:[a.jsx(Rm,{value:c.location.ip_sm_gw.host,translationKey:"udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.host"}),a.jsx(Rm,{value:c.location.ip_sm_gw.realm,translationKey:"udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.realm"}),a.jsx(Rm,{value:Mr(c.location.ip_sm_gw.registered_at),translationKey:"udr_ims_private_identities.dialog.ims_private_identity_status.location.ip_sm_gw.registered_at"})]})})}),!!c.location?.scscf&&a.jsx(pr,{title:n.formatMessage({id:"udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf"}),dense:!0,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,sx:{mt:1},children:[a.jsx(Rm,{value:c.location.scscf.host,translationKey:"udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.host"}),a.jsx(Rm,{value:c.location.scscf.realm,translationKey:"udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.realm"}),a.jsx(Rm,{value:c.location.scscf.name,translationKey:"udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.name"}),a.jsx(Rm,{value:Mr(c.location.scscf.modified_at),translationKey:"udr_ims_private_identities.dialog.ims_private_identity_status.location.scscf.modified_at"})]})})})]}),e[7]=n,e[8]=c,e[9]=m):m=e[9];let h;e[10]!==p||e[11]!==m?(h=a.jsxs(a.Fragment,{children:[p,m]}),e[10]=p,e[11]=m,e[12]=h):h=e[12];let _;return e[13]!==f||e[14]!==h?(_=a.jsx(_s,{loading:f,children:h}),e[13]=f,e[14]=h,e[15]=_):_=e[15],_},XMt=t=>{const e=he.c(16),{name:r}=t,n=Ye(),{data:s,state:i,load:o}=gr();let l;e:{if(s&&"udrImsPrivateIdentityPublicStatus"in s){l=s.udrImsPrivateIdentityPublicStatus;break e}l=null}const c=l;let u,d;e[0]!==o||e[1]!==r?(u=()=>{o(`${$.urls.udrImsPrivateIdentities}/public-status/${r}`)},d=[r,o],e[0]=o,e[1]=r,e[2]=u,e[3]=d):(u=e[2],d=e[3]),I.useEffect(u,d);const f=i==="loading";let p;e[4]!==n||e[5]!==c?(p=!c&&a.jsx(_e,{children:n.formatMessage({id:"udr_ims_private_identities.dialog.ims_private_identity_status.no_data"})}),e[4]=n,e[5]=c,e[6]=p):p=e[6];let m;e[7]!==n||e[8]!==c?(m=!!c&&a.jsxs(te,{spacing:2,children:[a.jsxs(te,{spacing:0,children:[a.jsx(_e,{fontWeight:"600",children:n.formatMessage({id:"udr_ims_private_identities.dialog.ims_public_identity_status.status"})}),a.jsxs(_e,{children:[c.status," ",c.pending?`(${n.formatMessage({id:"udr_ims_private_identities.dialog.ims_public_identity_status.pending"})})`:""]})]}),a.jsxs(te,{spacing:0,children:[a.jsx(_e,{fontWeight:"600",children:n.formatMessage({id:"udr_ims_private_identities.dialog.ims_public_identity_status.modified_at"})}),a.jsx(_e,{children:Mr(c.modified_at)})]})]}),e[7]=n,e[8]=c,e[9]=m):m=e[9];let h;e[10]!==p||e[11]!==m?(h=a.jsxs(a.Fragment,{children:[p,m]}),e[10]=p,e[11]=m,e[12]=h):h=e[12];let _;return e[13]!==f||e[14]!==h?(_=a.jsx(_s,{loading:f,children:h}),e[13]=f,e[14]=h,e[15]=_):_=e[15],_},JMt=t=>{const e=he.c(29),{row:r,onShowPublicStatusClick:n,isLoading:s}=t,i=s===void 0?!1:s,o=Ye(),l=i?"0.5":"1";let c;e[0]!==l?(c={opacity:l},e[0]=l,e[1]=c):c=e[1];let u;e[2]!==o||e[3]!==r.server_name?(u=r.server_name&&a.jsxs(a.Fragment,{children:[a.jsx(Is,{size:{xs:12,sm:2},children:a.jsx(_e,{fontWeight:"600",children:o.formatMessage({id:"udr_ims_private_identities.table.value.server_name"})})}),a.jsx(Is,{size:{xs:12,sm:10},children:r.server_name})]}),e[2]=o,e[3]=r.server_name,e[4]=u):u=e[4];let d;e[5]!==o||e[6]!==r.sip_digest_provisioned?(d=r.sip_digest_provisioned!==void 0&&a.jsxs(a.Fragment,{children:[a.jsx(Is,{size:{xs:12,sm:2},children:a.jsx(_e,{fontWeight:"600",children:o.formatMessage({id:"udr_ims_private_identities.table.value.sip_digest_provisioned"})})}),a.jsx(Is,{size:{xs:12,sm:10},children:r.sip_digest_provisioned?a.jsx(bi,{label:o.formatMessage({id:"udr_ims_private_identities.table.value.sip_digest_provisioned_true"}),status:nn.SUCCESS}):a.jsx(bi,{label:o.formatMessage({id:"udr_ims_private_identities.table.value.sip_digest_provisioned_false"}),status:nn.ERROR})})]}),e[5]=o,e[6]=r.sip_digest_provisioned,e[7]=d):d=e[7];let f;e[8]===Symbol.for("react.memo_cache_sentinel")?(f={xs:12,sm:2},e[8]=f):f=e[8];let p;e[9]!==o?(p=o.formatMessage({id:"udr_ims_private_identities.table.value.registration_sets"}),e[9]=o,e[10]=p):p=e[10];let m;e[11]!==p?(m=a.jsx(Is,{size:f,children:a.jsx(_e,{fontWeight:"600",children:p})}),e[11]=p,e[12]=m):m=e[12];let h;e[13]===Symbol.for("react.memo_cache_sentinel")?(h={xs:12,sm:10},e[13]=h):h=e[13];let _;if(e[14]!==o||e[15]!==n||e[16]!==r.registration_sets){let b;e[18]!==o||e[19]!==n?(b=x=>a.jsx(pr,{folder:!0,dense:!0,title:o.formatMessage({id:"udr_ims_private_identities.table.value.public_identities"}),elevation:2,children:a.jsxs(Kt,{children:[x.description&&a.jsx(_e,{type:"body2",color:"text.secondary",children:x.description}),a.jsx(al,{children:x.public_identities.map(w=>a.jsx(Is,{size:{xs:12,md:6,xl:4},sx:{position:"relative"},children:a.jsx(pr,{folder:!0,elevation:4,sx:{flex:"1 1 auto"},children:a.jsxs(Kt,{sx:{position:"relative"},children:[a.jsx("div",{title:o.formatMessage({id:"udr_ims_private_identities.table.status"}),style:{position:"absolute",top:3,right:3},children:a.jsx(Zr,{onClick:()=>n(w.name),children:a.jsx(ge.Info,{})})}),a.jsxs(te,{spacing:1,children:[w.barred?a.jsx(bi,{status:nn.ERROR,label:o.formatMessage({id:"udr_ims_private_identities.table.value.public_identity_barred"})}):a.jsx(bi,{status:nn.SUCCESS,label:o.formatMessage({id:"udr_ims_private_identities.table.value.public_identity_authorized"})}),a.jsxs(te,{spacing:0,children:[a.jsx(_e,{fontWeight:"600",type:"body2",children:o.formatMessage({id:"udr_ims_private_identities.table.value.public_identity_name"})}),a.jsx(_e,{type:"body2",sx:{wordBreak:"break-all"},children:w.name})]}),w.service_profile&&a.jsxs(te,{spacing:0,children:[a.jsx(_e,{fontWeight:"600",type:"body2",children:o.formatMessage({id:"udr_ims_private_identities.table.value.service_profile"})}),a.jsx(_e,{type:"body2",sx:{wordBreak:"break-all"},children:w.service_profile})]}),!!w.application_servers_profiles?.length&&a.jsxs(te,{spacing:0,children:[a.jsx(_e,{fontWeight:"600",type:"body2",children:o.formatMessage({id:"udr_ims_private_identities.table.value.application_servers_profiles"})}),a.jsx(ks,{items:w.application_servers_profiles.map(ePt)})]})]})]})})},w.name))})]})},x.description),e[18]=o,e[19]=n,e[20]=b):b=e[20],_=r.registration_sets.map(b),e[14]=o,e[15]=n,e[16]=r.registration_sets,e[17]=_}else _=e[17];let g;e[21]!==_?(g=a.jsx(Is,{size:h,children:_}),e[21]=_,e[22]=g):g=e[22];let y;return e[23]!==g||e[24]!==c||e[25]!==u||e[26]!==d||e[27]!==m?(y=a.jsxs(al,{sx:c,children:[u,d,m,g]}),e[23]=g,e[24]=c,e[25]=u,e[26]=d,e[27]=m,e[28]=y):y=e[28],y};function ePt(t){return{label:t.service_indication,id:t.service_indication}}const ea=Pr();var Gm=(t=>(t.DISTINCT_PUI="DISTINCT_PUI",t.PSI="PSI",t))(Gm||{}),Td=(t=>(t.VOLTE="VOLTE",t.PSI="PSI",t))(Td||{});const tPt=Object.keys(Td),rPt=Object.keys(Gm),nC={registration_sets:[],server_name:"",status:"ACTIVE",supi:"",type:"PSI"},Bee=(t,e)=>t.map(({public_identities:r,description:n})=>({_uuid:gn(),description:n??"",public_identities:r.map(({barred:s,name:i,service_profile:o,application_servers_profiles:l})=>({_uuid:gn(),barred:s,name:i,...e&&o&&{service_profile:o},...l&&{application_servers_profiles:l}}))})),zee=(t,e)=>t.map(({public_identities:r,description:n})=>({description:n&&n.length>0?n:null,public_identities:r.map(({barred:s,name:i,service_profile:o,application_servers_profiles:l})=>({barred:s,name:i,...l&&{application_servers_profiles:l},...e&&o&&{service_profile:o}}))})),nPt=t=>{if(!t)return nC;switch(t.type){case"PSI":{const{registration_sets:e,status:r,type:n,supi:s,server_name:i}=t;return{...nC,server_name:i,status:r,registration_sets:Bee(e,!1),supi:s,type:n}}case"DISTINCT_PUI":{const{registration_sets:e,status:r,supi:n,type:s,sip_digest_provisioned:i}=t;return{...nC,registration_sets:Bee(e,!0),status:r,supi:n,type:s,isOverridingKeys:!1,sip_digest_provisioned:i}}}},qee=({values:t,isEditing:e})=>{switch(t.type){case"PSI":{const{registration_sets:r,status:n,type:s,supi:i,server_name:o}=t;return{...!e&&{supi:i},...!e&&{type:s},status:n,registration_sets:zee(r,!1),server_name:o}}case"DISTINCT_PUI":{const{isOverridingKeys:r,registration_sets:n,status:s,supi:i,type:o,sip_digest_password:l,sip_digest_realm:c}=t;return{...!e&&{supi:i},...!e&&{type:o},status:s,isOverridingKeys:r,registration_sets:zee(n,!0),...l&&c&&r&&{sip_digest:{password:l,realm:c}}}}}},sPt=dr().shape({supi:We().strict(!0).required(ea.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form_errors.required"})).when("type",(t,e)=>{switch(t){case"PSI":return e.strict(!0).matches(new RegExp($.regex.nai));case"VOLTE":return e.strict(!0).matches(new RegExp($.regex.imsi))}}),type:We().required(ea.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form_errors.required"})),service_profile:We().strict(!0).when("type",(t,e)=>{switch(t){case"PSI":return e;case"VOLTE":return e.strict(!0).matches(new RegExp(`(${$.regex.idString})|(${$.regex.uuid})`))}}),public_identity:We().when("type",(t,e)=>{switch(t){case"PSI":return e.required(ea.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form_errors.required"}));case"VOLTE":return e}}),server_name:We().when("type",(t,e)=>{switch(t){case"PSI":return e.required(ea.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form_errors.required"}));case"VOLTE":return e}})}),iPt=dr().shape({supi:We().strict(!0).required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"})).when("type",(t,e)=>{switch(t){case"PSI":return e.strict(!0).matches(new RegExp($.regex.nai));case"DISTINCT_PUI":return e.strict(!0).matches(new RegExp(`${$.regex.imsi}|${$.regex.nai}`))}}),type:We().required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"})),status:We(),registration_sets:yr().when("type",t=>{switch(t){case"PSI":return yr(dr({description:We(),public_identities:yr().of(dr().shape({barred:li(),name:We().required()})).min(1).required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"}))})).min(1).required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"}));case"DISTINCT_PUI":return yr(dr({description:We(),public_identities:yr().of(dr().shape({barred:li(),name:We().required(),service_profile:We().matches(new RegExp(`(${$.regex.idString})|(${$.regex.uuid})`))})).min(1).required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"}))})).min(1).required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"}))}}),sip_digest_password:We().when("isOverridingKeys",(t,e)=>{if(t)return e.required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"}))}),sip_digest_realm:We().when("isOverridingKeys",(t,e)=>{if(t)return e.required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"}))}),server_name:We().when("type",(t,e)=>{switch(t){case"PSI":return e.required(ea.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.required"}));case"DISTINCT_PUI":return e}})}).test("sip_digest",`${ea.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form_errors.sip_digest"})}`,function({sip_digest_password:t,sip_digest_realm:e,type:r}){return r!=="DISTINCT_PUI"?!0:!!t&&t.length>0&&!e||!!e&&e.length>0&&!t?this.createError({path:"sip_digest",message:`${ea.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form_errors.sip_digest"})}`}):!0}),oPt=()=>{const t=he.c(13),e=Ye(),{dialogClose:r}=Jt(),{upsertFetcher:n}=Ys(),{data:s,state:i,submit:o}=n;let l;t[0]!==o?(l=h=>{let _;e:switch(h.type){case Td.PSI:{const{type:g,public_identity:y,supi:b,server_name:x}=h;_={type:g,public_identity:y,supi:b,server_name:x};break e}case Td.VOLTE:{const{type:g,supi:y,service_profile:b}=h;_={type:g,supi:y,...b&&{service_profile:b}}}}o(_,{action:`${$.urls.udrImsPrivateIdentities}/create-basic`,method:"POST",encType:"application/json"})},t[0]=o,t[1]=l):l=t[1];const c=l;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u={public_identity:"",server_name:"",supi:"",type:Td.PSI,service_profile:""},t[2]=u):u=t[2];const d=u;let f;t[3]!==r?(f=()=>r(),t[3]=r,t[4]=f):f=t[4];let p;t[5]!==s||t[6]!==i||t[7]!==e?(p=h=>{const{values:_}=h;return a.jsxs(Kd,{style:{display:"flex",flexDirection:"column",flexGrow:"1",maxHeight:"100%",overflow:"auto"},children:[a.jsx(_s,{children:a.jsxs(te,{spacing:2,fullHeight:!0,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"type",children:g=>{const{field:y,meta:b,form:x}=g,{setFieldValue:w}=x,C=k=>{w(y.name,k),k===Td.PSI&&w("service_profile",""),k===Td.VOLTE&&(w("server_name",""),w("public_identity",""))};return a.jsx(qs,{...y,label:e.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form.type"}),size:"small",error:!!b.error,helperText:b.error,disabled:i==="loading"||i==="submitting",onChange:k=>C(k.target.value),children:tPt.map(aPt)})}}),a.jsx(Ke,{name:"supi",children:g=>{const{field:y,meta:b}=g;return a.jsx(dt,{...y,label:e.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form.supi"}),size:"small",error:!!b.error,helperText:b.error,disabled:i==="loading"||i==="submitting"})}}),_.type===Td.PSI&&a.jsxs(a.Fragment,{children:[a.jsx(Ke,{name:"server_name",children:g=>{const{field:y,meta:b}=g;return a.jsx(dt,{...y,label:e.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form.server_name"}),size:"small",error:!!b.error,helperText:b.error,disabled:i==="loading"||i==="submitting"})}}),a.jsx(Ke,{name:"public_identity",children:g=>{const{field:y,meta:b}=g;return a.jsx(dt,{...y,label:e.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form.public_identity"}),size:"small",error:!!b.error,helperText:b.error,disabled:i==="loading"||i==="submitting"})}})]}),_.type===Td.VOLTE&&a.jsx(a.Fragment,{children:a.jsx(Ke,{name:"service_profile",children:g=>{const{field:y,meta:b}=g;return a.jsx(dt,{...y,label:e.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.form.service_profile"}),size:"small",error:!!b.error,helperText:b.error,disabled:i==="loading"||i==="submitting"})}})}),a.jsx(Xr,{data:s})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:e.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.cancel"}),type:"reset",variant:"outlined",disabled:i==="loading"||i==="submitting"}),a.jsx(Ze,{text:e.formatMessage({id:"udr_ims_private_identities.new_ims_private_identity_basic.save"}),type:"submit",disabled:i==="loading"||i==="submitting"})]})})]})},t[5]=s,t[6]=i,t[7]=e,t[8]=p):p=t[8];let m;return t[9]!==c||t[10]!==f||t[11]!==p?(m=a.jsx(Wr,{initialValues:d,validationSchema:sPt,onSubmit:c,onReset:f,children:p}),t[9]=c,t[10]=f,t[11]=p,t[12]=m):m=t[12],m};function aPt(t){return a.jsx(En,{value:t,children:t},t)}const lPt=()=>{const t=he.c(104),e=Ye(),{openConfirmDialog:r}=di(),n=Gr(),s=On(),i=ys(),o=gr(),{dialogOpen:l}=Jt(),{pageSize:c,pageSizeOptions:u,changePageSize:d,changePage:f,getRowsCount:p,getPage:m}=Na();let h;t[0]!==i?(h=()=>{i(`${$.urls.udrImsPrivateIdentities}/new`)},t[0]=i,t[1]=h):h=t[1];const _=h;let g;t[2]!==l||t[3]!==e?(g=()=>{l({title:e.formatMessage({id:"udr_ims_private_identities.toolbar.new_ims_private_identity_basic"}),content:cPt})},t[2]=l,t[3]=e,t[4]=g):g=t[4];const y=g;let b;t[5]!==o||t[6]!==e||t[7]!==r?(b=we=>{const{name:Me}=we;Me&&r({text:e.formatMessage({id:"udr_ims_service_profiles.application_servers_profiles.dialog.delete.confirm"}),onConfirm:()=>{o.submit({name:Me},{action:`${$.urls.udrImsPrivateIdentities}/delete`,method:"POST",encType:"application/json"})}})},t[5]=o,t[6]=e,t[7]=r,t[8]=b):b=t[8];const x=b;let w;t[9]!==l||t[10]!==e?(w=we=>{l({title:e.formatMessage({id:"udr_ims_private_identities.dialog.ims_private_identity_status.title"}),content:()=>a.jsx(ZMt,{name:we}),closeIcon:!0,closeOnBackdropClick:!0})},t[9]=l,t[10]=e,t[11]=w):w=t[11];const C=w;let k;t[12]!==l||t[13]!==e?(k=we=>{l({title:e.formatMessage({id:"udr_ims_private_identities.dialog.ims_public_identity_status.title"}),content:()=>a.jsx(XMt,{name:we}),closeIcon:!0,closeOnBackdropClick:!0})},t[12]=l,t[13]=e,t[14]=k):k=t[14];const A=k;let P;t[15]!==e?(P=e.formatMessage({id:"udr_ims_private_identities.table.header.name"}),t[15]=e,t[16]=P):P=t[16];let T;t[17]!==P?(T={key:"name",label:P,cellRender:uPt},t[17]=P,t[18]=T):T=t[18];let j;t[19]!==e?(j=e.formatMessage({id:"udr_ims_private_identities.table.header.supi"}),t[19]=e,t[20]=j):j=t[20];let R;t[21]!==j?(R={key:"supi",label:j,cellRender:dPt},t[21]=j,t[22]=R):R=t[22];let D;t[23]!==e?(D=e.formatMessage({id:"udr_ims_private_identities.table.header.type"}),t[23]=e,t[24]=D):D=t[24];let O;t[25]!==D?(O={key:"type",label:D,cellRender:fPt},t[25]=D,t[26]=O):O=t[26];let N;t[27]!==e?(N=e.formatMessage({id:"udr_ims_private_identities.table.header.status"}),t[27]=e,t[28]=N):N=t[28];let F;t[29]!==N?(F={key:"status",label:N,cellRender:pPt},t[29]=N,t[30]=F):F=t[30];let U;t[31]!==e?(U=e.formatMessage({id:"udr_ims_private_identities.table.header.created_at"}),t[31]=e,t[32]=U):U=t[32];let z;t[33]!==U?(z={key:"created_at",label:U,cellRender:mPt},t[33]=U,t[34]=z):z=t[34];let H;t[35]!==e?(H=e.formatMessage({id:"udr_ims_private_identities.table.header.modified_at"}),t[35]=e,t[36]=H):H=t[36];let W;t[37]!==H?(W={key:"modified_at",label:H,cellRender:hPt},t[37]=H,t[38]=W):W=t[38];let K;t[39]!==O||t[40]!==F||t[41]!==z||t[42]!==W||t[43]!==T||t[44]!==R?(K=[T,R,O,F,z,W],t[39]=O,t[40]=F,t[41]=z,t[42]=W,t[43]=T,t[44]=R,t[45]=K):K=t[45];const q=K;let X;t[46]!==e?(X=e.formatMessage({id:"udr_ims_private_identities.actions.status"}),t[46]=e,t[47]=X):X=t[47];let Q;t[48]===Symbol.for("react.memo_cache_sentinel")?(Q=a.jsx(ge.Info,{}),t[48]=Q):Q=t[48];let Y;t[49]!==C?(Y=we=>{const{name:Me}=we;return C(Me)},t[49]=C,t[50]=Y):Y=t[50];let Z;t[51]!==X||t[52]!==Y?(Z={label:X,icon:Q,onClick:Y},t[51]=X,t[52]=Y,t[53]=Z):Z=t[53];let re;t[54]===Symbol.for("react.memo_cache_sentinel")?(re=_l(ie.provisioning),t[54]=re):re=t[54];const fe=s.state!=="idle"||o.state!=="idle";let de;t[55]!==i?(de=we=>{const{name:Me}=we;i(`${$.urls.udrImsPrivateIdentities}/${Me}`)},t[55]=i,t[56]=de):de=t[56];let se;t[57]!==fe||t[58]!==de?(se={...re,disabled:fe,onClick:de},t[57]=fe,t[58]=de,t[59]=se):se=t[59];let le;t[60]!==e?(le=e.formatMessage({id:"udr_ims_private_identities.actions.edit_application_servers_profiles"}),t[60]=e,t[61]=le):le=t[61];let ee;t[62]===Symbol.for("react.memo_cache_sentinel")?(ee=a.jsx(ge.Sync,{}),t[62]=ee):ee=t[62];const J=s.state!=="idle"||o.state!=="idle";let me;t[63]!==i?(me=we=>{const{name:Me}=we;i(`${$.urls.udrImsPrivateIdentities}/${Me}/application-servers-profiles`)},t[63]=i,t[64]=me):me=t[64];let pe;t[65]!==le||t[66]!==J||t[67]!==me?(pe={label:le,icon:ee,disabled:J,onClick:me},t[65]=le,t[66]=J,t[67]=me,t[68]=pe):pe=t[68];let Se;t[69]!==e?(Se=e.formatMessage({id:"udr_ims_private_identities.actions.delete"}),t[69]=e,t[70]=Se):Se=t[70];let ve;t[71]===Symbol.for("react.memo_cache_sentinel")?(ve=a.jsx(ge.Trash,{}),t[71]=ve):ve=t[71];let xe;t[72]!==o.state||t[73]!==s.state?(xe=s.state!=="idle"||o.state!=="idle"||!Ue(ie.provisioning),t[72]=o.state,t[73]=s.state,t[74]=xe):xe=t[74];let qe;t[75]!==x||t[76]!==Se||t[77]!==xe?(qe={label:Se,icon:ve,onClick:x,disabled:xe},t[75]=x,t[76]=Se,t[77]=xe,t[78]=qe):qe=t[78];let Le;t[79]!==Z||t[80]!==se||t[81]!==pe||t[82]!==qe?(Le=[Z,se,pe,qe],t[79]=Z,t[80]=se,t[81]=pe,t[82]=qe,t[83]=Le):Le=t[83];const Te=Le;let je;t[84]===Symbol.for("react.memo_cache_sentinel")?(je=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[84]=je):je=t[84];let Ge;t[85]===Symbol.for("react.memo_cache_sentinel")?(Ge=a.jsx(Tr,{}),t[85]=Ge):Ge=t[85];let nt;t[86]!==f||t[87]!==d||t[88]!==q||t[89]!==o.state||t[90]!==m||t[91]!==p||t[92]!==y||t[93]!==_||t[94]!==e||t[95]!==s.state||t[96]!==c||t[97]!==u||t[98]!==Te||t[99]!==A?(nt=we=>{const{data:Me,metadata:$e}=we;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsxs(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:[a.jsx(Ze,{variant:"outlined",text:e.formatMessage({id:"udr_ims_private_identities.toolbar.new_ims_private_identity_basic"}),startIcon:a.jsx(ge.Add,{}),onClick:y,disabled:!Ue(ie.provisioning)}),a.jsx(Ze,{text:e.formatMessage({id:"common.new"}),startIcon:a.jsx(ge.Add,{}),onClick:_,disabled:!Ue(ie.provisioning)})]})}),a.jsx(Br,{autoScale:!0,loading:o.state!=="idle",orderBy:"name",columns:q,data:Me,page:m($e),labelDisplayedRows:gPt,rowsCount:p($e),rowsPerPage:c,onRowsPerPageChange:d,rowsPerPageOptions:u,rowKey:"name",rowActions:Te,stickyRowActions:!0,onPageChange:f($e),rowDetail:{content:Ve=>a.jsx(JMt,{row:Ve,onShowPublicStatusClick:Ne=>A(Ne),isLoading:s.state!=="idle"||o.state!=="idle"})}})]})},t[86]=f,t[87]=d,t[88]=q,t[89]=o.state,t[90]=m,t[91]=p,t[92]=y,t[93]=_,t[94]=e,t[95]=s.state,t[96]=c,t[97]=u,t[98]=Te,t[99]=A,t[100]=nt):nt=t[100];let Re;return t[101]!==n.udrImsPrivateIdentityList||t[102]!==nt?(Re=a.jsx(I.Suspense,{fallback:je,children:a.jsx(Qt,{resolve:n.udrImsPrivateIdentityList,errorElement:Ge,children:nt})}),t[101]=n.udrImsPrivateIdentityList,t[102]=nt,t[103]=Re):Re=t[103],Re};function cPt(){return a.jsx(oPt,{})}function uPt(t){const{name:e}=t;return a.jsx(_e,{type:"body2",children:e})}function dPt(t){const{supi:e}=t;return a.jsx(_e,{type:"body2",children:e})}function fPt(t){const{type:e}=t;return a.jsx(_e,{type:"body2",children:e})}function pPt(t){const{status:e}=t;return a.jsx(bi,{status:e==="ACTIVE"?nn.SUCCESS:nn.ERROR,asChip:!0,label:e})}function mPt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function hPt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function gPt(){return""}const Vee=Pr(),_Pt=dr().shape({service_indication:We().required(Vee.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.form.errors.required"})),service_data:We().required(Vee.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.form.errors.required"}))}),Hee=t=>{const e=he.c(20),{applicationServerProfile:r,publicIdentity:n,dialogId:s}=t,i=Ye(),{dialogClose:o}=Jt(),{upsertFetcher:l}=Ys(),{data:c,state:u,submit:d}=l,{name:f}=ko(),p=!!r;let m;e[0]!==d||e[1]!==p||e[2]!==f||e[3]!==n?(m=C=>{if(p){d({...C,public_identity:n},{action:`${$.urls.udrImsPrivateIdentities}/${f}/application-servers-profiles/update`,method:"POST",encType:"application/json"});return}d({...C,public_identity:n},{action:`${$.urls.udrImsPrivateIdentities}/${f}/application-servers-profiles/create`,method:"POST",encType:"application/json"})},e[0]=d,e[1]=p,e[2]=f,e[3]=n,e[4]=m):m=e[4];const h=m;r?.service_data,r?.service_indication;const _=r?.service_indication||"",g=r?.service_data||"";let y;e[5]!==n||e[6]!==_||e[7]!==g?(y={service_indication:_,service_data:g,public_identity:n},e[5]=n,e[6]=_,e[7]=g,e[8]=y):y=e[8];const b=y;let x;e[9]!==o||e[10]!==s||e[11]!==c||e[12]!==u||e[13]!==i||e[14]!==p?(x=()=>a.jsxs(dn,{canWrite:Ue(ie.provisioning),fullHeight:!0,children:[a.jsx(_s,{children:a.jsxs(te,{fullHeight:!0,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"service_indication",children:C=>{const{field:k,meta:A}=C;return a.jsx(dt,{...k,label:i.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.form.service_indication"}),error:!!A.error,size:"small",helperText:A.error,disabled:u==="submitting"||p})}}),a.jsx(Ke,{name:"service_data",children:C=>{const{field:k,meta:A,form:P}=C,{setFieldValue:T}=P;return a.jsx(Fv,{value:k.value,language:"xml",label:i.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.form.service_data"}),error:A.error,onChange:j=>{T(k.name,j)}})}}),a.jsx(Xr,{data:c})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{"data-testid":"ims-initial-filter-button-cancel",text:i.formatMessage({id:"udr_ims_initial_filters.new_ims_initial_filter.cancel"}),variant:"outlined",disabled:!Ue(ie.provisioning)||u!=="idle",onClick:()=>o(s)}),a.jsx(Ze,{"data-testid":"ims-initial-filter-button-save",text:i.formatMessage({id:"udr_ims_initial_filters.new_ims_initial_filter.save"}),type:"submit",disabled:!Ue(ie.provisioning)||u!=="idle"})]})})]}),e[9]=o,e[10]=s,e[11]=c,e[12]=u,e[13]=i,e[14]=p,e[15]=x):x=e[15];let w;return e[16]!==h||e[17]!==b||e[18]!==x?(w=a.jsx(Wr,{initialValues:b,enableReinitialize:!0,validationSchema:_Pt,onSubmit:h,children:x}),e[16]=h,e[17]=b,e[18]=x,e[19]=w):w=e[19],w},vPt=()=>{const t=he.c(23),e=Ye(),{openConfirmDialog:r}=di(),{dialogOpen:n}=Jt(),{submit:s}=gr(),i=zn(),{name:o}=ko();let l;t[0]!==o||t[1]!==s?(l=x=>{const{public_identity:w,service_indication:C}=x;s({public_identity:w,service_indication:C},{action:`${$.urls.udrImsPrivateIdentities}/${o}/application-servers-profiles/delete`,method:"POST",encType:"application/json"})},t[0]=o,t[1]=s,t[2]=l):l=t[2];const c=l;let u;t[3]!==n||t[4]!==e?(u=x=>{const{public_identity:w}=x;n({id:"application_servers_profiles_create",fullScreen:!0,title:e.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.dialog.create.title"}),content:()=>a.jsx(Hee,{publicIdentity:w,dialogId:"application_servers_profiles_create"}),closeOnBackdropClick:!1})},t[3]=n,t[4]=e,t[5]=u):u=t[5];const d=u;let f;t[6]!==n||t[7]!==e?(f=x=>{const{service_indication:w,service_data:C,public_identity:k}=x,A=`application_servers_profiles_edit-${w}-${C}`;n({id:A,fullScreen:!0,title:e.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.dialog.edit.title"}),content:()=>a.jsx(Hee,{publicIdentity:k,applicationServerProfile:{service_indication:w,service_data:C},dialogId:A}),closeOnBackdropClick:!1})},t[6]=n,t[7]=e,t[8]=f):f=t[8];const p=f;let m;t[9]!==c||t[10]!==e||t[11]!==r?(m=x=>{const{service_indication:w,public_identity:C}=x,k=`application_servers_profiles_delete-${w}`;r({id:k,text:e.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.dialog.delete.confirm"},{service_indication:w}),onConfirm:()=>void c({service_indication:w,public_identity:C})})},t[9]=c,t[10]=e,t[11]=r,t[12]=m):m=t[12];const h=m;let _;t[13]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(Dt,{variant:"rounded",height:"600px",width:"100%"}),t[13]=_):_=t[13];let g;t[14]===Symbol.for("react.memo_cache_sentinel")?(g=a.jsx(Tr,{}),t[14]=g):g=t[14];let y;t[15]!==d||t[16]!==h||t[17]!==p||t[18]!==e?(y=x=>a.jsxs(te,{spacing:2,sx:{m:2},children:[!x&&a.jsx(Lr,{severity:"error",message:e.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.no_private_identity"})}),!!x&&x.registration_sets.length&&a.jsx(Jn,{children:x.registration_sets.map((w,C)=>{const k=w.description||`Registration Set ${C+1}`;return a.jsx(xr,{expanded:!0,title:k,elevation:2,content:a.jsx(te,{children:w.public_identities.map(A=>{const P=[{label:e.formatMessage({id:Ue(ie.provisioning)?"udr_ims_private_identities.application_servers_profiles.form.actions.edit":"udr_ims_private_identities.application_servers_profiles.form.actions.show"}),icon:a.jsx(ge.Edit,{}),onClick:T=>{T.item&&p({...T.item,public_identity:A.name})}},{label:e.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.form.actions.delete"}),icon:a.jsx(ge.Trash,{}),onClick:T=>{T.item&&h({...T.item,public_identity:A.name})}}];return a.jsx(pr,{title:A.name,elevation:3,headerActionsComponent:a.jsx(Ze,{text:e.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.form.actions.create"}),variant:"outlined",size:"small",onClick:()=>d({public_identity:A.name}),disabled:!Ue(ie.provisioning),startIcon:a.jsx(ge.Add,{})}),children:a.jsx(s7,{divided:!0,listItemActions:P,sx:{p:0},children:A.application_servers_profiles?.map(yPt)??a.jsx(a.Fragment,{})})},A.name)})})},k)})})]}),t[15]=d,t[16]=h,t[17]=p,t[18]=e,t[19]=y):y=t[19];let b;return t[20]!==i.udrImsPrivateIdentity||t[21]!==y?(b=a.jsx(I.Suspense,{fallback:_,children:a.jsx(Qt,{resolve:i.udrImsPrivateIdentity,errorElement:g,children:y})}),t[20]=i.udrImsPrivateIdentity,t[21]=y,t[22]=b):b=t[22],b};function yPt(t,e){return a.jsx(i7,{primaryText:t.service_indication,item:t,index:e,selected:!1},t.service_indication)}const bPt=()=>{const t=he.c(33),e=Ye(),{name:r}=ko(),{submit:n,state:s,data:i}=gr(),{submit:o}=gr(),l=zn(),{confirmationSimpleDialogOpen:c}=Jt(),u=ys(),d=r!=="new";let f;t[0]!==r||t[1]!==u?(f=()=>{u(`${$.urls.udrImsPrivateIdentities}/${r}/application-servers-profiles`)},t[0]=r,t[1]=u,t[2]=f):f=t[2];const p=f;let m;t[3]!==c||t[4]!==o||t[5]!==e||t[6]!==r?(m=()=>{r&&c({title:e.formatMessage({id:"udr_ims_service_profiles.application_servers_profiles.dialog.delete.confirm"}),onConfirm:()=>{o({name:r},{action:`${$.urls.udrImsPrivateIdentities}/delete`,method:"POST",encType:"application/json"})}})},t[3]=c,t[4]=o,t[5]=e,t[6]=r,t[7]=m):m=t[7];const h=m;let _;t[8]!==n||t[9]!==d||t[10]!==r?(_=T=>{r&&(d?n({name:r,...qee({values:T,isEditing:d})},{action:`${$.urls.udrImsPrivateIdentities}/update`,method:"POST",encType:"application/json"}):n({...qee({values:T,isEditing:d})},{action:`${$.urls.udrImsPrivateIdentities}/create`,method:"POST",encType:"application/json"}))},t[8]=n,t[9]=d,t[10]=r,t[11]=_):_=t[11];const g=_;let y;t[12]!==p||t[13]!==h||t[14]!==e||t[15]!==d?(y=d&&a.jsxs(te,{direction:"row",children:[a.jsx(Ze,{text:e.formatMessage({id:"udr_ims_private_identities.actions.edit_application_servers_profiles"}),startIcon:a.jsx(ge.Sync,{}),variant:"outlined",onClick:p,disabled:!Ue(ie.provisioning)}),a.jsx(Ze,{text:e.formatMessage({id:"common.delete"}),startIcon:a.jsx(ge.Trash,{}),variant:"outlined",disabled:!Ue(ie.provisioning),onClick:h})]}),t[12]=p,t[13]=h,t[14]=e,t[15]=d,t[16]=y):y=t[16];let b;t[17]!==y?(b=a.jsx(hs,{children:y}),t[17]=y,t[18]=b):b=t[18];let x;t[19]===Symbol.for("react.memo_cache_sentinel")?(x=a.jsx(Dt,{variant:"rounded",height:"926px",width:"100%"}),t[19]=x):x=t[19];const w=l?.udrImsPrivateIdentity;let C;t[20]===Symbol.for("react.memo_cache_sentinel")?(C=a.jsx(Tr,{}),t[20]=C):C=t[20];let k;t[21]!==i||t[22]!==s||t[23]!==g||t[24]!==e||t[25]!==d?(k=T=>{const j=T?nPt(T):nC;return a.jsx(Wr,{initialValues:j,validationSchema:iPt,onSubmit:g,children:R=>{const{values:D,errors:O,dirty:N}=R;return a.jsx(dn,{canWrite:Ue(ie.provisioning),fullHeight:!0,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"type",children:F=>{const{field:U,meta:z,form:H}=F,{setFieldValue:W}=H,K=q=>{W(U.name,q),q===Gm.PSI&&(W("sip_digest_password",""),W("sip_digest_realm","")),q===Gm.DISTINCT_PUI&&W("server_name","")};return a.jsx(qs,{...U,label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.type"}),size:"small",error:!!z.error,helperText:z.error,disabled:d||s!=="idle",onChange:q=>K(q.target.value),children:rPt.map(xPt)})}}),!d&&a.jsx(Ke,{name:"supi",children:F=>{const{field:U,meta:z}=F;return a.jsx(dt,{...U,label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.supi"}),size:"small",error:!!z.error,helperText:z.error,disabled:s!=="idle"||s!=="idle"})}}),D.type===Gm.PSI&&a.jsx(a.Fragment,{children:a.jsx(Ke,{name:"server_name",children:F=>{const{field:U,meta:z}=F;return a.jsx(dt,{...U,label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.server_name"}),size:"small",error:!!z.error,helperText:z.error,disabled:s!=="idle"})}})}),d&&a.jsxs(te,{spacing:2,direction:"row",align:"center",children:[a.jsx(Ur,{name:"isOverridingKeys",children:F=>{const{field:U,form:z}=F,{setFieldValue:H}=z;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{size:"small",checked:!!U.value,onChange:(W,K)=>{H(U.name,K)}}),a.jsx(_e,{type:"body2",children:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.isOverridingKeys"})})]})}}),a.jsx(ms,{label:D.sip_digest_provisioned?e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.keys_provisioned"}):e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.keys_not_provisioned"}),color:D.sip_digest_provisioned?"primary":"default",size:"small"})]}),D.type===Gm.DISTINCT_PUI&&(D.isOverridingKeys&&d||!d)&&a.jsxs(a.Fragment,{children:[a.jsx(Ke,{name:"sip_digest_password",children:F=>{const{field:U,meta:z}=F;return a.jsx(dt,{...U,label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest.password"}),size:"small",error:!!z.error||!!O.sip_digest,helperText:z.error||O.sip_digest,disabled:s!=="idle"})}}),a.jsx(Ke,{name:"sip_digest_realm",children:F=>{const{field:U,meta:z}=F;return a.jsx(dt,{...U,label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.sip_digest.realm"}),size:"small",error:!!z.error||!!O.sip_digest,helperText:z.error||O.sip_digest,disabled:s!=="idle"})}})]}),a.jsx(oi,{name:"registration_sets",children:F=>{const{remove:U,push:z,form:H}=F,{getFieldMeta:W}=H,K=()=>{z({_uuid:gn(),description:"",public_identities:[]})},q=Q=>{U(Q)},X=Q=>!W(Q)?.error;return a.jsxs(a.Fragment,{children:[a.jsxs(te,{align:"center",direction:"row",children:[a.jsx(Ze,{text:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_set_add"}),type:"button",onClick:K,disabled:s!=="idle"||!Ue(ie.provisioning)}),!X("registration_sets")&&a.jsx(_e,{color:"error",children:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form_errors.has_errors"})})]}),a.jsx(Jn,{exclusive:!1,children:D.registration_sets?.map((Q,Y)=>a.jsx(xr,{title:`${Y+1}. ${Q.description||"-"}`,elevation:2,error:!X(`registration_sets[${Y}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>q(Y),label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_set_delete"}),disabled:s!=="idle"||!Ue(ie.provisioning)}],content:a.jsxs(te,{children:[a.jsx(Ke,{name:`registration_sets[${Y}].description`,children:Z=>{const{field:re,meta:fe}=Z;return a.jsx(dt,{...re,label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.description"}),size:"small",error:!!fe.error,helperText:fe.error,disabled:s!=="idle"})}}),a.jsx(oi,{name:`registration_sets[${Y}].public_identities`,children:Z=>{const{remove:re,push:fe}=Z,de=le=>{re(le)},se=()=>{fe({_uuid:gn(),barred:!1,name:""})};return a.jsxs(a.Fragment,{children:[a.jsx(Ze,{text:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identity_add"}),type:"button",onClick:se,disabled:s!=="idle"||!Ue(ie.provisioning),sx:{alignSelf:"flex-start",my:1}}),Q?.public_identities?.length>0&&a.jsx(Jn,{exclusive:!1,children:Q.public_identities.map((le,ee)=>a.jsx(xr,{title:`${ee+1}. ${le.name||"-"}`,elevation:3,error:!X(`registration_sets[${Y}].public_identities[${ee}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>de(ee),label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identity_delete"}),disabled:s!=="idle"||!Ue(ie.provisioning)}],content:a.jsxs(te,{children:[a.jsx(Ke,{name:`registration_sets[${Y}].public_identities[${ee}].name`,children:J=>{const{field:me,meta:pe}=J;return a.jsx(dt,{...me,label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.name"}),size:"small",error:!!pe.error,helperText:pe.error,disabled:s!=="idle"})}}),a.jsx(Ke,{name:`registration_sets[${Y}].public_identities[${ee}].barred`,children:J=>{const{field:me,form:pe}=J,{setFieldValue:Se}=pe;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:me.value,onChange:(ve,xe)=>{Se(me.name,xe)},disabled:s!=="idle"}),a.jsx(_e,{children:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.barred"})})]})}}),D.type===Gm.DISTINCT_PUI&&a.jsx(Ke,{name:`registration_sets[${Y}].public_identities[${ee}].service_profile`,children:J=>{const{field:me,meta:pe}=J;return a.jsx(dt,{...me,label:e.formatMessage({id:"udr_ims_private_identities.create_or_edit_ims_private_identity.form.registration_sets.public_identities.service_profile"}),size:"small",error:!!pe.error,helperText:pe.error,disabled:s!=="idle"})}}),!!le.application_servers_profiles?.length&&a.jsxs(te,{children:[a.jsx(_e,{fontWeight:"600",type:"body2",children:e.formatMessage({id:"udr_ims_private_identities.table.value.application_servers_profiles"})}),a.jsx(ks,{items:le.application_servers_profiles.map(SPt)})]})]})},`${le._uuid}`))})]})}})]})},`${Q._uuid}`))})]})}}),a.jsx(Xr,{data:i}),a.jsx(Ze,{"data-testid":"ims-initial-filter-button-save",text:e.formatMessage({id:"udr_ims_initial_filters.new_ims_initial_filter.save"}),type:"submit",disabled:!N||s!=="idle"||!Ue(ie.provisioning),sx:{alignSelf:"flex-start"}})]})})})}})},t[21]=i,t[22]=s,t[23]=g,t[24]=e,t[25]=d,t[26]=k):k=t[26];let A;t[27]!==w||t[28]!==k?(A=a.jsx(I.Suspense,{fallback:x,children:a.jsx(Qt,{resolve:w,errorElement:C,children:k})}),t[27]=w,t[28]=k,t[29]=A):A=t[29];let P;return t[30]!==b||t[31]!==A?(P=a.jsxs(a.Fragment,{children:[b,A]}),t[30]=b,t[31]=A,t[32]=P):P=t[32],P};function xPt(t){return a.jsx(En,{value:t,children:t},t)}function SPt(t){return{id:t.service_indication,label:t.service_indication}}const wPt=Pr(),CPt=dr().shape({description:We(),initial_filter_criteria:yr().of(We().strict(!0).matches(new RegExp(`(${$.regex.idString})|(${$.regex.uuid})`))).required(wPt.formatMessage({id:"udr_ims_service_profiles.new_ims_service_profile.form_errors.required"})).min(1)}),ime=t=>{const e=he.c(25),{id:r}=t,n=Ye(),{dialogClose:s}=Jt(),{dataFetcher:i,upsertFetcher:o}=Ys(),{data:l,state:c,load:u}=i,{data:d,state:f,submit:p}=o,m=r!==void 0;let h;e[0]!==p||e[1]!==r||e[2]!==m?(h=k=>{const{initial_filter_criteria:A,description:P}=k;if(m){p({id:r,initial_filter_criteria:A,...!!P&&{description:P}},{action:`${$.urls.udrImsServiceProfiles}/update`,method:"POST",encType:"application/json"});return}p({initial_filter_criteria:A,...!!P&&{description:P}},{action:`${$.urls.udrImsServiceProfiles}/create`,method:"POST",encType:"application/json"})},e[0]=p,e[1]=r,e[2]=m,e[3]=h):h=e[3];const _=h;let g;e:{if(!m||!l){let j;e[4]===Symbol.for("react.memo_cache_sentinel")?(j={description:"",initial_filter_criteria:[]},e[4]=j):j=e[4],g=j;break e}const k=l.udrImsServiceProfile,A=k?.description??"",P=k.initial_filter_criteria??"";let T;e[5]!==A||e[6]!==P?(T={description:A,initial_filter_criteria:P},e[5]=A,e[6]=P,e[7]=T):T=e[7],g=T}const y=g;let b,x;e[8]!==r||e[9]!==m||e[10]!==u?(b=()=>{m&&u(`${$.urls.udrImsServiceProfiles}/${r}`)},x=[r,m,u],e[8]=r,e[9]=m,e[10]=u,e[11]=b,e[12]=x):(b=e[11],x=e[12]),I.useEffect(b,x);let w;e[13]!==s||e[14]!==d||e[15]!==f||e[16]!==l||e[17]!==n||e[18]!==m||e[19]!==c?(w=()=>a.jsxs(dn,{canWrite:Ue(ie.provisioning),fullHeight:!0,children:[a.jsx(_s,{loading:m&&!l,children:a.jsxs(te,{spacing:2,fullHeight:!0,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"description",children:k=>{const{field:A,meta:P}=k;return a.jsx(dt,{...A,label:n.formatMessage({id:"udr_ims_service_profiles.new_ims_service_profile.form.description"}),size:"small",error:!!P.error,helperText:P.error,disabled:c!=="idle"||f!=="idle"})}}),a.jsx(Ke,{name:"initial_filter_criteria",children:k=>{const{field:A,meta:P,form:T}=k,{setFieldValue:j}=T;return a.jsx(rn,{value:A.value,name:A.name,label:n.formatMessage({id:"udr_ims_service_profiles.new_ims_service_profile.form.initial_filter_criteria"}),multiple:!0,size:"small",freeSolo:!0,options:[],onChange:(R,D)=>{j(A.name,[...new Set(D.map(APt))])},error:!!P.error,helperText:P.error,disabled:c!=="idle"||f!=="idle",fullWidth:!0})}}),a.jsx(Xr,{data:d})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{"data-testid":"ims-service-profile-button-cancel",text:n.formatMessage({id:"udr_ims_service_profiles.new_ims_service_profile.cancel"}),variant:"outlined",disabled:c!=="idle"||f!=="idle"||!Ue(ie.provisioning),onClick:()=>s()}),a.jsx(Ze,{"data-testid":"ims-service-profile-button-save",text:n.formatMessage({id:"udr_ims_service_profiles.new_ims_service_profile.save"}),type:"submit",disabled:c!=="idle"||f!=="idle"||!Ue(ie.provisioning)})]})})]}),e[13]=s,e[14]=d,e[15]=f,e[16]=l,e[17]=n,e[18]=m,e[19]=c,e[20]=w):w=e[20];let C;return e[21]!==_||e[22]!==y||e[23]!==w?(C=a.jsx(Wr,{initialValues:y,enableReinitialize:!0,validationSchema:CPt,onSubmit:_,children:w}),e[21]=_,e[22]=y,e[23]=w,e[24]=C):C=e[24],C};function APt(t){return t.trim()}const kPt=()=>{const t=he.c(10),e=Ye(),{dialogOpen:r}=Jt();let n;t[0]!==r||t[1]!==e?(n=()=>{r({title:e.formatMessage({id:"udr_ims_service_profiles.toolbar.new_ims_service_profile"}),content:MPt,closeOnBackdropClick:!1})},t[0]=r,t[1]=e,t[2]=n):n=t[2];const s=n;let i;t[3]!==e?(i=e.formatMessage({id:"common.new"}),t[3]=e,t[4]=i):i=t[4];let o;t[5]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(ge.Add,{}),t[5]=o):o=t[5];let l;t[6]===Symbol.for("react.memo_cache_sentinel")?(l=Ue(ie.provisioning),t[6]=l):l=t[6];let c;return t[7]!==s||t[8]!==i?(c=a.jsx(Ze,{text:i,startIcon:o,onClick:s,disabled:!l}),t[7]=s,t[8]=i,t[9]=c):c=t[9],c};function MPt(){return a.jsx(ime,{})}const PPt=()=>{const t=he.c(64),e=Ye(),{openConfirmDialog:r}=di(),n=Gr(),s=On(),i=gr(),{dialogOpen:o}=Jt(),{pageSize:l,pageSizeOptions:c,changePageSize:u,changePage:d,getRowsCount:f,getPage:p}=Na();let m;t[0]!==o||t[1]!==e?(m=re=>{re&&o({title:e.formatMessage({id:"udr_ims_service_profiles.toolbar.new_ims_service_profile"}),content:()=>a.jsx(ime,{id:re}),closeOnBackdropClick:!1})},t[0]=o,t[1]=e,t[2]=m):m=t[2];const h=m;let _;t[3]!==i||t[4]!==e||t[5]!==r?(_=re=>{const{id:fe}=re;fe&&r({text:e.formatMessage({id:"udr_ims_private_identities.application_servers_profiles.dialog.delete.confirm"}),onConfirm:()=>{i.submit({id:fe},{action:`${$.urls.udrImsServiceProfiles}/delete`,method:"POST",encType:"application/json"})}})},t[3]=i,t[4]=e,t[5]=r,t[6]=_):_=t[6];const g=_;let y;t[7]!==e?(y=e.formatMessage({id:"udr_ims_service_profiles.table.header.id"}),t[7]=e,t[8]=y):y=t[8];let b;t[9]!==y?(b={key:"id",label:y,cellRender:jPt},t[9]=y,t[10]=b):b=t[10];let x;t[11]!==e?(x=e.formatMessage({id:"udr_ims_service_profiles.table.header.description"}),t[11]=e,t[12]=x):x=t[12];let w;t[13]!==x?(w={key:"description",label:x,cellRender:TPt},t[13]=x,t[14]=w):w=t[14];let C;t[15]!==e?(C=e.formatMessage({id:"udr_ims_service_profiles.table.header.created_at"}),t[15]=e,t[16]=C):C=t[16];let k;t[17]!==C?(k={key:"created_at",label:C,cellRender:EPt},t[17]=C,t[18]=k):k=t[18];let A;t[19]!==e?(A=e.formatMessage({id:"udr_ims_service_profiles.table.header.modified_at"}),t[19]=e,t[20]=A):A=t[20];let P;t[21]!==A?(P={key:"modified_at",label:A,cellRender:RPt},t[21]=A,t[22]=P):P=t[22];let T;t[23]!==b||t[24]!==w||t[25]!==k||t[26]!==P?(T=[b,w,k,P],t[23]=b,t[24]=w,t[25]=k,t[26]=P,t[27]=T):T=t[27];const j=T;let R;t[28]===Symbol.for("react.memo_cache_sentinel")?(R=_l(ie.provisioning),t[28]=R):R=t[28];const D=s.state!=="idle"||i.state!=="idle";let O;t[29]!==h?(O=re=>{const{id:fe}=re;return h(fe)},t[29]=h,t[30]=O):O=t[30];let N;t[31]!==D||t[32]!==O?(N={...R,disabled:D,onClick:O},t[31]=D,t[32]=O,t[33]=N):N=t[33];let F;t[34]!==e?(F=e.formatMessage({id:"udr_ims_service_profiles.actions.delete"}),t[34]=e,t[35]=F):F=t[35];let U;t[36]===Symbol.for("react.memo_cache_sentinel")?(U=a.jsx(ge.Trash,{}),t[36]=U):U=t[36];let z;t[37]!==g?(z=re=>void g(re),t[37]=g,t[38]=z):z=t[38];let H;t[39]!==i.state||t[40]!==s.state?(H=s.state!=="idle"||i.state!=="idle"||!Ue(ie.provisioning),t[39]=i.state,t[40]=s.state,t[41]=H):H=t[41];let W;t[42]!==F||t[43]!==z||t[44]!==H?(W={label:F,icon:U,onClick:z,disabled:H},t[42]=F,t[43]=z,t[44]=H,t[45]=W):W=t[45];let K;t[46]!==N||t[47]!==W?(K=[N,W],t[46]=N,t[47]=W,t[48]=K):K=t[48];const q=K;let X;t[49]===Symbol.for("react.memo_cache_sentinel")?(X=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[49]=X):X=t[49];let Q;t[50]===Symbol.for("react.memo_cache_sentinel")?(Q=a.jsx(Tr,{}),t[50]=Q):Q=t[50];let Y;t[51]!==d||t[52]!==u||t[53]!==j||t[54]!==i.state||t[55]!==p||t[56]!==f||t[57]!==l||t[58]!==c||t[59]!==q?(Y=re=>{const{data:fe,metadata:de}=re;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(kPt,{})}),a.jsx(Br,{autoScale:!0,loading:i.state!=="idle",orderBy:"id",columns:j,data:fe,page:p(de),labelDisplayedRows:IPt,rowsCount:f(de),rowsPerPage:l,onRowsPerPageChange:u,rowsPerPageOptions:c,rowKey:"id",rowActions:q,stickyRowActions:!0,onPageChange:d(de)})]})},t[51]=d,t[52]=u,t[53]=j,t[54]=i.state,t[55]=p,t[56]=f,t[57]=l,t[58]=c,t[59]=q,t[60]=Y):Y=t[60];let Z;return t[61]!==n.udrImsServiceProfileList||t[62]!==Y?(Z=a.jsx(I.Suspense,{fallback:X,children:a.jsx(Qt,{resolve:n.udrImsServiceProfileList,errorElement:Q,children:Y})}),t[61]=n.udrImsServiceProfileList,t[62]=Y,t[63]=Z):Z=t[63],Z};function jPt(t){const{id:e}=t;return a.jsx(Ap,{text:e||"*"})}function TPt(t){const{description:e}=t;return e?a.jsx(_e,{type:"body2",children:e}):a.jsx(_e,{type:"body2",children:"*"})}function EPt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function RPt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function IPt(){return""}function DPt(t){return{...t,r1:parseInt(t.r1),r2:parseInt(t.r2),r3:parseInt(t.r3),r4:parseInt(t.r4),r5:parseInt(t.r5)}}const $Pt=dr().shape({c1:We().required().matches(new RegExp($.regex.milenageConstantC)),c2:We().required().matches(new RegExp($.regex.milenageConstantC)),c3:We().required().matches(new RegExp($.regex.milenageConstantC)),c4:We().required().matches(new RegExp($.regex.milenageConstantC)),c5:We().required().matches(new RegExp($.regex.milenageConstantC)),r1:kn().required().min(1).max(127),r2:kn().required().min(1).max(127),r3:kn().required().min(1).max(127),r4:kn().required().min(1).max(127),r5:kn().required().min(1).max(127)}),OPt=()=>{const t=he.c(19),e=Ye(),{openConfirmDialog:r}=di(),n=zn(),{submit:s,state:i,data:o}=gr(),{submit:l,state:c}=gr();let u;t[0]===Symbol.for("react.memo_cache_sentinel")?(u={c1:"",c2:"",c3:"",c4:"",c5:"",r1:"",r2:"",r3:"",r4:"",r5:""},t[0]=u):u=t[0];const d=u;let f;t[1]!==s?(f=x=>{s(DPt(x),{method:"PUT",action:"update",encType:"application/json"})},t[1]=s,t[2]=f):f=t[2];const p=f;let m;t[3]!==e||t[4]!==r||t[5]!==l?(m=()=>{r({text:e.formatMessage({id:"udr_milenage_constants.actions.confirm_delete"}),onConfirm:()=>{l(null,{method:"DELETE",action:$.urls.udrCustomMilenageConstantsDelete_Action,encType:"application/json"})}})},t[3]=e,t[4]=r,t[5]=l,t[6]=m):m=t[6];const h=m;let _;t[7]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(Dt,{variant:"rounded",height:"755px"}),t[7]=_):_=t[7];let g;t[8]===Symbol.for("react.memo_cache_sentinel")?(g=a.jsx(Tr,{}),t[8]=g):g=t[8];let y;t[9]!==h||t[10]!==p||t[11]!==e||t[12]!==c||t[13]!==o||t[14]!==i?(y=x=>a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsxs(te,{direction:"row",spacing:2,align:"center",children:[x.provisioned?a.jsx(bi,{status:nn.SUCCESS,asChip:!0,label:e.formatMessage({id:"udr_milenage_constants.provisioned"})}):a.jsx(bi,{status:nn.ERROR,asChip:!0,label:e.formatMessage({id:"udr_milenage_constants.not_provisioned"})}),a.jsx(Ze,{text:e.formatMessage({id:"udr_milenage_constants.actions.delete"}),variant:"outlined",startIcon:a.jsx(ge.Trash,{}),disabled:!x.provisioned||c!=="idle"||i!=="idle",onClick:h})]})}),a.jsx(Kt,{title:e.formatMessage({id:"udr_milenage_constants.panel.title"}),children:a.jsx(Wr,{initialValues:d,validationSchema:$Pt,onSubmit:p,children:w=>{const{dirty:C}=w;return a.jsx(dn,{canWrite:Ue(ie.milenage_constants),children:a.jsxs(te,{spacing:2,fullWidth:!0,nowrap:!0,children:[["c1","c2","c3","c4","c5","r1","r2","r3","r4","r5"].map(k=>a.jsx(Ke,{name:k,children:A=>{const{field:P,meta:T}=A;return a.jsx(dt,{...P,label:e.formatMessage({id:`udr_milenage_constants.form.${k}`}),size:"small",error:!!T.error,helperText:T.error})}},k)),a.jsx(Xr,{data:o}),a.jsx(Ze,{type:"submit",text:e.formatMessage({id:"udr_milenage_constants.buttons.save"}),disabled:!C||c!=="idle"||!Ue(ie.milenage_constants),loading:i!=="idle",sx:{alignSelf:"flex-start"}})]})})}})})]}),t[9]=h,t[10]=p,t[11]=e,t[12]=c,t[13]=o,t[14]=i,t[15]=y):y=t[15];let b;return t[16]!==n.milenageCostants||t[17]!==y?(b=a.jsx(I.Suspense,{fallback:_,children:a.jsx(Qt,{resolve:n.milenageCostants,errorElement:g,children:y})}),t[16]=n.milenageCostants,t[17]=y,t[18]=b):b=t[18],b},LPt=Pr(),NPt=dr().shape({transport_key_id:We(),transport_key_tag:We().matches(new RegExp($.regex.supiTag)),op:We().strict(!0).matches(new RegExp($.regex.operatorKey)).required(LPt.formatMessage({id:"udr_operator_keys.new_operator_key.form_errors.required"}))}),ome=t=>{const e=he.c(14),{id:r}=t,n=Ye(),{dialogClose:s}=Jt(),{upsertFetcher:i}=Ys(),{submit:o,state:l,data:c}=i,u=!!r;let d;e[0]===Symbol.for("react.memo_cache_sentinel")?(d={op:""},e[0]=d):d=e[0];const f=d;let p;e[1]!==r||e[2]!==u||e[3]!==o?(p=g=>{if(u){const{op:y}=g;o({id:r,op:y},{action:"udr/operator-codes/update",method:"PUT",encType:"application/json"})}else o({id:g.id,op:g.op},{action:"udr/operator-codes/create",method:"POST",encType:"application/json"})},e[1]=r,e[2]=u,e[3]=o,e[4]=p):p=e[4];const m=p;let h;e[5]!==c||e[6]!==s||e[7]!==n||e[8]!==u||e[9]!==l?(h=()=>a.jsx(dn,{canWrite:Ue([ie.operator_codes,ie.provisioning]),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{spacing:2,children:[!u&&a.jsx(Ke,{name:"id",children:g=>{const{field:y,meta:b}=g;return a.jsx(dt,{...y,label:n.formatMessage({id:"udr_operator_keys.new_operator_key.id"}),size:"small",error:!!b.error,helperText:b.error,disabled:l!=="idle"})}}),a.jsx(Ke,{name:"op",children:g=>{const{field:y,meta:b}=g;return a.jsx(dt,{...y,label:n.formatMessage({id:"udr_operator_keys.new_operator_key.op"}),size:"small",error:!!b.error,helperText:b.error,disabled:l!=="idle"})}}),a.jsx(Xr,{data:c})]}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:n.formatMessage({id:"udr_operator_keys.new_operator_key.cancel"}),variant:"outlined",disabled:l!=="idle"||!Ue([ie.operator_codes,ie.provisioning]),onClick:()=>s()}),a.jsx(Ze,{text:n.formatMessage({id:"udr_operator_keys.new_operator_key.save"}),type:"submit",loading:l!=="idle",disabled:!Ue([ie.operator_codes,ie.provisioning])})]})]})}),e[5]=c,e[6]=s,e[7]=n,e[8]=u,e[9]=l,e[10]=h):h=e[10];let _;return e[11]!==m||e[12]!==h?(_=a.jsx(te,{padding:2,children:a.jsx(Wr,{initialValues:f,validationSchema:NPt,onSubmit:m,children:h})}),e[11]=m,e[12]=h,e[13]=_):_=e[13],_},FPt=()=>{const t=he.c(56),e=Ye(),{dialogOpen:r}=Jt(),{openConfirmDialog:n}=di(),s=zn(),{submit:i,state:o}=gr(),{pageSize:l,pageSizeOptions:c,changePageSize:u,changePage:d,getRowsCount:f,getPage:p}=Na();let m;t[0]!==e?(m=e.formatMessage({id:"udr_operator_keys.table.header.id"}),t[0]=e,t[1]=m):m=t[1];let h;t[2]!==m?(h={key:"id",label:m,cellRender:UPt},t[2]=m,t[3]=h):h=t[3];let _;t[4]!==e?(_=e.formatMessage({id:"udr_operator_keys.table.header.created_at"}),t[4]=e,t[5]=_):_=t[5];let g;t[6]!==_?(g={key:"created_at",label:_,cellRender:BPt},t[6]=_,t[7]=g):g=t[7];let y;t[8]!==e?(y=e.formatMessage({id:"udr_operator_keys.table.header.modified_at"}),t[8]=e,t[9]=y):y=t[9];let b;t[10]!==y?(b={key:"modified_at",label:y,cellRender:zPt},t[10]=y,t[11]=b):b=t[11];let x;t[12]!==h||t[13]!==g||t[14]!==b?(x=[h,g,b],t[12]=h,t[13]=g,t[14]=b,t[15]=x):x=t[15];const w=x;let C;t[16]===Symbol.for("react.memo_cache_sentinel")?(C=_l([ie.operator_codes,ie.provisioning]),t[16]=C):C=t[16];const k=o!=="idle";let A;t[17]!==r||t[18]!==e?(A=K=>{const{id:q}=K;r({title:e.formatMessage({id:"udr_operator_keys.edit_operator_key.title"}),content:()=>a.jsx(ome,{id:q})})},t[17]=r,t[18]=e,t[19]=A):A=t[19];let P;t[20]!==k||t[21]!==A?(P={...C,disabled:k,onClick:A},t[20]=k,t[21]=A,t[22]=P):P=t[22];let T;t[23]!==e?(T=e.formatMessage({id:"udr_operator_keys.actions.delete"}),t[23]=e,t[24]=T):T=t[24];let j;t[25]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(ge.Trash,{}),t[25]=j):j=t[25];let R;t[26]!==e||t[27]!==n||t[28]!==i?(R=K=>{const{id:q}=K;n({text:e.formatMessage({id:"udr_operator_keys.actions.delete.confirm"},{key:q}),onConfirm:()=>{i({id:q},{action:$.urls.udrOperatorCodesDelete_Action,method:"DELETE",encType:"application/json"})}})},t[26]=e,t[27]=n,t[28]=i,t[29]=R):R=t[29];let D;t[30]!==o?(D=o!=="idle"||!Ue(ie.provisioning)&&!Ue(ie.operator_codes),t[30]=o,t[31]=D):D=t[31];let O;t[32]!==T||t[33]!==R||t[34]!==D?(O={label:T,icon:j,onClick:R,disabled:D},t[32]=T,t[33]=R,t[34]=D,t[35]=O):O=t[35];let N;t[36]!==P||t[37]!==O?(N=[P,O],t[36]=P,t[37]=O,t[38]=N):N=t[38];const F=N;let U;t[39]===Symbol.for("react.memo_cache_sentinel")?(U=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[39]=U):U=t[39];let z;t[40]===Symbol.for("react.memo_cache_sentinel")?(z=a.jsx(Tr,{}),t[40]=z):z=t[40];let H;t[41]!==d||t[42]!==u||t[43]!==w||t[44]!==r||t[45]!==p||t[46]!==f||t[47]!==e||t[48]!==l||t[49]!==c||t[50]!==F||t[51]!==o?(H=K=>a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{text:e.formatMessage({id:"common.new"}),startIcon:a.jsx(ge.Add,{}),onClick:()=>{r({title:e.formatMessage({id:"udr_operator_keys.new_operator_key.title"}),content:qPt})},disabled:o!=="idle"||!Ue(ie.provisioning)&&!Ue(ie.operator_codes)})}),a.jsx(Br,{autoScale:!0,orderBy:"id",columns:w,data:K.data,page:p(K.metadata),labelDisplayedRows:VPt,rowsCount:f(K.metadata),rowsPerPage:l,onRowsPerPageChange:u,rowsPerPageOptions:c,rowKey:"id",rowActions:F,stickyRowActions:!0,onPageChange:d(K.metadata),loading:o!=="idle"})]}),t[41]=d,t[42]=u,t[43]=w,t[44]=r,t[45]=p,t[46]=f,t[47]=e,t[48]=l,t[49]=c,t[50]=F,t[51]=o,t[52]=H):H=t[52];let W;return t[53]!==s.operatorKeys||t[54]!==H?(W=a.jsx(I.Suspense,{fallback:U,children:a.jsx(Qt,{resolve:s.operatorKeys,errorElement:z,children:H})}),t[53]=s.operatorKeys,t[54]=H,t[55]=W):W=t[55],W};function UPt(t){const{id:e}=t;return e?a.jsx(_e,{type:"body2",children:e}):a.jsx(_e,{type:"body2",children:"*"})}function BPt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function zPt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function qPt(){return a.jsx(ome,{})}function VPt(){return""}const Gee=Pr(),HPt=dr().shape({mcc:We().required(Gee.formatMessage({id:"udr_plmns.new_plmn.form_errors.required"})).strict(!0).matches(new RegExp(`(${$.regex.idString})|(${$.regex.mcc})`)),mnc:We().required(Gee.formatMessage({id:"udr_plmns.new_plmn.form_errors.required"})).strict(!0).matches(new RegExp(`(${$.regex.idString})|(${$.regex.mnc})`))}),GPt=()=>{const t=he.c(11),e=Ye(),{upsertFetcher:r}=Ys(),{submit:n,data:s,state:i}=r,{dialogClose:o}=Jt();let l;t[0]!==n?(l=p=>{const{mcc:m,mnc:h}=p;n({mcc:m,mnc:h},{method:"POST",encType:"application/json",action:"udr/plmns/create"})},t[0]=n,t[1]=l):l=t[1];const c=l;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u={mcc:"",mnc:""},t[2]=u):u=t[2];let d;t[3]!==s||t[4]!==o||t[5]!==e||t[6]!==i?(d=()=>a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"mcc",children:p=>{const{field:m,meta:h}=p;return a.jsx(dt,{...m,label:e.formatMessage({id:"udr_plmns.new_plmn.form.mcc"}),size:"small",error:!!h.error,helperText:h.error,disabled:i!=="idle"})}}),a.jsx(Ke,{name:"mnc",children:p=>{const{field:m,meta:h}=p;return a.jsx(dt,{...m,label:e.formatMessage({id:"udr_plmns.new_plmn.form.mnc"}),size:"small",error:!!h.error,helperText:h.error,disabled:i!=="idle"})}}),a.jsx(Xr,{data:s})]}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:e.formatMessage({id:"udr_plmns.new_plmn.cancel"}),variant:"outlined",disabled:i!=="idle"||!Ue(ie.provisioning),onClick:()=>o()}),a.jsx(Ze,{text:e.formatMessage({id:"udr_plmns.new_plmn.save"}),type:"submit",disabled:i!=="idle"||!Ue(ie.provisioning),loading:i!=="idle"})]})]})}),t[3]=s,t[4]=o,t[5]=e,t[6]=i,t[7]=d):d=t[7];let f;return t[8]!==c||t[9]!==d?(f=a.jsx(te,{padding:2,children:a.jsx(Wr,{initialValues:u,validationSchema:HPt,onSubmit:c,children:d})}),t[8]=c,t[9]=d,t[10]=f):f=t[10],f},WPt=()=>{const t=he.c(54),e=Ye(),{dialogOpen:r}=Jt(),{openConfirmDialog:n}=di(),s=zn(),{submit:i,state:o}=gr(),{pageSize:l,pageSizeOptions:c,changePageSize:u,changePage:d,getRowsCount:f,getPage:p}=Na();let m;t[0]!==r||t[1]!==e?(m=()=>{r({title:e.formatMessage({id:"udr_plmns.toolbar.new_plmn"}),content:YPt,closeOnBackdropClick:!1})},t[0]=r,t[1]=e,t[2]=m):m=t[2];const h=m;let _;t[3]!==e||t[4]!==n||t[5]!==i?(_=K=>{const{mcc:q,mnc:X}=K;n({text:e.formatMessage({id:"udr_plmns.actions.delete.confirm"},{plmn:`${q}${X}`}),onConfirm:()=>{i({mcc:q,mnc:X},{method:"DELETE",encType:"application/json",action:"delete"})}})},t[3]=e,t[4]=n,t[5]=i,t[6]=_):_=t[6];const g=_;let y;t[7]!==e?(y=e.formatMessage({id:"udr_plmns.table.header.mcc"}),t[7]=e,t[8]=y):y=t[8];let b;t[9]!==y?(b={key:"mcc",label:y},t[9]=y,t[10]=b):b=t[10];let x;t[11]!==e?(x=e.formatMessage({id:"udr_plmns.table.header.mnc"}),t[11]=e,t[12]=x):x=t[12];let w;t[13]!==x?(w={key:"mnc",label:x},t[13]=x,t[14]=w):w=t[14];let C;t[15]!==e?(C=e.formatMessage({id:"udr_plmns.table.header.created_at"}),t[15]=e,t[16]=C):C=t[16];let k;t[17]!==C?(k={key:"created_at",label:C,cellRender:KPt},t[17]=C,t[18]=k):k=t[18];let A;t[19]!==e?(A=e.formatMessage({id:"udr_plmns.table.header.modified_at"}),t[19]=e,t[20]=A):A=t[20];let P;t[21]!==A?(P={key:"modified_at",label:A,cellRender:QPt},t[21]=A,t[22]=P):P=t[22];let T;t[23]!==b||t[24]!==w||t[25]!==k||t[26]!==P?(T=[b,w,k,P],t[23]=b,t[24]=w,t[25]=k,t[26]=P,t[27]=T):T=t[27];const j=T;let R;t[28]!==e?(R=e.formatMessage({id:"udr_plmns.actions.delete"}),t[28]=e,t[29]=R):R=t[29];let D;t[30]===Symbol.for("react.memo_cache_sentinel")?(D=a.jsx(ge.Trash,{}),t[30]=D):D=t[30];let O;t[31]!==o?(O=o!=="idle"||!Ue(ie.provisioning),t[31]=o,t[32]=O):O=t[32];let N;t[33]!==g||t[34]!==R||t[35]!==O?(N=[{label:R,icon:D,onClick:g,disabled:O}],t[33]=g,t[34]=R,t[35]=O,t[36]=N):N=t[36];const F=N;let U;t[37]===Symbol.for("react.memo_cache_sentinel")?(U=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[37]=U):U=t[37];let z;t[38]===Symbol.for("react.memo_cache_sentinel")?(z=a.jsx(Tr,{}),t[38]=z):z=t[38];let H;t[39]!==d||t[40]!==u||t[41]!==j||t[42]!==p||t[43]!==f||t[44]!==h||t[45]!==e||t[46]!==l||t[47]!==c||t[48]!==F||t[49]!==o?(H=K=>a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{text:e.formatMessage({id:"common.new"}),startIcon:a.jsx(ge.Add,{}),onClick:h,disabled:o!=="idle"||!Ue(ie.provisioning)})}),a.jsx(Br,{autoScale:!0,orderBy:"mcc",columns:j,data:K.data,page:p(K.metadata),labelDisplayedRows:ZPt,rowsCount:f(K.metadata),rowsPerPage:l,onRowsPerPageChange:u,rowsPerPageOptions:c,rowKey:"mcc",rowActions:F,stickyRowActions:!0,onPageChange:d(K.metadata),loading:o!=="idle"})]}),t[39]=d,t[40]=u,t[41]=j,t[42]=p,t[43]=f,t[44]=h,t[45]=e,t[46]=l,t[47]=c,t[48]=F,t[49]=o,t[50]=H):H=t[50];let W;return t[51]!==s.udrPlmnList||t[52]!==H?(W=a.jsx(I.Suspense,{fallback:U,children:a.jsx(Qt,{resolve:s.udrPlmnList,errorElement:z,children:H})}),t[51]=s.udrPlmnList,t[52]=H,t[53]=W):W=t[53],W};function YPt(){return a.jsx(GPt,{})}function KPt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function QPt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function ZPt(){return""}const XPt=()=>{const t=he.c(71),e=Ye(),{submit:r,state:n}=gr(),s=ys(),{udrPolicyDataProfileList:i}=zn(),{openConfirmDialog:o}=di(),{pageSize:l,pageSizeOptions:c,changePageSize:u,changePage:d,getRowsCount:f,getPage:p}=Na();let m;t[0]!==s?(m=()=>{s("new")},t[0]=s,t[1]=m):m=t[1];const h=m;let _;t[2]!==s?(_=le=>{const{uuid:ee}=le;ee&&s(ee)},t[2]=s,t[3]=_):_=t[3];const g=_;let y;t[4]!==e||t[5]!==o||t[6]!==r?(y=le=>{const{uuid:ee}=le;ee&&o({text:e.formatMessage({id:"udr_policy_data_profiles.toolbar.delete"}),onConfirm:()=>r({id:ee},{method:"DELETE",encType:"application/json",action:`${ee}/delete`})})},t[4]=e,t[5]=o,t[6]=r,t[7]=y):y=t[7];const b=y;let x;t[8]!==e?(x=e.formatMessage({id:"udr_policy_data_profiles.table.id"}),t[8]=e,t[9]=x):x=t[9];let w;t[10]!==x?(w={key:"uuid",label:x},t[10]=x,t[11]=w):w=t[11];let C;t[12]!==e?(C=e.formatMessage({id:"udr_policy_data_profiles.table.description"}),t[12]=e,t[13]=C):C=t[13];let k;t[14]!==C?(k={key:"description",label:C},t[14]=C,t[15]=k):k=t[15];let A;t[16]!==e?(A=e.formatMessage({id:"udr_policy_data_profiles.table.created_at"}),t[16]=e,t[17]=A):A=t[17];let P;t[18]!==A?(P={key:"created_at",label:A,cellRender:JPt},t[18]=A,t[19]=P):P=t[19];let T;t[20]!==e?(T=e.formatMessage({id:"udr_policy_data_profiles.table.modified_at"}),t[20]=e,t[21]=T):T=t[21];let j;t[22]!==T?(j={key:"modified_at",label:T,cellRender:ejt},t[22]=T,t[23]=j):j=t[23];let R;t[24]!==j||t[25]!==w||t[26]!==k||t[27]!==P?(R=[w,k,P,j],t[24]=j,t[25]=w,t[26]=k,t[27]=P,t[28]=R):R=t[28];const D=R;let O;t[29]===Symbol.for("react.memo_cache_sentinel")?(O=_l(ie.provisioning),t[29]=O):O=t[29];const N=n!=="idle";let F;t[30]!==g||t[31]!==N?(F={...O,disabled:N,onClick:g},t[30]=g,t[31]=N,t[32]=F):F=t[32];let U;t[33]!==e?(U=e.formatMessage({id:"udr_policy_data_profiles.actions.delete"}),t[33]=e,t[34]=U):U=t[34];let z;t[35]===Symbol.for("react.memo_cache_sentinel")?(z=a.jsx(ge.Trash,{}),t[35]=z):z=t[35];let H;t[36]!==n?(H=n!=="idle"||!Ue(ie.provisioning),t[36]=n,t[37]=H):H=t[37];let W;t[38]!==b||t[39]!==U||t[40]!==H?(W={label:U,icon:z,disabled:H,onClick:b},t[38]=b,t[39]=U,t[40]=H,t[41]=W):W=t[41];let K;t[42]!==F||t[43]!==W?(K=[F,W],t[42]=F,t[43]=W,t[44]=K):K=t[44];const q=K;let X;t[45]!==e?(X=e.formatMessage({id:"common.new"}),t[45]=e,t[46]=X):X=t[46];let Q;t[47]===Symbol.for("react.memo_cache_sentinel")?(Q=a.jsx(ge.Add,{}),t[47]=Q):Q=t[47];let Y;t[48]!==n?(Y=n!=="idle"||!Ue(ie.provisioning),t[48]=n,t[49]=Y):Y=t[49];let Z;t[50]!==h||t[51]!==X||t[52]!==Y?(Z=a.jsx(hs,{children:a.jsx(Ze,{text:X,startIcon:Q,onClick:h,disabled:Y})}),t[50]=h,t[51]=X,t[52]=Y,t[53]=Z):Z=t[53];let re;t[54]===Symbol.for("react.memo_cache_sentinel")?(re=a.jsx(Dt,{variant:"rounded",sx:{height:"100%"}}),t[54]=re):re=t[54];let fe;t[55]!==d||t[56]!==u||t[57]!==D||t[58]!==p||t[59]!==f||t[60]!==l||t[61]!==c||t[62]!==q||t[63]!==n?(fe=le=>a.jsx(Br,{autoScale:!0,orderBy:"uuid",columns:D,data:le.data,page:p(le.metadata),labelDisplayedRows:tjt,rowsCount:f(le.metadata),rowsPerPage:l,onRowsPerPageChange:u,rowsPerPageOptions:c,rowKey:"uuid",rowActions:q,stickyRowActions:!0,onPageChange:d(le.metadata),loading:n!=="idle"}),t[55]=d,t[56]=u,t[57]=D,t[58]=p,t[59]=f,t[60]=l,t[61]=c,t[62]=q,t[63]=n,t[64]=fe):fe=t[64];let de;t[65]!==fe||t[66]!==i?(de=a.jsx(I.Suspense,{fallback:re,children:a.jsx(Qt,{resolve:i,children:fe})}),t[65]=fe,t[66]=i,t[67]=de):de=t[67];let se;return t[68]!==Z||t[69]!==de?(se=a.jsxs(a.Fragment,{children:[Z,de]}),t[68]=Z,t[69]=de,t[70]=se):se=t[70],se};function JPt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function ejt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function tjt(){return""}const vu=Pr(),rjt=t=>!t||bie.isEmpty(t)?{snssaiList:[]}:{snssaiList:Object.values(t.smPolicySnssaiData).map(e=>({_uuid:gn(),sst:e.snssai?.sst,sd:e.snssai?.sd??"",dnnList:Object.values(e.smPolicyDnnData)?.map(r=>({_uuid:gn(),dnn:r.dnn,allowedServices:r.allowedServices}))}))},njt=t=>!t||bie.isEmpty(t)?{subscCats:""}:{subscCats:t.subscCats[0]??""};function sjt(t){const{uuid:e,description:r,sm_data:n,am_data:s}=t,i=rjt(n),o=njt(s);return{uuid:e,description:r??"",...i,...o}}function ijt(t){if(t.length!==0)return{sm_data:{smPolicySnssaiData:t.reduce((e,{sd:r,sst:n,dnnList:s})=>({...e,[`${n}${r?"-"+r:""}`]:{snssai:{sst:n,...r&&{sd:r}},smPolicyDnnData:s.reduce((i,{dnn:o,allowedServices:l})=>({...i,[`${o}`]:{dnn:o,allowedServices:l}}),{})}}),{})}}}function ojt(t){if(t)return{am_data:{subscCats:[t]}}}function ajt({uuid:t,description:e,snssaiList:r,subscCats:n}){const s=ijt(r),i=ojt(n);return{uuid:t,...e&&{description:e},...s,...i}}const ljt=(t,e,r)=>t?e?`${t}-${e}`:`${t}`:`S-NSSAI #${r+1}`,cjt=(t,e)=>t||`DNN #${e+1}`,ujt=dr().shape({uuid:We().required(vu.formatMessage({id:"validation.required"})).matches(new RegExp(`${$.regex.idString}|${$.regex.uuid}`),vu.formatMessage({id:"udr_provisioned_data_profiles.form.errors.uuid_format"},{value:`${$.regex.idString}|${$.regex.uuid}`})),description:We().strict(!0).matches(new RegExp($.regex.descriptionRm),vu.formatMessage({id:"udr_policy_data_profiles.form.errors.format"},{value:"^[ -~]{1,128}"})),snssaiList:yr().of(dr().shape({sst:kn().typeError("must be a number").min(0,vu.formatMessage({id:"udr_policy_data_profiles.form.errors.min"},{value:0})).max(255,vu.formatMessage({id:"udr_policy_data_profiles.form.errors.max"},{value:255})).required(vu.formatMessage({id:"udr_policy_data_profiles.form.errors.required"})),sd:We().typeError("must be a string").strict(!0).matches(/^[A-Fa-f0-9]{6}$/,vu.formatMessage({id:"udr_policy_data_profiles.form.errors.format"},{value:"^[A-Fa-f0-9]{6}$"})),dnnList:yr().of(dr().shape({dnn:We().required(vu.formatMessage({id:"udr_policy_data_profiles.form.errors.required"})),allowedServices:yr().of(We()).min(1,({min:t})=>vu.formatMessage({id:"udr_policy_data_profiles.form.errors.least"},{value:t}))})).min(1)})).when("subscCats",{is:t=>t&&t.length>0,then:t=>t.min(0),otherwise:t=>t.min(1)}),subscCats:We().when("snssaiList",{is:t=>!t||t.length>0,then:t=>t.notRequired(),otherwise:t=>t.required(vu.formatMessage({id:"udr_policy_data_profiles.form.errors.required"}))})},[["subscCats","snssaiList"]]),djt=t=>{const e=he.c(16),{initialValues:r,onSubmit:n,loading:s,error:i}=t,[o,l]=I.useState("sm"),c=Ye(),u=ko().id!=="new";let d;e[0]===Symbol.for("react.memo_cache_sentinel")?(d=b=>{l(b)},e[0]=d):d=e[0];const f=d;let p;e:{if(r){let x;e[1]!==r?(x=sjt(r),e[1]=r,e[2]=x):x=e[2],p=x;break e}let b;e[3]===Symbol.for("react.memo_cache_sentinel")?(b={uuid:"",description:"",snssaiList:[],subscCats:""},e[3]=b):b=e[3],p=b}const m=p;let h;e[4]!==n?(h=b=>{const x=ajt(b);x&&n(x)},e[4]=n,e[5]=h):h=e[5];const _=h;let g;e[6]!==i||e[7]!==c||e[8]!==u||e[9]!==s||e[10]!==o?(g=b=>{const{values:x,errors:w,dirty:C}=b;return a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"uuid",children:k=>{const{field:A,meta:P}=k;return a.jsx(dt,{...A,label:c.formatMessage({id:"udr_policy_data_profiles.form.uuid"}),size:"small",required:!0,disabled:u,error:!!P.error,helperText:P.error})}}),a.jsx(Ke,{name:"description",children:k=>{const{field:A,meta:P}=k;return a.jsx(dt,{...A,label:c.formatMessage({id:"udr_policy_data_profiles.form.description"}),size:"small",error:!!P.error,helperText:P.error})}}),a.jsx(VA,{tabs:[{value:"sm",label:c.formatMessage({id:"udr_policy_data_profiles.form.tabs.sm"}),status:w.snssaiList?nn.ERROR:void 0},{value:"am",label:c.formatMessage({id:"udr_policy_data_profiles.form.tabs.am"}),status:w.subscCats?nn.ERROR:void 0}],value:o,onChange:f}),o==="sm"&&a.jsx(oi,{name:"snssaiList",children:k=>{const{remove:A,push:P,form:T}=k,{getFieldMeta:j}=T,R=()=>{P({_uuid:gn(),sst:"",sd:"",dnnList:[]})},D=N=>{A(N)},O=N=>!j(N)?.error;return a.jsx(pr,{error:!O("snssaiList"),title:"S-NSSAIs",headerActionsComponent:a.jsx(Ze,{variant:"outlined",startIcon:a.jsx(ge.Add,{}),text:c.formatMessage({id:"udr_policy_data_profiles.form.snssai_add"}),type:"button",onClick:R,disabled:!Ue(ie.provisioning)}),elevation:2,children:a.jsxs(Kt,{children:[x.snssaiList.length===0&&a.jsx(Lr,{severity:"info",message:c.formatMessage({id:"common.no-data"}),sx:{backgroundColor:"divider"}}),a.jsx(Jn,{exclusive:!1,spacing:2,children:x.snssaiList.map((N,F)=>a.jsx(xr,{title:ljt(N.sst,N.sd||"",F),error:!O(`snssaiList[${F}]`),elevation:3,actionsComponent:a.jsx(Mn,{title:c.formatMessage({id:"udr_policy_data_profiles.form.dnn_remove"}),children:a.jsx("div",{children:a.jsx(Zr,{component:"span",role:"button",size:"small",onClick:()=>D(F),disabled:!Ue(ie.provisioning),children:a.jsx(ge.Trash,{})})})}),content:a.jsxs(te,{spacing:2,children:[a.jsxs(te,{direction:{xs:"column",md:"row"},children:[a.jsx(Ke,{name:`snssaiList[${F}].sst`,children:U=>{const{field:z,meta:H}=U;return a.jsx(dt,{...z,label:c.formatMessage({id:"udr_policy_data_profiles.form.sst"}),size:"small",error:!!H.error,helperText:H.error,sx:{flex:1}})}}),a.jsx(Ke,{name:`snssaiList[${F}].sd`,children:U=>{const{field:z,meta:H}=U;return a.jsx(dt,{...z,label:c.formatMessage({id:"udr_policy_data_profiles.form.sd"}),size:"small",error:!!H.error,helperText:H.error,sx:{flex:1}})}})]}),a.jsx(oi,{name:`snssaiList[${F}].dnnList`,children:U=>{const{remove:z,push:H}=U,W=q=>{z(q)},K=()=>{H({_uuid:gn(),dnn:"",allowedServices:[]})};return a.jsx(pr,{error:!O(`snssaiList[${F}].dnnList`),title:"DNNs",headerActionsComponent:a.jsx(Ze,{variant:"outlined",startIcon:a.jsx(ge.Add,{}),text:c.formatMessage({id:"udr_policy_data_profiles.form.dnn_add"}),type:"button",onClick:K,disabled:!Ue(ie.provisioning)}),elevation:4,children:a.jsxs(Kt,{children:[N.dnnList.length===0&&a.jsx(Lr,{severity:"info",message:c.formatMessage({id:"common.no-data"}),sx:{backgroundColor:"divider"}}),N.dnnList.length>0&&a.jsx(Jn,{exclusive:!1,spacing:2,children:N.dnnList.map((q,X)=>a.jsx(xr,{elevation:5,title:cjt(q.dnn,X),error:!O(`snssaiList[${F}].dnnList[${X}]`),actionsComponent:a.jsx(Mn,{title:c.formatMessage({id:"udr_policy_data_profiles.form.snssai_remove"}),children:a.jsx("div",{children:a.jsx(Zr,{component:"span",role:"button",size:"small",onClick:()=>W(X),disabled:!Ue(ie.provisioning),children:a.jsx(ge.Trash,{})})})}),content:a.jsxs(te,{direction:{xs:"column",md:"row"},children:[a.jsx(Ke,{name:`snssaiList[${F}].dnnList[${X}].dnn`,children:Q=>{const{field:Y,meta:Z}=Q;return a.jsx(dt,{...Y,label:c.formatMessage({id:"udr_policy_data_profiles.form.dnn"}),size:"small",error:!!Z.error,helperText:Z.error,sx:{flex:1}})}}),a.jsx(Ke,{name:`snssaiList[${F}].dnnList[${X}].allowedServices`,children:Q=>{const{field:Y,meta:Z,form:re}=Q,{setFieldValue:fe}=re;return a.jsx(rn,{value:Y.value,name:Y.name,label:c.formatMessage({id:"udr_policy_data_profiles.form.allowedServices"}),multiple:!0,size:"small",freeSolo:!0,options:["ims","mcptt"],onChange:(de,se)=>{fe(Y.name,se)},error:!!Z.error,helperText:Z.error,sx:{flex:1}})}})]})},`${q?._uuid}`))})]})})}})]})},`${N._uuid}`))})]})})}}),o==="am"&&a.jsx(pr,{elevation:2,children:a.jsx(Kt,{children:a.jsx(Ke,{name:"subscCats",children:k=>{const{field:A,meta:P}=k;return a.jsx(dt,{...A,label:c.formatMessage({id:"udr_policy_data_profiles.form.subscCats"}),size:"small",error:!!P.error,helperText:P.error,fullWidth:!0})}})})}),a.jsx(Xr,{data:i})]}),a.jsx(Ze,{type:"submit",text:c.formatMessage({id:"udr_policy_data_profiles.form.submit"}),disabled:!C,loading:s,sx:{alignSelf:"flex-start"}})]})})},e[6]=i,e[7]=c,e[8]=u,e[9]=s,e[10]=o,e[11]=g):g=e[11];let y;return e[12]!==_||e[13]!==m||e[14]!==g?(y=a.jsx(Wr,{initialValues:m,validationSchema:ujt,onSubmit:_,children:g}),e[12]=_,e[13]=m,e[14]=g,e[15]=y):y=e[15],y},fjt=()=>{const t=he.c(31),e=Ye(),{submit:r,data:n,state:s}=gr(),{id:i}=ko(),{udrPolicyDataProfile:o}=zn(),{openConfirmDialog:l}=di(),c=i&&i!=="new";let u;t[0]!==r?(u=async P=>{r(P,{method:"POST",encType:"application/json",action:"create"})},t[0]=r,t[1]=u):u=t[1];const d=u;let f;t[2]!==r?(f=async P=>{r(P,{method:"PUT",encType:"application/json",action:"update"})},t[2]=r,t[3]=f):f=t[3];const p=f;let m;t[4]!==r?(m=async P=>{r({id:P},{method:"DELETE",encType:"application/json",action:"delete"})},t[4]=r,t[5]=m):m=t[5];const h=m;let _;t[6]!==d||t[7]!==c||t[8]!==p?(_=async P=>{c?await p(P):await d(P)},t[6]=d,t[7]=c,t[8]=p,t[9]=_):_=t[9];const g=_;let y;t[10]!==i||t[11]!==e||t[12]!==c||t[13]!==l||t[14]!==h?(y=()=>{l({text:e.formatMessage({id:"udr_policy_data_profiles.toolbar.delete"}),onConfirm:()=>{i&&c&&h(i)}})},t[10]=i,t[11]=e,t[12]=c,t[13]=l,t[14]=h,t[15]=y):y=t[15];const b=y;let x;t[16]!==b||t[17]!==e||t[18]!==c?(x=c&&a.jsx(hs,{children:a.jsx(Ze,{startIcon:a.jsx(ge.Trash,{}),variant:"outlined",disabled:!Ue(ie.provisioning),text:e.formatMessage({id:"nrf_static_profiles.actions.delete"}),onClick:()=>void b()})}),t[16]=b,t[17]=e,t[18]=c,t[19]=x):x=t[19];let w;t[20]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(Dt,{variant:"rounded",sx:{height:"500px"}}),t[20]=w):w=t[20];let C;t[21]!==n||t[22]!==g||t[23]!==s?(C=P=>a.jsx(djt,{initialValues:P,onSubmit:g,loading:s!=="idle",error:n}),t[21]=n,t[22]=g,t[23]=s,t[24]=C):C=t[24];let k;t[25]!==C||t[26]!==o?(k=a.jsx(Kt,{children:a.jsx(I.Suspense,{fallback:w,children:a.jsx(Qt,{resolve:o,children:C})})}),t[25]=C,t[26]=o,t[27]=k):k=t[27];let A;return t[28]!==x||t[29]!==k?(A=a.jsxs(a.Fragment,{children:[x,k]}),t[28]=x,t[29]=k,t[30]=A):A=t[30],A},tn=Pr();var ame=(t=>(t.NR="NR",t.EUTRA="EUTRA",t.WLAN="WLAN",t.VIRTUAL="VIRTUAL",t.NBIOT="NBIOT",t.WIRELINE="WIRELINE",t.WIRELINE_CABLE="WIRELINE_CABLE",t.WIRELINE_BBF="WIRELINE_BBF",t.LTE="LTE-M",t.NR_U="NR_U",t.EUTRA_U="EUTRA_U",t.TRUSTED_N3GA="TRUSTED_N3GA",t.TRUSTED_WLAN="TRUSTED_WLAN",t.UTRA="UTRA",t.GERA="GERA",t))(ame||{});const pjt=Object.keys(ame);var fp=(t=>(t.DATA="DATA",t.REJECT="REJECT",t.SOR_LIGHT="SOR_LIGHT",t.SOR_AGGRESSIVE="SOR_AGGRESSIVE",t))(fp||{});const mjt=Object.keys(fp);var lme=(t=>(t.DATA_OVER_USER_PLANE_PREFERRED="DATA_OVER_USER_PLANE_PREFERRED",t.DATA_OVER_CONTROL_PLANE_PREFERRED="DATA_OVER_CONTROL_PLANE_PREFERRED",t))(lme||{});const hjt=Object.keys(lme);var cme=(t=>(t.REQUIRED="REQUIRED",t.PREFERRED="PREFERRED",t.NOT_NEEDED="NOT_NEEDED",t))(cme||{});const Wee=Object.keys(cme);var ume=(t=>(t.ALLOWED_AREAS="ALLOWED_AREAS",t.NOT_ALLOWED_AREAS="NOT_ALLOWED_AREAS",t))(ume||{});const gjt=Object.keys(ume);var G$=(t=>(t.UNABLE_TO_COMPLY="UNABLE_TO_COMPLY",t.ROAMING_NOT_ALLOWED_ODB_ALL_APN="ROAMING_NOT_ALLOWED_ODB_ALL_APN",t))(G$||{}),W$=(t=>(t.UNEXPECTED_DATA_VALUE="UNEXPECTED_DATA_VALUE",t.SYSTEM_FAILURE="SYSTEM_FAILURE",t))(W$||{});const _jt={uuid:"",description:"",plmnRules:[]},N3=["bps","Kbps","Mbps","Gbps","Tbps"],Yee=["IPV4","IPV4V6","IPV6","UNSTRUCTURED","ETHERNET"],vjt=["ONLY_PACKET","PACKET_AND_CIRCUIT","ONLY_CIRCUIT","PACKET_WITH_CIRCUIT_ONLY_FOR_SMS"],yjt=["NOT_PREEMPT","MAY_PREEMPT"],bjt=["NOT_PREEMPTABLE","PREEMPTABLE"];function dh({sst:t,sd:e}){if(!t&&!e)return;let r="";return t&&(r+=t),e&&(r+=`-${e}`),r}function xjt({dnnConfigurations:t,defaultDnn:e}){return Object.entries(t).map(([r,n])=>({_uuid:e&&e.dnnName===r?e._uuid:gn(),dnnName:r,"5qi":n["5gQosProfile"]?.["5qi"]||"","3gppChargingCharacteristics":n["3gppChargingCharacteristics"]||"",preferredDataMode:n["x-ath-preferredDataMode"]||[],upSecurityUpConfid:n.upSecurity?.upConfid||"",upSecurityUpIntegr:n.upSecurity?.upIntegr||"",uplink:n.sessionAmbr?.uplink||"",downlink:n.sessionAmbr?.downlink||"",preemptCap:n["5gQosProfile"]?.arp?.preemptCap,preemptVuln:n["5gQosProfile"]?.arp?.preemptVuln,arpPriorityLevel:n["5gQosProfile"]?.arp?.priorityLevel||"",defaultSessionType:n.pduSessionTypes?.defaultSessionType||"",allowedSessionTypes:n.pduSessionTypes?.allowedSessionTypes||[],allowedSscModes:n.sscModes?.allowedSscModes||[],defaultSscMode:"SSC_MODE_1",APNOIReplacement:n["x-ath-APNOIReplacement"]||""}))}function Sjt({data:t,default4gSlice:e,defaultSlices:r}){const n=t?.smfSelData?.subscribedSnssaiInfos?Object.entries(t.smfSelData.subscribedSnssaiInfos)?.map(([o])=>{const[l,c]=o.split("-");return{sd:c,sst:+l}}):[],s=t?.smfSelData?.subscribedSnssaiInfos?Object.entries(t.smfSelData.subscribedSnssaiInfos)?.map(([o,l])=>{const[c,u]=o.split("-");return{sd:u,sst:c,dnnList:l.dnnInfos?.map(f=>({dnnName:f.dnn,isDefault:f.defaultDnnIndicator,_uuid:gn()}))}}).filter(o=>!!o):[];return t?.smData?.map(o=>{if(o.singleNssai.sd||o.singleNssai.sst){const{sd:l,sst:c}=o.singleNssai,u=({sst:p,sd:m})=>{const h=!!e&&p===e.sst&&m===e.sd,_=r.find(g=>p===g.sst&&m===g.sd);return h?e?._uuid:_?_._uuid:gn()},d=s?.reduce((p,m)=>{if(p)return p;if((!m.sd||m.sd&&m.sd===l)&&+m.sst===c&&m?.dnnList?.find(h=>h.isDefault)){const h=m?.dnnList?.find(_=>_.isDefault);return h&&{_uuid:h._uuid,dnnName:h.dnnName}}},void 0);return{_uuid:u({sst:c,sd:l}),sd:l,sst:c,"3gppChargingCharacteristics":o["3gppChargingCharacteristics"]||"",defaultDnnId:d?._uuid||"",isDefault:!!r.find(p=>p.sd===l&&p.sst===c),isEnabled:!!n.find(p=>p.sd===l&&p.sst===c),dnnList:o.dnnConfigurations&&xjt({dnnConfigurations:o.dnnConfigurations,defaultDnn:d})}}else return}).filter(o=>!!o)??[]}function wjt(t){return t?Object.keys(t?.plmn_rules_map):[]}function Y$(t,e){return t?t?.plmn_rules_map?.[e]?.data?.smData?.reduce((r,n)=>{const s=n.dnnConfigurations&&Object.keys(n.dnnConfigurations)?.map(i=>({sliceId:dh({sd:n.singleNssai.sd,sst:n.singleNssai.sst}),dnnName:i})).filter(i=>!!i);return s?[...r,...s]:r},[])||[]:[]}function Cjt({_uuid:t,data:e,pattern:r,action:n,data_from:s,...i}){if(!e&&s)return{_uuid:t,action:n,pattern:r||"",defaultSliceIds:[],default4gSliceId:"",isServiceAreaRestrictionActive:!1,slices:[],smsSubscribed:!1,smsMtSubscribed:!1,smsMoSubscribed:!1,data_from:s,isDataFrom:!!s,...i};if(!e)return{_uuid:t,action:n,pattern:r||"",defaultUplink:"",defaultDownlink:"",defaultSliceIds:[],default4gSliceId:"",networkAccessMode:"",coreNetworkTypeRestrictions:[],rfspIndex:"",regionalSubscriptionZoneCodes:[],isServiceAreaRestrictionActive:!1,serviceAreaRestrictionType:"ALLOWED_AREAS",serviceAreaRestrictionAreas:[],forbiddenAreas:[],closedSubscriberGroup:[],ratRestrictions:[],APNOIReplacement:"",ueUsageType:"",subsRegTimer:"",slices:[],smsSubscribed:!1,smsMtSubscribed:!1,smsMoSubscribed:!1,diameter_error:"",map_error:"",max_attempts:"",tolerance_period_sec:"",data_from:"",isDataFrom:!1};const o=e.smData?.map(m=>{const{singleNssai:{sd:h,sst:_}}=m;if(_)return{sd:h,sst:_}}).filter(m=>!!m),c=(e.amData?.nssai?.defaultSingleNssais?.map(m=>{const{sd:h,sst:_}=m;if(_)return{sd:h,sst:_}}).filter(m=>!!m&&!!o?.find(h=>h.sd===m.sd&&h.sst===m.sst))??[])?.map(m=>({_uuid:gn(),sd:m.sd,sst:m.sst})),u=e.amData?.nssai?.["x-ath-nssai"],d=u&&c?.length?c.find(m=>m.sd===u.sd&&m.sst===u.sst):void 0,f=u?{_uuid:d?d._uuid:gn(),sd:u.sd,sst:u.sst}:void 0;return{_uuid:gn(),action:n,pattern:r,defaultUplink:e?.amData?.subscribedUeAmbr?.uplink||"",defaultDownlink:e?.amData?.subscribedUeAmbr?.downlink||"",defaultSliceIds:c?.map(m=>m._uuid),default4gSliceId:f?._uuid||"",networkAccessMode:e?.amData?.["x-ath-networkAccessMode"]||"",coreNetworkTypeRestrictions:e?.amData?.coreNetworkTypeRestrictions||[],rfspIndex:e?.amData?.rfspIndex||"",regionalSubscriptionZoneCodes:e?.amData?.["x-ath-regionalSubscriptionZoneCodes"]||[],isServiceAreaRestrictionActive:!!e?.amData?.serviceAreaRestriction?.restrictionType,serviceAreaRestrictionType:e?.amData?.serviceAreaRestriction?.restrictionType||"ALLOWED_AREAS",serviceAreaRestrictionAreas:e?.amData?.serviceAreaRestriction?.areas?.map(({["x-ath-name"]:m,tacs:h})=>({_uuid:gn(),name:m,tacs:h}))??[],forbiddenAreas:e?.amData?.forbiddenAreas?.map(({["x-ath-name"]:m,tacs:h})=>({_uuid:gn(),name:m,tacs:h}))??[],closedSubscriberGroup:e?.amData?.["x-ath-closedSubscriberGroup"]?.map(m=>({_uuid:gn(),csg_id:m.csg_id||"",visited_plmn:m.visited_plmn||""}))??[],ratRestrictions:e?.amData?.ratRestrictions||[],APNOIReplacement:e?.amData?.["x-ath-APNOIReplacement"]||"",ueUsageType:e?.amData?.ueUsageType??"",subsRegTimer:e?.amData?.subsRegTimer??"",slices:Sjt({data:e,default4gSlice:f,defaultSlices:c}),smsSubscribed:e?.smsSubsData?.smsSubscribed??!1,smsMtSubscribed:e?.smsMngData?.mtSmsSubscribed??!1,smsMoSubscribed:e?.smsMngData?.moSmsSubscribed??!1,isDataFrom:!!s,...i}}function Ajt(t){if(!t||!Object.keys(t).length)return[];const e=Object.entries(t).map(([n,{action:s,data:i,data_from:o,...l}])=>Cjt({_uuid:gn(),pattern:n,action:s,data:i,data_from:o,...l}));return e.map(n=>n.data_from?{...n,data_from:e.find(s=>s.pattern===n.data_from)?._uuid}:n)}function kjt(t){if(!t)return _jt;const e=Ajt(t.plmn_rules_map),r={uuid:t.uuid,description:t.description||"",plmnRules:e};return Ni.cloneDeep(r)}const Mjt=t=>{const e=t.filter(r=>r.isEnabled).reduce((r,n)=>{const s=dh({sd:n.sd,sst:n.sst}),i=n.dnnList?.map(o=>({defaultDnnIndicator:n.defaultDnnId===o._uuid,dnn:o.dnnName}))||[];return!s||!i.length?r:{...r,[s]:{dnnInfos:i}}},{});return Object.entries(e).length?{subscribedSnssaiInfos:e}:void 0},Pjt=t=>t.map(e=>{const{sd:r,sst:n}=e,s=e.dnnList?.reduce((i,o)=>{const{dnnName:l,...c}=o,u=!!c["5qi"]||!!c.preemptCap||!!c.preemptVuln||!!c.arpPriorityLevel,d=!!c.allowedSessionTypes?.length,f=!!c.allowedSscModes?.length,p=!!c.uplink&&c.downlink,m=!!c.upSecurityUpIntegr&&!!c.upSecurityUpConfid;return{...i,[l]:{pduSessionTypes:{defaultSessionType:c.defaultSessionType,...d&&{allowedSessionTypes:c.allowedSessionTypes}},sscModes:{defaultSscMode:c.defaultSscMode||"SSC_MODE_1",...f&&{allowedSscModes:c.allowedSscModes}},...c.APNOIReplacement&&{"x-ath-APNOIReplacement":c.APNOIReplacement},...p&&{sessionAmbr:{downlink:c.downlink,uplink:c.uplink}},...u&&{"5gQosProfile":{arp:{preemptCap:c.preemptCap,preemptVuln:c.preemptVuln,priorityLevel:c.arpPriorityLevel},"5qi":c["5qi"]}},...c["3gppChargingCharacteristics"]&&{"3gppChargingCharacteristics":c["3gppChargingCharacteristics"]},...c.preferredDataMode&&{"x-ath-preferredDataMode":c.preferredDataMode},...m&&{upSecurity:{upConfid:c.upSecurityUpConfid,upIntegr:c.upSecurityUpIntegr}}}}},{})||{};return{singleNssai:{...r&&{sd:r},sst:+n},...e["3gppChargingCharacteristics"]&&{"3gppChargingCharacteristics":e["3gppChargingCharacteristics"]},...!!Object.entries(s)?.length&&{dnnConfigurations:s}}});function jjt(t){const e=t.slices.filter(d=>t.defaultSliceIds.includes(d._uuid)).map(d=>({...d.sd&&{sd:d.sd},sst:+d.sst})).filter(d=>!!d),r=t.slices.map(d=>t.default4gSliceId===d._uuid?{...d.sd&&{sd:d.sd},sst:+d.sst}:void 0).find(d=>!!d),n=t.slices.map(d=>({...d.sd&&{sd:d.sd},sst:+d.sst})).filter(d=>!!d),s=({singleNssais:d,defaultSingleNssais:f,default4gSingleNssai:p,defaultUplink:m,defaultDownlink:h,networkAccessMode:_,coreNetworkTypeRestrictions:g,rfspIndex:y,forbiddenAreas:b,isServiceAreaRestrictionActive:x,serviceAreaRestrictionType:w,serviceAreaRestrictionAreas:C,regionalSubscriptionZoneCodes:k,closedSubscriberGroup:A,ratRestrictions:P,APNOIReplacement:T,ueUsageType:j,subsRegTimer:R,canAddNetworkAccessMode:D,canAddAPNOIReplacement:O})=>{const N=!!f?.length,F=!!d?.length,U=!!p,z=!!h&&!!m,H=N||F||U,W=!!g?.length,K=!!P?.length,q=!!k?.length,X=!!A?.length,Q=!!b?.length;return!H&&!z&&!_&&!T&&typeof j!="number"&&typeof R!="number"&&!W&&!K&&!q&&!X&&!y&&!x&&!Q?void 0:{...H&&{nssai:{...N&&{defaultSingleNssais:f},...F&&{singleNssais:d},...U&&{"x-ath-nssai":p}}},...z&&{subscribedUeAmbr:{downlink:h,uplink:m}},..._&&D&&{"x-ath-networkAccessMode":_},...T&&O&&{"x-ath-APNOIReplacement":T},...typeof j=="number"&&j>=0&&{ueUsageType:j},...typeof R=="number"&&R>=0&&{subsRegTimer:R},...W&&{coreNetworkTypeRestrictions:g},...K&&{ratRestrictions:P},...q&&{"x-ath-regionalSubscriptionZoneCodes":k},...X&&{"x-ath-closedSubscriberGroup":A.map(({csg_id:Z,visited_plmn:re})=>({csg_id:+Z,...re&&{visited_plmn:re}}))},...!!y&&{rfspIndex:y},...x&&{serviceAreaRestriction:{restrictionType:w,areas:C.map(({name:Z,tacs:re})=>({name:Z,tacs:re}))}},...Q&&{forbiddenAreas:b.map(({name:Z,tacs:re})=>({name:Z,tacs:re}))}}},i=({smsSubscribed:d,smsMoSubscribed:f,smsMtSubscribed:p})=>({smsSubsData:{smsSubscribed:d},smsMngData:{moSmsSubscribed:f,mtSmsSubscribed:p}}),o=s({default4gSingleNssai:r,singleNssais:n,defaultSingleNssais:e,defaultUplink:t.defaultUplink,defaultDownlink:t.defaultDownlink,networkAccessMode:t.networkAccessMode,coreNetworkTypeRestrictions:t.coreNetworkTypeRestrictions,closedSubscriberGroup:t.closedSubscriberGroup,rfspIndex:t.rfspIndex,regionalSubscriptionZoneCodes:t.regionalSubscriptionZoneCodes,ratRestrictions:t.ratRestrictions,forbiddenAreas:t.forbiddenAreas,isServiceAreaRestrictionActive:t.isServiceAreaRestrictionActive,serviceAreaRestrictionType:t.serviceAreaRestrictionType,serviceAreaRestrictionAreas:t.serviceAreaRestrictionAreas,APNOIReplacement:t.APNOIReplacement,ueUsageType:t.ueUsageType,subsRegTimer:t.subsRegTimer,canAddNetworkAccessMode:!!t.default4gSliceId,canAddAPNOIReplacement:!0}),l=Pjt(t.slices),c=Mjt(t.slices),u=i(t);return{...!!o&&{amData:o},...!!l?.length&&{smData:l},...!!c&&{smfSelData:c},...u}}function Tjt(t){return t.reduce((e,{pattern:r,action:n,diameter_error:s,map_error:i,max_attempts:o,tolerance_period_sec:l,data_from:c,...u})=>({...e,[r]:{action:n,...u.isDataFrom?{data_from:t.find(d=>d._uuid===c)?.pattern}:{data:jjt(u)},...n==="SOR_LIGHT"&&!!s&&{diameter_error:s},...n==="SOR_LIGHT"&&!!i&&{map_error:i},...n==="SOR_LIGHT"&&!!o&&{max_attempts:o},...(n==="SOR_LIGHT"||n==="SOR_AGGRESSIVE")&&!!l&&{tolerance_period_sec:l}}}),{})}function Ejt({uuid:t,description:e,plmnRules:r}){return{uuid:t,...e&&{description:e},plmn_rules_map:Tjt(r)}}function dme({sst:t,sd:e},r){const n=dh({sst:t,sd:e});return n||`Slice #${r+1}`}const Rjt=dr().shape({uuid:We().required(tn.formatMessage({id:"validation.required"})).matches(new RegExp(`${$.regex.idString}|${$.regex.uuid}`),tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.uuid_format"},{value:`${$.regex.idString}|${$.regex.uuid}`})),description:We().matches(new RegExp($.regex.descriptionRm),tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.format"},{value:"^[ -~]{1,128}"})),plmnRules:yr().of(dr().shape({action:We().matches(new RegExp(`^${Object.values(fp).join("|")}$`),tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.format"},{value:`^${Object.values(fp).join("|")}$`})),max_attempts:kn().min(1,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.max_attempts"})),tolerance_period_sec:kn().min(1,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.tolerance_period_sec"})),pattern:We().matches(new RegExp($.regex.plmnRuleStr)).required(tn.formatMessage({id:"validation.required"})),data_from:We().when("isDataFrom",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_rule"})):e),defaultDownlink:We().when("default4gSliceId",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_default4g"})):e).when("defaultUplink",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_downlink"})):e),defaultUplink:We().when("default4gSliceId",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_default4g"})):e).when("defaultDownlink",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_uplink"})):e),networkAccessMode:We().nullable(),coreNetworkTypeRestrictions:yr().of(We()),regionalSubscriptionZoneCodes:yr().of(We().matches(new RegExp(`${$.regex.regionalSubscriptionZoneCodes}`))).max(10),closedSubscriberGroup:yr().of(dr().shape({csg_id:kn().required(tn.formatMessage({id:"validation.required"})).min(0,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.min"},{value:1})).max(134217727),visited_plmn:We().matches(new RegExp($.regex.plmnVisited))})),ratRestrictions:yr().of(We()),forbiddenAreas:yr().of(dr().shape({name:We(),tacs:yr().of(We().matches(new RegExp($.regex.tac))).min(1,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_serviceAreaRestrictionAreas"}))})),isServiceAreaRestrictionActive:li(),serviceAreaRestrictionType:We().when("isServiceAreaRestrictionActive",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_serviceAreaRestrictionType"})):e),serviceAreaRestrictionAreas:yr().of(dr().shape({name:We(),tacs:yr().of(We().matches(new RegExp($.regex.tac))).min(1,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.min"},{value:1})).required(tn.formatMessage({id:"validation.required"}))})).when("isServiceAreaRestrictionActive",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_serviceAreaRestrictionType"})).min(1,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_serviceAreaRestrictionAreas"})):e),rfspIndex:kn().min(1).max(256),APNOIReplacement:We().nullable().matches(new RegExp(`${$.regex.apnOi}`),tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.format"},{value:"^([a-zA-Z0-9]\\.|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]\\.)*mnc[0-9]{3}\\.mcc[0-9]{3}\\.gprs$"})),ueUsageType:kn().min(0),subsRegTimer:kn().min(0),default4gSliceId:We(),defaultSliceIds:yr().of(We()).when("slices",(t,e)=>t?.length>0?e.min(1,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.min"},{value:1})):e),slices:yr().of(dr().shape({sst:kn().min(0,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.min"},{value:0})).max(255,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.max"},{value:255})).required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required"})),sd:We().matches(new RegExp(`${$.regex.sd}`),tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.format"},{value:"^[a-f0-9]{6}$"})),isEnabled:li(),"3gppChargingCharacteristics":We().matches(new RegExp($.regex["3gppChargingCharacteristics"])),defaultDnnId:We(),dnnList:yr().of(dr().shape({dnnName:We().required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required"})),downlink:We().when("uplink",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_downlink"})):e),uplink:We().when("downlink",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_uplink"})):e),"3gppChargingCharacteristics":We().matches(new RegExp($.regex["3gppChargingCharacteristics"])),preferredDataMode:yr().of(We()),upSecurityUpConfid:We().when("upSecurityUpIntegr",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_upSecurityUpConfid"})):e),upSecurityUpIntegr:We().when("upSecurityUpConfid",(t,e)=>t?e.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_upSecurityUpIntegr"})):e),"5qi":kn().max(255,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.max"})).min(0,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.min"})).when(["preemptCap","preemptVuln","arpPriorityLevel"],(t,e,r,n)=>t||e||r?n.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_5gQosProfile"})):n),preemptCap:We().when(["5qi","preemptVuln","arpPriorityLevel"],(t,e,r,n)=>t||e||r?n.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_5gQosProfile"})):n),preemptVuln:We().when(["preemptCap","5qi","arpPriorityLevel"],(t,e,r,n)=>t||e||r?n.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_5gQosProfile"})):n),arpPriorityLevel:kn().min(1,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.min"})).max(15,tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.max"})).when(["preemptCap","preemptVuln","5qi"],(t,e,r,n)=>t||e||r?n.required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required_5gQosProfile"})):n),allowedSessionTypes:yr().of(We()),defaultSessionType:We().required(tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.required"})),APNOIReplacement:We().nullable().matches(new RegExp(`${$.regex.apnOi}`),tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.format"},{value:"^([a-zA-Z0-9]\\.|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]\\.)*mnc[0-9]{3}\\.mcc[0-9]{3}\\.gprs$"}))},[["uplink","downlink"],["upSecurityUpConfid","upSecurityUpIntegr"],["5qi","preemptCap"],["5qi","preemptVuln"],["5qi","arpPriorityLevel"],["preemptCap","5qi"],["preemptCap","preemptVuln"],["preemptCap","arpPriorityLevel"],["preemptVuln","5qi"],["preemptVuln","preemptCap"],["preemptVuln","arpPriorityLevel"],["arpPriorityLevel","5qi"],["arpPriorityLevel","preemptCap"],["arpPriorityLevel","preemptVuln"]]))})).test({name:"unique-slices-id",message:tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.unique_slices_id"}),test:t=>t?.length===0||t&&t.length===[...new Set(t.map(e=>`${e.sst}-${e.sd}`))].length})},[["defaultUplink","defaultDownlink"]]).test({name:"default4g-slice-with-pdn-enabled",message:tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.default4g_slice_with_pdn_enabled"}),test:(t,e)=>t.default4gSliceId?t.slices?.find(s=>s._uuid===t.default4gSliceId&&s.isEnabled)?t.slices?.find(s=>s._uuid===t.default4gSliceId&&!!s.dnnList?.find(i=>!!i["5qi"]))?!0:e.createError({path:`${e.path}.default4gSliceId`,message:tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.default4g_slice_with_5gQosProfile"})}):e.createError({path:`${e.path}.default4gSliceId`,message:tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.default4g_slice_with_pdn_enabled"})}):!0})).test({name:"unique-plmn-rule-pattern",message:tn.formatMessage({id:"udr_provisioned_data_profiles.form.errors.unique_plmn_rule_id"}),test:t=>t?.length===0||t&&t.length===[...new Set(t.map(e=>`${e.pattern}`))].length})},[["defaultUplink","defaultDownlink"]]),F3=t=>{const e=he.c(32),{fieldName:r,fieldValue:n,fieldLabel:s,setFieldValue:i,selectOptions:o,selectInitialValue:l,disabled:c,canWrite:u,meta:d}=t,[f,p]=I.useState(l);let m;e[0]!==r||e[1]!==i||e[2]!==f?(m=D=>{const O=D.target.value;O?.split(" ")[0]?i(r,`${O?.split(" ")[0]} ${f}`):i(r,"")},e[0]=r,e[1]=i,e[2]=f,e[3]=m):m=e[3];const h=m;let _;e[4]!==r||e[5]!==n||e[6]!==i?(_=D=>{p(D.target.value),n?.split(" ")[0]&&i(r,`${n?.split(" ")[0]} ${D.target.value}`)},e[4]=r,e[5]=n,e[6]=i,e[7]=_):_=e[7];const g=_;let y,b;e[8]!==l?(y=()=>{p(l)},b=[p,l],e[8]=l,e[9]=y,e[10]=b):(y=e[9],b=e[10]),I.useEffect(y,b);let x;e[11]!==n?(x=n?.split(" ")[0]||"",e[11]=n,e[12]=x):x=e[12];const w=!!d.error,C=c||!u;let k;e[13]!==s||e[14]!==r||e[15]!==d.error||e[16]!==h||e[17]!==x||e[18]!==w||e[19]!==C?(k=a.jsx(dt,{name:r,value:x,label:s,size:"small",type:"number",fullWidth:!0,error:w,helperText:d.error,disabled:C,onChange:h}),e[13]=s,e[14]=r,e[15]=d.error,e[16]=h,e[17]=x,e[18]=w,e[19]=C,e[20]=k):k=e[20];let A;e[21]===Symbol.for("react.memo_cache_sentinel")?(A={width:"100px"},e[21]=A):A=e[21];const P=c||!u;let T;e[22]!==o?(T=o.map(Ijt),e[22]=o,e[23]=T):T=e[23];let j;e[24]!==g||e[25]!==P||e[26]!==T||e[27]!==f?(j=a.jsx(gt,{sx:A,children:a.jsx(qs,{label:"Unit",value:f,onChange:g,disabled:P,size:"small",children:T})}),e[24]=g,e[25]=P,e[26]=T,e[27]=f,e[28]=j):j=e[28];let R;return e[29]!==j||e[30]!==k?(R=a.jsxs(te,{direction:"row",spacing:.2,nowrap:!0,justify:"flex-start",children:[k,j]}),e[29]=j,e[30]=k,e[31]=R):R=e[31],R};function Ijt(t){return a.jsx(En,{value:t,children:t},t)}const Djt=t=>{const e=he.c(120),{i:r,j:n,plmnIndex:s}=t,i=Ye(),o=`plmnRules[${s}].slices[${r}].dnnList[${n}].dnnName`;let l;e[0]!==i?(l=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct,handleBlur:Et}=ft;return a.jsx(dt,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.name"}),onBlur:at=>{const $t=at.target.value||"";Ct(Ne.name,$t.trim()),Et(at)},size:"small",error:!!Oe.error,helperText:Oe.error})},e[0]=i,e[1]=l):l=e[1];let c;e[2]!==o||e[3]!==l?(c=a.jsx(Ur,{name:o,children:l}),e[2]=o,e[3]=l,e[4]=c):c=e[4];const u=`plmnRules[${s}].slices[${r}].dnnList[${n}].APNOIReplacement`;let d;e[5]!==i?(d=Ve=>{const{field:Ne,meta:Oe}=Ve;return a.jsx(dt,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.APNOIReplacement"}),size:"small",error:!!Oe.error,helperText:Oe.error})},e[5]=i,e[6]=d):d=e[6];let f;e[7]!==u||e[8]!==d?(f=a.jsx(Ur,{name:u,children:d}),e[7]=u,e[8]=d,e[9]=f):f=e[9];const p=`plmnRules[${s}].slices[${r}].dnnList[${n}].3gppChargingCharacteristics`;let m;e[10]!==i?(m=Ve=>{const{field:Ne,meta:Oe}=Ve;return a.jsx(dt,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.3gppChargingCharacteristics"}),size:"small",error:!!Oe.error,helperText:Oe.error})},e[10]=i,e[11]=m):m=e[11];let h;e[12]!==p||e[13]!==m?(h=a.jsx(Ur,{name:p,children:m}),e[12]=p,e[13]=m,e[14]=h):h=e[14];const _=`plmnRules[${s}].slices[${r}].dnnList[${n}].preferredDataMode`;let g;e[15]!==i?(g=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct}=ft;return a.jsx(rn,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.preferredDataMode"}),multiple:!0,size:"small",value:Ne.value,options:[...hjt],onChange:(Et,at)=>{at?Ct(Ne.name,at):Ct(Ne.name,Ne.value)},error:!!Oe.error,helperText:Oe.error})},e[15]=i,e[16]=g):g=e[16];let y;e[17]!==_||e[18]!==g?(y=a.jsx(Ur,{name:_,children:g}),e[17]=_,e[18]=g,e[19]=y):y=e[19];let b;e[20]!==i?(b=i.formatMessage({id:"udr_provisioned_data_profile.section.dnnList.dnn.aggregated_maximum_bitrate.title"}),e[20]=i,e[21]=b):b=e[21];const x=`plmnRules[${s}].slices[${r}].dnnList[${n}].downlink`;let w;e[22]!==i?(w=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct}=ft;return a.jsx(F3,{fieldValue:Ne.value,fieldName:Ne.name,fieldLabel:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.downlink"}),setFieldValue:Ct,selectInitialValue:Ne.value?.split(" ")?.[1]||"bps",selectOptions:N3,canWrite:Ue(ie.provisioning),meta:Oe})},e[22]=i,e[23]=w):w=e[23];let C;e[24]!==x||e[25]!==w?(C=a.jsx(Ur,{name:x,children:w}),e[24]=x,e[25]=w,e[26]=C):C=e[26];const k=`plmnRules[${s}].slices[${r}].dnnList[${n}].uplink`;let A;e[27]!==i?(A=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct}=ft;return a.jsx(F3,{fieldValue:Ne.value,fieldName:Ne.name,fieldLabel:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.uplink"}),setFieldValue:Ct,selectInitialValue:Ne.value?.split(" ")?.[1]||"bps",selectOptions:N3,canWrite:Ue(ie.provisioning),meta:Oe})},e[27]=i,e[28]=A):A=e[28];let P;e[29]!==k||e[30]!==A?(P=a.jsx(Ur,{name:k,children:A}),e[29]=k,e[30]=A,e[31]=P):P=e[31];let T;e[32]!==C||e[33]!==P?(T=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[C,P]})}),e[32]=C,e[33]=P,e[34]=T):T=e[34];let j;e[35]!==b||e[36]!==T?(j=a.jsx(pr,{title:b,elevation:7,children:T}),e[35]=b,e[36]=T,e[37]=j):j=e[37];let R;e[38]!==i?(R=i.formatMessage({id:"udr_provisioned_data_profile.section.dnnList.dnn.qos.title"}),e[38]=i,e[39]=R):R=e[39];const D=`plmnRules[${s}].slices[${r}].dnnList[${n}].5qi`;let O;e[40]!==i?(O=Ve=>{const{field:Ne,meta:Oe}=Ve;return a.jsx(dt,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.5qi"}),size:"small",type:"number",error:!!Oe.error,helperText:Oe.error})},e[40]=i,e[41]=O):O=e[41];let N;e[42]!==D||e[43]!==O?(N=a.jsx(Ur,{name:D,children:O}),e[42]=D,e[43]=O,e[44]=N):N=e[44];let F;e[45]!==i?(F=i.formatMessage({id:"udr_provisioned_data_profile.section.dnnList.dnn.qos.arp.title"}),e[45]=i,e[46]=F):F=e[46];const U=`plmnRules[${s}].slices[${r}].dnnList[${n}].preemptCap`;let z;e[47]!==i?(z=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct}=ft;return a.jsx(rn,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.preemptCap"}),size:"small",value:Ne.value||null,options:yjt,onChange:(Et,at)=>{at?Ct(Ne.name,at):Ct(Ne.name,"")},error:!!Oe.error,helperText:Oe.error})},e[47]=i,e[48]=z):z=e[48];let H;e[49]!==U||e[50]!==z?(H=a.jsx(Ur,{name:U,children:z}),e[49]=U,e[50]=z,e[51]=H):H=e[51];const W=`plmnRules[${s}].slices[${r}].dnnList[${n}].preemptVuln`;let K;e[52]!==i?(K=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct}=ft;return a.jsx(rn,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.preemptVuln"}),size:"small",value:Ne.value||null,options:bjt,onChange:(Et,at)=>{at?Ct(Ne.name,at):Ct(Ne.name,"")},error:!!Oe.error,helperText:Oe.error})},e[52]=i,e[53]=K):K=e[53];let q;e[54]!==W||e[55]!==K?(q=a.jsx(Ur,{name:W,children:K}),e[54]=W,e[55]=K,e[56]=q):q=e[56];const X=`plmnRules[${s}].slices[${r}].dnnList[${n}].arpPriorityLevel`;let Q;e[57]!==i?(Q=Ve=>{const{field:Ne,meta:Oe}=Ve;return a.jsx(dt,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.5gQosProfile.arp.priorityLevel"}),size:"small",type:"number",error:!!Oe.error,helperText:Oe.error})},e[57]=i,e[58]=Q):Q=e[58];let Y;e[59]!==X||e[60]!==Q?(Y=a.jsx(Ur,{name:X,children:Q}),e[59]=X,e[60]=Q,e[61]=Y):Y=e[61];let Z;e[62]!==H||e[63]!==q||e[64]!==Y?(Z=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[H,q,Y]})}),e[62]=H,e[63]=q,e[64]=Y,e[65]=Z):Z=e[65];let re;e[66]!==F||e[67]!==Z?(re=a.jsx(pr,{title:F,elevation:8,children:Z}),e[66]=F,e[67]=Z,e[68]=re):re=e[68];let fe;e[69]!==N||e[70]!==re?(fe=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[N,re]})}),e[69]=N,e[70]=re,e[71]=fe):fe=e[71];let de;e[72]!==R||e[73]!==fe?(de=a.jsx(pr,{title:R,elevation:7,children:fe}),e[72]=R,e[73]=fe,e[74]=de):de=e[74];let se;e[75]!==i?(se=i.formatMessage({id:"udr_provisioned_data_profile.section.dnnList.dnn.session_types.title"}),e[75]=i,e[76]=se):se=e[76];const le=`plmnRules[${s}].slices[${r}].dnnList[${n}].defaultSessionType`;let ee;e[77]!==i?(ee=Ve=>{const{field:Ne,meta:Oe}=Ve;return a.jsx(qs,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.pduSessionTypes.defaultSessionType"}),size:"small",error:!!Oe.error,helperText:Oe.error,children:Yee.map($jt)})},e[77]=i,e[78]=ee):ee=e[78];let J;e[79]!==le||e[80]!==ee?(J=a.jsx(Ur,{name:le,children:ee}),e[79]=le,e[80]=ee,e[81]=J):J=e[81];const me=`plmnRules[${s}].slices[${r}].dnnList[${n}].allowedSessionTypes`;let pe;e[82]!==i?(pe=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct}=ft;return a.jsx(rn,{name:Ne.name,value:Ne.value||[],label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.pduSessionTypes.additionalSessionTypes"}),multiple:!0,size:"small",options:[...Yee],onChange:(Et,at)=>{Ct(Ne.name,[...new Set(at.map(Ojt))])},error:!!Oe.error,helperText:Oe.error,fullWidth:!0})},e[82]=i,e[83]=pe):pe=e[83];let Se;e[84]!==me||e[85]!==pe?(Se=a.jsx(Ur,{name:me,children:pe}),e[84]=me,e[85]=pe,e[86]=Se):Se=e[86];let ve;e[87]!==J||e[88]!==Se?(ve=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[J,Se]})}),e[87]=J,e[88]=Se,e[89]=ve):ve=e[89];let xe;e[90]!==se||e[91]!==ve?(xe=a.jsx(pr,{title:se,elevation:7,children:ve}),e[90]=se,e[91]=ve,e[92]=xe):xe=e[92];let qe;e[93]!==i?(qe=i.formatMessage({id:"udr_provisioned_data_profile.section.dnnList.dnn.up_security.title"}),e[93]=i,e[94]=qe):qe=e[94];const Le=`plmnRules[${s}].slices[${r}].dnnList[${n}].upSecurityUpConfid`;let Te;e[95]!==i?(Te=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct}=ft;return a.jsx(rn,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.upSecurityUpConfid"}),size:"small",value:Ne.value||"",options:[...Wee],freeSolo:!0,onChange:(Et,at)=>{at?Ct(Ne.name,at):Ct(Ne.name,"")},error:!!Oe.error,helperText:Oe.error})},e[95]=i,e[96]=Te):Te=e[96];let je;e[97]!==Le||e[98]!==Te?(je=a.jsx(Ur,{name:Le,children:Te}),e[97]=Le,e[98]=Te,e[99]=je):je=e[99];const Ge=`plmnRules[${s}].slices[${r}].dnnList[${n}].upSecurityUpIntegr`;let nt;e[100]!==i?(nt=Ve=>{const{field:Ne,meta:Oe,form:ft}=Ve,{setFieldValue:Ct}=ft;return a.jsx(rn,{...Ne,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.upSecurityUpIntegr"}),size:"small",value:Ne.value||"",options:[...Wee],freeSolo:!0,onChange:(Et,at)=>{at?Ct(Ne.name,at):Ct(Ne.name,"")},error:!!Oe.error,helperText:Oe.error})},e[100]=i,e[101]=nt):nt=e[101];let Re;e[102]!==Ge||e[103]!==nt?(Re=a.jsx(Ur,{name:Ge,children:nt}),e[102]=Ge,e[103]=nt,e[104]=Re):Re=e[104];let we;e[105]!==je||e[106]!==Re?(we=a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[je,Re]})}),e[105]=je,e[106]=Re,e[107]=we):we=e[107];let Me;e[108]!==qe||e[109]!==we?(Me=a.jsx(pr,{title:qe,elevation:7,children:we}),e[108]=qe,e[109]=we,e[110]=Me):Me=e[110];let $e;return e[111]!==y||e[112]!==j||e[113]!==c||e[114]!==de||e[115]!==xe||e[116]!==Me||e[117]!==f||e[118]!==h?($e=a.jsxs(te,{spacing:2,children:[c,f,h,y,j,de,xe,Me]}),e[111]=y,e[112]=j,e[113]=c,e[114]=de,e[115]=xe,e[116]=Me,e[117]=f,e[118]=h,e[119]=$e):$e=e[119],$e};function $jt(t){return a.jsx(En,{value:t,children:t},t)}function Ojt(t){return t.trim()}function Ljt(t){const e=he.c(36),{slice:r,i:n,plmnIndex:s}=t,i=Ye(),o=`plmnRules[${s}].slices[${n}].sst`;let l;e[0]!==i?(l=w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.sst"}),size:"small",error:!!k.error,helperText:k.error})},e[0]=i,e[1]=l):l=e[1];let c;e[2]!==o||e[3]!==l?(c=a.jsx(Ur,{name:o,children:l}),e[2]=o,e[3]=l,e[4]=c):c=e[4];const u=`plmnRules[${s}].slices[${n}].sd`;let d;e[5]!==i?(d=w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.sd"}),size:"small",error:!!k.error,helperText:k.error})},e[5]=i,e[6]=d):d=e[6];let f;e[7]!==u||e[8]!==d?(f=a.jsx(Ur,{name:u,children:d}),e[7]=u,e[8]=d,e[9]=f):f=e[9];const p=`plmnRules[${s}].slices[${n}].3gppChargingCharacteristics`;let m;e[10]!==i?(m=w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.3gppChargingCharacteristics"}),size:"small",error:!!k.error,helperText:k.error})},e[10]=i,e[11]=m):m=e[11];let h;e[12]!==p||e[13]!==m?(h=a.jsx(Ur,{name:p,children:m}),e[12]=p,e[13]=m,e[14]=h):h=e[14];let _;e[15]!==n||e[16]!==i||e[17]!==s||e[18]!==r.dnnList||e[19]!==r.isEnabled?(_=!!r?.dnnList?.length&&a.jsxs(a.Fragment,{children:[a.jsx(Ke,{name:`plmnRules[${s}].slices[${n}].isEnabled`,children:w=>{const{field:C,form:k}=w,{setFieldValue:A}=k;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:!!C.value,onChange:(P,T)=>{A(C.name,T)}}),a.jsx(_e,{children:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.isEnabled"})}),a.jsx(Mn,{title:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.isEnabled_required_for_4g"}),children:a.jsx("span",{children:a.jsx(ge.Info,{})})})]})}}),r.isEnabled&&a.jsx(Ke,{name:`plmnRules[${s}].slices[${n}].defaultDnnId`,children:w=>{const{field:C,meta:k,form:A}=w,{setFieldValue:P}=A;return a.jsx(Ur,{name:`plmnRules[${s}].slices[${n}]`,children:()=>{if(!r.dnnList)return;const T=r.dnnList.map(Fjt),j=T.find(R=>R.value===C.value)||null;return a.jsx(rn,{...C,label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.defaultDnnId"}),size:"small",value:j,options:T,onChange:(R,D)=>{D&&!Array.isArray(D)&&typeof D=="object"&&typeof D.value=="string"?P(C.name,D.value):P(C.name,"")},error:!!k.error,helperText:k.error})}})}})]}),e[15]=n,e[16]=i,e[17]=s,e[18]=r.dnnList,e[19]=r.isEnabled,e[20]=_):_=e[20];const g=`plmnRules[${s}].slices[${n}].dnnList`;let y;e[21]!==n||e[22]!==i||e[23]!==s||e[24]!==r.defaultDnnId||e[25]!==r.dnnList?(y=w=>{const{remove:C,push:k,form:A}=w,{getFieldMeta:P}=A;return a.jsx(Ur,{name:`plmnRules[${s}].slices[${n}].dnnList`,children:()=>{const T=Njt,j=O=>{C(O)},R=()=>{const O={_uuid:gn(),dnnName:"",uplink:"",downlink:"","5qi":"",preemptCap:"",preemptVuln:"",arpPriorityLevel:"",defaultSessionType:"",allowedSessionTypes:[],defaultSscMode:"",allowedSscModes:[],preferredDataMode:[]};k(O)},D=O=>!P(O)?.error;return a.jsx(pr,{title:i.formatMessage({id:"udr_provisioned_data_profile.section.dnnList.title"}),elevation:5,headerActionsComponent:a.jsx(Ze,{text:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn_add"}),startIcon:a.jsx(ge.Add,{}),type:"button",variant:"outlined",onClick:R}),children:a.jsxs(Kt,{children:[!!r.dnnList?.length&&a.jsx(Jn,{exclusive:!0,spacing:2,children:r.dnnList.map((O,N)=>a.jsx(xr,{unmountOnExit:!0,title:`${T(O.dnnName,N)}${r.defaultDnnId===O._uuid?" ("+i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn.isDefault"})+")":""}`,error:!D(`plmnRules[${s}].slices[${n}].dnnList[${N}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>j(N),label:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.dnn_delete"}),disabled:!Ue(ie.provisioning)}],elevation:6,content:a.jsx(Djt,{plmnIndex:s,i:n,j:N})},`${O?._uuid}`))}),!r.dnnList?.length&&a.jsx(_e,{children:i.formatMessage({id:"udr_provisioned_data_profile.form.slice.no_dnns"})})]})})}})},e[21]=n,e[22]=i,e[23]=s,e[24]=r.defaultDnnId,e[25]=r.dnnList,e[26]=y):y=e[26];let b;e[27]!==g||e[28]!==y?(b=a.jsx(oi,{name:g,children:y}),e[27]=g,e[28]=y,e[29]=b):b=e[29];let x;return e[30]!==_||e[31]!==b||e[32]!==c||e[33]!==f||e[34]!==h?(x=a.jsxs(te,{spacing:2,children:[c,f,h,_,b]}),e[30]=_,e[31]=b,e[32]=c,e[33]=f,e[34]=h,e[35]=x):x=e[35],x}function Njt(t,e){return t||`DNN #${e+1}`}function Fjt(t,e){const{_uuid:r,dnnName:n}=t;return{label:n||`DNN #${e+1}`,value:r}}const Im=(t,e)=>!e(t)?.error,yu=(t,e)=>{const r=e(t);if(!(!r?.error||typeof r?.error!="string"))return r?.error};function Ujt(){const t=he.c(11),e=Ye(),r=ko().id!=="new";let n;t[0]!==e||t[1]!==r?(n=a.jsx(Ur,{name:"uuid",children:l=>{const{field:c,meta:u}=l;return a.jsx(dt,{...c,label:e.formatMessage({id:"udr_provisioned_data_profile.form.uuid"}),size:"small",required:!0,disabled:r,error:!!u.error,helperText:u.error})}}),t[0]=e,t[1]=r,t[2]=n):n=t[2];let s;t[3]!==e?(s=a.jsx(Ur,{name:"description",children:l=>{const{field:c,meta:u}=l;return a.jsx(dt,{...c,label:e.formatMessage({id:"udr_provisioned_data_profile.form.description"}),size:"small",error:!!u.error,helperText:u.error})}}),t[3]=e,t[4]=s):s=t[4];let i;t[5]!==e?(i=a.jsx(oi,{name:"plmnRules",children:l=>{const{remove:c,push:u,form:d}=l,{values:f,getFieldMeta:p}=d;return a.jsx(Ur,{name:"plmnRules",children:()=>a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.plmn_rules.title"}),error:!Im("plmnRules",p),headerActionsComponent:a.jsx(Ze,{text:e.formatMessage({id:"udr_provisioned_data_profile.form.plmn_rules.rule_add"}),type:"button",variant:"outlined",startIcon:a.jsx(ge.Add,{}),disabled:!Ue(ie.provisioning),onClick:()=>{const m={_uuid:gn(),action:fp.DATA,pattern:"",default4gSliceId:"",defaultSliceIds:[],slices:[],smsSubscribed:!1,smsMoSubscribed:!1,smsMtSubscribed:!1,coreNetworkTypeRestrictions:[],forbiddenAreas:[],isServiceAreaRestrictionActive:!1,serviceAreaRestrictionType:"",serviceAreaRestrictionAreas:[],ratRestrictions:[],rfspIndex:"",subsRegTimer:"",ueUsageType:"",diameter_error:"",map_error:"",max_attempts:"",tolerance_period_sec:"",data_from:"",isDataFrom:!1};u(m)}}),elevation:2,children:a.jsxs(Kt,{children:[yu("plmnRules",p)&&a.jsx(Lr,{severity:"error",title:yu("plmnRules",p),sx:{mb:2}}),a.jsx(Jn,{exclusive:!0,spacing:2,children:f.plmnRules.map((m,h)=>a.jsx(xr,{title:a.jsxs(te,{direction:"row",nowrap:!0,align:"center",children:[a.jsx(ms,{label:m.action}),a.jsx(_e,{color:"text.secondary",type:"subtitle1",children:m.pattern||`PLMN Rule ${h+1}`}),m.isDataFrom&&a.jsxs(a.Fragment,{children:[a.jsx(ms,{label:"DATA_FROM"}),a.jsx(_e,{color:"text.secondary",type:"subtitle1",children:f.plmnRules.find(_=>_._uuid===f.plmnRules[h].data_from)?.pattern})]})]}),elevation:3,error:!Im(`plmnRules[${h}]`,p),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>{if(f.plmnRules.some(_=>_.data_from===f.plmnRules[h]._uuid)){zL({message:e.formatMessage({id:"udr_provisioned_data_profile.form.plmn_rules.rule_delete.data_from.error"}),severity:"error"});return}c(h)},label:e.formatMessage({id:"udr_provisioned_data_profile.form.plmn_rules.rule_delete"})}],unmountOnExit:!0,content:a.jsxs(te,{spacing:2,children:[a.jsx(Ur,{name:`plmnRules[${h}].pattern`,children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.pattern"}),size:"small",error:!!y.error,helperText:y.error,required:!0})}}),a.jsx(Ur,{name:`plmnRules[${h}].action`,children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(qs,{label:e.formatMessage({id:"udr_provisioned_data_profile.form.action"}),size:"small",value:g.value,onChange:w=>{x(g.name,w.target.value)},required:!0,error:!!y.error,helperText:y.error,children:mjt.map(Vjt)})}}),(f.plmnRules[h].action===fp.SOR_LIGHT||f.plmnRules[h].action===fp.SOR_AGGRESSIVE)&&a.jsx(pr,{title:e.formatMessage({id:`udr_provisioned_data_profile.form.specific_fields.${f.plmnRules[h].action}`}),elevation:5,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[f.plmnRules[h].action===fp.SOR_LIGHT&&a.jsxs(a.Fragment,{children:[a.jsx(Ke,{name:`plmnRules[${h}].diameter_error`,children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsx(rn,{value:g.value,name:g.name,label:e.formatMessage({id:"udr_provisioned_data_profile.form.advanced_input.diameter_error"}),multiple:!1,size:"small",freeSolo:!1,options:[G$.UNABLE_TO_COMPLY,G$.ROAMING_NOT_ALLOWED_ODB_ALL_APN],onChange:(x,w)=>{b(g.name,w||"")},fullWidth:!0})}}),a.jsx(Ke,{name:`plmnRules[${h}].map_error`,children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsx(rn,{value:g.value,name:g.name,label:e.formatMessage({id:"udr_provisioned_data_profile.form.advanced_input.map_error"}),multiple:!1,size:"small",freeSolo:!1,options:[W$.UNEXPECTED_DATA_VALUE,W$.SYSTEM_FAILURE],onChange:(x,w)=>{b(g.name,w||"")},fullWidth:!0})}}),a.jsx(Ke,{name:`plmnRules[${h}].max_attempts`,children:_=>{const{field:g,meta:y,form:b}=_,{isSubmitting:x}=b;return a.jsx(dt,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.advanced_input.max_attempts"}),size:"small",helperText:y.error,error:!!y.error,disabled:x,type:"number"})}})]}),a.jsx(Ke,{name:`plmnRules[${h}].tolerance_period_sec`,children:_=>{const{field:g,meta:y,form:b}=_,{isSubmitting:x}=b;return a.jsx(dt,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.advanced_input.tolerance_period_sec"}),size:"small",helperText:y.error,error:!!y.error,disabled:x,type:"number"})}})]})})}),a.jsx(Ke,{name:`plmnRules[${h}].isDataFrom`,children:_=>{const{field:g,form:y}=_,{setFieldValue:b,isSubmitting:x}=y;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:g.value,onChange:(w,C)=>{b(g.name,C),C||b(`plmnRules[${h}].data_from`,"")},disabled:x}),a.jsx(_e,{children:e.formatMessage({id:"udr_provisioned_data_profile.form.isDataFrom"})})]})}}),f.plmnRules[h].isDataFrom&&a.jsx(Ke,{name:`plmnRules[${h}].data_from`,children:_=>{const{field:g,meta:y}=_;return a.jsx(qs,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.data_from"}),size:"small",error:!!y.error,helperText:y.error,children:f.plmnRules.map((b,x)=>x!==h&&!b.data_from&&b.action!=="REJECT"?a.jsx(En,{value:b._uuid,children:b.pattern||`PLMN Rule ${x+1}`},b._uuid):null)})}}),!f.plmnRules[h].isDataFrom&&a.jsxs(a.Fragment,{children:[a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.access_and_mobility.title"}),elevation:4,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ur,{name:`plmnRules[${h}].subsRegTimer`,children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.subsRegTimer"}),type:"number",size:"small",error:!!y.error,helperText:y.error})}}),a.jsx(Ur,{name:`plmnRules[${h}].ueUsageType`,children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.ueUsageType"}),type:"number",size:"small",error:!!y.error,helperText:y.error})}}),a.jsx(Ur,{name:`plmnRules[${h}].APNOIReplacement`,children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.APNOIReplacement"}),size:"small",error:!!y.error,helperText:y.error})}})]})})}),a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.aggregated_maximum_bitrate.title"}),elevation:4,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ur,{name:`plmnRules[${h}].defaultDownlink`,children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(F3,{fieldValue:g.value,fieldName:g.name,fieldLabel:e.formatMessage({id:"udr_provisioned_data_profile.form.defaultDownlink"}),setFieldValue:x,selectInitialValue:g.value?.split(" ")?.[1]||"bps",selectOptions:N3,canWrite:Ue(ie.provisioning),meta:y})}}),a.jsx(Ur,{name:`plmnRules[${h}].defaultUplink`,children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(F3,{fieldValue:g.value,fieldName:g.name,fieldLabel:e.formatMessage({id:"udr_provisioned_data_profile.form.defaultUplink"}),setFieldValue:x,selectInitialValue:g.value?.split(" ")?.[1]||"bps",selectOptions:N3,canWrite:Ue(ie.provisioning),meta:y})}})]})})}),a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.restrictions.title"}),elevation:4,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:`plmnRules[${h}].networkAccessMode`,children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(rn,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.networkAccessMode"}),size:"small",value:g.value||null,options:vjt,onChange:(w,C)=>{C?x(g.name,C):x(g.name,"")},error:!!y.error,helperText:y.error,disabled:!f.plmnRules[h].default4gSliceId})}}),a.jsx(Ur,{name:`plmnRules[${h}].ratRestrictions`,children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(rn,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.ratRestrictions"}),size:"small",value:g.value,freeSolo:!0,multiple:!0,options:pjt,onChange:(w,C)=>{C?x(g.name,C):x(g.name,"")},error:!!y.error,helperText:y.error})}}),a.jsx(Ur,{name:`plmnRules[${h}].rfspIndex`,children:_=>{const{field:g,meta:y}=_;return a.jsx(dt,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.rfspIndex"}),size:"small",type:"number",error:!!y.error,helperText:y.error})}}),a.jsx(Ur,{name:`plmnRules[${h}].coreNetworkTypeRestrictions`,children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(rn,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.coreNetworkTypeRestrictions"}),size:"small",value:g.value,freeSolo:!0,multiple:!0,options:["5GC","EPC"],onChange:(w,C)=>{C?x(g.name,C):x(g.name,"")},error:!!y.error,helperText:y.error})}}),a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.restrictions.4g-5g-nsa.title"}),elevation:5,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ur,{name:`plmnRules[${h}].regionalSubscriptionZoneCodes`,children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(rn,{...g,label:e.formatMessage({id:"udr_provisioned_data_profile.form.regionalSubscriptionZoneCodes"}),size:"small",value:g.value,freeSolo:!0,multiple:!0,options:[],onChange:(w,C)=>{C?x(g.name,C):x(g.name,"")},error:!!y.error,helperText:y.error})}}),a.jsx(oi,{name:`plmnRules[${h}].closedSubscriberGroup`,children:_=>{const{remove:g,push:y}=_;return a.jsx(Ur,{name:`plmnRules[${h}].closedSubscriberGroup`,children:()=>a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.closed_subscriber_group.title"}),error:!Im(`plmnRules[${h}].closedSubscriberGroup`,p),dense:!0,elevation:6,headerActionsComponent:a.jsx(Ze,{text:e.formatMessage({id:"udr_provisioned_data_profile.form.closed_subscriber_group.add"}),startIcon:a.jsx(ge.Add,{}),type:"button",variant:"outlined",onClick:()=>{const b={_uuid:gn(),csg_id:"",visited_plmn:""};y(b)}}),children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[yu(`plmnRules[${h}].closedSubscriberGroup`,p)&&a.jsx(Lr,{severity:"error",title:yu(`plmnRules[${h}].closedSubscriberGroup`,p)}),a.jsx(te,{spacing:2,divided:!0,children:f.plmnRules[h].closedSubscriberGroup?.map((b,x)=>a.jsxs(te,{direction:"row",nowrap:!0,justify:"stretch",align:"flex-start",children:[a.jsxs(te,{align:"flex-start",justify:"stretch",fullWidth:!0,children:[a.jsx(Ur,{name:`plmnRules[${h}].closedSubscriberGroup[${x}].csg_id`,children:w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,label:e.formatMessage({id:"udr_provisioned_data_profile.form.closed_subscriber_group.csg_id"}),size:"small",fullWidth:!0,required:!0,error:!!k.error,helperText:k.error})}}),a.jsx(Ur,{name:`plmnRules[${h}].closedSubscriberGroup[${x}].visited_plmn`,children:w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,label:e.formatMessage({id:"udr_provisioned_data_profile.form.closed_subscriber_group.visited_plmn"}),size:"small",fullWidth:!0,error:!!k.error,helperText:k.error})}})]}),a.jsx(Zr,{onClick:()=>g(x),sx:{mt:.5},size:"small",children:a.jsx(ge.Trash,{})})]},b._uuid))}),!f.plmnRules[h].closedSubscriberGroup?.length&&a.jsx(Lr,{message:e.formatMessage({id:"udr_provisioned_data_profile.form.closed_subscriber_group.no_data"}),sx:{backgroundColor:"divider"}})]})})})})}})]})})}),a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.restrictions.5g.title"}),elevation:5,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(oi,{name:`plmnRules[${h}].forbiddenAreas`,children:_=>{const{remove:g,push:y}=_;return a.jsx(Ur,{name:`plmnRules[${h}].forbiddenAreas`,children:()=>a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.forbidden_areas.title"}),dense:!0,error:!Im(`plmnRules[${h}].forbiddenAreas`,p),elevation:6,headerActionsComponent:a.jsx(Ze,{text:e.formatMessage({id:"udr_provisioned_data_profile.form.forbidden_areas.add"}),startIcon:a.jsx(ge.Add,{}),type:"button",variant:"outlined",onClick:()=>{const b={_uuid:gn(),name:"",tacs:[]};y(b)}}),children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[yu(`plmnRules[${h}].forbiddenAreas`,p)&&a.jsx(Lr,{severity:"error",title:yu(`plmnRules[${h}].forbiddenAreas`,p)}),a.jsx(te,{spacing:2,divided:!0,children:f.plmnRules[h].forbiddenAreas?.map((b,x)=>a.jsxs(te,{direction:"row",nowrap:!0,justify:"stretch",align:"flex-start",children:[a.jsxs(te,{align:"flex-start",justify:"stretch",fullWidth:!0,children:[a.jsx(Ur,{name:`plmnRules[${h}].forbiddenAreas[${x}].name`,children:w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,label:e.formatMessage({id:"udr_provisioned_data_profile.form.forbidden_areas.name"}),size:"small",fullWidth:!0,error:!!k.error,helperText:k.error})}}),a.jsx(Ur,{name:`plmnRules[${h}].forbiddenAreas[${x}].tacs`,children:w=>{const{field:C,meta:k,form:A}=w,{setFieldValue:P}=A;return a.jsx(rn,{...C,label:e.formatMessage({id:"udr_provisioned_data_profile.form.forbidden_areas.tacs"}),size:"small",value:C.value,freeSolo:!0,multiple:!0,fullWidth:!0,options:[],onChange:(T,j)=>{j?P(C.name,j):P(C.name,"")},error:!!k.error,helperText:k.error})}})]}),a.jsx(Zr,{onClick:()=>g(x),sx:{mt:.5},size:"small",children:a.jsx(ge.Trash,{})})]},b._uuid))}),!f.plmnRules[h].forbiddenAreas?.length&&a.jsx(Lr,{message:e.formatMessage({id:"udr_provisioned_data_profile.form.forbidden_areas.no_data"}),sx:{backgroundColor:"divider"}})]})})})})}}),a.jsxs(te,{spacing:2,sx:{mt:1},children:[a.jsx(Ke,{name:`plmnRules[${h}].isServiceAreaRestrictionActive`,children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsx(a.Fragment,{children:a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:!!g.value,onChange:(x,w)=>{b(g.name,w)}}),a.jsx(_e,{children:e.formatMessage({id:"udr_provisioned_data_profile.section.service_area_restriction.title"})})]})})}}),f.plmnRules[h].isServiceAreaRestrictionActive&&a.jsx(pr,{elevation:6,title:e.formatMessage({id:"udr_provisioned_data_profile.section.service_area_restriction.title"}),dense:!0,children:a.jsx(Kt,{children:a.jsxs(te,{nowrap:!0,spacing:2,children:[a.jsx(Ur,{name:`plmnRules[${h}].serviceAreaRestrictionType`,children:_=>{const{field:g,meta:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(qs,{label:e.formatMessage({id:"udr_provisioned_data_profile.form.serviceAreaRestrictionType"}),size:"small",value:g.value,onChange:w=>{x(g.name,w.target.value)},required:!0,error:!!y.error,helperText:y.error,children:gjt.map(qjt)})}}),a.jsx(oi,{name:`plmnRules[${h}].serviceAreaRestrictionAreas`,children:_=>{const{remove:g,push:y}=_;return a.jsx(Ur,{name:`plmnRules[${h}].serviceAreaRestrictionAreas`,children:()=>a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.service_area_restriction_areas.title"}),dense:!0,error:!Im(`plmnRules[${h}].serviceAreaRestrictionAreas`,p),elevation:7,headerActionsComponent:a.jsx(Ze,{text:e.formatMessage({id:"udr_provisioned_data_profile.form.service_area_restriction_areas.add"}),startIcon:a.jsx(ge.Add,{}),type:"button",variant:"outlined",onClick:()=>{const b={_uuid:gn(),name:"",tacs:[]};y(b)}}),children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[yu(`plmnRules[${h}].serviceAreaRestrictionAreas`,p)&&a.jsx(Lr,{severity:"error",title:yu(`plmnRules[${h}].serviceAreaRestrictionAreas`,p)}),a.jsx(te,{spacing:2,divided:!0,children:f.plmnRules[h].serviceAreaRestrictionAreas?.map((b,x)=>a.jsxs(te,{direction:"row",nowrap:!0,justify:"stretch",align:"flex-start",children:[a.jsxs(te,{align:"flex-start",justify:"stretch",fullWidth:!0,spacing:2,children:[a.jsx(Ur,{name:`plmnRules[${h}].serviceAreaRestrictionAreas[${x}].name`,children:w=>{const{field:C,meta:k}=w;return a.jsx(dt,{...C,label:e.formatMessage({id:"udr_provisioned_data_profile.form.service_area_restriction_areas.name"}),size:"small",fullWidth:!0,error:!!k.error,helperText:k.error})}}),a.jsx(Ur,{name:`plmnRules[${h}].serviceAreaRestrictionAreas[${x}].tacs`,children:w=>{const{field:C,meta:k,form:A}=w,{setFieldValue:P}=A;return a.jsx(rn,{...C,label:e.formatMessage({id:"udr_provisioned_data_profile.form.forbidden_areas.tacs"}),size:"small",fullWidth:!0,value:C.value,freeSolo:!0,multiple:!0,options:[],onChange:(T,j)=>{j?P(C.name,j):P(C.name,"")},error:!!k.error,helperText:k.error})}})]}),a.jsx(Zr,{onClick:()=>g(x),sx:{mt:.5},size:"small",children:a.jsx(ge.Trash,{})})]},b._uuid))}),!f.plmnRules[h].serviceAreaRestrictionAreas?.length&&a.jsx(Lr,{message:e.formatMessage({id:"udr_provisioned_data_profile.form.service_area_restriction_areas.no_data"}),sx:{backgroundColor:"divider"}})]})})})})}})]})})})]})]})})})]})})}),a.jsx(oi,{name:`plmnRules[${h}].slices`,children:_=>{const{remove:g,push:y,form:b}=_,{setFieldValue:x}=b;return a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.slices.title"}),error:!Im(`plmnRules[${h}].slices`,p),elevation:4,headerActionsComponent:a.jsx(Ze,{text:e.formatMessage({id:"udr_provisioned_data_profile.form.slices.slice_add"}),startIcon:a.jsx(ge.Add,{}),type:"button",variant:"outlined",onClick:()=>{const w={_uuid:gn(),sst:"",sd:"","3gppChargingCharacteristics":"",dnnList:[],isEnabled:!0,defaultDnnId:""};y(w)}}),children:a.jsx(Kt,{children:a.jsx(te,{direction:"column",spacing:2,nowrap:!0,children:a.jsxs(te,{spacing:2,children:[yu(`plmnRules[${h}].slices`,p)&&a.jsx(Lr,{severity:"error",title:yu(`plmnRules[${h}].slices`,p)}),a.jsx(Jn,{exclusive:!0,spacing:2,children:f.plmnRules[h].slices?.map((w,C)=>a.jsx(xr,{unmountOnExit:!0,elevation:5,group:!0,title:`${dme(w,C)} ${f.plmnRules[h].defaultSliceIds.includes(w._uuid)?"("+e.formatMessage({id:"udr_provisioned_data_profile.form.slices.slice_default"})+")":""}`,error:!Im(`plmnRules[${h}].slices[${C}]`,p),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>{w._uuid===f.plmnRules[h].default4gSliceId&&x(`plmnRules[${h}].default4gSliceId`,""),x(`plmnRules[${h}].defaultSliceIds`,f.plmnRules[h].defaultSliceIds.filter(k=>k!==w._uuid)),g(C)},label:e.formatMessage({id:"udr_provisioned_data_profile.form.slices.slice_delete"})}],content:a.jsx(a.Fragment,{children:a.jsx(Ljt,{slice:w,i:C,plmnIndex:h})}),subtitle:a.jsx(te,{direction:"row",nowrap:!0,children:a.jsx(_e,{sx:{wordBreak:"break-all"},children:w.dnnList?.map(zjt).join(", ")})})},`${w._uuid}`))||null}),!f.plmnRules[h].slices?.length&&a.jsx(Lr,{message:e.formatMessage({id:"udr_provisioned_data_profile.form.slice.no_slices"}),sx:{backgroundColor:"divider"}})]})})})})}}),a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.default_slices.title"}),elevation:5,children:a.jsx(Kt,{children:a.jsx(te,{direction:"column",spacing:2,nowrap:!0,children:[{fieldName:`plmnRules[${h}].default4gSliceId`,label:e.formatMessage({id:"udr_provisioned_data_profile.form.default4gSliceId"}),isMultiple:!1},{fieldName:`plmnRules[${h}].defaultSliceIds`,label:e.formatMessage({id:"udr_provisioned_data_profile.form.defaultSliceIds"}),isMultiple:!0}].map(_=>{const{fieldName:g,label:y,isMultiple:b}=_;return a.jsx(Ke,{name:g,children:x=>{const{field:w,meta:C,form:k}=x,{setFieldValue:A}=k,P=f.plmnRules[h].slices.map(Bjt),T=b?P.filter(j=>{const{value:R}=j;return w.value.includes(R)}):P.find(j=>{const{value:R}=j;return w.value===R})||null;return a.jsx(rn,{...w,multiple:b,label:y,size:"small",value:T,options:P,onChange:(j,R)=>{if(Array.isArray(R)){const D=[];R.forEach(O=>{typeof O=="object"&&typeof O.value=="string"&&D.push(O.value)}),A(w.name,D)}else R&&typeof R=="object"&&typeof R.value=="string"?A(w.name,R.value):A(w.name,"")},error:!!C.error,helperText:C.error,disabled:!f.plmnRules[h].slices?.length})}},g)})})})}),a.jsx(pr,{title:e.formatMessage({id:"udr_provisioned_data_profile.section.sms.title"}),elevation:5,children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ur,{name:`plmnRules[${h}].smsSubscribed`,children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsx(da,{label:e.formatMessage({id:"udr_provisioned_data_profile.form.sms.subscribed"}),checked:g.value,size:"medium",onChange:(x,w)=>{b(g.name,w)}})}}),a.jsx(Ur,{name:`plmnRules[${h}].smsMoSubscribed`,children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsx(da,{label:e.formatMessage({id:"udr_provisioned_data_profile.form.sms.moSubscribed"}),checked:g.value,size:"medium",onChange:(x,w)=>{b(g.name,w)}})}}),a.jsx(Ur,{name:`plmnRules[${h}].smsMtSubscribed`,children:_=>{const{field:g,form:y}=_,{setFieldValue:b}=y;return a.jsx(da,{label:e.formatMessage({id:"udr_provisioned_data_profile.form.sms.mtSubscribed"}),checked:g.value,size:"medium",onChange:(x,w)=>{b(g.name,w)}})}})]})})})]})]})},m._uuid||h))}),!f.plmnRules?.length&&a.jsx(Lr,{message:e.formatMessage({id:"udr_provisioned_data_profile.form.plmn_rules.no_data"}),sx:{backgroundColor:"divider"}})]})})})}}),t[5]=e,t[6]=i):i=t[6];let o;return t[7]!==n||t[8]!==s||t[9]!==i?(o=a.jsxs(te,{spacing:2,children:[n,s,i]}),t[7]=n,t[8]=s,t[9]=i,t[10]=o):o=t[10],o}function Bjt(t,e){const{_uuid:r,sst:n,sd:s}=t;return{label:dme({sst:n,sd:s},e),value:r}}function zjt(t){return t.dnnName}function qjt(t){return a.jsx(En,{value:t,children:t},t)}function Vjt(t){return a.jsx(En,{value:t,children:t},t)}function Hjt(){const t=he.c(27),e=Ye(),{id:r}=ko(),n=zn(),{submit:s,data:i,state:o}=gr(),{openConfirmDialog:l}=di(),c=r!=="new";let u;t[0]!==r||t[1]!==c||t[2]!==s?(u=async x=>{const w=Ejt(x);r&&c?s({id:r,profile:w},{action:"update",method:"PUT",encType:"application/json"}):s(w,{action:"create",method:"POST",encType:"application/json"})},t[0]=r,t[1]=c,t[2]=s,t[3]=u):u=t[3];const d=u;let f;t[4]!==r||t[5]!==e||t[6]!==c||t[7]!==l||t[8]!==s?(f=()=>{r&&c&&l({text:e.formatMessage({id:"udr_provisioned_data_profiles.actions.confirm_delete"}),onConfirm:()=>s({id:r},{method:"DELETE",encType:"application/json",action:"delete"})})},t[4]=r,t[5]=e,t[6]=c,t[7]=l,t[8]=s,t[9]=f):f=t[9];const p=f;let m;t[10]!==p||t[11]!==e||t[12]!==c?(m=c&&a.jsx(hs,{children:a.jsx(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:a.jsx(Ze,{text:e.formatMessage({id:"common.delete"}),startIcon:a.jsx(ge.Trash,{}),variant:"outlined",disabled:!Ue(ie.provisioning),onClick:p})})}),t[10]=p,t[11]=e,t[12]=c,t[13]=m):m=t[13];let h;t[14]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(Dt,{variant:"rounded",height:"1000px"}),t[14]=h):h=t[14];let _;t[15]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(Tr,{}),t[15]=_):_=t[15];let g;t[16]!==i||t[17]!==o||t[18]!==d||t[19]!==e?(g=x=>a.jsx(Wr,{initialValues:kjt(x),validationSchema:Rjt,onSubmit:d,children:w=>{const{dirty:C}=w;return a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsx(Kt,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ujt,{}),a.jsx(Xr,{data:i,sx:{mb:2}}),Ue(ie.provisioning)&&a.jsx(Ze,{type:"submit",text:e.formatMessage({id:"udr_provisioned_data_profile.form.buttons.submit"}),disabled:!C,loading:o!=="idle",sx:{alignSelf:"flex-start"}})]})})})}}),t[16]=i,t[17]=o,t[18]=d,t[19]=e,t[20]=g):g=t[20];let y;t[21]!==n.profile||t[22]!==g?(y=a.jsx(I.Suspense,{fallback:h,children:a.jsx(Qt,{resolve:n.profile,errorElement:_,children:g})}),t[21]=n.profile,t[22]=g,t[23]=y):y=t[23];let b;return t[24]!==m||t[25]!==y?(b=a.jsxs(a.Fragment,{children:[m,y]}),t[24]=m,t[25]=y,t[26]=b):b=t[26],b}const Gjt=()=>{const t=he.c(60),e=Ye(),r=ys(),{openConfirmDialog:n}=di(),s=zn(),{submit:i,state:o}=gr(),{pageSize:l,pageSizeOptions:c,changePageSize:u,changePage:d,getRowsCount:f,getPage:p}=Na();let m;t[0]!==e||t[1]!==n||t[2]!==i?(m=Q=>{n({text:e.formatMessage({id:"udr_provisioned_data_profiles.actions.confirm_delete"},{profile:Q.description}),onConfirm:()=>{i({id:Q.uuid},{method:"DELETE",encType:"application/json",action:`${Q.uuid}/delete`})}})},t[0]=e,t[1]=n,t[2]=i,t[3]=m):m=t[3];const h=m;let _;t[4]!==e?(_=e.formatMessage({id:"udr_provisioned_data_profiles.table.id"}),t[4]=e,t[5]=_):_=t[5];let g;t[6]!==_?(g={key:"uuid",label:_},t[6]=_,t[7]=g):g=t[7];let y;t[8]!==e?(y=e.formatMessage({id:"udr_provisioned_data_profiles.table.description"}),t[8]=e,t[9]=y):y=t[9];let b;t[10]!==y?(b={key:"description",label:y},t[10]=y,t[11]=b):b=t[11];let x;t[12]!==e?(x=e.formatMessage({id:"udr_provisioned_data_profiles.table.created_at"}),t[12]=e,t[13]=x):x=t[13];let w;t[14]!==x?(w={key:"created_at",label:x,cellRender:Wjt},t[14]=x,t[15]=w):w=t[15];let C;t[16]!==e?(C=e.formatMessage({id:"udr_provisioned_data_profiles.table.modified_at"}),t[16]=e,t[17]=C):C=t[17];let k;t[18]!==C?(k={key:"modified_at",label:C,cellRender:Yjt},t[18]=C,t[19]=k):k=t[19];let A;t[20]!==g||t[21]!==b||t[22]!==w||t[23]!==k?(A=[g,b,w,k],t[20]=g,t[21]=b,t[22]=w,t[23]=k,t[24]=A):A=t[24];const P=A;let T;t[25]===Symbol.for("react.memo_cache_sentinel")?(T=_l(ie.provisioning),t[25]=T):T=t[25];const j=o!=="idle";let R;t[26]!==r?(R=Q=>r(`${$.urls.udrProvisionedDataProfile}/${Q.uuid}`),t[26]=r,t[27]=R):R=t[27];let D;t[28]!==j||t[29]!==R?(D={...T,disabled:j,onClick:R},t[28]=j,t[29]=R,t[30]=D):D=t[30];let O;t[31]!==e?(O=e.formatMessage({id:"udr_provisioned_data_profiles.actions.delete"}),t[31]=e,t[32]=O):O=t[32];let N;t[33]===Symbol.for("react.memo_cache_sentinel")?(N=a.jsx(ge.Trash,{}),t[33]=N):N=t[33];let F;t[34]!==o?(F=o!=="idle"||!Ue(ie.provisioning),t[34]=o,t[35]=F):F=t[35];let U;t[36]!==h||t[37]!==O||t[38]!==F?(U={label:O,icon:N,disabled:F,onClick:h},t[36]=h,t[37]=O,t[38]=F,t[39]=U):U=t[39];let z;t[40]!==D||t[41]!==U?(z=[D,U],t[40]=D,t[41]=U,t[42]=z):z=t[42];const H=z;let W;t[43]===Symbol.for("react.memo_cache_sentinel")?(W=a.jsx(Dt,{height:"100%",variant:"rounded"}),t[43]=W):W=t[43];let K;t[44]===Symbol.for("react.memo_cache_sentinel")?(K=a.jsx(Tr,{}),t[44]=K):K=t[44];let q;t[45]!==d||t[46]!==u||t[47]!==P||t[48]!==p||t[49]!==f||t[50]!==e||t[51]!==r||t[52]!==l||t[53]!==c||t[54]!==H||t[55]!==o?(q=Q=>{const{data:Y,metadata:Z}=Q;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(Ze,{text:e.formatMessage({id:"common.new"}),startIcon:a.jsx(ge.Add,{}),onClick:()=>r(`${$.urls.udrProvisionedDataProfile}/new`),disabled:o!=="idle"||!Ue(ie.provisioning)})}),a.jsx(Br,{autoScale:!0,orderBy:"uuid",columns:P,data:Y,page:p(Z),labelDisplayedRows:Kjt,rowsCount:f(Z),rowsPerPage:l,onRowsPerPageChange:u,rowsPerPageOptions:c,rowKey:"uuid",rowActions:H,stickyRowActions:!0,onPageChange:d(Z),loading:o!=="idle"})]})},t[45]=d,t[46]=u,t[47]=P,t[48]=p,t[49]=f,t[50]=e,t[51]=r,t[52]=l,t[53]=c,t[54]=H,t[55]=o,t[56]=q):q=t[56];let X;return t[57]!==s.profiles||t[58]!==q?(X=a.jsx(I.Suspense,{fallback:W,children:a.jsx(Qt,{resolve:s.profiles,errorElement:K,children:q})}),t[57]=s.profiles,t[58]=q,t[59]=X):X=t[59],X};function Wjt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function Yjt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function Kjt(){return""}const Md=Pr();var g0=(t=>(t.op="OP",t.opc="OPC",t.operator_key_id="OPID",t.opc_enc="OPC_ENC",t))(g0||{});const Qjt=Object.keys(g0);var fme=(t=>(t.ACTIVE="ACTIVE",t.INACTIVE="INACTIVE",t))(fme||{});function Kee({sst:t,sd:e,dnn:r,pattern:n}){return`${n}-${dh({sst:+t,sd:e})}-${r}`}var pme=(t=>(t.ACTIVE="ACTIVE",t.INACTIVE="INACTIVE",t))(pme||{});const Zjt=Object.keys(pme);function Xjt({type:t,value:e}){switch(t){case"OPID":return{operator_key_id:e};case"OPC":return{opc:e};case"OP":return{op:e};case"OPC_ENC":return{opc_enc:e}}}function Jjt(t){return t.map(({pattern:e,sst:r,sd:n,dnn:s,static_ipv4:i,ipv4_frame_route_list:o,ipv6_frame_route_list:l,static_ipv6:c})=>{const u={...o?.length&&{ipv4FrameRouteList:o.map(h=>({ipv4Mask:h}))},...l?.length&&{ipv6FrameRouteList:l.map(h=>({ipv6Prefix:h}))}},d=[i?{ipv4Addr:i}:void 0,c?{ipv6Prefix:c}:void 0].filter(h=>!!h);let f=null;(i||c)&&(f={defaultSessionType:i&&c?"IPV4V6":i?"IPV4":"IPV6"});const p={...u,...d.length>0&&{staticIpAddress:d},...f&&{pduSessionTypes:f}},m={sst:+r,...n&&{sd:n}};return Object.entries(p).map(([h,_])=>({op:h==="pduSessionTypes"?"replace":"add",path:`/${e}/data/smData/[singleNssai=${JSON.stringify(m)}]/dnnConfigurations/${s}/${h}`,value:_}))}).flat()}const OD=(t,e)=>{let r;switch(t){case"ipv4FrameRouteList":r={ipv4_frame_route_list:e.map(({ipv4Mask:n})=>n)};break;case"ipv6FrameRouteList":r={ipv6_frame_route_list:e.map(({ipv6Prefix:n})=>n)};break;case"staticIpAddress":r=r=e.reduce((n,s)=>{const i="ipv4Addr"in s?{static_ipv4:s.ipv4Addr}:"ipv6Prefix"in s?{static_ipv6:s.ipv6Prefix}:{};return{...n,...i}},{});break;default:r={}}return r};function eTt(t){if(!t?.length)return[];const e=new RegExp($.regex.patches),r=t.reduce((n,s)=>{const i=s.value,{json:o,pattern:l,dnn:c,field:u}=e.exec(s.path)?.groups||{};let d="",f="";try{const m=JSON.parse(o);d=m.sst,f=m.sd}catch{}const p={id:Kee({sst:d,sd:f,dnn:c,pattern:l}),dnn:c,sst:d,sd:f,pattern:l,...OD(u,i)};return p.id in n?{...n,[p.id]:{...n[p.id],...p,...OD(u,i)}}:{...n,[p.id]:{id:Kee({sst:d,sd:f,dnn:c,pattern:l}),dnn:c??"",pattern:l??"",sst:d,sd:f,static_ipv4:"",static_ipv6:"",ipv6_frame_route_list:[],ipv4_frame_route_list:[],...OD(u,i)}}},{});return Object.entries(r).map(([,n])=>n)}function tTt(t){return{supi:t?.supi||"",description:t?.description||"",gpsi:t?.gpsi||"",status:t?.status||"ACTIVE",isOverridingKeys:!t?.supi,operator_key_type:"OP",operator_key_value:"",k:t?.authentication_subscription?.k||"",k_provisioned:t?.authentication_subscription?.k_provisioned||!1,auth_method:t?.authentication_subscription?.auth_method||"",transport_key_id:t?.authentication_subscription?.transport_key_id||"",k_tag:t?.authentication_subscription?.k_tag||"",opc_tag:t?.authentication_subscription?.opc_tag||"",policy_data_profile_uuid:t?.policy_data_profile?.uuid||"",provisioned_data_profile_uuid:t?.provisioned_data_profile?.uuid||"",provisioned_data_profile_patches:eTt(t?.provisioned_data_profile?.patches)}}function rTt(t,e){return{...e&&t.supi&&{supi:t.supi},...e?t.gpsi?{gpsi:t.gpsi}:!1:{gpsi:t.gpsi||null},description:t.description||null,status:t.status||"ACTIVE",...t.policy_data_profile_uuid?{policy_data_profile:{uuid:t.policy_data_profile_uuid}}:e?{}:{policy_data_profile:{uuid:null}},...t.provisioned_data_profile_uuid?{provisioned_data_profile:{uuid:t.provisioned_data_profile_uuid,...t.provisioned_data_profile_patches&&{patches:Jjt(t.provisioned_data_profile_patches)}}}:e?{}:{provisioned_data_profile:{uuid:null}},...t.isOverridingKeys&&{authentication_subscription:{k:t.k,...t.auth_method&&{auth_method:t.auth_method},...t.operator_key_type&&Xjt({value:t.operator_key_value,type:t.operator_key_type}),...t.transport_key_id&&{transport_key_id:t.transport_key_id},...t.k_tag&&{k_tag:t.k_tag},...t.opc_tag&&{opc_tag:t.opc_tag}}}}}const nTt=dr().shape({supi:We().matches(new RegExp($.regex.supi)).required(Md.formatMessage({id:"validation.required"})),status:We(),description:We().max(128),gpsi:We().matches(new RegExp(`${$.regex.gpsi}`)),provisioned_data_profile_uuid:We(),policy_data_profile_uuid:We(),isOverridingKeys:li(),k:We().when("isOverridingKeys",(t,e)=>t?e.required(Md.formatMessage({id:"validation.required"})):e).matches(new RegExp($.regex.operatorKey)),operator_key_type:We().when("isOverridingKeys",(t,e)=>t?e.required(Md.formatMessage({id:"validation.required"})):e),operator_key_value:We().when("isOverridingKeys",(t,e)=>t?e.required(Md.formatMessage({id:"validation.required"})):e).when("operator_key_type",(t,e)=>["OP","OPC","OPC_ENC"].includes(t)?e.matches(new RegExp($.regex.operatorKey)):e),transport_key_id:We().when("operator_key_type",(t,e)=>{if(t==="OPC_ENC")return e.required(Md.formatMessage({id:"validation.required"}))}),k_tag:We().matches(new RegExp($.regex.supiTag)),opc_tag:We().matches(new RegExp($.regex.supiTag)),provisioned_data_profile_patches:yr(dr().shape({id:We(),sst:We(),sd:We(),dnn:We(),static_ipv4:We().matches(new RegExp($.regex.ipv4Addr)).test("oneOfPatchRequired",Md.formatMessage({id:"udr_supi.form.errors.provisioned_data_profiles_patch_at_least_one"}),(t,e)=>!!e.parent.static_ipv4||!!e.parent.static_ipv6||!!e.parent.ipv4_frame_route_list?.length||!!e.parent.ipv6_frame_route_list?.length),static_ipv6:We().matches(new RegExp($.regex.ipv6Prefix)).test("oneOfPatchRequired",Md.formatMessage({id:"udr_supi.form.errors.provisioned_data_profiles_patch_at_least_one"}),(t,e)=>!!e.parent.static_ipv4||!!e.parent.static_ipv6||!!e.parent.ipv4_frame_route_list?.length||!!e.parent.ipv6_frame_route_list?.length),ipv4_frame_route_list:yr().of(We().matches(new RegExp($.regex.ipv4Mask))).test("oneOfPatchRequired",Md.formatMessage({id:"udr_supi.form.errors.provisioned_data_profiles_patch_at_least_one"}),(t,e)=>!!e.parent.static_ipv4||!!e.parent.static_ipv6||!!e.parent.ipv4_frame_route_list?.length||!!e.parent.ipv6_frame_route_list?.length),ipv6_frame_route_list:yr().of(We().matches(new RegExp($.regex.ipv6Prefix))).test("oneOfPatchRequired",Md.formatMessage({id:"udr_supi.form.errors.provisioned_data_profiles_patch_at_least_one"}),(t,e)=>!!e.parent.static_ipv4||!!e.parent.static_ipv6||!!e.parent.ipv4_frame_route_list?.length||!!e.parent.ipv6_frame_route_list?.length)}))}),sTt=dr().shape({pattern:We().required(),sliceId:We().required(),dnnName:We().required()}),iTt=t=>{const e=he.c(10),{onSubmit:r,provisionedDataProfile:n}=t,s=Ye(),{dialogClose:i}=Jt();let o;e[0]!==r?(o=f=>{const{sliceId:p,dnnName:m,pattern:h}=f;r({sliceId:p,dnnName:m,pattern:h})},e[0]=r,e[1]=o):o=e[1];const l=o;let c;e[2]===Symbol.for("react.memo_cache_sentinel")?(c={pattern:"",sliceId:"",dnnName:""},e[2]=c):c=e[2];let u;e[3]!==i||e[4]!==s||e[5]!==n?(u=f=>{const{isSubmitting:p,values:m}=f;return a.jsxs(dn,{canWrite:Ue(ie.provisioning),children:[a.jsx(_s,{children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"pattern",children:h=>{const{field:_,meta:g,form:y}=h,{setFieldValue:b}=y;return a.jsx(qs,{..._,label:s.formatMessage({id:"udr_supi.form.slice_dnn_selection.pattern"}),size:"small",error:!!g.error,helperText:g.error,disabled:p||!Ue(ie.provisioning),onChange:x=>{const w=x.target.value;b("pattern",w),b("sliceId",""),b("dnnName","")},children:[...new Set(wjt(n))].map(oTt)})}}),m.pattern&&a.jsx(Ke,{name:"sliceId",children:h=>{const{field:_,meta:g,form:y}=h,{setFieldValue:b}=y;return a.jsx(qs,{..._,label:s.formatMessage({id:"udr_supi.form.slice_dnn_selection.sliceId"}),size:"small",error:!!g.error,helperText:g.error,disabled:p||!Ue(ie.provisioning),onChange:x=>{b("sliceId",x.target.value),b("dnnName","")},children:[...new Set(Y$(n,m.pattern).map(aTt))].map(lTt)})}}),m.sliceId&&a.jsx(Ke,{name:"dnnName",children:h=>{const{field:_,meta:g}=h;return a.jsx(qs,{..._,label:s.formatMessage({id:"udr_supi.form.slice_dnn_selection.dnnName"}),size:"small",error:!!g.error,helperText:g.error,disabled:p||!Ue(ie.provisioning),children:Y$(n,m.pattern).filter(y=>y.sliceId===m.sliceId).map(cTt)})}})]})}),a.jsxs(Ti,{children:[a.jsx(Ze,{text:s.formatMessage({id:"udr_supi.form.slice_dnn_selection.buttons.cancel"}),type:"reset",onClick:()=>i(),variant:"outlined",disabled:p||!Ue(ie.provisioning)}),a.jsx(Ze,{text:s.formatMessage({id:"udr_supi.form.slice_dnn_selection.buttons.submit"}),type:"submit",disabled:p||!Ue(ie.provisioning),loading:p})]})]})},e[3]=i,e[4]=s,e[5]=n,e[6]=u):u=e[6];let d;return e[7]!==l||e[8]!==u?(d=a.jsx(Wr,{initialValues:c,enableReinitialize:!0,onSubmit:l,validationSchema:sTt,children:u}),e[7]=l,e[8]=u,e[9]=d):d=e[9],d};function oTt(t){return a.jsx(En,{value:t,children:t},t)}function aTt(t){return t.sliceId}function lTt(t){return a.jsx(En,{value:t,children:t},t)}function cTt(t){const{dnnName:e}=t;return a.jsx(En,{value:e,children:e},e)}const uTt=I.memo(function(e){const r=he.c(25),{i:n}=e,s=Ye(),i=`provisioned_data_profile_patches[${n}].static_ipv4`;let o;r[0]!==s?(o=b=>{const{field:x,meta:w,form:C}=b,{isSubmitting:k}=C;return a.jsx(dt,{...x,label:s.formatMessage({id:"udr_supi.form.provisioned_data_profile_patches.static_ipv4"}),size:"small",error:!!w.error,helperText:w.error,disabled:k||!Ue(ie.provisioning)})},r[0]=s,r[1]=o):o=r[1];let l;r[2]!==i||r[3]!==o?(l=a.jsx(Ur,{name:i,children:o}),r[2]=i,r[3]=o,r[4]=l):l=r[4];const c=`provisioned_data_profile_patches[${n}].static_ipv6`;let u;r[5]!==s?(u=b=>{const{field:x,meta:w,form:C}=b,{isSubmitting:k}=C;return a.jsx(dt,{...x,label:s.formatMessage({id:"udr_supi.form.provisioned_data_profile_patches.static_ipv6"}),size:"small",error:!!w.error,helperText:w.error,disabled:k||!Ue(ie.provisioning)})},r[5]=s,r[6]=u):u=r[6];let d;r[7]!==c||r[8]!==u?(d=a.jsx(Ur,{name:c,children:u}),r[7]=c,r[8]=u,r[9]=d):d=r[9];const f=`provisioned_data_profile_patches[${n}].ipv4_frame_route_list`;let p;r[10]!==s?(p=b=>{const{field:x,meta:w,form:C}=b,{isSubmitting:k,setFieldValue:A}=C;return a.jsx(rn,{name:x.name,value:x.value,label:s.formatMessage({id:"udr_supi.form.provisioned_data_profile_patches.ipv4_frame_route_list"}),multiple:!0,size:"small",freeSolo:!0,options:[],onChange:(P,T)=>{A(x.name,[...new Set(T.map(dTt))])},error:!!w.error,helperText:w.error,disabled:k||!Ue(ie.provisioning),fullWidth:!0})},r[10]=s,r[11]=p):p=r[11];let m;r[12]!==f||r[13]!==p?(m=a.jsx(Ur,{name:f,children:p}),r[12]=f,r[13]=p,r[14]=m):m=r[14];const h=`provisioned_data_profile_patches[${n}].ipv6_frame_route_list`;let _;r[15]!==s?(_=b=>{const{field:x,meta:w,form:C}=b,{isSubmitting:k,setFieldValue:A}=C;return a.jsx(rn,{name:x.name,value:x.value,label:s.formatMessage({id:"udr_supi.form.provisioned_data_profile_patches.ipv6_frame_route_list"}),multiple:!0,size:"small",freeSolo:!0,options:[],onChange:(P,T)=>{A(x.name,[...new Set(T.map(fTt))])},error:!!w.error,helperText:w.error,disabled:k||!Ue(ie.provisioning),fullWidth:!0})},r[15]=s,r[16]=_):_=r[16];let g;r[17]!==h||r[18]!==_?(g=a.jsx(Ur,{name:h,children:_}),r[17]=h,r[18]=_,r[19]=g):g=r[19];let y;return r[20]!==g||r[21]!==l||r[22]!==d||r[23]!==m?(y=a.jsxs(te,{spacing:2,children:[l,d,m,g]}),r[20]=g,r[21]=l,r[22]=d,r[23]=m,r[24]=y):y=r[24],y});function dTt(t){return t.trim()}function fTt(t){return t.trim()}function pTt(t){const e=he.c(72),{isEditing:r,policyDataProfileList:n,provisionedDataProfileList:s,dirty:i,loading:o,error:l}=t,c=Ye(),{dialogOpen:u,dialogClose:d,snackbarOpen:f}=Jt(),{values:p}=_0();let m;if(e[0]!==s||e[1]!==p.provisioned_data_profile_uuid){let q;e[3]!==p.provisioned_data_profile_uuid?(q=X=>X.uuid===p.provisioned_data_profile_uuid,e[3]=p.provisioned_data_profile_uuid,e[4]=q):q=e[4],m=s.find(q),e[0]=s,e[1]=p.provisioned_data_profile_uuid,e[2]=m}else m=e[2];const h=m;let _;e[5]!==h?(_=q=>{const{sst:X,sd:Q,dnn:Y,pattern:Z}=q;return!!Y$(h,Z).find(fe=>fe.sliceId===dh({sst:X,sd:Q})&&fe.dnnName===Y)},e[5]=h,e[6]=_):_=e[6];const g=_;let y;e[7]!==c?(y=c.formatMessage({id:"udr_supi.section.general.title"}),e[7]=c,e[8]=y):y=e[8];let b;e[9]!==c||e[10]!==r?(b=a.jsx(Ur,{name:"supi",children:q=>{const{field:X,meta:Q}=q;return a.jsx(dt,{...X,label:c.formatMessage({id:"udr_supi.form.supi"}),size:"small",error:!!Q.error,helperText:Q.error,disabled:r||!Ue(ie.provisioning)})}}),e[9]=c,e[10]=r,e[11]=b):b=e[11];let x;e[12]!==c?(x=a.jsx(Ur,{name:"description",children:q=>{const{field:X,meta:Q}=q;return a.jsx(dt,{...X,label:c.formatMessage({id:"udr_supi.form.description"}),size:"small",error:!!Q.error,helperText:Q.error})}}),e[12]=c,e[13]=x):x=e[13];let w;e[14]!==c?(w=a.jsx(Ur,{name:"gpsi",children:q=>{const{field:X,meta:Q}=q;return a.jsx(dt,{...X,label:c.formatMessage({id:"udr_supi.form.gpsi"}),size:"small",error:!!Q.error,helperText:Q.error})}}),e[14]=c,e[15]=w):w=e[15];let C;e[16]!==c?(C=a.jsx(Ur,{name:"status",children:q=>{const{field:X,meta:Q}=q;return a.jsxs(qs,{...X,label:c.formatMessage({id:"udr_supi.form.status"}),size:"small",error:!!Q.error,helperText:Q.error,children:[a.jsx(En,{value:"ACTIVE",children:"ACTIVE"}),a.jsx(En,{value:"INACTIVE",children:"INACTIVE"})]})}}),e[16]=c,e[17]=C):C=e[17];let k;e[18]!==c||e[19]!==r||e[20]!==p.k_provisioned?(k=r&&a.jsxs(te,{spacing:2,direction:"row",align:"center",children:[a.jsx(Ur,{name:"isOverridingKeys",children:q=>{const{field:X,form:Q}=q,{setFieldValue:Y}=Q;return a.jsxs(te,{direction:"row",align:"center",children:[a.jsx(ti,{checked:!!X.value,onChange:(Z,re)=>{Y(X.name,re)}}),a.jsx(_e,{children:c.formatMessage({id:"udr_supi.form.is_overriding_keys"})})]})}}),a.jsx(ms,{size:"small",label:p.k_provisioned?c.formatMessage({id:"udr_supi.form.keys_provisioned"}):c.formatMessage({id:"udr_supi.form.keys_not_provisioned"}),color:p.k_provisioned?"primary":"default"})]}),e[18]=c,e[19]=r,e[20]=p.k_provisioned,e[21]=k):k=e[21];let A;e[22]!==c||e[23]!==p.isOverridingKeys||e[24]!==p.operator_key_type?(A=p.isOverridingKeys&&a.jsxs(a.Fragment,{children:[a.jsx(Ur,{name:"k",children:q=>{const{field:X,meta:Q}=q;return a.jsx(dt,{...X,label:c.formatMessage({id:"udr_supi.form.k"}),size:"small",error:!!Q.error,helperText:Q.error})}}),a.jsx(Ke,{name:"operator_key_type",children:q=>{const{field:X,meta:Q}=q;return a.jsx(qs,{...X,label:c.formatMessage({id:"udr_supi.form.operator_key_type"}),size:"small",error:!!Q.error,helperText:Q.error,children:Qjt.map(gTt)})}}),a.jsx(Ke,{name:"operator_key_value",children:q=>{const{field:X,meta:Q}=q;return a.jsx(dt,{...X,label:c.formatMessage({id:"udr_supi.form.operator_key_value"}),size:"small",error:!!Q.error,helperText:Q.error})}}),a.jsx(Ur,{name:"transport_key_id",children:q=>{const{field:X,meta:Q}=q;return a.jsx(dt,{...X,label:c.formatMessage({id:"udr_supi.form.transport_key_id"}),size:"small",error:!!Q.error,helperText:Q.error})}}),a.jsx(Ur,{name:"k_tag",children:q=>{const{field:X,meta:Q}=q;return a.jsx(dt,{...X,label:c.formatMessage({id:"udr_supi.form.k_tag"}),size:"small",error:!!Q.error,helperText:Q.error})}}),p.operator_key_type===g0.opc_enc&&a.jsx(Ke,{name:"opc_tag",children:q=>{const{field:X,meta:Q}=q;return a.jsx(dt,{...X,label:c.formatMessage({id:"udr_supi.form.opc_tag"}),size:"small",error:!!Q.error,helperText:Q.error})}})]}),e[22]=c,e[23]=p.isOverridingKeys,e[24]=p.operator_key_type,e[25]=A):A=e[25];let P;e[26]!==b||e[27]!==x||e[28]!==w||e[29]!==C||e[30]!==k||e[31]!==A?(P=a.jsxs(te,{spacing:2,children:[b,x,w,C,k,A]}),e[26]=b,e[27]=x,e[28]=w,e[29]=C,e[30]=k,e[31]=A,e[32]=P):P=e[32];let T;e[33]!==P||e[34]!==y?(T=a.jsx(Kt,{title:y,children:P}),e[33]=P,e[34]=y,e[35]=T):T=e[35];let j;e[36]===Symbol.for("react.memo_cache_sentinel")?(j={width:"100%",position:"relative"},e[36]=j):j=e[36];let R;e[37]!==c?(R=c.formatMessage({id:"udr_supi.section.profiles.title"}),e[37]=c,e[38]=R):R=e[38];let D;e[39]===Symbol.for("react.memo_cache_sentinel")?(D={width:"100%"},e[39]=D):D=e[39];let O;e[40]!==c||e[41]!==n?(O=a.jsx(Ke,{name:"policy_data_profile_uuid",children:q=>{const{field:X,meta:Q,form:Y}=q,{setFieldValue:Z}=Y,re=n.map(hTt),fe=re.find(de=>{const{value:se}=de;return se===X?.value})??null;return a.jsx(rn,{...X,label:c.formatMessage({id:"udr_supi.form.policy_data_profile_uuid"}),size:"small",value:fe,options:re,onChange:(de,se)=>{if(!se){Z(X.name,"");return}se&&!Array.isArray(se)&&typeof se=="object"&&typeof se.value=="string"&&Z(X.name,se.value)},error:!!Q.error,helperText:Q.error})}}),e[40]=c,e[41]=n,e[42]=O):O=e[42];let N;e[43]!==c||e[44]!==s?(N=a.jsx(Ke,{name:"provisioned_data_profile_uuid",children:q=>{const{field:X,meta:Q,form:Y}=q,{setFieldValue:Z}=Y,re=s.map(mTt),fe=re.find(de=>{const{value:se}=de;return se===X?.value})??null;return a.jsx(rn,{...X,label:c.formatMessage({id:"udr_supi.form.provisioned_data_profile_uuid"}),size:"small",value:fe,options:re,onChange:(de,se)=>{if(!se){Z(X.name,"");return}se&&!Array.isArray(se)&&typeof se=="object"&&typeof se.value=="string"&&Z(X.name,se.value)},error:!!Q.error,helperText:Q.error})}}),e[43]=c,e[44]=s,e[45]=N):N=e[45];let F;e[46]!==d||e[47]!==u||e[48]!==c||e[49]!==g||e[50]!==h||e[51]!==f||e[52]!==p?(F=(!!p.provisioned_data_profile_uuid||p.provisioned_data_profile_patches&&p.provisioned_data_profile_patches.length>0)&&a.jsx(oi,{name:"provisioned_data_profile_patches",children:q=>{const{remove:X,push:Q,form:Y}=q,{getFieldMeta:Z}=Y,re=le=>{const{sliceId:ee,dnnName:J,pattern:me}=le,[pe,Se]=ee.split("-"),ve=p.provisioned_data_profile_patches?.find(xe=>{const{sd:qe,sst:Le,dnn:Te}=xe;return ee===dh({sst:+Le,sd:qe})&&Te===J});d(),ve?f({message:c.formatMessage({id:"udr_supi.form.provisioned_data_profile_patches.error.already_present"}),severity:"info"}):Q({id:`${me}-${ee}-${J}`,sst:pe||"",sd:Se||"",dnn:J,pattern:me,ipv4_frame_route_list:[],static_ipv4:"",ipv6_frame_route_list:[],static_ipv6:""})},fe=()=>{h&&u({title:c.formatMessage({id:"udr_supi.form.provisioned_data_profile_patches.add_dialog.title"}),content:()=>a.jsx(iTt,{provisionedDataProfile:h,onSubmit:le=>re(le)}),closeOnBackdropClick:!1})},de=le=>{X(le)},se=le=>!Z(le)?.error;return a.jsx(pr,{title:c.formatMessage({id:"udr_supi.section.provisioned_data_profile_patches.title"}),dense:!0,error:!se("provisioned_data_profile_patches"),headerActionsComponent:a.jsx(Ze,{text:c.formatMessage({id:"udr_supi.form.provisioned_data_profile_patches.add"}),type:"button",variant:"outlined",onClick:fe,disabled:!Ue(ie.provisioning)}),elevation:2,children:a.jsxs(Kt,{children:[!!p.provisioned_data_profile_patches?.length&&a.jsx(Jn,{exclusive:!0,spacing:2,children:p.provisioned_data_profile_patches.map((le,ee)=>a.jsx(xr,{elevation:4,title:`${le.pattern} ${g({sst:+le.sst,sd:le.sd,dnn:le.dnn,pattern:le.pattern})?"":"(invalid)"}`,subtitle:`${dh({sst:+le.sst,sd:le.sd})} - ${le.dnn}`,error:!se(`provisioned_data_profile_patches[${ee}]`),actions:[{icon:a.jsx(ge.Trash,{}),onClick:()=>de(ee),label:c.formatMessage({id:"udr_supi.form.provisioned_data_profile_patches.delete"})}],content:a.jsx(uTt,{i:ee})},le?.id))}),!p.provisioned_data_profile_patches?.length&&a.jsx(_e,{children:c.formatMessage({id:"udr_supi.section.provisioned_data_profile_patches.no_patch"})})]})})}}),e[46]=d,e[47]=u,e[48]=c,e[49]=g,e[50]=h,e[51]=f,e[52]=p,e[53]=F):F=e[53];let U;e[54]!==l?(U=a.jsx(Xr,{data:l}),e[54]=l,e[55]=U):U=e[55];let z;e[56]!==i||e[57]!==c||e[58]!==o?(z=Ue(ie.provisioning)&&a.jsx(Ze,{type:"submit",text:c.formatMessage({id:"udr_supi.form.buttons.submit"}),disabled:!i,loading:o,sx:{alignSelf:"flex-start"}}),e[56]=i,e[57]=c,e[58]=o,e[59]=z):z=e[59];let H;e[60]!==O||e[61]!==N||e[62]!==F||e[63]!==U||e[64]!==z?(H=a.jsxs(te,{direction:"column",spacing:2,nowrap:!0,fullWidth:!0,sx:D,children:[O,N,F,U,z]}),e[60]=O,e[61]=N,e[62]=F,e[63]=U,e[64]=z,e[65]=H):H=e[65];let W;e[66]!==R||e[67]!==H?(W=a.jsx(Kt,{sx:j,title:R,children:H}),e[66]=R,e[67]=H,e[68]=W):W=e[68];let K;return e[69]!==T||e[70]!==W?(K=a.jsxs(te,{spacing:2,children:[T,W]}),e[69]=T,e[70]=W,e[71]=K):K=e[71],K}function mTt(t){const{description:e,uuid:r}=t;return{label:`${r} ${e?`- ${e}`:""}`,value:r}}function hTt(t){const{description:e,uuid:r}=t;return{label:`${r} ${e?`- ${e}`:""}`,value:r}}function gTt(t){return a.jsx(En,{value:g0[t],children:g0[t]},t)}const _Tt=()=>{const t=he.c(27),e=Ye(),{id:r}=ko(),n=zn(),{data:s,state:i,submit:o}=gr(),{openConfirmDialog:l}=di(),c=r!=="new";let u;t[0]!==r||t[1]!==c||t[2]!==o?(u=x=>{const w=rTt(x,!c);c&&r?o({supi:r,formData:w},{method:"PATCH",encType:"application/json",action:"update"}):o(w,{method:"POST",encType:"application/json",action:"create"})},t[0]=r,t[1]=c,t[2]=o,t[3]=u):u=t[3];const d=u;let f;t[4]!==r||t[5]!==e||t[6]!==c||t[7]!==l||t[8]!==o?(f=()=>{r&&c&&l({text:e.formatMessage({id:"udr_supis.actions.confirm_delete"}),onConfirm:()=>o({supi:r},{method:"DELETE",encType:"application/json",action:"delete"})})},t[4]=r,t[5]=e,t[6]=c,t[7]=l,t[8]=o,t[9]=f):f=t[9];const p=f;let m;t[10]!==p||t[11]!==e||t[12]!==c?(m=c&&a.jsx(hs,{children:a.jsx(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:a.jsx(Ze,{text:e.formatMessage({id:"common.delete"}),startIcon:a.jsx(ge.Trash,{}),variant:"outlined",disabled:!Ue(ie.provisioning),onClick:p})})}),t[10]=p,t[11]=e,t[12]=c,t[13]=m):m=t[13];let h;t[14]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(Dt,{variant:"rounded",sx:{height:"800px"}}),t[14]=h):h=t[14];let _;t[15]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(Tr,{}),t[15]=_):_=t[15];let g;t[16]!==s||t[17]!==i||t[18]!==d||t[19]!==c?(g=x=>{const{supi:w,policyDataProfileList:C,provisionedDataProfileList:k}=x;return a.jsx(Wr,{initialValues:tTt(w),validationSchema:nTt,onSubmit:d,children:A=>{const{dirty:P}=A;return a.jsx(dn,{canWrite:Ue(ie.provisioning),children:a.jsx(te,{spacing:2,children:a.jsx(pTt,{isEditing:c,policyDataProfileList:C.data,provisionedDataProfileList:k.data,dirty:P,loading:i!=="idle",error:s})})})}})},t[16]=s,t[17]=i,t[18]=d,t[19]=c,t[20]=g):g=t[20];let y;t[21]!==n.createOrEditData||t[22]!==g?(y=a.jsx(I.Suspense,{fallback:h,children:a.jsx(Qt,{resolve:n.createOrEditData,errorElement:_,children:g})}),t[21]=n.createOrEditData,t[22]=g,t[23]=y):y=t[23];let b;return t[24]!==m||t[25]!==y?(b=a.jsxs(a.Fragment,{children:[m,y]}),t[24]=m,t[25]=y,t[26]=b):b=t[26],b};function vTt(t){const e=he.c(12),{errors:r}=t,n=Ye(),{dialogClose:s}=Jt();let i;e[0]!==s?(i=()=>{s()},e[0]=s,e[1]=i):i=e[1];const o=i;let l;e[2]!==r?(l=a.jsx(_s,{children:a.jsx(Lr,{noIcon:!0,severity:"error",message:r})}),e[2]=r,e[3]=l):l=e[3];let c;e[4]!==n?(c=n.formatMessage({id:"common.form.close"}),e[4]=n,e[5]=c):c=e[5];let u;e[6]!==o||e[7]!==c?(u=a.jsx(Ti,{children:a.jsx(Ze,{text:c,onClick:o})}),e[6]=o,e[7]=c,e[8]=u):u=e[8];let d;return e[9]!==l||e[10]!==u?(d=a.jsxs(a.Fragment,{children:[l,u]}),e[9]=l,e[10]=u,e[11]=d):d=e[11],d}function yTt(t){const e=he.c(22),{loader:r,close:n,successMessage:s,errorMessage:i,revalidate:o}=t;let l;e[0]!==r?(l={to:r},e[0]=r,e[1]=l):l=e[1];const{data:c}=Dv(l),{dialogClose:u,dialogOpen:d}=Jt(),f=Ye(),p=j6e();let m;e[2]!==n||e[3]!==c||e[4]!==u||e[5]!==d||e[6]!==i||e[7]!==o||e[8]!==p||e[9]!==s?(m=()=>{const g=n(c);g&&(g.status==="ok"&&(u(),Nt(s),o&&p.revalidate()),g.status==="error"&&(u(),g.errors&&d({title:i,content:()=>a.jsx(vTt,{errors:g.errors})})))},e[2]=n,e[3]=c,e[4]=u,e[5]=d,e[6]=i,e[7]=o,e[8]=p,e[9]=s,e[10]=m):m=e[10];let h;e[11]!==n||e[12]!==c||e[13]!==u||e[14]!==d||e[15]!==i||e[16]!==f||e[17]!==o||e[18]!==p||e[19]!==s?(h=[n,c,u,d,i,f,o,p,s],e[11]=n,e[12]=c,e[13]=u,e[14]=d,e[15]=i,e[16]=f,e[17]=o,e[18]=p,e[19]=s,e[20]=h):h=e[20],I.useEffect(m,h);let _;return e[21]===Symbol.for("react.memo_cache_sentinel")?(_=a.jsx(_s,{children:a.jsx(gt,{sx:{my:2},children:a.jsx(Nc,{variant:"indeterminate"})})}),e[21]=_):_=e[21],_}var mme=(t=>(t.CREATED="CREATED",t.RUNNING="RUNNING",t.TERMINATED="TERMINATED",t))(mme||{});const bTt=()=>{const t=he.c(35),e=Ye(),[r,n]=hl(),{drawerClose:s}=Jt();let i;t[0]!==s||t[1]!==n?(i=x=>{n(w=>{const C=new URLSearchParams;return C.set($.searchParams.pageSize,w.get($.searchParams.pageSize)||$.pageSize.toString()),x.supi_icont&&C.set("supi_icont",x.supi_icont),x.supi_noticont&&C.set("supi_noticont",x.supi_noticont),x.supi_iend&&C.set("supi_iend",x.supi_iend),x.gpsi_icont&&C.set("gpsi_icont",x.gpsi_icont),x.gpsi_noticont&&C.set("gpsi_noticont",x.gpsi_noticont),x.gpsi_iend&&C.set("gpsi_iend",x.gpsi_iend),x.status_eq&&C.set("status_eq",x.status_eq),C},{replace:!0}),s()},t[0]=s,t[1]=n,t[2]=i):i=t[2];const o=i;let l;t[3]!==s||t[4]!==n?(l=()=>{n(xTt,{replace:!0}),s()},t[3]=s,t[4]=n,t[5]=l):l=t[5];const c=l;let u;t[6]!==r?(u=r.get("supi_icont")??"",t[6]=r,t[7]=u):u=t[7];let d;t[8]!==r?(d=r.get("supi_noticont")??"",t[8]=r,t[9]=d):d=t[9];let f;t[10]!==r?(f=r.get("supi_iend")??"",t[10]=r,t[11]=f):f=t[11];let p;t[12]!==r?(p=r.get("gpsi_icont")??"",t[12]=r,t[13]=p):p=t[13];let m;t[14]!==r?(m=r.get("gpsi_noticont")??"",t[14]=r,t[15]=m):m=t[15];let h;t[16]!==r?(h=r.get("gpsi_iend")??"",t[16]=r,t[17]=h):h=t[17];let _;t[18]!==r?(_=r.get("status_eq")??"",t[18]=r,t[19]=_):_=t[19];let g;t[20]!==u||t[21]!==d||t[22]!==f||t[23]!==p||t[24]!==m||t[25]!==h||t[26]!==_?(g={supi_icont:u,supi_noticont:d,supi_iend:f,gpsi_icont:p,gpsi_noticont:m,gpsi_iend:h,status_eq:_},t[20]=u,t[21]=d,t[22]=f,t[23]=p,t[24]=m,t[25]=h,t[26]=_,t[27]=g):g=t[27];let y;t[28]!==e?(y=()=>a.jsxs(dn,{canWrite:as(ie.provisioning),fullHeight:!0,children:[a.jsx(zp,{children:a.jsxs(te,{spacing:3,children:[a.jsx(Ke,{name:"status_eq",children:x=>{const{field:w,form:C}=x,{setFieldValue:k}=C;return a.jsx(rn,{value:w.value,name:w.name,label:e.formatMessage({id:"udr_supi.filters.status_eq_active_inactive"}),multiple:!1,size:"small",freeSolo:!1,options:["",...Zjt],onChange:(A,P)=>{k(w.name,P||"")},fullWidth:!0})}}),a.jsxs(te,{spacing:.5,children:[a.jsxs(te,{direction:"row",align:"center",spacing:1,fullWidth:!0,nowrap:!0,children:[a.jsxs(_e,{fontWeight:"600",lineHeight:"1",color:"text.secondary",children:[e.formatMessage({id:"udr_supi.filters.supi"})," "]}),a.jsx(Mn,{arrow:!0,title:e.formatMessage({id:"udr_supi.filters.case_insensitive.info"}),children:a.jsx("span",{children:a.jsx(te,{direction:"column",justify:"center",children:a.jsx(ge.QuestionMark,{size:18})})})})]}),a.jsx(Ke,{name:"supi_icont",children:x=>{const{field:w}=x;return a.jsx(dt,{...w,value:w.value||"",label:e.formatMessage({id:"udr_supi.filters.supi_icont"}),size:"small"})}}),a.jsx(Ke,{name:"supi_noticont",children:x=>{const{field:w}=x;return a.jsx(dt,{...w,value:w.value||"",label:e.formatMessage({id:"udr_supi.filters.supi_noticont"}),size:"small"})}}),a.jsx(Ke,{name:"supi_iend",children:x=>{const{field:w}=x;return a.jsx(dt,{...w,value:w.value||"",label:e.formatMessage({id:"udr_supi.filters.supi_iend"}),size:"small"})}})]}),a.jsxs(te,{spacing:.5,children:[a.jsxs(te,{direction:"row",align:"center",spacing:1,fullWidth:!0,nowrap:!0,children:[a.jsx(_e,{fontWeight:"600",lineHeight:"1",color:"text.secondary",children:e.formatMessage({id:"udr_supi.filters.gpsi"})}),a.jsx(Mn,{arrow:!0,title:e.formatMessage({id:"udr_supi.filters.case_insensitive.info"}),children:a.jsx("span",{children:a.jsx(te,{direction:"column",justify:"center",children:a.jsx(ge.QuestionMark,{size:18})})})})]}),a.jsx(Ke,{name:"gpsi_icont",children:x=>{const{field:w}=x;return a.jsx(dt,{...w,value:w.value||"",label:e.formatMessage({id:"udr_supi.filters.gpsi_icont"}),size:"small"})}}),a.jsx(Ke,{name:"gpsi_noticont",children:x=>{const{field:w}=x;return a.jsx(dt,{...w,value:w.value||"",label:e.formatMessage({id:"udr_supi.filters.gpsi_noticont"}),size:"small"})}}),a.jsx(Ke,{name:"gpsi_iend",children:x=>{const{field:w}=x;return a.jsx(dt,{...w,value:w.value||"",label:e.formatMessage({id:"udr_supi.filters.gpsi_iend"}),size:"small"})}})]})]})}),a.jsxs(f7,{children:[a.jsx(Ze,{"data-testid":"filter-udr-supi-button-reset",text:e.formatMessage({id:"udr_supi.filters.buttons.reset"}),variant:"outlined",disabled:!as(ie.provisioning),type:"reset"}),a.jsx(Ze,{"data-testid":"filter-udr-supi-button-apply",text:e.formatMessage({id:"udr_supi.filters.buttons.apply"}),type:"submit",disabled:!as(ie.provisioning)})]})]}),t[28]=e,t[29]=y):y=t[29];let b;return t[30]!==c||t[31]!==o||t[32]!==y||t[33]!==g?(b=a.jsx(Wr,{initialValues:g,onSubmit:o,onReset:c,children:y}),t[30]=c,t[31]=o,t[32]=y,t[33]=g,t[34]=b):b=t[34],b};function xTt(t){const e=new URLSearchParams;return e.set($.searchParams.pageSize,t.get($.searchParams.pageSize)||$.pageSize.toString()),e}const STt=()=>{const t=he.c(90),e=Ye(),r=ys(),{openConfirmDialog:n}=di(),{dialogOpen:s,dialogClose:i,drawerOpen:o}=Jt(),l=zn(),{submit:c,state:u}=gr(),{pageSize:d,pageSizeOptions:f,changePageSize:p,changePage:m,getRowsCount:h,getPage:_}=Na(),g=u7();let y;t[0]!==i||t[1]!==s||t[2]!==e?(y=()=>{s({title:e.formatMessage({id:"udr_supis.import.form.title"}),content:()=>a.jsx(bx,{min:1,max:1,filesLabel:e.formatMessage({id:"udr_supis.import.form.file"}),accept:{"text/csv":[".csv"]},requiredMessage:e.formatMessage({id:"udr_supis.import.form.file.required"}),description:e.formatMessage({id:"udr_supis.import.form.description"}),exampleFileUrl:"/files/udr_supi_provisioning_example.csv",action:"udr/supis/upload",onDialogSuccess:nt=>{const Re=nt;s({title:e.formatMessage({id:"udr_supis.import.form.result.message_started"}),content:()=>a.jsx(yTt,{revalidate:!0,successMessage:e.formatMessage({id:"udr_supis.import.form.result.message_ok"}),errorMessage:e.formatMessage({id:"udr_supis.import.form.result.message_ko"}),loader:`udr/supis/upload/async/${Re.action_id}`,close:we=>we&&we.status===mme.TERMINATED?(i(),we.info.errors?.length?{status:"error",errors:we.info.errors.map(wTt)}:{status:"ok"}):null})})}})})},t[0]=i,t[1]=s,t[2]=e,t[3]=y):y=t[3];const b=y;let x;t[4]!==e||t[5]!==n||t[6]!==c?(x=nt=>{n({text:e.formatMessage({id:"udr_supis.actions.confirm_delete"}),onConfirm:()=>c({supi:nt.supi},{method:"DELETE",encType:"application/json",action:`${nt.supi}/delete`})})},t[4]=e,t[5]=n,t[6]=c,t[7]=x):x=t[7];const w=x;let C;t[8]!==e?(C=(nt,Re)=>[{key:"supi",label:e.formatMessage({id:"udr_supis.table.id"})},{key:"description",label:e.formatMessage({id:"udr_supis.table.description"})},{key:"gpsi",label:e.formatMessage({id:"udr_supis.table.gpsi"})},{key:"provisioned_data_profile",label:e.formatMessage({id:"udr_supis.table.provisioned_data_profile"}),cellRender:we=>{const{provisioned_data_profile:Me}=we,$e=Re.find(Ve=>Ve.uuid===Me?.uuid);return $e?.description?a.jsx(_e,{type:"body2",children:$e?.description}):a.jsx(_e,{type:"body2",children:$e?.uuid})}},{key:"policy_data_profile",label:e.formatMessage({id:"udr_supis.table.policy_data_profile"}),cellRender:we=>{const{policy_data_profile:Me}=we,$e=nt.find(Ve=>Ve.uuid===Me?.uuid);return $e?.description?a.jsx(_e,{type:"body2",children:$e?.description}):a.jsx(_e,{type:"body2",children:$e?.uuid})}},{key:"status",label:e.formatMessage({id:"udr_supis.table.status"}),cellRender:CTt},{key:"created_at",label:e.formatMessage({id:"udr_supis.table.created_at"}),cellRender:ATt},{key:"modified_at",label:e.formatMessage({id:"udr_supis.table.modified_at"}),cellRender:kTt}],t[8]=e,t[9]=C):C=t[9];const k=C;let A;t[10]===Symbol.for("react.memo_cache_sentinel")?(A=_l(ie.provisioning),t[10]=A):A=t[10];let P;t[11]!==r?(P={...A,onClick:nt=>r(`${$.urls.udrSupis}/${nt.supi}`)},t[11]=r,t[12]=P):P=t[12];let T;t[13]!==e?(T=e.formatMessage({id:"udr_supis.actions.info"}),t[13]=e,t[14]=T):T=t[14];let j,R;t[15]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(ge.UEstatus,{}),R=as(ie.monitoring),t[15]=j,t[16]=R):(j=t[15],R=t[16]);let D;t[17]!==r?(D=nt=>r(`${$.urls.monitoringUeStatus}/${nt.supi}`),t[17]=r,t[18]=D):D=t[18];let O;t[19]!==T||t[20]!==D?(O={label:T,icon:j,disabled:!R,onClick:D},t[19]=T,t[20]=D,t[21]=O):O=t[21];let N;t[22]!==e?(N=e.formatMessage({id:"udr_supis.actions.delete"}),t[22]=e,t[23]=N):N=t[23];let F,U;t[24]===Symbol.for("react.memo_cache_sentinel")?(F=a.jsx(ge.Trash,{}),U=Ue(ie.provisioning),t[24]=F,t[25]=U):(F=t[24],U=t[25]);let z;t[26]!==w?(z=nt=>void w(nt),t[26]=w,t[27]=z):z=t[27];let H;t[28]!==N||t[29]!==z?(H={label:N,icon:F,disabled:!U,onClick:z},t[28]=N,t[29]=z,t[30]=H):H=t[30];let W;t[31]!==H||t[32]!==P||t[33]!==O?(W=[P,O,H],t[31]=H,t[32]=P,t[33]=O,t[34]=W):W=t[34];const K=W;let q;t[35]!==o||t[36]!==e?(q=()=>{o({title:e.formatMessage({id:"udr_supi.toolbar.filters"}),content:MTt})},t[35]=o,t[36]=e,t[37]=q):q=t[37];const X=q;let Q;t[38]!==g?(Q=d7({filter:g}),t[38]=g,t[39]=Q):Q=t[39];const Y=!Q;let Z;t[40]!==e?(Z=e.formatMessage({id:"udr_supi.toolbar.filters"}),t[40]=e,t[41]=Z):Z=t[41];let re;t[42]===Symbol.for("react.memo_cache_sentinel")?(re=a.jsx(ge.Filter,{}),t[42]=re):re=t[42];let fe;t[43]!==X||t[44]!==Z?(fe=a.jsx(Ze,{"data-testid":"supi-btn-filters",variant:"outlined",text:Z,startIcon:re,onClick:X}),t[43]=X,t[44]=Z,t[45]=fe):fe=t[45];let de;t[46]!==Y||t[47]!==fe?(de=a.jsx(Iv,{variant:"dot",invisible:Y,children:fe}),t[46]=Y,t[47]=fe,t[48]=de):de=t[48];let se;t[49]!==e?(se=e.formatMessage({id:"udr_supis.toolbar.import"}),t[49]=e,t[50]=se):se=t[50];let le;t[51]===Symbol.for("react.memo_cache_sentinel")?(le=a.jsx(ge.Upload,{}),t[51]=le):le=t[51];let ee;t[52]!==u?(ee=u!=="idle"||!Ue(ie.provisioning),t[52]=u,t[53]=ee):ee=t[53];let J;t[54]!==b||t[55]!==se||t[56]!==ee?(J=a.jsx(Ze,{variant:"outlined","data-testid":"supi-btn-import",text:se,startIcon:le,onClick:b,disabled:ee}),t[54]=b,t[55]=se,t[56]=ee,t[57]=J):J=t[57];let me;t[58]!==e?(me=e.formatMessage({id:"common.new"}),t[58]=e,t[59]=me):me=t[59];let pe;t[60]===Symbol.for("react.memo_cache_sentinel")?(pe=a.jsx(ge.Add,{}),t[60]=pe):pe=t[60];let Se;t[61]!==r?(Se=()=>r(`${$.urls.udrSupis}/new`),t[61]=r,t[62]=Se):Se=t[62];let ve;t[63]!==u?(ve=u!=="idle"||!Ue(ie.provisioning),t[63]=u,t[64]=ve):ve=t[64];let xe;t[65]!==me||t[66]!==Se||t[67]!==ve?(xe=a.jsx(Ze,{"data-testid":"supi-btn-add",text:me,startIcon:pe,onClick:Se,disabled:ve}),t[65]=me,t[66]=Se,t[67]=ve,t[68]=xe):xe=t[68];let qe;t[69]!==de||t[70]!==J||t[71]!==xe?(qe=a.jsx(hs,{children:a.jsxs(te,{direction:"row",justify:"flex-end",fullWidth:!0,children:[de,J,xe]})}),t[69]=de,t[70]=J,t[71]=xe,t[72]=qe):qe=t[72];let Le;t[73]===Symbol.for("react.memo_cache_sentinel")?(Le=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[73]=Le):Le=t[73];let Te;t[74]!==m||t[75]!==p||t[76]!==k||t[77]!==_||t[78]!==h||t[79]!==d||t[80]!==f||t[81]!==K||t[82]!==u?(Te=nt=>{const{supiList:Re,policyDataProfileList:we,provisionedDataProfileList:Me}=nt;return a.jsx(Br,{autoScale:!0,orderBy:"supi",columns:k(we.data,Me.data),data:Re.data,page:_(Re.metadata),labelDisplayedRows:PTt,rowsCount:h(Re.metadata),rowsPerPage:d,onRowsPerPageChange:p,rowsPerPageOptions:f,rowKey:"supi",rowActions:K,stickyRowActions:!0,onPageChange:m(Re.metadata),loading:u!=="idle"})},t[74]=m,t[75]=p,t[76]=k,t[77]=_,t[78]=h,t[79]=d,t[80]=f,t[81]=K,t[82]=u,t[83]=Te):Te=t[83];let je;t[84]!==l.supisData||t[85]!==Te?(je=a.jsx(I.Suspense,{fallback:Le,children:a.jsx(Qt,{resolve:l.supisData,children:Te})}),t[84]=l.supisData,t[85]=Te,t[86]=je):je=t[86];let Ge;return t[87]!==qe||t[88]!==je?(Ge=a.jsxs(a.Fragment,{children:[qe,je]}),t[87]=qe,t[88]=je,t[89]=Ge):Ge=t[89],Ge};function wTt(t){return`${t.entity} - ${t.reason}`}function CTt(t){const{status:e}=t;return a.jsx(ms,{size:"small",id:e,label:e,color:e===fme.ACTIVE?"success":"default"})}function ATt(t){const{created_at:e}=t;return a.jsx("span",{children:Mr(e)})}function kTt(t){const{modified_at:e}=t;return a.jsx("span",{children:Mr(e)})}function MTt(){return a.jsx(bTt,{})}function PTt(){return""}const nh={AES_128_ECB:{name:"AES_128_ECB",validation:/^[a-fA-F0-9]{32}$/,isIvRequired:!1,isAdRequired:!1},AES_192_ECB:{name:"AES_192_ECB",validation:/^[a-fA-F0-9]{48}$/,isIvRequired:!1,isAdRequired:!1},AES_256_ECB:{name:"AES_256_ECB",validation:/^[a-fA-F0-9]{64}$/,isIvRequired:!1,isAdRequired:!1},DES_64_ECB:{name:"DES_64_ECB",validation:/^[a-fA-F0-9]{16}$/,isIvRequired:!1,isAdRequired:!1},TDES_128_ECB:{name:"TDES_128_ECB",validation:/^[a-fA-F0-9]{32}$/,isIvRequired:!1,isAdRequired:!1},TDES_192_ECB:{name:"TDES_192_ECB",validation:/^[a-fA-F0-9]{48}$/,isIvRequired:!1,isAdRequired:!1},AES_128_CBC:{name:"AES_128_CBC",validation:/^[a-fA-F0-9]{32}$/,isIvRequired:!0,isAdRequired:!1,ivValidation:/^[a-fA-F0-9]{32}$/},AES_192_CBC:{name:"AES_192_CBC",validation:/^[a-fA-F0-9]{48}$/,isIvRequired:!0,isAdRequired:!1,ivValidation:/^[a-fA-F0-9]{32}$/},AES_256_CBC:{name:"AES_256_CBC",validation:/^[a-fA-F0-9]{64}$/,isIvRequired:!0,isAdRequired:!1,ivValidation:/^[a-fA-F0-9]{32}$/},DES_64_CBC:{name:"DES_64_CBC",validation:/^[a-fA-F0-9]{16}$/,isIvRequired:!0,isAdRequired:!1,ivValidation:/^[a-fA-F0-9]{16}$/},TDES_128_CBC:{name:"TDES_128_CBC",validation:/^[a-fA-F0-9]{32}$/,isIvRequired:!0,isAdRequired:!1,ivValidation:/^[a-fA-F0-9]{16}$/},TDES_192_CBC:{name:"TDES_192_CBC",validation:/^[a-fA-F0-9]{48}$/,isIvRequired:!0,isAdRequired:!1,ivValidation:/^[a-fA-F0-9]{16}$/},AES_128_GCM:{name:"AES_128_GCM",validation:/^[a-fA-F0-9]{32}$/,isIvRequired:!0,ivValidation:/^([a-fA-F0-9]{2})+$/,isAdRequired:!0,adValidation:/^([a-fA-F0-9]{2})*$/},AES_192_GCM:{name:"AES_192_GCM",validation:/^[a-fA-F0-9]{48}$/,isIvRequired:!0,ivValidation:/^([a-fA-F0-9]{2})+$/,isAdRequired:!0,adValidation:/^([a-fA-F0-9]{2})*$/},AES_256_GCM:{name:"AES_256_GCM",validation:/^[a-fA-F0-9]{64}$/,isIvRequired:!0,ivValidation:/^([a-fA-F0-9]{2})+$/,isAdRequired:!0,adValidation:/^([a-fA-F0-9]{2})*$/}},jTt=Object.values(nh),TTt=new RegExp(`^(${Object.keys(nh).join("|")})$`),hme=t=>{const e=he.c(33),{id:r}=t,n=Ye(),{dialogClose:s}=Jt(),i=r!==void 0;let o;e[0]!==r||e[1]!==i?(o=i&&{editLoadTo:`${$.urls.udrTransportKeys}/${r}`},e[0]=r,e[1]=i,e[2]=o):o=e[2];let l;e[3]!==o?(l={...o},e[3]=o,e[4]=l):l=e[4];const{upsertFetcher:c,dataFetcher:u,isLoading:d}=Ys(l),{data:f,state:p,submit:m}=c,{data:h,state:_}=u;let g;e[5]!==m||e[6]!==r||e[7]!==i?(g=P=>{const{id:T,key:j,iv:R,cipher:D,ad:O}=P;if(i){m({id:r,key:j,cipher:D,...R&&{iv:R},...O&&{ad:O}},{action:`${$.urls.udrTransportKeys}/update`,method:"POST",encType:"application/json"});return}m({id:T,key:j,cipher:D,...R&&{iv:R},...O&&{ad:O}},{action:`${$.urls.udrTransportKeys}/create`,method:"POST",encType:"application/json"})},e[5]=m,e[6]=r,e[7]=i,e[8]=g):g=e[8];const y=g;let b;e:{if(!i||!h){let D;e[9]===Symbol.for("react.memo_cache_sentinel")?(D={id:"",cipher:"AES_128_ECB",key:"",ad:"",iv:""},e[9]=D):D=e[9],b=D;break e}const P=h.udrTransportKey,T=P?.id??"",j=P?.cipher??"AES_128_ECB";let R;e[10]!==T||e[11]!==j?(R={id:T,cipher:j,key:"",ad:"",iv:""},e[10]=T,e[11]=j,e[12]=R):R=e[12],b=R}const x=b;let w;if(e[13]!==n||e[14]!==i){let P;e[16]!==n?(P=(j,R)=>{const D=nh[j];return!D||!D.isIvRequired?R:D.ivValidation?R.required(n.formatMessage({id:"udr_transport_keys.new_transport_key.form_errors.required"})).matches(new RegExp(D.ivValidation)):R},e[16]=n,e[17]=P):P=e[17];let T;e[18]!==n?(T=(j,R)=>{const D=nh[j];return!D||!D.isAdRequired?R:D.adValidation?R.required(n.formatMessage({id:"udr_transport_keys.new_transport_key.form_errors.required"})).matches(new RegExp(D.adValidation)):R},e[18]=n,e[19]=T):T=e[19],w=dr().shape({...!i&&{id:We().required(n.formatMessage({id:"udr_transport_keys.new_transport_key.form_errors.required"}))},cipher:We().strict(!0).matches(TTt).required(n.formatMessage({id:"udr_transport_keys.new_transport_key.form_errors.required"})),key:We().required(n.formatMessage({id:"udr_transport_keys.new_transport_key.form_errors.required"})).when("cipher",ETt),iv:We().when("cipher",P),ad:We().when("cipher",T)}),e[13]=n,e[14]=i,e[15]=w}else w=e[15];const C=w;let k;e[20]!==s||e[21]!==f||e[22]!==p||e[23]!==n||e[24]!==i||e[25]!==d||e[26]!==_?(k=P=>{const{values:T}=P;return a.jsxs(dn,{canWrite:Ue(ie.transport_keys),fullHeight:!0,children:[a.jsx(_s,{loading:d,children:a.jsxs(te,{spacing:2,fullHeight:!0,fullWidth:!0,nowrap:!0,children:[a.jsx(Ke,{name:"id",children:j=>{const{field:R,meta:D}=j;return a.jsx(dt,{...R,label:n.formatMessage({id:"udr_transport_keys.new_transport_key.id"}),size:"small",error:!!D.error,helperText:D.error,disabled:i||_!=="idle"||p!=="idle"})}}),a.jsx(Ke,{name:"cipher",children:j=>{const{field:R,meta:D,form:O}=j,{setFieldValue:N}=O,F=U=>{N(R.name,U)};return a.jsx(qs,{...R,label:n.formatMessage({id:"udr_transport_keys.new_transport_key.cipher"}),size:"small",error:!!D.error,helperText:D.error,disabled:_!=="idle"||p!=="idle",onChange:U=>F(U.target.value),children:jTt.map(RTt)})}}),a.jsx(Ke,{name:"key",children:j=>{const{field:R,meta:D}=j;return a.jsx(dt,{...R,label:n.formatMessage({id:"udr_transport_keys.new_transport_key.key"}),size:"small",error:!!D.error,helperText:D.error,disabled:_!=="idle"||p!=="idle"})}}),nh[T.cipher].isIvRequired&&a.jsx(Ke,{name:"iv",children:j=>{const{field:R,meta:D}=j;return a.jsx(dt,{...R,label:n.formatMessage({id:"udr_transport_keys.new_transport_key.iv"}),size:"small",error:!!D.error,helperText:D.error,disabled:_!=="idle"||p!=="idle"})}}),nh[T.cipher].isAdRequired&&a.jsx(Ke,{name:"ad",children:j=>{const{field:R,meta:D}=j;return a.jsx(dt,{...R,label:n.formatMessage({id:"udr_transport_keys.new_transport_key.ad"}),size:"small",error:!!D.error,helperText:D.error,disabled:_!=="idle"||p!=="idle"})}}),a.jsx(Xr,{data:f})]})}),a.jsx(Ti,{children:a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{"data-testid":"udr-transport-keys-button-cancel",text:n.formatMessage({id:"udr_transport_keys.import.cancel"}),variant:"outlined",disabled:_!=="idle"||p!=="idle"||!Ue(ie.transport_keys),onClick:()=>s()}),a.jsx(Ze,{"data-testid":"udr-transport-keys-button-save",text:n.formatMessage({id:"udr_transport_keys.import.save"}),type:"submit",disabled:_!=="idle"||p!=="idle"||!Ue(ie.transport_keys)})]})})]})},e[20]=s,e[21]=f,e[22]=p,e[23]=n,e[24]=i,e[25]=d,e[26]=_,e[27]=k):k=e[27];let A;return e[28]!==y||e[29]!==x||e[30]!==k||e[31]!==C?(A=a.jsx(Wr,{initialValues:x,enableReinitialize:!0,validationSchema:C,onSubmit:y,children:k}),e[28]=y,e[29]=x,e[30]=k,e[31]=C,e[32]=A):A=e[32],A};function ETt(t,e){const r=nh[t];return r?e.strict(!0).matches(new RegExp(r.validation)):e}function RTt(t){return a.jsx(En,{value:t.name,children:t.name},t.name)}const ITt=()=>{const t=he.c(10),e=Ye(),{dialogOpen:r}=Jt();let n;t[0]!==r||t[1]!==e?(n=async()=>{r({title:e.formatMessage({id:"udr_transport_keys.toolbar.new_transport_key"}),content:DTt,closeOnBackdropClick:!1})},t[0]=r,t[1]=e,t[2]=n):n=t[2];const s=n;let i;t[3]!==e?(i=e.formatMessage({id:"common.new"}),t[3]=e,t[4]=i):i=t[4];let o;t[5]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(ge.Add,{}),t[5]=o):o=t[5];let l;t[6]===Symbol.for("react.memo_cache_sentinel")?(l=Ue(ie.transport_keys),t[6]=l):l=t[6];let c;return t[7]!==s||t[8]!==i?(c=a.jsx(Ze,{"data-testid":"toolbar-button-new-transport-key",text:i,startIcon:o,onClick:s,disabled:!l}),t[7]=s,t[8]=i,t[9]=c):c=t[9],c};function DTt(){return a.jsx(hme,{})}const $Tt=()=>{const t=he.c(64),e=Ye(),r=Gr(),{openConfirmDialog:n}=di(),s=On(),i=gr(),{dialogOpen:o}=Jt(),{pageSize:l,pageSizeOptions:c,changePageSize:u,changePage:d,getRowsCount:f,getPage:p}=Na();let m;t[0]!==o||t[1]!==e?(m=re=>{re&&o({title:e.formatMessage({id:"udr_transport_keys.edit_transport_key.title"}),content:()=>a.jsx(hme,{id:re}),closeOnBackdropClick:!1})},t[0]=o,t[1]=e,t[2]=m):m=t[2];const h=m;let _;t[3]!==i||t[4]!==e||t[5]!==n?(_=re=>{re&&n({text:e.formatMessage({id:"udr_transport_keys.application_servers_profiles.dialog.delete.confirm"}),onConfirm:()=>{i.submit({id:re},{action:`${$.urls.udrTransportKeys}/delete`,method:"POST",encType:"application/json"})}})},t[3]=i,t[4]=e,t[5]=n,t[6]=_):_=t[6];const g=_;let y;t[7]!==e?(y=e.formatMessage({id:"udr_transport_keys.table.header.id"}),t[7]=e,t[8]=y):y=t[8];let b;t[9]!==y?(b={key:"id",label:y,cellRender:OTt},t[9]=y,t[10]=b):b=t[10];let x;t[11]!==e?(x=e.formatMessage({id:"udr_transport_keys.table.header.cipher"}),t[11]=e,t[12]=x):x=t[12];let w;t[13]!==x?(w={key:"cipher",label:x,cellRender:LTt},t[13]=x,t[14]=w):w=t[14];let C;t[15]!==e?(C=e.formatMessage({id:"udr_transport_keys.table.header.created_at"}),t[15]=e,t[16]=C):C=t[16];let k;t[17]!==C?(k={key:"created_at",label:C,cellRender:NTt},t[17]=C,t[18]=k):k=t[18];let A;t[19]!==e?(A=e.formatMessage({id:"udr_transport_keys.table.header.modified_at"}),t[19]=e,t[20]=A):A=t[20];let P;t[21]!==A?(P={key:"modified_at",label:A,cellRender:FTt},t[21]=A,t[22]=P):P=t[22];let T;t[23]!==b||t[24]!==w||t[25]!==k||t[26]!==P?(T=[b,w,k,P],t[23]=b,t[24]=w,t[25]=k,t[26]=P,t[27]=T):T=t[27];const j=T;let R;t[28]===Symbol.for("react.memo_cache_sentinel")?(R=_l([ie.transport_keys,ie.provisioning]),t[28]=R):R=t[28];const D=s.state!=="idle"||i.state!=="idle";let O;t[29]!==h?(O=re=>{const{id:fe}=re;return h(fe)},t[29]=h,t[30]=O):O=t[30];let N;t[31]!==D||t[32]!==O?(N={...R,disabled:D,onClick:O},t[31]=D,t[32]=O,t[33]=N):N=t[33];let F;t[34]!==e?(F=e.formatMessage({id:"udr_transport_keys.actions.delete"}),t[34]=e,t[35]=F):F=t[35];let U;t[36]===Symbol.for("react.memo_cache_sentinel")?(U=a.jsx(ge.Trash,{}),t[36]=U):U=t[36];let z;t[37]!==g?(z=re=>{const{id:fe}=re;return void g(fe)},t[37]=g,t[38]=z):z=t[38];let H;t[39]!==i.state||t[40]!==s.state?(H=s.state!=="idle"||i.state!=="idle"||!Ue(ie.provisioning)&&!Ue(ie.transport_keys),t[39]=i.state,t[40]=s.state,t[41]=H):H=t[41];let W;t[42]!==F||t[43]!==z||t[44]!==H?(W={label:F,icon:U,onClick:z,disabled:H},t[42]=F,t[43]=z,t[44]=H,t[45]=W):W=t[45];let K;t[46]!==N||t[47]!==W?(K=[N,W],t[46]=N,t[47]=W,t[48]=K):K=t[48];const q=K;let X;t[49]===Symbol.for("react.memo_cache_sentinel")?(X=a.jsx(Dt,{variant:"rounded",height:"100%"}),t[49]=X):X=t[49];let Q;t[50]===Symbol.for("react.memo_cache_sentinel")?(Q=a.jsx(Tr,{}),t[50]=Q):Q=t[50];let Y;t[51]!==d||t[52]!==u||t[53]!==j||t[54]!==i.state||t[55]!==p||t[56]!==f||t[57]!==l||t[58]!==c||t[59]!==q?(Y=re=>{const{data:fe,metadata:de}=re;return a.jsxs(a.Fragment,{children:[a.jsx(hs,{children:a.jsx(ITt,{})}),a.jsx(Br,{autoScale:!0,loading:i.state!=="idle",orderBy:"id",columns:j,data:fe,page:p(de),labelDisplayedRows:UTt,rowsCount:f(de),rowsPerPage:l,onRowsPerPageChange:u,rowsPerPageOptions:c,rowKey:"id",rowActions:q,stickyRowActions:!0,onPageChange:d(de)})]})},t[51]=d,t[52]=u,t[53]=j,t[54]=i.state,t[55]=p,t[56]=f,t[57]=l,t[58]=c,t[59]=q,t[60]=Y):Y=t[60];let Z;return t[61]!==r.udrTransportKeyList||t[62]!==Y?(Z=a.jsx(I.Suspense,{fallback:X,children:a.jsx(Qt,{resolve:r.udrTransportKeyList,errorElement:Q,children:Y})}),t[61]=r.udrTransportKeyList,t[62]=Y,t[63]=Z):Z=t[63],Z};function OTt(t){const{id:e}=t;return e?a.jsx(_e,{type:"body2",children:e}):a.jsx(_e,{type:"body2",children:"*"})}function LTt(t){const{cipher:e}=t;return e?a.jsx(_e,{type:"body2",children:e}):a.jsx(_e,{type:"body2",children:"*"})}function NTt(t){const{created_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function FTt(t){const{modified_at:e}=t;return a.jsx(_e,{type:"body2",children:Mr(e)})}function UTt(){return""}async function BTt({request:t}){const e=await t.json(),r=await zlt(e);return xt(r)||(Nt(),rt($.urls.udrImsApplicationServerAcls)),Ft(r)}async function zTt({request:t}){const e=await t.json(),r=await qlt(e);return xt(r)||(Nt(),rt($.urls.udrImsApplicationServerAcls)),Ft(r)}async function qTt({request:t}){const{id:e}=await t.json(),r=await Vlt(e);return xt(r)?Ar():(Nt(),rt($.urls.udrImsApplicationServerAcls)),Ft(r)}async function VTt({request:t}){const e=await t.json(),r=await Hlt(e);return xt(r)?Ar():Nt(),Ft(r)}async function HTt({request:t}){const e=await t.json(),r=await Glt(e);return xt(r)?Ar():Nt(),Ft(r)}async function GTt({request:t}){const{service_indication:e,public_identity:r}=await t.json(),n=await Wlt({service_indication:e,public_identity:r});return xt(n)?Ar():Nt(),Ft(n)}async function WTt({request:t}){const e=await t.json(),r=await ect(e);return xt(r)?Ft(r):(Nt(),rt($.urls.udrImsPrivateIdentities))}async function YTt({request:t}){const e=await t.json(),r=await tct(e);return xt(r)||Nt(),Ft(r)}async function KTt({request:t}){const e=await t.json(),r=await rct(e);return xt(r)?Ft(r):(Nt(),rt($.urls.udrImsPrivateIdentities))}async function QTt({request:t}){const{name:e}=await t.json(),r=await nct(e);if(xt(r))Ar();else if(Nt(),location.href!==$.urls.udrImsPrivateIdentities)return rt($.urls.udrImsPrivateIdentities);return Ft(r)}async function ZTt({request:t}){const e=await t.json(),r=await lct(e);return xt(r)||(Nt(),rt($.urls.udrImsServiceProfiles)),Ft(r)}async function XTt({request:t}){const e=await t.json(),r=await cct(e);return xt(r)||(Nt(),rt($.urls.udrImsServiceProfiles)),Ft(r)}async function JTt({request:t}){const{id:e}=await t.json(),r=await uct(e);return xt(r)?Ar():(Nt(),rt($.urls.udrImsServiceProfiles)),Ft(r)}async function e4t({request:t}){const{mcc:e,mnc:r}=await t.json(),n=await pct(e,r);return xt(n)||Nt(),Ft(n)}async function t4t({request:t}){const{mcc:e,mnc:r}=await t.json(),n=await mct(e,r);return xt(n)?Ar():Nt(),Ft(n)}async function r4t({request:t}){const e=await t.json(),r=await gct(e);return xt(r)?Ft(r):(Nt(),rt($.urls.udrPolicyDataProfile))}async function n4t({request:t}){const e=await t.json(),r=await _ct(e);return xt(r)?Ft(r):(Nt(),rt($.urls.udrPolicyDataProfile))}async function s4t({request:t}){const{id:e}=await t.json(),r=await vct(e);if(xt(r))Ar();else if(Nt(),location.href!==$.urls.udrPolicyDataProfile)return rt($.urls.udrPolicyDataProfile);return Ft(r)}async function i4t({request:t}){const e=await t.json(),r=await bct(e);return xt(r)?Ft(r):(Nt(),rt($.urls.udrProvisionedDataProfile))}async function o4t({request:t}){const{profile:e}=await t.json(),{uuid:r,...n}=e,s=await xct(r,n);return xt(s)?Ft(s):(Nt(),rt($.urls.udrProvisionedDataProfile))}async function a4t({request:t}){const{id:e}=await t.json(),r=await Sct(e);if(xt(r))Ar();else if(Nt(),location.href!==$.urls.udrProvisionedDataProfile)return rt($.urls.udrProvisionedDataProfile);return Ft(r)}async function l4t({request:t}){const e=await t.json(),r=await kct(e);return xt(r)?Ft(r):(Nt(),rt($.urls.udrSupis))}async function c4t({request:t}){const{supi:e,formData:r}=await t.json(),n=await Mct(e,r);return xt(n)?Ft(n):(Nt(),rt($.urls.udrSupis))}async function u4t({request:t}){const{supi:e}=await t.json(),r=await Pct(e);if(xt(r))Ar();else if(Nt(),location.href!==$.urls.udrSupis)return rt($.urls.udrSupis);return Ft(r)}async function d4t({request:t}){const r=(await t.formData()).getAll("files"),n=await jct(r[0]);return Ft(n)}async function f4t({request:t}){const e=await t.json(),r=await Dct(e);return xt(r)||(Nt(),rt($.urls.udrTransportKeys)),Ft(r)}async function p4t({request:t}){const e=await t.json(),r=await $ct(e);return xt(r)||(Nt(),rt($.urls.udrTransportKeys)),Ft(r)}async function m4t({request:t}){const{id:e}=await t.json(),r=await Oct(e);return xt(r)?Ar():(Nt(),rt($.urls.udrTransportKeys)),Ft(r)}async function h4t({request:t}){const e=await t.json(),r=await Nct(e);return xt(r)||Nt(),Ft(r)}async function g4t(){const t=await Fct();return xt(t)?Nt(t.error.detail):Nt(),Ft(t)}async function _4t({request:t}){const e=await t.json(),r=await Bct(e);return xt(r)||Nt(),Ft(r)}async function v4t({request:t}){const e=await t.json(),r=await zct(e);return xt(r)||Nt(),Ft(r)}async function y4t({request:t}){const{id:e}=await t.json(),r=await qct(e);return xt(r)?Ar(r.error.detail):Nt(),Ft(r)}const b4t=async t=>{const e=new URL(t.request.url),r=e.searchParams.get("applicationServer"),n=e.searchParams.get("dataReferenceEq");return Wt({loaderArgs:t,deferred:!0,data:{udrImsApplicationServerAclList:Ult({applicationServer:r,dataReferenceEq:n})}})};async function x4t(t){const{id:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{udrImsApplicationServerAcl:Blt({id:e})}}):null}const S4t=async t=>{const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{udrImsInitialFilterList:Ylt({pageSize:e,paginationToken:r})}})};async function w4t(t){const{id:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{udrImsInitialFilter:Klt({id:e})}}):null}const C4t=async t=>{const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{udrImsPrivateIdentityList:Jlt({pageSize:e,paginationToken:r})}})};async function A4t(t){const{name:e}=t.params;return e&&e!=="new"?Wt({loaderArgs:t,deferred:!0,data:{udrImsPrivateIdentity:jue({name:e})}}):null}async function k4t(t){const{name:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{udrImsPrivateIdentity:jue({name:e})}}):null}async function M4t(t){const{name:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{udrImsPrivateIdentityPrivateStatus:sct(e)}}):null}async function P4t(t){const{name:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{udrImsPrivateIdentityPublicStatus:ict(e)}}):null}const j4t=async t=>{const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{udrImsServiceProfileList:oct({pageSize:e,paginationToken:r})}})};async function T4t(t){const{id:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{udrImsServiceProfile:act({id:e})}}):null}const E4t=async t=>{const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{udrPlmnList:fct({pageSize:+e,...r&&{paginationToken:r}})}})},R4t=async t=>{const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{udrPolicyDataProfileList:h7({pageSize:+e,...r&&{paginationToken:r}})}})},I4t=async t=>{const{id:e}=t.params;if(e&&e!=="new"){const r=hct(e);return Wt({loaderArgs:t,deferred:!0,data:{udrPolicyDataProfile:r}})}return Wt({loaderArgs:t,deferred:!1,data:{}})};function D4t(t){const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{profiles:g7({pageSize:+e,...r&&{paginationToken:r}})}})}async function $4t(t){const{id:e}=t.params;if(!e)throw Li({type:mn.NOT_FOUND});return Wt(e==="new"?{loaderArgs:t,deferred:!1,data:{}}:{loaderArgs:t,deferred:!0,data:{profile:yct(e)}})}async function O4t(t){const e=new URL(t.request.url),r=e.searchParams.get("supi_icont"),n=e.searchParams.get("supi_noticont"),s=e.searchParams.get("supi_iend"),i=e.searchParams.get("gpsi_icont"),o=e.searchParams.get("gpsi_noticont"),l=e.searchParams.get("gpsi_iend"),c=e.searchParams.get("status_eq"),{pageSize:u,paginationToken:d}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{supisData:Ect({pageSize:+u,paginationToken:d,supi_icont:r,supi_noticont:n,supi_iend:s,gpsi_icont:i,gpsi_noticont:o,gpsi_iend:l,status_eq:c})}})}async function L4t(t){const{id:e}=t.params;if(!e)throw Li({type:mn.NOT_FOUND});return Wt(e==="new"?{loaderArgs:t,deferred:!1,data:{createOrEditData:KX()}}:{loaderArgs:t,deferred:!0,data:{createOrEditData:KX(e)}})}async function N4t(t){const{id:e}=t.params;if(!e)throw Li({type:mn.NOT_FOUND});const r=await Tct(e);return Ft(r)}const F4t=async t=>{const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{udrTransportKeyList:Rct({pageSize:e,paginationToken:r})}})};async function Qee(t){const{id:e}=t.params;return e?Wt({loaderArgs:t,deferred:!0,data:{udrTransportKey:Ict({id:e})}}):null}const U4t=async t=>Wt({loaderArgs:t,deferred:!0,data:{milenageCostants:Lct()}});function B4t(t){const{pageSize:e,paginationToken:r}=Fa(t);return Wt({loaderArgs:t,deferred:!0,data:{operatorKeys:Uct({pageSize:+e,...r&&{paginationToken:r}})}})}const z4t={path:"udr",handle:vr({labelIntl:"route.udr",icon:a.jsx(ge.UDR,{})}),children:[{element:a.jsx(Or,{center:!0}),children:[{path:"custom-milenage-constants",handle:vr({labelIntl:"route.udr.custom-milenage-constants",to:$.urls.udrCustomMilenageConstants}),loader:U4t,element:a.jsx(OPt,{}),children:[{path:"update",action:h4t,loader:()=>rt("..")},{path:"delete",action:g4t,loader:()=>rt("..")}]}]},{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.UDR,{dbCluster:!0})]},{path:"supis",handle:vr({labelIntl:"route.udr.supis",to:$.urls.udrSupis}),children:[{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,loader:O4t,element:a.jsx(STt,{})}]},{path:"upload",action:d4t,loader:()=>rt("..")},{path:"upload/async/:id",loader:N4t,element:a.jsx(ur,{to:$.urls.udrSupis,replace:!0})},{element:a.jsx(Or,{center:!0}),children:[{path:":id",loader:L4t,handle:t=>{const e=t.params.id;return vr({labelIntl:e==="new"?"route.udr.supis.new":"route.udr.supis.id",...e!=="new"&&{captionIntl:"route.udr.supis.id.caption",captionIntlParams:{id:e}},to:`${$.urls.udrSupis}/${e}`})},element:a.jsx(_Tt,{}),children:[{path:"create",action:l4t,loader:()=>rt("..")},{path:"update",action:c4t,loader:()=>rt("..")},{path:"delete",action:u4t,loader:()=>rt("..")}]}]}]},{path:"ims-private-identities",handle:vr({labelIntl:"route.udr.ims-private-identities",to:$.urls.udrImsPrivateIdentities}),children:[{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:C4t,element:a.jsx(lPt,{})},{path:"private-status/:name",loader:M4t,element:a.jsx(ur,{to:$.urls.udrImsPrivateIdentities,replace:!0})},{path:"public-status/:name",loader:P4t,element:a.jsx(ur,{to:$.urls.udrImsPrivateIdentities,replace:!0})},{action:WTt,path:"create",loader:()=>rt("..")},{action:YTt,path:"create-basic",loader:()=>rt("..")},{action:KTt,path:"update",loader:()=>rt("..")},{action:QTt,path:"delete",loader:()=>rt("..")}]},{path:":name",handle:t=>{const e=t.params.name;return vr({labelIntl:e==="new"?"route.udr.ims-private-identities.new":"route.udr.ims-private-identities.id",...e!=="new"&&{captionIntl:"route.udr.ims-private-identities.id.caption",captionIntlParams:{id:e}},to:$.urls.udrImsPrivateIdentitiesDetails.replace(":name",e)})},children:[{element:a.jsx(Or,{center:!0}),children:[{index:!0,loader:A4t,element:a.jsx(bPt,{})},{path:"application-servers-profiles",handle:t=>{const e=t.params.name;return vr({labelIntl:"route.udr.ims-private-identities.id.application-servers-profiles",to:`${$.urls.udrImsPrivateIdentitiesDetails.replace(":name",e)}/application-servers-profiles`,...e!=="new"&&{captionIntl:"route.udr.ims-private-identities.id.caption",captionIntlParams:{id:e}}})},loader:k4t,element:a.jsx(vPt,{}),children:[{action:VTt,path:"create",loader:()=>rt("..")},{action:HTt,path:"update",loader:()=>rt("..")},{action:GTt,path:"delete",loader:()=>rt("..")}]}]}]}]},{path:"provisioned-data-profile",handle:vr({labelIntl:"route.udr.provisioned-data-profile",to:$.urls.udrProvisionedDataProfile}),children:[{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,loader:D4t,element:a.jsx(Gjt,{})}]},{element:a.jsx(Or,{center:!0}),children:[{path:":id",handle:t=>{const e=t.params.id;return vr({labelIntl:e==="new"?"route.udr.provisioned-data-profile.new":"route.udr.provisioned-data-profile.id",...e!=="new"&&{captionIntl:"route.udr.provisioned-data-profile.id.caption",captionIntlParams:{id:e}},to:$.urls.udrProvisionedDataProfileDetails.replace(":id",e)})},loader:$4t,element:a.jsx(Hjt,{}),children:[{path:"create",action:i4t,loader:()=>rt("..")},{path:"update",action:o4t,loader:()=>rt("..")},{path:"delete",action:a4t,loader:()=>rt("..")}]}]}]},{element:a.jsx(Or,{fullHeight:!0}),children:[io(ue.UDR),{path:"plmns",handle:vr({labelIntl:"route.udr.plmns",to:$.urls.udrPlmns}),loader:E4t,element:a.jsx(WPt,{}),children:[{path:"create",action:e4t,loader:()=>rt("..")},{path:"delete",action:t4t,loader:()=>rt("..")}]},{path:"ims-application-server-acls",handle:vr({labelIntl:"route.udr.ims-application-server-acls",to:$.urls.udrImsApplicationServerAcls}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:b4t,element:a.jsx(RMt,{})},{path:":id",loader:x4t,element:a.jsx(ur,{to:$.urls.udrImsApplicationServerAcls,replace:!0})},{action:BTt,path:"create",loader:()=>rt("..")},{action:zTt,path:"update",loader:()=>rt("..")},{action:qTt,path:"delete",loader:()=>rt("..")}]},{path:"ims-service-profiles",handle:vr({labelIntl:"route.udr.ims-service-profiles",to:$.urls.udrImsServiceProfiles}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:j4t,element:a.jsx(PPt,{})},{path:":id",loader:T4t,element:a.jsx(ur,{to:$.urls.udrImsServiceProfiles,replace:!0})},{action:ZTt,path:"create",loader:()=>rt("..")},{action:XTt,path:"update",loader:()=>rt("..")},{action:JTt,path:"delete",loader:()=>rt("..")}]},{path:"ims-initial-filters",handle:vr({labelIntl:"route.udr.ims-initial-filters",to:$.urls.udrImsInitialFilters}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:S4t,element:a.jsx(HMt,{})},{path:":id",loader:w4t,element:a.jsx(ur,{to:$.urls.udrImsInitialFilters,replace:!0})},{action:FMt,path:"create",loader:()=>rt("..")},{action:UMt,path:"update",loader:()=>rt("..")},{action:BMt,path:"delete",loader:()=>rt("..")}]},{path:"transport-keys",handle:vr({labelIntl:"route.udr.transport-keys",to:$.urls.udrTransportKeys}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:F4t,element:a.jsx($Tt,{})},{path:":id",loader:Qee,element:a.jsx(ur,{to:$.urls.udrTransportKeys,replace:!0})},{action:f4t,path:"create",loader:()=>rt("..")},{action:p4t,path:"update",loader:()=>rt("..")},{action:m4t,path:"delete",loader:()=>rt("..")}]},{path:"operator-codes",handle:vr({labelIntl:"route.udr.operator-codes",to:$.urls.udrOperatorCodes}),children:[{index:!0,element:a.jsx(ur,{to:"entries",replace:!0})},{path:"entries",loader:B4t,element:a.jsx(FPt,{})},{path:":id",loader:Qee,element:a.jsx(ur,{to:$.urls.udrOperatorCodes,replace:!0})},{path:"create",action:_4t,loader:()=>rt("..")},{path:"update",action:v4t,loader:()=>rt("..")},{path:"delete",action:y4t,loader:()=>rt("..")}]}]},{path:"policy-data-profile",handle:vr({labelIntl:"route.udr.policy-data-profile",to:$.urls.udrPolicyDataProfile}),children:[{element:a.jsx(Or,{fullHeight:!0}),children:[{index:!0,loader:R4t,element:a.jsx(XPt,{})}]},{element:a.jsx(Or,{center:!0}),children:[{path:":id",handle:t=>{const e=t.params.id;return vr({labelIntl:e==="new"?"route.udr.policy-data-profile.new":"route.udr.policy-data-profile.id",...e!=="new"&&{captionIntl:"route.udr.policy-data-profile.id.caption",captionIntlParams:{id:e}},to:$.urls.udrPolicyDataProfileDetails.replace(":id",e)})},loader:I4t,element:a.jsx(fjt,{}),children:[{path:"create",action:r4t,loader:()=>rt("..")},{path:"update",action:n4t,loader:()=>rt("..")},{path:"delete",action:s4t,loader:()=>rt("..")}]}]}]}]};function q4t(){const t=he.c(3);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={display:"flex",justifyContent:"center",alignItems:"center",height:"100%"},t[0]=e):e=t[0];let r;t[1]===Symbol.for("react.memo_cache_sentinel")?(r={maxWidth:"500px"},t[1]=r):r=t[1];let n;return t[2]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(gt,{sx:e,children:a.jsx(pr,{title:"Unauthorized",sx:r,children:a.jsx(Kt,{children:a.jsx(Lr,{severity:"warning",message:"You are not authorized to view any content. Check your account permissions."})})})}),t[2]=n):n=t[2],n}function V4t(){return Aae()?rt(".."):null}const H4t={path:"unauthorized",loader:V4t,element:a.jsx(q4t,{})},Zee=Pr(),G4t={path:"upf",handle:vr({labelIntl:"route.upf",icon:a.jsx(ge.UPF,{})}),children:[{index:!0,element:a.jsx(ur,{to:"status",replace:!0})},{element:a.jsx(Or,{center:!0,transparent:!0}),children:[so(ue.UPF)]},{element:a.jsx(Or,{fullHeight:!0}),children:[io(ue.UPF),{path:"status",element:a.jsx(Ao,{tabs:[{url:"pfcp",label:Zee.formatMessage({id:"route.upf.status.pfcp"})},{url:"gtpu",label:Zee.formatMessage({id:"route.upf.status.gtpu"})}]}),children:[{index:!0,element:a.jsx(ur,{to:"pfcp",replace:!0})},h8({path:"pfcp",nf:ue.UPF}),m7({path:"gtpu",nf:ue.UPF})]}]},{element:a.jsx(Or,{center:!0}),children:[p7(ue.UPF)]}]},W4t={errorElement:a.jsx(rN,{}),children:[Zae({element:a.jsx(Pze,{}),loader:dqe,path:"/",action:Dze,children:[{errorElement:a.jsx(gUe,{}),children:[{path:"site-loader",element:a.jsx(ur,{to:"/home",replace:!0}),loader:pqe},{element:a.jsx(ur,{to:"/home",replace:!0}),index:!0},Wwt,sht,Ttt,frt,prt,lnt,mnt,Yst,gnt,Vit,Mat,gut,ndt,Oft,Nft,nCt,sCt,wCt,Xkt,CMt,z4t,G4t,rht]}]}),{element:a.jsx(zW,{}),loader:vY,children:[Srt]},{element:a.jsx(zW,{profileCard:!0}),loader:vY,children:[H4t]},mqe,wrt,Crt,pht]},Y4t=J6e([W4t]),K4t=()=>{const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(a$e,{router:Y4t}),t[0]=e):e=t[0],e},gme=Ioe(),Q4t=Doe(gme);function Z4t(){const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(LPe,{locale:gme,messages:Q4t,children:a.jsx(xre,{dateAdapter:dMe,children:a.jsx(JIe,{children:a.jsxs(a.Fragment,{children:[a.jsx(yDe,{}),a.jsx(K4t,{})]})})})}),t[0]=e):e=t[0],e}const X4t=document.getElementById("root"),J4t=Age.createRoot(X4t);J4t.render(a.jsx(I.StrictMode,{children:a.jsx(Z4t,{})}));
