aquasis-fe-components 1.2.10 → 1.2.12

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.
@@ -53768,7 +53768,7 @@ class f0 {
53768
53768
  }
53769
53769
  s3(f0, "set", (t, n) => localStorage.setItem(`${N4}.${t}`, JSON.stringify(n))), s3(f0, "remove", (t) => localStorage.removeItem(`${N4}.${t}`));
53770
53770
  const An = {
53771
- ColorPrimary: "#00bbb4",
53771
+ ColorPrimary: "#60c5cf",
53772
53772
  PrimaryColorText: "#fff",
53773
53773
  ColorTextQuaternary: "#6f6f6f",
53774
53774
  PrimaryColorBgContainer: "rgb(48, 48, 48)",
@@ -53787,7 +53787,7 @@ const An = {
53787
53787
  ColorWhite: "#fff",
53788
53788
  ColorLinkHover: "#0e80c0"
53789
53789
  }, $n = {
53790
- ColorPrimary: "#00bbb4",
53790
+ ColorPrimary: "#60c5cf",
53791
53791
  PrimaryColorText: "#000",
53792
53792
  ColorTextQuaternary: "#d4d4d4",
53793
53793
  PrimaryColorBgContainer: "rgba(255, 255, 255, 1)",
@@ -1,4 +1,4 @@
1
- (function(sr,O){typeof exports=="object"&&typeof module<"u"?O(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],O):(sr=typeof globalThis<"u"?globalThis:sr||self,O(sr["Aquasis FE Components"]={},sr.React,sr.ReactDOM))})(this,function(sr,O,Tn){"use strict";var zNe=Object.defineProperty;var NNe=(sr,O,Tn)=>O in sr?zNe(sr,O,{enumerable:!0,configurable:!0,writable:!0,value:Tn}):sr[O]=Tn;var Sf=(sr,O,Tn)=>NNe(sr,typeof O!="symbol"?O+"":O,Tn);var xf=document.createElement("style");xf.textContent=`.helpdesk__container .ant-card .ant-card-body{height:100%;max-height:80dvh;overflow-y:auto}.helpdesk__content{border-radius:10px;padding:10px;max-width:400px;background-color:#f7f7f7}.helpdesk__title{padding:10px 16px}.helpdesk__title.ant-typography{color:#60c5cf}.helpdesk__fields-files{flex-direction:column;margin-top:10px;width:100%}.helpdesk__fields-files .ant-upload-list{margin-top:5px;width:100%}body.dark .helpdesk__content{background-color:#333}.form__item-multiTable .ant-transfer-list-body-customize-wrapper{overflow-y:auto}.release-notes-image.ant-upload-wrapper{width:100%}*{padding:0;margin:0;box-sizing:border-box}body{height:100vh;width:100vw;overflow:hidden;background-color:#fff}body #root{height:100%}body ::placeholder{color:#919191}body .map-container{height:90dvh;width:100%}body .map-container canvas{border-radius:8px}body .map-widgets-wrapper{padding:0;min-width:400px;max-height:540px;overflow-y:auto}body .page__title-container{margin:0;padding:10px 20px;height:auto;border-bottom:1px solid rgba(5,5,5,.06)}body .page__title-container h1,body .page__title-container h2,body .page__title-container h3,body .page__title-container h4,body .page__title-container h5{color:#60c5cf;margin:0}body .recaptcha{display:flex;justify-content:center;width:100%;margin-bottom:24px}body .ant-layout-sider-trigger{border-right:1px solid rgba(5,5,5,.06)}body .ant-skeleton.ant-skeleton-element,body .ant-skeleton.ant-skeleton-element .ant-skeleton-image{width:100%;height:100%}body .filter__buttons{display:flex;align-items:center;justify-content:center;width:100%;gap:10px}body .ant-form-item .ant-form-item-control-input{min-height:32px}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content{display:flex}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content .ant-upload-wrapper{display:flex;align-items:center}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content .ant-upload-wrapper .ant-upload-list-item{margin:0 0 0 10px}body .avatar-uploader.ant-upload-wrapper.ant-upload-picture-circle-wrapper .ant-upload,body .avatar-uploader.ant-upload-wrapper.ant-upload-picture-circle-wrapper .ant-upload-select{margin-inline-end:0;margin-bottom:0}body .avatar-uploader .float-btn{opacity:0;position:absolute;bottom:3px;left:40%;transition:opacity .5s ease;display:flex;justify-content:center;align-items:center}body .avatar-uploader .float-btn-container{width:100%;height:100%;display:flex;justify-content:center}body .avatar-uploader .float-btn-container:hover .float-btn{opacity:1}body .rule-form-badge{margin-right:5px}body .rule-form-badge.ant-badge.ant-badge-status .ant-badge-status-dot{width:20px;height:20px}body .skeleton__loading{height:100%}body .ant-list-items .ant-list-item .ant-list-item-action{margin-inline-start:12px}body .ant-notification .ant-notification-notice.table-notification{min-width:500px}body .ant-notification .ant-notification-notice.notification-error{width:250px;padding:14px 16px}body .ant-notification .ant-notification-notice.notification-error .ant-notification-notice-icon{font-size:20px}body .ant-notification .ant-notification-notice.notification-error .ant-notification-notice-close{top:14px;right:14px}body .ant-notification .ant-notification-notice.notification-error .ant-notification-notice-message{font-size:14px;margin-inline-start:30px}body .ant-notification .ant-notification-notice.notification-error .ant-notification-notice-description{font-size:12px;margin-inline-start:30px}body .ant-spin-nested-loading,body .ant-spin-nested-loading .ant-spin-container{height:100%;width:100%}body .ant-skeleton.ant-skeleton-element.custom-skeleton{display:flex}body .esri-attribution{display:none}body .ant-carousel .slick-slider .slick-arrow{color:#60c5cf}body .ant-carousel .slick-slider .slick-list .slick-track .slick-slide{width:100%}body.dark{background-color:#333}body.dark .ant-layout-sider-trigger{border-right:1px solid rgba(253,253,253,.12)}body.dark .page__title-container{border-bottom:1px solid rgba(253,253,253,.12)}body.dark .ant-popover .ant-popover-arrow{--antd-arrow-background-color: #3b3b3b}body.dark .ant-popover .ant-popover-content .ant-popover-inner{background-color:#3b3b3b}body.dark .ant-badge .ant-badge-count{color:#fff;box-shadow:0 0 0 1px #3b3b3b}
1
+ (function(sr,O){typeof exports=="object"&&typeof module<"u"?O(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],O):(sr=typeof globalThis<"u"?globalThis:sr||self,O(sr["Aquasis FE Components"]={},sr.React,sr.ReactDOM))})(this,function(sr,O,Tn){"use strict";var zNe=Object.defineProperty;var NNe=(sr,O,Tn)=>O in sr?zNe(sr,O,{enumerable:!0,configurable:!0,writable:!0,value:Tn}):sr[O]=Tn;var Sf=(sr,O,Tn)=>NNe(sr,typeof O!="symbol"?O+"":O,Tn);var xf=document.createElement("style");xf.textContent=`.helpdesk__container .ant-card .ant-card-body{height:100%;max-height:80dvh;overflow-y:auto}.helpdesk__content{border-radius:10px;padding:10px;max-width:400px;background-color:#f7f7f7}.helpdesk__title{padding:10px 16px}.helpdesk__title.ant-typography{color:#60c5cf}.helpdesk__fields-files{flex-direction:column;margin-top:10px;width:100%}.helpdesk__fields-files .ant-upload-list{margin-top:5px;width:100%}body.dark .helpdesk__content{background-color:#333}.form__item-multiTable .ant-transfer-list-body-customize-wrapper{overflow-y:auto}.release-notes-image.ant-upload-wrapper{width:100%}*{padding:0;margin:0;box-sizing:border-box}body{height:100vh;width:100vw;overflow:hidden;background-color:#fff}body #root{height:100%}body ::placeholder{color:#919191}body .map-container{height:90dvh;width:100%}body .map-container canvas{border-radius:8px}body .map-widgets-wrapper{padding:0;min-width:400px;max-height:540px;overflow-y:auto}body .page__title-container{margin:0;padding:10px 20px;height:auto;border-bottom:1px solid rgba(5,5,5,.06)}body .page__title-container h1,body .page__title-container h2,body .page__title-container h3,body .page__title-container h4,body .page__title-container h5{color:#60c5cf;margin:0}body .recaptcha{display:flex;justify-content:center;width:100%;margin-bottom:24px}body .ant-layout-sider-trigger{border-right:1px solid rgba(5,5,5,.06)}body .ant-skeleton.ant-skeleton-element,body .ant-skeleton.ant-skeleton-element .ant-skeleton-image{width:100%;height:100%}body .filter__buttons{display:flex;align-items:center;justify-content:center;width:100%;gap:10px}body .ant-form-item .ant-form-item-control-input{min-height:32px}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content{display:flex}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content .ant-upload-wrapper{display:flex;align-items:center}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content .ant-upload-wrapper .ant-upload-list-item{margin:0 0 0 10px}body .avatar-uploader.ant-upload-wrapper.ant-upload-picture-circle-wrapper .ant-upload,body .avatar-uploader.ant-upload-wrapper.ant-upload-picture-circle-wrapper .ant-upload-select{margin-inline-end:0;margin-bottom:0}body .avatar-uploader .float-btn{opacity:0;position:absolute;bottom:3px;left:40%;transition:opacity .5s ease;display:flex;justify-content:center;align-items:center}body .avatar-uploader .float-btn-container{width:100%;height:100%;display:flex;justify-content:center}body .avatar-uploader .float-btn-container:hover .float-btn{opacity:1}body .rule-form-badge{margin-right:5px}body .rule-form-badge.ant-badge.ant-badge-status .ant-badge-status-dot{width:20px;height:20px}body .skeleton__loading{height:100%}body .ant-list-items .ant-list-item .ant-list-item-action{margin-inline-start:12px}body .ant-notification .ant-notification-notice.table-notification{min-width:500px}body .ant-notification .ant-notification-notice.notification-error{width:250px;padding:14px 16px}body .ant-notification .ant-notification-notice.notification-error .ant-notification-notice-icon{font-size:20px}body .ant-notification .ant-notification-notice.notification-error .ant-notification-notice-close{top:14px;right:14px}body .ant-notification .ant-notification-notice.notification-error .ant-notification-notice-message{font-size:14px;margin-inline-start:30px}body .ant-notification .ant-notification-notice.notification-error .ant-notification-notice-description{font-size:12px;margin-inline-start:30px}body .ant-spin-nested-loading,body .ant-spin-nested-loading .ant-spin-container{height:100%;width:100%}body .ant-skeleton.ant-skeleton-element.custom-skeleton{display:flex}body .esri-attribution{display:none}body .ant-carousel .slick-slider .slick-arrow{color:#60c5cf}body .ant-carousel .slick-slider .slick-dots>li>button{background:#60c5cf}body .ant-carousel .slick-slider .slick-list .slick-track .slick-slide{width:100%}body.dark{background-color:#333}body.dark .ant-layout-sider-trigger{border-right:1px solid rgba(253,253,253,.12)}body.dark .page__title-container{border-bottom:1px solid rgba(253,253,253,.12)}body.dark .ant-popover .ant-popover-arrow{--antd-arrow-background-color: #3b3b3b}body.dark .ant-popover .ant-popover-content .ant-popover-inner{background-color:#3b3b3b}body.dark .ant-badge .ant-badge-count{color:#fff;box-shadow:0 0 0 1px #3b3b3b}
2
2
  `,document.head.appendChild(xf);function Lf(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=Lf(O),cT=Lf(Tn);var z2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function jr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Gs={exports:{}},Ys={};/**
3
3
  * @license React
4
4
  * use-sync-external-store-with-selector.production.min.js
@@ -487,7 +487,7 @@ html body {
487
487
  * Copyright(c) 2012-2014 Roman Shtylman
488
488
  * Copyright(c) 2015 Douglas Christopher Wilson
489
489
  * MIT Licensed
490
- */var px;function K1e(){if(px)return B0;px=1,B0.parse=i,B0.serialize=s;var e=Object.prototype.toString,t=Object.prototype.hasOwnProperty,n=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,r=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,a=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,o=/^[\u0020-\u003A\u003D-\u007E]*$/;function i(p,h){if(typeof p!="string")throw new TypeError("argument str must be a string");var v={},g=p.length;if(g<2)return v;var C=h&&h.decode||d,b=0,y=0,x=0;do{if(y=p.indexOf("=",b),y===-1)break;if(x=p.indexOf(";",b),x===-1)x=g;else if(y>x){b=p.lastIndexOf(";",y-1)+1;continue}var S=c(p,b,y),L=l(p,y,S),E=p.slice(S,L);if(!t.call(v,E)){var M=c(p,y+1,x),w=l(p,x,M);p.charCodeAt(M)===34&&p.charCodeAt(w-1)===34&&(M++,w--);var z=p.slice(M,w);v[E]=m(z,C)}b=x+1}while(b<g);return v}function c(p,h,v){do{var g=p.charCodeAt(h);if(g!==32&&g!==9)return h}while(++h<v);return v}function l(p,h,v){for(;h>v;){var g=p.charCodeAt(--h);if(g!==32&&g!==9)return h+1}return v}function s(p,h,v){var g=v&&v.encode||encodeURIComponent;if(typeof g!="function")throw new TypeError("option encode is invalid");if(!n.test(p))throw new TypeError("argument name is invalid");var C=g(h);if(!r.test(C))throw new TypeError("argument val is invalid");var b=p+"="+C;if(!v)return b;if(v.maxAge!=null){var y=Math.floor(v.maxAge);if(!isFinite(y))throw new TypeError("option maxAge is invalid");b+="; Max-Age="+y}if(v.domain){if(!a.test(v.domain))throw new TypeError("option domain is invalid");b+="; Domain="+v.domain}if(v.path){if(!o.test(v.path))throw new TypeError("option path is invalid");b+="; Path="+v.path}if(v.expires){var x=v.expires;if(!f(x)||isNaN(x.valueOf()))throw new TypeError("option expires is invalid");b+="; Expires="+x.toUTCString()}if(v.httpOnly&&(b+="; HttpOnly"),v.secure&&(b+="; Secure"),v.partitioned&&(b+="; Partitioned"),v.priority){var S=typeof v.priority=="string"?v.priority.toLowerCase():v.priority;switch(S){case"low":b+="; Priority=Low";break;case"medium":b+="; Priority=Medium";break;case"high":b+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(v.sameSite){var L=typeof v.sameSite=="string"?v.sameSite.toLowerCase():v.sameSite;switch(L){case!0:b+="; SameSite=Strict";break;case"lax":b+="; SameSite=Lax";break;case"strict":b+="; SameSite=Strict";break;case"none":b+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return b}function d(p){return p.indexOf("%")!==-1?decodeURIComponent(p):p}function f(p){return e.call(p)==="[object Date]"}function m(p,h){try{return h(p)}catch{return p}}return B0}var H0=K1e();function q1e(){const e=typeof global>"u"?void 0:global.TEST_HAS_DOCUMENT_COOKIE;return typeof e=="boolean"?e:typeof document=="object"&&typeof document.cookie=="string"}function G1e(e){return typeof e=="string"?H0.parse(e):typeof e=="object"&&e!==null?e:{}}function ad(e,t={}){const n=Y1e(e);if(!t.doNotParse)try{return JSON.parse(n)}catch{}return e}function Y1e(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class X1e{constructor(t,n={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const a=this.cookies;this.cookies=H0.parse(document.cookie),this._checkChanges(a)};const r=typeof document>"u"?"":document.cookie;this.cookies=G1e(t||r),this.defaultSetOptions=n,this.HAS_DOCUMENT_COOKIE=q1e()}_emitChange(t){for(let n=0;n<this.changeListeners.length;++n)this.changeListeners[n](t)}_checkChanges(t){new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach(r=>{t[r]!==this.cookies[r]&&this._emitChange({name:r,value:ad(this.cookies[r])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,n={}){return n.doNotUpdate||this.update(),ad(this.cookies[t],n)}getAll(t={}){t.doNotUpdate||this.update();const n={};for(let r in this.cookies)n[r]=ad(this.cookies[r],t);return n}set(t,n,r){r?r=Object.assign(Object.assign({},this.defaultSetOptions),r):r=this.defaultSetOptions;const a=typeof n=="string"?n:JSON.stringify(n);this.cookies=Object.assign(Object.assign({},this.cookies),{[t]:a}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=H0.serialize(t,a,r)),this._emitChange({name:t,value:n,options:r})}remove(t,n){const r=n=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),n),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=H0.serialize(t,"",r)),this._emitChange({name:t,value:void 0,options:n})}addChangeListener(t){this.changeListeners.push(t),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===1&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(t){const n=this.changeListeners.indexOf(t);n>=0&&this.changeListeners.splice(n,1),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===0&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}const Q1e=()=>localStorage.i18nextLng.replace(/([a-zA-Z]*)[-][a-zA-Z]*/g,"$1").toUpperCase(),J1e=()=>mo(R1.AppId);function mo(e){return new X1e(null,{path:"/"}).get(`ga-${e}`)}const Z1e=(e,t)=>{const n=new FileReader;n.addEventListener("load",()=>t(n.result)),n.readAsDataURL(e)},e2e=e=>{const t=e.type==="image/jpeg"||e.type==="image/png";t||x0.error("You can only upload JPG/PNG file!");const n=e.size/1024/1024<2;return n||x0.error("Image must smaller than 2MB!"),t&&n},gx=e=>e&&oR+e,t2e=e=>{var t;return e&&((t=e.split(","))==null?void 0:t.slice(1).join(""))},n2e=(e,t,n)=>e.map(r=>({label:r[t],value:r[n]})),od=mo(R1.AppName);class V0{static get(t){const n=localStorage.getItem(`${od}.${t}`);try{return JSON.parse(n)}catch{return n}}}Sf(V0,"set",(t,n)=>localStorage.setItem(`${od}.${t}`,JSON.stringify(n))),Sf(V0,"remove",t=>localStorage.removeItem(`${od}.${t}`));const On={ColorPrimary:"#00bbb4",PrimaryColorText:"#fff",ColorTextQuaternary:"#6f6f6f",PrimaryColorBgContainer:"rgb(48, 48, 48)",SecondaryBorderColor:"#101010",ColorBgHeader:"rgb(35, 35, 35)",ColorBgContent:"rgb(35, 35, 35)",ColorBgActive:"#3b3b3b",ColorBgChartBtn:"rgb(80, 80, 83)",DisabledColor:"rgb(102, 102, 102)",ChartDefColor:"rgb(214, 214, 214)",ChartSecColor:"rgb(51, 51, 51)",NeutralColor1:"rgba(255, 255, 255, 1)",NeutralColor2:"rgba(255, 255, 255, 0.4)",NeutralColor3:"rgba(255, 255, 255, 0.1)",ColorBgTrigger:"rgb(80, 80, 83)",ColorWhite:"#fff",ColorLinkHover:"#0e80c0"},En={ColorPrimary:"#00bbb4",PrimaryColorText:"#000",ColorTextQuaternary:"#d4d4d4",PrimaryColorBgContainer:"rgba(255, 255, 255, 1)",SecondaryBorderColor:"rgba(229,229,229, 1)",ColorBgHeader:"rgb(241, 241, 241)",ColorBgContent:"rgba(250, 250, 250, 0.85)",ColorBgActive:"#e3e3e3",ColorBgChartBtn:"rgb(247, 247, 247)",DisabledColor:"rgb(204, 204, 204)",ChartDefColor:"rgb(51, 51, 51)",ChartSecColor:"rgb(214, 214, 214)",NeutralColor1:"#000000",NeutralColor2:"#919191",NeutralColor3:"rgba(0,0,0,0.12)",ColorBgTrigger:"#d4d4d4",ColorWhite:"#fff",ColorLinkHover:"#0e80c0"},{defaultAlgorithm:r2e,darkAlgorithm:a2e}=Fre,o2e={algorithm:a2e,token:{colorPrimary:On.ColorPrimary,colorText:On.PrimaryColorText,colorTextQuaternary:On.ColorTextQuaternary,colorLinkHover:On.ColorLinkHover},components:{Checkbox:{colorText:On.PrimaryColorText},Card:{colorBgContainer:On.ColorBgActive,colorBorderSecondary:On.SecondaryBorderColor,padding:16,paddingXS:8,paddingSM:8,paddingLG:16},Table:{colorText:On.PrimaryColorText,colorTextHeading:On.PrimaryColorText},Modal:{titleColor:On.PrimaryColorText,titleFontSize:25,titleLineHeight:2},Form:{colorTextLabel:On.PrimaryColorText,itemMarginBottom:10},Layout:{headerBg:On.ColorBgHeader,bodyBg:On.ColorBgHeader,triggerBg:On.ColorBgTrigger,siderBg:On.ColorBgHeader,footerBg:"transparent"},Menu:{colorBgContainer:On.ColorBgHeader,controlItemBgActive:On.ColorBgActive},DatePicker:{controlItemBgActive:On.ColorBgActive},Tabs:{colorBorderSecondary:On.SecondaryBorderColor},Button:{colorLink:On.ColorPrimary}}},i2e={algorithm:r2e,token:{colorPrimary:En.ColorPrimary,colorText:En.PrimaryColorText,colorTextQuaternary:En.ColorTextQuaternary,colorLinkHover:En.ColorLinkHover},components:{Checkbox:{colorText:En.PrimaryColorText},Card:{colorBgContainer:En.PrimaryColorBgContainer,colorBorderSecondary:En.SecondaryBorderColor,padding:16,paddingXS:8,paddingSM:8,paddingLG:16},Table:{colorText:En.PrimaryColorText,colorTextHeading:En.PrimaryColorText},Modal:{colorBgElevated:En.PrimaryColorBgContainer,titleColor:En.PrimaryColorText,titleFontSize:25,titleLineHeight:2},Form:{colorTextLabel:En.PrimaryColorText,itemMarginBottom:10},Layout:{headerBg:En.ColorBgHeader,bodyBg:En.ColorBgContent,triggerBg:En.ColorBgTrigger,siderBg:En.ColorBgHeader,footerBg:"transparent"},Menu:{colorBgContainer:En.ColorBgHeader,controlItemBgActive:En.ColorBgActive},Button:{colorLink:En.ColorPrimary},Tabs:{colorBgContainer:En.ColorPrimary,colorBorderSecondary:En.SecondaryBorderColor,itemSelectedColor:En.ColorPrimary}}};var c2e={items_per_page:"/ página",jump_to:"Ir a",jump_to_confirm:"confirmar",page:"Página",prev_page:"Página anterior",next_page:"Página siguiente",prev_5:"5 páginas previas",next_5:"5 páginas siguientes",prev_3:"3 páginas previas",next_3:"3 páginas siguientes",page_size:"tamaño de página"},l2e=H(H({},ko),{},{locale:"es_ES",today:"Hoy",now:"Ahora",backToToday:"Volver a hoy",ok:"Aceptar",clear:"Limpiar",month:"Mes",year:"Año",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar fecha",monthSelect:"Elegir un mes",yearSelect:"Elegir un año",decadeSelect:"Elegir una década",dateFormat:"D/M/YYYY",dateTimeFormat:"D/M/YYYY HH:mm:ss",previousMonth:"Mes anterior (PageUp)",nextMonth:"Mes siguiente (PageDown)",previousYear:"Año anterior (Control + left)",nextYear:"Año siguiente (Control + right)",previousDecade:"Década anterior",nextDecade:"Década siguiente",previousCentury:"Siglo anterior",nextCentury:"Siglo siguiente"});const hx={placeholder:"Seleccionar hora"},vx={lang:Object.assign({placeholder:"Seleccionar fecha",rangePlaceholder:["Fecha inicial","Fecha final"],shortWeekDays:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"],shortMonths:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"]},l2e),timePickerLocale:Object.assign({},hx)},Pr="${label} no es un ${type} válido",s2e={locale:"es",Pagination:c2e,DatePicker:vx,TimePicker:hx,Calendar:vx,global:{placeholder:"Seleccione"},Table:{filterTitle:"Filtrar menú",filterConfirm:"Aceptar",filterReset:"Reiniciar",filterEmptyText:"Sin filtros",filterCheckall:"Seleccionar todo",filterSearchPlaceholder:"Buscar en filtros",emptyText:"Sin datos",selectAll:"Seleccionar todo",selectInvert:"Invertir selección",selectNone:"Vacíe todo",selectionAll:"Seleccionar todos los datos",sortTitle:"Ordenar",expand:"Expandir fila",collapse:"Colapsar fila",triggerDesc:"Click para ordenar en orden descendente",triggerAsc:"Click para ordenar en orden ascendente",cancelSort:"Click para cancelar ordenamiento"},Tour:{Next:"Siguiente",Previous:"Anterior",Finish:"Finalizar"},Modal:{okText:"Aceptar",cancelText:"Cancelar",justOkText:"Aceptar"},Popconfirm:{okText:"Aceptar",cancelText:"Cancelar"},Transfer:{titles:["",""],searchPlaceholder:"Buscar aquí",itemUnit:"elemento",itemsUnit:"elementos",remove:"Eliminar",selectCurrent:"Seleccionar página actual",removeCurrent:"Eliminar página actual",selectAll:"Seleccionar todos los datos",removeAll:"Eliminar todos los datos",selectInvert:"Invertir página actual"},Upload:{uploading:"Subiendo...",removeFile:"Eliminar archivo",uploadError:"Error al subir el archivo",previewFile:"Vista previa",downloadFile:"Descargar archivo"},Empty:{description:"No hay datos"},Icon:{icon:"ícono"},Text:{edit:"Editar",copy:"Copiar",copied:"Copiado",expand:"Expandir"},Form:{optional:"(opcional)",defaultValidateMessages:{default:"Error de validación del campo ${label}",required:"Por favor, rellena ${label}",enum:"${label} debe ser uno de [${enum}]",whitespace:"${label} no puede ser un carácter en blanco",date:{format:"El formato de fecha de ${label} es inválido",parse:"${label} no se puede convertir a una fecha",invalid:"${label} es una fecha inválida"},types:{string:Pr,method:Pr,array:Pr,object:Pr,number:Pr,date:Pr,boolean:Pr,integer:Pr,float:Pr,regexp:Pr,email:Pr,url:Pr,hex:Pr},string:{len:"${label} debe tener ${len} caracteres",min:"${label} debe tener al menos ${min} caracteres",max:"${label} debe tener hasta ${max} caracteres",range:"${label} debe tener entre ${min}-${max} caracteres"},number:{len:"${label} debe ser igual a ${len}",min:"${label} valor mínimo es ${min}",max:"${label} valor máximo es ${max}",range:"${label} debe ser entre ${min}-${max}"},array:{len:"Debe ser ${len} ${label}",min:"Al menos ${min} ${label}",max:"Como máximo ${max} ${label}",range:"El valor de ${label} debe estar entre ${min}-${max}"},pattern:{mismatch:"${label} no coincide con el patrón ${pattern}"}}},Image:{preview:"Previsualización"}};var u2e={items_per_page:"件 / ページ",jump_to:"移動",jump_to_confirm:"確認する",page:"ページ",prev_page:"前のページ",next_page:"次のページ",prev_5:"前 5ページ",next_5:"次 5ページ",prev_3:"前 3ページ",next_3:"次 3ページ",page_size:"ページサイズ"},d2e=H(H({},ko),{},{locale:"ja_JP",today:"今日",now:"現在時刻",backToToday:"今日に戻る",ok:"確定",timeSelect:"時間を選択",dateSelect:"日時を選択",weekSelect:"週を選択",clear:"クリア",month:"月",year:"年",previousMonth:"前月 (ページアップキー)",nextMonth:"翌月 (ページダウンキー)",monthSelect:"月を選択",yearSelect:"年を選択",decadeSelect:"年代を選択",yearFormat:"YYYY年",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH時mm分ss秒",previousYear:"前年 (Controlを押しながら左キー)",nextYear:"翌年 (Controlを押しながら右キー)",previousDecade:"前の年代",nextDecade:"次の年代",previousCentury:"前の世紀",nextCentury:"次の世紀",monthBeforeYear:!1});const bx={placeholder:"時間を選択",rangePlaceholder:["開始時間","終了時間"]},Cx={lang:Object.assign({placeholder:"日付を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",monthPlaceholder:"月を選択",weekPlaceholder:"週を選択",rangePlaceholder:["開始日付","終了日付"],rangeYearPlaceholder:["開始年","終了年"],rangeMonthPlaceholder:["開始月","終了月"],rangeQuarterPlaceholder:["開始四半期","終了四半期"],rangeWeekPlaceholder:["開始週","終了週"],shortWeekDays:["日","月","火","水","木","金","土"],shortMonths:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},d2e),timePickerLocale:Object.assign({},bx)},Tr="${label}は有効な${type}ではありません",f2e={locale:"ja",Pagination:u2e,DatePicker:Cx,TimePicker:bx,Calendar:Cx,global:{placeholder:"選んでください"},Table:{filterTitle:"フィルター",filterConfirm:"OK",filterReset:"リセット",filterEmptyText:"フィルターなし",filterCheckall:"すべてを選択",filterSearchPlaceholder:"フィルターで検索",emptyText:"データなし",selectAll:"ページ単位で選択",selectInvert:"ページ単位で反転",selectNone:"クリア",selectionAll:"すべてを選択",sortTitle:"ソート",expand:"展開する",collapse:"折り畳む",triggerDesc:"クリックで降順にソート",triggerAsc:"クリックで昇順にソート",cancelSort:"ソートをキャンセル"},Tour:{Next:"次",Previous:"前の",Finish:"仕上げる"},Modal:{okText:"OK",cancelText:"キャンセル",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"キャンセル"},Transfer:{titles:["",""],searchPlaceholder:"ここを検索",itemUnit:"アイテム",itemsUnit:"アイテム",remove:"削除",selectCurrent:"現在のページを選択",removeCurrent:"現在のページを削除",selectAll:"ページ単位で選択",deselectAll:"すべてのデータの選択を解除する",removeAll:"ページ単位で削除",selectInvert:"ページ単位で反転"},Upload:{uploading:"アップロード中...",removeFile:"ファイルを削除",uploadError:"アップロードエラー",previewFile:"ファイルをプレビュー",downloadFile:"ダウンロードファイル"},Empty:{description:"データがありません"},Icon:{icon:"アイコン"},Text:{edit:"編集",copy:"コピー",copied:"コピーされました",expand:"拡大する",collapse:"崩壊"},Form:{optional:"(オプション)",defaultValidateMessages:{default:"${label}のフィールド検証エラー",required:"${label}を入力してください",enum:"${label}は[${enum}]のいずれかである必要があります",whitespace:"${label}は空白文字にすることはできません",date:{format:"${label}の日付形式は不正です",parse:"${label}は日付に変換できません",invalid:"${label}は不正な日付です"},types:{string:Tr,method:Tr,array:Tr,object:Tr,number:Tr,date:Tr,boolean:Tr,integer:Tr,float:Tr,regexp:Tr,email:Tr,url:Tr,hex:Tr},string:{len:"${label}は${len}文字である必要があります",min:"${label}は${min}文字以上である必要があります",max:"${label}は${max}文字以下である必要があります",range:"${label}は${min}-${max}文字の範囲である必要があります"},number:{len:"${label}は${len}と等しい必要があります",min:"${label}の最小値は${min}です",max:"${label}の最大値は${max}です",range:"${label}は${min}-${max}の範囲である必要があります"},array:{len:"${label}は${len}である必要があります",min:"${label}の最小は${min}です",max:"${label}の最大は${max}です",range:"${label}の合計は${min}-${max}の範囲である必要があります"},pattern:{mismatch:"${label}はパターン${pattern}と一致しません"}}},Image:{preview:"プレビュー"},QRCode:{expired:"QRコードの有効期限が切れました",refresh:"リフレッシュ",scanned:"スキャン済み"},ColorPicker:{presetEmpty:"空の",transparent:"透明",singleColor:"単色",gradientColor:"グラデーション"}};var m2e={items_per_page:"/ página",jump_to:"Vá até",jump_to_confirm:"confirme",page:"Página",prev_page:"Página anterior",next_page:"Próxima página",prev_5:"5 páginas anteriores",next_5:"5 próximas páginas",prev_3:"3 páginas anteriores",next_3:"3 próximas páginas",page_size:"tamanho da página"},p2e=H(H({},ko),{},{locale:"pt_BR",today:"Hoje",now:"Agora",backToToday:"Voltar para hoje",ok:"OK",clear:"Limpar",month:"Mês",year:"Ano",timeSelect:"Selecionar hora",dateSelect:"Selecionar data",monthSelect:"Escolher mês",yearSelect:"Escolher ano",decadeSelect:"Escolher década",dateFormat:"D/M/YYYY",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!1,previousMonth:"Mês anterior (PageUp)",nextMonth:"Próximo mês (PageDown)",previousYear:"Ano anterior (Control + esquerda)",nextYear:"Próximo ano (Control + direita)",previousDecade:"Década anterior",nextDecade:"Próxima década",previousCentury:"Século anterior",nextCentury:"Próximo século",shortWeekDays:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],shortMonths:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"]});const yx={placeholder:"Hora"},Sx={lang:Object.assign({placeholder:"Selecionar data",rangePlaceholder:["Data inicial","Data final"]},p2e),timePickerLocale:Object.assign({},yx)},Rr="${label} não é um ${type} válido",xx={locale:"pt-br",Pagination:m2e,DatePicker:Sx,TimePicker:yx,Calendar:Sx,global:{placeholder:"Por favor escolha"},Table:{filterTitle:"Menu de Filtro",filterConfirm:"OK",filterReset:"Resetar",filterEmptyText:"Sem filtros",filterCheckall:"Selecionar todos os itens",filterSearchPlaceholder:"Pesquisar nos filtros",emptyText:"Sem conteúdo",selectAll:"Selecionar página atual",selectInvert:"Inverter seleção",selectNone:"Apagar todo o conteúdo",selectionAll:"Selecionar todo o conteúdo",sortTitle:"Ordenar título",expand:"Expandir linha",collapse:"Colapsar linha",triggerDesc:"Clique organiza por descendente",triggerAsc:"Clique organiza por ascendente",cancelSort:"Clique para cancelar organização"},Tour:{Next:"Próximo",Previous:"Anterior",Finish:"Finalizar"},Modal:{okText:"OK",cancelText:"Cancelar",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancelar"},Transfer:{titles:["",""],searchPlaceholder:"Procurar",itemUnit:"item",itemsUnit:"items",remove:"Remover",selectCurrent:"Selecionar página atual",removeCurrent:"Remover página atual",selectAll:"Selecionar todos",removeAll:"Remover todos",selectInvert:"Inverter seleção atual"},Upload:{uploading:"Enviando...",removeFile:"Remover arquivo",uploadError:"Erro no envio",previewFile:"Visualizar arquivo",downloadFile:"Baixar arquivo"},Empty:{description:"Não há dados"},Icon:{icon:"ícone"},Text:{edit:"editar",copy:"copiar",copied:"copiado",expand:"expandir"},Form:{optional:"(opcional)",defaultValidateMessages:{default:"Erro ${label} na validação de campo",required:"Por favor, insira ${label}",enum:"${label} deve ser um dos seguinte: [${enum}]",whitespace:"${label} não pode ser um carácter vazio",date:{format:" O formato de data ${label} é inválido",parse:"${label} não pode ser convertido para uma data",invalid:"${label} é uma data inválida"},types:{string:Rr,method:Rr,array:Rr,object:Rr,number:Rr,date:Rr,boolean:Rr,integer:Rr,float:Rr,regexp:Rr,email:Rr,url:Rr,hex:Rr},string:{len:"${label} deve possuir ${len} caracteres",min:"${label} deve possuir ao menos ${min} caracteres",max:"${label} deve possuir no máximo ${max} caracteres",range:"${label} deve possuir entre ${min} e ${max} caracteres"},number:{len:"${label} deve ser igual à ${len}",min:"O valor mínimo de ${label} é ${min}",max:"O valor máximo de ${label} é ${max}",range:"${label} deve estar entre ${min} e ${max}"},array:{len:"Deve ser ${len} ${label}",min:"No mínimo ${min} ${label}",max:"No máximo ${max} ${label}",range:"A quantidade de ${label} deve estar entre ${min} e ${max}"},pattern:{mismatch:"${label} não se encaixa no padrão ${pattern}"}}},Image:{preview:"Pré-visualização"}};var g2e={items_per_page:"/ pagină",jump_to:"Mergi la",jump_to_confirm:"confirm",page:"",prev_page:"Pagina Anterioară",next_page:"Pagina Următoare",prev_5:"5 Pagini Anterioare",next_5:"5 Pagini Următoare",prev_3:"3 Pagini Anterioare",next_3:"3 Pagini Următoare",page_size:"Page Size"},h2e=H(H({},ko),{},{locale:"ro_RO",today:"Azi",now:"Acum",backToToday:"Înapoi la azi",ok:"OK",clear:"Șterge",month:"Lună",year:"An",timeSelect:"selectează timpul",dateSelect:"selectează data",weekSelect:"Alege o săptămână",monthSelect:"Alege o lună",yearSelect:"Alege un an",decadeSelect:"Alege un deceniu",dateFormat:"D/M/YYYY",dateTimeFormat:"D/M/YYYY HH:mm:ss",previousMonth:"Luna anterioară (PageUp)",nextMonth:"Luna următoare (PageDown)",previousYear:"Anul anterior (Control + stânga)",nextYear:"Anul următor (Control + dreapta)",previousDecade:"Deceniul anterior",nextDecade:"Deceniul următor",previousCentury:"Secolul anterior",nextCentury:"Secolul următor"});const Lx={placeholder:"Selectează ora"},Ex={lang:Object.assign({placeholder:"Selectează data",rangePlaceholder:["Data start","Data sfârșit"]},h2e),timePickerLocale:Object.assign({},Lx)},Ar="${label} nu conține tipul corect (${type})",v2e={locale:"ro",Pagination:g2e,DatePicker:Ex,TimePicker:Lx,Calendar:Ex,global:{placeholder:"Selectează"},Table:{filterTitle:"Filtrează",filterConfirm:"OK",filterReset:"Resetează",filterEmptyText:"Fără filtre",emptyText:"Nu există date",selectAll:"Selectează pagina curentă",selectInvert:"Inversează pagina curentă",selectNone:"Șterge selecția",selectionAll:"Selectează toate datele",sortTitle:"Ordonează",expand:"Extinde rândul",collapse:"Micșorează rândul",triggerDesc:"Apasă pentru ordonare descrescătoare",triggerAsc:"Apasă pentru ordonare crescătoare",cancelSort:"Apasă pentru a anula ordonarea"},Modal:{okText:"OK",cancelText:"Anulare",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Anulare"},Transfer:{titles:["",""],searchPlaceholder:"Căutare",itemUnit:"element",itemsUnit:"elemente",remove:"Șterge",selectCurrent:"Selectează pagina curentă",removeCurrent:"Șterge pagina curentă",selectAll:"Selectează toate datele",removeAll:"Șterge toate datele",selectInvert:"Inversează pagina curentă"},Upload:{uploading:"Se transferă...",removeFile:"Înlătură fișierul",uploadError:"Eroare la upload",previewFile:"Previzualizare fișier",downloadFile:"Descărcare fișier"},Empty:{description:"Fără date"},Icon:{icon:"icon"},Text:{edit:"editează",copy:"copiază",copied:"copiat",expand:"extinde"},Form:{optional:"(opțional)",defaultValidateMessages:{default:"Eroare la validarea câmpului ${label}",required:"Vă rugăm introduceți ${label}",enum:"${label} trebuie să fie una din valorile [${enum}]",whitespace:"${label} nu poate fi gol",date:{format:"${label} - data nu este în formatul corect",parse:"${label} nu poate fi convertit la o dată",invalid:"${label} este o dată invalidă"},types:{string:Ar,method:Ar,array:Ar,object:Ar,number:Ar,date:Ar,boolean:Ar,integer:Ar,float:Ar,regexp:Ar,email:Ar,url:Ar,hex:Ar},string:{len:"${label} trebuie să conțină ${len} caractere",min:"${label} trebuie să conțină cel puțin ${min} caractere",max:"${label} trebuie să conțină cel mult ${max} caractere",range:"${label} trebuie să conțină între ${min}-${max} caractere"},number:{len:"${label} trebuie să conțină ${len} cifre",min:"${label} trebuie să fie minim ${min}",max:"${label} trebuie să fie maxim ${max}",range:"${label} trebuie să fie între ${min}-${max}"},array:{len:"${label} trebuie să conțină ${len} elemente",min:"${label} trebuie să conțină cel puțin ${min} elemente",max:"${label} trebuie să conțină cel mult ${max} elemente",range:"${label} trebuie să conțină între ${min}-${max} elemente"},pattern:{mismatch:"${label} nu respectă șablonul ${pattern}"}}},Image:{preview:"Preview"}};function id({children:e}){const[t,n]=O.useState(hr),r=Qs(l=>{var s;return(s=l==null?void 0:l.app)==null?void 0:s.theme}),a=Qs(l=>{var s;return(s=l==null?void 0:l.app)==null?void 0:s.language}),i=r===l3.Dark?o2e:i2e,c=O.useMemo(()=>[{language:"EN",code:hr},{language:"PT",code:xx},{language:"BR",code:xx},{language:"ES",code:s2e},{language:"RO",code:v2e},{language:"JP",code:f2e}],[]);return O.useEffect(()=>{const l=V0.get(R1.Language),s=c.find(d=>d.language===l);s!==void 0&&(n(s.code),Gn.locale(l.toLowerCase()))},[a,c]),we.jsx(wr,{theme:i,locale:t,children:e})}var b2e={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};const C2e=jr(b2e);var y2e=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function Mx(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(C2e[n[1]]||e.charAt(e.length-2)==="/")&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("-->");return{type:"comment",comment:r!==-1?e.slice(4,r):""}}for(var a=new RegExp(y2e),o=null;(o=a.exec(e))!==null;)if(o[0].trim())if(o[1]){var i=o[1].trim(),c=[i,""];i.indexOf("=")>-1&&(c=i.split("=")),t.attrs[c[0]]=c[1],a.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var S2e=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,x2e=/^\s*$/,L2e=Object.create(null);function wx(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(n){var r=[];for(var a in n)r.push(a+'="'+n[a]+'"');return r.length?" "+r.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(wx,"")+"</"+t.name+">";case"comment":return e+"<!--"+t.comment+"-->"}}var E2e={parse:function(e,t){t||(t={}),t.components||(t.components=L2e);var n,r=[],a=[],o=-1,i=!1;if(e.indexOf("<")!==0){var c=e.indexOf("<");r.push({type:"text",content:c===-1?e:e.substring(0,c)})}return e.replace(S2e,function(l,s){if(i){if(l!=="</"+n.name+">")return;i=!1}var d,f=l.charAt(1)!=="/",m=l.startsWith("<!--"),p=s+l.length,h=e.charAt(p);if(m){var v=Mx(l);return o<0?(r.push(v),r):((d=a[o]).children.push(v),r)}if(f&&(o++,(n=Mx(l)).type==="tag"&&t.components[n.name]&&(n.type="component",i=!0),n.voidElement||i||!h||h==="<"||n.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),o===0&&r.push(n),(d=a[o-1])&&d.children.push(n),a[o]=n),(!f||n.voidElement)&&(o>-1&&(n.voidElement||n.name===l.slice(2,-1))&&(o--,n=o===-1?r:a[o]),!i&&h!=="<"&&h)){d=o===-1?r:a[o].children;var g=e.indexOf("<",p),C=e.slice(p,g===-1?void 0:g);x2e.test(C)&&(C=" "),(g>-1&&o+d.length>=0||C!==" ")&&d.push({type:"text",content:C})}}),r},stringify:function(e){return e.reduce(function(t,n){return t+wx("",n)},"")}};const W0=(...e)=>{console!=null&&console.warn&&(Yr(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},zx={},U0=(...e)=>{Yr(e[0])&&zx[e[0]]||(Yr(e[0])&&(zx[e[0]]=new Date),W0(...e))},Nx=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Ox=(e,t,n)=>{e.loadNamespaces(t,Nx(e,n))},$x=(e,t,n,r)=>{Yr(n)&&(n=[n]),n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,Nx(e,r))},M2e=(e,t,n={})=>!t.languages||!t.languages.length?(U0("i18n.languages were undefined or empty",t.languages),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,a)=>{var o;if(((o=n.bindI18n)==null?void 0:o.indexOf("languageChanging"))>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!a(r.isLanguageChangingTo,e))return!1}}),Yr=e=>typeof e=="string",po=e=>typeof e=="object"&&e!==null,w2e=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,z2e={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},N2e=e=>z2e[e];let cd={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(w2e,N2e)};const O2e=(e={})=>{cd={...cd,...e}},Ix=()=>cd;let Px;const $2e=e=>{Px=e},ld=()=>Px,sd=(e,t)=>{var r;if(!e)return!1;const n=((r=e.props)==null?void 0:r.children)??e.children;return t?n.length>0:!!n},ud=e=>{var n,r;if(!e)return[];const t=((n=e.props)==null?void 0:n.children)??e.children;return(r=e.props)!=null&&r.i18nIsDynamicList?go(t):t},I2e=e=>Array.isArray(e)&&e.every(O.isValidElement),go=e=>Array.isArray(e)?e:[e],P2e=(e,t)=>{const n={...t};return n.props=Object.assign(e.props,t.props),n},Tx=(e,t)=>{if(!e)return"";let n="";const r=go(e),a=t!=null&&t.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return r.forEach((o,i)=>{if(Yr(o))n+=`${o}`;else if(O.isValidElement(o)){const{props:c,type:l}=o,s=Object.keys(c).length,d=a.indexOf(l)>-1,f=c.children;if(!f&&d&&!s)n+=`<${l}/>`;else if(!f&&(!d||s)||c.i18nIsDynamicList)n+=`<${i}></${i}>`;else if(d&&s===1&&Yr(f))n+=`<${l}>${f}</${l}>`;else{const m=Tx(f,t);n+=`<${i}>${m}</${i}>`}}else if(o===null)W0("Trans: the passed in value is invalid - seems you passed in a null child.");else if(po(o)){const{format:c,...l}=o,s=Object.keys(l);if(s.length===1){const d=c?`${s[0]}, ${c}`:s[0];n+=`{{${d}}}`}else W0("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",o)}else W0("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",o)}),n},T2e=(e,t,n,r,a,o)=>{if(t==="")return[];const i=r.transKeepBasicHtmlNodesFor||[],c=t&&new RegExp(i.map(g=>`<${g}`).join("|")).test(t);if(!e&&!c&&!o)return[t];const l={},s=g=>{go(g).forEach(b=>{Yr(b)||(sd(b)?s(ud(b)):po(b)&&!O.isValidElement(b)&&Object.assign(l,b))})};s(e);const d=E2e.parse(`<0>${t}</0>`),f={...l,...a},m=(g,C,b)=>{var S;const y=ud(g),x=h(y,C.children,b);return I2e(y)&&x.length===0||(S=g.props)!=null&&S.i18nIsDynamicList?y:x},p=(g,C,b,y,x)=>{g.dummy?(g.children=C,b.push(O.cloneElement(g,{key:y},x?void 0:C))):b.push(...O.Children.map([g],S=>{const L={...S.props};return delete L.i18nIsDynamicList,O.createElement(S.type,{...L,key:y,ref:S.ref},x?null:C)}))},h=(g,C,b)=>{const y=go(g);return go(C).reduce((S,L,E)=>{var w,z;const M=((z=(w=L.children)==null?void 0:w[0])==null?void 0:z.content)&&n.services.interpolator.interpolate(L.children[0].content,f,n.language);if(L.type==="tag"){let I=y[parseInt(L.name,10)];b.length===1&&!I&&(I=b[0][L.name]),I||(I={});const A=Object.keys(L.attrs).length!==0?P2e({props:L.attrs},I):I,D=O.isValidElement(A),$=D&&sd(L,!0)&&!L.voidElement,T=c&&po(A)&&A.dummy&&!D,R=po(e)&&Object.hasOwnProperty.call(e,L.name);if(Yr(A)){const N=n.services.interpolator.interpolate(A,f,n.language);S.push(N)}else if(sd(A)||$){const N=m(A,L,b);p(A,N,S,E)}else if(T){const N=h(y,L.children,b);p(A,N,S,E)}else if(Number.isNaN(parseFloat(L.name)))if(R){const N=m(A,L,b);p(A,N,S,E,L.voidElement)}else if(r.transSupportBasicHtmlNodes&&i.indexOf(L.name)>-1)if(L.voidElement)S.push(O.createElement(L.name,{key:`${L.name}-${E}`}));else{const N=h(y,L.children,b);S.push(O.createElement(L.name,{key:`${L.name}-${E}`},N))}else if(L.voidElement)S.push(`<${L.name} />`);else{const N=h(y,L.children,b);S.push(`<${L.name}>${N}</${L.name}>`)}else if(po(A)&&!D){const N=L.children[0]?M:null;N&&S.push(N)}else p(A,M,S,E,L.children.length!==1||!M)}else if(L.type==="text"){const I=r.transWrapTextNodes,A=o?r.unescape(n.services.interpolator.interpolate(L.content,f,n.language)):n.services.interpolator.interpolate(L.content,f,n.language);I?S.push(O.createElement(I,{key:`${L.name}-${E}`},A)):S.push(A)}return S},[])},v=h([{dummy:!0,children:e||[]}],d,go(e||[]));return ud(v[0])};function R2e({children:e,count:t,parent:n,i18nKey:r,context:a,tOptions:o={},values:i,defaults:c,components:l,ns:s,i18n:d,t:f,shouldUnescape:m,...p}){var I,A,D,$,T,R;const h=d||ld();if(!h)return U0("You will need to pass in an i18next instance by using i18nextReactModule"),e;const v=f||h.t.bind(h)||(N=>N),g={...Ix(),...(I=h.options)==null?void 0:I.react};let C=s||v.ns||((A=h.options)==null?void 0:A.defaultNS);C=Yr(C)?[C]:C||["translation"];const b=Tx(e,g),y=c||b||g.transEmptyNodeValue||r,{hashTransKey:x}=g,S=r||(x?x(b||y):b||y);($=(D=h.options)==null?void 0:D.interpolation)!=null&&$.defaultVariables&&(i=i&&Object.keys(i).length>0?{...i,...h.options.interpolation.defaultVariables}:{...h.options.interpolation.defaultVariables});const L=i||t!==void 0&&!((R=(T=h.options)==null?void 0:T.interpolation)!=null&&R.alwaysFormat)||!e?o.interpolation:{interpolation:{...o.interpolation,prefix:"#$?",suffix:"?$#"}},E={...o,context:a||o.context,count:t,...i,...L,defaultValue:y,ns:C},M=S?v(S,E):y;l&&Object.keys(l).forEach(N=>{const P=l[N];if(typeof P.type=="function"||!P.props||!P.props.children||M.indexOf(`${N}/>`)<0&&M.indexOf(`${N} />`)<0)return;function k(){return O.createElement(O.Fragment,null,P)}l[N]=O.createElement(k)});const w=T2e(l||e,M,h,g,E,m),z=n??g.defaultTransParent;return z?O.createElement(z,p,w):w}const A2e={type:"3rdParty",init(e){O2e(e.options.react),$2e(e)}},Rx=O.createContext();class D2e{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function _2e({children:e,count:t,parent:n,i18nKey:r,context:a,tOptions:o={},values:i,defaults:c,components:l,ns:s,i18n:d,t:f,shouldUnescape:m,...p}){var b;const{i18n:h,defaultNS:v}=O.useContext(Rx)||{},g=d||h||ld(),C=f||(g==null?void 0:g.t.bind(g));return R2e({children:e,count:t,parent:n,i18nKey:r,context:a,tOptions:o,values:i,defaults:c,components:l,ns:s||(C==null?void 0:C.ns)||v||((b=g==null?void 0:g.options)==null?void 0:b.defaultNS),i18n:g,t:f,shouldUnescape:m,...p})}const k2e=(e,t)=>{const n=O.useRef();return O.useEffect(()=>{n.current=e},[e,t]),n.current},Ax=(e,t,n,r)=>e.getFixedT(t,n,r),F2e=(e,t,n,r)=>O.useCallback(Ax(e,t,n,r),[e,t,n,r]),j2e=(e,t={})=>{var x,S,L,E;const{i18n:n}=t,{i18n:r,defaultNS:a}=O.useContext(Rx)||{},o=n||r||ld();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new D2e),!o){U0("You will need to pass in an i18next instance by using initReactI18next");const M=(z,I)=>Yr(I)?I:po(I)&&Yr(I.defaultValue)?I.defaultValue:Array.isArray(z)?z[z.length-1]:z,w=[M,{},!1];return w.t=M,w.i18n={},w.ready=!1,w}(x=o.options.react)!=null&&x.wait&&U0("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const i={...Ix(),...o.options.react,...t},{useSuspense:c,keyPrefix:l}=i;let s=a||((S=o.options)==null?void 0:S.defaultNS);s=Yr(s)?[s]:s||["translation"],(E=(L=o.reportNamespaces).addUsedNamespaces)==null||E.call(L,s);const d=(o.isInitialized||o.initializedStoreOnce)&&s.every(M=>M2e(M,o,i)),f=F2e(o,t.lng||null,i.nsMode==="fallback"?s:s[0],l),m=()=>f,p=()=>Ax(o,t.lng||null,i.nsMode==="fallback"?s:s[0],l),[h,v]=O.useState(m);let g=s.join();t.lng&&(g=`${t.lng}${g}`);const C=k2e(g),b=O.useRef(!0);O.useEffect(()=>{const{bindI18n:M,bindI18nStore:w}=i;b.current=!0,!d&&!c&&(t.lng?$x(o,t.lng,s,()=>{b.current&&v(p)}):Ox(o,s,()=>{b.current&&v(p)})),d&&C&&C!==g&&b.current&&v(p);const z=()=>{b.current&&v(p)};return M&&(o==null||o.on(M,z)),w&&(o==null||o.store.on(w,z)),()=>{b.current=!1,o&&(M==null||M.split(" ").forEach(I=>o.off(I,z))),w&&o&&w.split(" ").forEach(I=>o.store.off(I,z))}},[o,g]),O.useEffect(()=>{b.current&&d&&v(m)},[o,l,d]);const y=[h,o,d];if(y.t=h,y.i18n=o,y.ready=d,d||!d&&!c)return y;throw new Promise(M=>{t.lng?$x(o,t.lng,s,()=>M()):Ox(o,s,()=>M())})},dd=()=>{const e=Qs(n=>{var r;return(r=n==null?void 0:n.app)==null?void 0:r.language}),t=Q1e().toUpperCase();return e??t},fd=()=>{const{t:e}=j2e(),t=dd();return{requiredField:O.useMemo(()=>[{required:!0,message:e("GENERAL.FORM.ERRORS.NOT_EMPTY")}],[t])}},B2e={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class K0{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||B2e,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:(typeof t[0]=="string"&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new K0(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new K0(this.logger,t)}}var z1=new K0;class q0{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[c,l]=i;for(let s=0;s<l;s++)c(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(i=>{let[c,l]=i;for(let s=0;s<l;s++)c.apply(c,[t,...r])})}}const Wi=()=>{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},Dx=e=>e==null?"":""+e,H2e=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},V2e=/###/g,_x=e=>e&&e.indexOf("###")>-1?e.replace(V2e,"."):e,kx=e=>!e||typeof e=="string",Ui=(e,t,n)=>{const r=typeof t!="string"?t:t.split(".");let a=0;for(;a<r.length-1;){if(kx(e))return{};const o=_x(r[a]);!e[o]&&n&&(e[o]=new n),Object.prototype.hasOwnProperty.call(e,o)?e=e[o]:e={},++a}return kx(e)?{}:{obj:e,k:_x(r[a])}},Fx=(e,t,n)=>{const{obj:r,k:a}=Ui(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),c=Ui(e,i,Object);for(;c.obj===void 0&&i.length;)o=`${i[i.length-1]}.${o}`,i=i.slice(0,i.length-1),c=Ui(e,i,Object),c&&c.obj&&typeof c.obj[`${c.k}.${o}`]<"u"&&(c.obj=void 0);c.obj[`${c.k}.${o}`]=n},W2e=(e,t,n,r)=>{const{obj:a,k:o}=Ui(e,t,Object);a[o]=a[o]||[],a[o].push(n)},G0=(e,t)=>{const{obj:n,k:r}=Ui(e,t);if(n)return n[r]},U2e=(e,t,n)=>{const r=G0(e,n);return r!==void 0?r:G0(t,n)},jx=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):jx(e[r],t[r],n):e[r]=t[r]);return e},ho=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var K2e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const q2e=e=>typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>K2e[t]):e;class G2e{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 Y2e=[" ",",","?","!",";"],X2e=new G2e(20),Q2e=(e,t,n)=>{t=t||"",n=n||"";const r=Y2e.filter(i=>t.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const a=X2e.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},md=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let a=e;for(let o=0;o<r.length;){if(!a||typeof a!="object")return;let i,c="";for(let l=o;l<r.length;++l)if(l!==o&&(c+=n),c+=r[l],i=a[c],i!==void 0){if(["string","number","boolean"].indexOf(typeof i)>-1&&l<r.length-1)continue;o+=l-o+1;break}a=i}return a},Y0=e=>e&&e.replace("_","-");class Bx extends q0{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){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 c;t.indexOf(".")>-1?c=t.split("."):(c=[t,n],r&&(Array.isArray(r)?c.push(...r):typeof r=="string"&&o?c.push(...r.split(o)):c.push(r)));const l=G0(this.data,c);return!l&&!n&&!r&&t.indexOf(".")>-1&&(t=c[0],n=c[1],r=c.slice(2).join(".")),l||!i||typeof r!="string"?l:md(this.data&&this.data[t]&&this.data[t][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 c=[t,n];r&&(c=c.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(c=t.split("."),a=n,n=c[1]),this.addNamespaces(n),Fx(this.data,c,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)(typeof r[o]=="string"||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},c=[t,n];t.indexOf(".")>-1&&(c=t.split("."),a=r,r=n,n=c[1]),this.addNamespaces(n);let l=G0(this.data,c)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?jx(l,r,o):l={...l,...r},Fx(this.data,c,l),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.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}: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 Hx={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(o=>{this.processors[o]&&(t=this.processors[o].process(t,n,r,a))}),t}};const Vx={};class X0 extends q0{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),H2e(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=z1.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&&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,c=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!Q2e(t,r,a);if(i&&!c){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:o};const s=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(s[0])>-1)&&(o=s.shift()),t=s.join(a)}return typeof o=="string"&&(o=[o]),{key:t,namespaces: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:c}=this.extractFromKey(t[t.length-1],n),l=c[c.length-1],s=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(s&&s.toLowerCase()==="cimode"){if(d){const x=n.nsSeparator||this.options.nsSeparator;return a?{res:`${l}${x}${i}`,usedKey:i,exactUsedKey:i,usedLng:s,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${x}${i}`}return a?{res:i,usedKey:i,exactUsedKey:i,usedLng:s,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:i}const f=this.resolve(t,n);let m=f&&f.res;const p=f&&f.usedKey||i,h=f&&f.exactUsedKey||i,v=Object.prototype.toString.apply(m),g=["[object Number]","[object Function]","[object RegExp]"],C=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,b=!this.i18nFormat||this.i18nFormat.handleAsObject;if(b&&m&&(typeof m!="string"&&typeof m!="boolean"&&typeof m!="number")&&g.indexOf(v)<0&&!(typeof C=="string"&&Array.isArray(m))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const x=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,m,{...n,ns:c}):`key '${i} (${this.language})' returned an object instead of string.`;return a?(f.res=x,f.usedParams=this.getUsedParamsDetails(n),f):x}if(o){const x=Array.isArray(m),S=x?[]:{},L=x?h:p;for(const E in m)if(Object.prototype.hasOwnProperty.call(m,E)){const M=`${L}${o}${E}`;S[E]=this.translate(M,{...n,joinArrays:!1,ns:c}),S[E]===M&&(S[E]=m[E])}m=S}}else if(b&&typeof C=="string"&&Array.isArray(m))m=m.join(C),m&&(m=this.extendTranslation(m,t,n,r));else{let x=!1,S=!1;const L=n.count!==void 0&&typeof n.count!="string",E=X0.hasDefaultValue(n),M=L?this.pluralResolver.getSuffix(s,n.count,n):"",w=n.ordinal&&L?this.pluralResolver.getSuffix(s,n.count,{ordinal:!1}):"",z=L&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),I=z&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${M}`]||n[`defaultValue${w}`]||n.defaultValue;!this.isValidLookup(m)&&E&&(x=!0,m=I),this.isValidLookup(m)||(S=!0,m=i);const D=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&S?void 0:m,$=E&&I!==m&&this.options.updateMissing;if(S||x||$){if(this.logger.log($?"updateKey":"missingKey",s,l,i,$?I:m),o){const P=this.resolve(i,{...n,keySeparator:!1});P&&P.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 T=[];const R=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&R&&R[0])for(let P=0;P<R.length;P++)T.push(R[P]);else this.options.saveMissingTo==="all"?T=this.languageUtils.toResolveHierarchy(n.lng||this.language):T.push(n.lng||this.language);const N=(P,k,_)=>{const F=E&&_!==m?_:D;this.options.missingKeyHandler?this.options.missingKeyHandler(P,l,k,F,$,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(P,l,k,F,$,n),this.emit("missingKey",P,l,k,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&L?T.forEach(P=>{const k=this.pluralResolver.getSuffixes(P,n);z&&n[`defaultValue${this.options.pluralSeparator}zero`]&&k.indexOf(`${this.options.pluralSeparator}zero`)<0&&k.push(`${this.options.pluralSeparator}zero`),k.forEach(_=>{N([P],i+_,n[`defaultValue${_}`]||I)})}):N(T,i,I))}m=this.extendTranslation(m,t,n,f,r),S&&m===i&&this.options.appendNamespaceToMissingKey&&(m=`${l}:${i}`),(S||x)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${i}`:i,x?m:void 0):m=this.options.parseMissingKeyHandler(m))}return a?(f.res=m,f.usedParams=this.getUsedParamsDetails(n),f):m}extendTranslation(t,n,r,a,o){var i=this;if(this.i18nFormat&&this.i18nFormat.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 s=typeof t=="string"&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(s){const m=t.match(this.interpolator.nestingRegexp);d=m&&m.length}let f=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),t=this.interpolator.interpolate(t,f,r.lng||this.language||a.usedLng,r),s){const m=t.match(this.interpolator.nestingRegexp),p=m&&m.length;d<p&&(r.nest=!1)}!r.lng&&this.options.compatibilityAPI!=="v1"&&a&&a.res&&(r.lng=this.language||a.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var m=arguments.length,p=new Array(m),h=0;h<m;h++)p[h]=arguments[h];return o&&o[0]===p[0]&&!r.context?(i.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${n[0]}`),null):i.translate(...p,n)},r)),r.interpolation&&this.interpolator.reset()}const c=r.postProcess||this.options.postProcess,l=typeof c=="string"?[c]:c;return t!=null&&l&&l.length&&r.applyPostProcessor!==!1&&(t=Hx.handle(l,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,c;return typeof t=="string"&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(r))return;const s=this.extractFromKey(l,n),d=s.key;a=d;let f=s.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const m=n.count!==void 0&&typeof n.count!="string",p=m&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),h=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",v=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(g=>{this.isValidLookup(r)||(c=g,!Vx[`${v[0]}-${g}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(c)&&(Vx[`${v[0]}-${g}`]=!0,this.logger.warn(`key "${a}" for languages "${v.join(", ")}" won't get resolved as namespace "${c}" 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!!!")),v.forEach(C=>{if(this.isValidLookup(r))return;i=C;const b=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(b,d,C,g,n);else{let x;m&&(x=this.pluralResolver.getSuffix(C,n.count,n));const S=`${this.options.pluralSeparator}zero`,L=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(m&&(b.push(d+x),n.ordinal&&x.indexOf(L)===0&&b.push(d+x.replace(L,this.options.pluralSeparator)),p&&b.push(d+S)),h){const E=`${d}${this.options.contextSeparator}${n.context}`;b.push(E),m&&(b.push(E+x),n.ordinal&&x.indexOf(L)===0&&b.push(E+x.replace(L,this.options.pluralSeparator)),p&&b.push(E+S))}}let y;for(;y=b.pop();)this.isValidLookup(r)||(o=y,r=this.getResource(C,g,y,n))}))})}),{res:r,usedKey:a,exactUsedKey:o,usedLng:i,usedNS:c}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.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&&typeof t.replace!="string";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}}const pd=e=>e.charAt(0).toUpperCase()+e.slice(1);class Wx{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=z1.create("languageUtils")}getScriptPartFromCode(t){if(t=Y0(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=Y0(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let a=Intl.getCanonicalLocales(t)[0];if(a&&this.options.lowerCaseLng&&(a=a.toLowerCase()),a)return a}catch{}const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(a=>a.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=pd(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=pd(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=pd(r[2].toLowerCase()))),r.join("-")}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)),typeof t=="string"&&(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 typeof t=="string"&&(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))):typeof t=="string"&&o(this.formatLanguageCode(t)),r.forEach(i=>{a.indexOf(i)<0&&o(this.formatLanguageCode(i))}),a}}let J2e=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Z2e={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const eae=["v1","v2","v3"],tae=["v4"],Ux={zero:0,one:1,two:2,few:3,many:4,other:5},nae=()=>{const e={};return J2e.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:Z2e[t.fc]}})}),e};class rae{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=z1.create("pluralResolver"),(!this.options.compatibilityJSON||tae.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=nae(),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]:{};if(this.shouldUseIntlApi())try{const r=Y0(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];const i=new Intl.PluralRules(r,{type:a});return this.pluralRulesCache[o]=i,i}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.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]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((a,o)=>Ux[a]-Ux[o]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):r.numbers.map(a=>this.getSuffix(t,a,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:this.getSuffixRetroCompatible(a,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let a=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));const o=()=>this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString();return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?`_plural_${a.toString()}`:o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!eae.includes(this.options.compatibilityJSON)}}const Kx=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=U2e(e,t,n);return!o&&a&&typeof n=="string"&&(o=md(e,n,r),o===void 0&&(o=md(t,n,r))),o},gd=e=>e.replace(/\$/g,"$$$$");class aae{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=z1.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),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:c,suffixEscaped:l,formatSeparator:s,unescapeSuffix:d,unescapePrefix:f,nestingPrefix:m,nestingPrefixEscaped:p,nestingSuffix:h,nestingSuffixEscaped:v,nestingOptionsSeparator:g,maxReplaces:C,alwaysFormat:b}=t.interpolation;this.escape=n!==void 0?n:q2e,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=o?ho(o):i||"{{",this.suffix=c?ho(c):l||"}}",this.formatSeparator=s||",",this.unescapePrefix=d?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=m?ho(m):p||ho("$t("),this.nestingSuffix=h?ho(h):v||ho(")"),this.nestingOptionsSeparator=g||",",this.maxReplaces=C||1e3,this.alwaysFormat=b!==void 0?b:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&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){let o,i,c;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},s=p=>{if(p.indexOf(this.formatSeparator)<0){const C=Kx(n,l,p,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(C,void 0,r,{...a,...n,interpolationkey:p}):C}const h=p.split(this.formatSeparator),v=h.shift().trim(),g=h.join(this.formatSeparator).trim();return this.format(Kx(n,l,v,this.options.keySeparator,this.options.ignoreJSONStructure),g,r,{...a,...n,interpolationkey:v})};this.resetRegExp();const d=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,f=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:p=>gd(p)},{regex:this.regexp,safeValue:p=>this.escapeValue?gd(this.escape(p)):gd(p)}].forEach(p=>{for(c=0;o=p.regex.exec(t);){const h=o[1].trim();if(i=s(h),i===void 0)if(typeof d=="function"){const g=d(t,o,a);i=typeof g=="string"?g:""}else if(a&&Object.prototype.hasOwnProperty.call(a,h))i="";else if(f){i=o[0];continue}else this.logger.warn(`missed to pass in variable ${h} for interpolating ${t}`),i="";else typeof i!="string"&&!this.useRawValueToEscape&&(i=Dx(i));const v=p.safeValue(i);if(t=t.replace(o[0],v),f?(p.regex.lastIndex+=i.length,p.regex.lastIndex-=o[0].length):p.regex.lastIndex=0,c++,c>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,o,i;const c=(l,s)=>{const d=this.nestingOptionsSeparator;if(l.indexOf(d)<0)return l;const f=l.split(new RegExp(`${d}[ ]*{`));let m=`{${f[1]}`;l=f[0],m=this.interpolate(m,i);const p=m.match(/'/g),h=m.match(/"/g);(p&&p.length%2===0&&!h||h.length%2!==0)&&(m=m.replace(/'/g,'"'));try{i=JSON.parse(m),s&&(i={...s,...i})}catch(v){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,v),`${l}${d}${m}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,l};for(;a=this.nestingRegexp.exec(t);){let l=[];i={...r},i=i.replace&&typeof i.replace!="string"?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let s=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const d=a[1].split(this.formatSeparator).map(f=>f.trim());a[1]=d.shift(),l=d,s=!0}if(o=n(c.call(this,a[1].trim(),i),i),o&&a[0]===t&&typeof o!="string")return o;typeof o!="string"&&(o=Dx(o)),o||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),o=""),s&&(o=l.reduce((d,f)=>this.format(d,f,r.lng,{...r,interpolationkey:a[1].trim()}),o.trim())),t=t.replace(a[0],o),this.regexp.lastIndex=0}return t}}const oae=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[c,...l]=i.split(":"),s=l.join(":").trim().replace(/^'+|'+$/g,""),d=c.trim();n[d]||(n[d]=s),s==="false"&&(n[d]=!1),s==="true"&&(n[d]=!0),isNaN(s)||(n[d]=parseInt(s,10))}})}return{formatName:t,formatOptions:n}},vo=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 c=t[i];return c||(c=e(Y0(r),a),t[i]=c),c(n)}};class iae{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=z1.create("formatter"),this.options=t,this.formats={number:vo((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return o=>a.format(o)}),currency:vo((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>a.format(o)}),datetime:vo((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return o=>a.format(o)}),relativetime:vo((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return o=>a.format(o,r.range||"day")}),list:vo((n,r)=>{const a=new Intl.ListFormat(n,{...r});return o=>a.format(o)})},this.init(t)}init(t){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=vo(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(c=>c.indexOf(")")>-1)){const c=o.findIndex(l=>l.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,c)].join(this.formatSeparator)}return o.reduce((c,l)=>{const{formatName:s,formatOptions:d}=oae(l);if(this.formats[s]){let f=c;try{const m=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},p=m.locale||m.lng||a.locale||a.lng||r;f=this.formats[s](c,p,{...d,...a,...m})}catch(m){this.logger.warn(m)}return f}else this.logger.warn(`there was no format function for ${s}`);return c},t)}}const cae=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class lae extends q0{constructor(t,n,r){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=z1.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=[],this.backend&&this.backend.init&&this.backend.init(r,a.backend,a)}queueLoad(t,n,r,a){const o={},i={},c={},l={};return t.forEach(s=>{let d=!0;n.forEach(f=>{const m=`${s}|${f}`;!r.reload&&this.store.hasResourceBundle(s,f)?this.state[m]=2:this.state[m]<0||(this.state[m]===1?i[m]===void 0&&(i[m]=!0):(this.state[m]=1,d=!1,i[m]===void 0&&(i[m]=!0),o[m]===void 0&&(o[m]=!0),l[f]===void 0&&(l[f]=!0)))}),d||(c[s]=!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(c),toLoadNamespaces:Object.keys(l)}}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 c={};this.queue.forEach(l=>{W2e(l.loaded,[o],i),cae(l,t),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(s=>{c[s]||(c[s]={});const d=l.loaded[s];d.length&&d.forEach(f=>{c[s][f]===void 0&&(c[s][f]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(l=>!l.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 c=(s,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(s&&d&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,a+1,o*2,i)},o);return}i(s,d)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const s=l(t,n);s&&typeof s.then=="function"?s.then(d=>c(null,d)).catch(c):c(null,s)}catch(s){c(s)}return}return l(t,n,c)}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();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(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,c)=>{i&&this.logger.warn(`${n}loading namespace ${o} for language ${a} failed`,i),!i&&c&&this.logger.log(`${n}loaded namespace ${o} for language ${a}`,c),this.loaded(t,i,c)})}saveMissing(t,n,r,a,o){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.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(this.backend&&this.backend.create){const l={...i,isUpdate:o},s=this.backend.create.bind(this.backend);if(s.length<6)try{let d;s.length===5?d=s(t,n,r,a,l):d=s(t,n,r,a),d&&typeof d.then=="function"?d.then(f=>c(null,f)).catch(c):c(null,d)}catch(d){c(d)}else s(t,n,r,a,c,l)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const qx=()=>({debug:!1,initImmediate:!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]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(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}}),Gx=e=>(typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),Q0=()=>{},sae=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class Ki extends q0{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Gx(t),this.services={},this.logger=z1,this.modules={external:[]},sae(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)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&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=qx();this.options={...a,...this.options,...Gx(n)},this.options.compatibilityAPI!=="v1"&&(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=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?z1.init(o(this.modules.logger),this.options):z1.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:typeof Intl<"u"&&(d=iae);const f=new Wx(this.options);this.store=new Bx(this.options.resources,this.options);const m=this.services;m.logger=z1,m.resourceStore=this.store,m.languageUtils=f,m.pluralResolver=new rae(f,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(m.formatter=o(d),m.formatter.init(m,this.options),this.options.interpolation.format=m.formatter.format.bind(m.formatter)),m.interpolator=new aae(this.options),m.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},m.backendConnector=new lae(o(this.modules.backend),m.resourceStore,m,this.options),m.backendConnector.on("*",function(p){for(var h=arguments.length,v=new Array(h>1?h-1:0),g=1;g<h;g++)v[g-1]=arguments[g];t.emit(p,...v)}),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 X0(this.services,this.options),this.translator.on("*",function(p){for(var h=arguments.length,v=new Array(h>1?h-1:0),g=1;g<h;g++)v[g-1]=arguments[g];t.emit(p,...v)}),this.modules.external.forEach(p=>{p.init&&p.init(this)})}if(this.format=this.options.interpolation.format,r||(r=Q0),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[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(d=>{this[d]=function(){return t.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return t.store[d](...arguments),t}});const l=Wi(),s=()=>{const d=(f,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),l.resolve(m),r(f,m)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initImmediate?s():setTimeout(s,0),l}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Q0;const a=typeof t=="string"?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const o=[],i=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(s=>{s!=="cimode"&&o.indexOf(s)<0&&o.push(s)})};a?i(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>i(l)),this.options.preload&&this.options.preload.forEach(c=>i(c)),this.services.backendConnector.load(o,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(c)})}else r(null)}reloadResources(t,n,r){const a=Wi();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=Q0),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"&&Hx.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=Wi();this.emit("languageChanging",t);const o=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},i=(l,s)=>{s?(o(s),this.translator.changeLanguage(s),this.isLanguageChangingTo=void 0,this.emit("languageChanged",s),this.logger.log("languageChanged",s)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(l,function(){return r.t(...arguments)})},c=l=>{!t&&!l&&this.services.languageDetector&&(l=[]);const s=typeof l=="string"?l:this.services.languageUtils.getBestMatchFromCodes(l);s&&(this.language||o(s),this.translator.language||this.translator.changeLanguage(s),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(s)),this.loadResources(s,d=>{i(d,s)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?c(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(c):this.services.languageDetector.detect(c):c(t),a}getFixedT(t,n,r){var a=this;const o=function(i,c){let l;if(typeof c!="object"){for(var s=arguments.length,d=new Array(s>2?s-2:0),f=2;f<s;f++)d[f-2]=arguments[f];l=a.options.overloadTranslationOptionHandler([i,c].concat(d))}else l={...c};l.lng=l.lng||o.lng,l.lngs=l.lngs||o.lngs,l.ns=l.ns||o.ns,l.keyPrefix!==""&&(l.keyPrefix=l.keyPrefix||r||o.keyPrefix);const m=a.options.keySeparator||".";let p;return l.keyPrefix&&Array.isArray(i)?p=i.map(h=>`${l.keyPrefix}${m}${h}`):p=l.keyPrefix?`${l.keyPrefix}${m}${i}`:i,a.t(p,l)};return typeof t=="string"?o.lng=t:o.lngs=t,o.ns=n,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}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=(c,l)=>{const s=this.services.backendConnector.state[`${c}|${l}`];return s===-1||s===0||s===2};if(n.precheck){const c=n.precheck(this,i);if(c!==void 0)return c}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=Wi();return this.options.ns?(typeof t=="string"&&(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=Wi();typeof t=="string"&&(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){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.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=this.services&&this.services.languageUtils||new Wx(qx());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 Ki(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Q0;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},o=new Ki(a);return(t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(c=>{o[c]=this[c]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r&&(o.store=new Bx(this.store.data,a),o.services.resourceStore=o.store),o.translator=new X0(o.services,a),o.translator.on("*",function(c){for(var l=arguments.length,s=new Array(l>1?l-1:0),d=1;d<l;d++)s[d-1]=arguments[d];o.emit(c,...s)}),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 Yn=Ki.createInstance();Yn.createInstance=Ki.createInstance,Yn.createInstance,Yn.dir,Yn.init,Yn.loadResources,Yn.reloadResources,Yn.use,Yn.changeLanguage,Yn.getFixedT;const Pt=Yn.t;Yn.exists,Yn.setDefaultNamespace,Yn.hasLoadedNamespace,Yn.loadNamespaces,Yn.loadLanguages;const{slice:uae,forEach:dae}=[];function fae(e){return dae.call(uae.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}const Yx=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,mae=(e,t,n)=>{const r=n||{};r.path=r.path||"/";const a=encodeURIComponent(t);let o=`${e}=${a}`;if(r.maxAge>0){const i=r.maxAge-0;if(Number.isNaN(i))throw new Error("maxAge should be a Number");o+=`; Max-Age=${Math.floor(i)}`}if(r.domain){if(!Yx.test(r.domain))throw new TypeError("option domain is invalid");o+=`; Domain=${r.domain}`}if(r.path){if(!Yx.test(r.path))throw new TypeError("option path is invalid");o+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");o+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o},Xx={create(e,t,n,r){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+n*60*1e3)),r&&(a.domain=r),document.cookie=mae(e,encodeURIComponent(t),a)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r<n.length;r++){let a=n[r];for(;a.charAt(0)===" ";)a=a.substring(1,a.length);if(a.indexOf(t)===0)return a.substring(t.length,a.length)}return null},remove(e){this.create(e,"",-1)}};var pae={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&typeof document<"u")return Xx.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:n,cookieMinutes:r,cookieDomain:a,cookieOptions:o}=t;n&&typeof document<"u"&&Xx.create(n,e,r,a,o)}},gae={name:"querystring",lookup(e){var r;let{lookupQuerystring:t}=e,n;if(typeof window<"u"){let{search:a}=window.location;!window.location.search&&((r=window.location.hash)==null?void 0:r.indexOf("?"))>-1&&(a=window.location.hash.substring(window.location.hash.indexOf("?")));const i=a.substring(1).split("&");for(let c=0;c<i.length;c++){const l=i[c].indexOf("=");l>0&&i[c].substring(0,l)===t&&(n=i[c].substring(l+1))}}return n}};let qi=null;const Qx=()=>{if(qi!==null)return qi;try{qi=window!=="undefined"&&window.localStorage!==null;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{qi=!1}return qi};var hae={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&Qx())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&Qx()&&window.localStorage.setItem(n,e)}};let Gi=null;const Jx=()=>{if(Gi!==null)return Gi;try{Gi=window!=="undefined"&&window.sessionStorage!==null;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{Gi=!1}return Gi};var vae={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&Jx())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&Jx()&&window.sessionStorage.setItem(n,e)}},bae={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:a}=navigator;if(n)for(let o=0;o<n.length;o++)t.push(n[o]);r&&t.push(r),a&&t.push(a)}return t.length>0?t:void 0}},Cae={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const r=t||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},yae={name:"path",lookup(e){var a;let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?(a=n[typeof t=="number"?t:0])==null?void 0:a.replace("/",""):void 0}},Sae={name:"subdomain",lookup(e){var a,o;let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,r=typeof window<"u"&&((o=(a=window.location)==null?void 0:a.hostname)==null?void 0:o.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[n]}};function xae(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}}class Zx{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t||{languageUtils:{}},this.options=fae(n,this.options||{},xae()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=a=>a.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(pae),this.addDetector(gae),this.addDetector(hae),this.addDetector(vae),this.addDetector(bae),this.addDetector(Cae),this.addDetector(yae),this.addDetector(Sae)}addDetector(t){return this.detectors[t.name]=t,this}detect(t){t||(t=this.options.order);let n=[];return t.forEach(r=>{if(this.detectors[r]){let a=this.detectors[r].lookup(this.options);a&&typeof a=="string"&&(a=[a]),a&&(n=n.concat(a))}}),n=n.map(r=>this.options.convertDetectedLanguage(r)),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t,n){n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(t,this.options)}))}}Zx.type="languageDetector";const Lae={translation:{GENERAL:{BACK:"Back",NEXT:"Next",SAVE:"Save",ACTIONS:{CLOSE:"Close",DELETE:"Delete",EDIT:"Edit",NEXT:"Next"},APP:"App",BACK_LOGIN:"Back to login",FORM:{ERRORS:{CONFIRM_PASSWORD:"The passwords must be the same!",EMAIL:"The email have to be this format 'email@exemple.com'",NOT_EMPTY:"This field is mandatory",VERSION:"The version must end with a numeric value",FORMAT:"The format must be like 'X.X.X'"}},MENU:"Menu",MESSAGES:{ERROR:{EMAIL_EXISTS:"Email already exists",ITEM_CREATE:"Error trying to add {{item}}",ITEM_DELETE:"Error trying to delete {{item}}",ITEM_UPDATE:"Error trying to update {{item}}",UNAUTHORIZED:"Sorry, you are not authorized to access this page.",USERNAME_EXISTS:"Username already exists",RELEASE_NOTE:{0:"Version already exists",1:"Deployed date must be greater than the last",2:"Invalid Request parameters"}},SUCCESS:{ITEM_CREATE:"{{item}} added successfully",ITEM_DELETE:"{{item}} deleted successfully",ITEM_UPDATE:"{{item}} updated successfully"},WARNING:{DELETE_CONFIRM:"You are about to delete this menu. Do you want proceed?"}},REMOVE:"Remove",ROLE:"Role",TENANT:"Organization",THEMES:{DARK:"Dark mode",LIGHT:"Light mode",TOOLTIP:"Click to switch to {{theme}}"},UPLOAD:"Upload",USER:"User",UPLOAD_LABEL:"Click or drag file to this area to upload",JPG_PNG_WARNING:"Only supports JPG or PNG files."},HELPDESK:{ERRORS_CODE:{DATATYPE_MISMATCH:"Deve conter apenas elementos do tipo de formato de arquivo válido.",INVALID_VALUE:"Valor inválido"},FORM:{BUTTONS:{SEND:"Enviar"},FIELDS:{ATTACHMENTS:"Anexos",DESCRIPTION:"Descrição",DESCRIPTION_PLACEHOLDER:"Insira a descrição...",EMAIL:"Email",EMAIL_PLACEHOLDER:"Insira o seu email...",NAME:"$t(Name)",NAME_PLACEHOLDER:"Insira seu nome...",SUBJECT:"Assunto",SUBJECT_PLACEHOLDER:"Insira o assunto...",TITLE:"Contate-nos",UPLOAD_FILES:"<strong>Subir arquivo(s) (max. 5)</strong><br/><small>Clique para adicionar ou arraste e solte o(s) arquivo(s).</small>"},TITLE:"Bem-vindo ao apoio"},SUPPORT:"Apoio",TABLE:{CODE:"Mensagem",FIELD:"Campo"}},"RELEASE-NOTES":{WHATS_NEWS:"Welcome to {{app}} v{{version}} - What's News?",TITLE:"Release Notes",TEXT_SINGULAR:"Release Note",ADD_RELEASE_NOTE:"Add Release Note",UPD_RELEASE_NOTE:"Edit Release Note",ADD_NEW_SLIDE:"Add new slide",REMOVE_CURRENT_SLIDE:"Remove current slide",FORM:{FIELDS:{APP:"App",APP_PLACEHOLDER:"Select an app...",VERSION:"Version",VERSION_PLACEHOLDER:"Type the version...",VERSION_TOOLTIP:"The version of the selected application.",DEPLOY_DATE:"Deploy Date",TITLE:"Title...",DESCRIPTION:"Description...",DO_NOT_SHOW_AGAIN:"Do not show again until next update"},ADD_NEW_FIELD:"Add new field"}}}},Eae={translation:{GENERAL:{BACK:"Back",NEXT:"Next",SAVE:"Save",DO_NOT_USE_IMAGE:"Do not use image",ACTIONS:{CLOSE:"Close",DELETE:"Delete",EDIT:"Edit",NEXT:"Next"},APP:"App",BACK_LOGIN:"Back to login",FORM:{ERRORS:{CONFIRM_PASSWORD:"The passwords must be the same!",EMAIL:"The email have to be this format 'email@exemple.com'",NOT_EMPTY:"This field is mandatory",VERSION:"The version must end with a numeric value",FORMAT:"The format must be like 'X.X.X'"}},MENU:"Menu",MESSAGES:{ERROR:{EMAIL_EXISTS:"Email already exists",ITEM_CREATE:"Error trying to add {{item}}",ITEM_DELETE:"Error trying to delete {{item}}",ITEM_UPDATE:"Error trying to update {{item}}",UNAUTHORIZED:"Sorry, you are not authorized to access this page.",USERNAME_EXISTS:"Username already exists",RELEASE_NOTE:{0:"Version already exists",1:"Deployed date must be greater than the last",2:"Invalid Request parameters"}},SUCCESS:{ITEM_CREATE:"{{item}} added successfully",ITEM_DELETE:"{{item}} deleted successfully",ITEM_UPDATE:"{{item}} updated successfully"},WARNING:{DELETE_CONFIRM:"You are about to delete this menu. Do you want proceed?"}},REMOVE:"Remove",ROLE:"Role",TENANT:"Organization",THEMES:{DARK:"Dark mode",LIGHT:"Light mode",TOOLTIP:"Click to switch to {{theme}}"},UPLOAD:"Upload",USER:"User",UPLOAD_LABEL:"Click or drag file to this area to upload",JPG_PNG_WARNING:"Only supports JPG or PNG files."},HELPDESK:{ERRORS_CODE:{DATATYPE_MISMATCH:"It should contain elements of type valid file format only",INVALID_VALUE:"Invalid value"},FORM:{BUTTONS:{SEND:"Send"},FIELDS:{ATTACHMENTS:"Attachments",DESCRIPTION:"Description",DESCRIPTION_PLACEHOLDER:"Insert description…",EMAIL:"Email",EMAIL_PLACEHOLDER:"Insert your email...",NAME:"$t(Name)",NAME_PLACEHOLDER:"Insert your name...",SUBJECT:"Subject",SUBJECT_PLACEHOLDER:"Insert subject...",TITLE:"Contact us",UPLOAD_FILES:"<strong>Upload files (max. 5)</strong><br/><small>Click to add or drag and drop files.</small>"},TITLE:"Welcome to support"},SUPPORT:"Support",TABLE:{CODE:"Message",FIELD:"Field"}},"RELEASE-NOTES":{WHATS_NEWS:"Welcome to {{app}} v{{version}} - What's News?",TITLE:"Release Notes",TEXT_SINGULAR:"Release Note",ADD_RELEASE_NOTE:"Add Release Note",UPD_RELEASE_NOTE:"Edit Release Note",ADD_NEW_SLIDE:"Add new slide",REMOVE_CURRENT_SLIDE:"Remove current slide",FORM:{FIELDS:{APP:"App",APP_PLACEHOLDER:"Select an app...",VERSION:"Version",VERSION_PLACEHOLDER:"Type the version...",VERSION_TOOLTIP:"The version of the selected application.",DEPLOY_DATE:"Deploy Date",TITLE:"Title...",DESCRIPTION:"Description...",DO_NOT_SHOW_AGAIN:"Do not show again until next update"},ADD_NEW_FIELD:"Add new field"}}}},Mae={translation:{GENERAL:{BACK:"Back",NEXT:"Next",SAVE:"Save",ACTIONS:{CLOSE:"Close",DELETE:"Delete",EDIT:"Edit",NEXT:"Next"},APP:"App",BACK_LOGIN:"Back to login",FORM:{ERRORS:{CONFIRM_PASSWORD:"The passwords must be the same!",EMAIL:"The email have to be this format 'email@exemple.com'",NOT_EMPTY:"This field is mandatory",VERSION:"The version must end with a numeric value",FORMAT:"The format must be like 'X.X.X'"}},MENU:"Menu",MESSAGES:{ERROR:{EMAIL_EXISTS:"Email already exists",ITEM_CREATE:"Error trying to add {{item}}",ITEM_DELETE:"Error trying to delete {{item}}",ITEM_UPDATE:"Error trying to update {{item}}",UNAUTHORIZED:"Sorry, you are not authorized to access this page.",USERNAME_EXISTS:"Username already exists",RELEASE_NOTE:{0:"Version already exists",1:"Deployed date must be greater than the last",2:"Invalid Request parameters"}},SUCCESS:{ITEM_CREATE:"{{item}} added successfully",ITEM_DELETE:"{{item}} deleted successfully",ITEM_UPDATE:"{{item}} updated successfully"},WARNING:{DELETE_CONFIRM:"You are about to delete this menu. Do you want proceed?"}},REMOVE:"Remove",ROLE:"Role",TENANT:"Organization",THEMES:{DARK:"Dark mode",LIGHT:"Light mode",TOOLTIP:"Click to switch to {{theme}}"},UPLOAD:"Upload",USER:"User",UPLOAD_LABEL:"Click or drag file to this area to upload",JPG_PNG_WARNING:"Only supports JPG or PNG files."},HELPDESK:{ERRORS_CODE:{DATATYPE_MISMATCH:"Debe contener elementos de tipo formato de archivo válido únicamente.",INVALID_VALUE:"Valor no válido"},FORM:{BUTTONS:{SEND:"Enviar"},FIELDS:{ATTACHMENTS:"Archivos adjuntos",DESCRIPTION:"Descripción",DESCRIPTION_PLACEHOLDER:"Insertar descripción...",EMAIL:"Correo",EMAIL_PLACEHOLDER:"Introduzca su correo electrónico...",NAME:"$t(Name)",NAME_PLACEHOLDER:"Introduzca su nombre...",SUBJECT:"Asunto",SUBJECT_PLACEHOLDER:"Insertar asunto...",TITLE:"Contacta con nosotros",UPLOAD_FILES:"<strong>Subir archivos (máx. 5)</strong><br/><small>Haga clic para agregar o arrastrar y soltar archivos.</small>"},TITLE:"Bienvenido a apoyo"},SUPPORT:"Apoyo",TABLE:{CODE:"Mensaje",FIELD:"Campo"}},"RELEASE-NOTES":{WHATS_NEWS:"Welcome to {{app}} v{{version}} - What's News?",TITLE:"Release Notes",TEXT_SINGULAR:"Release Note",ADD_RELEASE_NOTE:"Add Release Note",UPD_RELEASE_NOTE:"Edit Release Note",ADD_NEW_SLIDE:"Add new slide",REMOVE_CURRENT_SLIDE:"Remove current slide",FORM:{FIELDS:{APP:"App",APP_PLACEHOLDER:"Select an app...",VERSION:"Version",VERSION_PLACEHOLDER:"Type the version...",VERSION_TOOLTIP:"The version of the selected application.",DEPLOY_DATE:"Deploy Date",TITLE:"Title...",DESCRIPTION:"Description...",DO_NOT_SHOW_AGAIN:"Do not show again until next update"},ADD_NEW_FIELD:"Add new field"}}}},wae={translation:{"%":"%","1m":"1m","1w":"1w","2w":"2w","3m":"3m","6m":"6m",Access:"Access",Actions:"Actions",Active:"Active","Active Areas":"Active Areas","Active Events":"Active Events",ACTIVE_EVENTS:"$t(Active Events) ({{totalEvents}})","Add Area":"Add Area","Add Category":"Add Category","Add comment":"Add Comment","Add File":"Add File","Add GISSource":"Add GISSource","Add Interface":"Add Interface","Add Meter":"Add Meter","Add new Profile":"Add Profile","Add Organization":"Add Organization","Add Relationship":"Add Relationship","Add Rule":"Add Rule","Add Type":"Add Type","Add User":"Add User","Add Value":"Add Value","Add Work Orders":"Add Work Orders","Add Zone":"Add Zone",Administration:"Administration",Alerts:"Alerts",All:"All","All Meter Types":"All Meter Types","All users":"All users",ANNUAL:{CHART:{INPUT_VOLUME:"Input volume",INPUT_VOLUME_HOMOLOGOUS:"Input volume (homologous)",PERCENTAGE:"Percentage",TITLE:"Volumes (m³/year)",TOTAL_WATER_LOSS:{TITLE:"NRW (m³/year)"},WATER_LOSS:"Non-revenue water",WATER_LOSS_HOMOLOGOUS:"Non-revenue water (Homologous)"},FORM:{FIELDS:{AREAS_PLACEHOLDER:"$t(Select) $t(areas)",ZONES_PLACEHOLDER:"$t(Select) $t(zones)"}},TITLE:"Annual"},Apr:"Apr",April:"April","Are you sure you want to delete this Zone?":"Are you sure you want to delete this Zone?",Area:"Area",area:"area","Area & Meters":"Areas & Meters","Area Details":"$t(Area) - {{name}} ({{measureUnit}})","Area Name":"Area Name","Area name":"Area name","Area zones and meters (IDs)":"Area zones and meters (IDs)","Area, Zone":"Area, Zone",Area_plural:"Areas",Areas:"Areas",areas:"areas","Areas with active Meters":"Areas with Active Meters","Areas/Meters 1":"Areas/Meters 1","Areas/Meters 2":"Areas/Meters 2","Areas/Meters 3":"Areas/Meters 3",AREAS_EVENTS:"Events - Areas","Assigned to":"Assigned to",Aug:"Aug",August:"August",AUMENTO_DE_VAZÃO:"Aumento de vazão",Average:"Average","Average Flow":"Average Flow",Bootstrap:"Bootstrap",BOOTSTRAP:{ALERT:{MESSAGE:"You may not be able to recover it. Are you sure you want to proceed?",TITLE:"You are about to delete data"},DELETE_OPTIONS:{EVENTS:"Events",EVENTS_PATTERNS:"Events and Patterns",EVENTS_PATTERNS_REALDATA:"Events, Paterns and Real Data"}},Brand:"Brand",BURST:"Burst","By Area":"By Area","By Assignee":"By Assignee","By Category":"By Category","By Color":"By Color","By Duration (min)":"By Duration (min)","By Maximum Value":"By Maximum Value","By Status":"By Status","By User":"By User","By WO Events":"By WO Events",BY_DURATION:"By Duration (h)",BY_STARTDATE:"By Start Date (days)","Calculate Lost Water Volume / Max":{" Value":"Calculate Water Volume Lost / Max. Value"},Cancel:"Cancel",Categories:"Categories",Category:"Category","Category Name":"Category Name","Child Type":"Child Type","Child Type Code":"Child Type Code","Child Value":"Child Value","Child Value Code":"Child Value Code","Chlorine Meters Operating":"Chlorine meters",Code:"Code",Color:"Color",Colors:"Colors",Comment:"Comment","Comment here":{"":{"":"Comment here.."}},COMMENT:{ADD:{ERROR:{DESCRIPTION:"Error trying to add comment.",MESSAGE:"Error"},SUCCESS:{DESCRIPTION:"Comment added successfully!",MESSAGE:"Success"}},TOOLTIP:{ADD:"Add comment",COMMENTS:"$t(Comments)"}},Comments:"Comments",Compare:"Compare","Conductivity Meters Operating":"Conductivity meters",Configurations:"Configurations","Confirm password":"Confirm Password",Consumption:"Consumption","Conversion Factor":"Conversion Factor",Create:"Create","Create By":"Created By","Create Event":"Create Event","Creation Date":"Creation Date",CURR_TYPE_MAX:"Current Max. Value",CURR_TYPE_MED:"Current Med. Value",CURR_TYPE_MIN:"Current Min. Value",CURR_TYPE_MINMED:"Current Min./Med. Value","Current Value":"Current Value",Customers:"Customers","Customers No":{"":"Customers No."},Customization:"Customization","Dark Mode":"Dark Mode",Dashboard:"Dashboard",DASHBOARD_TITLE_CHART_1:"Ranking - Time on Active Events",DASHBOARD_TITLE_CHART_2:"Ranking - Water Loss on Active Events",Data:"Data","Data Type":"Data Type","Data Types":"Data Types",Datatype:"Datatype",Date:"Date","Daylight Saving":"Daylight Saving",Dec:"Dec",December:"December","Define the code":"Define the code",Definition:"Definition",Delete:"Delete","Delete Category":"Delete Category","Delete File":"Delete File","Delete File_message":"Once you delete this File you WILL NOT be able to recover it. Make sure it's not being sed anywhere else before proceeding.","Delete Rule":"Delete Rule","Delete Zone":"Delete Zone - #{{id}} ({{name}})","Delete Zone_message":"Once you delete this zone you WILL NOT be able to recover it. $t(Are you sure you want to delete this Zone?)",Description:"Description","Description of this organization":"Description of this organization",Details:"Details",Detector:"Detector",Diameter:"Diameter",Disable:"Disable","Disable Area":"Disable Area","Disable Area_message":"Once you disable this Area you may not be able to recover it. Make sure it's not being used anywhere else before proceeding.","Disable GIS_message":"Once you disable this GISSource you may not be able to recover it. Make sure it's not being used anywhere else before proceeding.","Disable GISSource":"Disable GISSource","Disable Interface":"Disable Interface","Disable Interface_message":"Once you disable this Interface you may not be able to recover it. Make sure it's not being used anywhere else before proceeding.","Disable Message":"Disabling this meter will remove it from the associated area/s. Are you sure you want to proceed?","Disable Meter":"Disable Meter","Disable Meter_message":"Disabling this meter will remove it from the associated area/s. Are you sure you want to proceed?","Disable Relationship":"Disable Relationship","Disable Relationship_message":"Once you disable this Relationship you may not be able to recover it. Make sure it's not being used anywhere else before proceeding.","Disable Rule_message":"Once you disable this Rule you may not be able to recover it. Make sure it's not being used anywhere else before proceeding.","Disable Type":"Disable Type","Disable Type_message":"Once you disable this Type you may not be able to recover it. Make sure it's not being used anywhere else before proceeding.","Disable Value":"Disable Value","Disable Value_message":"Once you disable this Value you may not be able to recover it. Make sure it's not being used anywhere else before proceeding.","Disable Zone_message":"Once you disable this Zone you may not be able to recover it. Make sure it's not being used anywhere else before proceeding.","DMA - Water Loss":"Closed Events - DMA Water Loss (m3)","DMA Events":"DMA Events","Don't wait for data":"Don't wait for data",Download:"Download","Edit Area":"Edit Area","Edit Category":"Edit Category","Edit File":"Edit File","Edit GISSource":"Edit GISSource","Edit Interface":"Edit Interface","Edit Meter":"Edit Meter","Edit organization":"Edit Organization","Edit Profile":"Edit Profile","Edit Relationship":"Edit Relationship","Edit Rule":"Edit Rule","Edit Type":"Edit Type","Edit User":"Edit User","Edit Value":"Edit Value","Edit Zone":"Edit Zone",Email:"Email",End:"End","End Date":"End Date","End date":"End date",Energy:"Energy","Energy Meters Operating":"Energy meters",English:"English",ERROR:"Error",ERRORS:{LIMIT_2000:"This field must have a maximum of 2.000 characters"},Event:"Event","Event Category":"Event Category","Event Date":"Event Date","Event Details":"$t(Event) #{{id}} - {{name}} ({{measureUnit}})","Event is From":"Event is from","Event Points":"Event Points","Event Status":"Event Status","Event Type":"Event Type","Event type":"Event type","Event Type Value":"Event Type",Event_count:"Events ({{count}})",Event_plural:"Events",Events:"Events","Events panel":"Events panel",EVENTS:{ERROR:{DESCRIPTION:"Error trying to update event.",MESSAGE:"Error - Event {{eventId}}"},SUCCESS:{DESCRIPTION:"Event {{type}} updated successfully to {{value}}",MESSAGE:"Success - Event {{eventId}}"}},Export:"Export","Export Areas":"Export Areas","Export Events":"$t(Export) $t(Events)","Export ListValues":"$t(Export) $t(ListValues)","Export Meters":"Export Meters","Export Report":"Export Report","Export Report_WORK_ORDERS":"Export Work Orders Report","Export Rules":"Export Rules","Export to Excel":"Export to Excel","Export Zones":"Export Zones",Extension:"Extension","External Client Identifier":"External Client Identifier","External Id":"External Id","External Time Window":"External Time Window","External URL":"External URL",Feb:"Feb",February:"February",File:"File","File Type":"File Type",Filename:"Filename",Files:"Files",FILES_ACCEPTED:"Files accepted",FileType:"FileType",Filetype:"Filetype",Filter:"Filter","Filter active":"Filter active","Filter conversion factor":"Filter conversion factor","Filter Data Type":"Filter Data Type","Filter inactive":"Filter inactive","Filter private":"Filter private","Filter shapefile":"Filter shapefile","Filter unlocatable":"Filter unlocatable",Filters:"Filters",FIRE_SERVICES:"Fire services","First Name":"First name","Flow Meters Operating":"Flow meters",FLOW_DEFAULT_SHAPE:"Flow Default Shape",FLOW_INCREASE:"Flow increase",FLW_FUNCTION_LOGN:"Log Normal",FLW_FUNCTION_MEAN:"Mean",FLW_FUNCTION_MED:"Median",FLW_MTRTP_CH:"Chlorine meters",FLW_MTRTP_CO:"Conductivity meters",FLW_MTRTP_EN:"Energy meters",FLW_MTRTP_FL:"Flow meters",FLW_MTRTP_GL:"Groundwater level meters",FLW_MTRTP_PH:"PH meters",FLW_MTRTP_PR:"Pressure meters",FLW_MTRTP_RF:"Rainfall meters",FLW_MTRTP_TMP:"Temperature meters",FLW_MTRTP_TU:"Turbidity meters",FLW_MTRTP_VE:"Velocity meters",FLW_MTRTP_VOL:"Volume meters",FLW_MTRTP_WL:"Water level meters","Forgot your password?":"Forgot your password?",Friday:"Friday",Function:"Function",General:"General",GENERAL:{FORM:{ERRORS:{NOT_EMPTY:"This field is mandatory"}},MESSAGES:{ERROR:{DUPLICATED:{DESCRIPTION:"The Type Code, Code and Language combination you are trying to enter already exists in the list.",MESSAGE:"Error - Duplicated values"},MAP:{LAT_LON:"There are no latitude and/or longitude."},REPORT:{GENERATE:"This report cannot be generated at the moment because there are no units associated with the selected meter type."}},SUCCESS:{ADD_LISTS:"Lists added successfully",ADD_WORK_ORDERS:"Work Orders added successfully",CREATE:"$t({{type}}) created successfully",DELETE:"$t({{type}}) deleted successfully",TICKET:"Ticket created successfully",UPDATE:"$t({{type}}) updated successfully"},WARNING:{REMOVE_METER_FROM_INTERFACE:{MESSAGE:"When you delete a meter from the interface, it will be removed from the rule(s) it is associated with. Are you sure you want to proceed?",TITLE:"Exclude meter from the interface"},SUBMIT_FILE:{MESSAGE:"If you save this one will be active and the other one will be disabled. Are you sure you want to proceed?",TITLE:"There is another file with '$t(FLOW_DEFAULT_SHAPE)' active"}}},NO_DATA:"No data to display",SELECT_ALL:"$t(Select) $t(All)",UPLOAD_LABEL:"Click or drag file to this area to upload"},"GENERATE REPORT":"GENERATE REPORT","Generate Report":"Generate Report","Generated?":"Generated?","Get all Events":"Get all Events",GIS:"GIS","GIS External URL":"GIS External URL","GIS Type":"GIS Type","GIS URL":"GIS URL","Go to page":"Go to page",Graph:"Graph",HELPDESK:{ERRORS_CODE:{DATATYPE_MISMATCH:"It should contain elements of type valid file format only",INVALID_VALUE:"Invalid value"},FORM:{BUTTONS:{SEND:"Send"},FIELDS:{ATTACHMENTS:"Attachments",DESCRIPTION:"Description",DESCRIPTION_PLACEHOLDER:"Insert description...",EMAIL:"Email",EMAIL_PLACEHOLDER:"Insert your email...",NAME:"$t(Name)",NAME_PLACEHOLDER:"Insert your name...",SUBJECT:"Subject",SUBJECT_PLACEHOLDER:"Insert subject...",TITLE:"Contact us",UPLOAD_FILES:"<strong>Upload files (max. 5)</strong><br/><small>Click to add or drag and drop files.</small>"},TITLE:"Welcome to support"},SUPPORT:"Support",TABLE:{CODE:"Message",FIELD:"Field"}},Hide:"Hide","Hide all Charts":"Hide all Charts",Holiday:"Holidays",Holidays:"Holidays",HOMOLOGOUS_TYPE_MAX:"Homologous Max. Value",HOMOLOGOUS_TYPE_MED:"Homologous Med. Value",HOMOLOGOUS_TYPE_MIN:"Homologous Min. Value",HOMOLOGOUS_TYPE_MINMED:"Homologous Min./Med. Value",Icon:"Icon",Id:"Id",ID_FLOWISE:null,ID_GIS:null,Import:"Import",import:"import","Import Areas":"Import Areas","Import Meters":"Import Meters","Import Rules":"Import Rules","Import Zones":"Import Zones","In Progress":"In Progress",Information:"Information","Initial Value":"Initial Value",Input:"Input","Input script or other text":"Input script or other text","Input the value name":"Input the value name","Input/Output":"Input/Output","Insert a rule name":"Insert a rule name","Insert area name":"Insert area name","Insert brand":"Insert brand","Insert category name":"Insert category name","Insert Code":"Insert Code","Insert code":"Insert code","Insert conversion factor":"Insert conversion factor","Insert diameter":"Insert diameter","Insert external Id":"Insert external Id","Insert Filename":"Insert Filename","Insert filename":"Insert filename","Insert model":"Insert model","Insert Name":"Insert Name","Insert name":"Insert name","Insert network length":"Insert network length","Insert no":{" of customers":"Insert no. of customers"},"Insert rule name":"Insert rule name","Insert tag":"Insert tag","Insert tag name":"Insert tag name","Insert zone name":"Insert zone name",Interface:"Interface","Interface Code":"Interface Code","Interface Id":"Interface Id","Interface Name":"Interface Name","Interface Type":"Interface Type",Interfaces:"Interfaces","Items per page:":"Items per page:",Jan:"Jan",January:"January",Japanese:"Japanese",Jul:"Jul",July:"July",Jun:"Jun",June:"June","Keep Alive":"Keep Alive",Label:"Label",label:"label",Language:"Language","Last login Date":"Last login Date","Last Name":"Last Name","Last name":"Last name",Latitude:"Latitude","Latitude and longitude":"Latitude and longitude",Layers:"Layers",layers:"layers",LEGEND:"Legend","Light Mode":"Light Mode","Limit Values":"Limit Values",LINE_NUMBER:"LineNumber",List:"List","List Type":"List Type",Lists:"Lists",ListValues:"Lists",Locatable:"Locatable",Login:"Login","Login Count":"Login Count",Logout:"Logout",Longitude:"Longitude","Loss of water volume":"Loss of water volume","Mailing List":"Mailing List",Maps:"Maps",Mar:"Mar",March:"March","Max Value":"Maximum Value",Max:{" (P95)":"Max. (P95)"},"Maximum Interval":"Maximum Interval",May:"May","Measure Units":"Measure Units",Med:{" (P50)":"Med. (P50)"},"Meridians' coordinates":"Meridians' coordinates",Meter:"Meter",meter:"meter","Meter Details":"$t(Meter) #{{id}} - {{name}} ({{measureUnit}})","Meter name":"Meter name","Meter No":{"":"Meter No."},"Meter Type":"Meter Type","Meter Types":"Meter Types",METER_FAILURE:"Meter failure",Meter_plural:"Meters",METER_WITHOUT_INTERFACE:{DESCRIPTION:"When you save the meter without an interface, it will be removed from the rule(s) it is associated with. Are you sure you want to proceed?",MESSAGE:"Meter without interface"},Meters:"Meters",meters:"meters","Meters Numbers":"Meters Number",METERS_EVENTS:"Events - Meters",Min:{" (P05)":"Min. (P05)","/Med":{"":"Min./Med."}},"Minimum Interval":"Minimum Interval","Minimum Readings":"Minimum Readings",MISSING_CONVERSION_FACTORY:"Conversion factor(s) missing:","Ml/day":"Ml/day",Model:"Model",Monday:"Monday",Monitoring:"Monitoring","Monthly values":"Monthly values",MONTHLY_DAILY:{CHART:{BILLED_VOLUME:"Billed volume",INPUT_VOLUME:"Input volume",MESSAGE:"Select an Area and Dates to visualize the data",WATER_LOSS:"Water losses and unmeasured consumption"},FORM:{FIELDS:{AREA_PLACEHOLDER:"Select an area",AREAS:"Areas",DATE:"$t(Date)",MODE:{DAILY:"Daily",LABEL:"Mode",MONTHLY:"Monthly"}}},TABS:{TAB1:"Volumes",TAB2:"Water losses and unmeasured consumption"},TITLE:"Monthly - Daily"},"Most Recent Event":"Most Recent Event",Name:"Name","Name of this organization":"Name of this organization","Network connections":"Network connections","Network Length":"Network Length","Network length":"Network length","New configuration":"New configuration","New Organization":"New Organization","New User":"New User","Next Area":"Next Area","Next Meter":"Next Meter","No comments":"No comments","No Data Found":"No Data Found",No:{" of Areas":"No. of Areas"," of layers":"No. of layers"," of Meters":"No. of Meters"," of service connections":"No. of service connections"},Notifications:"Notifications",Nov:"Nov",November:"November",Oct:"Oct",October:"October",Order:"Order",Organization:"Organization","Organization Logo":"Organization Logo","Organization users":"Organization users",Organizations:"Organizations",Outliers:"Outliers","Output/Input":"Output/Input",Overlays:"Overlays",Page:"Page","Parallels' coordinates":"Parallels' coordinates",Parameters:"Parameters","Parent Type":"Parent Type","Parent Type Code":"Parent Type Code","Parent Value":"Parent Value","Parent Value Code":"Parent Value Code",Password:"Password",Periodicity:"Periodicity",Pg:{"":"Pg."},"pH Meters Operating":"PH meters","Please insert a password":"Please insert a password","Please insert your username":"Please insert your username",Portuguese:"Portuguese",Portuguese_BR:"Portuguese (Brazilian)","Pressure Meters Operating":"Pressure meters","Previous Area":"Previous Area","Previous Meter":"Previous Meter","Priority Order":"Priority Order",Privacy:"Privacy",Private:"Private","Private record":"Private record","Probability Function":"Probability Function",Profile:"Profile","Profile Field Message":"Please input your {{fieldname}}!","Profile Picture":"Profile Picture",Profiles:"Profiles",QMIN:"Min. Flow",QMIN_QMED:"Min. Flow / Avg. Flow",QMIN_QMIN_HOMOLOGUE:"Min. Flow / Min. Flow Homologous","Rainfall Meters Operating":"Rainfall meters","Real Value":"Real Value","ReCAPTCHA Error":"ReCAPTCHA Error","Recover Password":"Recover Password","Refresh Table":"Refresh Table",Relationships:"Relationships","Remember Me":"Remember Me","Remember me":"Remember me","Remove from pattern":"Remove from pattern","Report Name":"Report Name",Reports:"Reports","Reset Filter":"Reset Filter",Responsible:"Responsible","Responsible User":"Responsible User",Role:"Role",Rule:"Rule","Rule Name":"Rule Name","Rule Subtype":"Rule Subtype","Rule Type":"Rule Type","Rule Type required":"Rule Type required","Rule Type Value":"Rule Type Value",Rules:"Rules",Saturday:"Saturday",Save:"Save","Save Changes":"Save Changes",Search:"Search","Search By":"Search By","Search by":"Search by","Search by Area, Meter, MeterType":"Search by Area, Meter, MeterType","Search by event id":"Search by event id, meter id, area id, etc...","Search by Meter, Zone":"Search by Meter, Zone","Search file":"Search file","Search for an profile picture here":"Search for an profile picture here","Search for the organization logo here":"Search for the organization logo here","Search icon":"Search icon","Search table":"Search table","See Details":"See Details",Select:"Select","Select a List Type":"Select a List Type","Select a System first":"Select a System first","Select Area":"Select Area","Select area":"Select area","Select areas/meters":"$t(Select) $t(areas)/$t(meters)","Select data type":"Select data type","Select file":"Select file","Select file to upload":"Select file to upload","Select file type":"Select file type","Select Language":"Select Language","Select Languages":"Select Languages","Select Meter Type":"Select Meter Type","Select System":"Select System Type","Select Zone":"Select Zone",Sep:"Sep",September:"September",Sequence:"Sequence","Sequential Occurrences":"Sequential Occurrences","Service Connections":"Service Connections",Settings:"Settings","Shape available":"Shape available",Shapefile:"Shapefile",Shapefiles:"Shapefiles",SHEET_NAME:"SheetName","Show all charts":"Show all charts","Show Chart":"Show Chart",Size:"Size",Sources:"Sources",Spanish:"Spanish",Start:"Start","Start Date":"Start Date","Start date":"Start date",Status:"Status",Submit:"Submit",Sunday:"Sunday",SUPPORT_MSG:"Please, send an issue to the support team.","Synced Data Calculation":"Synced Data Calculation",System:"System","System Type":"System Type",Systems:"Systems","SystemType Type":"SystemType Type",Tag:"Tag","Tag Name & Value":"Tag Name & Value","Temperature Meters Operating":"Temperature meters",Template:"Template",Thursday:"Thursday",Time:"Time","Time Window":"Time Window",Timewindow:"Timewindow",Timezones:"Timezones",TOAST:{ERROR:{DESCRIPTION:"The request could not be concluded because there is another request in progress.",EXPORT:{DESCRIPTION:"An error occured trying to export data.",MESSAGE:"Error"},MESSAGE:"The request could not be concluded!"}},"Toggle Fullscreen":"Toggle Fullscreen",Totalizer:"Totalizer",Tuesday:"Tuesday","Turbidity Meters Operating":"Turbidity meters",Type:"Type","Type Code":"Type Code",TYPE:{CATEGORY:"$t(Category)",STATUS:"$t(Status)"},Types:"Types",UF_EMPTY_FILE:"Empty file",UF_EMPTY_FILE_DATA:"Empty file data",UF_EXISTS_TYPECODE_CODE_LANGUAGE:"Duplicate TypeCode-Code-Language",UF_INVALID_CHILD_LIST_TYPE:"Child List Type invalid",UF_INVALID_CHILD_LIST_VALUE:"Child List value invalid",UF_INVALID_LANGUAGE:"Invalid Language",UF_INVALID_LIST_TYPE_ID:"Invalid ListTypeId",UF_INVALID_LIST_VALUE_ID:"Invalid ListValueId",UF_INVALID_NUM_SHEETS:"Number of Sheets invalid",UF_INVALID_PARENT_LIST_TYPE:"Parent List Type invalid",UF_INVALID_PARENT_LIST_VALUE:"Parent List value invalid",UF_INVALID_TENANT:"Invalid Tenant",Units:"Units","Units Data":"Units Data",Update:"Update","Update Date":"Update Date","Update End Date Message":'Updating the "End Date" will change this event to manual. Do you want to proceed?',"Update Event":"Update Event",URL:"URL",User:"User","User Name":"User Name","User name":"User name",Username:"Username",Users:"Users",Value:"Value",value:"value",Values:"Values",values:"values",Variance:"Variance",VAZAMENTO:"Vazamento","Velocity Meters Operating":"Velocity meters",Volume:"Volume","Volume by Area (m³)":"Volume by Area (m³)","Volume Meters Operating":"Volume meters",Wastewater:"Wastewater","Water Balance":"Water Balance","Water Level Meters Operating":"Water Level meters","Water Supply":"Water Supply",Wednesday:"Wednesday","Work Orders":"Work Orders",WORK_ORDER:"Work Order",WORK_ORDERS:{ActiveLeak:"Leak Detection Team",DMA:"DMA",ElementType:"Element Type",EndDate:"$t(End Date)",Location:"Location",MESSAGES:{WO_INVALID_DATES:"Invalid date",WO_INVALID_FILE_FORMAT:"Invalid file format",WO_INVALID_LATITUDE:"Invalid latitude",WO_INVALID_LONGITUDE:"Invalid longitude",WO_INVALID_TENANT:"Invalid tenant",WO_NO_AREA_AND_COORDINATES:"No Area and coordenates",WO_NUMBER_NOT_DEFINED:"Work order not defined"},Sector:"Sector",StartDate:"$t(Start Date)",TITLE:"Work Orders",TITLE_SINGULAR:"Work Order",WorkOrderNumber:"# Work Order"},"Write a description":"Write a description","You are about to delete this File":"You are about to delete this File","You are about to delete this Zone":"You are about to delete this Zone","You are about to disable this Area":"You are about to disable this Area","You are about to disable this GISSource":"You are about to disable this GISSource","You are about to disable this Interface":"You are about to disable this Interface","You are about to disable this Meter":"You are about to disable this Meter","You are about to disable this Relationship":"You are about to disable this Relationship","You are about to disable this Rule":"You are about to disable this Rule","You are about to disable this Type":"You are about to disable this Type","You are about to disable this Value":"You are about to disable this Value","You are about to disable this Zone":"You are about to disable this Zone","You must choose a rule type to be able to customize the parameters":"You must choose a rule type to be able to customize the parameters",Zone:"Zone","Zone name":"Zone name",ZONE_CHANGE:"Zone change",Zones:"Zones",zones:"zones"}},zae={translation:{GENERAL:{BACK:"Back",NEXT:"Next",SAVE:"Save",ACTIONS:{CLOSE:"Close",DELETE:"Delete",EDIT:"Edit",NEXT:"Next"},APP:"App",BACK_LOGIN:"Back to login",FORM:{ERRORS:{CONFIRM_PASSWORD:"The passwords must be the same!",EMAIL:"The email have to be this format 'email@exemple.com'",NOT_EMPTY:"This field is mandatory",VERSION:"The version must end with a numeric value",FORMAT:"The format must be like 'X.X.X'"}},MENU:"Menu",MESSAGES:{ERROR:{EMAIL_EXISTS:"Email already exists",ITEM_CREATE:"Error trying to add {{item}}",ITEM_DELETE:"Error trying to delete {{item}}",ITEM_UPDATE:"Error trying to update {{item}}",UNAUTHORIZED:"Sorry, you are not authorized to access this page.",USERNAME_EXISTS:"Username already exists",RELEASE_NOTE:{0:"Version already exists",1:"Deployed date must be greater than the last",2:"Invalid Request parameters"}},SUCCESS:{ITEM_CREATE:"{{item}} added successfully",ITEM_DELETE:"{{item}} deleted successfully",ITEM_UPDATE:"{{item}} updated successfully"},WARNING:{DELETE_CONFIRM:"You are about to delete this menu. Do you want proceed?"}},REMOVE:"Remove",ROLE:"Role",TENANT:"Organization",THEMES:{DARK:"Dark mode",LIGHT:"Light mode",TOOLTIP:"Click to switch to {{theme}}"},UPLOAD:"Upload",USER:"User",UPLOAD_LABEL:"Click or drag file to this area to upload",JPG_PNG_WARNING:"Only supports JPG or PNG files."},HELPDESK:{ERRORS_CODE:{DATATYPE_MISMATCH:"Deve conter apenas elementos do tipo de formato de arquivo válido.",INVALID_VALUE:"Valor inválido"},FORM:{BUTTONS:{SEND:"Enviar"},FIELDS:{ATTACHMENTS:"Anexos",DESCRIPTION:"Descrição",DESCRIPTION_PLACEHOLDER:"Insira a descrição...",EMAIL:"Email",EMAIL_PLACEHOLDER:"Insira o seu email…",NAME:"$t(Name)",NAME_PLACEHOLDER:"Insira seu nome...",SUBJECT:"Assunto",SUBJECT_PLACEHOLDER:"Insira o assunto...",TITLE:"Contacte-nos",UPLOAD_FILES:"<strong>Carregar ficheiro(s) (max. 5)</strong><br/><small>Clique para adicionar ou arraste e solte os ficheiros.</small>"},TITLE:"Bem-vindo ao apoio"},SUPPORT:"Apoio",TABLE:{CODE:"Mensagem",FIELD:"Campo"}},"RELEASE-NOTES":{WHATS_NEWS:"Welcome to {{app}} v{{version}} - What's News?",TITLE:"Release Notes",TEXT_SINGULAR:"Release Note",ADD_RELEASE_NOTE:"Add Release Note",UPD_RELEASE_NOTE:"Edit Release Note",ADD_NEW_SLIDE:"Add new slide",REMOVE_CURRENT_SLIDE:"Remove current slide",FORM:{FIELDS:{APP:"App",APP_PLACEHOLDER:"Select an app...",VERSION:"Version",VERSION_PLACEHOLDER:"Type the version...",VERSION_TOOLTIP:"The version of the selected application.",DEPLOY_DATE:"Deploy Date",TITLE:"Title...",DESCRIPTION:"Description...",DO_NOT_SHOW_AGAIN:"Do not show again until next update"},ADD_NEW_FIELD:"Add new field"}}}},Nae={translation:{GENERAL:{BACK:"Back",NEXT:"Next",SAVE:"Save",ACTIONS:{CLOSE:"Close",DELETE:"Delete",EDIT:"Edit",NEXT:"Next"},APP:"App",BACK_LOGIN:"Back to login",FORM:{ERRORS:{CONFIRM_PASSWORD:"The passwords must be the same!",EMAIL:"The email have to be this format 'email@exemple.com'",NOT_EMPTY:"This field is mandatory",VERSION:"The version must end with a numeric value",FORMAT:"The format must be like 'X.X.X'"}},MENU:"Menu",MESSAGES:{ERROR:{EMAIL_EXISTS:"Email already exists",ITEM_CREATE:"Error trying to add {{item}}",ITEM_DELETE:"Error trying to delete {{item}}",ITEM_UPDATE:"Error trying to update {{item}}",UNAUTHORIZED:"Sorry, you are not authorized to access this page.",USERNAME_EXISTS:"Username already exists",RELEASE_NOTE:{0:"Version already exists",1:"Deployed date must be greater than the last",2:"Invalid Request parameters"}},SUCCESS:{ITEM_CREATE:"{{item}} added successfully",ITEM_DELETE:"{{item}} deleted successfully",ITEM_UPDATE:"{{item}} updated successfully"},WARNING:{DELETE_CONFIRM:"You are about to delete this menu. Do you want proceed?"}},REMOVE:"Remove",ROLE:"Role",TENANT:"Organization",THEMES:{DARK:"Dark mode",LIGHT:"Light mode",TOOLTIP:"Click to switch to {{theme}}"},UPLOAD:"Upload",USER:"User",UPLOAD_LABEL:"Click or drag file to this area to upload",JPG_PNG_WARNING:"Only supports JPG or PNG files."},HELPDESK:{ERRORS_CODE:{DATATYPE_MISMATCH:"Ar trebui să conțină doar elemente de tip format de fișier valid",INVALID_VALUE:"Valoare invalida"},FORM:{BUTTONS:{SEND:"Trimite"},FIELDS:{ATTACHMENTS:"Atașamente",DESCRIPTION:"Descriere",DESCRIPTION_PLACEHOLDER:"Introduceți descrierea...",EMAIL:"Email",EMAIL_PLACEHOLDER:"Introduceți e-mailul dvs...",NAME:"$t(Name)",NAME_PLACEHOLDER:"Introduceți numele dvs...",SUBJECT:"Subiect",SUBJECT_PLACEHOLDER:"Introduceți subiectul...",TITLE:"Contactaţi-ne",UPLOAD_FILES:"<strong>Încărcați fișiere (max. 5)</strong><br/><small>Faceți clic pentru a adăuga sau trage și plasați fișiere.</small>"},TITLE:"Bun venit la sprijin"},SUPPORT:"A sustine",TABLE:{CODE:"Mesaj",FIELD:"Camp"}},"RELEASE-NOTES":{WHATS_NEWS:"Welcome to {{app}} v{{version}} - What's News?",TITLE:"Release Notes",TEXT_SINGULAR:"Release Note",ADD_RELEASE_NOTE:"Add Release Note",UPD_RELEASE_NOTE:"Edit Release Note",ADD_NEW_SLIDE:"Add new slide",REMOVE_CURRENT_SLIDE:"Remove current slide",FORM:{FIELDS:{APP:"App",APP_PLACEHOLDER:"Select an app...",VERSION:"Version",VERSION_PLACEHOLDER:"Type the version...",VERSION_TOOLTIP:"The version of the selected application.",DEPLOY_DATE:"Deploy Date",TITLE:"Title...",DESCRIPTION:"Description...",DO_NOT_SHOW_AGAIN:"Do not show again until next update"},ADD_NEW_FIELD:"Add new field"}}}};Yn.use(Zx).use(A2e).init({debug:!1,fallbackLng:"PT",interpolation:{escapeValue:!1},resources:{EN:Eae,ES:Mae,JP:wae,PT:zae,RO:Nae,BR:Lae}});const eL=()=>{};let hd={},tL={},nL=null,rL={mark:eL,measure:eL};try{typeof window<"u"&&(hd=window),typeof document<"u"&&(tL=document),typeof MutationObserver<"u"&&(nL=MutationObserver),typeof performance<"u"&&(rL=performance)}catch{}const{userAgent:aL=""}=hd.navigator||{},C2=hd,bn=tL,oL=nL,J0=rL;C2.document;const Q1=!!bn.documentElement&&!!bn.head&&typeof bn.addEventListener=="function"&&typeof bn.createElement=="function",iL=~aL.indexOf("MSIE")||~aL.indexOf("Trident/");var Sn="classic",cL="duotone",Dr="sharp",_r="sharp-duotone",Oae=[Sn,cL,Dr,_r],$ae={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}},lL={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Iae=["kit"],Pae=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,Tae=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,Rae={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},Aae={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds"}},Dae={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds"}},_ae={classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]},kae={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid"}},Fae={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds"}},sL={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid"}},jae=["solid","regular","light","thin","duotone","brands"],uL=[1,2,3,4,5,6,7,8,9,10],Bae=uL.concat([11,12,13,14,15,16,17,18,19,20]),Yi={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Hae=[...Object.keys(_ae),...jae,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Yi.GROUP,Yi.SWAP_OPACITY,Yi.PRIMARY,Yi.SECONDARY].concat(uL.map(e=>"".concat(e,"x"))).concat(Bae.map(e=>"w-".concat(e))),Vae={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Wae={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},Uae={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},dL={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}};const J1="___FONT_AWESOME___",vd=16,fL="fa",mL="svg-inline--fa",ea="data-fa-i2svg",bd="data-fa-pseudo-element",Kae="data-fa-pseudo-element-pending",Cd="data-prefix",yd="data-icon",pL="fontawesome-i2svg",qae="async",Gae=["HTML","HEAD","STYLE","SCRIPT"],gL=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})(),hL=[Sn,Dr,_r];function Xi(e){return new Proxy(e,{get(t,n){return n in t?t[n]:t[Sn]}})}const vL={...sL};vL[Sn]={...sL[Sn],...lL.kit,...lL["kit-duotone"]};const ta=Xi(vL),Sd={...Fae};Sd[Sn]={...Sd[Sn],...dL.kit,...dL["kit-duotone"]};const Qi=Xi(Sd),xd={...kae};xd[Sn]={...xd[Sn],...Uae.kit};const na=Xi(xd),Ld={...Dae};Ld[Sn]={...Ld[Sn],...Wae.kit};const Yae=Xi(Ld),Xae=Pae,bL="fa-layers-text",Qae=Tae,Jae={...$ae};Xi(Jae);const Zae=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ed=Yi,bo=new Set;Object.keys(Qi[Sn]).map(bo.add.bind(bo)),Object.keys(Qi[Dr]).map(bo.add.bind(bo)),Object.keys(Qi[_r]).map(bo.add.bind(bo));const eoe=[...Iae,...Hae],Ji=C2.FontAwesomeConfig||{};function toe(e){var t=bn.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function noe(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}bn&&typeof bn.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[n,r]=t;const a=noe(toe(n));a!=null&&(Ji[r]=a)});const CL={styleDefault:"solid",familyDefault:"classic",cssPrefix:fL,replacementClass:mL,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ji.familyPrefix&&(Ji.cssPrefix=Ji.familyPrefix);const Co={...CL,...Ji};Co.autoReplaceSvg||(Co.observeMutations=!1);const Ct={};Object.keys(CL).forEach(e=>{Object.defineProperty(Ct,e,{enumerable:!0,set:function(t){Co[e]=t,Zi.forEach(n=>n(Ct))},get:function(){return Co[e]}})}),Object.defineProperty(Ct,"familyPrefix",{enumerable:!0,set:function(e){Co.cssPrefix=e,Zi.forEach(t=>t(Ct))},get:function(){return Co.cssPrefix}}),C2.FontAwesomeConfig=Ct;const Zi=[];function roe(e){return Zi.push(e),()=>{Zi.splice(Zi.indexOf(e),1)}}const y2=vd,N1={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function aoe(e){if(!e||!Q1)return;const t=bn.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=bn.head.childNodes;let r=null;for(let a=n.length-1;a>-1;a--){const o=n[a],i=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=o)}return bn.head.insertBefore(t,r),e}const ooe="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ec(){let e=12,t="";for(;e-- >0;)t+=ooe[Math.random()*62|0];return t}function yo(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Md(e){return e.classList?yo(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function yL(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ioe(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,'="').concat(yL(e[n]),'" '),"").trim()}function Z0(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";"),"")}function wd(e){return e.size!==N1.size||e.x!==N1.x||e.y!==N1.y||e.rotate!==N1.rotate||e.flipX||e.flipY}function coe(e){let{transform:t,containerWidth:n,iconWidth:r}=e;const a={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(t.x*32,", ").concat(t.y*32,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),c="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(o," ").concat(i," ").concat(c)},s={transform:"translate(".concat(r/2*-1," -256)")};return{outer:a,inner:l,path:s}}function loe(e){let{transform:t,width:n=vd,height:r=vd,startCentered:a=!1}=e,o="";return a&&iL?o+="translate(".concat(t.x/y2-n/2,"em, ").concat(t.y/y2-r/2,"em) "):a?o+="translate(calc(-50% + ".concat(t.x/y2,"em), calc(-50% + ").concat(t.y/y2,"em)) "):o+="translate(".concat(t.x/y2,"em, ").concat(t.y/y2,"em) "),o+="scale(".concat(t.size/y2*(t.flipX?-1:1),", ").concat(t.size/y2*(t.flipY?-1:1),") "),o+="rotate(".concat(t.rotate,"deg) "),o}var soe=`:root, :host {
490
+ */var px;function K1e(){if(px)return B0;px=1,B0.parse=i,B0.serialize=s;var e=Object.prototype.toString,t=Object.prototype.hasOwnProperty,n=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,r=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,a=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,o=/^[\u0020-\u003A\u003D-\u007E]*$/;function i(p,h){if(typeof p!="string")throw new TypeError("argument str must be a string");var v={},g=p.length;if(g<2)return v;var C=h&&h.decode||d,b=0,y=0,x=0;do{if(y=p.indexOf("=",b),y===-1)break;if(x=p.indexOf(";",b),x===-1)x=g;else if(y>x){b=p.lastIndexOf(";",y-1)+1;continue}var S=c(p,b,y),L=l(p,y,S),E=p.slice(S,L);if(!t.call(v,E)){var M=c(p,y+1,x),w=l(p,x,M);p.charCodeAt(M)===34&&p.charCodeAt(w-1)===34&&(M++,w--);var z=p.slice(M,w);v[E]=m(z,C)}b=x+1}while(b<g);return v}function c(p,h,v){do{var g=p.charCodeAt(h);if(g!==32&&g!==9)return h}while(++h<v);return v}function l(p,h,v){for(;h>v;){var g=p.charCodeAt(--h);if(g!==32&&g!==9)return h+1}return v}function s(p,h,v){var g=v&&v.encode||encodeURIComponent;if(typeof g!="function")throw new TypeError("option encode is invalid");if(!n.test(p))throw new TypeError("argument name is invalid");var C=g(h);if(!r.test(C))throw new TypeError("argument val is invalid");var b=p+"="+C;if(!v)return b;if(v.maxAge!=null){var y=Math.floor(v.maxAge);if(!isFinite(y))throw new TypeError("option maxAge is invalid");b+="; Max-Age="+y}if(v.domain){if(!a.test(v.domain))throw new TypeError("option domain is invalid");b+="; Domain="+v.domain}if(v.path){if(!o.test(v.path))throw new TypeError("option path is invalid");b+="; Path="+v.path}if(v.expires){var x=v.expires;if(!f(x)||isNaN(x.valueOf()))throw new TypeError("option expires is invalid");b+="; Expires="+x.toUTCString()}if(v.httpOnly&&(b+="; HttpOnly"),v.secure&&(b+="; Secure"),v.partitioned&&(b+="; Partitioned"),v.priority){var S=typeof v.priority=="string"?v.priority.toLowerCase():v.priority;switch(S){case"low":b+="; Priority=Low";break;case"medium":b+="; Priority=Medium";break;case"high":b+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(v.sameSite){var L=typeof v.sameSite=="string"?v.sameSite.toLowerCase():v.sameSite;switch(L){case!0:b+="; SameSite=Strict";break;case"lax":b+="; SameSite=Lax";break;case"strict":b+="; SameSite=Strict";break;case"none":b+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return b}function d(p){return p.indexOf("%")!==-1?decodeURIComponent(p):p}function f(p){return e.call(p)==="[object Date]"}function m(p,h){try{return h(p)}catch{return p}}return B0}var H0=K1e();function q1e(){const e=typeof global>"u"?void 0:global.TEST_HAS_DOCUMENT_COOKIE;return typeof e=="boolean"?e:typeof document=="object"&&typeof document.cookie=="string"}function G1e(e){return typeof e=="string"?H0.parse(e):typeof e=="object"&&e!==null?e:{}}function ad(e,t={}){const n=Y1e(e);if(!t.doNotParse)try{return JSON.parse(n)}catch{}return e}function Y1e(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class X1e{constructor(t,n={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const a=this.cookies;this.cookies=H0.parse(document.cookie),this._checkChanges(a)};const r=typeof document>"u"?"":document.cookie;this.cookies=G1e(t||r),this.defaultSetOptions=n,this.HAS_DOCUMENT_COOKIE=q1e()}_emitChange(t){for(let n=0;n<this.changeListeners.length;++n)this.changeListeners[n](t)}_checkChanges(t){new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach(r=>{t[r]!==this.cookies[r]&&this._emitChange({name:r,value:ad(this.cookies[r])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,n={}){return n.doNotUpdate||this.update(),ad(this.cookies[t],n)}getAll(t={}){t.doNotUpdate||this.update();const n={};for(let r in this.cookies)n[r]=ad(this.cookies[r],t);return n}set(t,n,r){r?r=Object.assign(Object.assign({},this.defaultSetOptions),r):r=this.defaultSetOptions;const a=typeof n=="string"?n:JSON.stringify(n);this.cookies=Object.assign(Object.assign({},this.cookies),{[t]:a}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=H0.serialize(t,a,r)),this._emitChange({name:t,value:n,options:r})}remove(t,n){const r=n=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),n),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=H0.serialize(t,"",r)),this._emitChange({name:t,value:void 0,options:n})}addChangeListener(t){this.changeListeners.push(t),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===1&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(t){const n=this.changeListeners.indexOf(t);n>=0&&this.changeListeners.splice(n,1),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===0&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}const Q1e=()=>localStorage.i18nextLng.replace(/([a-zA-Z]*)[-][a-zA-Z]*/g,"$1").toUpperCase(),J1e=()=>mo(R1.AppId);function mo(e){return new X1e(null,{path:"/"}).get(`ga-${e}`)}const Z1e=(e,t)=>{const n=new FileReader;n.addEventListener("load",()=>t(n.result)),n.readAsDataURL(e)},e2e=e=>{const t=e.type==="image/jpeg"||e.type==="image/png";t||x0.error("You can only upload JPG/PNG file!");const n=e.size/1024/1024<2;return n||x0.error("Image must smaller than 2MB!"),t&&n},gx=e=>e&&oR+e,t2e=e=>{var t;return e&&((t=e.split(","))==null?void 0:t.slice(1).join(""))},n2e=(e,t,n)=>e.map(r=>({label:r[t],value:r[n]})),od=mo(R1.AppName);class V0{static get(t){const n=localStorage.getItem(`${od}.${t}`);try{return JSON.parse(n)}catch{return n}}}Sf(V0,"set",(t,n)=>localStorage.setItem(`${od}.${t}`,JSON.stringify(n))),Sf(V0,"remove",t=>localStorage.removeItem(`${od}.${t}`));const On={ColorPrimary:"#60c5cf",PrimaryColorText:"#fff",ColorTextQuaternary:"#6f6f6f",PrimaryColorBgContainer:"rgb(48, 48, 48)",SecondaryBorderColor:"#101010",ColorBgHeader:"rgb(35, 35, 35)",ColorBgContent:"rgb(35, 35, 35)",ColorBgActive:"#3b3b3b",ColorBgChartBtn:"rgb(80, 80, 83)",DisabledColor:"rgb(102, 102, 102)",ChartDefColor:"rgb(214, 214, 214)",ChartSecColor:"rgb(51, 51, 51)",NeutralColor1:"rgba(255, 255, 255, 1)",NeutralColor2:"rgba(255, 255, 255, 0.4)",NeutralColor3:"rgba(255, 255, 255, 0.1)",ColorBgTrigger:"rgb(80, 80, 83)",ColorWhite:"#fff",ColorLinkHover:"#0e80c0"},En={ColorPrimary:"#60c5cf",PrimaryColorText:"#000",ColorTextQuaternary:"#d4d4d4",PrimaryColorBgContainer:"rgba(255, 255, 255, 1)",SecondaryBorderColor:"rgba(229,229,229, 1)",ColorBgHeader:"rgb(241, 241, 241)",ColorBgContent:"rgba(250, 250, 250, 0.85)",ColorBgActive:"#e3e3e3",ColorBgChartBtn:"rgb(247, 247, 247)",DisabledColor:"rgb(204, 204, 204)",ChartDefColor:"rgb(51, 51, 51)",ChartSecColor:"rgb(214, 214, 214)",NeutralColor1:"#000000",NeutralColor2:"#919191",NeutralColor3:"rgba(0,0,0,0.12)",ColorBgTrigger:"#d4d4d4",ColorWhite:"#fff",ColorLinkHover:"#0e80c0"},{defaultAlgorithm:r2e,darkAlgorithm:a2e}=Fre,o2e={algorithm:a2e,token:{colorPrimary:On.ColorPrimary,colorText:On.PrimaryColorText,colorTextQuaternary:On.ColorTextQuaternary,colorLinkHover:On.ColorLinkHover},components:{Checkbox:{colorText:On.PrimaryColorText},Card:{colorBgContainer:On.ColorBgActive,colorBorderSecondary:On.SecondaryBorderColor,padding:16,paddingXS:8,paddingSM:8,paddingLG:16},Table:{colorText:On.PrimaryColorText,colorTextHeading:On.PrimaryColorText},Modal:{titleColor:On.PrimaryColorText,titleFontSize:25,titleLineHeight:2},Form:{colorTextLabel:On.PrimaryColorText,itemMarginBottom:10},Layout:{headerBg:On.ColorBgHeader,bodyBg:On.ColorBgHeader,triggerBg:On.ColorBgTrigger,siderBg:On.ColorBgHeader,footerBg:"transparent"},Menu:{colorBgContainer:On.ColorBgHeader,controlItemBgActive:On.ColorBgActive},DatePicker:{controlItemBgActive:On.ColorBgActive},Tabs:{colorBorderSecondary:On.SecondaryBorderColor},Button:{colorLink:On.ColorPrimary}}},i2e={algorithm:r2e,token:{colorPrimary:En.ColorPrimary,colorText:En.PrimaryColorText,colorTextQuaternary:En.ColorTextQuaternary,colorLinkHover:En.ColorLinkHover},components:{Checkbox:{colorText:En.PrimaryColorText},Card:{colorBgContainer:En.PrimaryColorBgContainer,colorBorderSecondary:En.SecondaryBorderColor,padding:16,paddingXS:8,paddingSM:8,paddingLG:16},Table:{colorText:En.PrimaryColorText,colorTextHeading:En.PrimaryColorText},Modal:{colorBgElevated:En.PrimaryColorBgContainer,titleColor:En.PrimaryColorText,titleFontSize:25,titleLineHeight:2},Form:{colorTextLabel:En.PrimaryColorText,itemMarginBottom:10},Layout:{headerBg:En.ColorBgHeader,bodyBg:En.ColorBgContent,triggerBg:En.ColorBgTrigger,siderBg:En.ColorBgHeader,footerBg:"transparent"},Menu:{colorBgContainer:En.ColorBgHeader,controlItemBgActive:En.ColorBgActive},Button:{colorLink:En.ColorPrimary},Tabs:{colorBgContainer:En.ColorPrimary,colorBorderSecondary:En.SecondaryBorderColor,itemSelectedColor:En.ColorPrimary}}};var c2e={items_per_page:"/ página",jump_to:"Ir a",jump_to_confirm:"confirmar",page:"Página",prev_page:"Página anterior",next_page:"Página siguiente",prev_5:"5 páginas previas",next_5:"5 páginas siguientes",prev_3:"3 páginas previas",next_3:"3 páginas siguientes",page_size:"tamaño de página"},l2e=H(H({},ko),{},{locale:"es_ES",today:"Hoy",now:"Ahora",backToToday:"Volver a hoy",ok:"Aceptar",clear:"Limpiar",month:"Mes",year:"Año",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar fecha",monthSelect:"Elegir un mes",yearSelect:"Elegir un año",decadeSelect:"Elegir una década",dateFormat:"D/M/YYYY",dateTimeFormat:"D/M/YYYY HH:mm:ss",previousMonth:"Mes anterior (PageUp)",nextMonth:"Mes siguiente (PageDown)",previousYear:"Año anterior (Control + left)",nextYear:"Año siguiente (Control + right)",previousDecade:"Década anterior",nextDecade:"Década siguiente",previousCentury:"Siglo anterior",nextCentury:"Siglo siguiente"});const hx={placeholder:"Seleccionar hora"},vx={lang:Object.assign({placeholder:"Seleccionar fecha",rangePlaceholder:["Fecha inicial","Fecha final"],shortWeekDays:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"],shortMonths:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"]},l2e),timePickerLocale:Object.assign({},hx)},Pr="${label} no es un ${type} válido",s2e={locale:"es",Pagination:c2e,DatePicker:vx,TimePicker:hx,Calendar:vx,global:{placeholder:"Seleccione"},Table:{filterTitle:"Filtrar menú",filterConfirm:"Aceptar",filterReset:"Reiniciar",filterEmptyText:"Sin filtros",filterCheckall:"Seleccionar todo",filterSearchPlaceholder:"Buscar en filtros",emptyText:"Sin datos",selectAll:"Seleccionar todo",selectInvert:"Invertir selección",selectNone:"Vacíe todo",selectionAll:"Seleccionar todos los datos",sortTitle:"Ordenar",expand:"Expandir fila",collapse:"Colapsar fila",triggerDesc:"Click para ordenar en orden descendente",triggerAsc:"Click para ordenar en orden ascendente",cancelSort:"Click para cancelar ordenamiento"},Tour:{Next:"Siguiente",Previous:"Anterior",Finish:"Finalizar"},Modal:{okText:"Aceptar",cancelText:"Cancelar",justOkText:"Aceptar"},Popconfirm:{okText:"Aceptar",cancelText:"Cancelar"},Transfer:{titles:["",""],searchPlaceholder:"Buscar aquí",itemUnit:"elemento",itemsUnit:"elementos",remove:"Eliminar",selectCurrent:"Seleccionar página actual",removeCurrent:"Eliminar página actual",selectAll:"Seleccionar todos los datos",removeAll:"Eliminar todos los datos",selectInvert:"Invertir página actual"},Upload:{uploading:"Subiendo...",removeFile:"Eliminar archivo",uploadError:"Error al subir el archivo",previewFile:"Vista previa",downloadFile:"Descargar archivo"},Empty:{description:"No hay datos"},Icon:{icon:"ícono"},Text:{edit:"Editar",copy:"Copiar",copied:"Copiado",expand:"Expandir"},Form:{optional:"(opcional)",defaultValidateMessages:{default:"Error de validación del campo ${label}",required:"Por favor, rellena ${label}",enum:"${label} debe ser uno de [${enum}]",whitespace:"${label} no puede ser un carácter en blanco",date:{format:"El formato de fecha de ${label} es inválido",parse:"${label} no se puede convertir a una fecha",invalid:"${label} es una fecha inválida"},types:{string:Pr,method:Pr,array:Pr,object:Pr,number:Pr,date:Pr,boolean:Pr,integer:Pr,float:Pr,regexp:Pr,email:Pr,url:Pr,hex:Pr},string:{len:"${label} debe tener ${len} caracteres",min:"${label} debe tener al menos ${min} caracteres",max:"${label} debe tener hasta ${max} caracteres",range:"${label} debe tener entre ${min}-${max} caracteres"},number:{len:"${label} debe ser igual a ${len}",min:"${label} valor mínimo es ${min}",max:"${label} valor máximo es ${max}",range:"${label} debe ser entre ${min}-${max}"},array:{len:"Debe ser ${len} ${label}",min:"Al menos ${min} ${label}",max:"Como máximo ${max} ${label}",range:"El valor de ${label} debe estar entre ${min}-${max}"},pattern:{mismatch:"${label} no coincide con el patrón ${pattern}"}}},Image:{preview:"Previsualización"}};var u2e={items_per_page:"件 / ページ",jump_to:"移動",jump_to_confirm:"確認する",page:"ページ",prev_page:"前のページ",next_page:"次のページ",prev_5:"前 5ページ",next_5:"次 5ページ",prev_3:"前 3ページ",next_3:"次 3ページ",page_size:"ページサイズ"},d2e=H(H({},ko),{},{locale:"ja_JP",today:"今日",now:"現在時刻",backToToday:"今日に戻る",ok:"確定",timeSelect:"時間を選択",dateSelect:"日時を選択",weekSelect:"週を選択",clear:"クリア",month:"月",year:"年",previousMonth:"前月 (ページアップキー)",nextMonth:"翌月 (ページダウンキー)",monthSelect:"月を選択",yearSelect:"年を選択",decadeSelect:"年代を選択",yearFormat:"YYYY年",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH時mm分ss秒",previousYear:"前年 (Controlを押しながら左キー)",nextYear:"翌年 (Controlを押しながら右キー)",previousDecade:"前の年代",nextDecade:"次の年代",previousCentury:"前の世紀",nextCentury:"次の世紀",monthBeforeYear:!1});const bx={placeholder:"時間を選択",rangePlaceholder:["開始時間","終了時間"]},Cx={lang:Object.assign({placeholder:"日付を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",monthPlaceholder:"月を選択",weekPlaceholder:"週を選択",rangePlaceholder:["開始日付","終了日付"],rangeYearPlaceholder:["開始年","終了年"],rangeMonthPlaceholder:["開始月","終了月"],rangeQuarterPlaceholder:["開始四半期","終了四半期"],rangeWeekPlaceholder:["開始週","終了週"],shortWeekDays:["日","月","火","水","木","金","土"],shortMonths:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},d2e),timePickerLocale:Object.assign({},bx)},Tr="${label}は有効な${type}ではありません",f2e={locale:"ja",Pagination:u2e,DatePicker:Cx,TimePicker:bx,Calendar:Cx,global:{placeholder:"選んでください"},Table:{filterTitle:"フィルター",filterConfirm:"OK",filterReset:"リセット",filterEmptyText:"フィルターなし",filterCheckall:"すべてを選択",filterSearchPlaceholder:"フィルターで検索",emptyText:"データなし",selectAll:"ページ単位で選択",selectInvert:"ページ単位で反転",selectNone:"クリア",selectionAll:"すべてを選択",sortTitle:"ソート",expand:"展開する",collapse:"折り畳む",triggerDesc:"クリックで降順にソート",triggerAsc:"クリックで昇順にソート",cancelSort:"ソートをキャンセル"},Tour:{Next:"次",Previous:"前の",Finish:"仕上げる"},Modal:{okText:"OK",cancelText:"キャンセル",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"キャンセル"},Transfer:{titles:["",""],searchPlaceholder:"ここを検索",itemUnit:"アイテム",itemsUnit:"アイテム",remove:"削除",selectCurrent:"現在のページを選択",removeCurrent:"現在のページを削除",selectAll:"ページ単位で選択",deselectAll:"すべてのデータの選択を解除する",removeAll:"ページ単位で削除",selectInvert:"ページ単位で反転"},Upload:{uploading:"アップロード中...",removeFile:"ファイルを削除",uploadError:"アップロードエラー",previewFile:"ファイルをプレビュー",downloadFile:"ダウンロードファイル"},Empty:{description:"データがありません"},Icon:{icon:"アイコン"},Text:{edit:"編集",copy:"コピー",copied:"コピーされました",expand:"拡大する",collapse:"崩壊"},Form:{optional:"(オプション)",defaultValidateMessages:{default:"${label}のフィールド検証エラー",required:"${label}を入力してください",enum:"${label}は[${enum}]のいずれかである必要があります",whitespace:"${label}は空白文字にすることはできません",date:{format:"${label}の日付形式は不正です",parse:"${label}は日付に変換できません",invalid:"${label}は不正な日付です"},types:{string:Tr,method:Tr,array:Tr,object:Tr,number:Tr,date:Tr,boolean:Tr,integer:Tr,float:Tr,regexp:Tr,email:Tr,url:Tr,hex:Tr},string:{len:"${label}は${len}文字である必要があります",min:"${label}は${min}文字以上である必要があります",max:"${label}は${max}文字以下である必要があります",range:"${label}は${min}-${max}文字の範囲である必要があります"},number:{len:"${label}は${len}と等しい必要があります",min:"${label}の最小値は${min}です",max:"${label}の最大値は${max}です",range:"${label}は${min}-${max}の範囲である必要があります"},array:{len:"${label}は${len}である必要があります",min:"${label}の最小は${min}です",max:"${label}の最大は${max}です",range:"${label}の合計は${min}-${max}の範囲である必要があります"},pattern:{mismatch:"${label}はパターン${pattern}と一致しません"}}},Image:{preview:"プレビュー"},QRCode:{expired:"QRコードの有効期限が切れました",refresh:"リフレッシュ",scanned:"スキャン済み"},ColorPicker:{presetEmpty:"空の",transparent:"透明",singleColor:"単色",gradientColor:"グラデーション"}};var m2e={items_per_page:"/ página",jump_to:"Vá até",jump_to_confirm:"confirme",page:"Página",prev_page:"Página anterior",next_page:"Próxima página",prev_5:"5 páginas anteriores",next_5:"5 próximas páginas",prev_3:"3 páginas anteriores",next_3:"3 próximas páginas",page_size:"tamanho da página"},p2e=H(H({},ko),{},{locale:"pt_BR",today:"Hoje",now:"Agora",backToToday:"Voltar para hoje",ok:"OK",clear:"Limpar",month:"Mês",year:"Ano",timeSelect:"Selecionar hora",dateSelect:"Selecionar data",monthSelect:"Escolher mês",yearSelect:"Escolher ano",decadeSelect:"Escolher década",dateFormat:"D/M/YYYY",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!1,previousMonth:"Mês anterior (PageUp)",nextMonth:"Próximo mês (PageDown)",previousYear:"Ano anterior (Control + esquerda)",nextYear:"Próximo ano (Control + direita)",previousDecade:"Década anterior",nextDecade:"Próxima década",previousCentury:"Século anterior",nextCentury:"Próximo século",shortWeekDays:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],shortMonths:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"]});const yx={placeholder:"Hora"},Sx={lang:Object.assign({placeholder:"Selecionar data",rangePlaceholder:["Data inicial","Data final"]},p2e),timePickerLocale:Object.assign({},yx)},Rr="${label} não é um ${type} válido",xx={locale:"pt-br",Pagination:m2e,DatePicker:Sx,TimePicker:yx,Calendar:Sx,global:{placeholder:"Por favor escolha"},Table:{filterTitle:"Menu de Filtro",filterConfirm:"OK",filterReset:"Resetar",filterEmptyText:"Sem filtros",filterCheckall:"Selecionar todos os itens",filterSearchPlaceholder:"Pesquisar nos filtros",emptyText:"Sem conteúdo",selectAll:"Selecionar página atual",selectInvert:"Inverter seleção",selectNone:"Apagar todo o conteúdo",selectionAll:"Selecionar todo o conteúdo",sortTitle:"Ordenar título",expand:"Expandir linha",collapse:"Colapsar linha",triggerDesc:"Clique organiza por descendente",triggerAsc:"Clique organiza por ascendente",cancelSort:"Clique para cancelar organização"},Tour:{Next:"Próximo",Previous:"Anterior",Finish:"Finalizar"},Modal:{okText:"OK",cancelText:"Cancelar",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancelar"},Transfer:{titles:["",""],searchPlaceholder:"Procurar",itemUnit:"item",itemsUnit:"items",remove:"Remover",selectCurrent:"Selecionar página atual",removeCurrent:"Remover página atual",selectAll:"Selecionar todos",removeAll:"Remover todos",selectInvert:"Inverter seleção atual"},Upload:{uploading:"Enviando...",removeFile:"Remover arquivo",uploadError:"Erro no envio",previewFile:"Visualizar arquivo",downloadFile:"Baixar arquivo"},Empty:{description:"Não há dados"},Icon:{icon:"ícone"},Text:{edit:"editar",copy:"copiar",copied:"copiado",expand:"expandir"},Form:{optional:"(opcional)",defaultValidateMessages:{default:"Erro ${label} na validação de campo",required:"Por favor, insira ${label}",enum:"${label} deve ser um dos seguinte: [${enum}]",whitespace:"${label} não pode ser um carácter vazio",date:{format:" O formato de data ${label} é inválido",parse:"${label} não pode ser convertido para uma data",invalid:"${label} é uma data inválida"},types:{string:Rr,method:Rr,array:Rr,object:Rr,number:Rr,date:Rr,boolean:Rr,integer:Rr,float:Rr,regexp:Rr,email:Rr,url:Rr,hex:Rr},string:{len:"${label} deve possuir ${len} caracteres",min:"${label} deve possuir ao menos ${min} caracteres",max:"${label} deve possuir no máximo ${max} caracteres",range:"${label} deve possuir entre ${min} e ${max} caracteres"},number:{len:"${label} deve ser igual à ${len}",min:"O valor mínimo de ${label} é ${min}",max:"O valor máximo de ${label} é ${max}",range:"${label} deve estar entre ${min} e ${max}"},array:{len:"Deve ser ${len} ${label}",min:"No mínimo ${min} ${label}",max:"No máximo ${max} ${label}",range:"A quantidade de ${label} deve estar entre ${min} e ${max}"},pattern:{mismatch:"${label} não se encaixa no padrão ${pattern}"}}},Image:{preview:"Pré-visualização"}};var g2e={items_per_page:"/ pagină",jump_to:"Mergi la",jump_to_confirm:"confirm",page:"",prev_page:"Pagina Anterioară",next_page:"Pagina Următoare",prev_5:"5 Pagini Anterioare",next_5:"5 Pagini Următoare",prev_3:"3 Pagini Anterioare",next_3:"3 Pagini Următoare",page_size:"Page Size"},h2e=H(H({},ko),{},{locale:"ro_RO",today:"Azi",now:"Acum",backToToday:"Înapoi la azi",ok:"OK",clear:"Șterge",month:"Lună",year:"An",timeSelect:"selectează timpul",dateSelect:"selectează data",weekSelect:"Alege o săptămână",monthSelect:"Alege o lună",yearSelect:"Alege un an",decadeSelect:"Alege un deceniu",dateFormat:"D/M/YYYY",dateTimeFormat:"D/M/YYYY HH:mm:ss",previousMonth:"Luna anterioară (PageUp)",nextMonth:"Luna următoare (PageDown)",previousYear:"Anul anterior (Control + stânga)",nextYear:"Anul următor (Control + dreapta)",previousDecade:"Deceniul anterior",nextDecade:"Deceniul următor",previousCentury:"Secolul anterior",nextCentury:"Secolul următor"});const Lx={placeholder:"Selectează ora"},Ex={lang:Object.assign({placeholder:"Selectează data",rangePlaceholder:["Data start","Data sfârșit"]},h2e),timePickerLocale:Object.assign({},Lx)},Ar="${label} nu conține tipul corect (${type})",v2e={locale:"ro",Pagination:g2e,DatePicker:Ex,TimePicker:Lx,Calendar:Ex,global:{placeholder:"Selectează"},Table:{filterTitle:"Filtrează",filterConfirm:"OK",filterReset:"Resetează",filterEmptyText:"Fără filtre",emptyText:"Nu există date",selectAll:"Selectează pagina curentă",selectInvert:"Inversează pagina curentă",selectNone:"Șterge selecția",selectionAll:"Selectează toate datele",sortTitle:"Ordonează",expand:"Extinde rândul",collapse:"Micșorează rândul",triggerDesc:"Apasă pentru ordonare descrescătoare",triggerAsc:"Apasă pentru ordonare crescătoare",cancelSort:"Apasă pentru a anula ordonarea"},Modal:{okText:"OK",cancelText:"Anulare",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Anulare"},Transfer:{titles:["",""],searchPlaceholder:"Căutare",itemUnit:"element",itemsUnit:"elemente",remove:"Șterge",selectCurrent:"Selectează pagina curentă",removeCurrent:"Șterge pagina curentă",selectAll:"Selectează toate datele",removeAll:"Șterge toate datele",selectInvert:"Inversează pagina curentă"},Upload:{uploading:"Se transferă...",removeFile:"Înlătură fișierul",uploadError:"Eroare la upload",previewFile:"Previzualizare fișier",downloadFile:"Descărcare fișier"},Empty:{description:"Fără date"},Icon:{icon:"icon"},Text:{edit:"editează",copy:"copiază",copied:"copiat",expand:"extinde"},Form:{optional:"(opțional)",defaultValidateMessages:{default:"Eroare la validarea câmpului ${label}",required:"Vă rugăm introduceți ${label}",enum:"${label} trebuie să fie una din valorile [${enum}]",whitespace:"${label} nu poate fi gol",date:{format:"${label} - data nu este în formatul corect",parse:"${label} nu poate fi convertit la o dată",invalid:"${label} este o dată invalidă"},types:{string:Ar,method:Ar,array:Ar,object:Ar,number:Ar,date:Ar,boolean:Ar,integer:Ar,float:Ar,regexp:Ar,email:Ar,url:Ar,hex:Ar},string:{len:"${label} trebuie să conțină ${len} caractere",min:"${label} trebuie să conțină cel puțin ${min} caractere",max:"${label} trebuie să conțină cel mult ${max} caractere",range:"${label} trebuie să conțină între ${min}-${max} caractere"},number:{len:"${label} trebuie să conțină ${len} cifre",min:"${label} trebuie să fie minim ${min}",max:"${label} trebuie să fie maxim ${max}",range:"${label} trebuie să fie între ${min}-${max}"},array:{len:"${label} trebuie să conțină ${len} elemente",min:"${label} trebuie să conțină cel puțin ${min} elemente",max:"${label} trebuie să conțină cel mult ${max} elemente",range:"${label} trebuie să conțină între ${min}-${max} elemente"},pattern:{mismatch:"${label} nu respectă șablonul ${pattern}"}}},Image:{preview:"Preview"}};function id({children:e}){const[t,n]=O.useState(hr),r=Qs(l=>{var s;return(s=l==null?void 0:l.app)==null?void 0:s.theme}),a=Qs(l=>{var s;return(s=l==null?void 0:l.app)==null?void 0:s.language}),i=r===l3.Dark?o2e:i2e,c=O.useMemo(()=>[{language:"EN",code:hr},{language:"PT",code:xx},{language:"BR",code:xx},{language:"ES",code:s2e},{language:"RO",code:v2e},{language:"JP",code:f2e}],[]);return O.useEffect(()=>{const l=V0.get(R1.Language),s=c.find(d=>d.language===l);s!==void 0&&(n(s.code),Gn.locale(l.toLowerCase()))},[a,c]),we.jsx(wr,{theme:i,locale:t,children:e})}var b2e={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};const C2e=jr(b2e);var y2e=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function Mx(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(C2e[n[1]]||e.charAt(e.length-2)==="/")&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("-->");return{type:"comment",comment:r!==-1?e.slice(4,r):""}}for(var a=new RegExp(y2e),o=null;(o=a.exec(e))!==null;)if(o[0].trim())if(o[1]){var i=o[1].trim(),c=[i,""];i.indexOf("=")>-1&&(c=i.split("=")),t.attrs[c[0]]=c[1],a.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var S2e=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,x2e=/^\s*$/,L2e=Object.create(null);function wx(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(n){var r=[];for(var a in n)r.push(a+'="'+n[a]+'"');return r.length?" "+r.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(wx,"")+"</"+t.name+">";case"comment":return e+"<!--"+t.comment+"-->"}}var E2e={parse:function(e,t){t||(t={}),t.components||(t.components=L2e);var n,r=[],a=[],o=-1,i=!1;if(e.indexOf("<")!==0){var c=e.indexOf("<");r.push({type:"text",content:c===-1?e:e.substring(0,c)})}return e.replace(S2e,function(l,s){if(i){if(l!=="</"+n.name+">")return;i=!1}var d,f=l.charAt(1)!=="/",m=l.startsWith("<!--"),p=s+l.length,h=e.charAt(p);if(m){var v=Mx(l);return o<0?(r.push(v),r):((d=a[o]).children.push(v),r)}if(f&&(o++,(n=Mx(l)).type==="tag"&&t.components[n.name]&&(n.type="component",i=!0),n.voidElement||i||!h||h==="<"||n.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),o===0&&r.push(n),(d=a[o-1])&&d.children.push(n),a[o]=n),(!f||n.voidElement)&&(o>-1&&(n.voidElement||n.name===l.slice(2,-1))&&(o--,n=o===-1?r:a[o]),!i&&h!=="<"&&h)){d=o===-1?r:a[o].children;var g=e.indexOf("<",p),C=e.slice(p,g===-1?void 0:g);x2e.test(C)&&(C=" "),(g>-1&&o+d.length>=0||C!==" ")&&d.push({type:"text",content:C})}}),r},stringify:function(e){return e.reduce(function(t,n){return t+wx("",n)},"")}};const W0=(...e)=>{console!=null&&console.warn&&(Yr(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},zx={},U0=(...e)=>{Yr(e[0])&&zx[e[0]]||(Yr(e[0])&&(zx[e[0]]=new Date),W0(...e))},Nx=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Ox=(e,t,n)=>{e.loadNamespaces(t,Nx(e,n))},$x=(e,t,n,r)=>{Yr(n)&&(n=[n]),n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,Nx(e,r))},M2e=(e,t,n={})=>!t.languages||!t.languages.length?(U0("i18n.languages were undefined or empty",t.languages),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,a)=>{var o;if(((o=n.bindI18n)==null?void 0:o.indexOf("languageChanging"))>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!a(r.isLanguageChangingTo,e))return!1}}),Yr=e=>typeof e=="string",po=e=>typeof e=="object"&&e!==null,w2e=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,z2e={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},N2e=e=>z2e[e];let cd={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(w2e,N2e)};const O2e=(e={})=>{cd={...cd,...e}},Ix=()=>cd;let Px;const $2e=e=>{Px=e},ld=()=>Px,sd=(e,t)=>{var r;if(!e)return!1;const n=((r=e.props)==null?void 0:r.children)??e.children;return t?n.length>0:!!n},ud=e=>{var n,r;if(!e)return[];const t=((n=e.props)==null?void 0:n.children)??e.children;return(r=e.props)!=null&&r.i18nIsDynamicList?go(t):t},I2e=e=>Array.isArray(e)&&e.every(O.isValidElement),go=e=>Array.isArray(e)?e:[e],P2e=(e,t)=>{const n={...t};return n.props=Object.assign(e.props,t.props),n},Tx=(e,t)=>{if(!e)return"";let n="";const r=go(e),a=t!=null&&t.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return r.forEach((o,i)=>{if(Yr(o))n+=`${o}`;else if(O.isValidElement(o)){const{props:c,type:l}=o,s=Object.keys(c).length,d=a.indexOf(l)>-1,f=c.children;if(!f&&d&&!s)n+=`<${l}/>`;else if(!f&&(!d||s)||c.i18nIsDynamicList)n+=`<${i}></${i}>`;else if(d&&s===1&&Yr(f))n+=`<${l}>${f}</${l}>`;else{const m=Tx(f,t);n+=`<${i}>${m}</${i}>`}}else if(o===null)W0("Trans: the passed in value is invalid - seems you passed in a null child.");else if(po(o)){const{format:c,...l}=o,s=Object.keys(l);if(s.length===1){const d=c?`${s[0]}, ${c}`:s[0];n+=`{{${d}}}`}else W0("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",o)}else W0("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",o)}),n},T2e=(e,t,n,r,a,o)=>{if(t==="")return[];const i=r.transKeepBasicHtmlNodesFor||[],c=t&&new RegExp(i.map(g=>`<${g}`).join("|")).test(t);if(!e&&!c&&!o)return[t];const l={},s=g=>{go(g).forEach(b=>{Yr(b)||(sd(b)?s(ud(b)):po(b)&&!O.isValidElement(b)&&Object.assign(l,b))})};s(e);const d=E2e.parse(`<0>${t}</0>`),f={...l,...a},m=(g,C,b)=>{var S;const y=ud(g),x=h(y,C.children,b);return I2e(y)&&x.length===0||(S=g.props)!=null&&S.i18nIsDynamicList?y:x},p=(g,C,b,y,x)=>{g.dummy?(g.children=C,b.push(O.cloneElement(g,{key:y},x?void 0:C))):b.push(...O.Children.map([g],S=>{const L={...S.props};return delete L.i18nIsDynamicList,O.createElement(S.type,{...L,key:y,ref:S.ref},x?null:C)}))},h=(g,C,b)=>{const y=go(g);return go(C).reduce((S,L,E)=>{var w,z;const M=((z=(w=L.children)==null?void 0:w[0])==null?void 0:z.content)&&n.services.interpolator.interpolate(L.children[0].content,f,n.language);if(L.type==="tag"){let I=y[parseInt(L.name,10)];b.length===1&&!I&&(I=b[0][L.name]),I||(I={});const A=Object.keys(L.attrs).length!==0?P2e({props:L.attrs},I):I,D=O.isValidElement(A),$=D&&sd(L,!0)&&!L.voidElement,T=c&&po(A)&&A.dummy&&!D,R=po(e)&&Object.hasOwnProperty.call(e,L.name);if(Yr(A)){const N=n.services.interpolator.interpolate(A,f,n.language);S.push(N)}else if(sd(A)||$){const N=m(A,L,b);p(A,N,S,E)}else if(T){const N=h(y,L.children,b);p(A,N,S,E)}else if(Number.isNaN(parseFloat(L.name)))if(R){const N=m(A,L,b);p(A,N,S,E,L.voidElement)}else if(r.transSupportBasicHtmlNodes&&i.indexOf(L.name)>-1)if(L.voidElement)S.push(O.createElement(L.name,{key:`${L.name}-${E}`}));else{const N=h(y,L.children,b);S.push(O.createElement(L.name,{key:`${L.name}-${E}`},N))}else if(L.voidElement)S.push(`<${L.name} />`);else{const N=h(y,L.children,b);S.push(`<${L.name}>${N}</${L.name}>`)}else if(po(A)&&!D){const N=L.children[0]?M:null;N&&S.push(N)}else p(A,M,S,E,L.children.length!==1||!M)}else if(L.type==="text"){const I=r.transWrapTextNodes,A=o?r.unescape(n.services.interpolator.interpolate(L.content,f,n.language)):n.services.interpolator.interpolate(L.content,f,n.language);I?S.push(O.createElement(I,{key:`${L.name}-${E}`},A)):S.push(A)}return S},[])},v=h([{dummy:!0,children:e||[]}],d,go(e||[]));return ud(v[0])};function R2e({children:e,count:t,parent:n,i18nKey:r,context:a,tOptions:o={},values:i,defaults:c,components:l,ns:s,i18n:d,t:f,shouldUnescape:m,...p}){var I,A,D,$,T,R;const h=d||ld();if(!h)return U0("You will need to pass in an i18next instance by using i18nextReactModule"),e;const v=f||h.t.bind(h)||(N=>N),g={...Ix(),...(I=h.options)==null?void 0:I.react};let C=s||v.ns||((A=h.options)==null?void 0:A.defaultNS);C=Yr(C)?[C]:C||["translation"];const b=Tx(e,g),y=c||b||g.transEmptyNodeValue||r,{hashTransKey:x}=g,S=r||(x?x(b||y):b||y);($=(D=h.options)==null?void 0:D.interpolation)!=null&&$.defaultVariables&&(i=i&&Object.keys(i).length>0?{...i,...h.options.interpolation.defaultVariables}:{...h.options.interpolation.defaultVariables});const L=i||t!==void 0&&!((R=(T=h.options)==null?void 0:T.interpolation)!=null&&R.alwaysFormat)||!e?o.interpolation:{interpolation:{...o.interpolation,prefix:"#$?",suffix:"?$#"}},E={...o,context:a||o.context,count:t,...i,...L,defaultValue:y,ns:C},M=S?v(S,E):y;l&&Object.keys(l).forEach(N=>{const P=l[N];if(typeof P.type=="function"||!P.props||!P.props.children||M.indexOf(`${N}/>`)<0&&M.indexOf(`${N} />`)<0)return;function k(){return O.createElement(O.Fragment,null,P)}l[N]=O.createElement(k)});const w=T2e(l||e,M,h,g,E,m),z=n??g.defaultTransParent;return z?O.createElement(z,p,w):w}const A2e={type:"3rdParty",init(e){O2e(e.options.react),$2e(e)}},Rx=O.createContext();class D2e{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function _2e({children:e,count:t,parent:n,i18nKey:r,context:a,tOptions:o={},values:i,defaults:c,components:l,ns:s,i18n:d,t:f,shouldUnescape:m,...p}){var b;const{i18n:h,defaultNS:v}=O.useContext(Rx)||{},g=d||h||ld(),C=f||(g==null?void 0:g.t.bind(g));return R2e({children:e,count:t,parent:n,i18nKey:r,context:a,tOptions:o,values:i,defaults:c,components:l,ns:s||(C==null?void 0:C.ns)||v||((b=g==null?void 0:g.options)==null?void 0:b.defaultNS),i18n:g,t:f,shouldUnescape:m,...p})}const k2e=(e,t)=>{const n=O.useRef();return O.useEffect(()=>{n.current=e},[e,t]),n.current},Ax=(e,t,n,r)=>e.getFixedT(t,n,r),F2e=(e,t,n,r)=>O.useCallback(Ax(e,t,n,r),[e,t,n,r]),j2e=(e,t={})=>{var x,S,L,E;const{i18n:n}=t,{i18n:r,defaultNS:a}=O.useContext(Rx)||{},o=n||r||ld();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new D2e),!o){U0("You will need to pass in an i18next instance by using initReactI18next");const M=(z,I)=>Yr(I)?I:po(I)&&Yr(I.defaultValue)?I.defaultValue:Array.isArray(z)?z[z.length-1]:z,w=[M,{},!1];return w.t=M,w.i18n={},w.ready=!1,w}(x=o.options.react)!=null&&x.wait&&U0("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const i={...Ix(),...o.options.react,...t},{useSuspense:c,keyPrefix:l}=i;let s=a||((S=o.options)==null?void 0:S.defaultNS);s=Yr(s)?[s]:s||["translation"],(E=(L=o.reportNamespaces).addUsedNamespaces)==null||E.call(L,s);const d=(o.isInitialized||o.initializedStoreOnce)&&s.every(M=>M2e(M,o,i)),f=F2e(o,t.lng||null,i.nsMode==="fallback"?s:s[0],l),m=()=>f,p=()=>Ax(o,t.lng||null,i.nsMode==="fallback"?s:s[0],l),[h,v]=O.useState(m);let g=s.join();t.lng&&(g=`${t.lng}${g}`);const C=k2e(g),b=O.useRef(!0);O.useEffect(()=>{const{bindI18n:M,bindI18nStore:w}=i;b.current=!0,!d&&!c&&(t.lng?$x(o,t.lng,s,()=>{b.current&&v(p)}):Ox(o,s,()=>{b.current&&v(p)})),d&&C&&C!==g&&b.current&&v(p);const z=()=>{b.current&&v(p)};return M&&(o==null||o.on(M,z)),w&&(o==null||o.store.on(w,z)),()=>{b.current=!1,o&&(M==null||M.split(" ").forEach(I=>o.off(I,z))),w&&o&&w.split(" ").forEach(I=>o.store.off(I,z))}},[o,g]),O.useEffect(()=>{b.current&&d&&v(m)},[o,l,d]);const y=[h,o,d];if(y.t=h,y.i18n=o,y.ready=d,d||!d&&!c)return y;throw new Promise(M=>{t.lng?$x(o,t.lng,s,()=>M()):Ox(o,s,()=>M())})},dd=()=>{const e=Qs(n=>{var r;return(r=n==null?void 0:n.app)==null?void 0:r.language}),t=Q1e().toUpperCase();return e??t},fd=()=>{const{t:e}=j2e(),t=dd();return{requiredField:O.useMemo(()=>[{required:!0,message:e("GENERAL.FORM.ERRORS.NOT_EMPTY")}],[t])}},B2e={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class K0{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||B2e,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:(typeof t[0]=="string"&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new K0(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new K0(this.logger,t)}}var z1=new K0;class q0{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[c,l]=i;for(let s=0;s<l;s++)c(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(i=>{let[c,l]=i;for(let s=0;s<l;s++)c.apply(c,[t,...r])})}}const Wi=()=>{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},Dx=e=>e==null?"":""+e,H2e=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},V2e=/###/g,_x=e=>e&&e.indexOf("###")>-1?e.replace(V2e,"."):e,kx=e=>!e||typeof e=="string",Ui=(e,t,n)=>{const r=typeof t!="string"?t:t.split(".");let a=0;for(;a<r.length-1;){if(kx(e))return{};const o=_x(r[a]);!e[o]&&n&&(e[o]=new n),Object.prototype.hasOwnProperty.call(e,o)?e=e[o]:e={},++a}return kx(e)?{}:{obj:e,k:_x(r[a])}},Fx=(e,t,n)=>{const{obj:r,k:a}=Ui(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),c=Ui(e,i,Object);for(;c.obj===void 0&&i.length;)o=`${i[i.length-1]}.${o}`,i=i.slice(0,i.length-1),c=Ui(e,i,Object),c&&c.obj&&typeof c.obj[`${c.k}.${o}`]<"u"&&(c.obj=void 0);c.obj[`${c.k}.${o}`]=n},W2e=(e,t,n,r)=>{const{obj:a,k:o}=Ui(e,t,Object);a[o]=a[o]||[],a[o].push(n)},G0=(e,t)=>{const{obj:n,k:r}=Ui(e,t);if(n)return n[r]},U2e=(e,t,n)=>{const r=G0(e,n);return r!==void 0?r:G0(t,n)},jx=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):jx(e[r],t[r],n):e[r]=t[r]);return e},ho=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var K2e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const q2e=e=>typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>K2e[t]):e;class G2e{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 Y2e=[" ",",","?","!",";"],X2e=new G2e(20),Q2e=(e,t,n)=>{t=t||"",n=n||"";const r=Y2e.filter(i=>t.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const a=X2e.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},md=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let a=e;for(let o=0;o<r.length;){if(!a||typeof a!="object")return;let i,c="";for(let l=o;l<r.length;++l)if(l!==o&&(c+=n),c+=r[l],i=a[c],i!==void 0){if(["string","number","boolean"].indexOf(typeof i)>-1&&l<r.length-1)continue;o+=l-o+1;break}a=i}return a},Y0=e=>e&&e.replace("_","-");class Bx extends q0{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){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 c;t.indexOf(".")>-1?c=t.split("."):(c=[t,n],r&&(Array.isArray(r)?c.push(...r):typeof r=="string"&&o?c.push(...r.split(o)):c.push(r)));const l=G0(this.data,c);return!l&&!n&&!r&&t.indexOf(".")>-1&&(t=c[0],n=c[1],r=c.slice(2).join(".")),l||!i||typeof r!="string"?l:md(this.data&&this.data[t]&&this.data[t][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 c=[t,n];r&&(c=c.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(c=t.split("."),a=n,n=c[1]),this.addNamespaces(n),Fx(this.data,c,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)(typeof r[o]=="string"||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},c=[t,n];t.indexOf(".")>-1&&(c=t.split("."),a=r,r=n,n=c[1]),this.addNamespaces(n);let l=G0(this.data,c)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?jx(l,r,o):l={...l,...r},Fx(this.data,c,l),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.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}: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 Hx={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(o=>{this.processors[o]&&(t=this.processors[o].process(t,n,r,a))}),t}};const Vx={};class X0 extends q0{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),H2e(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=z1.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&&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,c=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!Q2e(t,r,a);if(i&&!c){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:o};const s=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(s[0])>-1)&&(o=s.shift()),t=s.join(a)}return typeof o=="string"&&(o=[o]),{key:t,namespaces: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:c}=this.extractFromKey(t[t.length-1],n),l=c[c.length-1],s=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(s&&s.toLowerCase()==="cimode"){if(d){const x=n.nsSeparator||this.options.nsSeparator;return a?{res:`${l}${x}${i}`,usedKey:i,exactUsedKey:i,usedLng:s,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${x}${i}`}return a?{res:i,usedKey:i,exactUsedKey:i,usedLng:s,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:i}const f=this.resolve(t,n);let m=f&&f.res;const p=f&&f.usedKey||i,h=f&&f.exactUsedKey||i,v=Object.prototype.toString.apply(m),g=["[object Number]","[object Function]","[object RegExp]"],C=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,b=!this.i18nFormat||this.i18nFormat.handleAsObject;if(b&&m&&(typeof m!="string"&&typeof m!="boolean"&&typeof m!="number")&&g.indexOf(v)<0&&!(typeof C=="string"&&Array.isArray(m))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const x=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,m,{...n,ns:c}):`key '${i} (${this.language})' returned an object instead of string.`;return a?(f.res=x,f.usedParams=this.getUsedParamsDetails(n),f):x}if(o){const x=Array.isArray(m),S=x?[]:{},L=x?h:p;for(const E in m)if(Object.prototype.hasOwnProperty.call(m,E)){const M=`${L}${o}${E}`;S[E]=this.translate(M,{...n,joinArrays:!1,ns:c}),S[E]===M&&(S[E]=m[E])}m=S}}else if(b&&typeof C=="string"&&Array.isArray(m))m=m.join(C),m&&(m=this.extendTranslation(m,t,n,r));else{let x=!1,S=!1;const L=n.count!==void 0&&typeof n.count!="string",E=X0.hasDefaultValue(n),M=L?this.pluralResolver.getSuffix(s,n.count,n):"",w=n.ordinal&&L?this.pluralResolver.getSuffix(s,n.count,{ordinal:!1}):"",z=L&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),I=z&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${M}`]||n[`defaultValue${w}`]||n.defaultValue;!this.isValidLookup(m)&&E&&(x=!0,m=I),this.isValidLookup(m)||(S=!0,m=i);const D=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&S?void 0:m,$=E&&I!==m&&this.options.updateMissing;if(S||x||$){if(this.logger.log($?"updateKey":"missingKey",s,l,i,$?I:m),o){const P=this.resolve(i,{...n,keySeparator:!1});P&&P.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 T=[];const R=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&R&&R[0])for(let P=0;P<R.length;P++)T.push(R[P]);else this.options.saveMissingTo==="all"?T=this.languageUtils.toResolveHierarchy(n.lng||this.language):T.push(n.lng||this.language);const N=(P,k,_)=>{const F=E&&_!==m?_:D;this.options.missingKeyHandler?this.options.missingKeyHandler(P,l,k,F,$,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(P,l,k,F,$,n),this.emit("missingKey",P,l,k,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&L?T.forEach(P=>{const k=this.pluralResolver.getSuffixes(P,n);z&&n[`defaultValue${this.options.pluralSeparator}zero`]&&k.indexOf(`${this.options.pluralSeparator}zero`)<0&&k.push(`${this.options.pluralSeparator}zero`),k.forEach(_=>{N([P],i+_,n[`defaultValue${_}`]||I)})}):N(T,i,I))}m=this.extendTranslation(m,t,n,f,r),S&&m===i&&this.options.appendNamespaceToMissingKey&&(m=`${l}:${i}`),(S||x)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${i}`:i,x?m:void 0):m=this.options.parseMissingKeyHandler(m))}return a?(f.res=m,f.usedParams=this.getUsedParamsDetails(n),f):m}extendTranslation(t,n,r,a,o){var i=this;if(this.i18nFormat&&this.i18nFormat.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 s=typeof t=="string"&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(s){const m=t.match(this.interpolator.nestingRegexp);d=m&&m.length}let f=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),t=this.interpolator.interpolate(t,f,r.lng||this.language||a.usedLng,r),s){const m=t.match(this.interpolator.nestingRegexp),p=m&&m.length;d<p&&(r.nest=!1)}!r.lng&&this.options.compatibilityAPI!=="v1"&&a&&a.res&&(r.lng=this.language||a.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var m=arguments.length,p=new Array(m),h=0;h<m;h++)p[h]=arguments[h];return o&&o[0]===p[0]&&!r.context?(i.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${n[0]}`),null):i.translate(...p,n)},r)),r.interpolation&&this.interpolator.reset()}const c=r.postProcess||this.options.postProcess,l=typeof c=="string"?[c]:c;return t!=null&&l&&l.length&&r.applyPostProcessor!==!1&&(t=Hx.handle(l,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,c;return typeof t=="string"&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(r))return;const s=this.extractFromKey(l,n),d=s.key;a=d;let f=s.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const m=n.count!==void 0&&typeof n.count!="string",p=m&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),h=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",v=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(g=>{this.isValidLookup(r)||(c=g,!Vx[`${v[0]}-${g}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(c)&&(Vx[`${v[0]}-${g}`]=!0,this.logger.warn(`key "${a}" for languages "${v.join(", ")}" won't get resolved as namespace "${c}" 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!!!")),v.forEach(C=>{if(this.isValidLookup(r))return;i=C;const b=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(b,d,C,g,n);else{let x;m&&(x=this.pluralResolver.getSuffix(C,n.count,n));const S=`${this.options.pluralSeparator}zero`,L=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(m&&(b.push(d+x),n.ordinal&&x.indexOf(L)===0&&b.push(d+x.replace(L,this.options.pluralSeparator)),p&&b.push(d+S)),h){const E=`${d}${this.options.contextSeparator}${n.context}`;b.push(E),m&&(b.push(E+x),n.ordinal&&x.indexOf(L)===0&&b.push(E+x.replace(L,this.options.pluralSeparator)),p&&b.push(E+S))}}let y;for(;y=b.pop();)this.isValidLookup(r)||(o=y,r=this.getResource(C,g,y,n))}))})}),{res:r,usedKey:a,exactUsedKey:o,usedLng:i,usedNS:c}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.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&&typeof t.replace!="string";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}}const pd=e=>e.charAt(0).toUpperCase()+e.slice(1);class Wx{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=z1.create("languageUtils")}getScriptPartFromCode(t){if(t=Y0(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=Y0(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let a=Intl.getCanonicalLocales(t)[0];if(a&&this.options.lowerCaseLng&&(a=a.toLowerCase()),a)return a}catch{}const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(a=>a.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=pd(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=pd(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=pd(r[2].toLowerCase()))),r.join("-")}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)),typeof t=="string"&&(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 typeof t=="string"&&(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))):typeof t=="string"&&o(this.formatLanguageCode(t)),r.forEach(i=>{a.indexOf(i)<0&&o(this.formatLanguageCode(i))}),a}}let J2e=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Z2e={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const eae=["v1","v2","v3"],tae=["v4"],Ux={zero:0,one:1,two:2,few:3,many:4,other:5},nae=()=>{const e={};return J2e.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:Z2e[t.fc]}})}),e};class rae{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=z1.create("pluralResolver"),(!this.options.compatibilityJSON||tae.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=nae(),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]:{};if(this.shouldUseIntlApi())try{const r=Y0(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];const i=new Intl.PluralRules(r,{type:a});return this.pluralRulesCache[o]=i,i}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.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]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((a,o)=>Ux[a]-Ux[o]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):r.numbers.map(a=>this.getSuffix(t,a,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:this.getSuffixRetroCompatible(a,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let a=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));const o=()=>this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString();return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?`_plural_${a.toString()}`:o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!eae.includes(this.options.compatibilityJSON)}}const Kx=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=U2e(e,t,n);return!o&&a&&typeof n=="string"&&(o=md(e,n,r),o===void 0&&(o=md(t,n,r))),o},gd=e=>e.replace(/\$/g,"$$$$");class aae{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=z1.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),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:c,suffixEscaped:l,formatSeparator:s,unescapeSuffix:d,unescapePrefix:f,nestingPrefix:m,nestingPrefixEscaped:p,nestingSuffix:h,nestingSuffixEscaped:v,nestingOptionsSeparator:g,maxReplaces:C,alwaysFormat:b}=t.interpolation;this.escape=n!==void 0?n:q2e,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=o?ho(o):i||"{{",this.suffix=c?ho(c):l||"}}",this.formatSeparator=s||",",this.unescapePrefix=d?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=m?ho(m):p||ho("$t("),this.nestingSuffix=h?ho(h):v||ho(")"),this.nestingOptionsSeparator=g||",",this.maxReplaces=C||1e3,this.alwaysFormat=b!==void 0?b:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&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){let o,i,c;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},s=p=>{if(p.indexOf(this.formatSeparator)<0){const C=Kx(n,l,p,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(C,void 0,r,{...a,...n,interpolationkey:p}):C}const h=p.split(this.formatSeparator),v=h.shift().trim(),g=h.join(this.formatSeparator).trim();return this.format(Kx(n,l,v,this.options.keySeparator,this.options.ignoreJSONStructure),g,r,{...a,...n,interpolationkey:v})};this.resetRegExp();const d=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,f=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:p=>gd(p)},{regex:this.regexp,safeValue:p=>this.escapeValue?gd(this.escape(p)):gd(p)}].forEach(p=>{for(c=0;o=p.regex.exec(t);){const h=o[1].trim();if(i=s(h),i===void 0)if(typeof d=="function"){const g=d(t,o,a);i=typeof g=="string"?g:""}else if(a&&Object.prototype.hasOwnProperty.call(a,h))i="";else if(f){i=o[0];continue}else this.logger.warn(`missed to pass in variable ${h} for interpolating ${t}`),i="";else typeof i!="string"&&!this.useRawValueToEscape&&(i=Dx(i));const v=p.safeValue(i);if(t=t.replace(o[0],v),f?(p.regex.lastIndex+=i.length,p.regex.lastIndex-=o[0].length):p.regex.lastIndex=0,c++,c>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,o,i;const c=(l,s)=>{const d=this.nestingOptionsSeparator;if(l.indexOf(d)<0)return l;const f=l.split(new RegExp(`${d}[ ]*{`));let m=`{${f[1]}`;l=f[0],m=this.interpolate(m,i);const p=m.match(/'/g),h=m.match(/"/g);(p&&p.length%2===0&&!h||h.length%2!==0)&&(m=m.replace(/'/g,'"'));try{i=JSON.parse(m),s&&(i={...s,...i})}catch(v){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,v),`${l}${d}${m}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,l};for(;a=this.nestingRegexp.exec(t);){let l=[];i={...r},i=i.replace&&typeof i.replace!="string"?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let s=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const d=a[1].split(this.formatSeparator).map(f=>f.trim());a[1]=d.shift(),l=d,s=!0}if(o=n(c.call(this,a[1].trim(),i),i),o&&a[0]===t&&typeof o!="string")return o;typeof o!="string"&&(o=Dx(o)),o||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),o=""),s&&(o=l.reduce((d,f)=>this.format(d,f,r.lng,{...r,interpolationkey:a[1].trim()}),o.trim())),t=t.replace(a[0],o),this.regexp.lastIndex=0}return t}}const oae=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[c,...l]=i.split(":"),s=l.join(":").trim().replace(/^'+|'+$/g,""),d=c.trim();n[d]||(n[d]=s),s==="false"&&(n[d]=!1),s==="true"&&(n[d]=!0),isNaN(s)||(n[d]=parseInt(s,10))}})}return{formatName:t,formatOptions:n}},vo=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 c=t[i];return c||(c=e(Y0(r),a),t[i]=c),c(n)}};class iae{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=z1.create("formatter"),this.options=t,this.formats={number:vo((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return o=>a.format(o)}),currency:vo((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>a.format(o)}),datetime:vo((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return o=>a.format(o)}),relativetime:vo((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return o=>a.format(o,r.range||"day")}),list:vo((n,r)=>{const a=new Intl.ListFormat(n,{...r});return o=>a.format(o)})},this.init(t)}init(t){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=vo(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(c=>c.indexOf(")")>-1)){const c=o.findIndex(l=>l.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,c)].join(this.formatSeparator)}return o.reduce((c,l)=>{const{formatName:s,formatOptions:d}=oae(l);if(this.formats[s]){let f=c;try{const m=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},p=m.locale||m.lng||a.locale||a.lng||r;f=this.formats[s](c,p,{...d,...a,...m})}catch(m){this.logger.warn(m)}return f}else this.logger.warn(`there was no format function for ${s}`);return c},t)}}const cae=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class lae extends q0{constructor(t,n,r){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=z1.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=[],this.backend&&this.backend.init&&this.backend.init(r,a.backend,a)}queueLoad(t,n,r,a){const o={},i={},c={},l={};return t.forEach(s=>{let d=!0;n.forEach(f=>{const m=`${s}|${f}`;!r.reload&&this.store.hasResourceBundle(s,f)?this.state[m]=2:this.state[m]<0||(this.state[m]===1?i[m]===void 0&&(i[m]=!0):(this.state[m]=1,d=!1,i[m]===void 0&&(i[m]=!0),o[m]===void 0&&(o[m]=!0),l[f]===void 0&&(l[f]=!0)))}),d||(c[s]=!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(c),toLoadNamespaces:Object.keys(l)}}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 c={};this.queue.forEach(l=>{W2e(l.loaded,[o],i),cae(l,t),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(s=>{c[s]||(c[s]={});const d=l.loaded[s];d.length&&d.forEach(f=>{c[s][f]===void 0&&(c[s][f]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(l=>!l.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 c=(s,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(s&&d&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,a+1,o*2,i)},o);return}i(s,d)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const s=l(t,n);s&&typeof s.then=="function"?s.then(d=>c(null,d)).catch(c):c(null,s)}catch(s){c(s)}return}return l(t,n,c)}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();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(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,c)=>{i&&this.logger.warn(`${n}loading namespace ${o} for language ${a} failed`,i),!i&&c&&this.logger.log(`${n}loaded namespace ${o} for language ${a}`,c),this.loaded(t,i,c)})}saveMissing(t,n,r,a,o){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.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(this.backend&&this.backend.create){const l={...i,isUpdate:o},s=this.backend.create.bind(this.backend);if(s.length<6)try{let d;s.length===5?d=s(t,n,r,a,l):d=s(t,n,r,a),d&&typeof d.then=="function"?d.then(f=>c(null,f)).catch(c):c(null,d)}catch(d){c(d)}else s(t,n,r,a,c,l)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const qx=()=>({debug:!1,initImmediate:!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]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(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}}),Gx=e=>(typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),Q0=()=>{},sae=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class Ki extends q0{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Gx(t),this.services={},this.logger=z1,this.modules={external:[]},sae(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)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&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=qx();this.options={...a,...this.options,...Gx(n)},this.options.compatibilityAPI!=="v1"&&(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=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?z1.init(o(this.modules.logger),this.options):z1.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:typeof Intl<"u"&&(d=iae);const f=new Wx(this.options);this.store=new Bx(this.options.resources,this.options);const m=this.services;m.logger=z1,m.resourceStore=this.store,m.languageUtils=f,m.pluralResolver=new rae(f,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(m.formatter=o(d),m.formatter.init(m,this.options),this.options.interpolation.format=m.formatter.format.bind(m.formatter)),m.interpolator=new aae(this.options),m.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},m.backendConnector=new lae(o(this.modules.backend),m.resourceStore,m,this.options),m.backendConnector.on("*",function(p){for(var h=arguments.length,v=new Array(h>1?h-1:0),g=1;g<h;g++)v[g-1]=arguments[g];t.emit(p,...v)}),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 X0(this.services,this.options),this.translator.on("*",function(p){for(var h=arguments.length,v=new Array(h>1?h-1:0),g=1;g<h;g++)v[g-1]=arguments[g];t.emit(p,...v)}),this.modules.external.forEach(p=>{p.init&&p.init(this)})}if(this.format=this.options.interpolation.format,r||(r=Q0),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[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(d=>{this[d]=function(){return t.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return t.store[d](...arguments),t}});const l=Wi(),s=()=>{const d=(f,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),l.resolve(m),r(f,m)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initImmediate?s():setTimeout(s,0),l}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Q0;const a=typeof t=="string"?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const o=[],i=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(s=>{s!=="cimode"&&o.indexOf(s)<0&&o.push(s)})};a?i(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>i(l)),this.options.preload&&this.options.preload.forEach(c=>i(c)),this.services.backendConnector.load(o,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(c)})}else r(null)}reloadResources(t,n,r){const a=Wi();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=Q0),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"&&Hx.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=Wi();this.emit("languageChanging",t);const o=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},i=(l,s)=>{s?(o(s),this.translator.changeLanguage(s),this.isLanguageChangingTo=void 0,this.emit("languageChanged",s),this.logger.log("languageChanged",s)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(l,function(){return r.t(...arguments)})},c=l=>{!t&&!l&&this.services.languageDetector&&(l=[]);const s=typeof l=="string"?l:this.services.languageUtils.getBestMatchFromCodes(l);s&&(this.language||o(s),this.translator.language||this.translator.changeLanguage(s),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(s)),this.loadResources(s,d=>{i(d,s)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?c(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(c):this.services.languageDetector.detect(c):c(t),a}getFixedT(t,n,r){var a=this;const o=function(i,c){let l;if(typeof c!="object"){for(var s=arguments.length,d=new Array(s>2?s-2:0),f=2;f<s;f++)d[f-2]=arguments[f];l=a.options.overloadTranslationOptionHandler([i,c].concat(d))}else l={...c};l.lng=l.lng||o.lng,l.lngs=l.lngs||o.lngs,l.ns=l.ns||o.ns,l.keyPrefix!==""&&(l.keyPrefix=l.keyPrefix||r||o.keyPrefix);const m=a.options.keySeparator||".";let p;return l.keyPrefix&&Array.isArray(i)?p=i.map(h=>`${l.keyPrefix}${m}${h}`):p=l.keyPrefix?`${l.keyPrefix}${m}${i}`:i,a.t(p,l)};return typeof t=="string"?o.lng=t:o.lngs=t,o.ns=n,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}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=(c,l)=>{const s=this.services.backendConnector.state[`${c}|${l}`];return s===-1||s===0||s===2};if(n.precheck){const c=n.precheck(this,i);if(c!==void 0)return c}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=Wi();return this.options.ns?(typeof t=="string"&&(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=Wi();typeof t=="string"&&(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){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.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=this.services&&this.services.languageUtils||new Wx(qx());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 Ki(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Q0;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},o=new Ki(a);return(t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(c=>{o[c]=this[c]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r&&(o.store=new Bx(this.store.data,a),o.services.resourceStore=o.store),o.translator=new X0(o.services,a),o.translator.on("*",function(c){for(var l=arguments.length,s=new Array(l>1?l-1:0),d=1;d<l;d++)s[d-1]=arguments[d];o.emit(c,...s)}),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 Yn=Ki.createInstance();Yn.createInstance=Ki.createInstance,Yn.createInstance,Yn.dir,Yn.init,Yn.loadResources,Yn.reloadResources,Yn.use,Yn.changeLanguage,Yn.getFixedT;const Pt=Yn.t;Yn.exists,Yn.setDefaultNamespace,Yn.hasLoadedNamespace,Yn.loadNamespaces,Yn.loadLanguages;const{slice:uae,forEach:dae}=[];function fae(e){return dae.call(uae.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}const Yx=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,mae=(e,t,n)=>{const r=n||{};r.path=r.path||"/";const a=encodeURIComponent(t);let o=`${e}=${a}`;if(r.maxAge>0){const i=r.maxAge-0;if(Number.isNaN(i))throw new Error("maxAge should be a Number");o+=`; Max-Age=${Math.floor(i)}`}if(r.domain){if(!Yx.test(r.domain))throw new TypeError("option domain is invalid");o+=`; Domain=${r.domain}`}if(r.path){if(!Yx.test(r.path))throw new TypeError("option path is invalid");o+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");o+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o},Xx={create(e,t,n,r){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+n*60*1e3)),r&&(a.domain=r),document.cookie=mae(e,encodeURIComponent(t),a)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r<n.length;r++){let a=n[r];for(;a.charAt(0)===" ";)a=a.substring(1,a.length);if(a.indexOf(t)===0)return a.substring(t.length,a.length)}return null},remove(e){this.create(e,"",-1)}};var pae={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&typeof document<"u")return Xx.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:n,cookieMinutes:r,cookieDomain:a,cookieOptions:o}=t;n&&typeof document<"u"&&Xx.create(n,e,r,a,o)}},gae={name:"querystring",lookup(e){var r;let{lookupQuerystring:t}=e,n;if(typeof window<"u"){let{search:a}=window.location;!window.location.search&&((r=window.location.hash)==null?void 0:r.indexOf("?"))>-1&&(a=window.location.hash.substring(window.location.hash.indexOf("?")));const i=a.substring(1).split("&");for(let c=0;c<i.length;c++){const l=i[c].indexOf("=");l>0&&i[c].substring(0,l)===t&&(n=i[c].substring(l+1))}}return n}};let qi=null;const Qx=()=>{if(qi!==null)return qi;try{qi=window!=="undefined"&&window.localStorage!==null;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{qi=!1}return qi};var hae={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&Qx())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&Qx()&&window.localStorage.setItem(n,e)}};let Gi=null;const Jx=()=>{if(Gi!==null)return Gi;try{Gi=window!=="undefined"&&window.sessionStorage!==null;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{Gi=!1}return Gi};var vae={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&Jx())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&Jx()&&window.sessionStorage.setItem(n,e)}},bae={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:a}=navigator;if(n)for(let o=0;o<n.length;o++)t.push(n[o]);r&&t.push(r),a&&t.push(a)}return t.length>0?t:void 0}},Cae={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const r=t||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},yae={name:"path",lookup(e){var a;let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?(a=n[typeof t=="number"?t:0])==null?void 0:a.replace("/",""):void 0}},Sae={name:"subdomain",lookup(e){var a,o;let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,r=typeof window<"u"&&((o=(a=window.location)==null?void 0:a.hostname)==null?void 0:o.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[n]}};function xae(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}}class Zx{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t||{languageUtils:{}},this.options=fae(n,this.options||{},xae()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=a=>a.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(pae),this.addDetector(gae),this.addDetector(hae),this.addDetector(vae),this.addDetector(bae),this.addDetector(Cae),this.addDetector(yae),this.addDetector(Sae)}addDetector(t){return this.detectors[t.name]=t,this}detect(t){t||(t=this.options.order);let n=[];return t.forEach(r=>{if(this.detectors[r]){let a=this.detectors[r].lookup(this.options);a&&typeof a=="string"&&(a=[a]),a&&(n=n.concat(a))}}),n=n.map(r=>this.options.convertDetectedLanguage(r)),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t,n){n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(t,this.options)}))}}Zx.type="languageDetector";const Lae={translation:{GENERAL:{BACK:"Back",NEXT:"Next",SAVE:"Save",ACTIONS:{CLOSE:"Close",DELETE:"Delete",EDIT:"Edit",NEXT:"Next"},APP:"App",BACK_LOGIN:"Back to login",FORM:{ERRORS:{CONFIRM_PASSWORD:"The passwords must be the same!",EMAIL:"The email have to be this format 'email@exemple.com'",NOT_EMPTY:"This field is mandatory",VERSION:"The version must end with a numeric value",FORMAT:"The format must be like 'X.X.X'"}},MENU:"Menu",MESSAGES:{ERROR:{EMAIL_EXISTS:"Email already exists",ITEM_CREATE:"Error trying to add {{item}}",ITEM_DELETE:"Error trying to delete {{item}}",ITEM_UPDATE:"Error trying to update {{item}}",UNAUTHORIZED:"Sorry, you are not authorized to access this page.",USERNAME_EXISTS:"Username already exists",RELEASE_NOTE:{0:"Version already exists",1:"Deployed date must be greater than the last",2:"Invalid Request parameters"}},SUCCESS:{ITEM_CREATE:"{{item}} added successfully",ITEM_DELETE:"{{item}} deleted successfully",ITEM_UPDATE:"{{item}} updated successfully"},WARNING:{DELETE_CONFIRM:"You are about to delete this menu. Do you want proceed?"}},REMOVE:"Remove",ROLE:"Role",TENANT:"Organization",THEMES:{DARK:"Dark mode",LIGHT:"Light mode",TOOLTIP:"Click to switch to {{theme}}"},UPLOAD:"Upload",USER:"User",UPLOAD_LABEL:"Click or drag file to this area to upload",JPG_PNG_WARNING:"Only supports JPG or PNG files."},HELPDESK:{ERRORS_CODE:{DATATYPE_MISMATCH:"Deve conter apenas elementos do tipo de formato de arquivo válido.",INVALID_VALUE:"Valor inválido"},FORM:{BUTTONS:{SEND:"Enviar"},FIELDS:{ATTACHMENTS:"Anexos",DESCRIPTION:"Descrição",DESCRIPTION_PLACEHOLDER:"Insira a descrição...",EMAIL:"Email",EMAIL_PLACEHOLDER:"Insira o seu email...",NAME:"$t(Name)",NAME_PLACEHOLDER:"Insira seu nome...",SUBJECT:"Assunto",SUBJECT_PLACEHOLDER:"Insira o assunto...",TITLE:"Contate-nos",UPLOAD_FILES:"<strong>Subir arquivo(s) (max. 5)</strong><br/><small>Clique para adicionar ou arraste e solte o(s) arquivo(s).</small>"},TITLE:"Bem-vindo ao apoio"},SUPPORT:"Apoio",TABLE:{CODE:"Mensagem",FIELD:"Campo"}},"RELEASE-NOTES":{WHATS_NEWS:"Welcome to {{app}} v{{version}} - What's News?",TITLE:"Release Notes",TEXT_SINGULAR:"Release Note",ADD_RELEASE_NOTE:"Add Release Note",UPD_RELEASE_NOTE:"Edit Release Note",ADD_NEW_SLIDE:"Add new slide",REMOVE_CURRENT_SLIDE:"Remove current slide",FORM:{FIELDS:{APP:"App",APP_PLACEHOLDER:"Select an app...",VERSION:"Version",VERSION_PLACEHOLDER:"Type the version...",VERSION_TOOLTIP:"The version of the selected application.",DEPLOY_DATE:"Deploy Date",TITLE:"Title...",DESCRIPTION:"Description...",DO_NOT_SHOW_AGAIN:"Do not show again until next update"},ADD_NEW_FIELD:"Add new field"}}}},Eae={translation:{GENERAL:{BACK:"Back",NEXT:"Next",SAVE:"Save",DO_NOT_USE_IMAGE:"Do not use image",ACTIONS:{CLOSE:"Close",DELETE:"Delete",EDIT:"Edit",NEXT:"Next"},APP:"App",BACK_LOGIN:"Back to login",FORM:{ERRORS:{CONFIRM_PASSWORD:"The passwords must be the same!",EMAIL:"The email have to be this format 'email@exemple.com'",NOT_EMPTY:"This field is mandatory",VERSION:"The version must end with a numeric value",FORMAT:"The format must be like 'X.X.X'"}},MENU:"Menu",MESSAGES:{ERROR:{EMAIL_EXISTS:"Email already exists",ITEM_CREATE:"Error trying to add {{item}}",ITEM_DELETE:"Error trying to delete {{item}}",ITEM_UPDATE:"Error trying to update {{item}}",UNAUTHORIZED:"Sorry, you are not authorized to access this page.",USERNAME_EXISTS:"Username already exists",RELEASE_NOTE:{0:"Version already exists",1:"Deployed date must be greater than the last",2:"Invalid Request parameters"}},SUCCESS:{ITEM_CREATE:"{{item}} added successfully",ITEM_DELETE:"{{item}} deleted successfully",ITEM_UPDATE:"{{item}} updated successfully"},WARNING:{DELETE_CONFIRM:"You are about to delete this menu. Do you want proceed?"}},REMOVE:"Remove",ROLE:"Role",TENANT:"Organization",THEMES:{DARK:"Dark mode",LIGHT:"Light mode",TOOLTIP:"Click to switch to {{theme}}"},UPLOAD:"Upload",USER:"User",UPLOAD_LABEL:"Click or drag file to this area to upload",JPG_PNG_WARNING:"Only supports JPG or PNG files."},HELPDESK:{ERRORS_CODE:{DATATYPE_MISMATCH:"It should contain elements of type valid file format only",INVALID_VALUE:"Invalid value"},FORM:{BUTTONS:{SEND:"Send"},FIELDS:{ATTACHMENTS:"Attachments",DESCRIPTION:"Description",DESCRIPTION_PLACEHOLDER:"Insert description…",EMAIL:"Email",EMAIL_PLACEHOLDER:"Insert your email...",NAME:"$t(Name)",NAME_PLACEHOLDER:"Insert your name...",SUBJECT:"Subject",SUBJECT_PLACEHOLDER:"Insert subject...",TITLE:"Contact us",UPLOAD_FILES:"<strong>Upload files (max. 5)</strong><br/><small>Click to add or drag and drop files.</small>"},TITLE:"Welcome to support"},SUPPORT:"Support",TABLE:{CODE:"Message",FIELD:"Field"}},"RELEASE-NOTES":{WHATS_NEWS:"Welcome to {{app}} v{{version}} - What's News?",TITLE:"Release Notes",TEXT_SINGULAR:"Release Note",ADD_RELEASE_NOTE:"Add Release Note",UPD_RELEASE_NOTE:"Edit Release Note",ADD_NEW_SLIDE:"Add new slide",REMOVE_CURRENT_SLIDE:"Remove current slide",FORM:{FIELDS:{APP:"App",APP_PLACEHOLDER:"Select an app...",VERSION:"Version",VERSION_PLACEHOLDER:"Type the version...",VERSION_TOOLTIP:"The version of the selected application.",DEPLOY_DATE:"Deploy Date",TITLE:"Title...",DESCRIPTION:"Description...",DO_NOT_SHOW_AGAIN:"Do not show again until next update"},ADD_NEW_FIELD:"Add new field"}}}},Mae={translation:{GENERAL:{BACK:"Back",NEXT:"Next",SAVE:"Save",ACTIONS:{CLOSE:"Close",DELETE:"Delete",EDIT:"Edit",NEXT:"Next"},APP:"App",BACK_LOGIN:"Back to login",FORM:{ERRORS:{CONFIRM_PASSWORD:"The passwords must be the same!",EMAIL:"The email have to be this format 'email@exemple.com'",NOT_EMPTY:"This field is mandatory",VERSION:"The version must end with a numeric value",FORMAT:"The format must be like 'X.X.X'"}},MENU:"Menu",MESSAGES:{ERROR:{EMAIL_EXISTS:"Email already exists",ITEM_CREATE:"Error trying to add {{item}}",ITEM_DELETE:"Error trying to delete {{item}}",ITEM_UPDATE:"Error trying to update {{item}}",UNAUTHORIZED:"Sorry, you are not authorized to access this page.",USERNAME_EXISTS:"Username already exists",RELEASE_NOTE:{0:"Version already exists",1:"Deployed date must be greater than the last",2:"Invalid Request parameters"}},SUCCESS:{ITEM_CREATE:"{{item}} added successfully",ITEM_DELETE:"{{item}} deleted successfully",ITEM_UPDATE:"{{item}} updated successfully"},WARNING:{DELETE_CONFIRM:"You are about to delete this menu. Do you want proceed?"}},REMOVE:"Remove",ROLE:"Role",TENANT:"Organization",THEMES:{DARK:"Dark mode",LIGHT:"Light mode",TOOLTIP:"Click to switch to {{theme}}"},UPLOAD:"Upload",USER:"User",UPLOAD_LABEL:"Click or drag file to this area to upload",JPG_PNG_WARNING:"Only supports JPG or PNG files."},HELPDESK:{ERRORS_CODE:{DATATYPE_MISMATCH:"Debe contener elementos de tipo formato de archivo válido únicamente.",INVALID_VALUE:"Valor no válido"},FORM:{BUTTONS:{SEND:"Enviar"},FIELDS:{ATTACHMENTS:"Archivos adjuntos",DESCRIPTION:"Descripción",DESCRIPTION_PLACEHOLDER:"Insertar descripción...",EMAIL:"Correo",EMAIL_PLACEHOLDER:"Introduzca su correo electrónico...",NAME:"$t(Name)",NAME_PLACEHOLDER:"Introduzca su nombre...",SUBJECT:"Asunto",SUBJECT_PLACEHOLDER:"Insertar asunto...",TITLE:"Contacta con nosotros",UPLOAD_FILES:"<strong>Subir archivos (máx. 5)</strong><br/><small>Haga clic para agregar o arrastrar y soltar archivos.</small>"},TITLE:"Bienvenido a apoyo"},SUPPORT:"Apoyo",TABLE:{CODE:"Mensaje",FIELD:"Campo"}},"RELEASE-NOTES":{WHATS_NEWS:"Welcome to {{app}} v{{version}} - What's News?",TITLE:"Release Notes",TEXT_SINGULAR:"Release Note",ADD_RELEASE_NOTE:"Add Release Note",UPD_RELEASE_NOTE:"Edit Release Note",ADD_NEW_SLIDE:"Add new slide",REMOVE_CURRENT_SLIDE:"Remove current slide",FORM:{FIELDS:{APP:"App",APP_PLACEHOLDER:"Select an app...",VERSION:"Version",VERSION_PLACEHOLDER:"Type the version...",VERSION_TOOLTIP:"The version of the selected application.",DEPLOY_DATE:"Deploy Date",TITLE:"Title...",DESCRIPTION:"Description...",DO_NOT_SHOW_AGAIN:"Do not show again until next update"},ADD_NEW_FIELD:"Add new field"}}}},wae={translation:{"%":"%","1m":"1m","1w":"1w","2w":"2w","3m":"3m","6m":"6m",Access:"Access",Actions:"Actions",Active:"Active","Active Areas":"Active Areas","Active Events":"Active Events",ACTIVE_EVENTS:"$t(Active Events) ({{totalEvents}})","Add Area":"Add Area","Add Category":"Add Category","Add comment":"Add Comment","Add File":"Add File","Add GISSource":"Add GISSource","Add Interface":"Add Interface","Add Meter":"Add Meter","Add new Profile":"Add Profile","Add Organization":"Add Organization","Add Relationship":"Add Relationship","Add Rule":"Add Rule","Add Type":"Add Type","Add User":"Add User","Add Value":"Add Value","Add Work Orders":"Add Work Orders","Add Zone":"Add Zone",Administration:"Administration",Alerts:"Alerts",All:"All","All Meter Types":"All Meter Types","All users":"All users",ANNUAL:{CHART:{INPUT_VOLUME:"Input volume",INPUT_VOLUME_HOMOLOGOUS:"Input volume (homologous)",PERCENTAGE:"Percentage",TITLE:"Volumes (m³/year)",TOTAL_WATER_LOSS:{TITLE:"NRW (m³/year)"},WATER_LOSS:"Non-revenue water",WATER_LOSS_HOMOLOGOUS:"Non-revenue water (Homologous)"},FORM:{FIELDS:{AREAS_PLACEHOLDER:"$t(Select) $t(areas)",ZONES_PLACEHOLDER:"$t(Select) $t(zones)"}},TITLE:"Annual"},Apr:"Apr",April:"April","Are you sure you want to delete this Zone?":"Are you sure you want to delete this Zone?",Area:"Area",area:"area","Area & Meters":"Areas & Meters","Area Details":"$t(Area) - {{name}} ({{measureUnit}})","Area Name":"Area Name","Area name":"Area name","Area zones and meters (IDs)":"Area zones and meters (IDs)","Area, Zone":"Area, Zone",Area_plural:"Areas",Areas:"Areas",areas:"areas","Areas with active Meters":"Areas with Active Meters","Areas/Meters 1":"Areas/Meters 1","Areas/Meters 2":"Areas/Meters 2","Areas/Meters 3":"Areas/Meters 3",AREAS_EVENTS:"Events - Areas","Assigned to":"Assigned to",Aug:"Aug",August:"August",AUMENTO_DE_VAZÃO:"Aumento de vazão",Average:"Average","Average Flow":"Average Flow",Bootstrap:"Bootstrap",BOOTSTRAP:{ALERT:{MESSAGE:"You may not be able to recover it. Are you sure you want to proceed?",TITLE:"You are about to delete data"},DELETE_OPTIONS:{EVENTS:"Events",EVENTS_PATTERNS:"Events and Patterns",EVENTS_PATTERNS_REALDATA:"Events, Paterns and Real Data"}},Brand:"Brand",BURST:"Burst","By Area":"By Area","By Assignee":"By Assignee","By Category":"By Category","By Color":"By Color","By Duration (min)":"By Duration (min)","By Maximum Value":"By Maximum Value","By Status":"By Status","By User":"By User","By WO Events":"By WO Events",BY_DURATION:"By Duration (h)",BY_STARTDATE:"By Start Date (days)","Calculate Lost Water Volume / Max":{" Value":"Calculate Water Volume Lost / Max. Value"},Cancel:"Cancel",Categories:"Categories",Category:"Category","Category Name":"Category Name","Child Type":"Child Type","Child Type Code":"Child Type Code","Child Value":"Child Value","Child Value Code":"Child Value Code","Chlorine Meters Operating":"Chlorine meters",Code:"Code",Color:"Color",Colors:"Colors",Comment:"Comment","Comment here":{"":{"":"Comment here.."}},COMMENT:{ADD:{ERROR:{DESCRIPTION:"Error trying to add comment.",MESSAGE:"Error"},SUCCESS:{DESCRIPTION:"Comment added successfully!",MESSAGE:"Success"}},TOOLTIP:{ADD:"Add comment",COMMENTS:"$t(Comments)"}},Comments:"Comments",Compare:"Compare","Conductivity Meters Operating":"Conductivity meters",Configurations:"Configurations","Confirm password":"Confirm Password",Consumption:"Consumption","Conversion Factor":"Conversion Factor",Create:"Create","Create By":"Created By","Create Event":"Create Event","Creation Date":"Creation Date",CURR_TYPE_MAX:"Current Max. Value",CURR_TYPE_MED:"Current Med. Value",CURR_TYPE_MIN:"Current Min. Value",CURR_TYPE_MINMED:"Current Min./Med. Value","Current Value":"Current Value",Customers:"Customers","Customers No":{"":"Customers No."},Customization:"Customization","Dark Mode":"Dark Mode",Dashboard:"Dashboard",DASHBOARD_TITLE_CHART_1:"Ranking - Time on Active Events",DASHBOARD_TITLE_CHART_2:"Ranking - Water Loss on Active Events",Data:"Data","Data Type":"Data Type","Data Types":"Data Types",Datatype:"Datatype",Date:"Date","Daylight Saving":"Daylight Saving",Dec:"Dec",December:"December","Define the code":"Define the code",Definition:"Definition",Delete:"Delete","Delete Category":"Delete Category","Delete File":"Delete File","Delete File_message":"Once you delete this File you WILL NOT be able to recover it. Make sure it's not being sed anywhere else before proceeding.","Delete Rule":"Delete Rule","Delete Zone":"Delete Zone - #{{id}} ({{name}})","Delete Zone_message":"Once you delete this zone you WILL NOT be able to recover it. $t(Are you sure you want to delete this Zone?)",Description:"Description","Description of this organization":"Description of this organization",Details:"Details",Detector:"Detector",Diameter:"Diameter",Disable:"Disable","Disable Area":"Disable Area","Disable Area_message":"Once you disable this Area you may not be able to recover it. Make sure it's not being used anywhere else before proceeding.","Disable GIS_message":"Once you disable this GISSource you may not be able to recover it. Make sure it's not being used anywhere else before proceeding.","Disable GISSource":"Disable GISSource","Disable Interface":"Disable Interface","Disable Interface_message":"Once you disable this Interface you may not be able to recover it. Make sure it's not being used anywhere else before proceeding.","Disable Message":"Disabling this meter will remove it from the associated area/s. Are you sure you want to proceed?","Disable Meter":"Disable Meter","Disable Meter_message":"Disabling this meter will remove it from the associated area/s. Are you sure you want to proceed?","Disable Relationship":"Disable Relationship","Disable Relationship_message":"Once you disable this Relationship you may not be able to recover it. Make sure it's not being used anywhere else before proceeding.","Disable Rule_message":"Once you disable this Rule you may not be able to recover it. Make sure it's not being used anywhere else before proceeding.","Disable Type":"Disable Type","Disable Type_message":"Once you disable this Type you may not be able to recover it. Make sure it's not being used anywhere else before proceeding.","Disable Value":"Disable Value","Disable Value_message":"Once you disable this Value you may not be able to recover it. Make sure it's not being used anywhere else before proceeding.","Disable Zone_message":"Once you disable this Zone you may not be able to recover it. Make sure it's not being used anywhere else before proceeding.","DMA - Water Loss":"Closed Events - DMA Water Loss (m3)","DMA Events":"DMA Events","Don't wait for data":"Don't wait for data",Download:"Download","Edit Area":"Edit Area","Edit Category":"Edit Category","Edit File":"Edit File","Edit GISSource":"Edit GISSource","Edit Interface":"Edit Interface","Edit Meter":"Edit Meter","Edit organization":"Edit Organization","Edit Profile":"Edit Profile","Edit Relationship":"Edit Relationship","Edit Rule":"Edit Rule","Edit Type":"Edit Type","Edit User":"Edit User","Edit Value":"Edit Value","Edit Zone":"Edit Zone",Email:"Email",End:"End","End Date":"End Date","End date":"End date",Energy:"Energy","Energy Meters Operating":"Energy meters",English:"English",ERROR:"Error",ERRORS:{LIMIT_2000:"This field must have a maximum of 2.000 characters"},Event:"Event","Event Category":"Event Category","Event Date":"Event Date","Event Details":"$t(Event) #{{id}} - {{name}} ({{measureUnit}})","Event is From":"Event is from","Event Points":"Event Points","Event Status":"Event Status","Event Type":"Event Type","Event type":"Event type","Event Type Value":"Event Type",Event_count:"Events ({{count}})",Event_plural:"Events",Events:"Events","Events panel":"Events panel",EVENTS:{ERROR:{DESCRIPTION:"Error trying to update event.",MESSAGE:"Error - Event {{eventId}}"},SUCCESS:{DESCRIPTION:"Event {{type}} updated successfully to {{value}}",MESSAGE:"Success - Event {{eventId}}"}},Export:"Export","Export Areas":"Export Areas","Export Events":"$t(Export) $t(Events)","Export ListValues":"$t(Export) $t(ListValues)","Export Meters":"Export Meters","Export Report":"Export Report","Export Report_WORK_ORDERS":"Export Work Orders Report","Export Rules":"Export Rules","Export to Excel":"Export to Excel","Export Zones":"Export Zones",Extension:"Extension","External Client Identifier":"External Client Identifier","External Id":"External Id","External Time Window":"External Time Window","External URL":"External URL",Feb:"Feb",February:"February",File:"File","File Type":"File Type",Filename:"Filename",Files:"Files",FILES_ACCEPTED:"Files accepted",FileType:"FileType",Filetype:"Filetype",Filter:"Filter","Filter active":"Filter active","Filter conversion factor":"Filter conversion factor","Filter Data Type":"Filter Data Type","Filter inactive":"Filter inactive","Filter private":"Filter private","Filter shapefile":"Filter shapefile","Filter unlocatable":"Filter unlocatable",Filters:"Filters",FIRE_SERVICES:"Fire services","First Name":"First name","Flow Meters Operating":"Flow meters",FLOW_DEFAULT_SHAPE:"Flow Default Shape",FLOW_INCREASE:"Flow increase",FLW_FUNCTION_LOGN:"Log Normal",FLW_FUNCTION_MEAN:"Mean",FLW_FUNCTION_MED:"Median",FLW_MTRTP_CH:"Chlorine meters",FLW_MTRTP_CO:"Conductivity meters",FLW_MTRTP_EN:"Energy meters",FLW_MTRTP_FL:"Flow meters",FLW_MTRTP_GL:"Groundwater level meters",FLW_MTRTP_PH:"PH meters",FLW_MTRTP_PR:"Pressure meters",FLW_MTRTP_RF:"Rainfall meters",FLW_MTRTP_TMP:"Temperature meters",FLW_MTRTP_TU:"Turbidity meters",FLW_MTRTP_VE:"Velocity meters",FLW_MTRTP_VOL:"Volume meters",FLW_MTRTP_WL:"Water level meters","Forgot your password?":"Forgot your password?",Friday:"Friday",Function:"Function",General:"General",GENERAL:{FORM:{ERRORS:{NOT_EMPTY:"This field is mandatory"}},MESSAGES:{ERROR:{DUPLICATED:{DESCRIPTION:"The Type Code, Code and Language combination you are trying to enter already exists in the list.",MESSAGE:"Error - Duplicated values"},MAP:{LAT_LON:"There are no latitude and/or longitude."},REPORT:{GENERATE:"This report cannot be generated at the moment because there are no units associated with the selected meter type."}},SUCCESS:{ADD_LISTS:"Lists added successfully",ADD_WORK_ORDERS:"Work Orders added successfully",CREATE:"$t({{type}}) created successfully",DELETE:"$t({{type}}) deleted successfully",TICKET:"Ticket created successfully",UPDATE:"$t({{type}}) updated successfully"},WARNING:{REMOVE_METER_FROM_INTERFACE:{MESSAGE:"When you delete a meter from the interface, it will be removed from the rule(s) it is associated with. Are you sure you want to proceed?",TITLE:"Exclude meter from the interface"},SUBMIT_FILE:{MESSAGE:"If you save this one will be active and the other one will be disabled. Are you sure you want to proceed?",TITLE:"There is another file with '$t(FLOW_DEFAULT_SHAPE)' active"}}},NO_DATA:"No data to display",SELECT_ALL:"$t(Select) $t(All)",UPLOAD_LABEL:"Click or drag file to this area to upload"},"GENERATE REPORT":"GENERATE REPORT","Generate Report":"Generate Report","Generated?":"Generated?","Get all Events":"Get all Events",GIS:"GIS","GIS External URL":"GIS External URL","GIS Type":"GIS Type","GIS URL":"GIS URL","Go to page":"Go to page",Graph:"Graph",HELPDESK:{ERRORS_CODE:{DATATYPE_MISMATCH:"It should contain elements of type valid file format only",INVALID_VALUE:"Invalid value"},FORM:{BUTTONS:{SEND:"Send"},FIELDS:{ATTACHMENTS:"Attachments",DESCRIPTION:"Description",DESCRIPTION_PLACEHOLDER:"Insert description...",EMAIL:"Email",EMAIL_PLACEHOLDER:"Insert your email...",NAME:"$t(Name)",NAME_PLACEHOLDER:"Insert your name...",SUBJECT:"Subject",SUBJECT_PLACEHOLDER:"Insert subject...",TITLE:"Contact us",UPLOAD_FILES:"<strong>Upload files (max. 5)</strong><br/><small>Click to add or drag and drop files.</small>"},TITLE:"Welcome to support"},SUPPORT:"Support",TABLE:{CODE:"Message",FIELD:"Field"}},Hide:"Hide","Hide all Charts":"Hide all Charts",Holiday:"Holidays",Holidays:"Holidays",HOMOLOGOUS_TYPE_MAX:"Homologous Max. Value",HOMOLOGOUS_TYPE_MED:"Homologous Med. Value",HOMOLOGOUS_TYPE_MIN:"Homologous Min. Value",HOMOLOGOUS_TYPE_MINMED:"Homologous Min./Med. Value",Icon:"Icon",Id:"Id",ID_FLOWISE:null,ID_GIS:null,Import:"Import",import:"import","Import Areas":"Import Areas","Import Meters":"Import Meters","Import Rules":"Import Rules","Import Zones":"Import Zones","In Progress":"In Progress",Information:"Information","Initial Value":"Initial Value",Input:"Input","Input script or other text":"Input script or other text","Input the value name":"Input the value name","Input/Output":"Input/Output","Insert a rule name":"Insert a rule name","Insert area name":"Insert area name","Insert brand":"Insert brand","Insert category name":"Insert category name","Insert Code":"Insert Code","Insert code":"Insert code","Insert conversion factor":"Insert conversion factor","Insert diameter":"Insert diameter","Insert external Id":"Insert external Id","Insert Filename":"Insert Filename","Insert filename":"Insert filename","Insert model":"Insert model","Insert Name":"Insert Name","Insert name":"Insert name","Insert network length":"Insert network length","Insert no":{" of customers":"Insert no. of customers"},"Insert rule name":"Insert rule name","Insert tag":"Insert tag","Insert tag name":"Insert tag name","Insert zone name":"Insert zone name",Interface:"Interface","Interface Code":"Interface Code","Interface Id":"Interface Id","Interface Name":"Interface Name","Interface Type":"Interface Type",Interfaces:"Interfaces","Items per page:":"Items per page:",Jan:"Jan",January:"January",Japanese:"Japanese",Jul:"Jul",July:"July",Jun:"Jun",June:"June","Keep Alive":"Keep Alive",Label:"Label",label:"label",Language:"Language","Last login Date":"Last login Date","Last Name":"Last Name","Last name":"Last name",Latitude:"Latitude","Latitude and longitude":"Latitude and longitude",Layers:"Layers",layers:"layers",LEGEND:"Legend","Light Mode":"Light Mode","Limit Values":"Limit Values",LINE_NUMBER:"LineNumber",List:"List","List Type":"List Type",Lists:"Lists",ListValues:"Lists",Locatable:"Locatable",Login:"Login","Login Count":"Login Count",Logout:"Logout",Longitude:"Longitude","Loss of water volume":"Loss of water volume","Mailing List":"Mailing List",Maps:"Maps",Mar:"Mar",March:"March","Max Value":"Maximum Value",Max:{" (P95)":"Max. (P95)"},"Maximum Interval":"Maximum Interval",May:"May","Measure Units":"Measure Units",Med:{" (P50)":"Med. (P50)"},"Meridians' coordinates":"Meridians' coordinates",Meter:"Meter",meter:"meter","Meter Details":"$t(Meter) #{{id}} - {{name}} ({{measureUnit}})","Meter name":"Meter name","Meter No":{"":"Meter No."},"Meter Type":"Meter Type","Meter Types":"Meter Types",METER_FAILURE:"Meter failure",Meter_plural:"Meters",METER_WITHOUT_INTERFACE:{DESCRIPTION:"When you save the meter without an interface, it will be removed from the rule(s) it is associated with. Are you sure you want to proceed?",MESSAGE:"Meter without interface"},Meters:"Meters",meters:"meters","Meters Numbers":"Meters Number",METERS_EVENTS:"Events - Meters",Min:{" (P05)":"Min. (P05)","/Med":{"":"Min./Med."}},"Minimum Interval":"Minimum Interval","Minimum Readings":"Minimum Readings",MISSING_CONVERSION_FACTORY:"Conversion factor(s) missing:","Ml/day":"Ml/day",Model:"Model",Monday:"Monday",Monitoring:"Monitoring","Monthly values":"Monthly values",MONTHLY_DAILY:{CHART:{BILLED_VOLUME:"Billed volume",INPUT_VOLUME:"Input volume",MESSAGE:"Select an Area and Dates to visualize the data",WATER_LOSS:"Water losses and unmeasured consumption"},FORM:{FIELDS:{AREA_PLACEHOLDER:"Select an area",AREAS:"Areas",DATE:"$t(Date)",MODE:{DAILY:"Daily",LABEL:"Mode",MONTHLY:"Monthly"}}},TABS:{TAB1:"Volumes",TAB2:"Water losses and unmeasured consumption"},TITLE:"Monthly - Daily"},"Most Recent Event":"Most Recent Event",Name:"Name","Name of this organization":"Name of this organization","Network connections":"Network connections","Network Length":"Network Length","Network length":"Network length","New configuration":"New configuration","New Organization":"New Organization","New User":"New User","Next Area":"Next Area","Next Meter":"Next Meter","No comments":"No comments","No Data Found":"No Data Found",No:{" of Areas":"No. of Areas"," of layers":"No. of layers"," of Meters":"No. of Meters"," of service connections":"No. of service connections"},Notifications:"Notifications",Nov:"Nov",November:"November",Oct:"Oct",October:"October",Order:"Order",Organization:"Organization","Organization Logo":"Organization Logo","Organization users":"Organization users",Organizations:"Organizations",Outliers:"Outliers","Output/Input":"Output/Input",Overlays:"Overlays",Page:"Page","Parallels' coordinates":"Parallels' coordinates",Parameters:"Parameters","Parent Type":"Parent Type","Parent Type Code":"Parent Type Code","Parent Value":"Parent Value","Parent Value Code":"Parent Value Code",Password:"Password",Periodicity:"Periodicity",Pg:{"":"Pg."},"pH Meters Operating":"PH meters","Please insert a password":"Please insert a password","Please insert your username":"Please insert your username",Portuguese:"Portuguese",Portuguese_BR:"Portuguese (Brazilian)","Pressure Meters Operating":"Pressure meters","Previous Area":"Previous Area","Previous Meter":"Previous Meter","Priority Order":"Priority Order",Privacy:"Privacy",Private:"Private","Private record":"Private record","Probability Function":"Probability Function",Profile:"Profile","Profile Field Message":"Please input your {{fieldname}}!","Profile Picture":"Profile Picture",Profiles:"Profiles",QMIN:"Min. Flow",QMIN_QMED:"Min. Flow / Avg. Flow",QMIN_QMIN_HOMOLOGUE:"Min. Flow / Min. Flow Homologous","Rainfall Meters Operating":"Rainfall meters","Real Value":"Real Value","ReCAPTCHA Error":"ReCAPTCHA Error","Recover Password":"Recover Password","Refresh Table":"Refresh Table",Relationships:"Relationships","Remember Me":"Remember Me","Remember me":"Remember me","Remove from pattern":"Remove from pattern","Report Name":"Report Name",Reports:"Reports","Reset Filter":"Reset Filter",Responsible:"Responsible","Responsible User":"Responsible User",Role:"Role",Rule:"Rule","Rule Name":"Rule Name","Rule Subtype":"Rule Subtype","Rule Type":"Rule Type","Rule Type required":"Rule Type required","Rule Type Value":"Rule Type Value",Rules:"Rules",Saturday:"Saturday",Save:"Save","Save Changes":"Save Changes",Search:"Search","Search By":"Search By","Search by":"Search by","Search by Area, Meter, MeterType":"Search by Area, Meter, MeterType","Search by event id":"Search by event id, meter id, area id, etc...","Search by Meter, Zone":"Search by Meter, Zone","Search file":"Search file","Search for an profile picture here":"Search for an profile picture here","Search for the organization logo here":"Search for the organization logo here","Search icon":"Search icon","Search table":"Search table","See Details":"See Details",Select:"Select","Select a List Type":"Select a List Type","Select a System first":"Select a System first","Select Area":"Select Area","Select area":"Select area","Select areas/meters":"$t(Select) $t(areas)/$t(meters)","Select data type":"Select data type","Select file":"Select file","Select file to upload":"Select file to upload","Select file type":"Select file type","Select Language":"Select Language","Select Languages":"Select Languages","Select Meter Type":"Select Meter Type","Select System":"Select System Type","Select Zone":"Select Zone",Sep:"Sep",September:"September",Sequence:"Sequence","Sequential Occurrences":"Sequential Occurrences","Service Connections":"Service Connections",Settings:"Settings","Shape available":"Shape available",Shapefile:"Shapefile",Shapefiles:"Shapefiles",SHEET_NAME:"SheetName","Show all charts":"Show all charts","Show Chart":"Show Chart",Size:"Size",Sources:"Sources",Spanish:"Spanish",Start:"Start","Start Date":"Start Date","Start date":"Start date",Status:"Status",Submit:"Submit",Sunday:"Sunday",SUPPORT_MSG:"Please, send an issue to the support team.","Synced Data Calculation":"Synced Data Calculation",System:"System","System Type":"System Type",Systems:"Systems","SystemType Type":"SystemType Type",Tag:"Tag","Tag Name & Value":"Tag Name & Value","Temperature Meters Operating":"Temperature meters",Template:"Template",Thursday:"Thursday",Time:"Time","Time Window":"Time Window",Timewindow:"Timewindow",Timezones:"Timezones",TOAST:{ERROR:{DESCRIPTION:"The request could not be concluded because there is another request in progress.",EXPORT:{DESCRIPTION:"An error occured trying to export data.",MESSAGE:"Error"},MESSAGE:"The request could not be concluded!"}},"Toggle Fullscreen":"Toggle Fullscreen",Totalizer:"Totalizer",Tuesday:"Tuesday","Turbidity Meters Operating":"Turbidity meters",Type:"Type","Type Code":"Type Code",TYPE:{CATEGORY:"$t(Category)",STATUS:"$t(Status)"},Types:"Types",UF_EMPTY_FILE:"Empty file",UF_EMPTY_FILE_DATA:"Empty file data",UF_EXISTS_TYPECODE_CODE_LANGUAGE:"Duplicate TypeCode-Code-Language",UF_INVALID_CHILD_LIST_TYPE:"Child List Type invalid",UF_INVALID_CHILD_LIST_VALUE:"Child List value invalid",UF_INVALID_LANGUAGE:"Invalid Language",UF_INVALID_LIST_TYPE_ID:"Invalid ListTypeId",UF_INVALID_LIST_VALUE_ID:"Invalid ListValueId",UF_INVALID_NUM_SHEETS:"Number of Sheets invalid",UF_INVALID_PARENT_LIST_TYPE:"Parent List Type invalid",UF_INVALID_PARENT_LIST_VALUE:"Parent List value invalid",UF_INVALID_TENANT:"Invalid Tenant",Units:"Units","Units Data":"Units Data",Update:"Update","Update Date":"Update Date","Update End Date Message":'Updating the "End Date" will change this event to manual. Do you want to proceed?',"Update Event":"Update Event",URL:"URL",User:"User","User Name":"User Name","User name":"User name",Username:"Username",Users:"Users",Value:"Value",value:"value",Values:"Values",values:"values",Variance:"Variance",VAZAMENTO:"Vazamento","Velocity Meters Operating":"Velocity meters",Volume:"Volume","Volume by Area (m³)":"Volume by Area (m³)","Volume Meters Operating":"Volume meters",Wastewater:"Wastewater","Water Balance":"Water Balance","Water Level Meters Operating":"Water Level meters","Water Supply":"Water Supply",Wednesday:"Wednesday","Work Orders":"Work Orders",WORK_ORDER:"Work Order",WORK_ORDERS:{ActiveLeak:"Leak Detection Team",DMA:"DMA",ElementType:"Element Type",EndDate:"$t(End Date)",Location:"Location",MESSAGES:{WO_INVALID_DATES:"Invalid date",WO_INVALID_FILE_FORMAT:"Invalid file format",WO_INVALID_LATITUDE:"Invalid latitude",WO_INVALID_LONGITUDE:"Invalid longitude",WO_INVALID_TENANT:"Invalid tenant",WO_NO_AREA_AND_COORDINATES:"No Area and coordenates",WO_NUMBER_NOT_DEFINED:"Work order not defined"},Sector:"Sector",StartDate:"$t(Start Date)",TITLE:"Work Orders",TITLE_SINGULAR:"Work Order",WorkOrderNumber:"# Work Order"},"Write a description":"Write a description","You are about to delete this File":"You are about to delete this File","You are about to delete this Zone":"You are about to delete this Zone","You are about to disable this Area":"You are about to disable this Area","You are about to disable this GISSource":"You are about to disable this GISSource","You are about to disable this Interface":"You are about to disable this Interface","You are about to disable this Meter":"You are about to disable this Meter","You are about to disable this Relationship":"You are about to disable this Relationship","You are about to disable this Rule":"You are about to disable this Rule","You are about to disable this Type":"You are about to disable this Type","You are about to disable this Value":"You are about to disable this Value","You are about to disable this Zone":"You are about to disable this Zone","You must choose a rule type to be able to customize the parameters":"You must choose a rule type to be able to customize the parameters",Zone:"Zone","Zone name":"Zone name",ZONE_CHANGE:"Zone change",Zones:"Zones",zones:"zones"}},zae={translation:{GENERAL:{BACK:"Back",NEXT:"Next",SAVE:"Save",ACTIONS:{CLOSE:"Close",DELETE:"Delete",EDIT:"Edit",NEXT:"Next"},APP:"App",BACK_LOGIN:"Back to login",FORM:{ERRORS:{CONFIRM_PASSWORD:"The passwords must be the same!",EMAIL:"The email have to be this format 'email@exemple.com'",NOT_EMPTY:"This field is mandatory",VERSION:"The version must end with a numeric value",FORMAT:"The format must be like 'X.X.X'"}},MENU:"Menu",MESSAGES:{ERROR:{EMAIL_EXISTS:"Email already exists",ITEM_CREATE:"Error trying to add {{item}}",ITEM_DELETE:"Error trying to delete {{item}}",ITEM_UPDATE:"Error trying to update {{item}}",UNAUTHORIZED:"Sorry, you are not authorized to access this page.",USERNAME_EXISTS:"Username already exists",RELEASE_NOTE:{0:"Version already exists",1:"Deployed date must be greater than the last",2:"Invalid Request parameters"}},SUCCESS:{ITEM_CREATE:"{{item}} added successfully",ITEM_DELETE:"{{item}} deleted successfully",ITEM_UPDATE:"{{item}} updated successfully"},WARNING:{DELETE_CONFIRM:"You are about to delete this menu. Do you want proceed?"}},REMOVE:"Remove",ROLE:"Role",TENANT:"Organization",THEMES:{DARK:"Dark mode",LIGHT:"Light mode",TOOLTIP:"Click to switch to {{theme}}"},UPLOAD:"Upload",USER:"User",UPLOAD_LABEL:"Click or drag file to this area to upload",JPG_PNG_WARNING:"Only supports JPG or PNG files."},HELPDESK:{ERRORS_CODE:{DATATYPE_MISMATCH:"Deve conter apenas elementos do tipo de formato de arquivo válido.",INVALID_VALUE:"Valor inválido"},FORM:{BUTTONS:{SEND:"Enviar"},FIELDS:{ATTACHMENTS:"Anexos",DESCRIPTION:"Descrição",DESCRIPTION_PLACEHOLDER:"Insira a descrição...",EMAIL:"Email",EMAIL_PLACEHOLDER:"Insira o seu email…",NAME:"$t(Name)",NAME_PLACEHOLDER:"Insira seu nome...",SUBJECT:"Assunto",SUBJECT_PLACEHOLDER:"Insira o assunto...",TITLE:"Contacte-nos",UPLOAD_FILES:"<strong>Carregar ficheiro(s) (max. 5)</strong><br/><small>Clique para adicionar ou arraste e solte os ficheiros.</small>"},TITLE:"Bem-vindo ao apoio"},SUPPORT:"Apoio",TABLE:{CODE:"Mensagem",FIELD:"Campo"}},"RELEASE-NOTES":{WHATS_NEWS:"Welcome to {{app}} v{{version}} - What's News?",TITLE:"Release Notes",TEXT_SINGULAR:"Release Note",ADD_RELEASE_NOTE:"Add Release Note",UPD_RELEASE_NOTE:"Edit Release Note",ADD_NEW_SLIDE:"Add new slide",REMOVE_CURRENT_SLIDE:"Remove current slide",FORM:{FIELDS:{APP:"App",APP_PLACEHOLDER:"Select an app...",VERSION:"Version",VERSION_PLACEHOLDER:"Type the version...",VERSION_TOOLTIP:"The version of the selected application.",DEPLOY_DATE:"Deploy Date",TITLE:"Title...",DESCRIPTION:"Description...",DO_NOT_SHOW_AGAIN:"Do not show again until next update"},ADD_NEW_FIELD:"Add new field"}}}},Nae={translation:{GENERAL:{BACK:"Back",NEXT:"Next",SAVE:"Save",ACTIONS:{CLOSE:"Close",DELETE:"Delete",EDIT:"Edit",NEXT:"Next"},APP:"App",BACK_LOGIN:"Back to login",FORM:{ERRORS:{CONFIRM_PASSWORD:"The passwords must be the same!",EMAIL:"The email have to be this format 'email@exemple.com'",NOT_EMPTY:"This field is mandatory",VERSION:"The version must end with a numeric value",FORMAT:"The format must be like 'X.X.X'"}},MENU:"Menu",MESSAGES:{ERROR:{EMAIL_EXISTS:"Email already exists",ITEM_CREATE:"Error trying to add {{item}}",ITEM_DELETE:"Error trying to delete {{item}}",ITEM_UPDATE:"Error trying to update {{item}}",UNAUTHORIZED:"Sorry, you are not authorized to access this page.",USERNAME_EXISTS:"Username already exists",RELEASE_NOTE:{0:"Version already exists",1:"Deployed date must be greater than the last",2:"Invalid Request parameters"}},SUCCESS:{ITEM_CREATE:"{{item}} added successfully",ITEM_DELETE:"{{item}} deleted successfully",ITEM_UPDATE:"{{item}} updated successfully"},WARNING:{DELETE_CONFIRM:"You are about to delete this menu. Do you want proceed?"}},REMOVE:"Remove",ROLE:"Role",TENANT:"Organization",THEMES:{DARK:"Dark mode",LIGHT:"Light mode",TOOLTIP:"Click to switch to {{theme}}"},UPLOAD:"Upload",USER:"User",UPLOAD_LABEL:"Click or drag file to this area to upload",JPG_PNG_WARNING:"Only supports JPG or PNG files."},HELPDESK:{ERRORS_CODE:{DATATYPE_MISMATCH:"Ar trebui să conțină doar elemente de tip format de fișier valid",INVALID_VALUE:"Valoare invalida"},FORM:{BUTTONS:{SEND:"Trimite"},FIELDS:{ATTACHMENTS:"Atașamente",DESCRIPTION:"Descriere",DESCRIPTION_PLACEHOLDER:"Introduceți descrierea...",EMAIL:"Email",EMAIL_PLACEHOLDER:"Introduceți e-mailul dvs...",NAME:"$t(Name)",NAME_PLACEHOLDER:"Introduceți numele dvs...",SUBJECT:"Subiect",SUBJECT_PLACEHOLDER:"Introduceți subiectul...",TITLE:"Contactaţi-ne",UPLOAD_FILES:"<strong>Încărcați fișiere (max. 5)</strong><br/><small>Faceți clic pentru a adăuga sau trage și plasați fișiere.</small>"},TITLE:"Bun venit la sprijin"},SUPPORT:"A sustine",TABLE:{CODE:"Mesaj",FIELD:"Camp"}},"RELEASE-NOTES":{WHATS_NEWS:"Welcome to {{app}} v{{version}} - What's News?",TITLE:"Release Notes",TEXT_SINGULAR:"Release Note",ADD_RELEASE_NOTE:"Add Release Note",UPD_RELEASE_NOTE:"Edit Release Note",ADD_NEW_SLIDE:"Add new slide",REMOVE_CURRENT_SLIDE:"Remove current slide",FORM:{FIELDS:{APP:"App",APP_PLACEHOLDER:"Select an app...",VERSION:"Version",VERSION_PLACEHOLDER:"Type the version...",VERSION_TOOLTIP:"The version of the selected application.",DEPLOY_DATE:"Deploy Date",TITLE:"Title...",DESCRIPTION:"Description...",DO_NOT_SHOW_AGAIN:"Do not show again until next update"},ADD_NEW_FIELD:"Add new field"}}}};Yn.use(Zx).use(A2e).init({debug:!1,fallbackLng:"PT",interpolation:{escapeValue:!1},resources:{EN:Eae,ES:Mae,JP:wae,PT:zae,RO:Nae,BR:Lae}});const eL=()=>{};let hd={},tL={},nL=null,rL={mark:eL,measure:eL};try{typeof window<"u"&&(hd=window),typeof document<"u"&&(tL=document),typeof MutationObserver<"u"&&(nL=MutationObserver),typeof performance<"u"&&(rL=performance)}catch{}const{userAgent:aL=""}=hd.navigator||{},C2=hd,bn=tL,oL=nL,J0=rL;C2.document;const Q1=!!bn.documentElement&&!!bn.head&&typeof bn.addEventListener=="function"&&typeof bn.createElement=="function",iL=~aL.indexOf("MSIE")||~aL.indexOf("Trident/");var Sn="classic",cL="duotone",Dr="sharp",_r="sharp-duotone",Oae=[Sn,cL,Dr,_r],$ae={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}},lL={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Iae=["kit"],Pae=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,Tae=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,Rae={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},Aae={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds"}},Dae={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds"}},_ae={classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]},kae={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid"}},Fae={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds"}},sL={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid"}},jae=["solid","regular","light","thin","duotone","brands"],uL=[1,2,3,4,5,6,7,8,9,10],Bae=uL.concat([11,12,13,14,15,16,17,18,19,20]),Yi={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Hae=[...Object.keys(_ae),...jae,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Yi.GROUP,Yi.SWAP_OPACITY,Yi.PRIMARY,Yi.SECONDARY].concat(uL.map(e=>"".concat(e,"x"))).concat(Bae.map(e=>"w-".concat(e))),Vae={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Wae={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},Uae={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},dL={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}};const J1="___FONT_AWESOME___",vd=16,fL="fa",mL="svg-inline--fa",ea="data-fa-i2svg",bd="data-fa-pseudo-element",Kae="data-fa-pseudo-element-pending",Cd="data-prefix",yd="data-icon",pL="fontawesome-i2svg",qae="async",Gae=["HTML","HEAD","STYLE","SCRIPT"],gL=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})(),hL=[Sn,Dr,_r];function Xi(e){return new Proxy(e,{get(t,n){return n in t?t[n]:t[Sn]}})}const vL={...sL};vL[Sn]={...sL[Sn],...lL.kit,...lL["kit-duotone"]};const ta=Xi(vL),Sd={...Fae};Sd[Sn]={...Sd[Sn],...dL.kit,...dL["kit-duotone"]};const Qi=Xi(Sd),xd={...kae};xd[Sn]={...xd[Sn],...Uae.kit};const na=Xi(xd),Ld={...Dae};Ld[Sn]={...Ld[Sn],...Wae.kit};const Yae=Xi(Ld),Xae=Pae,bL="fa-layers-text",Qae=Tae,Jae={...$ae};Xi(Jae);const Zae=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ed=Yi,bo=new Set;Object.keys(Qi[Sn]).map(bo.add.bind(bo)),Object.keys(Qi[Dr]).map(bo.add.bind(bo)),Object.keys(Qi[_r]).map(bo.add.bind(bo));const eoe=[...Iae,...Hae],Ji=C2.FontAwesomeConfig||{};function toe(e){var t=bn.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function noe(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}bn&&typeof bn.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[n,r]=t;const a=noe(toe(n));a!=null&&(Ji[r]=a)});const CL={styleDefault:"solid",familyDefault:"classic",cssPrefix:fL,replacementClass:mL,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ji.familyPrefix&&(Ji.cssPrefix=Ji.familyPrefix);const Co={...CL,...Ji};Co.autoReplaceSvg||(Co.observeMutations=!1);const Ct={};Object.keys(CL).forEach(e=>{Object.defineProperty(Ct,e,{enumerable:!0,set:function(t){Co[e]=t,Zi.forEach(n=>n(Ct))},get:function(){return Co[e]}})}),Object.defineProperty(Ct,"familyPrefix",{enumerable:!0,set:function(e){Co.cssPrefix=e,Zi.forEach(t=>t(Ct))},get:function(){return Co.cssPrefix}}),C2.FontAwesomeConfig=Ct;const Zi=[];function roe(e){return Zi.push(e),()=>{Zi.splice(Zi.indexOf(e),1)}}const y2=vd,N1={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function aoe(e){if(!e||!Q1)return;const t=bn.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=bn.head.childNodes;let r=null;for(let a=n.length-1;a>-1;a--){const o=n[a],i=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=o)}return bn.head.insertBefore(t,r),e}const ooe="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ec(){let e=12,t="";for(;e-- >0;)t+=ooe[Math.random()*62|0];return t}function yo(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Md(e){return e.classList?yo(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function yL(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ioe(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,'="').concat(yL(e[n]),'" '),"").trim()}function Z0(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";"),"")}function wd(e){return e.size!==N1.size||e.x!==N1.x||e.y!==N1.y||e.rotate!==N1.rotate||e.flipX||e.flipY}function coe(e){let{transform:t,containerWidth:n,iconWidth:r}=e;const a={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(t.x*32,", ").concat(t.y*32,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),c="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(o," ").concat(i," ").concat(c)},s={transform:"translate(".concat(r/2*-1," -256)")};return{outer:a,inner:l,path:s}}function loe(e){let{transform:t,width:n=vd,height:r=vd,startCentered:a=!1}=e,o="";return a&&iL?o+="translate(".concat(t.x/y2-n/2,"em, ").concat(t.y/y2-r/2,"em) "):a?o+="translate(calc(-50% + ".concat(t.x/y2,"em), calc(-50% + ").concat(t.y/y2,"em)) "):o+="translate(".concat(t.x/y2,"em, ").concat(t.y/y2,"em) "),o+="scale(".concat(t.size/y2*(t.flipX?-1:1),", ").concat(t.size/y2*(t.flipY?-1:1),") "),o+="rotate(".concat(t.rotate,"deg) "),o}var soe=`:root, :host {
491
491
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
492
492
  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
493
493
  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- .helpdesk__container .ant-card .ant-card-body{height:100%;max-height:80dvh;overflow-y:auto}.helpdesk__content{border-radius:10px;padding:10px;max-width:400px;background-color:#f7f7f7}.helpdesk__title{padding:10px 16px}.helpdesk__title.ant-typography{color:#60c5cf}.helpdesk__fields-files{flex-direction:column;margin-top:10px;width:100%}.helpdesk__fields-files .ant-upload-list{margin-top:5px;width:100%}body.dark .helpdesk__content{background-color:#333}.form__item-multiTable .ant-transfer-list-body-customize-wrapper{overflow-y:auto}.release-notes-image.ant-upload-wrapper{width:100%}*{padding:0;margin:0;box-sizing:border-box}body{height:100vh;width:100vw;overflow:hidden;background-color:#fff}body #root{height:100%}body ::placeholder{color:#919191}body .map-container{height:90dvh;width:100%}body .map-container canvas{border-radius:8px}body .map-widgets-wrapper{padding:0;min-width:400px;max-height:540px;overflow-y:auto}body .page__title-container{margin:0;padding:10px 20px;height:auto;border-bottom:1px solid rgba(5,5,5,.06)}body .page__title-container h1,body .page__title-container h2,body .page__title-container h3,body .page__title-container h4,body .page__title-container h5{color:#60c5cf;margin:0}body .recaptcha{display:flex;justify-content:center;width:100%;margin-bottom:24px}body .ant-layout-sider-trigger{border-right:1px solid rgba(5,5,5,.06)}body .ant-skeleton.ant-skeleton-element,body .ant-skeleton.ant-skeleton-element .ant-skeleton-image{width:100%;height:100%}body .filter__buttons{display:flex;align-items:center;justify-content:center;width:100%;gap:10px}body .ant-form-item .ant-form-item-control-input{min-height:32px}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content{display:flex}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content .ant-upload-wrapper{display:flex;align-items:center}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content .ant-upload-wrapper .ant-upload-list-item{margin:0 0 0 10px}body .avatar-uploader.ant-upload-wrapper.ant-upload-picture-circle-wrapper .ant-upload,body .avatar-uploader.ant-upload-wrapper.ant-upload-picture-circle-wrapper .ant-upload-select{margin-inline-end:0;margin-bottom:0}body .avatar-uploader .float-btn{opacity:0;position:absolute;bottom:3px;left:40%;transition:opacity .5s ease;display:flex;justify-content:center;align-items:center}body .avatar-uploader .float-btn-container{width:100%;height:100%;display:flex;justify-content:center}body .avatar-uploader .float-btn-container:hover .float-btn{opacity:1}body .rule-form-badge{margin-right:5px}body .rule-form-badge.ant-badge.ant-badge-status .ant-badge-status-dot{width:20px;height:20px}body .skeleton__loading{height:100%}body .ant-list-items .ant-list-item .ant-list-item-action{margin-inline-start:12px}body .ant-notification .ant-notification-notice.table-notification{min-width:500px}body .ant-notification .ant-notification-notice.notification-error{width:250px;padding:14px 16px}body .ant-notification .ant-notification-notice.notification-error .ant-notification-notice-icon{font-size:20px}body .ant-notification .ant-notification-notice.notification-error .ant-notification-notice-close{top:14px;right:14px}body .ant-notification .ant-notification-notice.notification-error .ant-notification-notice-message{font-size:14px;margin-inline-start:30px}body .ant-notification .ant-notification-notice.notification-error .ant-notification-notice-description{font-size:12px;margin-inline-start:30px}body .ant-spin-nested-loading,body .ant-spin-nested-loading .ant-spin-container{height:100%;width:100%}body .ant-skeleton.ant-skeleton-element.custom-skeleton{display:flex}body .esri-attribution{display:none}body .ant-carousel .slick-slider .slick-arrow{color:#60c5cf}body .ant-carousel .slick-slider .slick-list .slick-track .slick-slide{width:100%}body.dark{background-color:#333}body.dark .ant-layout-sider-trigger{border-right:1px solid rgba(253,253,253,.12)}body.dark .page__title-container{border-bottom:1px solid rgba(253,253,253,.12)}body.dark .ant-popover .ant-popover-arrow{--antd-arrow-background-color: #3b3b3b}body.dark .ant-popover .ant-popover-content .ant-popover-inner{background-color:#3b3b3b}body.dark .ant-badge .ant-badge-count{color:#fff;box-shadow:0 0 0 1px #3b3b3b}
1
+ .helpdesk__container .ant-card .ant-card-body{height:100%;max-height:80dvh;overflow-y:auto}.helpdesk__content{border-radius:10px;padding:10px;max-width:400px;background-color:#f7f7f7}.helpdesk__title{padding:10px 16px}.helpdesk__title.ant-typography{color:#60c5cf}.helpdesk__fields-files{flex-direction:column;margin-top:10px;width:100%}.helpdesk__fields-files .ant-upload-list{margin-top:5px;width:100%}body.dark .helpdesk__content{background-color:#333}.form__item-multiTable .ant-transfer-list-body-customize-wrapper{overflow-y:auto}.release-notes-image.ant-upload-wrapper{width:100%}*{padding:0;margin:0;box-sizing:border-box}body{height:100vh;width:100vw;overflow:hidden;background-color:#fff}body #root{height:100%}body ::placeholder{color:#919191}body .map-container{height:90dvh;width:100%}body .map-container canvas{border-radius:8px}body .map-widgets-wrapper{padding:0;min-width:400px;max-height:540px;overflow-y:auto}body .page__title-container{margin:0;padding:10px 20px;height:auto;border-bottom:1px solid rgba(5,5,5,.06)}body .page__title-container h1,body .page__title-container h2,body .page__title-container h3,body .page__title-container h4,body .page__title-container h5{color:#60c5cf;margin:0}body .recaptcha{display:flex;justify-content:center;width:100%;margin-bottom:24px}body .ant-layout-sider-trigger{border-right:1px solid rgba(5,5,5,.06)}body .ant-skeleton.ant-skeleton-element,body .ant-skeleton.ant-skeleton-element .ant-skeleton-image{width:100%;height:100%}body .filter__buttons{display:flex;align-items:center;justify-content:center;width:100%;gap:10px}body .ant-form-item .ant-form-item-control-input{min-height:32px}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content{display:flex}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content .ant-upload-wrapper{display:flex;align-items:center}body .ant-form-item .ant-form-item-control-input .ant-form-item-control-input-content .ant-upload-wrapper .ant-upload-list-item{margin:0 0 0 10px}body .avatar-uploader.ant-upload-wrapper.ant-upload-picture-circle-wrapper .ant-upload,body .avatar-uploader.ant-upload-wrapper.ant-upload-picture-circle-wrapper .ant-upload-select{margin-inline-end:0;margin-bottom:0}body .avatar-uploader .float-btn{opacity:0;position:absolute;bottom:3px;left:40%;transition:opacity .5s ease;display:flex;justify-content:center;align-items:center}body .avatar-uploader .float-btn-container{width:100%;height:100%;display:flex;justify-content:center}body .avatar-uploader .float-btn-container:hover .float-btn{opacity:1}body .rule-form-badge{margin-right:5px}body .rule-form-badge.ant-badge.ant-badge-status .ant-badge-status-dot{width:20px;height:20px}body .skeleton__loading{height:100%}body .ant-list-items .ant-list-item .ant-list-item-action{margin-inline-start:12px}body .ant-notification .ant-notification-notice.table-notification{min-width:500px}body .ant-notification .ant-notification-notice.notification-error{width:250px;padding:14px 16px}body .ant-notification .ant-notification-notice.notification-error .ant-notification-notice-icon{font-size:20px}body .ant-notification .ant-notification-notice.notification-error .ant-notification-notice-close{top:14px;right:14px}body .ant-notification .ant-notification-notice.notification-error .ant-notification-notice-message{font-size:14px;margin-inline-start:30px}body .ant-notification .ant-notification-notice.notification-error .ant-notification-notice-description{font-size:12px;margin-inline-start:30px}body .ant-spin-nested-loading,body .ant-spin-nested-loading .ant-spin-container{height:100%;width:100%}body .ant-skeleton.ant-skeleton-element.custom-skeleton{display:flex}body .esri-attribution{display:none}body .ant-carousel .slick-slider .slick-arrow{color:#60c5cf}body .ant-carousel .slick-slider .slick-dots>li>button{background:#60c5cf}body .ant-carousel .slick-slider .slick-list .slick-track .slick-slide{width:100%}body.dark{background-color:#333}body.dark .ant-layout-sider-trigger{border-right:1px solid rgba(253,253,253,.12)}body.dark .page__title-container{border-bottom:1px solid rgba(253,253,253,.12)}body.dark .ant-popover .ant-popover-arrow{--antd-arrow-background-color: #3b3b3b}body.dark .ant-popover .ant-popover-content .ant-popover-inner{background-color:#3b3b3b}body.dark .ant-badge .ant-badge-count{color:#fff;box-shadow:0 0 0 1px #3b3b3b}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aquasis-fe-components",
3
3
  "private": false,
4
- "version": "1.2.10",
4
+ "version": "1.2.12",
5
5
  "type": "module",
6
6
  "license": "ISC",
7
7
  "author": "Ewerton Souza",