@ansible/ansible-ui-framework 2.4.2739 → 2.4.2740

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { u as De, j as M } from "./index-DuvH_Awk.js";
1
+ import { u as De, j as M } from "./index-C6NqotJr.js";
2
2
  import { useContext as He, createContext as je, useState as Se, useEffect as ye, useRef as qe } from "react";
3
3
  import Oe from "react-dom";
4
4
  import { R as Ye } from "./ansible-chatbot-rWVelQMf.js";
@@ -1,4 +1,4 @@
1
- import { u as a, j as e, d as i } from "./index-DuvH_Awk.js";
1
+ import { u as a, j as e, d as i } from "./index-C6NqotJr.js";
2
2
  import { t as s, L as r, P as n } from "./ansible-chatbot-rWVelQMf.js";
3
3
  import "@patternfly/react-core";
4
4
  import "react";
@@ -0,0 +1 @@
1
+ export {};
@@ -3067,7 +3067,7 @@ const b4 = Xt({
3067
3067
  chatbotState: "disabled",
3068
3068
  setChatbotState: () => {
3069
3069
  }
3070
- }), _4 = () => pt(b4), S4 = Bk(() => import("./ChatbotPortal-BXebe1l6.js")), w4 = () => /* @__PURE__ */ p.jsx(Vk, { fallback: /* @__PURE__ */ p.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ p.jsx(S4, {}) }), C4 = Bk(() => import("./ChatbotSideBarHeader-3eM4bd_f.js")), O4 = () => {
3070
+ }), _4 = () => pt(b4), S4 = Bk(() => import("./ChatbotPortal-DxJ--qcL.js")), w4 = () => /* @__PURE__ */ p.jsx(Vk, { fallback: /* @__PURE__ */ p.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ p.jsx(S4, {}) }), C4 = Bk(() => import("./ChatbotSideBarHeader-BMOJHacS.js")), O4 = () => {
3071
3071
  const { t: e } = Pe();
3072
3072
  return /* @__PURE__ */ p.jsx(Vk, { fallback: /* @__PURE__ */ p.jsx("span", { children: e("Loading...") }), children: /* @__PURE__ */ p.jsx(C4, {}) });
3073
3073
  }, k4 = ke(WM)`
@@ -36408,7 +36408,7 @@ function iae(e) {
36408
36408
  oT,
36409
36409
  {
36410
36410
  onKeyDown: (v) => {
36411
- v.key === "Enter" && e.disableSubmitOnEnter && v.preventDefault();
36411
+ v.key === "Enter" && e.disableSubmitOnEnter && !(v.target instanceof HTMLTextAreaElement) && v.preventDefault();
36412
36412
  },
36413
36413
  onSubmit: i(async (v) => {
36414
36414
  o(null);
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as s, B as o, A as t, C as r, aW as l, aY as i, aV as n, aX as g, aZ as b, aU as u, aQ as P, D as d, af as m, ae as C, E as c, bo as T, bm as D, F as p, G as S, bs as h, ab as F, H as v, k as B, I as f, L as I, a2 as A, P as y, r as N, q as x, s as k, t as w, w as E, y as O, z as L, J as M, M as V, N as R, Q as W, O as j, K as G, U as z, X as U, V as H, Y as q, aP as Q, Z as J, _ as K, a4 as X, W as Y, an as Z, aq as _, ac as $, ad as aa, ao as ea, ai as sa, ap as oa, aj as ta, ak as ra, al as la, ar as ia, as as na, at as ga, au as ba, av as ua, aF as Pa, aH as da, ay as ma, a9 as Ca, aa as ca, aw as Ta, aL as Da, aM as pa, bg as Sa, aN as ha, aR as Fa, aT as va, bf as Ba, ax as fa, bh as Ia, bj as Aa, br as ya, R as Na, S as xa, a8 as ka, aO as wa, a_ as Ea, T as Oa, bn as La, bi as Ma, bq as Va, bp as Ra, aC as Wa, aD as ja, aE as Ga, bz as za, by as Ua, bx as Ha, bw as qa, x as Qa, bB as Ja, aA as Ka, g as Xa, bk as Ya, ah as Za, bA as _a, a as $a, e as ae, c as ee, f as se, p as oe, i as te, h as re, b as le, az as ie, aB as ne, bl as ge, n as be, a0 as ue, a1 as Pe, aS as de, b8 as me, b7 as Ce, b3 as ce, b5 as Te, b6 as De, bd as pe, am as Se, bt as he, aJ as Fe, bu as ve, a3 as Be, o as fe, v as Ie, a6 as Ae, a5 as ye, aI as Ne, aG as xe, aK as ke, u as we, be as Ee, l as Oe, a7 as Le, ba as Me, bb as Ve, bc as Re, b9 as We, bv as je, b1 as Ge, b4 as ze, b0 as Ue, b2 as He, a$ as qe, m as Qe, ag as Je } from "./index-DuvH_Awk.js";
1
+ import { $ as s, B as o, A as t, C as r, aW as l, aY as i, aV as n, aX as g, aZ as b, aU as u, aQ as P, D as d, af as m, ae as C, E as c, bo as T, bm as D, F as p, G as S, bs as h, ab as F, H as v, k as B, I as f, L as I, a2 as A, P as y, r as N, q as x, s as k, t as w, w as E, y as O, z as L, J as M, M as V, N as R, Q as W, O as j, K as G, U as z, X as U, V as H, Y as q, aP as Q, Z as J, _ as K, a4 as X, W as Y, an as Z, aq as _, ac as $, ad as aa, ao as ea, ai as sa, ap as oa, aj as ta, ak as ra, al as la, ar as ia, as as na, at as ga, au as ba, av as ua, aF as Pa, aH as da, ay as ma, a9 as Ca, aa as ca, aw as Ta, aL as Da, aM as pa, bg as Sa, aN as ha, aR as Fa, aT as va, bf as Ba, ax as fa, bh as Ia, bj as Aa, br as ya, R as Na, S as xa, a8 as ka, aO as wa, a_ as Ea, T as Oa, bn as La, bi as Ma, bq as Va, bp as Ra, aC as Wa, aD as ja, aE as Ga, bz as za, by as Ua, bx as Ha, bw as qa, x as Qa, bB as Ja, aA as Ka, g as Xa, bk as Ya, ah as Za, bA as _a, a as $a, e as ae, c as ee, f as se, p as oe, i as te, h as re, b as le, az as ie, aB as ne, bl as ge, n as be, a0 as ue, a1 as Pe, aS as de, b8 as me, b7 as Ce, b3 as ce, b5 as Te, b6 as De, bd as pe, am as Se, bt as he, aJ as Fe, bu as ve, a3 as Be, o as fe, v as Ie, a6 as Ae, a5 as ye, aI as Ne, aG as xe, aK as ke, u as we, be as Ee, l as Oe, a7 as Le, ba as Me, bb as Ve, bc as Re, b9 as We, bv as je, b1 as Ge, b4 as ze, b0 as Ue, b2 as He, a$ as qe, m as Qe, ag as Je } from "./index-C6NqotJr.js";
2
2
  export {
3
3
  s as BulkActionDialog,
4
4
  o as BulkSelector,
package/index.umd.cjs CHANGED
@@ -482,7 +482,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[aS]+=1);const oS=cn.button`
482
482
  `,fWe=cn(X.ModalFooter)`
483
483
  padding-inline-start: 0;
484
484
  padding-block-end: 0;
485
- `;function cF(e,t,n=!1){const r=Aie({defaultValues:e??{}}),{handleSubmit:a,setError:o}=r,[i,l]=S.useState(null);return{form:r,handleSubmit:a,error:i,setError:l,handleSubmitError:f=>{const{genericErrors:p,fieldErrors:u}=t(f);if(p.length>0){const m=p.map(g=>g.message);l(m),n&&o("root",{message:m.join(" ")})}else l(null);u.length>0&&u.forEach(m=>{o(m.name,{message:typeof m.message=="string"?m.message:void 0})})},setFieldError:o}}function Lie(e){const{errorAdapter:t=__,isWizard:n=!1}=e,{form:r,handleSubmit:a,error:o,setError:i,handleSubmitError:l,setFieldError:c}=cF(e.defaultValue,t,n),[f]=S.useContext(zm),[p]=ua(),u=pl("md"),m=e.isVertical?!1:f.formLayout==="horizontal",g=e.singleColumn?!1:f.formColumns==="multiple";let x=e.children;e.disableGrid!==!0&&(x=O.jsx(Die,{isVertical:e.isVertical,singleColumn:e.singleColumn,children:e.children}));const y=Uoe(),w=y?fWe:X.PageSection,C=y?{hasBodyWrapper:!1,isFilled:!1}:{};return O.jsx(die,{...r,children:O.jsxs(X.Form,{onKeyDown:E=>{E.key==="Enter"&&e.disableSubmitOnEnter&&E.preventDefault()},onSubmit:a(async E=>{i(null);try{await e.onSubmit(E,j=>i(j),c)}catch(j){l(j)}}),isHorizontal:m,autoComplete:e.autoComplete,style:{display:"flex",flexDirection:"column",flexGrow:1,height:"100%",maxHeight:"100%",overflow:"hidden",gap:0},children:[o&&O.jsx(Bie,{error:o,isMd:u,onCancel:e.onCancel}),O.jsx(Lf,{children:O.jsx(sWe,{isFilled:!0,isWidthLimited:!0,padding:{default:e.disablePadding?"noPadding":"padding"},style:{maxWidth:g?void 0:880},children:x})}),e.footer?e.footer:O.jsx(w,{...C,children:O.jsxs(cWe,{children:[O.jsx(sF,{children:e.submitText}),e.additionalActions,e.onCancel&&O.jsx(Mie,{onCancel:e.onCancel,children:e.cancelText??p.cancelText})]})})]})})}function Die(e){const[t]=S.useContext(zm),n=e.isVertical?!1:t.formLayout==="horizontal",r=e.singleColumn?!1:t.formColumns==="multiple",a=12,o=r?n?12:6:12,i=r?6:12,l=r?6:12,c=r?4:12;return O.jsx(X.Grid,{hasGutter:!0,span:12,sm:a,md:o,lg:i,xl:l,xl2:c,className:e.className,children:e.children})}function dWe(e){const{errorAdapter:t=__}=e,{form:n,handleSubmit:r,error:a,setError:o,handleSubmitError:i,setFieldError:l}=cF(e.defaultValue,t),[c]=S.useContext(zm),f=pl("md"),p=e.isVertical?!1:c.formLayout==="horizontal";return O.jsx(die,{...n,children:O.jsxs(X.Form,{onSubmit:r(async u=>{o(null);try{await e.onSubmit(u,m=>o(m),l)}catch(m){i(m)}}),isHorizontal:p,autoComplete:e.autoComplete,children:[a&&O.jsx(Bie,{error:a,isMd:f,onCancel:e.onCancel}),e.children]})})}const yn=e=>typeof e=="string",I_=()=>{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},Fie=e=>e==null?"":""+e,pWe=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},uWe=/###/g,Nie=e=>e&&e.indexOf("###")>-1?e.replace(uWe,"."):e,zie=e=>!e||yn(e),j_=(e,t,n)=>{const r=yn(t)?t.split("."):t;let a=0;for(;a<r.length-1;){if(zie(e))return{};const o=Nie(r[a]);!e[o]&&n&&(e[o]=new n),Object.prototype.hasOwnProperty.call(e,o)?e=e[o]:e={},++a}return zie(e)?{}:{obj:e,k:Nie(r[a])}},Rie=(e,t,n)=>{const{obj:r,k:a}=j_(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let o=t[t.length-1],i=t.slice(0,t.length-1),l=j_(e,i,Object);for(;l.obj===void 0&&i.length;)o=`${i[i.length-1]}.${o}`,i=i.slice(0,i.length-1),l=j_(e,i,Object),l!=null&&l.obj&&typeof l.obj[`${l.k}.${o}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${o}`]=n},vWe=(e,t,n,r)=>{const{obj:a,k:o}=j_(e,t,Object);a[o]=a[o]||[],a[o].push(n)},R5=(e,t)=>{const{obj:n,k:r}=j_(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},mWe=(e,t,n)=>{const r=R5(e,n);return r!==void 0?r:R5(t,n)},Wie=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?yn(e[r])||e[r]instanceof String||yn(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Wie(e[r],t[r],n):e[r]=t[r]);return e},u0=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var gWe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const hWe=e=>yn(e)?e.replace(/[&<>"'\/]/g,t=>gWe[t]):e;class bWe{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const xWe=[" ",",","?","!",";"],yWe=new bWe(20),_We=(e,t,n)=>{t=t||"",n=n||"";const r=xWe.filter(i=>t.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const a=yWe.getRegExp(`(${r.map(i=>i==="?"?"\\?":i).join("|")})`);let o=!a.test(e);if(!o){const i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(o=!0)}return o},fF=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const r=t.split(n);let a=e;for(let o=0;o<r.length;){if(!a||typeof a!="object")return;let i,l="";for(let c=o;c<r.length;++c)if(c!==o&&(l+=n),l+=r[c],i=a[l],i!==void 0){if(["string","number","boolean"].indexOf(typeof i)>-1&&c<r.length-1)continue;o+=c-o+1;break}a=i}return a},W5=e=>e==null?void 0:e.replace("_","-"),wWe={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){var n,r;(r=(n=console==null?void 0:console[e])==null?void 0:n.apply)==null||r.call(n,console,t)}};class q5{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||wWe,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,a){return a&&!this.debug?null:(yn(t[0])&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new q5(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new q5(this.logger,t)}}var Xf=new q5;class H5{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const a=this.observers[r].get(n)||0;this.observers[r].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(i=>{let[l,c]=i;for(let f=0;f<c;f++)l(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(i=>{let[l,c]=i;for(let f=0;f<c;f++)l.apply(l,[t,...r])})}}class qie extends H5{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){var f,p;let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,i=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,n],r&&(Array.isArray(r)?l.push(...r):yn(r)&&o?l.push(...r.split(o)):l.push(r)));const c=R5(this.data,l);return!c&&!n&&!r&&t.indexOf(".")>-1&&(t=l[0],n=l[1],r=l.slice(2).join(".")),c||!i||!yn(r)?c:fF((p=(f=this.data)==null?void 0:f[t])==null?void 0:p[n],r,o)}addResource(t,n,r,a){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const i=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let l=[t,n];r&&(l=l.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(l=t.split("."),a=n,n=l[1]),this.addNamespaces(n),Rie(this.data,l,a),o.silent||this.emit("added",t,n,r,a)}addResources(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in r)(yn(r[o])||Array.isArray(r[o]))&&this.addResource(t,n,o,r[o],{silent:!0});a.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,a,o){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,n];t.indexOf(".")>-1&&(l=t.split("."),a=r,r=n,n=l[1]),this.addNamespaces(n);let c=R5(this.data,l)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?Wie(c,r,o):c={...c,...r},Rie(this.data,l,c),i.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var Hie={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(o=>{var i;t=((i=this.processors[o])==null?void 0:i.process(t,n,r,a))??t}),t}};const Uie={},Vie=e=>!yn(e)&&typeof e!="boolean"&&typeof e!="number";class U5 extends H5{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),pWe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Xf.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return(r==null?void 0:r.res)!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let o=n.ns||this.options.defaultNS||[];const i=r&&t.indexOf(r)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!_We(t,r,a);if(i&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:yn(o)?[o]:o};const f=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(f[0])>-1)&&(o=f.shift()),t=f.join(a)}return{key:t,namespaces:yn(o)?[o]:o}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:i,namespaces:l}=this.extractFromKey(t[t.length-1],n),c=l[l.length-1],f=n.lng||this.language,p=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((f==null?void 0:f.toLowerCase())==="cimode"){if(p){const D=n.nsSeparator||this.options.nsSeparator;return a?{res:`${c}${D}${i}`,usedKey:i,exactUsedKey:i,usedLng:f,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${D}${i}`}return a?{res:i,usedKey:i,exactUsedKey:i,usedLng:f,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:i}const u=this.resolve(t,n);let m=u==null?void 0:u.res;const g=(u==null?void 0:u.usedKey)||i,x=(u==null?void 0:u.exactUsedKey)||i,y=["[object Number]","[object Function]","[object RegExp]"],w=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,C=!this.i18nFormat||this.i18nFormat.handleAsObject,E=n.count!==void 0&&!yn(n.count),j=U5.hasDefaultValue(n),A=E?this.pluralResolver.getSuffix(f,n.count,n):"",B=n.ordinal&&E?this.pluralResolver.getSuffix(f,n.count,{ordinal:!1}):"",L=E&&!n.ordinal&&n.count===0,F=L&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${A}`]||n[`defaultValue${B}`]||n.defaultValue;let z=m;C&&!m&&j&&(z=F);const Y=Vie(z),H=Object.prototype.toString.apply(z);if(C&&z&&Y&&y.indexOf(H)<0&&!(yn(w)&&Array.isArray(z))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const D=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,z,{...n,ns:l}):`key '${i} (${this.language})' returned an object instead of string.`;return a?(u.res=D,u.usedParams=this.getUsedParamsDetails(n),u):D}if(o){const D=Array.isArray(z),R=D?[]:{},U=D?x:g;for(const G in z)if(Object.prototype.hasOwnProperty.call(z,G)){const Z=`${U}${o}${G}`;j&&!m?R[G]=this.translate(Z,{...n,defaultValue:Vie(F)?F[G]:void 0,joinArrays:!1,ns:l}):R[G]=this.translate(Z,{...n,joinArrays:!1,ns:l}),R[G]===Z&&(R[G]=z[G])}m=R}}else if(C&&yn(w)&&Array.isArray(m))m=m.join(w),m&&(m=this.extendTranslation(m,t,n,r));else{let D=!1,R=!1;!this.isValidLookup(m)&&j&&(D=!0,m=F),this.isValidLookup(m)||(R=!0,m=i);const G=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&R?void 0:m,Z=j&&F!==m&&this.options.updateMissing;if(R||D||Z){if(this.logger.log(Z?"updateKey":"missingKey",f,c,i,Z?F:m),o){const te=this.resolve(i,{...n,keySeparator:!1});te&&te.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let ne=[];const oe=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&oe&&oe[0])for(let te=0;te<oe.length;te++)ne.push(oe[te]);else this.options.saveMissingTo==="all"?ne=this.languageUtils.toResolveHierarchy(n.lng||this.language):ne.push(n.lng||this.language);const ee=(te,q,ae)=>{var J;const pe=j&&ae!==m?ae:G;this.options.missingKeyHandler?this.options.missingKeyHandler(te,c,q,pe,Z,n):(J=this.backendConnector)!=null&&J.saveMissing&&this.backendConnector.saveMissing(te,c,q,pe,Z,n),this.emit("missingKey",te,c,q,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&E?ne.forEach(te=>{const q=this.pluralResolver.getSuffixes(te,n);L&&n[`defaultValue${this.options.pluralSeparator}zero`]&&q.indexOf(`${this.options.pluralSeparator}zero`)<0&&q.push(`${this.options.pluralSeparator}zero`),q.forEach(ae=>{ee([te],i+ae,n[`defaultValue${ae}`]||F)})}):ee(ne,i,F))}m=this.extendTranslation(m,t,n,u,r),R&&m===i&&this.options.appendNamespaceToMissingKey&&(m=`${c}:${i}`),(R||D)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${i}`:i,D?m:void 0))}return a?(u.res=m,u.usedParams=this.getUsedParamsDetails(n),u):m}extendTranslation(t,n,r,a,o){var f,p;var i=this;if((f=this.i18nFormat)!=null&&f.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const u=yn(t)&&(((p=r==null?void 0:r.interpolation)==null?void 0:p.skipOnVariables)!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let m;if(u){const x=t.match(this.interpolator.nestingRegexp);m=x&&x.length}let g=r.replace&&!yn(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(g={...this.options.interpolation.defaultVariables,...g}),t=this.interpolator.interpolate(t,g,r.lng||this.language||a.usedLng,r),u){const x=t.match(this.interpolator.nestingRegexp),y=x&&x.length;m<y&&(r.nest=!1)}!r.lng&&a&&a.res&&(r.lng=this.language||a.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var x=arguments.length,y=new Array(x),w=0;w<x;w++)y[w]=arguments[w];return(o==null?void 0:o[0])===y[0]&&!r.context?(i.logger.warn(`It seems you are nesting recursively key: ${y[0]} in key: ${n[0]}`),null):i.translate(...y,n)},r)),r.interpolation&&this.interpolator.reset()}const l=r.postProcess||this.options.postProcess,c=yn(l)?[l]:l;return t!=null&&(c!=null&&c.length)&&r.applyPostProcessor!==!1&&(t=Hie.handle(c,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,a,o,i,l;return yn(t)&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(r))return;const f=this.extractFromKey(c,n),p=f.key;a=p;let u=f.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));const m=n.count!==void 0&&!yn(n.count),g=m&&!n.ordinal&&n.count===0,x=n.context!==void 0&&(yn(n.context)||typeof n.context=="number")&&n.context!=="",y=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);u.forEach(w=>{var C,E;this.isValidLookup(r)||(l=w,!Uie[`${y[0]}-${w}`]&&((C=this.utils)!=null&&C.hasLoadedNamespace)&&!((E=this.utils)!=null&&E.hasLoadedNamespace(l))&&(Uie[`${y[0]}-${w}`]=!0,this.logger.warn(`key "${a}" for languages "${y.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),y.forEach(j=>{var L;if(this.isValidLookup(r))return;i=j;const A=[p];if((L=this.i18nFormat)!=null&&L.addLookupKeys)this.i18nFormat.addLookupKeys(A,p,j,w,n);else{let F;m&&(F=this.pluralResolver.getSuffix(j,n.count,n));const z=`${this.options.pluralSeparator}zero`,Y=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(m&&(A.push(p+F),n.ordinal&&F.indexOf(Y)===0&&A.push(p+F.replace(Y,this.options.pluralSeparator)),g&&A.push(p+z)),x){const H=`${p}${this.options.contextSeparator}${n.context}`;A.push(H),m&&(A.push(H+F),n.ordinal&&F.indexOf(Y)===0&&A.push(H+F.replace(Y,this.options.pluralSeparator)),g&&A.push(H+z))}}let B;for(;B=A.pop();)this.isValidLookup(r)||(o=B,r=this.getResource(j,w,B,n))}))})}),{res:r,usedKey:a,exactUsedKey:o,usedLng:i,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){var o;let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(o=this.i18nFormat)!=null&&o.getResource?this.i18nFormat.getResource(t,n,r,a):this.resourceStore.getResource(t,n,r,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!yn(t.replace);let a=r?t.replace:t;if(r&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!r){a={...a};for(const o of n)delete a[o]}return a}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}class Gie{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Xf.create("languageUtils")}getScriptPartFromCode(t){if(t=W5(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=W5(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(yn(t)&&t.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(t)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const a=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(o=>{if(o===a)return o;if(!(o.indexOf("-")<0&&a.indexOf("-")<0)&&(o.indexOf("-")>0&&a.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===a||o.indexOf(a)===0&&a.length>1))return o})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),yn(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),a=[],o=i=>{i&&(this.isSupportedCode(i)?a.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return yn(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):yn(t)&&o(this.formatLanguageCode(t)),r.forEach(i=>{a.indexOf(i)<0&&o(this.formatLanguageCode(i))}),a}}const Yie={zero:0,one:1,two:2,few:3,many:4,other:5},Xie={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class kWe{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=Xf.create("pluralResolver"),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=W5(t==="dev"?"en":t),a=n.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:a});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let i;try{i=new Intl.PluralRules(r,{type:a})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Xie;if(!t.match(/-|_/))return Xie;const c=this.languageUtils.getLanguagePartFromCode(t);i=this.getRule(c,n)}return this.pluralRulesCache[o]=i,i}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),(r==null?void 0:r.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(a=>`${n}${a}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?r.resolvedOptions().pluralCategories.sort((a,o)=>Yie[a]-Yie[o]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",n,r))}}const Kie=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=mWe(e,t,n);return!o&&a&&yn(n)&&(o=fF(e,n,r),o===void 0&&(o=fF(t,n,r))),o},dF=e=>e.replace(/\$/g,"$$$$");class SWe{constructor(){var n;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Xf.create("interpolator"),this.options=t,this.format=((n=t==null?void 0:t.interpolation)==null?void 0:n.format)||(r=>r),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:a,prefix:o,prefixEscaped:i,suffix:l,suffixEscaped:c,formatSeparator:f,unescapeSuffix:p,unescapePrefix:u,nestingPrefix:m,nestingPrefixEscaped:g,nestingSuffix:x,nestingSuffixEscaped:y,nestingOptionsSeparator:w,maxReplaces:C,alwaysFormat:E}=t.interpolation;this.escape=n!==void 0?n:hWe,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=o?u0(o):i||"{{",this.suffix=l?u0(l):c||"}}",this.formatSeparator=f||",",this.unescapePrefix=p?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=m?u0(m):g||u0("$t("),this.nestingSuffix=x?u0(x):y||u0(")"),this.nestingOptionsSeparator=w||",",this.maxReplaces=C||1e3,this.alwaysFormat=E!==void 0?E:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>(n==null?void 0:n.source)===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,a){var g;let o,i,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},f=x=>{if(x.indexOf(this.formatSeparator)<0){const E=Kie(n,c,x,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(E,void 0,r,{...a,...n,interpolationkey:x}):E}const y=x.split(this.formatSeparator),w=y.shift().trim(),C=y.join(this.formatSeparator).trim();return this.format(Kie(n,c,w,this.options.keySeparator,this.options.ignoreJSONStructure),C,r,{...a,...n,interpolationkey:w})};this.resetRegExp();const p=(a==null?void 0:a.missingInterpolationHandler)||this.options.missingInterpolationHandler,u=((g=a==null?void 0:a.interpolation)==null?void 0:g.skipOnVariables)!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:x=>dF(x)},{regex:this.regexp,safeValue:x=>this.escapeValue?dF(this.escape(x)):dF(x)}].forEach(x=>{for(l=0;o=x.regex.exec(t);){const y=o[1].trim();if(i=f(y),i===void 0)if(typeof p=="function"){const C=p(t,o,a);i=yn(C)?C:""}else if(a&&Object.prototype.hasOwnProperty.call(a,y))i="";else if(u){i=o[0];continue}else this.logger.warn(`missed to pass in variable ${y} for interpolating ${t}`),i="";else!yn(i)&&!this.useRawValueToEscape&&(i=Fie(i));const w=x.safeValue(i);if(t=t.replace(o[0],w),u?(x.regex.lastIndex+=i.length,x.regex.lastIndex-=o[0].length):x.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,o,i;const l=(c,f)=>{const p=this.nestingOptionsSeparator;if(c.indexOf(p)<0)return c;const u=c.split(new RegExp(`${p}[ ]*{`));let m=`{${u[1]}`;c=u[0],m=this.interpolate(m,i);const g=m.match(/'/g),x=m.match(/"/g);(((g==null?void 0:g.length)??0)%2===0&&!x||x.length%2!==0)&&(m=m.replace(/'/g,'"'));try{i=JSON.parse(m),f&&(i={...f,...i})}catch(y){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,y),`${c}${p}${m}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,c};for(;a=this.nestingRegexp.exec(t);){let c=[];i={...r},i=i.replace&&!yn(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let f=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const p=a[1].split(this.formatSeparator).map(u=>u.trim());a[1]=p.shift(),c=p,f=!0}if(o=n(l.call(this,a[1].trim(),i),i),o&&a[0]===t&&!yn(o))return o;yn(o)||(o=Fie(o)),o||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),o=""),f&&(o=c.reduce((p,u)=>this.format(p,u,r.lng,{...r,interpolationkey:a[1].trim()}),o.trim())),t=t.replace(a[0],o),this.regexp.lastIndex=0}return t}}const CWe=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(i=>{if(i){const[l,...c]=i.split(":"),f=c.join(":").trim().replace(/^'+|'+$/g,""),p=l.trim();n[p]||(n[p]=f),f==="false"&&(n[p]=!1),f==="true"&&(n[p]=!0),isNaN(f)||(n[p]=parseInt(f,10))}})}return{formatName:t,formatOptions:n}},v0=e=>{const t={};return(n,r,a)=>{let o=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(o={...o,[a.interpolationkey]:void 0});const i=r+JSON.stringify(o);let l=t[i];return l||(l=e(W5(r),a),t[i]=l),l(n)}};class EWe{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Xf.create("formatter"),this.options=t,this.formats={number:v0((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return o=>a.format(o)}),currency:v0((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>a.format(o)}),datetime:v0((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return o=>a.format(o)}),relativetime:v0((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return o=>a.format(o,r.range||"day")}),list:v0((n,r)=>{const a=new Intl.ListFormat(n,{...r});return o=>a.format(o)})},this.init(t)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=v0(n)}format(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=n.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(l=>l.indexOf(")")>-1)){const l=o.findIndex(c=>c.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,l)].join(this.formatSeparator)}return o.reduce((l,c)=>{var u;const{formatName:f,formatOptions:p}=CWe(c);if(this.formats[f]){let m=l;try{const g=((u=a==null?void 0:a.formatParams)==null?void 0:u[a.interpolationkey])||{},x=g.locale||g.lng||a.locale||a.lng||r;m=this.formats[f](l,x,{...p,...a,...g})}catch(g){this.logger.warn(g)}return m}else this.logger.warn(`there was no format function for ${f}`);return l},t)}}const PWe=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class OWe extends H5{constructor(t,n,r){var o,i;let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=a,this.logger=Xf.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],(i=(o=this.backend)==null?void 0:o.init)==null||i.call(o,r,a.backend,a)}queueLoad(t,n,r,a){const o={},i={},l={},c={};return t.forEach(f=>{let p=!0;n.forEach(u=>{const m=`${f}|${u}`;!r.reload&&this.store.hasResourceBundle(f,u)?this.state[m]=2:this.state[m]<0||(this.state[m]===1?i[m]===void 0&&(i[m]=!0):(this.state[m]=1,p=!1,i[m]===void 0&&(i[m]=!0),o[m]===void 0&&(o[m]=!0),c[u]===void 0&&(c[u]=!0)))}),p||(l[f]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,n,r){const a=t.split("|"),o=a[0],i=a[1];n&&this.emit("failedLoading",o,i,n),!n&&r&&this.store.addResourceBundle(o,i,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const l={};this.queue.forEach(c=>{vWe(c.loaded,[o],i),PWe(c,t),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(f=>{l[f]||(l[f]={});const p=c.loaded[f];p.length&&p.forEach(u=>{l[f][u]===void 0&&(l[f][u]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:a,wait:o,callback:i});return}this.readingCalls++;const l=(f,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const u=this.waitingReads.shift();this.read(u.lng,u.ns,u.fcName,u.tried,u.wait,u.callback)}if(f&&p&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,a+1,o*2,i)},o);return}i(f,p)},c=this.backend[r].bind(this.backend);if(c.length===2){try{const f=c(t,n);f&&typeof f.then=="function"?f.then(p=>l(null,p)).catch(l):l(null,f)}catch(f){l(f)}return}return c(t,n,l)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();yn(t)&&(t=this.languageUtils.toResolveHierarchy(t)),yn(n)&&(n=[n]);const o=this.queueLoad(t,n,r,a);if(!o.toLoad.length)return o.pending.length||a(),null;o.toLoad.forEach(i=>{this.loadOne(i)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),a=r[0],o=r[1];this.read(a,o,"read",void 0,void 0,(i,l)=>{i&&this.logger.warn(`${n}loading namespace ${o} for language ${a} failed`,i),!i&&l&&this.logger.log(`${n}loaded namespace ${o} for language ${a}`,l),this.loaded(t,i,l)})}saveMissing(t,n,r,a,o){var c,f,p,u,m;let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if((f=(c=this.services)==null?void 0:c.utils)!=null&&f.hasLoadedNamespace&&!((u=(p=this.services)==null?void 0:p.utils)!=null&&u.hasLoadedNamespace(n))){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if((m=this.backend)!=null&&m.create){const g={...i,isUpdate:o},x=this.backend.create.bind(this.backend);if(x.length<6)try{let y;x.length===5?y=x(t,n,r,a,g):y=x(t,n,r,a),y&&typeof y.then=="function"?y.then(w=>l(null,w)).catch(l):l(null,y)}catch(y){l(y)}else x(t,n,r,a,l,g)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const Zie=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),yn(e[1])&&(t.defaultValue=e[1]),yn(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Jie=e=>{var t,n;return yn(e.ns)&&(e.ns=[e.ns]),yn(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),yn(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),((n=(t=e.supportedLngs)==null?void 0:t.indexOf)==null?void 0:n.call(t,"cimode"))<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e},V5=()=>{},TWe=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class A_ extends H5{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Jie(t),this.services={},this.logger=Xf,this.modules={external:[]},TWe(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),n.defaultNS==null&&n.ns&&(yn(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=Zie();this.options={...a,...this.options,...Jie(n)},this.options.interpolation={...a.interpolation,...this.options.interpolation},n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const o=p=>p?typeof p=="function"?new p:p:null;if(!this.options.isClone){this.modules.logger?Xf.init(o(this.modules.logger),this.options):Xf.init(null,this.options);let p;this.modules.formatter?p=this.modules.formatter:p=EWe;const u=new Gie(this.options);this.store=new qie(this.options.resources,this.options);const m=this.services;m.logger=Xf,m.resourceStore=this.store,m.languageUtils=u,m.pluralResolver=new kWe(u,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),p&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(m.formatter=o(p),m.formatter.init(m,this.options),this.options.interpolation.format=m.formatter.format.bind(m.formatter)),m.interpolator=new SWe(this.options),m.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},m.backendConnector=new OWe(o(this.modules.backend),m.resourceStore,m,this.options),m.backendConnector.on("*",function(g){for(var x=arguments.length,y=new Array(x>1?x-1:0),w=1;w<x;w++)y[w-1]=arguments[w];t.emit(g,...y)}),this.modules.languageDetector&&(m.languageDetector=o(this.modules.languageDetector),m.languageDetector.init&&m.languageDetector.init(m,this.options.detection,this.options)),this.modules.i18nFormat&&(m.i18nFormat=o(this.modules.i18nFormat),m.i18nFormat.init&&m.i18nFormat.init(this)),this.translator=new U5(this.services,this.options),this.translator.on("*",function(g){for(var x=arguments.length,y=new Array(x>1?x-1:0),w=1;w<x;w++)y[w-1]=arguments[w];t.emit(g,...y)}),this.modules.external.forEach(g=>{g.init&&g.init(this)})}if(this.format=this.options.interpolation.format,r||(r=V5),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const p=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);p.length>0&&p[0]!=="dev"&&(this.options.lng=p[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(p=>{this[p]=function(){return t.store[p](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(p=>{this[p]=function(){return t.store[p](...arguments),t}});const c=I_(),f=()=>{const p=(u,m)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(m),r(u,m)};if(this.languages&&!this.isInitialized)return p(null,this.t.bind(this));this.changeLanguage(this.options.lng,p)};return this.options.resources||!this.options.initAsync?f():setTimeout(f,0),c}loadResources(t){var o,i;let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V5;const a=yn(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if((a==null?void 0:a.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const l=[],c=f=>{if(!f||f==="cimode")return;this.services.languageUtils.toResolveHierarchy(f).forEach(u=>{u!=="cimode"&&l.indexOf(u)<0&&l.push(u)})};a?c(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(p=>c(p)),(i=(o=this.options.preload)==null?void 0:o.forEach)==null||i.call(o,f=>c(f)),this.services.backendConnector.load(l,this.options.ns,f=>{!f&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(f)})}else r(null)}reloadResources(t,n,r){const a=I_();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=V5),this.services.backendConnector.reload(t,n,o=>{a.resolve(),r(o)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&Hie.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const a=I_();this.emit("languageChanging",t);const o=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},i=(c,f)=>{f?(o(f),this.translator.changeLanguage(f),this.isLanguageChangingTo=void 0,this.emit("languageChanged",f),this.logger.log("languageChanged",f)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(c,function(){return r.t(...arguments)})},l=c=>{var p,u;!t&&!c&&this.services.languageDetector&&(c=[]);const f=yn(c)?c:this.services.languageUtils.getBestMatchFromCodes(c);f&&(this.language||o(f),this.translator.language||this.translator.changeLanguage(f),(u=(p=this.services.languageDetector)==null?void 0:p.cacheUserLanguage)==null||u.call(p,f)),this.loadResources(f,m=>{i(m,f)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),a}getFixedT(t,n,r){var a=this;const o=function(i,l){let c;if(typeof l!="object"){for(var f=arguments.length,p=new Array(f>2?f-2:0),u=2;u<f;u++)p[u-2]=arguments[u];c=a.options.overloadTranslationOptionHandler([i,l].concat(p))}else c={...l};c.lng=c.lng||o.lng,c.lngs=c.lngs||o.lngs,c.ns=c.ns||o.ns,c.keyPrefix!==""&&(c.keyPrefix=c.keyPrefix||r||o.keyPrefix);const m=a.options.keySeparator||".";let g;return c.keyPrefix&&Array.isArray(i)?g=i.map(x=>`${c.keyPrefix}${m}${x}`):g=c.keyPrefix?`${c.keyPrefix}${m}${i}`:i,a.t(g,c)};return yn(t)?o.lng=t:o.lngs=t,o.ns=n,o.keyPrefix=r,o}t(){var a;for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(a=this.translator)==null?void 0:a.translate(...n)}exists(){var a;for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(a=this.translator)==null?void 0:a.exists(...n)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const i=(l,c)=>{const f=this.services.backendConnector.state[`${l}|${c}`];return f===-1||f===0||f===2};if(n.precheck){const l=n.precheck(this,i);if(l!==void 0)return l}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,t)&&(!a||i(o,t)))}loadNamespaces(t,n){const r=I_();return this.options.ns?(yn(t)&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=I_();yn(t)&&(t=[t]);const a=this.options.preload||[],o=t.filter(i=>a.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return o.length?(this.options.preload=a.concat(o),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}dir(t){var a,o;if(t||(t=this.resolvedLanguage||(((a=this.languages)==null?void 0:a.length)>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=((o=this.services)==null?void 0:o.languageUtils)||new Gie(Zie());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new A_(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V5;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},o=new A_(a);if((t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(l=>{o[l]=this[l]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r){const l=Object.keys(this.store.data).reduce((c,f)=>(c[f]={...this.store.data[f]},Object.keys(c[f]).reduce((p,u)=>(p[u]={...c[f][u]},p),{})),{});o.store=new qie(l,a),o.services.resourceStore=o.store}return o.translator=new U5(o.services,a),o.translator.on("*",function(l){for(var c=arguments.length,f=new Array(c>1?c-1:0),p=1;p<c;p++)f[p-1]=arguments[p];o.emit(l,...f)}),o.init(a,n),o.translator.options=a,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Xi=A_.createInstance();Xi.createInstance=A_.createInstance,Xi.createInstance,Xi.dir,Xi.init,Xi.loadResources,Xi.reloadResources,Xi.use,Xi.changeLanguage,Xi.getFixedT;const B_=Xi.t;Xi.exists,Xi.setDefaultNamespace,Xi.hasLoadedNamespace,Xi.loadNamespaces,Xi.loadLanguages;function Kf(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""}function M_(e,t){return typeof e=="string"&&t===!0?{value:!0,message:B_("{{label}} is required.",{label:IWe(Kf(e.toLocaleLowerCase()))})}:void 0}function IWe(e){const t=["Red Hat"];for(const n of t)e=e.replace(Kf(n.toLocaleLowerCase()),n);return e}function jWe(e){const{name:t,readOnly:n,validate:r}=e,{control:a,setValue:o,formState:{isSubmitting:i}}=Vf(),{t:l}=Cn(),c=M_(e.label,e.isRequired);return O.jsx(d0,{name:t,control:a,defaultValue:e.defaultValue,shouldUnregister:!0,render:({field:{onChange:f,value:p},fieldState:{error:u}})=>{const m=u==null?void 0:u.message;return O.jsx(O.Fragment,{children:O.jsx(X.Checkbox,{name:t,id:e.id??t.split(".").join("-"),"data-cy":e.id??t.split(".").join("-"),"data-testid":e.id??t.split(".").join("-"),"aria-label":e.label,className:e.className,label:O.jsxs("div",{style:{display:"inline-flex"},children:[O.jsxs("div",{children:[e.label,e.labelHelp&&O.jsx(uy,{title:e.labelHelpTitle,help:e.labelHelp})]}),O.jsx("div",{style:{marginTop:-6,marginBottom:-6},children:O.jsx(Df,{actions:[{label:l("Reset to default"),type:gr.Button,selection:Jn.None,onClick:()=>{o(t,e.defaultValue)},isHidden:()=>!e.enableReset||p===e.defaultValue}],position:"right"})})]}),isChecked:!!p,onChange:f,readOnly:n||i,isDisabled:e.isDisabled,isRequired:e.isRequired,description:m?O.jsx("span",{style:{color:my(vy.Danger)},children:m}):e.description})})},rules:{required:c,validate:r}})}var pF,Qie;function AWe(){return Qie||(Qie=1,pF=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,a,o;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(a=r;a--!==0;)if(!e(t[a],n[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(o=Object.keys(t),r=o.length,r!==Object.keys(n).length)return!1;for(a=r;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,o[a]))return!1;for(a=r;a--!==0;){var i=o[a];if(!e(t[i],n[i]))return!1}return!0}return t!==t&&n!==n}),pF}var BWe=AWe();const $ie=Ln(BWe);/*!
485
+ `;function cF(e,t,n=!1){const r=Aie({defaultValues:e??{}}),{handleSubmit:a,setError:o}=r,[i,l]=S.useState(null);return{form:r,handleSubmit:a,error:i,setError:l,handleSubmitError:f=>{const{genericErrors:p,fieldErrors:u}=t(f);if(p.length>0){const m=p.map(g=>g.message);l(m),n&&o("root",{message:m.join(" ")})}else l(null);u.length>0&&u.forEach(m=>{o(m.name,{message:typeof m.message=="string"?m.message:void 0})})},setFieldError:o}}function Lie(e){const{errorAdapter:t=__,isWizard:n=!1}=e,{form:r,handleSubmit:a,error:o,setError:i,handleSubmitError:l,setFieldError:c}=cF(e.defaultValue,t,n),[f]=S.useContext(zm),[p]=ua(),u=pl("md"),m=e.isVertical?!1:f.formLayout==="horizontal",g=e.singleColumn?!1:f.formColumns==="multiple";let x=e.children;e.disableGrid!==!0&&(x=O.jsx(Die,{isVertical:e.isVertical,singleColumn:e.singleColumn,children:e.children}));const y=Uoe(),w=y?fWe:X.PageSection,C=y?{hasBodyWrapper:!1,isFilled:!1}:{};return O.jsx(die,{...r,children:O.jsxs(X.Form,{onKeyDown:E=>{E.key==="Enter"&&e.disableSubmitOnEnter&&!(E.target instanceof HTMLTextAreaElement)&&E.preventDefault()},onSubmit:a(async E=>{i(null);try{await e.onSubmit(E,j=>i(j),c)}catch(j){l(j)}}),isHorizontal:m,autoComplete:e.autoComplete,style:{display:"flex",flexDirection:"column",flexGrow:1,height:"100%",maxHeight:"100%",overflow:"hidden",gap:0},children:[o&&O.jsx(Bie,{error:o,isMd:u,onCancel:e.onCancel}),O.jsx(Lf,{children:O.jsx(sWe,{isFilled:!0,isWidthLimited:!0,padding:{default:e.disablePadding?"noPadding":"padding"},style:{maxWidth:g?void 0:880},children:x})}),e.footer?e.footer:O.jsx(w,{...C,children:O.jsxs(cWe,{children:[O.jsx(sF,{children:e.submitText}),e.additionalActions,e.onCancel&&O.jsx(Mie,{onCancel:e.onCancel,children:e.cancelText??p.cancelText})]})})]})})}function Die(e){const[t]=S.useContext(zm),n=e.isVertical?!1:t.formLayout==="horizontal",r=e.singleColumn?!1:t.formColumns==="multiple",a=12,o=r?n?12:6:12,i=r?6:12,l=r?6:12,c=r?4:12;return O.jsx(X.Grid,{hasGutter:!0,span:12,sm:a,md:o,lg:i,xl:l,xl2:c,className:e.className,children:e.children})}function dWe(e){const{errorAdapter:t=__}=e,{form:n,handleSubmit:r,error:a,setError:o,handleSubmitError:i,setFieldError:l}=cF(e.defaultValue,t),[c]=S.useContext(zm),f=pl("md"),p=e.isVertical?!1:c.formLayout==="horizontal";return O.jsx(die,{...n,children:O.jsxs(X.Form,{onSubmit:r(async u=>{o(null);try{await e.onSubmit(u,m=>o(m),l)}catch(m){i(m)}}),isHorizontal:p,autoComplete:e.autoComplete,children:[a&&O.jsx(Bie,{error:a,isMd:f,onCancel:e.onCancel}),e.children]})})}const yn=e=>typeof e=="string",I_=()=>{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},Fie=e=>e==null?"":""+e,pWe=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},uWe=/###/g,Nie=e=>e&&e.indexOf("###")>-1?e.replace(uWe,"."):e,zie=e=>!e||yn(e),j_=(e,t,n)=>{const r=yn(t)?t.split("."):t;let a=0;for(;a<r.length-1;){if(zie(e))return{};const o=Nie(r[a]);!e[o]&&n&&(e[o]=new n),Object.prototype.hasOwnProperty.call(e,o)?e=e[o]:e={},++a}return zie(e)?{}:{obj:e,k:Nie(r[a])}},Rie=(e,t,n)=>{const{obj:r,k:a}=j_(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let o=t[t.length-1],i=t.slice(0,t.length-1),l=j_(e,i,Object);for(;l.obj===void 0&&i.length;)o=`${i[i.length-1]}.${o}`,i=i.slice(0,i.length-1),l=j_(e,i,Object),l!=null&&l.obj&&typeof l.obj[`${l.k}.${o}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${o}`]=n},vWe=(e,t,n,r)=>{const{obj:a,k:o}=j_(e,t,Object);a[o]=a[o]||[],a[o].push(n)},R5=(e,t)=>{const{obj:n,k:r}=j_(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},mWe=(e,t,n)=>{const r=R5(e,n);return r!==void 0?r:R5(t,n)},Wie=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?yn(e[r])||e[r]instanceof String||yn(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Wie(e[r],t[r],n):e[r]=t[r]);return e},u0=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var gWe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const hWe=e=>yn(e)?e.replace(/[&<>"'\/]/g,t=>gWe[t]):e;class bWe{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const xWe=[" ",",","?","!",";"],yWe=new bWe(20),_We=(e,t,n)=>{t=t||"",n=n||"";const r=xWe.filter(i=>t.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const a=yWe.getRegExp(`(${r.map(i=>i==="?"?"\\?":i).join("|")})`);let o=!a.test(e);if(!o){const i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(o=!0)}return o},fF=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const r=t.split(n);let a=e;for(let o=0;o<r.length;){if(!a||typeof a!="object")return;let i,l="";for(let c=o;c<r.length;++c)if(c!==o&&(l+=n),l+=r[c],i=a[l],i!==void 0){if(["string","number","boolean"].indexOf(typeof i)>-1&&c<r.length-1)continue;o+=c-o+1;break}a=i}return a},W5=e=>e==null?void 0:e.replace("_","-"),wWe={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){var n,r;(r=(n=console==null?void 0:console[e])==null?void 0:n.apply)==null||r.call(n,console,t)}};class q5{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||wWe,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,a){return a&&!this.debug?null:(yn(t[0])&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new q5(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new q5(this.logger,t)}}var Xf=new q5;class H5{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const a=this.observers[r].get(n)||0;this.observers[r].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(i=>{let[l,c]=i;for(let f=0;f<c;f++)l(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(i=>{let[l,c]=i;for(let f=0;f<c;f++)l.apply(l,[t,...r])})}}class qie extends H5{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){var f,p;let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,i=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,n],r&&(Array.isArray(r)?l.push(...r):yn(r)&&o?l.push(...r.split(o)):l.push(r)));const c=R5(this.data,l);return!c&&!n&&!r&&t.indexOf(".")>-1&&(t=l[0],n=l[1],r=l.slice(2).join(".")),c||!i||!yn(r)?c:fF((p=(f=this.data)==null?void 0:f[t])==null?void 0:p[n],r,o)}addResource(t,n,r,a){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const i=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let l=[t,n];r&&(l=l.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(l=t.split("."),a=n,n=l[1]),this.addNamespaces(n),Rie(this.data,l,a),o.silent||this.emit("added",t,n,r,a)}addResources(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in r)(yn(r[o])||Array.isArray(r[o]))&&this.addResource(t,n,o,r[o],{silent:!0});a.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,a,o){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,n];t.indexOf(".")>-1&&(l=t.split("."),a=r,r=n,n=l[1]),this.addNamespaces(n);let c=R5(this.data,l)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?Wie(c,r,o):c={...c,...r},Rie(this.data,l,c),i.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var Hie={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(o=>{var i;t=((i=this.processors[o])==null?void 0:i.process(t,n,r,a))??t}),t}};const Uie={},Vie=e=>!yn(e)&&typeof e!="boolean"&&typeof e!="number";class U5 extends H5{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),pWe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Xf.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return(r==null?void 0:r.res)!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let o=n.ns||this.options.defaultNS||[];const i=r&&t.indexOf(r)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!_We(t,r,a);if(i&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:yn(o)?[o]:o};const f=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(f[0])>-1)&&(o=f.shift()),t=f.join(a)}return{key:t,namespaces:yn(o)?[o]:o}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:i,namespaces:l}=this.extractFromKey(t[t.length-1],n),c=l[l.length-1],f=n.lng||this.language,p=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((f==null?void 0:f.toLowerCase())==="cimode"){if(p){const D=n.nsSeparator||this.options.nsSeparator;return a?{res:`${c}${D}${i}`,usedKey:i,exactUsedKey:i,usedLng:f,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${D}${i}`}return a?{res:i,usedKey:i,exactUsedKey:i,usedLng:f,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:i}const u=this.resolve(t,n);let m=u==null?void 0:u.res;const g=(u==null?void 0:u.usedKey)||i,x=(u==null?void 0:u.exactUsedKey)||i,y=["[object Number]","[object Function]","[object RegExp]"],w=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,C=!this.i18nFormat||this.i18nFormat.handleAsObject,E=n.count!==void 0&&!yn(n.count),j=U5.hasDefaultValue(n),A=E?this.pluralResolver.getSuffix(f,n.count,n):"",B=n.ordinal&&E?this.pluralResolver.getSuffix(f,n.count,{ordinal:!1}):"",L=E&&!n.ordinal&&n.count===0,F=L&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${A}`]||n[`defaultValue${B}`]||n.defaultValue;let z=m;C&&!m&&j&&(z=F);const Y=Vie(z),H=Object.prototype.toString.apply(z);if(C&&z&&Y&&y.indexOf(H)<0&&!(yn(w)&&Array.isArray(z))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const D=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,z,{...n,ns:l}):`key '${i} (${this.language})' returned an object instead of string.`;return a?(u.res=D,u.usedParams=this.getUsedParamsDetails(n),u):D}if(o){const D=Array.isArray(z),R=D?[]:{},U=D?x:g;for(const G in z)if(Object.prototype.hasOwnProperty.call(z,G)){const Z=`${U}${o}${G}`;j&&!m?R[G]=this.translate(Z,{...n,defaultValue:Vie(F)?F[G]:void 0,joinArrays:!1,ns:l}):R[G]=this.translate(Z,{...n,joinArrays:!1,ns:l}),R[G]===Z&&(R[G]=z[G])}m=R}}else if(C&&yn(w)&&Array.isArray(m))m=m.join(w),m&&(m=this.extendTranslation(m,t,n,r));else{let D=!1,R=!1;!this.isValidLookup(m)&&j&&(D=!0,m=F),this.isValidLookup(m)||(R=!0,m=i);const G=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&R?void 0:m,Z=j&&F!==m&&this.options.updateMissing;if(R||D||Z){if(this.logger.log(Z?"updateKey":"missingKey",f,c,i,Z?F:m),o){const te=this.resolve(i,{...n,keySeparator:!1});te&&te.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let ne=[];const oe=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&oe&&oe[0])for(let te=0;te<oe.length;te++)ne.push(oe[te]);else this.options.saveMissingTo==="all"?ne=this.languageUtils.toResolveHierarchy(n.lng||this.language):ne.push(n.lng||this.language);const ee=(te,q,ae)=>{var J;const pe=j&&ae!==m?ae:G;this.options.missingKeyHandler?this.options.missingKeyHandler(te,c,q,pe,Z,n):(J=this.backendConnector)!=null&&J.saveMissing&&this.backendConnector.saveMissing(te,c,q,pe,Z,n),this.emit("missingKey",te,c,q,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&E?ne.forEach(te=>{const q=this.pluralResolver.getSuffixes(te,n);L&&n[`defaultValue${this.options.pluralSeparator}zero`]&&q.indexOf(`${this.options.pluralSeparator}zero`)<0&&q.push(`${this.options.pluralSeparator}zero`),q.forEach(ae=>{ee([te],i+ae,n[`defaultValue${ae}`]||F)})}):ee(ne,i,F))}m=this.extendTranslation(m,t,n,u,r),R&&m===i&&this.options.appendNamespaceToMissingKey&&(m=`${c}:${i}`),(R||D)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${i}`:i,D?m:void 0))}return a?(u.res=m,u.usedParams=this.getUsedParamsDetails(n),u):m}extendTranslation(t,n,r,a,o){var f,p;var i=this;if((f=this.i18nFormat)!=null&&f.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const u=yn(t)&&(((p=r==null?void 0:r.interpolation)==null?void 0:p.skipOnVariables)!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let m;if(u){const x=t.match(this.interpolator.nestingRegexp);m=x&&x.length}let g=r.replace&&!yn(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(g={...this.options.interpolation.defaultVariables,...g}),t=this.interpolator.interpolate(t,g,r.lng||this.language||a.usedLng,r),u){const x=t.match(this.interpolator.nestingRegexp),y=x&&x.length;m<y&&(r.nest=!1)}!r.lng&&a&&a.res&&(r.lng=this.language||a.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var x=arguments.length,y=new Array(x),w=0;w<x;w++)y[w]=arguments[w];return(o==null?void 0:o[0])===y[0]&&!r.context?(i.logger.warn(`It seems you are nesting recursively key: ${y[0]} in key: ${n[0]}`),null):i.translate(...y,n)},r)),r.interpolation&&this.interpolator.reset()}const l=r.postProcess||this.options.postProcess,c=yn(l)?[l]:l;return t!=null&&(c!=null&&c.length)&&r.applyPostProcessor!==!1&&(t=Hie.handle(c,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,a,o,i,l;return yn(t)&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(r))return;const f=this.extractFromKey(c,n),p=f.key;a=p;let u=f.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));const m=n.count!==void 0&&!yn(n.count),g=m&&!n.ordinal&&n.count===0,x=n.context!==void 0&&(yn(n.context)||typeof n.context=="number")&&n.context!=="",y=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);u.forEach(w=>{var C,E;this.isValidLookup(r)||(l=w,!Uie[`${y[0]}-${w}`]&&((C=this.utils)!=null&&C.hasLoadedNamespace)&&!((E=this.utils)!=null&&E.hasLoadedNamespace(l))&&(Uie[`${y[0]}-${w}`]=!0,this.logger.warn(`key "${a}" for languages "${y.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),y.forEach(j=>{var L;if(this.isValidLookup(r))return;i=j;const A=[p];if((L=this.i18nFormat)!=null&&L.addLookupKeys)this.i18nFormat.addLookupKeys(A,p,j,w,n);else{let F;m&&(F=this.pluralResolver.getSuffix(j,n.count,n));const z=`${this.options.pluralSeparator}zero`,Y=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(m&&(A.push(p+F),n.ordinal&&F.indexOf(Y)===0&&A.push(p+F.replace(Y,this.options.pluralSeparator)),g&&A.push(p+z)),x){const H=`${p}${this.options.contextSeparator}${n.context}`;A.push(H),m&&(A.push(H+F),n.ordinal&&F.indexOf(Y)===0&&A.push(H+F.replace(Y,this.options.pluralSeparator)),g&&A.push(H+z))}}let B;for(;B=A.pop();)this.isValidLookup(r)||(o=B,r=this.getResource(j,w,B,n))}))})}),{res:r,usedKey:a,exactUsedKey:o,usedLng:i,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){var o;let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(o=this.i18nFormat)!=null&&o.getResource?this.i18nFormat.getResource(t,n,r,a):this.resourceStore.getResource(t,n,r,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!yn(t.replace);let a=r?t.replace:t;if(r&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!r){a={...a};for(const o of n)delete a[o]}return a}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}class Gie{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Xf.create("languageUtils")}getScriptPartFromCode(t){if(t=W5(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=W5(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(yn(t)&&t.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(t)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const a=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(o=>{if(o===a)return o;if(!(o.indexOf("-")<0&&a.indexOf("-")<0)&&(o.indexOf("-")>0&&a.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===a||o.indexOf(a)===0&&a.length>1))return o})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),yn(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),a=[],o=i=>{i&&(this.isSupportedCode(i)?a.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return yn(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):yn(t)&&o(this.formatLanguageCode(t)),r.forEach(i=>{a.indexOf(i)<0&&o(this.formatLanguageCode(i))}),a}}const Yie={zero:0,one:1,two:2,few:3,many:4,other:5},Xie={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class kWe{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=Xf.create("pluralResolver"),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=W5(t==="dev"?"en":t),a=n.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:a});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let i;try{i=new Intl.PluralRules(r,{type:a})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Xie;if(!t.match(/-|_/))return Xie;const c=this.languageUtils.getLanguagePartFromCode(t);i=this.getRule(c,n)}return this.pluralRulesCache[o]=i,i}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),(r==null?void 0:r.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(a=>`${n}${a}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?r.resolvedOptions().pluralCategories.sort((a,o)=>Yie[a]-Yie[o]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",n,r))}}const Kie=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=mWe(e,t,n);return!o&&a&&yn(n)&&(o=fF(e,n,r),o===void 0&&(o=fF(t,n,r))),o},dF=e=>e.replace(/\$/g,"$$$$");class SWe{constructor(){var n;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Xf.create("interpolator"),this.options=t,this.format=((n=t==null?void 0:t.interpolation)==null?void 0:n.format)||(r=>r),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:a,prefix:o,prefixEscaped:i,suffix:l,suffixEscaped:c,formatSeparator:f,unescapeSuffix:p,unescapePrefix:u,nestingPrefix:m,nestingPrefixEscaped:g,nestingSuffix:x,nestingSuffixEscaped:y,nestingOptionsSeparator:w,maxReplaces:C,alwaysFormat:E}=t.interpolation;this.escape=n!==void 0?n:hWe,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=o?u0(o):i||"{{",this.suffix=l?u0(l):c||"}}",this.formatSeparator=f||",",this.unescapePrefix=p?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=m?u0(m):g||u0("$t("),this.nestingSuffix=x?u0(x):y||u0(")"),this.nestingOptionsSeparator=w||",",this.maxReplaces=C||1e3,this.alwaysFormat=E!==void 0?E:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>(n==null?void 0:n.source)===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,a){var g;let o,i,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},f=x=>{if(x.indexOf(this.formatSeparator)<0){const E=Kie(n,c,x,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(E,void 0,r,{...a,...n,interpolationkey:x}):E}const y=x.split(this.formatSeparator),w=y.shift().trim(),C=y.join(this.formatSeparator).trim();return this.format(Kie(n,c,w,this.options.keySeparator,this.options.ignoreJSONStructure),C,r,{...a,...n,interpolationkey:w})};this.resetRegExp();const p=(a==null?void 0:a.missingInterpolationHandler)||this.options.missingInterpolationHandler,u=((g=a==null?void 0:a.interpolation)==null?void 0:g.skipOnVariables)!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:x=>dF(x)},{regex:this.regexp,safeValue:x=>this.escapeValue?dF(this.escape(x)):dF(x)}].forEach(x=>{for(l=0;o=x.regex.exec(t);){const y=o[1].trim();if(i=f(y),i===void 0)if(typeof p=="function"){const C=p(t,o,a);i=yn(C)?C:""}else if(a&&Object.prototype.hasOwnProperty.call(a,y))i="";else if(u){i=o[0];continue}else this.logger.warn(`missed to pass in variable ${y} for interpolating ${t}`),i="";else!yn(i)&&!this.useRawValueToEscape&&(i=Fie(i));const w=x.safeValue(i);if(t=t.replace(o[0],w),u?(x.regex.lastIndex+=i.length,x.regex.lastIndex-=o[0].length):x.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,o,i;const l=(c,f)=>{const p=this.nestingOptionsSeparator;if(c.indexOf(p)<0)return c;const u=c.split(new RegExp(`${p}[ ]*{`));let m=`{${u[1]}`;c=u[0],m=this.interpolate(m,i);const g=m.match(/'/g),x=m.match(/"/g);(((g==null?void 0:g.length)??0)%2===0&&!x||x.length%2!==0)&&(m=m.replace(/'/g,'"'));try{i=JSON.parse(m),f&&(i={...f,...i})}catch(y){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,y),`${c}${p}${m}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,c};for(;a=this.nestingRegexp.exec(t);){let c=[];i={...r},i=i.replace&&!yn(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let f=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const p=a[1].split(this.formatSeparator).map(u=>u.trim());a[1]=p.shift(),c=p,f=!0}if(o=n(l.call(this,a[1].trim(),i),i),o&&a[0]===t&&!yn(o))return o;yn(o)||(o=Fie(o)),o||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),o=""),f&&(o=c.reduce((p,u)=>this.format(p,u,r.lng,{...r,interpolationkey:a[1].trim()}),o.trim())),t=t.replace(a[0],o),this.regexp.lastIndex=0}return t}}const CWe=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(i=>{if(i){const[l,...c]=i.split(":"),f=c.join(":").trim().replace(/^'+|'+$/g,""),p=l.trim();n[p]||(n[p]=f),f==="false"&&(n[p]=!1),f==="true"&&(n[p]=!0),isNaN(f)||(n[p]=parseInt(f,10))}})}return{formatName:t,formatOptions:n}},v0=e=>{const t={};return(n,r,a)=>{let o=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(o={...o,[a.interpolationkey]:void 0});const i=r+JSON.stringify(o);let l=t[i];return l||(l=e(W5(r),a),t[i]=l),l(n)}};class EWe{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Xf.create("formatter"),this.options=t,this.formats={number:v0((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return o=>a.format(o)}),currency:v0((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>a.format(o)}),datetime:v0((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return o=>a.format(o)}),relativetime:v0((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return o=>a.format(o,r.range||"day")}),list:v0((n,r)=>{const a=new Intl.ListFormat(n,{...r});return o=>a.format(o)})},this.init(t)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=v0(n)}format(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=n.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(l=>l.indexOf(")")>-1)){const l=o.findIndex(c=>c.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,l)].join(this.formatSeparator)}return o.reduce((l,c)=>{var u;const{formatName:f,formatOptions:p}=CWe(c);if(this.formats[f]){let m=l;try{const g=((u=a==null?void 0:a.formatParams)==null?void 0:u[a.interpolationkey])||{},x=g.locale||g.lng||a.locale||a.lng||r;m=this.formats[f](l,x,{...p,...a,...g})}catch(g){this.logger.warn(g)}return m}else this.logger.warn(`there was no format function for ${f}`);return l},t)}}const PWe=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class OWe extends H5{constructor(t,n,r){var o,i;let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=a,this.logger=Xf.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],(i=(o=this.backend)==null?void 0:o.init)==null||i.call(o,r,a.backend,a)}queueLoad(t,n,r,a){const o={},i={},l={},c={};return t.forEach(f=>{let p=!0;n.forEach(u=>{const m=`${f}|${u}`;!r.reload&&this.store.hasResourceBundle(f,u)?this.state[m]=2:this.state[m]<0||(this.state[m]===1?i[m]===void 0&&(i[m]=!0):(this.state[m]=1,p=!1,i[m]===void 0&&(i[m]=!0),o[m]===void 0&&(o[m]=!0),c[u]===void 0&&(c[u]=!0)))}),p||(l[f]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,n,r){const a=t.split("|"),o=a[0],i=a[1];n&&this.emit("failedLoading",o,i,n),!n&&r&&this.store.addResourceBundle(o,i,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const l={};this.queue.forEach(c=>{vWe(c.loaded,[o],i),PWe(c,t),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(f=>{l[f]||(l[f]={});const p=c.loaded[f];p.length&&p.forEach(u=>{l[f][u]===void 0&&(l[f][u]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:a,wait:o,callback:i});return}this.readingCalls++;const l=(f,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const u=this.waitingReads.shift();this.read(u.lng,u.ns,u.fcName,u.tried,u.wait,u.callback)}if(f&&p&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,a+1,o*2,i)},o);return}i(f,p)},c=this.backend[r].bind(this.backend);if(c.length===2){try{const f=c(t,n);f&&typeof f.then=="function"?f.then(p=>l(null,p)).catch(l):l(null,f)}catch(f){l(f)}return}return c(t,n,l)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();yn(t)&&(t=this.languageUtils.toResolveHierarchy(t)),yn(n)&&(n=[n]);const o=this.queueLoad(t,n,r,a);if(!o.toLoad.length)return o.pending.length||a(),null;o.toLoad.forEach(i=>{this.loadOne(i)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),a=r[0],o=r[1];this.read(a,o,"read",void 0,void 0,(i,l)=>{i&&this.logger.warn(`${n}loading namespace ${o} for language ${a} failed`,i),!i&&l&&this.logger.log(`${n}loaded namespace ${o} for language ${a}`,l),this.loaded(t,i,l)})}saveMissing(t,n,r,a,o){var c,f,p,u,m;let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if((f=(c=this.services)==null?void 0:c.utils)!=null&&f.hasLoadedNamespace&&!((u=(p=this.services)==null?void 0:p.utils)!=null&&u.hasLoadedNamespace(n))){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if((m=this.backend)!=null&&m.create){const g={...i,isUpdate:o},x=this.backend.create.bind(this.backend);if(x.length<6)try{let y;x.length===5?y=x(t,n,r,a,g):y=x(t,n,r,a),y&&typeof y.then=="function"?y.then(w=>l(null,w)).catch(l):l(null,y)}catch(y){l(y)}else x(t,n,r,a,l,g)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const Zie=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),yn(e[1])&&(t.defaultValue=e[1]),yn(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Jie=e=>{var t,n;return yn(e.ns)&&(e.ns=[e.ns]),yn(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),yn(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),((n=(t=e.supportedLngs)==null?void 0:t.indexOf)==null?void 0:n.call(t,"cimode"))<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e},V5=()=>{},TWe=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class A_ extends H5{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Jie(t),this.services={},this.logger=Xf,this.modules={external:[]},TWe(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),n.defaultNS==null&&n.ns&&(yn(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=Zie();this.options={...a,...this.options,...Jie(n)},this.options.interpolation={...a.interpolation,...this.options.interpolation},n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const o=p=>p?typeof p=="function"?new p:p:null;if(!this.options.isClone){this.modules.logger?Xf.init(o(this.modules.logger),this.options):Xf.init(null,this.options);let p;this.modules.formatter?p=this.modules.formatter:p=EWe;const u=new Gie(this.options);this.store=new qie(this.options.resources,this.options);const m=this.services;m.logger=Xf,m.resourceStore=this.store,m.languageUtils=u,m.pluralResolver=new kWe(u,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),p&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(m.formatter=o(p),m.formatter.init(m,this.options),this.options.interpolation.format=m.formatter.format.bind(m.formatter)),m.interpolator=new SWe(this.options),m.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},m.backendConnector=new OWe(o(this.modules.backend),m.resourceStore,m,this.options),m.backendConnector.on("*",function(g){for(var x=arguments.length,y=new Array(x>1?x-1:0),w=1;w<x;w++)y[w-1]=arguments[w];t.emit(g,...y)}),this.modules.languageDetector&&(m.languageDetector=o(this.modules.languageDetector),m.languageDetector.init&&m.languageDetector.init(m,this.options.detection,this.options)),this.modules.i18nFormat&&(m.i18nFormat=o(this.modules.i18nFormat),m.i18nFormat.init&&m.i18nFormat.init(this)),this.translator=new U5(this.services,this.options),this.translator.on("*",function(g){for(var x=arguments.length,y=new Array(x>1?x-1:0),w=1;w<x;w++)y[w-1]=arguments[w];t.emit(g,...y)}),this.modules.external.forEach(g=>{g.init&&g.init(this)})}if(this.format=this.options.interpolation.format,r||(r=V5),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const p=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);p.length>0&&p[0]!=="dev"&&(this.options.lng=p[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(p=>{this[p]=function(){return t.store[p](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(p=>{this[p]=function(){return t.store[p](...arguments),t}});const c=I_(),f=()=>{const p=(u,m)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(m),r(u,m)};if(this.languages&&!this.isInitialized)return p(null,this.t.bind(this));this.changeLanguage(this.options.lng,p)};return this.options.resources||!this.options.initAsync?f():setTimeout(f,0),c}loadResources(t){var o,i;let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V5;const a=yn(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if((a==null?void 0:a.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const l=[],c=f=>{if(!f||f==="cimode")return;this.services.languageUtils.toResolveHierarchy(f).forEach(u=>{u!=="cimode"&&l.indexOf(u)<0&&l.push(u)})};a?c(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(p=>c(p)),(i=(o=this.options.preload)==null?void 0:o.forEach)==null||i.call(o,f=>c(f)),this.services.backendConnector.load(l,this.options.ns,f=>{!f&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(f)})}else r(null)}reloadResources(t,n,r){const a=I_();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=V5),this.services.backendConnector.reload(t,n,o=>{a.resolve(),r(o)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&Hie.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const a=I_();this.emit("languageChanging",t);const o=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},i=(c,f)=>{f?(o(f),this.translator.changeLanguage(f),this.isLanguageChangingTo=void 0,this.emit("languageChanged",f),this.logger.log("languageChanged",f)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(c,function(){return r.t(...arguments)})},l=c=>{var p,u;!t&&!c&&this.services.languageDetector&&(c=[]);const f=yn(c)?c:this.services.languageUtils.getBestMatchFromCodes(c);f&&(this.language||o(f),this.translator.language||this.translator.changeLanguage(f),(u=(p=this.services.languageDetector)==null?void 0:p.cacheUserLanguage)==null||u.call(p,f)),this.loadResources(f,m=>{i(m,f)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),a}getFixedT(t,n,r){var a=this;const o=function(i,l){let c;if(typeof l!="object"){for(var f=arguments.length,p=new Array(f>2?f-2:0),u=2;u<f;u++)p[u-2]=arguments[u];c=a.options.overloadTranslationOptionHandler([i,l].concat(p))}else c={...l};c.lng=c.lng||o.lng,c.lngs=c.lngs||o.lngs,c.ns=c.ns||o.ns,c.keyPrefix!==""&&(c.keyPrefix=c.keyPrefix||r||o.keyPrefix);const m=a.options.keySeparator||".";let g;return c.keyPrefix&&Array.isArray(i)?g=i.map(x=>`${c.keyPrefix}${m}${x}`):g=c.keyPrefix?`${c.keyPrefix}${m}${i}`:i,a.t(g,c)};return yn(t)?o.lng=t:o.lngs=t,o.ns=n,o.keyPrefix=r,o}t(){var a;for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(a=this.translator)==null?void 0:a.translate(...n)}exists(){var a;for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(a=this.translator)==null?void 0:a.exists(...n)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const i=(l,c)=>{const f=this.services.backendConnector.state[`${l}|${c}`];return f===-1||f===0||f===2};if(n.precheck){const l=n.precheck(this,i);if(l!==void 0)return l}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,t)&&(!a||i(o,t)))}loadNamespaces(t,n){const r=I_();return this.options.ns?(yn(t)&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=I_();yn(t)&&(t=[t]);const a=this.options.preload||[],o=t.filter(i=>a.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return o.length?(this.options.preload=a.concat(o),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}dir(t){var a,o;if(t||(t=this.resolvedLanguage||(((a=this.languages)==null?void 0:a.length)>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=((o=this.services)==null?void 0:o.languageUtils)||new Gie(Zie());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new A_(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V5;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},o=new A_(a);if((t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(l=>{o[l]=this[l]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r){const l=Object.keys(this.store.data).reduce((c,f)=>(c[f]={...this.store.data[f]},Object.keys(c[f]).reduce((p,u)=>(p[u]={...c[f][u]},p),{})),{});o.store=new qie(l,a),o.services.resourceStore=o.store}return o.translator=new U5(o.services,a),o.translator.on("*",function(l){for(var c=arguments.length,f=new Array(c>1?c-1:0),p=1;p<c;p++)f[p-1]=arguments[p];o.emit(l,...f)}),o.init(a,n),o.translator.options=a,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Xi=A_.createInstance();Xi.createInstance=A_.createInstance,Xi.createInstance,Xi.dir,Xi.init,Xi.loadResources,Xi.reloadResources,Xi.use,Xi.changeLanguage,Xi.getFixedT;const B_=Xi.t;Xi.exists,Xi.setDefaultNamespace,Xi.hasLoadedNamespace,Xi.loadNamespaces,Xi.loadLanguages;function Kf(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""}function M_(e,t){return typeof e=="string"&&t===!0?{value:!0,message:B_("{{label}} is required.",{label:IWe(Kf(e.toLocaleLowerCase()))})}:void 0}function IWe(e){const t=["Red Hat"];for(const n of t)e=e.replace(Kf(n.toLocaleLowerCase()),n);return e}function jWe(e){const{name:t,readOnly:n,validate:r}=e,{control:a,setValue:o,formState:{isSubmitting:i}}=Vf(),{t:l}=Cn(),c=M_(e.label,e.isRequired);return O.jsx(d0,{name:t,control:a,defaultValue:e.defaultValue,shouldUnregister:!0,render:({field:{onChange:f,value:p},fieldState:{error:u}})=>{const m=u==null?void 0:u.message;return O.jsx(O.Fragment,{children:O.jsx(X.Checkbox,{name:t,id:e.id??t.split(".").join("-"),"data-cy":e.id??t.split(".").join("-"),"data-testid":e.id??t.split(".").join("-"),"aria-label":e.label,className:e.className,label:O.jsxs("div",{style:{display:"inline-flex"},children:[O.jsxs("div",{children:[e.label,e.labelHelp&&O.jsx(uy,{title:e.labelHelpTitle,help:e.labelHelp})]}),O.jsx("div",{style:{marginTop:-6,marginBottom:-6},children:O.jsx(Df,{actions:[{label:l("Reset to default"),type:gr.Button,selection:Jn.None,onClick:()=>{o(t,e.defaultValue)},isHidden:()=>!e.enableReset||p===e.defaultValue}],position:"right"})})]}),isChecked:!!p,onChange:f,readOnly:n||i,isDisabled:e.isDisabled,isRequired:e.isRequired,description:m?O.jsx("span",{style:{color:my(vy.Danger)},children:m}):e.description})})},rules:{required:c,validate:r}})}var pF,Qie;function AWe(){return Qie||(Qie=1,pF=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,a,o;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(a=r;a--!==0;)if(!e(t[a],n[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(o=Object.keys(t),r=o.length,r!==Object.keys(n).length)return!1;for(a=r;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,o[a]))return!1;for(a=r;a--!==0;){var i=o[a];if(!e(t[i],n[i]))return!1}return!0}return t!==t&&n!==n}),pF}var BWe=AWe();const $ie=Ln(BWe);/*!
486
486
  * isobject <https://github.com/jonschlinkert/isobject>
487
487
  *
488
488
  * Copyright (c) 2014-2017, Jon Schlinkert.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ansible/ansible-ui-framework",
3
3
  "description": "A framework for building applications using PatternFly.",
4
- "version": "2.4.2739",
4
+ "version": "2.4.2740",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -1,155 +1,155 @@
1
- import { $ as s } from "./index-DuvH_Awk.js";
2
- import { B as o } from "./index-DuvH_Awk.js";
3
- import { A as t } from "./index-DuvH_Awk.js";
4
- import { C as r } from "./index-DuvH_Awk.js";
5
- import { aW as l } from "./index-DuvH_Awk.js";
6
- import { aY as i } from "./index-DuvH_Awk.js";
7
- import { aV as n } from "./index-DuvH_Awk.js";
8
- import { aX as g } from "./index-DuvH_Awk.js";
9
- import { aZ as b } from "./index-DuvH_Awk.js";
10
- import { aU as u } from "./index-DuvH_Awk.js";
11
- import { aQ as P } from "./index-DuvH_Awk.js";
12
- import { D as d } from "./index-DuvH_Awk.js";
13
- import { af as m } from "./index-DuvH_Awk.js";
14
- import { ae as C } from "./index-DuvH_Awk.js";
15
- import { E as c } from "./index-DuvH_Awk.js";
16
- import { bo as T } from "./index-DuvH_Awk.js";
17
- import { bm as D } from "./index-DuvH_Awk.js";
18
- import { F as p } from "./index-DuvH_Awk.js";
19
- import { G as S } from "./index-DuvH_Awk.js";
20
- import { bs as h } from "./index-DuvH_Awk.js";
21
- import { ab as F } from "./index-DuvH_Awk.js";
22
- import { H as v } from "./index-DuvH_Awk.js";
23
- import { k as B } from "./index-DuvH_Awk.js";
24
- import { I as f } from "./index-DuvH_Awk.js";
25
- import { L as I } from "./index-DuvH_Awk.js";
26
- import { a2 as A } from "./index-DuvH_Awk.js";
27
- import { P as y } from "./index-DuvH_Awk.js";
28
- import { r as N } from "./index-DuvH_Awk.js";
29
- import { q as x } from "./index-DuvH_Awk.js";
30
- import { s as k } from "./index-DuvH_Awk.js";
31
- import { t as w } from "./index-DuvH_Awk.js";
32
- import { w as E } from "./index-DuvH_Awk.js";
33
- import { y as O } from "./index-DuvH_Awk.js";
34
- import { z as L } from "./index-DuvH_Awk.js";
35
- import { J as M } from "./index-DuvH_Awk.js";
36
- import { M as V } from "./index-DuvH_Awk.js";
37
- import { N as R } from "./index-DuvH_Awk.js";
38
- import { Q as W } from "./index-DuvH_Awk.js";
39
- import { O as j } from "./index-DuvH_Awk.js";
40
- import { K as G } from "./index-DuvH_Awk.js";
41
- import { U as z } from "./index-DuvH_Awk.js";
42
- import { X as U } from "./index-DuvH_Awk.js";
43
- import { V as H } from "./index-DuvH_Awk.js";
44
- import { Y as q } from "./index-DuvH_Awk.js";
45
- import { aP as Q } from "./index-DuvH_Awk.js";
46
- import { Z as J } from "./index-DuvH_Awk.js";
47
- import { _ as K } from "./index-DuvH_Awk.js";
48
- import { a4 as X } from "./index-DuvH_Awk.js";
49
- import { W as Y } from "./index-DuvH_Awk.js";
50
- import { an as Z } from "./index-DuvH_Awk.js";
51
- import { aq as _ } from "./index-DuvH_Awk.js";
52
- import { ac as $ } from "./index-DuvH_Awk.js";
53
- import { ad as aa } from "./index-DuvH_Awk.js";
54
- import { ao as ea } from "./index-DuvH_Awk.js";
55
- import { ai as sa } from "./index-DuvH_Awk.js";
56
- import { ap as oa } from "./index-DuvH_Awk.js";
57
- import { aj as ta } from "./index-DuvH_Awk.js";
58
- import { ak as ra } from "./index-DuvH_Awk.js";
59
- import { al as la } from "./index-DuvH_Awk.js";
60
- import { ar as ia } from "./index-DuvH_Awk.js";
61
- import { as as na } from "./index-DuvH_Awk.js";
62
- import { at as ga } from "./index-DuvH_Awk.js";
63
- import { au as ba } from "./index-DuvH_Awk.js";
64
- import { av as ua } from "./index-DuvH_Awk.js";
65
- import { aF as Pa } from "./index-DuvH_Awk.js";
66
- import { aH as da } from "./index-DuvH_Awk.js";
67
- import { ay as ma } from "./index-DuvH_Awk.js";
68
- import { a9 as Ca } from "./index-DuvH_Awk.js";
69
- import { aa as ca } from "./index-DuvH_Awk.js";
70
- import { aw as Ta } from "./index-DuvH_Awk.js";
71
- import { aL as Da } from "./index-DuvH_Awk.js";
72
- import { aM as pa } from "./index-DuvH_Awk.js";
73
- import { bg as Sa } from "./index-DuvH_Awk.js";
74
- import { aN as ha } from "./index-DuvH_Awk.js";
75
- import { aR as Fa } from "./index-DuvH_Awk.js";
76
- import { aT as va } from "./index-DuvH_Awk.js";
77
- import { bf as Ba } from "./index-DuvH_Awk.js";
78
- import { ax as fa } from "./index-DuvH_Awk.js";
79
- import { bh as Ia } from "./index-DuvH_Awk.js";
80
- import { bj as Aa } from "./index-DuvH_Awk.js";
81
- import { br as ya } from "./index-DuvH_Awk.js";
82
- import { R as Na } from "./index-DuvH_Awk.js";
83
- import { S as xa } from "./index-DuvH_Awk.js";
84
- import { a8 as ka } from "./index-DuvH_Awk.js";
85
- import { aO as wa } from "./index-DuvH_Awk.js";
86
- import { a_ as Ea } from "./index-DuvH_Awk.js";
87
- import { T as Oa } from "./index-DuvH_Awk.js";
88
- import { bn as La } from "./index-DuvH_Awk.js";
89
- import { bi as Ma } from "./index-DuvH_Awk.js";
90
- import { bq as Va } from "./index-DuvH_Awk.js";
91
- import { bp as Ra } from "./index-DuvH_Awk.js";
92
- import { aC as Wa } from "./index-DuvH_Awk.js";
93
- import { aD as ja } from "./index-DuvH_Awk.js";
94
- import { aE as Ga } from "./index-DuvH_Awk.js";
95
- import { bz as za } from "./index-DuvH_Awk.js";
96
- import { by as Ua } from "./index-DuvH_Awk.js";
97
- import { bx as Ha } from "./index-DuvH_Awk.js";
98
- import { bw as qa } from "./index-DuvH_Awk.js";
99
- import { x as Qa } from "./index-DuvH_Awk.js";
100
- import { bB as Ja } from "./index-DuvH_Awk.js";
101
- import { aA as Ka } from "./index-DuvH_Awk.js";
102
- import { g as Xa } from "./index-DuvH_Awk.js";
103
- import { bk as Ya } from "./index-DuvH_Awk.js";
104
- import { ah as Za } from "./index-DuvH_Awk.js";
105
- import { bA as _a } from "./index-DuvH_Awk.js";
106
- import { a as $a } from "./index-DuvH_Awk.js";
107
- import { e as ae } from "./index-DuvH_Awk.js";
108
- import { c as ee } from "./index-DuvH_Awk.js";
109
- import { f as se } from "./index-DuvH_Awk.js";
110
- import { p as oe } from "./index-DuvH_Awk.js";
111
- import { i as te } from "./index-DuvH_Awk.js";
112
- import { h as re } from "./index-DuvH_Awk.js";
113
- import { b as le } from "./index-DuvH_Awk.js";
114
- import { az as ie } from "./index-DuvH_Awk.js";
115
- import { aB as ne } from "./index-DuvH_Awk.js";
116
- import { bl as ge } from "./index-DuvH_Awk.js";
117
- import { n as be } from "./index-DuvH_Awk.js";
118
- import { a0 as ue } from "./index-DuvH_Awk.js";
119
- import { a1 as Pe } from "./index-DuvH_Awk.js";
120
- import { aS as de } from "./index-DuvH_Awk.js";
121
- import { b8 as me } from "./index-DuvH_Awk.js";
122
- import { b7 as Ce } from "./index-DuvH_Awk.js";
123
- import { b3 as ce } from "./index-DuvH_Awk.js";
124
- import { b5 as Te } from "./index-DuvH_Awk.js";
125
- import { b6 as De } from "./index-DuvH_Awk.js";
126
- import { bd as pe } from "./index-DuvH_Awk.js";
127
- import { am as Se } from "./index-DuvH_Awk.js";
128
- import { bt as he } from "./index-DuvH_Awk.js";
129
- import { aJ as Fe } from "./index-DuvH_Awk.js";
130
- import { bu as ve } from "./index-DuvH_Awk.js";
131
- import { a3 as Be } from "./index-DuvH_Awk.js";
132
- import { o as fe } from "./index-DuvH_Awk.js";
133
- import { v as Ie } from "./index-DuvH_Awk.js";
134
- import { a6 as Ae } from "./index-DuvH_Awk.js";
135
- import { a5 as ye } from "./index-DuvH_Awk.js";
136
- import { aI as Ne } from "./index-DuvH_Awk.js";
137
- import { aG as xe } from "./index-DuvH_Awk.js";
138
- import { aK as ke } from "./index-DuvH_Awk.js";
139
- import { u as we } from "./index-DuvH_Awk.js";
140
- import { be as Ee } from "./index-DuvH_Awk.js";
141
- import { l as Oe } from "./index-DuvH_Awk.js";
142
- import { a7 as Le } from "./index-DuvH_Awk.js";
143
- import { ba as Me } from "./index-DuvH_Awk.js";
144
- import { bb as Ve } from "./index-DuvH_Awk.js";
145
- import { bc as Re } from "./index-DuvH_Awk.js";
146
- import { b9 as We } from "./index-DuvH_Awk.js";
147
- import { bv as je } from "./index-DuvH_Awk.js";
148
- import { b1 as Ge } from "./index-DuvH_Awk.js";
149
- import { b4 as ze } from "./index-DuvH_Awk.js";
150
- import { b0 as Ue } from "./index-DuvH_Awk.js";
151
- import { b2 as He } from "./index-DuvH_Awk.js";
152
- import { a$ as qe } from "./index-DuvH_Awk.js";
153
- import { m as Qe } from "./index-DuvH_Awk.js";
154
- import { ag as Je } from "./index-DuvH_Awk.js";
1
+ import { $ as s } from "./index-C6NqotJr.js";
2
+ import { B as o } from "./index-C6NqotJr.js";
3
+ import { A as t } from "./index-C6NqotJr.js";
4
+ import { C as r } from "./index-C6NqotJr.js";
5
+ import { aW as l } from "./index-C6NqotJr.js";
6
+ import { aY as i } from "./index-C6NqotJr.js";
7
+ import { aV as n } from "./index-C6NqotJr.js";
8
+ import { aX as g } from "./index-C6NqotJr.js";
9
+ import { aZ as b } from "./index-C6NqotJr.js";
10
+ import { aU as u } from "./index-C6NqotJr.js";
11
+ import { aQ as P } from "./index-C6NqotJr.js";
12
+ import { D as d } from "./index-C6NqotJr.js";
13
+ import { af as m } from "./index-C6NqotJr.js";
14
+ import { ae as C } from "./index-C6NqotJr.js";
15
+ import { E as c } from "./index-C6NqotJr.js";
16
+ import { bo as T } from "./index-C6NqotJr.js";
17
+ import { bm as D } from "./index-C6NqotJr.js";
18
+ import { F as p } from "./index-C6NqotJr.js";
19
+ import { G as S } from "./index-C6NqotJr.js";
20
+ import { bs as h } from "./index-C6NqotJr.js";
21
+ import { ab as F } from "./index-C6NqotJr.js";
22
+ import { H as v } from "./index-C6NqotJr.js";
23
+ import { k as B } from "./index-C6NqotJr.js";
24
+ import { I as f } from "./index-C6NqotJr.js";
25
+ import { L as I } from "./index-C6NqotJr.js";
26
+ import { a2 as A } from "./index-C6NqotJr.js";
27
+ import { P as y } from "./index-C6NqotJr.js";
28
+ import { r as N } from "./index-C6NqotJr.js";
29
+ import { q as x } from "./index-C6NqotJr.js";
30
+ import { s as k } from "./index-C6NqotJr.js";
31
+ import { t as w } from "./index-C6NqotJr.js";
32
+ import { w as E } from "./index-C6NqotJr.js";
33
+ import { y as O } from "./index-C6NqotJr.js";
34
+ import { z as L } from "./index-C6NqotJr.js";
35
+ import { J as M } from "./index-C6NqotJr.js";
36
+ import { M as V } from "./index-C6NqotJr.js";
37
+ import { N as R } from "./index-C6NqotJr.js";
38
+ import { Q as W } from "./index-C6NqotJr.js";
39
+ import { O as j } from "./index-C6NqotJr.js";
40
+ import { K as G } from "./index-C6NqotJr.js";
41
+ import { U as z } from "./index-C6NqotJr.js";
42
+ import { X as U } from "./index-C6NqotJr.js";
43
+ import { V as H } from "./index-C6NqotJr.js";
44
+ import { Y as q } from "./index-C6NqotJr.js";
45
+ import { aP as Q } from "./index-C6NqotJr.js";
46
+ import { Z as J } from "./index-C6NqotJr.js";
47
+ import { _ as K } from "./index-C6NqotJr.js";
48
+ import { a4 as X } from "./index-C6NqotJr.js";
49
+ import { W as Y } from "./index-C6NqotJr.js";
50
+ import { an as Z } from "./index-C6NqotJr.js";
51
+ import { aq as _ } from "./index-C6NqotJr.js";
52
+ import { ac as $ } from "./index-C6NqotJr.js";
53
+ import { ad as aa } from "./index-C6NqotJr.js";
54
+ import { ao as ea } from "./index-C6NqotJr.js";
55
+ import { ai as sa } from "./index-C6NqotJr.js";
56
+ import { ap as oa } from "./index-C6NqotJr.js";
57
+ import { aj as ta } from "./index-C6NqotJr.js";
58
+ import { ak as ra } from "./index-C6NqotJr.js";
59
+ import { al as la } from "./index-C6NqotJr.js";
60
+ import { ar as ia } from "./index-C6NqotJr.js";
61
+ import { as as na } from "./index-C6NqotJr.js";
62
+ import { at as ga } from "./index-C6NqotJr.js";
63
+ import { au as ba } from "./index-C6NqotJr.js";
64
+ import { av as ua } from "./index-C6NqotJr.js";
65
+ import { aF as Pa } from "./index-C6NqotJr.js";
66
+ import { aH as da } from "./index-C6NqotJr.js";
67
+ import { ay as ma } from "./index-C6NqotJr.js";
68
+ import { a9 as Ca } from "./index-C6NqotJr.js";
69
+ import { aa as ca } from "./index-C6NqotJr.js";
70
+ import { aw as Ta } from "./index-C6NqotJr.js";
71
+ import { aL as Da } from "./index-C6NqotJr.js";
72
+ import { aM as pa } from "./index-C6NqotJr.js";
73
+ import { bg as Sa } from "./index-C6NqotJr.js";
74
+ import { aN as ha } from "./index-C6NqotJr.js";
75
+ import { aR as Fa } from "./index-C6NqotJr.js";
76
+ import { aT as va } from "./index-C6NqotJr.js";
77
+ import { bf as Ba } from "./index-C6NqotJr.js";
78
+ import { ax as fa } from "./index-C6NqotJr.js";
79
+ import { bh as Ia } from "./index-C6NqotJr.js";
80
+ import { bj as Aa } from "./index-C6NqotJr.js";
81
+ import { br as ya } from "./index-C6NqotJr.js";
82
+ import { R as Na } from "./index-C6NqotJr.js";
83
+ import { S as xa } from "./index-C6NqotJr.js";
84
+ import { a8 as ka } from "./index-C6NqotJr.js";
85
+ import { aO as wa } from "./index-C6NqotJr.js";
86
+ import { a_ as Ea } from "./index-C6NqotJr.js";
87
+ import { T as Oa } from "./index-C6NqotJr.js";
88
+ import { bn as La } from "./index-C6NqotJr.js";
89
+ import { bi as Ma } from "./index-C6NqotJr.js";
90
+ import { bq as Va } from "./index-C6NqotJr.js";
91
+ import { bp as Ra } from "./index-C6NqotJr.js";
92
+ import { aC as Wa } from "./index-C6NqotJr.js";
93
+ import { aD as ja } from "./index-C6NqotJr.js";
94
+ import { aE as Ga } from "./index-C6NqotJr.js";
95
+ import { bz as za } from "./index-C6NqotJr.js";
96
+ import { by as Ua } from "./index-C6NqotJr.js";
97
+ import { bx as Ha } from "./index-C6NqotJr.js";
98
+ import { bw as qa } from "./index-C6NqotJr.js";
99
+ import { x as Qa } from "./index-C6NqotJr.js";
100
+ import { bB as Ja } from "./index-C6NqotJr.js";
101
+ import { aA as Ka } from "./index-C6NqotJr.js";
102
+ import { g as Xa } from "./index-C6NqotJr.js";
103
+ import { bk as Ya } from "./index-C6NqotJr.js";
104
+ import { ah as Za } from "./index-C6NqotJr.js";
105
+ import { bA as _a } from "./index-C6NqotJr.js";
106
+ import { a as $a } from "./index-C6NqotJr.js";
107
+ import { e as ae } from "./index-C6NqotJr.js";
108
+ import { c as ee } from "./index-C6NqotJr.js";
109
+ import { f as se } from "./index-C6NqotJr.js";
110
+ import { p as oe } from "./index-C6NqotJr.js";
111
+ import { i as te } from "./index-C6NqotJr.js";
112
+ import { h as re } from "./index-C6NqotJr.js";
113
+ import { b as le } from "./index-C6NqotJr.js";
114
+ import { az as ie } from "./index-C6NqotJr.js";
115
+ import { aB as ne } from "./index-C6NqotJr.js";
116
+ import { bl as ge } from "./index-C6NqotJr.js";
117
+ import { n as be } from "./index-C6NqotJr.js";
118
+ import { a0 as ue } from "./index-C6NqotJr.js";
119
+ import { a1 as Pe } from "./index-C6NqotJr.js";
120
+ import { aS as de } from "./index-C6NqotJr.js";
121
+ import { b8 as me } from "./index-C6NqotJr.js";
122
+ import { b7 as Ce } from "./index-C6NqotJr.js";
123
+ import { b3 as ce } from "./index-C6NqotJr.js";
124
+ import { b5 as Te } from "./index-C6NqotJr.js";
125
+ import { b6 as De } from "./index-C6NqotJr.js";
126
+ import { bd as pe } from "./index-C6NqotJr.js";
127
+ import { am as Se } from "./index-C6NqotJr.js";
128
+ import { bt as he } from "./index-C6NqotJr.js";
129
+ import { aJ as Fe } from "./index-C6NqotJr.js";
130
+ import { bu as ve } from "./index-C6NqotJr.js";
131
+ import { a3 as Be } from "./index-C6NqotJr.js";
132
+ import { o as fe } from "./index-C6NqotJr.js";
133
+ import { v as Ie } from "./index-C6NqotJr.js";
134
+ import { a6 as Ae } from "./index-C6NqotJr.js";
135
+ import { a5 as ye } from "./index-C6NqotJr.js";
136
+ import { aI as Ne } from "./index-C6NqotJr.js";
137
+ import { aG as xe } from "./index-C6NqotJr.js";
138
+ import { aK as ke } from "./index-C6NqotJr.js";
139
+ import { u as we } from "./index-C6NqotJr.js";
140
+ import { be as Ee } from "./index-C6NqotJr.js";
141
+ import { l as Oe } from "./index-C6NqotJr.js";
142
+ import { a7 as Le } from "./index-C6NqotJr.js";
143
+ import { ba as Me } from "./index-C6NqotJr.js";
144
+ import { bb as Ve } from "./index-C6NqotJr.js";
145
+ import { bc as Re } from "./index-C6NqotJr.js";
146
+ import { b9 as We } from "./index-C6NqotJr.js";
147
+ import { bv as je } from "./index-C6NqotJr.js";
148
+ import { b1 as Ge } from "./index-C6NqotJr.js";
149
+ import { b4 as ze } from "./index-C6NqotJr.js";
150
+ import { b0 as Ue } from "./index-C6NqotJr.js";
151
+ import { b2 as He } from "./index-C6NqotJr.js";
152
+ import { a$ as qe } from "./index-C6NqotJr.js";
153
+ import { m as Qe } from "./index-C6NqotJr.js";
154
+ import { ag as Je } from "./index-C6NqotJr.js";
155
155
  export { s as BulkActionDialog, o as BulkSelector, t as BytesCell, r as Collapse, l as ColumnCardOption, i as ColumnDashboardOption, n as ColumnListOption, g as ColumnModalOption, b as ColumnPriority, u as ColumnTableOption, P as ColumnsDiv, d as CopyCell, m as DataEditorActions, C as DataEditorButtons, c as DateCell, T as DateRange, D as DateRangeFilterPresets, p as DateTimeCell, S as ElapsedTimeCell, h as FrameworkTranslationsProvider, F as GenericForm, v as Help, B as LabelColorE, f as LabelsCell, I as LoadingPage, A as MultiSelectDialog, y as PFColorE, N as PageActionSelection, x as PageActionType, k as PageActions, w as PageAlertToasterContext, E as PageAlertToasterProvider, O as PageApp, L as PageBody, M as PageChartContainer, V as PageDashboard, R as PageDashboardCard, W as PageDashboardChart, j as PageDashboardChartVariantE, G as PageDashboardContext, z as PageDashboardCount, U as PageDashboardDonutCard, H as PageDashboardGettingStarted, q as PageDetail, Q as PageDetailDiv, J as PageDetails, K as PageDetailsFromColumns, X as PageDialogProvider, Y as PageDonutChart, Z as PageForm, _ as PageFormCancelButton, $ as PageFormCheckbox, aa as PageFormDataEditor, ea as PageFormGrid, sa as PageFormSelect, oa as PageFormSubmitButton, ta as PageFormSwitch, ra as PageFormTextArea, la as PageFormTextInput, ia as PageFramework, na as PageHeader, ga as PageLayout, ba as PageMasthead, ua as PageMastheadToggle, Pa as PageNavSideBarContext, da as PageNavSideBarProvider, ma as PageNavigation, Ca as PageNotFound, ca as PageNotImplemented, Ta as PageNotificationsIcon, Da as PageSettingsContext, pa as PageSettingsProvider, Sa as PageTab, ha as PageTable, Fa as PageTableCard, va as PageTableCards, Ba as PageTabs, fa as PageThemeSwitcher, Ia as PageToolbar, Aa as PageToolbarFilters, ya as PageWizard, Na as RunningIcon, xa as Scrollable, ka as SelectDialog, wa as Small, Ea as TableColumnCell, Oa as TextCell, La as ToolbarDateRangeFilter, Ma as ToolbarFilterType, Va as ToolbarSingleTextFilter, Ra as ToolbarTextMultiFilter, Wa as addNavigationItem, ja as addNavigationItemAfter, Ga as addNavigationItemBefore, za as buildQueryString, Ua as compareNumbers, Ha as compareStrings, qa as compareUnknowns, Qa as errorToAlertProps, Ja as filtersToSearchObj, Ka as findNavigationItemById, Xa as getPatternflyColor, Ya as multiSelectBrowseAdapter, Za as objectToString, _a as paramsToSearchObj, $a as pfDanger, ae as pfDisabled, ee as pfInfo, se as pfLink, oe as pfSuccess, te as pfTopologyInfo, re as pfUnreachable, le as pfWarning, ie as removeLeadingSlash, ne as removeNavigationItemById, ge as singleSelectBrowseAdapter, be as useBreakpoint, ue as useBulkActionDialog, Pe as useBulkConfirmation, de as useColumnsToTableCardFn, me as useColumnsWithoutExpandedRow, Ce as useColumnsWithoutSort, ce as useDashboardColumns, Te as useDescriptionColumns, De as useExpandedColumns, pe as useFiltered, Se as useFormErrors, he as useFrameworkTranslations, Fe as useGetPageUrl, ve as useInMemoryView, Be as useIsPageDialog, fe as useOrientation, Ie as usePageAlertToaster, Ae as usePageDialog, ye as usePageDialogs, Ne as usePageNavBarClick, xe as usePageNavSideBar, ke as usePageNavigate, we as usePageSettings, Ee as usePaged, Oe as useScrollableState, Le as useSelectDialog, Me as useSelected, Ve as useSelectedInMemory, Re as useSorted, We as useTableItems, je as useView, Ge as useVisibleCardColumns, ze as useVisibleColumns, Ue as useVisibleListColumns, He as useVisibleModalColumns, qe as useVisibleTableColumns, Qe as useWindowSize, Je as valueToObject };